/* tema escuro do app — gerado a partir do app.css (só cores) */
html.tema-escuro.f360x-app .btn-secondary:hover:not(:disabled){border-color:#2a2e36}html.tema-escuro.f360x-app .btn-danger{border-color:#2a2e36}html.tema-escuro.f360x-app .spin{border-top-color:#2a2e36}html.tema-escuro.f360x-app .kpi.clickable:hover{border-color:#2a2e36}html.tema-escuro.f360x-app .t tr.click:hover td{background:#1a1d23}html.tema-escuro.f360x-app .input:focus{border-color:#2a2e36}html.tema-escuro.f360x-app .map{background:#20232a}html.tema-escuro.f360x-app .marker-n{border:2px solid #2a2e36}html.tema-escuro.f360x-app .login-wrap{background:linear-gradient(180deg,#14161b 0%,var(--bg) 100%)}html.tema-escuro.f360x-app .sum-card .progress>span{background:#14161b}html.tema-escuro.f360x-app .pix-box{border:2px dashed #2a2e36}html.tema-escuro.f360x-app .pix-sim{background:#14161b}html.tema-escuro.f360x-app .pix-sim i{background:#3b3f45}html.tema-escuro.f360x-app .pix-sim .stamp{border:1px solid #2a2e36}html.tema-escuro.f360x-app .tag-sign{background:#3c424b;color:#7d92af}html.tema-escuro.f360x-app .tag-time{background:#3a3928;color:#9b9773}html.tema-escuro.f360x-app .tag-note{background:#20232a}html.tema-escuro.f360x-app .tag-pix{background:#34393d;color:#79a6a2}html.tema-escuro.f360x-app tr.row-partial td, html.tema-escuro.f360x-app .esp-row.row-partial{background:#474347!important}html.tema-escuro.f360x-app tr.row-over td{background:#41454d!important}html.tema-escuro.f360x-app .dot{background:#14161b}html.tema-escuro.f360x-app .on>.dot, html.tema-escuro.f360x-app .multi-ficha.on .mf-head .dot, html.tema-escuro.f360x-app .choice.on .dot{background:radial-gradient(circle,var(--red) 0 45%,#14161b 50%)}html.tema-escuro.f360x-app .assist-flag{background:#3a3a39;color:#ae9973;border:1px solid #2a2e36}html.tema-escuro.f360x-app .assist-badge{background:#3a3a39;color:#ae9973}html.tema-escuro.f360x-app .tag-opt.tone-risk{border-color:#2a2e36}html.tema-escuro.f360x-app .tag-opt.tone-time{border-color:#2a2e36}html.tema-escuro.f360x-app .tag-opt.tone-sign{border-color:#2a2e36}html.tema-escuro.f360x-app .tag-opt.tone-pix{border-color:#2a2e36}html.tema-escuro.f360x-app .tag-opt.tone-ok{border-color:#2a2e36}html.tema-escuro.f360x-app .tag-adv{background:#44444c;color:#9c8bc3}html.tema-escuro.f360x-app .np-item.has-assist{border-color:#2a2e36}html.tema-escuro.f360x-app .rec-codes code{background:var(--bg, #20232a)}html.tema-escuro.f360x-app .backup-alert{border:1px solid #2a2e36}html.tema-escuro.f360x-app .app-top img{background:#14161b}html.tema-escuro.f360x-app .client-card{background:#14161b}html.tema-escuro.f360x-app .aw-logo{background:#14161b}html.tema-escuro.f360x-app .btn-secondary{background:#14161b}html.tema-escuro.f360x-app .input, html.tema-escuro.f360x-app select.input, html.tema-escuro.f360x-app textarea.input, html.tema-escuro.f360x-app .money-in{border-color:#2a2e36;background:#14161b}html.tema-escuro.f360x-app .pm-pix{background:#20232a}html.tema-escuro.f360x-app .pm-dinheiro{background:#20232a}html.tema-escuro.f360x-app .pm-misto{background:#20232a;color:#b3b8c2}html.tema-escuro.f360x-app .guia{background:#14161b}html.tema-escuro.f360x-app .cs-sit.atrasado{background:#20232a;color:#d6868d}html.tema-escuro.f360x-app .cs-sit.em_dia{background:#20232a;color:#81b699}html.tema-escuro.f360x-app .cs-sit.quitado{background:#20232a;color:#b3b8c2}html.tema-escuro.f360x-app .cs-sit.adiantado{background:#20232a;color:#8aa7c4}html.tema-escuro.f360x-app .cs-sit.sem_ficha{background:#20232a}html.tema-escuro.f360x-app .tb-sheet{background:#14161b}html.tema-escuro.f360x-app .tb-grip{background:#414245}html.tema-escuro.f360x-app .pw-eye:hover{background:#20232a}html.tema-escuro.f360x-app .login .amb-voltar:hover{background:#20232a}html.tema-escuro.f360x-app .login img{background:#14161b}html.tema-escuro.f360x-app .vf-d span, html.tema-escuro.f360x-app .rs-card{background:var(--surface,#14161b);border:1px solid var(--line,#2a2e36)}html.tema-escuro.f360x-app .rs-g div{background:var(--surface-2,#20232a)}html.tema-escuro.f360x-app .rs-g span{color:var(--muted,#b3b8c2)}html.tema-escuro.f360x-app .rs-g .rs-t b{color:#7eb994}html.tema-escuro.f360x-app .client-card.rg-pend{background:#1a1d23}html.tema-escuro.f360x-app .f360-vc-pn{background:#14161b;color:#eceef2}html.tema-escuro.f360x-app .f360-vc-pn p{color:#b3b8c2}html.tema-escuro.f360x-app .f360-vc-ps button{border:1px solid #2a2e36;background:#1a1d23;color:#eceef2}html.tema-escuro.f360x-app .f360-vc-pn input{border:1px solid #2a2e36}html.tema-escuro.f360x-app .f360-vc-er{color:#d98282}html.tema-escuro.f360x-app .f360-vc-x{color:#b3b8c2}html.tema-escuro.f360x-app .f360-vc-bar button{background:#14161b;color:#ca828e}

/* v9 (08/11/2026): caixas com fundo suave legíveis no escuro; ficha física sempre branca, mesmo no tema escuro */
html.tema-escuro.f360x-app{--bg-soft:#1a1d23}
html.tema-escuro.f360x-app .ficha-stage,html.tema-escuro.f360x-app .ficha-paper,html.tema-escuro.f360x-app .vf-paper{color-scheme:light;
  --ink:#23272e;--ink-2:#545b66;--muted:#858c96;--line:#e7e8eb;--line-2:#f0f1f3;--bg:#f5f5f6;--surface:#fff;--surface-2:#fafafa;
  --good:#14753c;--good-bg:#e7f5ec;--warn:#8a4b00;--warn-bg:#fff3e0;--bad:#b42318;--bad-bg:#fdecea;--info:#1f5f99;--info-bg:#e9f1fa;--red:#9e1b32;--border:#e7e8eb;--bg-soft:#f3f6f9;--card:#fff}
html.tema-escuro.f360x-app .ficha-paper{background-color:#fff!important;color:#1d2026!important}
html.tema-escuro.f360x-app .ficha-paper :is(b,strong,h1,h2,h3,h4,h5,small,span,div,td,th,p):not([class]){color:inherit}
html.tema-escuro.f360x-app .ficha-paper table,html.tema-escuro.f360x-app .ficha-paper :is(thead,tbody,tr,td,th){background:transparent;color:inherit;border-color:#d9dbe0}
.vf-fisica{margin-top:10px}
.vf-fisica .ficha-wrap{margin:0}
