/* Central do gestor (tokens de estilo.css). Mobile first: colunas viram rolagem lateral no celular. */
.g-destaque { width: 100%; border: 0; text-align: left; font: inherit; cursor: pointer; }
.g-quadro { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 86vw); gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
@media (min-width: 720px) { .g-quadro { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); overflow: visible; } }
.g-coluna { background: #eef2f1; border-radius: var(--raio); padding: 12px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.g-coluna.fila { background: #f7f9f8; border: 1px dashed var(--linha); }
.g-coluna.atencao { background: var(--perigo-fundo); border: 1px solid #f3c4c0; }
.g-coluna header { display: flex; flex-direction: column; gap: 2px; }
.g-coluna-topo { display: flex; align-items: center; gap: 10px; }
.g-coluna h2 { font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-avatar { flex: none; }
.g-avatar svg { width: 16px; height: 16px; }
.g-coluna p { margin: 4px 0 0; color: var(--texto-2); font-size: 0.88rem; }
.g-coluna small { color: var(--texto-3); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-coluna.atencao small { color: var(--perigo); font-weight: 600; white-space: normal; }
.g-coluna header .botao { margin-top: 8px; min-height: 44px; }
.g-vencidas { color: var(--perigo); }
.g-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; }
.g-tarefa { display: flex; flex-direction: column; gap: 4px; min-height: 44px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--sombra); text-decoration: none; color: inherit; }
.g-tarefa:hover { outline: 2px solid var(--verde); }
.g-tarefa b { font-size: 0.94rem; }
.g-tarefa-titulo { color: var(--texto-2); font-size: 0.86rem; }
.g-tarefa-pe { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.g-tarefa-pe small { color: var(--texto-3); font-size: 0.8rem; }
.g-nota { display: flex; align-items: center; gap: 8px; color: var(--texto-3); font-size: 0.86rem; margin: 16px 0 0; }
.g-nota svg { width: 16px; height: 16px; flex: none; }
.g-resumo-lista { margin: 6px 0 0; padding-left: 18px; color: var(--texto-2); font-size: 0.9rem; }

.g-resumo { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: var(--raio); padding: 12px 14px; color: var(--texto-2); font-size: 0.92rem; margin: 0 0 12px; box-shadow: var(--sombra); }
.g-resumo svg { width: 20px; height: 20px; flex: none; color: var(--verde); margin-top: 2px; }
.g-impacto { display: inline-flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.g-tabela td small { margin-top: 2px; }
.g-bloco { margin-top: 16px; }
.g-bloco h2 svg { width: 18px; height: 18px; color: var(--verde); }
.g-bloco .subtitulo { margin: 0 0 8px; }
.g-linha-tempo { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--linha); }
.g-linha-tempo li { position: relative; padding: 0 0 14px 10px; }
.g-linha-tempo li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--verde); }
.g-linha-tempo p { margin: 2px 0; color: var(--texto-2); font-size: 0.9rem; }
.g-linha-tempo small { color: var(--texto-3); font-size: 0.8rem; }

.g-detalhe { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 14px 0; }
.g-detalhe div { background: var(--fundo); border-radius: 12px; padding: 10px 12px; }
.g-detalhe dt { color: var(--texto-3); font-size: 0.8rem; }
.g-detalhe dd { margin: 2px 0 0; font-weight: 600; }
.g-detalhe-resp h3 { font-size: 0.92rem; margin-bottom: 4px; }
.g-detalhe-resp p { margin: 2px 0; font-size: 0.92rem; }
.g-contas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
@media (min-width: 560px) { .g-contas { grid-template-columns: repeat(4, 1fr); } }
.g-contas span { display: flex; flex-direction: column; align-items: center; background: var(--fundo); border-radius: 12px; padding: 10px; font-size: 0.82rem; color: var(--texto-2); text-align: center; }
.g-contas b { font-family: Sora, Inter, sans-serif; font-size: 1.4rem; color: var(--texto); }
.g-contas .atencao { background: var(--alerta-fundo); }
.g-contas .atencao b { color: var(--alerta); }
.g-afetadas { margin: 8px 0; }
.g-afetadas summary { cursor: pointer; font-weight: 600; color: var(--verde); min-height: 44px; display: flex; align-items: center; }
.g-afetadas ul { margin: 0; padding-left: 18px; font-size: 0.9rem; }
.g-afetadas a { color: var(--texto); }
.g-aviso-fiscal { font-size: 0.86rem; }
