/* GERADO por tools/tema.js — não editar à mão (ajustes vão em tema.css) */

/* acs.css */
html[data-theme="dark"] .acs-raw pre{background:var(--branco)}
html[data-theme="dark"] .modal .box.cpainel{background:#1e2126}
html[data-theme="dark"] .cp-head{background:var(--branco)}
html[data-theme="dark"] .cp-av i{border:2px solid var(--branco)}
html[data-theme="dark"] .cp-av i.ver{background:var(--verde-forte)}
html[data-theme="dark"] .cp-av i.verm{background:var(--vermelho-forte)}
html[data-theme="dark"] .cp-av i.amb{background:var(--amber-forte)}
html[data-theme="dark"] .cp-chip{background:var(--branco)}
html[data-theme="dark"] .cp-chip.ver{border-color:#41544b;color:#9befcf}
html[data-theme="dark"] .cp-chip.ver i{background:var(--verde-forte)}
html[data-theme="dark"] .cp-chip.verm{border-color:#4e3639;color:#e3818d}
html[data-theme="dark"] .cp-chip.verm i{background:var(--vermelho-forte)}
html[data-theme="dark"] .cp-chip.amb{border-color:#5c5340;color:#f1d39c}
html[data-theme="dark"] .cp-chip.amb i{background:var(--amber-forte)}
html[data-theme="dark"] .cp-box.ver{border-color:#41544b}
html[data-theme="dark"] .cp-box.ver b{color:#9befcf}
html[data-theme="dark"] .cp-box.verm{border-color:#4e3639}
html[data-theme="dark"] .cp-box.verm b{color:#e3818d}
html[data-theme="dark"] .cp-card{background:var(--branco)}
html[data-theme="dark"] .ver{color:#9befcf}
html[data-theme="dark"] .verm{color:#e17b88}
html[data-theme="dark"] .amb{color:#edc384}
html[data-theme="dark"] .cp-regua-bar{background:linear-gradient(90deg,#553b3e 0%,#553b3e 20.8%,#605643 20.8%,#605643 29.2%,#41544b 29.2%,#41544b 95%,#605643 95%)}
html[data-theme="dark"] .cp-regua-bar i{border:3px solid var(--branco)}
html[data-theme="dark"] .cp-tag{color:#9befcf}
html[data-theme="dark"] .cp-div{color:#edc384}
html[data-theme="dark"] .cp-tab th{background:var(--branco)}
html[data-theme="dark"] .cp-mini{background:var(--branco)}
html[data-theme="dark"] .cpainel .acs-raw{background:var(--branco)}
html[data-theme="dark"] #acsOnuTeste{background:var(--branco)}
html[data-theme="dark"] .ad-dot{background:var(--verde-forte)}
html[data-theme="dark"] .ad-err{color:#e17b88}
html[data-theme="dark"] .ad-kpi{background:var(--branco)}
html[data-theme="dark"] .ad-card{background:var(--branco)}
html[data-theme="dark"] .ad-busca input{background:var(--branco)}
html[data-theme="dark"] .ad-tab tr.ad-click:hover td{background:#1c1925}
html[data-theme="dark"] .ad-st.on{color:#9befcf}
html[data-theme="dark"] .ad-st.off{color:#e3818d}
html[data-theme="dark"] .ad-dm.leg{color:#edc384}
html[data-theme="dark"] .ad-div{color:#edc384}
html[data-theme="dark"] .cp-equips{background:var(--branco)}
html[data-theme="dark"] .cp-equip-chip i{background:var(--vermelho-forte)}
html[data-theme="dark"] .cp-equip-chip i.ver{background:var(--verde-forte)}
html[data-theme="dark"] .cp-equip-chip.on{background:#201d2a}
html[data-theme="dark"] .cp-elo{background:var(--branco)}
html[data-theme="dark"] .cp-elo.ok{border-color:#41544b}
html[data-theme="dark"] .cp-elo.falta{border-color:#4e3639}
html[data-theme="dark"] .cp-elo.falta b{color:#e3818d}
html[data-theme="dark"] .cp-vinc{background:#201d2a;color:#8e7ce6}
html[data-theme="dark"] .cp-vinc:hover{background:#282535}
html[data-theme="dark"] .ad-tag-desat{color:#e3818d}
html[data-theme="dark"] .ad-tag-bloq{color:#f1d39c}
html[data-theme="dark"] .cp-onu-svg .o-mod{fill:#b3cee8}
html[data-theme="dark"] .cp-modo.router{background:#1d2129;border:1px solid #2f3644}
html[data-theme="dark"] .cp-modo.bridge{background:#211d29;border:1px solid #322c40}
html[data-theme="dark"] .cp-chip-router{background:#1d2129;border-color:#2f3644}
html[data-theme="dark"] .cp-chip-bridge{background:#211d29;border-color:#322c40}
html[data-theme="dark"] .cp-detalhes{background:var(--branco)}
html[data-theme="dark"] .cp-ico-tipo.t-celular{background:#1d2129}
html[data-theme="dark"] .cp-ico-tipo.t-tablet{background:#1d2129}
html[data-theme="dark"] .cp-ico-tipo.t-tv{background:#211d29}
html[data-theme="dark"] .cp-ico-tipo.t-pc{background:#24312f;color:#9ef1eb}
html[data-theme="dark"] .cp-ico-tipo.t-camera{background:#2e2620;color:#ec9a78}
html[data-theme="dark"] .cp-ico-tipo.t-game{background:#2c1e24;color:#eb74a5}
html[data-theme="dark"] .cp-ico-tipo.t-som{background:#322c22;color:#efc68c}
html[data-theme="dark"] .cp-ico-tipo.t-iot{background:#1e2c24;color:#98eeb8}
html[data-theme="dark"] .cp-ico-tipo.t-router{background:#222c31;color:#8ecdef}
html[data-theme="dark"] .cp-ico-tipo.t-printer{background:#202529;color:#aeb9c8}
html[data-theme="dark"] .cp-aviso-lan{color:#f1d39c}
html[data-theme="dark"] .cp-bt-acao{color:#e57982!important}
html[data-theme="dark"] .cp-mini.cp-bt-acao{border-color:#4c3537}
html[data-theme="dark"] .cp-link-tec{background:#252f29;border-color:#43554a;color:#a4f2c9}
html[data-theme="dark"] .cp-link-tec:hover{background:#303e35}
html[data-theme="dark"] .cp-nota-acao{color:#f1d39c}
html[data-theme="dark"] .cp-ov-caixa{background:var(--branco)}
html[data-theme="dark"] .cp-ov-rede input,html[data-theme="dark"] .cp-ov-rede select{background:var(--branco)}
html[data-theme="dark"] .cp-ov-erro{color:#e57982}
html[data-theme="dark"] .cp-bt-cancelar{color:#e57982}
html[data-theme="dark"] .cp-hist-jan .cp-mini.on{background:var(--azul-esc-bg)}

/* alertas.css */
html[data-theme="dark"] .alertas-badge{background:var(--amber-forte)}
html[data-theme="dark"] .alertas-badge.ruim{background:var(--vermelho-forte)}
html[data-theme="dark"] .alertas-badge.aten{background:var(--amber-forte)}
html[data-theme="dark"] .al-abas button{background:var(--branco)}
html[data-theme="dark"] .al-abas button.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .al-item{background:var(--branco)}
html[data-theme="dark"] .al-acts button{background:var(--branco)}
html[data-theme="dark"] .al-acts button:hover{background:var(--azul-esc-bg)}
html[data-theme="dark"] .al-acts button.ok{background:var(--verde-forte)}
html[data-theme="dark"] .ac-eye{background:var(--branco)}

/* base.css */
html[data-theme="dark"] .btn-imp{background:var(--branco)}
html[data-theme="dark"] .gearbtn{background:var(--branco)}
html[data-theme="dark"] .gearmenu{background:var(--branco)}
html[data-theme="dark"] .gearmenu button:hover{background:#1e2329}
html[data-theme="dark"] .searchhero input{background:var(--branco)}
html[data-theme="dark"] .stat.s-verde::before{background:var(--verde-forte)}
html[data-theme="dark"] .stat.s-azulesc::before{background:var(--azul-esc-bg)}
html[data-theme="dark"] .previewcard{background:var(--branco)}
html[data-theme="dark"] .pv-badge.utp{background:#212730}
html[data-theme="dark"] .pv-badge.fibra{background:#25322c}
html[data-theme="dark"] .pv-pon{border:1px solid #4f4359}
html[data-theme="dark"] .pv-gauge{background:#191f25}
html[data-theme="dark"] .pv-sinal{background:#2c281f;border:1px solid #534c3a;color:#ebd192}
html[data-theme="dark"] .pv-sinal.bom{border-color:#3f5449;color:#9de9c9}
html[data-theme="dark"] .pv-sinal.med{color:#f0ce93}
html[data-theme="dark"] .pv-sinal.ruim{border-color:#614347}
html[data-theme="dark"] .logcard{background:var(--branco)}
html[data-theme="dark"] .logsearch{background:#181d22}
html[data-theme="dark"] .logsearch input[type=date],html[data-theme="dark"] .logsearch input[type=time]{background:var(--branco)}
html[data-theme="dark"] .chartcard{background:var(--branco)}
html[data-theme="dark"] .results-panel{background:var(--branco)}
html[data-theme="dark"] .bh{border:1px solid #303c45;background:#1b2227}
html[data-theme="dark"] .bh-head:hover{background:#20282e}
html[data-theme="dark"] .bh-head .ic{background:#232d32}
html[data-theme="dark"] .bh-head .n{background:#232d32}
html[data-theme="dark"] .bh-body{border-top:1px solid #303c45;background:var(--branco)}
html[data-theme="dark"] .bh-row{border-top:1px solid #202328}
html[data-theme="dark"] .bh-row .ev mark{background:#4f4b37}
html[data-theme="dark"] .bh-row .acts button{background:var(--branco)}
html[data-theme="dark"] .bh-row .acts button.pri{background:var(--azul-esc-bg)}
html[data-theme="dark"] .tag-outro{background:#272b30}
html[data-theme="dark"] .ponfiltro{background:#1b2026;border:1px solid #2b3137}
html[data-theme="dark"] .pf-lbl{color:var(--azulEsc,#98c6f0)}
html[data-theme="dark"] .pf-in{border:1px solid #3a4047}
html[data-theme="dark"] .pf-clear{border:1px solid #3a4047;background:var(--branco)}
html[data-theme="dark"] .pf-prog{color:#a4b0bb}
html[data-theme="dark"] .cto-alm.a-loss{background:#2f2122;color:#e17b88}
html[data-theme="dark"] .cto-alm.a-dying{background:#342e24;color:#f1d39c}
html[data-theme="dark"] .cto-alm.a-sem{background:#26292c;color:#a4b0bb}
html[data-theme="dark"] .cto-alm.a-on{background:#25342d;color:#9befcf}
html[data-theme="dark"] .chip{background:var(--branco)}
html[data-theme="dark"] .chip.sel{background:var(--azul-esc-bg)}
html[data-theme="dark"] .chip-pon{border-color:#403548}
html[data-theme="dark"] .chip-pon.sel{background:var(--roxo-forte)}
html[data-theme="dark"] .ctocard{background:var(--branco)}
html[data-theme="dark"] .ctocard:hover{border-color:#34434b}
html[data-theme="dark"] .ctocard.card-dup{border-color:#553b3e}
html[data-theme="dark"] .ctocard.card-pon{border-color:#4f4359}
html[data-theme="dark"] .ctocard .bar{background:#22272c}
html[data-theme="dark"] .mapcard{background:var(--branco)}
html[data-theme="dark"] #map{background:#262b31}

/* detalhe.css */
html[data-theme="dark"] .badge-fibra{background:#232f29}
html[data-theme="dark"] .badge-utp{background:#222b30}
html[data-theme="dark"] .utp-row .c-ed button{background:var(--branco)}
html[data-theme="dark"] .dhead{background:linear-gradient(120deg,var(--azul-esc-bg),var(--tinta-bg))}
html[data-theme="dark"] .dpon-tag.lotada{background:#362b3e;color:#c6a5e1}
html[data-theme="dark"] .dupwarn.pon{color:#c6a5e1;background:#362b3e}
html[data-theme="dark"] .dmapa-box{background:var(--branco)}
html[data-theme="dark"] .dmapa-leg i.atual{background:var(--branco)}
html[data-theme="dark"] .dmapa{background:#262b31}
html[data-theme="dark"] .btn-azul{background:var(--azul-esc-bg)}
html[data-theme="dark"] .btn-ghost{background:var(--branco)}
html[data-theme="dark"] .splitter{background:var(--branco)}
html[data-theme="dark"] .splitter .sh .ic{background:#232d32}
html[data-theme="dark"] .splitter .sh button.del:hover{background:var(--branco)}
html[data-theme="dark"] .ports .thead{background:#171b21}
html[data-theme="dark"] .port + .port{border-top:1px solid #202328}
html[data-theme="dark"] .port.ocup .pn{background:#272b30}
html[data-theme="dark"] .port .c-obs:hover{background:var(--branco)}
html[data-theme="dark"] .port .c-obs .cnt{background:#232d32}
html[data-theme="dark"] .port .c-obs .cnt.zero{background:#23272b}
html[data-theme="dark"] .hp-num{background:#272b30}
html[data-theme="dark"] .hp-estado>div{background:#191f25;border:1px solid #282d33}
html[data-theme="dark"] .hp-obs{border:1px solid #5b533f;color:#f1d39c}
html[data-theme="dark"] .hp-obs b{color:#eecb88}
html[data-theme="dark"] .hp-obs .hp-ed:hover{background:var(--branco)}
html[data-theme="dark"] .hp-nova button{background:var(--azul-esc-bg)}
html[data-theme="dark"] .hp-ev + .hp-ev{border-top:1px solid #202328}
html[data-theme="dark"] .hp-ev .ic.tr{background:#232d32}
html[data-theme="dark"] .hp-ev .ic.mv{background:#24202e}
html[data-theme="dark"] .hp-ev .ic.nt,html[data-theme="dark"] .hp-ev .ic.un{background:#23272b;color:#a4b0bb}
html[data-theme="dark"] .hp-mais{background:#171b21}
html[data-theme="dark"] .hp-mais:hover{background:#1e2329}
html[data-theme="dark"] .sig-bom{background:#232f29}
html[data-theme="dark"] .sig-loading{background:linear-gradient(90deg,#23272b 25%,#2d3136 50%,#23272b 75%)}
html[data-theme="dark"] .alm-online{background:#232f29}
html[data-theme="dark"] .alm-dying{color:#f1d39c}
html[data-theme="dark"] .alm-off{background:#272b30}
html[data-theme="dark"] .btn-sinal{background:var(--azul-esc-bg)}
html[data-theme="dark"] .port .c-ed button:hover{background:var(--branco)}
html[data-theme="dark"] .hist-agora-item{background:#191f25;border:1px solid #282d33}
html[data-theme="dark"] .histlist .hrow + .hrow{border-top:1px solid #202328}
html[data-theme="dark"] .port.dup{background:#2c1e20}
html[data-theme="dark"] .port.dup:hover{background:#332325}
html[data-theme="dark"] .port.dup .pn::after{background:var(--vermelho-forte);border:2px solid var(--branco)}
html[data-theme="dark"] .splitter .sh button.sp-act.ajustar{color:#f1d39c}
html[data-theme="dark"] .aj-row:hover{background:#1b2025}
html[data-theme="dark"] .aj-row.marcada{background:#2c1e20}
html[data-theme="dark"] .aj-row .pn{background:#272b30}
html[data-theme="dark"] .aj-row .tg.sob{color:#f1d39c}
html[data-theme="dark"] .aj-row .tg.ocu{background:#272b30}
html[data-theme="dark"] .aj-resumo{background:#26292c}
html[data-theme="dark"] .aj-resumo.warn{color:#f1d39c}
html[data-theme="dark"] .dupbanner{border:1px solid #4c3537}
html[data-theme="dark"] .implocsum .ok{background:#232f29}
html[data-theme="dark"] .port.free-row{background:#232f29}
html[data-theme="dark"] .port.free-row:hover{background:#2b3932}
html[data-theme="dark"] .port.hit{background:#363326!important}
html[data-theme="dark"] .splitter .sh button.sp-act{background:#232d32}
html[data-theme="dark"] .splitter .sh button.sp-act:hover{background:#2e3c42}
html[data-theme="dark"] .prog-dock{background:var(--branco)}
html[data-theme="dark"] .pd-ring{background:conic-gradient(var(--azul) calc(var(--p)*1%),#282d34 0)}
html[data-theme="dark"] .pd-ring::before{background:var(--branco)}
html[data-theme="dark"] .pd-ring.done{background:conic-gradient(var(--verde-forte) 100%,var(--verde-forte) 0)}
html[data-theme="dark"] .pd-ring.cancel{background:conic-gradient(var(--amber-forte) calc(var(--p)*1%),#282d34 0)}
html[data-theme="dark"] .pd-ring.indet{background:conic-gradient(var(--azul) 30%,#282d34 0)}
html[data-theme="dark"] .pd-btns button{background:var(--branco)}
html[data-theme="dark"] .pd-bar{background:#282d34}
html[data-theme="dark"] .pd-bar>span{background:linear-gradient(90deg,var(--azul-esc-bg),var(--azul))}
html[data-theme="dark"] .pd-bar.done>span{background:linear-gradient(90deg,var(--verde-forte),#36D399)}
html[data-theme="dark"] .pd-kpis .off b{color:#a2aebc}
html[data-theme="dark"] .port.arr-alvo{background:#232d32!important}
html[data-theme="dark"] .utp-row.arr-alvo{background:#1c2228!important}
html[data-theme="dark"] .arr-ghost{background:var(--branco)}
html[data-theme="dark"] .arr-ghost-me{background:var(--branco)}
html[data-theme="dark"] .arr-dica{background:var(--tinta-bg)}
html[data-theme="dark"] .arr-dica.livre{background:var(--verde-forte)}
html[data-theme="dark"] .arr-dica.troca{background:var(--azul-esc-bg)}

/* layout.css */
html[data-theme="dark"] .sidebar{background:var(--branco)}
html[data-theme="dark"] .sb-item:hover{background:#1e2329}
html[data-theme="dark"] .sb-item.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .sb-badge{background:var(--vermelho-forte)}
html[data-theme="dark"] .sb-chips .chip:hover{background:#1e2329}
html[data-theme="dark"] .sb-chips .chip.sel{background:#222b30;border-color:#36464e}
html[data-theme="dark"] .sb-chips .chip.sel .chip-n{background:var(--azul-esc-bg)}
html[data-theme="dark"] .sb-chips .chip-pon.sel{border-color:#4f4359}
html[data-theme="dark"] .sb-chips .chip-pon.sel .chip-n{background:var(--roxo-forte)}
html[data-theme="dark"] .sb-pon .pf-clear{border-color:#614347}
html[data-theme="dark"] .layout.collapsed .sb-badge{border:2px solid var(--branco)}
html[data-theme="dark"] .layout.collapsed .sb-item::after{background:var(--tinta-bg)}
html[data-theme="dark"] .btn-menu{background:var(--branco)}
html[data-theme="dark"] .dv-card{background:var(--branco)}
html[data-theme="dark"] .dv-legend div:hover{background:#1e2329}
html[data-theme="dark"] .dv-link:hover{background:var(--azul-esc-bg)}
html[data-theme="dark"] .dv-al:hover{background:#191d24}
html[data-theme="dark"] .dv-al-resumo span.alta{background:#372d26;color:#edab7e}
html[data-theme="dark"] .dv-al-resumo span.atencao{color:#f0ce93}
html[data-theme="dark"] .vb-card{background:var(--branco)}
html[data-theme="dark"] #vbMapa{background:#262b31}
html[data-theme="dark"] .vb-carregando,html[data-theme="dark"] .vb-erro{background:var(--branco)}
html[data-theme="dark"] .vb-erro{border-color:#614347}
html[data-theme="dark"] .vb-lista{background:var(--branco)}
html[data-theme="dark"] .vb-cto:hover{background:#191d24}
html[data-theme="dark"] .vb-hist .vb-h:hover{background:#1e2329}
html[data-theme="dark"] .dv-viab-bar{background:#22272c}
html[data-theme="dark"] .dv-viab-bar .ok{background:var(--verde-forte)}
html[data-theme="dark"] .dv-viab-bar .warn{background:var(--amber-forte)}
html[data-theme="dark"] .dv-viab-bar .bad{background:var(--vermelho-forte)}
html[data-theme="dark"] .vb-cto.sel{background:#1e252b}
html[data-theme="dark"] .vb-cto.sel .vb-n{background:var(--azul-esc-bg)}
html[data-theme="dark"] .vb-h .vb-h-x:hover{background:#2f2122}
html[data-theme="dark"] .vb-h-limpar{border:1.5px solid #413030;background:var(--branco)}
html[data-theme="dark"] .vb-h-limpar:hover{background:var(--vermelho-forte)}
html[data-theme="dark"] .vb-aviso{background:#322e23;border:1px solid #5f5842;color:#f2dea4}

/* mapa.css */
html[data-theme="dark"] .mapTipo button{background:var(--branco)}
html[data-theme="dark"] .mapTipo button.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .medbtn{background:var(--branco)}
html[data-theme="dark"] .medbtn#btnClientesCto.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .pv-dot{border:1.5px solid var(--branco)}
html[data-theme="dark"] .pv-num{background:var(--azul-esc-bg)}
html[data-theme="dark"] .pv-cli-mini{background:var(--branco)}
html[data-theme="dark"] .pv-cli-row.on{background:#222a31}
html[data-theme="dark"] .pv-cli-olho:hover{background:var(--branco)}
html[data-theme="dark"] .pv-cli-row .n{background:var(--azul-esc-bg)}
html[data-theme="dark"] .trans-sug{background:var(--branco)}
html[data-theme="dark"] .trans-sug-item{border-bottom:1px solid #21262a}
html[data-theme="dark"] .trans-sug-item:hover,html[data-theme="dark"] .trans-sug-item.hl{background:#1d232a}
html[data-theme="dark"] .trans-escolhido{background:#242b24;border:1.5px solid #3b493b;color:#a6e9c0}
html[data-theme="dark"] .trans-porta:hover{background:#192025}
html[data-theme="dark"] .trans-porta.on{background:#20272e}
html[data-theme="dark"] .trans-sem{background:#302223}
html[data-theme="dark"] .buscaend{background:var(--branco)}
html[data-theme="dark"] .buscaend .be-inwrap input{background:var(--branco)}
html[data-theme="dark"] .be-item{background:var(--branco)}
html[data-theme="dark"] .be-item:hover{border-color:#34434b;background:#191f24}
html[data-theme="dark"] .be-item.sel{background:#1d262a}
html[data-theme="dark"] .be-item .be-rank{background:var(--azul-esc-bg)}
html[data-theme="dark"] .pop-btns button{background:var(--azul-esc-bg)}
html[data-theme="dark"] .pop-btns button.sv{background:var(--branco)}
html[data-theme="dark"] .calorbar{background:#1b2026}
html[data-theme="dark"] .calorbar select{background:var(--branco)}
html[data-theme="dark"] .medbtn#btnCalor.on{background:var(--azul-esc-bg)}

/* pon.css */
html[data-theme="dark"] .pon-row{background:var(--branco)}
html[data-theme="dark"] .pon-row.critico{border-color:#614347}
html[data-theme="dark"] .pon-row.lotada{background:#1d1822}
html[data-theme="dark"] .pon-main:hover{background:#191d24}
html[data-theme="dark"] .pon-bar{background:#282d34}
html[data-theme="dark"] .pon-bar>span{background:linear-gradient(90deg,var(--verde-forte),#36D399)}
html[data-theme="dark"] .pon-row.atencao .pon-bar>span{background:linear-gradient(90deg,var(--amber-forte),#F2B33D)}
html[data-theme="dark"] .pon-row.critico .pon-bar>span{background:linear-gradient(90deg,var(--vermelho-forte),#F0616F)}
html[data-theme="dark"] .pon-row.lotada .pon-bar>span{background:linear-gradient(90deg,var(--roxo-forte),#A469C9)}
html[data-theme="dark"] .pon-flag.lot{background:var(--roxo-forte)}
html[data-theme="dark"] .pon-filtrar{background:var(--branco)}
html[data-theme="dark"] .pon-filtrar:hover{background:var(--azul-esc-bg)}
html[data-theme="dark"] .pon-cto:hover{background:var(--branco)}
html[data-theme="dark"] .pon-sem-l span{background:var(--branco)}
html[data-theme="dark"] .pon-sem-l span:hover{background:var(--amber-forte)}
html[data-theme="dark"] .pf-pons{background:var(--branco)}
html[data-theme="dark"] .pf-pons:hover{background:var(--azul-esc-bg)}

/* revisao.css */
html[data-theme="dark"] .rv-item:hover{background:#1e2329}
html[data-theme="dark"] .rv-item.sel{background:#222b30;border-color:#36464e}
html[data-theme="dark"] .rv-n{color:#f1d39c}
html[data-theme="dark"] .rv-item.sel .rv-n{background:var(--azul-esc-bg)}
html[data-theme="dark"] .rv-tabs{background:var(--branco)}
html[data-theme="dark"] .rv-tabs button.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .rv-busca{background:var(--branco)}
html[data-theme="dark"] .rv-csv{background:var(--branco)}
html[data-theme="dark"] .rv-mudou{color:#f1d39c}
html[data-theme="dark"] .rv-card{background:var(--branco)}
html[data-theme="dark"] .rv-head{background:#171b21}
html[data-theme="dark"] .rv-row{border-top:1px solid #202328}
html[data-theme="dark"] .rv-row.sujo{background:#363326}
html[data-theme="dark"] .rv-row.ok{background:#232f29}
html[data-theme="dark"] .rv-in{background:var(--branco)}
html[data-theme="dark"] .rv-btn{background:var(--branco)}
html[data-theme="dark"] .rv-btn:hover:not(:disabled){background:#1c2328}
html[data-theme="dark"] .rv-btn.salvar{background:var(--azul-esc-bg)}

/* sla.css */
html[data-theme="dark"] .sla-kpi{background:var(--branco)}
html[data-theme="dark"] .sla-bloco{background:var(--branco)}
html[data-theme="dark"] .sla-bh{background:#171b21}
html[data-theme="dark"] .sla-stripe{background:var(--suave-bg)}
html[data-theme="dark"] .sla-stripe.loss{background:var(--vermelho-forte)}
html[data-theme="dark"] .sla-stripe.ok{background:var(--verde-forte)}
html[data-theme="dark"] .sla-stripe.rec{background:var(--amber-forte)}
html[data-theme="dark"] .sla-stripe.hist{background:var(--azul-esc-bg)}
html[data-theme="dark"] .sla-filtros select,html[data-theme="dark"] .sla-filtros input{background:var(--branco)}
html[data-theme="dark"] .sla-legenda{background:#191f25}
html[data-theme="dark"] .sla-row{border-top:1px solid #202328}
html[data-theme="dark"] .sla-row.ok{background:#232f29}
html[data-theme="dark"] .sla-palpite.energia{color:#f1d39c}
html[data-theme="dark"] .sla-btn{background:var(--branco)}
html[data-theme="dark"] .sla-btn.tec{background:var(--azul-esc-bg)}
html[data-theme="dark"] .sla-btn.falso{color:#f1d39c}
html[data-theme="dark"] .sla-agrupar i{background:#4c5156}
html[data-theme="dark"] .sla-agrupar i::after{background:var(--branco)}
html[data-theme="dark"] .sla-agrupar input:checked + i{background:var(--azul-esc-bg)}
html[data-theme="dark"] .sla-mudo{background:#1d2126}
html[data-theme="dark"] .sla-mudo.off{color:#f1d39c}
html[data-theme="dark"] .sla-mudo.off small{color:#eecb88}
html[data-theme="dark"] .sla-rot{background:#26292c;color:#adbac6}
html[data-theme="dark"] .sla-rot.t-osc{color:#f1d39c}
html[data-theme="dark"] .sla-rot.t-rede{background:#232d32;color:#7ebeed}
html[data-theme="dark"] .sla-rot.t-desl{background:#26292c;color:#adbac6}
html[data-theme="dark"] .sla-grp{background:#232d32}
html[data-theme="dark"] .sla-grp:hover{background:#2e3c42}
html[data-theme="dark"] .sla-row.ok.sub{background:#1f2722;box-shadow:inset 3px 0 0 #3f5449}
html[data-theme="dark"] .sla-selo.t-tec{background:#222a32}
html[data-theme="dark"] .sla-selo.t-falso{color:#f1d39c}
html[data-theme="dark"] .sla-rc{border-top:1px solid #202328}
html[data-theme="dark"] .sla-rc.aberto{background:#25221a}
html[data-theme="dark"] .rc-p.t-tec{background:var(--azul-esc-bg)}
html[data-theme="dark"] .rc-p.t-falso{background:var(--amber-forte)}
html[data-theme="dark"] .rc-p.t-nd{background:#3a3f45}
html[data-theme="dark"] .rc-ver.energia{color:#f1d39c}
html[data-theme="dark"] .rc-ev{border-top:1px solid #202328}
html[data-theme="dark"] .sla-th{background:#171b21}
html[data-theme="dark"] .sla-hrow{border-top:1px solid #202328}
html[data-theme="dark"] .sla-mais{background:#171b21}
html[data-theme="dark"] .sla-diag.t-rede{color:#7ebeed}
html[data-theme="dark"] .sla-diag.t-osc{color:#eec487}
html[data-theme="dark"] .sla-diag.t-desl{color:#a3afbb}
html[data-theme="dark"] .sla-btn.t-osc{background:var(--branco);color:#f1d39c}
html[data-theme="dark"] .sla-btn.t-desl{background:var(--branco);border-color:#4c5156;color:#adbac6}
html[data-theme="dark"] .sla-selo.t-rede{background:#222a31;color:#7ebeed}
html[data-theme="dark"] .sla-selo.t-osc{background:#322d23;color:#f1d39c}
html[data-theme="dark"] .sla-selo.t-desl{background:#26292c;color:#adbac6}
html[data-theme="dark"] .sla-row.rede{background:#241919}
html[data-theme="dark"] .sla-clas.bad{background:#2f2121;color:#e77a7a}
html[data-theme="dark"] .sla-clas.warn{background:#322d23;color:#f1d39c}
html[data-theme="dark"] .sla-selo.t-ok{background:#26322b;color:#83e8b6}

/* topsapp.css */
html[data-theme="dark"] .ts-cred.ok{background:#26322c;color:#9befcf}
html[data-theme="dark"] .ts-cred.pend{background:#332e23;color:#f1d39c}
html[data-theme="dark"] .ts-opcoes{background:#332e23}
html[data-theme="dark"] .ts-bar i{background:var(--azul-esc-bg)}
html[data-theme="dark"] .ts-err{background:#2f2122;color:#e0949d}
html[data-theme="dark"] .ts-tag.ok{background:#26322c;color:#9befcf}
html[data-theme="dark"] .ts-kpi.ok b{color:#9befcf}
html[data-theme="dark"] .ts-kpi.warn b{color:#edc384}
html[data-theme="dark"] .ts-kpi.err b{color:#e17b88}
html[data-theme="dark"] .ts-aba{background:var(--branco)}
html[data-theme="dark"] .ts-aba.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .ts-div{color:#edc384}

/* ui.css */
html[data-theme="dark"] .urow .ucur.adm{background:#5a523e;color:#f1d39c}
html[data-theme="dark"] .urow .ucur.usr{background:#272b30}
html[data-theme="dark"] .urow .uset button{background:var(--branco)}
html[data-theme="dark"] .urow .uset button.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .addsplit{background:var(--branco)}
html[data-theme="dark"] .addsplit:hover{background:#191f23}
html[data-theme="dark"] .modal .box{background:var(--branco)}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea{background:#171c21}
html[data-theme="dark"] .field input:focus,html[data-theme="dark"] .field select:focus,html[data-theme="dark"] .field textarea:focus{background:var(--branco)}
html[data-theme="dark"] .tabs button.on{background:var(--branco)}
html[data-theme="dark"] .seg button{background:var(--branco)}
html[data-theme="dark"] .seg button.on{background:var(--azul-esc-bg)}
html[data-theme="dark"] .seg button:disabled{background:#202226}
html[data-theme="dark"] .locpick .searchrow input{background:#171c21}
html[data-theme="dark"] .locpick .searchrow .go{background:var(--azul-esc-bg)}
html[data-theme="dark"] .locpick .geores{background:var(--branco)}
html[data-theme="dark"] .locpick .geores div{border-bottom:1px solid #202328}
html[data-theme="dark"] .unovo{background:#1a2026}
html[data-theme="dark"] .unovo .unsenha button{background:var(--branco)}
html[data-theme="dark"] .urow.inativo{background:#271d1d;border-color:#413030}
html[data-theme="dark"] .urow .umore button{background:var(--branco)}
html[data-theme="dark"] .urow .umore button.excluir{border-color:#413030}
html[data-theme="dark"] .urow .umore button.excluir:hover{background:var(--vermelho-forte)}
html[data-theme="dark"] .toast{background:var(--tinta-bg)}
html[data-theme="dark"] .toast.ok{background:var(--verde-forte)}
html[data-theme="dark"] .toast.err{background:var(--vermelho-forte)}
html[data-theme="dark"] .undo-bar button{background:var(--branco);color:var(--azulEsc,#98c6f0)}
html[data-theme="dark"] .ior-prob{color:#e17b88}
html[data-theme="dark"] .ior-problista{background:#2f2122;color:#e0949d}
html[data-theme="dark"] .ior-amostra{background:#1b2026}
html[data-theme="dark"] .ior-old{color:#e17b88}
html[data-theme="dark"] .ior-new{color:#9befcf}
html[data-theme="dark"] .pin-pop button{background:var(--azul-esc-bg)}
html[data-theme="dark"] .sk{background:linear-gradient(90deg,#22272c 25%,#1b2025 50%,#22272c 75%)}
html[data-theme="dark"] .impreview .ir{border-bottom:1px solid #21262a}
html[data-theme="dark"] body.fundo-rede .chips .chip{background:rgba(30,31,38,0.92)}
html[data-theme="dark"] .ucur.vnd{background:#222b30}

/* inline (index.html e templates JS) */
html[data-theme="dark"] [style*="background:#E8EEF5"],html[data-theme="dark"] [style*="background: rgb(232, 238, 245)"]{background:#262b31!important}
html[data-theme="dark"] [style*="background:#F7FAFD"],html[data-theme="dark"] [style*="background: rgb(247, 250, 253)"]{background:#191f25!important}
html[data-theme="dark"] [style*="color:#137A52"],html[data-theme="dark"] [style*="color: rgb(19, 122, 82)"]{color:#9befcf!important}
html[data-theme="dark"] [fill="#1B3A57"]{fill:#b3cee8}
html[data-theme="dark"] [fill="#E6F6EF"]{fill:#26322d}
html[data-theme="dark"] [fill="#FBE7E9"]{fill:#302223}
html[data-theme="dark"] [fill="#F7F9FC"]{fill:#1b1f24}
html[data-theme="dark"] [stroke="#C9D5E3"]{stroke:#40464d}
html[data-theme="dark"] [fill="#DCE4EE"]{fill:#30353c}
html[data-theme="dark"] [fill="#FBFCFE"]{fill:#171b21}
html[data-theme="dark"] [stroke="#E3E9F1"]{stroke:#2c3035}
html[data-theme="dark"] [stroke="#EDF2F7"]{stroke:#23282c}
html[data-theme="dark"] [stroke="#E7EEF5"]{stroke:#272c32}
html[data-theme="dark"] [style*="background:var(--azul-esc)"],html[data-theme="dark"] [style*="background: var(--azul-esc)"]{background:var(--azul-esc-bg)!important}
html[data-theme="dark"] [style*="background:var(--tinta)"],html[data-theme="dark"] [style*="background: var(--tinta)"]{background:var(--tinta-bg)!important}
html[data-theme="dark"] [style*="background:var(--roxo)"],html[data-theme="dark"] [style*="background: var(--roxo)"]{background:var(--roxo-forte)!important}
