/* Sous: modo escuro. Gerado por scripts/gerar_tema_escuro.py a partir das outras folhas; nao editar a mao. */
:root[data-tema="escuro"]{
  --app-bg:#07090e; --app-side:#0a0d14; --app-line:rgba(190,200,230,.13); --line-soft:rgba(190,200,230,.07);
  --ink:#eef0f6; --ink2:#c4cad8; --ink3:#99a0b4;
  --acc:#ff8a4c; --acc-bg:rgba(255,138,76,.14); --acc-ink:#ffb27a;
  --ok:#4fd88e; --ok-bg:rgba(56,210,124,.13); --warn:#ffc45c; --warn-bg:rgba(255,178,46,.13);
  --bad:#ff7a6e; --bad-bg:rgba(255,77,66,.14); --info:#7fb2ff; --info-bg:rgba(106,168,255,.14);
  color-scheme:dark;
}
:where(:root[data-tema="escuro"]) body{background-color:#07090e;background-image:
  radial-gradient(1200px 700px at 12% -10%,rgba(255,138,76,.07),transparent 60%),
  radial-gradient(900px 600px at 100% 0%,rgba(90,120,255,.05),transparent 55%),
  url("data:image/svg+xml,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' width='29.445' height='51.000'%3E%3Cpath d='M14.13,8.16L0.00,16.32L-14.13,8.16L-14.13,-8.16L-0.00,-16.32L14.13,-8.16ZM43.58,8.16L29.44,16.32L15.31,8.16L15.31,-8.16L29.44,-16.32L43.58,-8.16ZM28.86,33.66L14.72,41.82L0.59,33.66L0.59,17.34L14.72,9.18L28.86,17.34ZM14.13,59.16L0.00,67.32L-14.13,59.16L-14.13,42.84L-0.00,34.68L14.13,42.84ZM43.58,59.16L29.44,67.32L15.31,59.16L15.31,42.84L29.44,34.68L43.58,42.84Z' fill='none' stroke='rgb(130,150,200)' stroke-opacity='.085' stroke-width='1'/%3E%3C/svg%3E");
  background-size:auto,auto,29.445px 51.000px;background-attachment:fixed}
