/* style/theme.css — saiu do <style> do index.html no corte de CSS (v305). 107 regra(s), na ordem original; os @media reabertos onde o contexto muda. Seletor com mais de um dono fica na casca. */
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]){--ink:#e8ebef;--ink2:#c3c9d2;--muted:#8a93a1;--line:#2e3540;--soft:#1c2129;--accent:#7fb0e3;--acc2:#1f2f42;--warn:#e2a04a;--bad:#ef7b74;--good:#5fc088;--paper:#14181e;--panel:#1a1f27;--on-acc:#0e1520}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .page,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .card,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .box,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .vbox,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .rail .card,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .drawer,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .wincard,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mapcard,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mdc,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .gpop,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tagmenu,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pk .list,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .ipop,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pop,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .cw .cwe,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .achip,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mchip,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .nav button[aria-pressed="true"]{background:var(--panel);color:var(--ink)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .seg button,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .seg3 button,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .seg3,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tagbtn,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .ibtn,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mapbar button,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .maptray button,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .cchips button,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pk button.cur,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pick.sys select,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) select,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) input,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) button:not(.done):not(.pri):not([aria-pressed="true"]):not(.themebtn):not(#sheetload){background:var(--panel);color:var(--ink);border-color:var(--line)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .seg button[aria-pressed="true"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .seg3 button[aria-pressed="true"]{background:var(--accent);color:#0e1520}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .seg3 button[aria-pressed="true"] span{color:#1f2f42}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tagmenu button.on,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tabs button{background:transparent}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tagmenu button.on{background:var(--accent);color:#0e1520}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) th{background:var(--soft);color:var(--ink2)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) tr.total td{border-top-color:var(--ink2)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .card.hb .tqt tr.total td{border-top-color:var(--ink2)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .wtab tr.sev-error td{background:#3a1f1f}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) tr.editing td,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) tr.ovr td{background:#1f2f42!important}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) tr.ovr .ovg{background:var(--panel);border-color:#3b5375}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .lines.has-edit,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .lines tbody tr.dim td{background:#171b22}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) tr.ghost td{background:#171b22}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .math details{background:var(--soft)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .math .ck{background:#2a3350}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .math .vv{background:#1f3a2c}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .jobnotes{background:#332a14;color:var(--ink)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tag{background:#3a2e14;color:var(--warn)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .leadneg{background:#1f3a2c;color:var(--good)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mchip.mfr{background:var(--acc2)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mchip.cw{background:#3a2e14}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .achip.on{background:#1f6feb;color:#fff}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pk .opt:hover,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pk .opt[aria-selected="true"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .gpop .gl button:hover,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .gpop .gl button:focus,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tagmenu button:hover{background:var(--acc2)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .draft{background:#7a4a08}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mdlg{background:rgba(0,0,0,.6)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .mdp{background:var(--soft)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) #mapsvg rect[fill="#fbfcfd"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) #applymap rect[fill="#fbfcfd"]{fill:#1a1f27}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) #mapsvg rect[fill="#f3f6fb"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) #applymap rect[fill="#f3f6fb"]{fill:#20262f}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg text[fill="#334"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg text[fill="#889"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg text[fill="#666"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg text[fill="#111"]{fill:var(--ink2)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg [stroke="#1a1a2e"]{stroke:#c3c9d2}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg [fill="#1a1a2e"]{fill:#c3c9d2}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg rect[fill="#eaf2ff"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg polygon[fill="#eaf2ff"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg rect[fill="#eef3fb"],body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg polygon[fill="#eef3fb"]{fill:#233246}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg rect[fill="#dbe9ff"]{fill:#2c405c}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg rect[fill="#fafafa"]{fill:#20262f}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) svg rect[fill="#fff"]{fill:#1a1f27}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .drawer .ovg,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .wincard .ovg,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .drawer .ovg .ttl{background:var(--panel)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]){color-scheme:dark}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) select option{background:var(--panel);color:var(--ink)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .wincard input,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .wincard select,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .drawer input,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .drawer select,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .lines input,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .lines select,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .gpk{background:var(--soft);color:var(--ink);border-color:var(--line)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .cpop{background:var(--panel)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .ttab tr.sev-warn td{background:#3a2e14}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tchk{background:var(--soft)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tchk.on{background:#d1434b}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .tchk.part{background:linear-gradient(135deg,#d1434b 50%,var(--soft) 50%)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .rpop,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .rtag,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .rnew button{background:var(--panel);color:var(--ink)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .fixbtn{background:var(--panel)}
body[data-theme="hud"]{--ink:#eaf6ff;--ink2:#c9d8ea;--muted:#a3b4c8;--line:rgba(255,255,255,.11);--soft:rgba(255,255,255,.05);--accent:#5ee6ff;--acc2:rgba(94,230,255,.16);--warn:#ffb347;--bad:#ff8fa3;--good:#7ef0c0;--paper:#070d18;--panel:rgba(255,255,255,.04);--glow:linear-gradient(135deg,#5ee6ff,#7c5cff);--glowsh:0 0 22px rgba(29,227,255,.4);--onglow:#0b1626;--on-acc:#0b1626;background:radial-gradient(1200px 600px at 20% -10%,#17335a 0%,#0b1626 55%,#070d18 100%) fixed;font-family:"IBM Plex Sans","Source Sans 3","Segoe UI",sans-serif}
body[data-theme="holo"]{--ink:#e5edf5;--ink2:#c5d0dc;--muted:#9aa8b8;--line:rgba(255,255,255,.1);--soft:rgba(255,255,255,.06);--accent:#a7f3d0;--acc2:rgba(167,243,208,.16);--warn:#fde68a;--bad:#fda4af;--good:#a7f3d0;--paper:#0b0f14;--panel:rgba(255,255,255,.05);--glow:linear-gradient(90deg,#a7f3d0,#c4b5fd);--glowsh:0 0 0 4px rgba(167,243,208,.2);--onglow:#0b0f14;--on-acc:#0b0f14;background:linear-gradient(180deg,#0b0f14,#111827 60%,#0b0f14) fixed;font-family:"IBM Plex Sans","Source Sans 3","Segoe UI",sans-serif}
body[data-theme="lab"]{--ink:#0f172a;--ink2:#334155;--muted:#566580;--line:#e2e8f0;--soft:#f1f5f9;--accent:#3b5bff;--acc2:#e3e9ff;--warn:#b45309;--bad:#be123c;--good:#0f766e;--paper:#f4f6fb;--panel:#fff;--glow:linear-gradient(160deg,#00c2ff,#3b5bff);--glowsh:0 10px 26px rgba(59,91,255,.33);--onglow:#fff;background:radial-gradient(900px 500px at 85% -10%,#dbeafe 0%,#f8fafc 50%,#f4f6fb 100%) fixed;font-family:"IBM Plex Sans","Source Sans 3","Segoe UI",sans-serif}
/* v334: tema Sketch (claro) e Sketch dark — a paleta do esboco Hub F4 (vault: Decisoes/2026-09-15 Tema Sketch T1-T13, mapeamento
   final de 15/set). T1 fundo = --paper e o chao do body; T2 papel = --panel, --dlg e .page; T3 tinta = --ink; T4 apagado = --ink2
   (--muted e' o T4 puxado para a linha, com contraste 4,5:1 no claro); T5 linha = --line; T6/T6f = --accent/--acc2 e --glow liso;
   T8 ok = --good; T10 aviso = --warn (no claro e' o RC_WARN #a8600a do relatorio, porque --warn tambem pinta texto); T11 erro = --bad;
   T12 barra = --soft; T9 atencao so no .leadpos. Sem sombra (--glowsh none), sem gradiente, e as FONTES nao mudam (offline).
   T7/T7f, T8f, T9f, T11f e T13 nao viram token: ninguem os le ainda. sketchdark entra nas listas dark/hud/holo (consertos de fundo
   escuro); os dois entram na familia hud/holo/lab (pilulas, paineis, dialogos), menos as duas regras de fonte. */
body[data-theme="sketch"]{--ink:#1d2726;--ink2:#5f6d6b;--muted:#66746f;--line:#c9d1cd;--soft:#e9eeec;--accent:#186f7b;--acc2:#cfe6e9;--warn:#a8600a;--bad:#b04a3a;--good:#2f7d4a;--paper:#f5f7f4;--panel:#fdfdfb;--dlg:#fdfdfb;--glow:#186f7b;--glowsh:none;--onglow:#fff;background:#f5f7f4}
body[data-theme="sketchdark"]{--ink:#e6ebe9;--ink2:#9fb0ad;--muted:#8d9e9b;--line:#34423f;--soft:#2a3533;--accent:#5cc0cc;--acc2:#17393e;--warn:#f0b34f;--bad:#e07a68;--good:#6fcf8a;--paper:#151b1a;--panel:#1c2423;--dlg:#1c2423;--glow:#5cc0cc;--glowsh:none;--onglow:#151b1a;--on-acc:#151b1a;background:#151b1a}
body:is([data-theme="sketch"],[data-theme="sketchdark"]) .page{background:var(--panel);border:1px solid var(--line);box-shadow:none;border-radius:16px}
body:is([data-theme="sketch"],[data-theme="sketchdark"]) .tabs button[aria-pressed="true"]{background:var(--panel);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
body[data-theme="sketch"] select option{background:#fdfdfb;color:#1d2726}
body[data-theme="sketchdark"] select option,body[data-theme="sketchdark"] .themesel option{background:#1c2423;color:#e6ebe9}
body[data-theme="sketch"] .leadpos{background:#c4621c;color:#fff;border-radius:14px;box-shadow:none}
body[data-theme="sketchdark"] .leadpos{background:#f0954f;color:#151b1a;border-radius:14px;box-shadow:none}
body:is([data-theme="sketch"],[data-theme="sketchdark"]) .mzpick .sheet{background:var(--panel)} /* a folha do painel do MZ e' papel (T2), nao chao */
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"]) h1,body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"]) .seg3 button b,body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"]) .nav button,body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"]) .tabs button,body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"]) h2{font-family:"Space Grotesk","Archivo",sans-serif}
body:is([data-theme="hud"],[data-theme="holo"]) .page{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);box-shadow:none;backdrop-filter:blur(14px);border-radius:18px}
body[data-theme="lab"] .page{background:#fff;border:none;box-shadow:0 10px 30px rgba(15,23,42,.06),inset 0 0 0 1px #e2e8f0;border-radius:20px}
body[data-theme="hud"]{--dlg:#0f1b2d}
body[data-theme="holo"]{--dlg:#131a24}
body[data-theme="lab"]{--dlg:#ffffff}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) :is(.mdc,.mapcard,#editcard,.editcard,.pctip,.rpop,.gpop,#tpop,#apop,#dpop,#hpop,#cpop,#hoverpop,.pop,#mdlg .mdc,#asmsum .mdc,.h3dpull){background:var(--dlg)!important;backdrop-filter:none!important;border:1px solid var(--line);box-shadow:0 24px 70px rgba(0,0,0,.55)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .mdlg{background:rgba(2,6,14,.72)}
body:is([data-theme="hud"],[data-theme="holo"]) :is(.pctip b,.mapcard b,#editcard b){color:#fff}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) select{color:var(--ink);background:var(--soft)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) select option{background:#141b26;color:#e8ebef}
body[data-theme="lab"] select option{background:#fff;color:#0f172a}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .themesel option{background:#141b26;color:#e8ebef}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .seg3{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:4px;gap:4px;overflow:visible}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .seg3 button{background:transparent;border:none;border-radius:10px;color:var(--muted)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .seg3 button b{color:var(--ink2)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .seg3 button[aria-pressed="true"]{background:var(--glow);color:var(--onglow);box-shadow:var(--glowsh)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .seg3 button[aria-pressed="true"] b,body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .seg3 button[aria-pressed="true"] span{color:var(--onglow)}
body[data-theme="holo"] .seg3,body[data-theme="holo"] .seg3 button{border-radius:999px}
body[data-theme="hud"] .tabs{border-bottom:1px solid var(--line);gap:18px}
body[data-theme="hud"] .tabs button{color:var(--muted);font-size:13.5px;border-bottom:2px solid transparent;background:transparent!important}
body[data-theme="hud"] .tabs button[aria-pressed="true"]{color:#fff;border-image:linear-gradient(90deg,#1de3ff,#7c5cff) 1;box-shadow:0 10px 14px -10px #1de3ff}
body:is([data-theme="lab"],[data-theme="holo"],[data-theme="sketch"],[data-theme="sketchdark"]) .tabs{border:none;background:var(--soft);border-radius:999px;padding:4px;gap:4px;align-self:flex-start;display:inline-flex}
body:is([data-theme="lab"],[data-theme="holo"],[data-theme="sketch"],[data-theme="sketchdark"]) .tabs button{border:none;border-radius:999px;padding:8px 16px;margin:0;color:var(--muted);font-size:13px}
body[data-theme="lab"] .tabs button[aria-pressed="true"]{background:#fff;color:#0f172a;box-shadow:0 6px 18px rgba(15,23,42,.12),inset 0 0 0 1px #e2e8f0}
body[data-theme="holo"] .tabs button[aria-pressed="true"]{background:var(--glow);color:var(--onglow)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .nav button{border-radius:12px;color:var(--muted)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .nav button[aria-pressed="true"]{background:var(--glow);color:var(--onglow);box-shadow:var(--glowsh)}



body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) :is(.pct,.mapbar button,.maptray button,.h3dbar>button,.rsbar button,.themebtn,.sectrow .sch,.apk,#ddlg .seg3 button,.rsbar .seg3 button,.cchips button,.tagbtn,.ibtn,.h3dside select,.sectrow select,.jobrow select,.jobrow input){background:var(--panel);border:1px solid var(--line);color:var(--ink2);border-radius:12px;box-shadow:none}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) :is(.pct,.mapbar button,.h3dbar>button,.rsbar button,.rsbar .seg3 button,#ddlg .seg3 button,.cchips button,.sectrow .sch)[aria-pressed="true"]{background:var(--glow);color:var(--onglow);border-color:transparent;box-shadow:var(--glowsh)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) :is(.jobfiles button,.jobfiles .jobopen,#draftlist button){background:var(--panel);color:var(--ink);border-color:var(--line)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) :is(.mdh.pchdr select,.pchdr>button,.pcload,.pcstep,.pcopts select,.pcopts input,.pcbar select,.pcfl .pct){background:var(--panel);color:var(--ink);border-color:var(--line)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .pcbar .pct[aria-pressed="true"] svg [fill="currentColor"]{fill:var(--onglow)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .pcbar .pct[aria-pressed="true"] :is(span,small,b){color:var(--onglow)!important}
body:is([data-theme="hud"],[data-theme="holo"]) .pcchip{color:var(--ink2)}
body:is([data-theme="hud"],[data-theme="holo"]) .pcchip.ok{background:rgba(126,240,192,.14);border-color:var(--good);color:var(--good)}
body:is([data-theme="hud"],[data-theme="holo"]) .pcchip.look{background:rgba(255,179,71,.14);border-color:var(--warn);color:var(--warn)}
body:is([data-theme="hud"],[data-theme="holo"]) .pcchip.bad{background:rgba(255,143,163,.14);border-color:var(--bad);color:var(--bad)}
/* v337: chips do photo check nos temas escuros — shell.css fixa fundos claros (.ok #e3f4e8 / .look #fff1dc / .bad #fde3e3) sem color, e no escuro o texto (--ink claro) ficava claro sobre claro. Fundo derivado do token de cada tema (color-mix com --panel), borda no token, texto --ink. O tema claro nao muda. */
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pcchip.ok{background:color-mix(in srgb,var(--good) 22%,var(--panel));border-color:var(--good);color:var(--ink)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pcchip.look{background:color-mix(in srgb,var(--warn) 22%,var(--panel));border-color:var(--warn);color:var(--ink)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .pcchip.bad{background:color-mix(in srgb,var(--bad) 22%,var(--panel));border-color:var(--bad);color:var(--ink)}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"]) :is(#sheetload,button.primary,[data-sumapply],[data-dapply],[data-asmdone],[data-asmesave]){background:var(--glow)!important;color:var(--onglow)!important;border-color:transparent!important;box-shadow:var(--glowsh)!important;font-family:"Space Grotesk",sans-serif;font-weight:700}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) :is([data-del],[data-delfloor]){color:var(--bad)!important}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .sectrow .sch{border-radius:999px}
body:is([data-theme="hud"],[data-theme="holo"],[data-theme="lab"],[data-theme="sketch"],[data-theme="sketchdark"]) .sectrow .sch.off{opacity:.5}
body[data-theme="hud"] .leadpos{background:linear-gradient(135deg,#ff6a3d,#ffb347);color:#0b1626;box-shadow:0 0 26px rgba(255,138,61,.4);border-radius:12px}
body[data-theme="holo"] .leadpos{background:linear-gradient(90deg,#fb7185,#f97316);color:#0b0f14;border-radius:14px}
body[data-theme="lab"] .leadpos{background:linear-gradient(160deg,#ff4d6d,#ff8f70);border-radius:14px;box-shadow:0 10px 24px rgba(255,77,109,.27)}
body:is([data-theme="hud"],[data-theme="holo"]) .jobnotes{background:rgba(255,200,80,.08);border-left-color:#ffb347;color:var(--ink)}
body:is([data-theme="hud"],[data-theme="holo"]) #mapsvg{background:radial-gradient(600px 300px at 50% 0%,rgba(18,48,90,.35),transparent),rgba(0,0,0,.25);border-radius:14px}
body:is([data-theme="hud"],[data-theme="holo"]) #mapsvg path[data-floorpoly],body:is([data-theme="hud"],[data-theme="holo"]) #mapsvg rect[stroke-dasharray="10 6"]{fill:rgba(255,255,255,.02)!important;stroke:var(--accent)!important;filter:drop-shadow(0 0 4px var(--accent))}
body:is([data-theme="hud"],[data-theme="holo"]) #mapsvg text{fill:var(--ink2)}
body:is([data-theme="hud"],[data-theme="holo"]) #mapsvg [data-mapline] rect,body:is([data-theme="hud"],[data-theme="holo"]) #mapsvg [data-mapline] polygon{fill:rgba(94,230,255,.08)!important;stroke:var(--accent)!important}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .erail button[aria-pressed="true"]{background:var(--soft)}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .lines tbody tr:hover td,body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) .lines tbody tr.active td{background:#22344d!important}
body:is([data-theme="dark"],[data-theme="hud"],[data-theme="holo"],[data-theme="sketchdark"]) select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23cfd6df' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")!important}
