/* Prévia isolada: carregar depois de dossie/estilo.css. */
:root[data-isac-theme] {
  --tinta:#0c2444; --fraco:#52647a; --linha:#d9e1eb; --fio:#bdcad9; --fio-forte:#9bacbf;
  --azul:#164d88; --azul-claro:#e1ebf6; --azul-fraco:#edf2f8;
  --papel:#fff; --fundo:#f3f5f8; --zebra:#f7f9fc;
}
:root[data-isac-theme="dark"] {
  color-scheme:dark;
  --tinta:#e6edf3; --fraco:#b4c1cf; --linha:#303b49; --fio:#48596d; --fio-forte:#718399;
  --azul:#9ac8ff; --azul-claro:#233b57; --azul-fraco:#1c2d41;
  --papel:#161b22; --fundo:#0d1117; --zebra:#1b222c;
  --c-sty:#a8cfff; --c-ze:#f4cc7b; --c-lula:#ffb3ad; --c-flavio:#d2c3ff;
}
:root[data-isac-theme="light"] { color-scheme:light }
[data-isac-theme] .banda {background:#0c2444;color:#fff}
[data-isac-theme] .banda .selo {display:none}
[data-isac-theme] .banda-in {align-items:center}
[data-isac-theme] nav.paginas a[aria-current=page],
[data-isac-theme] .modos button[aria-pressed=true],
[data-isac-theme] .abas button[aria-pressed=true],
[data-isac-theme] .aba.ativo {background:#0c2444;border-color:#0c2444;color:#fff}
[data-isac-theme] input, [data-isac-theme] select, [data-isac-theme] textarea {color:var(--tinta)}
[data-isac-theme] input, [data-isac-theme] select, [data-isac-theme] textarea {background:var(--papel)}
[data-isac-theme] :focus-visible {outline:3px solid var(--azul);outline-offset:3px}
[data-isac-theme] .isac-tema {display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #a9bcd5;border-radius:8px}
[data-isac-theme] .isac-tema button {display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#dbe8f7;cursor:pointer}
[data-isac-theme] .isac-tema button svg {width:16px;height:16px;display:block}
[data-isac-theme] .isac-tema button:hover {background:#294d79}
[data-isac-theme] .isac-tema button[aria-pressed=true] {background:#fff;color:#0c2444}
[data-isac-theme] .legenda .it,[data-isac-theme] .leg .it,[data-isac-theme] .lista button:hover,[data-isac-theme] .lista button.atual,[data-isac-theme] tbody tr:hover td {background:var(--azul-fraco)}
[data-isac-theme] #corpo tr:hover td,[data-isac-theme] #corpo tr.atual td {background:var(--azul-claro)}
[data-isac-theme] .bar .tr {background:var(--linha)}
[data-isac-theme="dark"] th.h-sty,[data-isac-theme="dark"] th.h-ze,[data-isac-theme="dark"] th.h-lula,[data-isac-theme="dark"] th.h-flavio {background:var(--azul-claro)}
[data-isac-theme="dark"] .selo.perde,[data-isac-theme="dark"] .selo-min.perde {background:#583332;color:#ffd2cc}
[data-isac-theme="dark"] .lista .quem,[data-isac-theme="dark"] td.cmp-menos,[data-isac-theme="dark"] .cmp-dif .cmp-menos {color:#ffb3ad}
[data-isac-theme="dark"] td.cmp-mais,[data-isac-theme="dark"] .cmp-dif .cmp-mais {color:#a2d9ff}
[data-isac-theme="dark"] path.mun {stroke:#161b22}
[data-isac-theme="dark"] path.mun:hover,[data-isac-theme="dark"] path.sel {stroke:#fff}
@media(max-width:760px) {
  [data-isac-theme] .banda-in {grid-template-columns:minmax(0,1fr) auto}
  [data-isac-theme] .banda .quem {grid-column:1/-1}
  [data-isac-theme] .banda dl {min-width:0;gap:4px;justify-content:space-between}
  [data-isac-theme] .isac-tema {grid-column:2;grid-row:2;justify-self:center;align-self:center;gap:0;padding:0}
  [data-isac-theme] .isac-tema button {width:32px;height:44px}
}