/* ---- sous.css: 146 regras com cor remapeada */
:where(:root[data-tema="escuro"]) :focus-visible{outline:2px solid rgb(178 181 188)}
:where(:root[data-tema="escuro"]) .toast :focus-visible{outline-color:rgb(46 49 56)}
:where(:root[data-tema="escuro"]) .pular{color:rgb(24 27 31)}
:where(:root[data-tema="escuro"]) .sav{background:linear-gradient(140deg,rgb(237 133 78),rgb(255 110 67));color:rgb(24 27 31);box-shadow:inset 0 -2px 0 rgb(0 0 0 / 0.380)}
:where(:root[data-tema="escuro"]) .side-nav .nv:hover{background:rgb(219 222 229 / 0.035)}
:where(:root[data-tema="escuro"]) .side-nav .nv[aria-current="page"]{background:rgb(19 22 28 / 0.900);box-shadow:0 1px 2px rgb(0 0 0 / 0.205)}
:where(:root[data-tema="escuro"]) .side-nav .nv em,:where(:root[data-tema="escuro"]) .bnav em{color:rgb(24 27 31)}
:where(:root[data-tema="escuro"]) .side-nav .nv em.n,:where(:root[data-tema="escuro"]) .bnav em.n{background:rgb(40 43 49)}
:where(:root[data-tema="escuro"]) .av{background:rgb(48 51 57)}
:where(:root[data-tema="escuro"]) .search{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .search:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .kbd{background:rgb(23 25 31)}
:where(:root[data-tema="escuro"]) .top-st>.est.neu{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) a.top-fatos:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .top-meter{background:rgb(32 35 41)}
:where(:root[data-tema="escuro"]) .top-who{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .top-who:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .top-who:focus-within{outline:2px solid rgb(178 181 188)}
:where(:root[data-tema="escuro"]) .tema-sw{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .tema-sw:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .tema-trilho{background:rgb(40 43 49)}
:where(:root[data-tema="escuro"]) .tema-bola{background:rgb(19 22 28 / 0.900);box-shadow:0 1px 2px rgb(0 0 0 / 0.705)}
@media (max-width:980px){
  :where(:root[data-tema="escuro"]) .bnav{background:rgb(23 25 31 / 0.970)}
  :where(:root[data-tema="escuro"]) .bnav>a[aria-current="page"],:where(:root[data-tema="escuro"]) .bn-mais.on,:where(:root[data-tema="escuro"]) .bn-mais[aria-expanded="true"]{background:rgb(19 22 28 / 0.900);box-shadow:0 1px 2px rgb(0 0 0 / 0.230)}
  :where(:root[data-tema="escuro"]) .bn-folha{background:rgb(19 22 28 / 0.900);box-shadow:0 20px 50px -12px rgb(0 0 0 / 0.955)}
  :where(:root[data-tema="escuro"]) .bn-folha a:hover{background:rgb(23 26 32)}
  :where(:root[data-tema="escuro"]) .bn-folha a[aria-current="page"]{background:rgb(23 26 32)}
}
:where(:root[data-tema="escuro"]) .fase.v1{background:rgb(19 22 28 / 0.900);border-color:rgb(178 181 188)}
:where(:root[data-tema="escuro"]) .fase.dp{background:rgb(28 31 37);color:rgb(174 177 184);border-color:rgb(66 69 76)}
:where(:root[data-tema="escuro"]) .fase.est{background:rgb(19 22 28 / 0.900);color:rgb(174 177 184);border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .est.nm{background:rgb(27 30 36);color:rgb(174 177 184);border:1px dashed rgb(73 76 83)}
:where(:root[data-tema="escuro"]) .est.ac{background:rgb(19 22 28 / 0.900);color:rgb(174 177 184);border:1px solid rgb(66 69 76)}
:where(:root[data-tema="escuro"]) .est.late{background:rgb(19 22 28 / 0.900);border:1px dashed rgb(255 212 122)}
:where(:root[data-tema="escuro"]) .est.neu{background:rgb(27 30 36)}
:where(:root[data-tema="escuro"]) .pill.n{background:rgb(34 36 42)}
:where(:root[data-tema="escuro"]) .tipo{background:rgb(191 194 201);color:rgb(24 27 31)}
:where(:root[data-tema="escuro"]) .tipo.f{background:rgb(19 22 28 / 0.900);border:1px solid rgb(178 181 188)}
:where(:root[data-tema="escuro"]) .tipo.x{background:rgb(30 33 39);color:rgb(174 177 184)}
:where(:root[data-tema="escuro"]) .card{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .kpi{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .btn{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .btn:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .btn.pri{color:rgb(24 27 31)}
:where(:root[data-tema="escuro"]) .btn.pri:hover{background:rgb(219 222 229)}
:where(:root[data-tema="escuro"]) .btn.perigo{border-color:rgb(112 61 50)}
:where(:root[data-tema="escuro"]) .lnk{text-decoration-color:rgb(57 60 67)}
:where(:root[data-tema="escuro"]) .nota-btn{text-decoration-color:rgb(66 69 76)}
:where(:root[data-tema="escuro"]) .carregando .sk{background:linear-gradient(90deg,rgb(32 35 41) 0%,rgb(26 29 34) 50%,rgb(32 35 41) 100%)}
:where(:root[data-tema="escuro"]) .vazio{border:1px dashed rgb(51 54 60);background:rgb(22 25 31)}
:where(:root[data-tema="escuro"]) .vazio.n{border-color:rgb(52 56 62);background:rgb(23 25 31)}
:where(:root[data-tema="escuro"]) .aviso{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .aviso.erro{border-color:rgb(112 61 50);color:rgb(248 155 138)}
:where(:root[data-tema="escuro"]) .aviso.erro b{color:rgb(248 155 138)}
:where(:root[data-tema="escuro"]) .aviso.atn{border-color:rgb(98 73 0);color:rgb(215 176 119)}
:where(:root[data-tema="escuro"]) .aviso.atn b{color:rgb(211 177 128)}
:where(:root[data-tema="escuro"]) .aviso.info{border-color:rgb(51 54 60);color:rgb(140 187 243)}
:where(:root[data-tema="escuro"]) .aviso.info b{color:rgb(140 187 243)}
:where(:root[data-tema="escuro"]) .prov{border-top:1px dashed rgb(51 54 60)}
:where(:root[data-tema="escuro"]) .fx{text-decoration-color:rgb(57 60 67)}
:where(:root[data-tema="escuro"]) .bat{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .rodar{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .rodar input[type=date]{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .task{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .task:hover{box-shadow:0 6px 20px -12px rgb(0 0 0 / 0.705)}
:where(:root[data-tema="escuro"]) .t-ic{background:rgb(30 33 39)}
:where(:root[data-tema="escuro"]) .cen-l>li{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .cen-l .di{background:rgb(30 33 39)}
:where(:root[data-tema="escuro"]) .bd-dia input{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bd-l .s~.s::before{color:rgb(53 56 61)}
:where(:root[data-tema="escuro"]) .bd-det>summary{text-decoration-color:rgb(66 69 76)}
:where(:root[data-tema="escuro"]) .bd-dl{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bd-trk{background:rgb(34 36 42)}
:where(:root[data-tema="escuro"]) .bd-okz{background:rgb(38 41 47)}
:where(:root[data-tema="escuro"]) .bd-val{background:rgb(19 22 28 / 0.900);box-shadow:0 0 0 2px rgb(255 255 255 / 0.120)}
:where(:root[data-tema="escuro"]) .bd-prov>summary{text-decoration-color:rgb(57 60 67)}
:where(:root[data-tema="escuro"]) .bd-sg.sem_limite,:where(:root[data-tema="escuro"]) .bd-sw.sem_limite{background:rgb(104 107 114)}
:where(:root[data-tema="escuro"]) .bd-sg.nao_medido,:where(:root[data-tema="escuro"]) .bd-sw.nao_medido{background:repeating-linear-gradient(135deg,rgb(67 70 76) 0 2px,rgb(32 35 41) 2px 5px)}
:where(:root[data-tema="escuro"]) .bd-sg.em_disputa,:where(:root[data-tema="escuro"]) .bd-sw.em_disputa{background:rgb(124 168 219)}
:where(:root[data-tema="escuro"]) .bd-sg.a_confirmar,:where(:root[data-tema="escuro"]) .bd-sw.a_confirmar{background:rgb(48 51 57)}
:where(:root[data-tema="escuro"]) .tbl{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .tbl th{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .tbl td{border-bottom:1px solid rgb(47 50 56)}
:where(:root[data-tema="escuro"]) .filtro select,:where(:root[data-tema="escuro"]) .filtro input[type=search],:where(:root[data-tema="escuro"]) .filtro input[type=text]{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .role{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .prop{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .prop.res{background:rgb(22 24 30 / 0.900)}
:where(:root[data-tema="escuro"]) .diff .a span{text-decoration-color:rgb(239 109 86 / 0.550)}
:where(:root[data-tema="escuro"]) .diff textarea{border:2px solid rgb(48 87 63);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .evid blockquote,:where(:root[data-tema="escuro"]) .cita blockquote,:where(:root[data-tema="escuro"]) .nota-p blockquote{border-left:2px solid rgb(54 57 63)}
:where(:root[data-tema="escuro"]) .mesa{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .mesa.ctr{background:rgb(22 24 30 / 0.900)}
:where(:root[data-tema="escuro"]) .mesa-l button[aria-expanded="true"]{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .nota-p{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .nota-p:focus{box-shadow:0 0 0 3px rgb(255 255 255 / 0.120)}
:where(:root[data-tema="escuro"]) .chat{background:rgb(22 25 30 / 0.900)}
:where(:root[data-tema="escuro"]) .msg.s{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .msg.s.erro{border-color:rgb(112 61 50);color:rgb(248 155 138)}
:where(:root[data-tema="escuro"]) .msg.me{color:rgb(24 27 31)}
:where(:root[data-tema="escuro"]) .msg .meta{border-top:1px dashed rgb(51 54 60)}
:where(:root[data-tema="escuro"]) .typing i{background:rgb(64 67 74)}
:where(:root[data-tema="escuro"]) .ch-chips button{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .ch-chips button:hover{border-color:rgb(114 61 38);background:rgb(22 24 30 / 0.900)}
:where(:root[data-tema="escuro"]) .ch-in textarea{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .ch-in textarea:focus{border-color:rgb(114 61 38)}
:where(:root[data-tema="escuro"]) .ch-in button{color:rgb(24 27 31)}
:where(:root[data-tema="escuro"]) .meter{background:rgb(38 41 47)}
:where(:root[data-tema="escuro"]) .meter.at i{background:rgb(216 150 0)}
:where(:root[data-tema="escuro"]) .busca input{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .busca input:focus{border-color:rgb(114 61 38)}
:where(:root[data-tema="escuro"]) .res-l li{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) mark{background:rgb(49 37 0)}
:where(:root[data-tema="escuro"]) .leitor-h{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .doc{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .ln.ger{background:rgb(24 26 32)}
:where(:root[data-tema="escuro"]) .ln.ger-ini{border-top:1px dashed rgb(51 78 113)}
:where(:root[data-tema="escuro"]) .ln.ger-fim{border-bottom:1px dashed rgb(51 78 113)}
:where(:root[data-tema="escuro"]) .ln.alvo{background:rgb(51 36 0)}
:where(:root[data-tema="escuro"]) .caso{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .caso .res{border-top:1px dashed rgb(51 54 60)}
:where(:root[data-tema="escuro"]) .perfis label{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .perfis label:has(input:checked){border-color:rgb(178 181 188);background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .perfis input[type=radio]{accent-color:rgb(206 210 216)}
:where(:root[data-tema="escuro"]) .perfis select{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) dialog.dlg-box{background:rgb(19 22 28 / 0.900);box-shadow:0 40px 100px -20px rgb(0 0 0)}
:where(:root[data-tema="escuro"]) dialog.dlg-box::backdrop{background:rgb(201 204 211 / 0.550)}
:where(:root[data-tema="escuro"]) .dlg-sum>div{border-top:1px solid rgb(47 50 56)}
:where(:root[data-tema="escuro"]) .dlg-opts label:has(input:checked),:where(:root[data-tema="escuro"]) .dlg-chk:has(input:checked){border-color:rgb(178 181 188);background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .dlg-opts input,:where(:root[data-tema="escuro"]) .dlg-chk input{accent-color:rgb(206 210 216)}
:where(:root[data-tema="escuro"]) .dlg-box textarea{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .toast{background:rgb(191 194 201);color:rgb(24 27 31);box-shadow:0 20px 50px -10px rgb(0 0 0),0 0 0 1px rgb(255 255 255 / 0.010)}
:where(:root[data-tema="escuro"]) .toast .i{color:rgb(0 63 19)}
:where(:root[data-tema="escuro"]) .toast.erro .i{color:rgb(255 227 212)}
:where(:root[data-tema="escuro"]) .toast button{border:1px solid rgb(43 46 52 / 0.450);color:rgb(24 27 31)}
:where(:root[data-tema="escuro"]) .toast button:hover{background:rgb(19 22 28 / 0.100)}
:where(:root[data-tema="escuro"]) .toast.atn .i{color:rgb(74 35 0)}
:where(:root[data-tema="escuro"]) .dlg-st{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .dlg-st::before{border:2px solid rgb(56 59 65)}
:where(:root[data-tema="escuro"]) dialog.pal{border:1px solid rgb(53 57 63);background:rgb(19 22 28 / 0.900);box-shadow:0 30px 80px -20px rgb(0 0 0)}
:where(:root[data-tema="escuro"]) dialog.pal::backdrop{background:rgb(201 204 211 / 0.450)}
:where(:root[data-tema="escuro"]) .pal-x{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pal-x:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .pal-it[aria-selected="true"]{background:rgb(27 30 36)}
:where(:root[data-tema="escuro"]) .pal-ft{background:rgb(23 25 31)}
:where(:root[data-tema="escuro"]) .pal-ft kbd{background:rgb(19 22 28 / 0.900)}
/* ---- bomdia.css: 34 regras com cor remapeada */
:where(:root[data-tema="escuro"]) .bm-step{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bm-pas:hover:not(:disabled){background:rgb(28 31 37)}
:where(:root[data-tema="escuro"]) .bm-h-r .bd-det .bd-dl{box-shadow:0 18px 40px -16px rgb(0 0 0 / 0.955)}
:where(:root[data-tema="escuro"]) .bm-ax{background:rgb(40 43 49)}
:where(:root[data-tema="escuro"]) .bm-lim b{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bm-pt{background:rgb(19 22 28 / 0.900);border:2px solid rgb(66 69 76)}
:where(:root[data-tema="escuro"]) .bm-pt.fora{box-shadow:0 0 0 2px rgb(255 255 255 / 0.120)}
:where(:root[data-tema="escuro"]) .bm-recado{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .bm-hb .tr{background:rgb(30 33 39)}
:where(:root[data-tema="escuro"]) .bm-hb .tr b{background:rgb(119 122 129)}
:where(:root[data-tema="escuro"]) .bm-vo-l{border-top:1px dashed rgb(51 54 60)}
:where(:root[data-tema="escuro"]) .bm-vo-l.solo{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bm-tw{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bm-lj thead th{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .bm-loja{text-decoration-color:rgb(57 60 67)}
:where(:root[data-tema="escuro"]) .bm-loja-d td{background:rgb(23 26 32)}
@media (max-width:640px){
  :where(:root[data-tema="escuro"]) .bm-lj tbody tr:not([hidden]){background:rgb(19 22 28 / 0.900)}
  :where(:root[data-tema="escuro"]) .bm-lj tbody tr.bm-loja-d{background:rgb(23 26 32)}
}
:where(:root[data-tema="escuro"]) .bm-grp details{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bm-sub{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .w-ac{background:rgb(19 22 28 / 0.900);box-shadow:inset 0 0 0 2px rgb(255 255 255 / 0.120)}
:where(:root[data-tema="escuro"]) .w-sl{background:rgb(27 30 36);box-shadow:inset 0 0 0 1.5px rgb(255 255 255 / 0.120);background-image:linear-gradient(rgb(104 107 114),rgb(104 107 114))}
:where(:root[data-tema="escuro"]) .w-lac{background:repeating-linear-gradient(45deg,rgb(54 58 64) 0 2px,rgb(27 30 36) 2px 5px)}
:where(:root[data-tema="escuro"]) .w-def{background:rgb(27 30 36)}
:where(:root[data-tema="escuro"]) .w-sm{background:rgb(40 43 49)}
:where(:root[data-tema="escuro"]) .bm-ml li>button:hover{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .bm-ask button{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bm-ask button:hover{border-color:rgb(56 59 65);background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .dlg-box .bm-dreg{border-left:3px solid rgb(51 54 60);background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .bm-in{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .dlg-box .bm-prev{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .bm-tx{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
/* ---- mapa.css: 15 regras com cor remapeada */
:where(:root[data-tema="escuro"]) .mp-step{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .mp-step button:hover:not(:disabled){background:rgb(27 30 36)}
:where(:root[data-tema="escuro"]) .mp-step button:disabled{color:rgb(42 45 50)}
:where(:root[data-tema="escuro"]) .mp-step input{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .mp-volta{text-decoration-color:rgb(66 69 76)}
:where(:root[data-tema="escuro"]) .mp-sg.sem_limite,:where(:root[data-tema="escuro"]) .mp-sw.sem_limite{background:rgb(104 107 114)}
:where(:root[data-tema="escuro"]) .mp-sg.nao_medido,:where(:root[data-tema="escuro"]) .mp-sw.nao_medido{background:repeating-linear-gradient(135deg,rgb(67 70 76) 0 2px,rgb(32 35 41) 2px 5px)}
:where(:root[data-tema="escuro"]) .mp-sg.em_disputa,:where(:root[data-tema="escuro"]) .mp-sw.em_disputa{background:rgb(124 168 219)}
:where(:root[data-tema="escuro"]) .mp-sg.a_confirmar,:where(:root[data-tema="escuro"]) .mp-sw.a_confirmar{background:rgb(48 51 57)}
:where(:root[data-tema="escuro"]) .mp-card{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .mp-card:hover{border-color:rgb(56 59 65);box-shadow:0 1px 3px rgb(0 0 0 / 0.205)}
:where(:root[data-tema="escuro"]) .mp-card.vz{background:rgb(23 25 31)}
:where(:root[data-tema="escuro"]) .mp-pan{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .mp-rb[aria-expanded="true"]{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .mp-sem summary span{text-decoration-color:rgb(57 60 67)}
/* ---- vault.css: 15 regras com cor remapeada */
:where(:root[data-tema="escuro"]) .vb-g{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .vb-tr>li{border-left:2px solid rgb(48 51 57)}
@media (max-width:760px){
  :where(:root[data-tema="escuro"]) .vr-t tr{background:rgb(19 22 28 / 0.900)}
}
:where(:root[data-tema="escuro"]) .vl-doc{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .vl-doc blockquote{border-left:3px solid rgb(50 53 60)}
:where(:root[data-tema="escuro"]) .vl-doc code{background:rgb(27 29 35)}
:where(:root[data-tema="escuro"]) .vl-doc pre{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .vl-tab th,:where(:root[data-tema="escuro"]) .vl-tab td{border-bottom:1px solid rgb(47 50 56)}
:where(:root[data-tema="escuro"]) .vl-tr-oc td{background:rgb(23 25 31)}
:where(:root[data-tema="escuro"]) .vl-tab th{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .vl-ger{background:rgb(24 26 32);border:1px dashed rgb(51 78 113)}
:where(:root[data-tema="escuro"]) .vl-doc .alvo,:where(:root[data-tema="escuro"]) .vl-p .ln.alvo{background:rgb(51 36 0);box-shadow:-8px 0 0 rgb(255 255 255 / 0.120),-11px 0 0 var(--acc)}
:where(:root[data-tema="escuro"]) .vl-rg>li{background:rgb(19 22 28 / 0.900)}
/* ---- curadoria.css: 3 regras com cor remapeada */
:where(:root[data-tema="escuro"]) .cu-diff:not(.trocado) .a{background:rgb(27 30 36)}
:where(:root[data-tema="escuro"]) .cu-diff.trocado .a .atx{text-decoration-color:rgb(239 109 86 / 0.550)}
:where(:root[data-tema="escuro"]) .cu-diff.est-rejeitada .d,:where(:root[data-tema="escuro"]) .cu-diff.est-arquivada .d,:where(:root[data-tema="escuro"]) .cu-diff.est-revertida .d{background:rgb(19 22 28 / 0.900);border:1px dashed rgb(56 59 65)}
/* ---- bateria.css: 6 regras com cor remapeada */
:where(:root[data-tema="escuro"]) .bt-veredito{background:rgb(19 22 28 / 0.900);border-left:4px solid rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .bt-barra input,:where(:root[data-tema="escuro"]) .bt-it input{accent-color:rgb(206 210 216)}
:where(:root[data-tema="escuro"]) .bt-lista{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bt-it.on{background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .bt-painel{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .bt-painel-in{border-top:1px dashed rgb(51 54 60);background:rgb(22 25 30 / 0.900)}
/* ---- perguntar.css: 30 regras com cor remapeada */
:where(:root[data-tema="escuro"]) .pg-chat{background:rgb(22 25 30 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-ac{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-ac:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .pg-tag{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-s{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-s.pg-escolhida{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .pg-recolhido::after{background:linear-gradient(rgb(19 22 28 / 0.000),rgb(19 22 28 / 0.900))}
:where(:root[data-tema="escuro"]) .pg-fato{background:rgb(23 25 31)}
:where(:root[data-tema="escuro"]) .pg-leitura{border:1px dashed rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .pg-nao{border:1px dashed rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .pg-prox li{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-menu{background:linear-gradient(rgb(19 22 28 / 0.900),rgb(19 22 28 / 0.900)),var(--app-bg);box-shadow:0 18px 40px -16px rgb(0 0 0 / 0.955)}
:where(:root[data-tema="escuro"]) .pg-sug-b{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-sug-b:hover{border-color:rgb(56 59 65);background:rgb(23 26 32)}
:where(:root[data-tema="escuro"]) .pg-caixa{background:rgb(22 25 30 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-cx{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-escopo-sel{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-env.pg-parar{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-men{background:linear-gradient(rgb(19 22 28 / 0.900),rgb(19 22 28 / 0.900)),var(--app-bg);box-shadow:0 18px 40px -16px rgb(0 0 0 / 0.955)}
:where(:root[data-tema="escuro"]) .pg-hist-ex:hover{border-color:rgb(56 59 65)}
:where(:root[data-tema="escuro"]) .pg-hist-ex[aria-expanded="true"]{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-hist-q{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-hc:hover{background:rgb(219 222 229 / 0.030)}
:where(:root[data-tema="escuro"]) .pg-hc.on{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .pg-lado{background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) dialog.pg-folha{background:linear-gradient(rgb(19 22 28 / 0.900),rgb(19 22 28 / 0.900)),var(--app-bg);box-shadow:0 -20px 60px -20px rgb(0 0 0)}
:where(:root[data-tema="escuro"]) dialog.pg-folha::backdrop{background:rgb(201 204 211 / 0.450)}
@media (max-width:980px){
  :where(:root[data-tema="escuro"]) .pg-caixa{box-shadow:0 -10px 24px -18px rgb(0 0 0 / 0.955)}
}
/* ---- saude.css: 3 regras com cor remapeada */
:where(:root[data-tema="escuro"]) .sa-c select{border:1px solid rgb(56 59 65);background:rgb(19 22 28 / 0.900)}
:where(:root[data-tema="escuro"]) .sa-sw{background:rgb(48 51 57)}
:where(:root[data-tema="escuro"]) .sa-sw::after{background:rgb(19 22 28 / 0.900);box-shadow:0 1px 2px rgb(0 0 0 / 0.580)}
/* ---- ajustes a mao: o laranja do Cerebro marca o que esta escolhido ou e a acao principal */
:where(:root[data-tema="escuro"]) .btn.pri,:where(:root[data-tema="escuro"]) .ch-in button{background:#ffb27a;color:#1a0f07;border-color:#ffb27a;font-weight:600}
:where(:root[data-tema="escuro"]) .btn.pri:hover,:where(:root[data-tema="escuro"]) .ch-in button:hover{background:#ffc596}
:where(:root[data-tema="escuro"]) .msg.me{background:rgba(255,178,122,.16);color:#fff1e6;border:1px solid rgba(255,178,122,.28)}
:where(:root[data-tema="escuro"]) .pular{background:#ffb27a;color:#1a0f07}
:where(:root[data-tema="escuro"]) :focus-visible{outline-color:#ffb27a}
:where(:root[data-tema="escuro"]) .side{background:rgba(9,12,18,.88);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
:where(:root[data-tema="escuro"]) .side-nav .nv:hover{background:rgba(255,255,255,.05)}
:where(:root[data-tema="escuro"]) .side-nav .nv[aria-current="page"]{background:rgba(255,178,122,.13);color:#fff;box-shadow:inset 3px 0 0 #ffb27a}
:where(:root[data-tema="escuro"]) .side-nav .nv[aria-current="page"] .i{color:#ffb27a}
:where(:root[data-tema="escuro"]) .mp-card[aria-pressed="true"]{border-color:#ffb27a;box-shadow:0 0 0 1px #ffb27a,0 0 28px -8px rgba(255,138,76,.45)}
:where(:root[data-tema="escuro"]) .subtabs [role=tab][aria-selected="true"]{border-bottom-color:#ffb27a}
:where(:root[data-tema="escuro"]) .rodar,:where(:root[data-tema="escuro"]) .role,:where(:root[data-tema="escuro"]) .nota-p{border-left-color:#ffb27a}
:where(:root[data-tema="escuro"]) .bt-it.on,:where(:root[data-tema="escuro"]) .pal-it[aria-selected="true"]{box-shadow:inset 3px 0 0 #ffb27a}
:where(:root[data-tema="escuro"]) .pal-q:focus-within{box-shadow:inset 0 -2px 0 #ffb27a}
:where(:root[data-tema="escuro"]) .bm-lim,:where(:root[data-tema="escuro"]) .bd-lim{background:#ffb27a}
:where(:root[data-tema="escuro"]) .card,:where(:root[data-tema="escuro"]) .bm-card,:where(:root[data-tema="escuro"]) .mp-card,:where(:root[data-tema="escuro"]) .box,:where(:root[data-tema="escuro"]) .painel{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 18px 40px -24px rgba(0,0,0,.9)}
:where(:root[data-tema="escuro"]) .perfis label:has(input:checked),:where(:root[data-tema="escuro"]) .dlg-opts label:has(input:checked),:where(:root[data-tema="escuro"]) .dlg-chk:has(input:checked){border-color:#ffb27a;background:rgba(255,178,122,.08)}
:where(:root[data-tema="escuro"]) input[type=radio],:where(:root[data-tema="escuro"]) input[type=checkbox]{accent-color:#ffb27a}
:where(:root[data-tema="escuro"]) .tema-bola{background:#f5f1ea}
