/* Tema scuro: GENERATO da tools/theme/make_dark.py, non modificare a mano. */
:root[data-theme="dark"] {
  --bg: #0f1115; --panel: #171a21; --nav: #13161c; --nav-active: #1e222b; --card: #171a21;
  --line: #2a2f3a; --line-2: #222630; --soft: #1d2129;
  --text: #e9ecf2; --muted: #9aa2b1; --faint: #5d6575;
  --dark: #e9ecf2; --accent-2: #1c2550; --field-ring: rgba(120,145,255,.28);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --dot-off: #1d2129; --dot-blue: #7b95ff; --dot-green: #5fd38d; --dot-orange: #ff9a56; --dot-violet: #b48cf2;
  color-scheme: dark;
  --field-line: #25272c; --field-hover: #303339; --field-off: #1a1d21; --t-ok: #1a2b22; --t-warn: #321e0f; --t-bad: #2d1111; --t-info: #0e1631; --t-ai: #1c112e;
}
:root[data-theme="dark"] body { background: var(--bg); color: var(--text); }
:root[data-theme="dark"] img.on-light { background: #fff; border-radius: 6px; }
/* da styles.css */
:root[data-theme="dark"] .nav a { color: #cfd1d4; }
:root[data-theme="dark"] .nav a:hover { background: #1e1f23; }
:root[data-theme="dark"] .nav a .count { color: #111318; }
:root[data-theme="dark"] .usercard { background: #1a1a1a; }
:root[data-theme="dark"] .btn.primary, :root[data-theme="dark"] .btn.dark { color: #111318; }
:root[data-theme="dark"] .kpi .ic.orange { background: #321e0f; }
:root[data-theme="dark"] .kpi .ic.green { background: #1a2b22; }
:root[data-theme="dark"] .kpi .ic.violet { background: #1c112e; }
:root[data-theme="dark"] .kpi .ic.red { background: #2d1111; }
:root[data-theme="dark"] .badge.P1 { background: #2d1111; }
:root[data-theme="dark"] .badge.P2 { background: #321e0f; }
:root[data-theme="dark"] .badge.P3 { background: #332b12; color: #ffd35c; }
:root[data-theme="dark"] .badge.P4 { background: #1e2125; color: #afb5c0; }
:root[data-theme="dark"] .badge.ok { background: #1a2b22; }
:root[data-theme="dark"] .badge.warn { background: #321e0f; }
:root[data-theme="dark"] .badge.bad { background: #2d1111; }
:root[data-theme="dark"] .badge.ai { background: #1c112e; }
:root[data-theme="dark"] .badge.type { background: #1e2125; color: #c8cace; }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { background: #1a1a1a; }
:root[data-theme="dark"] .sla.ok { background: #1a2b22; }
:root[data-theme="dark"] .sla.warn { background: #321e0f; }
:root[data-theme="dark"] .msg { background: #1a1a1a; }
:root[data-theme="dark"] .aibox { border: 1px solid #201435; background: linear-gradient(180deg, #1a0d2b, #1a1a1a); }
:root[data-theme="dark"] .tabs { background: #222327; }
:root[data-theme="dark"] .tabs a { color: #c8c9cc; }
:root[data-theme="dark"] .sb-dots i { background: var(--line, #232428); }
:root[data-theme="dark"] .dotgrid i { background: var(--line, #232428); }
:root[data-theme="dark"] .stage-empty { border: 1px dashed var(--line, #232428); }
:root[data-theme="dark"] .stage-empty-dots i { background: var(--line, #232428); }
:root[data-theme="dark"] .grad .chip { background: rgba(255,255,255,0.22); border: 1px solid rgba(26,26,26,0.35); }
:root[data-theme="dark"] .grad .chip .dot { background: #1a1a1a; }
:root[data-theme="dark"] .pills a { color: #c8c9cc; }
:root[data-theme="dark"] .pills a.active { color: #111318; }
:root[data-theme="dark"] .agent-card form { background: #1a1a1a; }
:root[data-theme="dark"] .agent-card form button { color: #111318; }
:root[data-theme="dark"] .vtabs a.active { color: #111318; }
:root[data-theme="dark"] .vtabs a.active b { background: rgba(255,255,255,0.2); }
:root[data-theme="dark"] .tl-item.sel { background: #0d152d; }
:root[data-theme="dark"] .bub.r-agent .text { background: #0e172f; }
:root[data-theme="dark"] .bub.r-note .text { background: #372f10; }
:root[data-theme="dark"] .bub.r-ai .text { background: #1a0d2e; }
:root[data-theme="dark"] .bub.r-lightspeed .text { background: #30170e; }
:root[data-theme="dark"] .bub.r-lightspeed_out .text { background: #2d190d; }
:root[data-theme="dark"] .suggested button { background: #1a1a1a; }
:root[data-theme="dark"] .suggested button.ai { border-color: #201435; background: #1a0d2b; }
:root[data-theme="dark"] .box.internal { background: #2d270d; }
:root[data-theme="dark"] .box.to-ls { background: #2b1a0d; }
:root[data-theme="dark"] .col { background: #222327; }
:root[data-theme="dark"] .col > h3 { color: #c8c9cc; }
:root[data-theme="dark"] .kcard { background: #1a1a1a; }
:root[data-theme="dark"] .score.hi { background: #1a2b22; }
:root[data-theme="dark"] .score.mid { background: #332b12; color: #ffd35c; }
:root[data-theme="dark"] .score.lo { background: #2d1111; }
:root[data-theme="dark"] .overlay { background: rgba(225,228,234,0.38); }
:root[data-theme="dark"] .modal { background: #1a1a1a; }
:root[data-theme="dark"] .agent header { background: #1a1a1a; }
:root[data-theme="dark"] .bubble.assistant { background: #1a1a1a; }
:root[data-theme="dark"] .bubble.assistant.err { border-color: #3c1a1b; background: #2b0d0d; }
:root[data-theme="dark"] .bubble .tools span { background: #1d132c; }
:root[data-theme="dark"] .suggest button { background: #1a1a1a; }
:root[data-theme="dark"] .suggest button:hover { border-color: #271b3c; }
:root[data-theme="dark"] .bee-comp { background: #1a1a1a; }
:root[data-theme="dark"] .bee-send { color: #111318; }
:root[data-theme="dark"] .bee-files.in .bee-file { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); }
:root[data-theme="dark"] .toast { color: #111318; }
:root[data-theme="dark"] .login-screen { background: radial-gradient(60% 60% at 15% 20%, #16203d 0%, transparent 60%), radial-gradient(50% 50% at 85% 80%, #3f1928 0%, transparent 60%), var(--bg); }
@media (max-width: 760px) {
  :root[data-theme="dark"] .tabbar { background: rgba(26,26,26,0.96); }
  :root[data-theme="dark"] .tabbar .plus { color: #111318; }
}
:root[data-theme="dark"] .nav a.active { background: #1f2126; }
:root[data-theme="dark"] .hello-strip span.today { color: rgba(17,19,24,0.7); }
:root[data-theme="dark"] .hello-strip span.today b { color: #111318; }
:root[data-theme="dark"] .agent-card .go { background: rgba(255,255,255,0.22); }
:root[data-theme="dark"] .rchip i { border: 1.5px solid #1a1a1a; }
:root[data-theme="dark"] .nt-side { background: #171923; }
:root[data-theme="dark"] .nt-search, :root[data-theme="dark"] .nt-other input, :root[data-theme="dark"] .nt-newc input { background: #1a1a1a; }
:root[data-theme="dark"] .nt-c { background: #1a1a1a; }
:root[data-theme="dark"] .nt-newc { background: #1a1a1a; }
:root[data-theme="dark"] .nt-prio { background: #171923; }
:root[data-theme="dark"] .nt-a { background: #1a1a1a; }
:root[data-theme="dark"] .nt-a .si { background: #0e132f; }
:root[data-theme="dark"] .nt-a.on { background: #0d142d; }
:root[data-theme="dark"] .seg { background: #1a1d25; }
:root[data-theme="dark"] .seg button:hover:not(:disabled) { background: rgba(26,26,26,0.6); }
:root[data-theme="dark"] .seg button.on { background: #1a1a1a; }
:root[data-theme="dark"] .meter i { background: #272a31; }
:root[data-theme="dark"] .caller { background: #171923; }
:root[data-theme="dark"] .caller .chan { background: #1a1a1a; }
:root[data-theme="dark"] .ws.has-sel .details .side-sec + .side-sec { border-top: 6px solid var(--bg, #1a1c23); }
:root[data-theme="dark"] .flow-chip { background: #1a1a1a; }
:root[data-theme="dark"] .fstep { background: #1a1a1a; }
:root[data-theme="dark"] .fstep .n { background: #0e132f; }
:root[data-theme="dark"] .prog { background: #1d1f27; }
:root[data-theme="dark"] .mk .i { background: #1a1d25; }
:root[data-theme="dark"] .fl-list a.on { background: #0d142d; }
:root[data-theme="dark"] .fl-list a:hover { background: #171923; }
:root[data-theme="dark"] .fe-ai form { background: #1a1a1a; }
:root[data-theme="dark"] .fe-ai form button { color: #111318; }
:root[data-theme="dark"] .fe-changes span { background: rgba(255,255,255,0.22); }
:root[data-theme="dark"] .fe-stage + .fe-stage::before { border-left: 2px dashed #2d3038; }
:root[data-theme="dark"] .fe-name:hover:not(:disabled), :root[data-theme="dark"] .fe-name:focus { background: #1a1a1a; }
:root[data-theme="dark"] .fe-top select { background: #1a1a1a; }
:root[data-theme="dark"] .task-chip { background: #1a1d25; }
:root[data-theme="dark"] .fe-add { background: #1a1a1a; }
:root[data-theme="dark"] .fe-new { border: 1.5px dashed #2d3038; }
:root[data-theme="dark"] .stepper button { background: #1a1d25; }
:root[data-theme="dark"] .stepper button .n { background: #1a1a1a; }
:root[data-theme="dark"] .stepper button.done { background: #1a2b21; color: #7ddea5; }
:root[data-theme="dark"] .pj-body aside { background: #171923; }
:root[data-theme="dark"] .pj-body aside .side-sec { border-color: #202229; }
:root[data-theme="dark"] .tgroup.cur { background: #0d142d; }
:root[data-theme="dark"] .addtask input, :root[data-theme="dark"] .addmat input { background: #1a1a1a; }
:root[data-theme="dark"] .mat { border-bottom: 1px solid #202229; }
:root[data-theme="dark"] .drop { border: 1.5px dashed #2d3038; }
:root[data-theme="dark"] .drop.over, :root[data-theme="dark"] .drop:hover { background: #0d142d; }
:root[data-theme="dark"] .tl + .tl::before { border-left: 2px solid #1d1f27; }
:root[data-theme="dark"] .ti { background: #1a1d25; }
:root[data-theme="dark"] .ti.k-chiamata { background: #1a2b21; }
:root[data-theme="dark"] .ti.k-email { background: #0e132f; }
:root[data-theme="dark"] .ti.k-meeting { background: #35260f; }
:root[data-theme="dark"] .ti.k-fase { background: #1d112d; }
:root[data-theme="dark"] .ti.k-allegato { background: #2d1116; }
:root[data-theme="dark"] .kb-ask form { background: #1a1a1a; }
:root[data-theme="dark"] .kb-ask form button { color: #111318; }
:root[data-theme="dark"] .kb-ex button { border: 1px solid rgba(26,26,26,0.4); background: rgba(255,255,255,0.18); }
:root[data-theme="dark"] .kb-answer { background: #1a1a1a; }
:root[data-theme="dark"] .kb-answer .src a { background: #0d142d; }
:root[data-theme="dark"] .md code { background: #1a1d25; }
:root[data-theme="dark"] .kb-stats .i { background: #0d142d; }
:root[data-theme="dark"] .kb-card { background: #1a1a1a; }
:root[data-theme="dark"] .kb-ico { background: #0d142d; }
:root[data-theme="dark"] .kb-ed-row select { background: #1a1a1a; }
:root[data-theme="dark"] .kb-gen-row select, :root[data-theme="dark"] .kb-gen-row input { background: #1a1a1a; }
:root[data-theme="dark"] .kb-gen-src { border-top: 1px solid #1f1430; }
:root[data-theme="dark"] .warn-t { color: #ffb65c; }
:root[data-theme="dark"] .kb-prev { background: #151922; }
:root[data-theme="dark"] .psteps .dot { background: #1a1a1a; border: 1.5px solid #272a31; }
:root[data-theme="dark"] .psteps .bar { background: #21242b; }
:root[data-theme="dark"] .conv-steps { background: #151922; }
:root[data-theme="dark"] .lead-steps { background: #171923; }
:root[data-theme="dark"] .period { background: #1a1a1a; }
:root[data-theme="dark"] .period a.active { color: #111318; }
:root[data-theme="dark"] input, :root[data-theme="dark"] textarea, :root[data-theme="dark"] select { background-color: #1a1a1a; }
:root[data-theme="dark"] .doc.click:hover, :root[data-theme="dark"] tr.click[data-doc]:hover { background: #0d132c; }
:root[data-theme="dark"] .docx-wrap > td { background: #131725; }
:root[data-theme="dark"] .docx { background: #131725; border: 1px solid #1b1e2b; }
:root[data-theme="dark"] .docx-lines { background: #1a1a1a; }
:root[data-theme="dark"] .docx-lines tr.tot td { border-top: 2px solid #1d212d; }
:root[data-theme="dark"] .docx-ex { background: linear-gradient(135deg, #0e152f, #180d2d); }
:root[data-theme="dark"] .docx-tot { background: #1a1a1a; }
:root[data-theme="dark"] .docx-tot > div.g { border-top: 2px solid #1d212d; }
@media (min-width: 861px) {
  :root[data-theme="dark"] .ws.has-sel .details { background: #121824; }
}
:root[data-theme="dark"] .mk.m-da_ordinare .i, :root[data-theme="dark"] .mi.m-da_ordinare { background: #2d1111; }
:root[data-theme="dark"] .mk.m-ordinato .i, :root[data-theme="dark"] .mi.m-ordinato { background: #35270f; color: #ffbf5c; }
:root[data-theme="dark"] .mk.m-arrivato .i, :root[data-theme="dark"] .mi.m-arrivato { background: #0e1731; }
:root[data-theme="dark"] .mk.m-consegnato .i, :root[data-theme="dark"] .mi.m-consegnato { background: #1a2c21; }
:root[data-theme="dark"] .mat-table .qty { background: #1a1d25; }
:root[data-theme="dark"] .chip { background: #1a1d25; }
:root[data-theme="dark"] .mtrack i { background: #21242b; }
:root[data-theme="dark"] .mtrack .md { border: 1.5px solid #22252d; background: #1a1a1a; }
:root[data-theme="dark"] .mlbl.m-ordinato { color: #ffbf5c; }
:root[data-theme="dark"] .cat-tree .ct span { background: #1a1d25; }
:root[data-theme="dark"] .cat-tree .ct.lv1 { color: #c8cacf; }
:root[data-theme="dark"] .cat-tree .ct:hover { background: #0d132c; }
:root[data-theme="dark"] .cat-tree .ct.on { background: #0e1731; }
:root[data-theme="dark"] .whc { background: #1a1d25; color: #c8cacf; }
:root[data-theme="dark"] .whc.in { background: #17102d; }
:root[data-theme="dark"] .mv { background: #1a1d25; }
:root[data-theme="dark"] .mv.k-carico { background: #1a2c21; }
:root[data-theme="dark"] .mv.k-scarico { background: #2d1111; }
:root[data-theme="dark"] .mv.k-trasferimento { background: #0e1731; }
:root[data-theme="dark"] .mv.k-rettifica { background: #35270f; color: #ffbf5c; }
:root[data-theme="dark"] .mbar { background: #1c1f26; }
:root[data-theme="dark"] .wh:hover { background: #131725; }
:root[data-theme="dark"] .whi { background: #0e1731; }
:root[data-theme="dark"] .whi.k-furgone { background: #35270f; color: #ffbf5c; }
:root[data-theme="dark"] .whi.k-presso-cliente { background: #1a2c21; }
:root[data-theme="dark"] .ph-head > div { background: #131725; }
:root[data-theme="dark"] .ph-chart { background: #1a1a1a; }
:root[data-theme="dark"] .ph-sup span { background: #1a1d25; }
:root[data-theme="dark"] .ph-sup .best { background: #1a2c21; }
:root[data-theme="dark"] .po-meta > div { background: #131725; }
:root[data-theme="dark"] .po-m tr.tot td { border-top: 2px solid #1d212d; }
:root[data-theme="dark"] .docx-mg { background: #1a1a1a; border: 1px solid #1b1e2b; }
:root[data-theme="dark"] .onb-intro { background: linear-gradient(135deg, #0e152f, #180d2d); }
:root[data-theme="dark"] .prod { background: #0e1731; }
:root[data-theme="dark"] .saved { background: #1a2c21; }
:root[data-theme="dark"] .pp { background: #1a1a1a; }
:root[data-theme="dark"] .pp.on { background: #0e1731; }
:root[data-theme="dark"] .pf { background: #131725; }
:root[data-theme="dark"] .pf.chained { background: #170d2d; }
:root[data-theme="dark"] .pf.click:hover { background: #0e152f; }
:root[data-theme="dark"] .pr.shared, :root[data-theme="dark"] .rq-row.shared { background: #0d142d; }
:root[data-theme="dark"] .ri { background: #1a1d25; }
:root[data-theme="dark"] .rs { background: #1a1a1a; }
:root[data-theme="dark"] .rl.s-richiesto { color: #ffbf5c; }
:root[data-theme="dark"] .rp { background: #1a1a1a; }
:root[data-theme="dark"] .rp.on { background: #0d142d; }
:root[data-theme="dark"] .inherit { background: linear-gradient(135deg, #0e152f, #180d2d); }
:root[data-theme="dark"] .pf-box { background: #131725; }
:root[data-theme="dark"] .inherit select { background: #1a1a1a; }
:root[data-theme="dark"] .bchip { background: #1a1d25; }
:root[data-theme="dark"] .bstats > * { background: #131725; }
:root[data-theme="dark"] .bstats a:hover { background: #0e152f; }
:root[data-theme="dark"] .fdd-it:hover { background: #141927; }
:root[data-theme="dark"] .ctr-side { background: #131725; }
:root[data-theme="dark"] .doc-cats a { background: #1a1a1a; }
:root[data-theme="dark"] .doc-cats a.on { color: #111318; }
:root[data-theme="dark"] .doc-cats a.on span { color: #111318; }
:root[data-theme="dark"] .dw { background: #30230e; }
:root[data-theme="dark"] .role-chip { background: #0e152f; color: #828fd9; }
:root[data-theme="dark"] .role-chip.r-admin { background: #e6e6e6; color: #111318; }
:root[data-theme="dark"] .role-chip.r-tecnico { background: #1a2b21; color: #7ddea5; }
:root[data-theme="dark"] .role-chip.r-commerciale { background: #35260f; color: #ffb75c; }
:root[data-theme="dark"] .role-chip.r-amministrazione { background: #1a0e30; }
:root[data-theme="dark"] .perm-mini { background: #131725; }
:root[data-theme="dark"] .pmi { background: #1a1a1a; }
:root[data-theme="dark"] .pmi.w { color: #7ddea5; }
:root[data-theme="dark"] .pmi.r { color: #828fd9; }
:root[data-theme="dark"] .lvseg { background: #1a1d25; }
:root[data-theme="dark"] .lvseg button.on { background: #1a1a1a; }
:root[data-theme="dark"] .lvseg button.on.write { color: #7ddea5; }
:root[data-theme="dark"] .plv { background: #e6e6e6; color: #111318; }
:root[data-theme="dark"] .tstats > div { background: #131725; }
:root[data-theme="dark"] .tfeat span { background: #1b1d22; }
:root[data-theme="dark"] .tfeat span.on { background: #1a2b21; color: #7ddea5; }
:root[data-theme="dark"] .feat-pick label.chk, :root[data-theme="dark"] .sso-card label.chk { background: #131725; }
:root[data-theme="dark"] .sso-ico.ms { background: #1a1a1a; }
:root[data-theme="dark"] .sso-ico.gg { background: #1a1a1a; }
:root[data-theme="dark"] .copy-row input { background: #131725; }
:root[data-theme="dark"] .sso-btn { background: #1a1a1a; }
:root[data-theme="dark"] .src-rec { background: linear-gradient(135deg, #1a271e, #16251a); }
:root[data-theme="dark"] .cu-hero { background: linear-gradient(120deg, #1a1a1a 0%, #1a1a1a 55%, #0e132f 100%); }
:root[data-theme="dark"] .cu-tags span { background: #1a1d25; }
:root[data-theme="dark"] .cu-tags .ok { color: #7ddea5; background: #1a2b21; }
:root[data-theme="dark"] .tier.t-gold { background: #392e11 !important; color: #ffcc5c !important; }
:root[data-theme="dark"] .tier.t-silver { background: #1b1f26 !important; color: #c7cace !important; }
:root[data-theme="dark"] .tier.t-bronze { background: #302014 !important; color: #e5a276 !important; }
:root[data-theme="dark"] .cu-prio span { background: #131725; }
:root[data-theme="dark"] .cu-prio .p-P1:not(.zero) { background: #2f1111; }
:root[data-theme="dark"] .cu-prio .p-P2:not(.zero) { background: #33200f; }
:root[data-theme="dark"] .cu-list > div { background: #131725; }
:root[data-theme="dark"] .cu-list b.warn { color: #ffab5c; }
:root[data-theme="dark"] .cu-split { background: #1a1d25; }
:root[data-theme="dark"] .cu-pj { background: #131725; }
:root[data-theme="dark"] .cu-pj:hover { background: #0e152f; }
:root[data-theme="dark"] .cu-tk a:hover { background: #141927; }
:root[data-theme="dark"] .cu-teams span { background: #1a1d25; }
:root[data-theme="dark"] .cu-tl i { background: #1a1a1a; }
:root[data-theme="dark"] .tier.t-bronze { background: linear-gradient(135deg, #302014, #3c2a1b) !important; color: #e8a273 !important; }
:root[data-theme="dark"] .tier.t-silver { background: linear-gradient(135deg, #1a1e23, #22262b) !important; color: #c7cace !important; }
:root[data-theme="dark"] .tier.t-gold { background: linear-gradient(135deg, #382e10, #534518) !important; color: #ffcb5c !important; }
:root[data-theme="dark"] .tier.t-platinum { background: linear-gradient(135deg, #1b222a, #262e39) !important; color: #8faccc !important; }
:root[data-theme="dark"] .cu-tags .cseg { background: color-mix(in srgb, var(--sc) 12%, #1a1a1a); color: color-mix(in srgb, var(--sc) 70%, #ededed); }
:root[data-theme="dark"] .cl-open { background: #2d1111; }
@media (min-width: 1281px) {
  :root[data-theme="dark"] .ws:not(.has-sel) .details { background: #121824; }
}
:root[data-theme="dark"] .int-miss { background: #31240e; color: #ffb85c; }
:root[data-theme="dark"] .int-step { background: #151824; }
:root[data-theme="dark"] .int-code { background: #1a1a1a; }
:root[data-theme="dark"] .int-legal { background: #0d162d; color: #caced7; }
:root[data-theme="dark"] .m365 { background: linear-gradient(135deg, #0e172f, #1a1a1a 55%); }
:root[data-theme="dark"] .m365-ico { background: #1a1a1a; }
:root[data-theme="dark"] .m365-how { color: #caced7; }
:root[data-theme="dark"] .call-hero { background: linear-gradient(135deg, #0e172f, #1a1a1a 60%); }
:root[data-theme="dark"] .call-hero.unknown { background: linear-gradient(135deg, #32230f, #1a1a1a 60%); }
:root[data-theme="dark"] .svc-al-r .i { background: #33230f; color: #f7a364; }
:root[data-theme="dark"] .svc-al-r.k-extra .i { background: #0e1631; }
:root[data-theme="dark"] .svc-al-r.k-scadenza .i { background: #2d1111; }
:root[data-theme="dark"] .rep-sig img { background: #1a1a1a; }
:root[data-theme="dark"] .sig-pad { background: #1a1a1a; }
:root[data-theme="dark"] .q-plan { background: linear-gradient(180deg, #1a1a1a, var(--soft)); }
:root[data-theme="dark"] .ai-warn { background: #2f200e; border-color: #4c3317; }
:root[data-theme="dark"] .ai-warn .body { color: #ee8d6d; }
:root[data-theme="dark"] .ql-m { background: #131725; }
:root[data-theme="dark"] .ql-i { background: #1a1a1a; }
:root[data-theme="dark"] .qrk-card { background: #1a1a1a; }
:root[data-theme="dark"] .qrk-qr { background: #1a1a1a; border: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="dark"] .pf-code input, :root[data-theme="dark"] .pf-code select, :root[data-theme="dark"] .pf-px input, :root[data-theme="dark"] .pf-min input { background: #1a1a1a; }
:root[data-theme="dark"] .pf-sw:has(input:checked) { background: #0d142d; }
:root[data-theme="dark"] .pf-br { background: #1a1a1a; }
:root[data-theme="dark"] .pf-br.on { background: #0d142d; }
:root[data-theme="dark"] .bp-btn { background: #1a1a1a; }
:root[data-theme="dark"] .bl { background: #1a1a1a; }
:root[data-theme="dark"] img.bl { border: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="dark"] .bp-pop { background: #1a1a1a; }
:root[data-theme="dark"] .bp-it:hover { background: #161a25; }
:root[data-theme="dark"] .bp-it.on { background: #0d142d; }
:root[data-theme="dark"] .bp-create { background: #0d132b; }
:root[data-theme="dark"] .rail { background: #1c1d22; }
:root[data-theme="dark"] .rl-b { color: #b0b4bf; }
:root[data-theme="dark"] .rl-b:hover { background: #202227; }
:root[data-theme="dark"] .rl-b.on { background: #1a1a1a; }
:root[data-theme="dark"] .rl-n { color: #111318; }
:root[data-theme="dark"] .np-close:hover { background: #1f2126; }
:root[data-theme="dark"] .nw-pop { background: #1a1a1a; }
:root[data-theme="dark"] .nw-quick button { background: #181a22; }
:root[data-theme="dark"] .nw-quick button:hover { background: #0d142d; }
:root[data-theme="dark"] .nw-i { background: #0e132f; }
:root[data-theme="dark"] .nw-list button:hover, :root[data-theme="dark"] .nw-list button.on { background: #161a25; }
:root[data-theme="dark"] .nw-foot { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="dark"] kbd { background: #1a1a1a; }
:root[data-theme="dark"] .qa-add { background: #1a1a1a; }
:root[data-theme="dark"] .me-pop { background: #1a1a1a; }
:root[data-theme="dark"] .me-pop #status { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="dark"] img.avatar { background: #1c1f26; }
:root[data-theme="dark"] .ph-emo button { background: #1a1c22; }
:root[data-theme="dark"] .ph-emo button.on, :root[data-theme="dark"] .ph-emo button:hover { background: #1a1a1a; }
:root[data-theme="dark"] .ph-bg button { border: 2px solid #1a1a1a; }
:root[data-theme="dark"] .ph-chips button { background: #1a1a1a; }
:root[data-theme="dark"] .ph-chips button.on { color: #111318; }
:root[data-theme="dark"] .ph-part { background: #1a1c22; }
:root[data-theme="dark"] .ph-part button { background: #1a1a1a; }
:root[data-theme="dark"] .ag-check { background: #1a1a1a; }
:root[data-theme="dark"] .ag-fu { background: #30210e; border: 1px solid #46341a; }
:root[data-theme="dark"] .ag-fu > span { color: #ffb45c; }
:root[data-theme="dark"] .ag-fu.prop { background: #1c112e; border-color: #231839; }
:root[data-theme="dark"] .ag-warn { background: #30210e; border: 1px solid #46341a; color: #ffb45c; }
:root[data-theme="dark"] .ag-col.today { background-color: #0c152b; }
:root[data-theme="dark"] .ag-ev { background: color-mix(in srgb, var(--c) 14%, #1a1a1a); }
:root[data-theme="dark"] .ag-abs { background: repeating-linear-gradient(135deg, #1d1f23 0 6px, #212228 6px 12px); }
:root[data-theme="dark"] .ag-chip { background: color-mix(in srgb, var(--c) 14%, #1a1a1a); }
:root[data-theme="dark"] .ag-bi { background: #1a1a1a; }
:root[data-theme="dark"] .nt-top { background: #171923; }
:root[data-theme="dark"] .nt-src { background: #1c1f26; }
:root[data-theme="dark"] .dh-nextup { background: #1a1a1a; }
:root[data-theme="dark"] .dh-k { background: #1a1a1a; }
:root[data-theme="dark"] .dh-kh i { background: #1a1d24; }
:root[data-theme="dark"] .dh-k.violet .dh-kh i { background: rgba(255,255,255,0.22); }
:root[data-theme="dark"] .dh-avs .avatar { border: 2px solid #1a1a1a; }
:root[data-theme="dark"] .dh-chip { background: #1a1e27; color: #d3d6dc; }
:root[data-theme="dark"] .dh-chip.warn { background: #321e0f; color: #f7a364; }
:root[data-theme="dark"] .dh-n { background: #1a1e27; }
:root[data-theme="dark"] .dh-it, :root[data-theme="dark"] .dh-wk { background: #181a22; }
:root[data-theme="dark"] .dh-it:hover, :root[data-theme="dark"] .dh-wk:hover { background: #191d27; }
:root[data-theme="dark"] .dh-wk:hover { background: #181a22; }
:root[data-theme="dark"] .dh-ring { border: 2px solid #2d3038; }
:root[data-theme="dark"] .dh-who { background: #1a1d24; }
:root[data-theme="dark"] .dh-st { background: #1a1e27; color: #c6c9ce; }
:root[data-theme="dark"] .dh-st.late { background: #2d1111; }
:root[data-theme="dark"] .dh-st.soon { background: #321e0f; color: #f7a364; }
:root[data-theme="dark"] .dh-rc { background: #1a1a1a; }
:root[data-theme="dark"] .dh-due { background: #321e0f; color: #f7a364; }
:root[data-theme="dark"] .dh-due.bad { background: #2d1111; }
:root[data-theme="dark"] .dh-more { color: #ffaa5c; }
:root[data-theme="dark"] .dh-next { background: radial-gradient(120% 90% at 0% 0%, #1b2a6b 0%, #dfe2ec 55%); color: #111318; }
:root[data-theme="dark"] .dh-next .dh-ph small { color: rgba(17,19,24,0.6); }
:root[data-theme="dark"] .dh-nx { background: rgba(255,255,255,0.07); }
:root[data-theme="dark"] .dh-nx-ic { background: #1a1a1a; }
:root[data-theme="dark"] .dh-ask { background: rgba(255,255,255,0.1); }
:root[data-theme="dark"] .dh-lvl i { background: #262930; }
:root[data-theme="dark"] .ap-chips a { background: #1a1a1a; }
:root[data-theme="dark"] .ap-chips a.on { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="dark"] .ap-chips b { background: #1a1e27; color: #d3d6dc; }
:root[data-theme="dark"] .ap-chips a.on b { background: rgba(255,255,255,0.2); }
:root[data-theme="dark"] .ap-r { background: #181a22; }
:root[data-theme="dark"] .ap-note { background: #1a1a1a; color: #c6c9ce; }
:root[data-theme="dark"] .ap-r:hover { background: #191d27; }
:root[data-theme="dark"] .ap-dnote { background: #181a22; }
:root[data-theme="dark"] .ap-dnote p { color: #cdd0d5; }
:root[data-theme="dark"] .ap-dnote.ai { background: #220d2d; }
:root[data-theme="dark"] .ck { background: #1a1a1a; }
:root[data-theme="dark"] .ck kbd, :root[data-theme="dark"] .ck-foot kbd { background: #181a22; }
:root[data-theme="dark"] .ck-tabs button { background: #1a1a1a; }
:root[data-theme="dark"] .ck-tabs button.on { color: #111318; }
:root[data-theme="dark"] .ck-list button.on { background: #171b26; }
:root[data-theme="dark"] .ck-i { background: #1a1d25; }
:root[data-theme="dark"] .ck-list button.on .ck-i { background: #0e1631; }
:root[data-theme="dark"] .ck-foot { background: #151922; }
:root[data-theme="dark"] .inv-st button { background: #1a1a1a; }
:root[data-theme="dark"] .inv-st button.on { color: #111318; }
:root[data-theme="dark"] .inv-st button.on b { color: #111318; }
:root[data-theme="dark"] .scanf { background: #1a1a1a; }
:root[data-theme="dark"] .rcv-k { background: #1a1a1a; }
:root[data-theme="dark"] .rcv-k .ki { background: #0e1631; }
:root[data-theme="dark"] .rcv-k .ki.green { background: #1a2e21; }
:root[data-theme="dark"] .rcv-scan { background: #1a1a1a; }
:root[data-theme="dark"] .rc { background: #1a1a1a; }
:root[data-theme="dark"] .ci-l { background: #191b22; }
:root[data-theme="dark"] .ci-l.full { background: #1a2b21; }
:root[data-theme="dark"] .ci-l.part { background: #31240e; }
:root[data-theme="dark"] .ci-l.flash { background: #0f1935; }
:root[data-theme="dark"] .ci-c { background: #1a1a1a; }
:root[data-theme="dark"] .ci-step { background: #1a1a1a; }
:root[data-theme="dark"] .im-k .low { background: #30210e; }
:root[data-theme="dark"] .msheet { background: #1a1a1a; }
:root[data-theme="dark"] .ms-grab { background: #272a31; }
:root[data-theme="dark"] .ms-it:active, :root[data-theme="dark"] .ms-it.on { background: #1a1d25; }
:root[data-theme="dark"] .ms-ic { background: #171b25; }
:root[data-theme="dark"] .ms-it.on .ms-ic { background: #0e1631; }
:root[data-theme="dark"] .ms-n { color: #111318; }
:root[data-theme="dark"] .ms-tabs { background: #151922; }
:root[data-theme="dark"] .ms-tabs button.on { background: #1a1a1a; }
:root[data-theme="dark"] .ms-cust { background: #1a1a1a; }
:root[data-theme="dark"] .tb-prev { background: #171923; }
:root[data-theme="dark"] .tb-prev span.p { background: var(--dark, #e1e4ea); color: #111318; }
:root[data-theme="dark"] .tb-row select { background: #1a1a1a; }
:root[data-theme="dark"] .ag-due .chip.on { background: #0e172f; }
:root[data-theme="dark"] .ag-desc { background: #171923; }
:root[data-theme="dark"] .ag-desc:hover { background: #1a1d26; }
:root[data-theme="dark"] .dw-btn.on { background: var(--dark, #e1e4ea); color: #111318; }
:root[data-theme="dark"] .dgrid.editing .dwg { outline: 2px dashed #232939; }
:root[data-theme="dark"] .dw-tools { background: rgba(26,26,26,0.96); }
:root[data-theme="dark"] .dw-tools button:hover { background: #1a1d25; }
:root[data-theme="dark"] .dw-tools .dw-size { background: #1a1d25; }
:root[data-theme="dark"] .dw-rs { background: #1a1a1a; border: 1px solid #262d41; }
:root[data-theme="dark"] .dw-bar { border: 1px solid #181e31; }
:root[data-theme="dark"] .dw-off .chip { border: 1px dashed #262d41; background: #0c142b; }
:root[data-theme="dark"] .ag-right { background: #171923; }
:root[data-theme="dark"] .ag-head { background: linear-gradient(180deg, #0c142b 0%, #1a1a1a 100%); }
:root[data-theme="dark"] .ag-cols { background: #191b23; }
:root[data-theme="dark"] .ag-paper { background: #1a1a1a; }
:root[data-theme="dark"] .ag-mini { background: #1a1a1a; }
:root[data-theme="dark"] .ag-left .ag-paper textarea { background-image: repeating-linear-gradient(180deg, transparent 0, transparent 23px, #1c1e24 23px, #1c1e24 24px); }
:root[data-theme="dark"] .ag-card { background: #1a1a1a; }
:root[data-theme="dark"] .ag-est { background: #191b23; }
:root[data-theme="dark"] .ag-prio button[data-v=bassa] .si { background: #1b1f26; color: #b0b5bf; }
:root[data-theme="dark"] .ag-prio button[data-v=alta] .si { background: #321e0f; }
:root[data-theme="dark"] .ag-prio button[data-v=urgente] .si { background: #2d1111; }
:root[data-theme="dark"] .ag-sumc { background: #191b23; }
:root[data-theme="dark"] .ag-ord { background: linear-gradient(180deg, var(--accent-2), #1a1a1a 70%); }
:root[data-theme="dark"] .ag-ordsteps span { background: #1a1a1a; }
:root[data-theme="dark"] .ag-ordpo { background: #1a1a1a; }
:root[data-theme="dark"] .lang-pick { border: 1px solid var(--line, #232529); }
:root[data-theme="dark"] .rl-lang { background: #1a1a1a; color: #afb5c0; }
:root[data-theme="dark"] .rl-lang.tmp { color: #ffbc5c; background: #30210e; }
:root[data-theme="dark"] .lang-pop { background: #1a1a1a; }
:root[data-theme="dark"] .lang-pop .lp-code { background: #1a1d25; color: #afb5c0; }
:root[data-theme="dark"] .lang-pop .co-it.on .lp-code { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="dark"] .lang-pop .ub-lnote { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="dark"] .ub-lnote.tmp { color: #ffbc5c; }
:root[data-theme="dark"] .rv-item { background: #131725; }
:root[data-theme="dark"] .rv-item:hover { background: #0e152f; }
:root[data-theme="dark"] .rv-warn { background: #30210e; color: #ffbc5c; border: 1px solid #442f14; }
:root[data-theme="dark"] .rv-flag { background: #2d1111; }
:root[data-theme="dark"] .rv-flag.soft { background: #1e2125; color: #afb5c0; }
:root[data-theme="dark"] .rv-done { background: #1a2b22; color: #7edda9; }
:root[data-theme="dark"] .rv-bad-box { background: #2d1111; color: #e67575; }
:root[data-theme="dark"] body.nav-v2 .rail { background: #1a1a1a; }
:root[data-theme="dark"] body.nav-v2 .rl-b { color: #b1b5be; }
:root[data-theme="dark"] body.nav-v2 .rl-b > span { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="dark"] body.nav-v2 .rl-b:hover { background: #1a1d25; }
:root[data-theme="dark"] body.nav-v2 .rl-b.on { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="dark"] .ag-mail-p { background: #1c1d22; }
:root[data-theme="dark"] .ag-mail-ph { background: #1a1a1a; }
:root[data-theme="dark"] .ag-pp-sum { background: linear-gradient(135deg, var(--accent-2), #1a1a1a); }
:root[data-theme="dark"] .ag-pp-row.late { border-color: #451e1e; background: #2b0c0c; }
:root[data-theme="dark"] .ag-pp-un { background: #2f200e; }
:root[data-theme="dark"] .co-dot.co-g { background: var(--dark, #e2e5e9); }
:root[data-theme="dark"] .co-pop { background: #1a1a1a; }
:root[data-theme="dark"] .co-pop::before { background: #1a1a1a; }
:root[data-theme="dark"] .co-it:hover { background: #1c1d22; }
:root[data-theme="dark"] .co-it.on { background: var(--accent-2, #0e152f); }
:root[data-theme="dark"] .co-man { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="dark"] .lg-grid { background-image: linear-gradient(rgba(26,26,26,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,26,0.5) 1px, transparent 1px); }
:root[data-theme="dark"] .lg-chips span { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); }
:root[data-theme="dark"] .lg2 .login-card .lg-in input { background: #1a1a1a; }
:root[data-theme="dark"] .lg-eye:hover { background: #1d1f23; }
@media (max-width: 900px) {
  :root[data-theme="dark"] .lg-side { background: radial-gradient(60% 40% at 0% 0%, #16203d 0%, transparent 70%), radial-gradient(50% 40% at 100% 100%, #3f1928 0%, transparent 70%), var(--bg); }
}
:root[data-theme="dark"] .ic-hero { background: radial-gradient(70% 120% at 100% 0%, #160f33 0%, transparent 60%), radial-gradient(60% 120% at 0% 100%, #0f1a35 0%, transparent 60%), #1a1a1a; }
:root[data-theme="dark"] .ic-search { background: #1a1a1a; }
:root[data-theme="dark"] .ic-chips button { background: #1a1a1a; }
:root[data-theme="dark"] .ic-chips button.on { background: var(--dark, #e2e5e9); border-color: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="dark"] .ic-card { background: #1a1a1a; }
:root[data-theme="dark"] .ic-foot { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="dark"] .ic-st { background: #1c1f26; color: #afb5c0; }
:root[data-theme="dark"] .ic-st.ok { background: #1a2b22; color: #7ddea6; }
:root[data-theme="dark"] .ic-st.warn { background: #33230f; color: #f7a364; }
:root[data-theme="dark"] .ic-st.in { background: #0e152f; }
:root[data-theme="dark"] .ic-st.soon { border: 1px dashed #30333a; color: #b0b4bf; }
:root[data-theme="dark"] .ic-card.soon .ic-ico { background: #1e2026; color: #b0b4bf; }
:root[data-theme="dark"] .ic-ev { background: #1a1d21; }
:root[data-theme="dark"] .ic-more { border: 1px dashed #30333a; }
:root[data-theme="dark"] .dom-dot { background: #1b1e26; }
:root[data-theme="dark"] .dom-p { background: #0e152f; }
:root[data-theme="dark"] .dom-p-portal { background: #1c112e; }
:root[data-theme="dark"] .dom-p-offers { background: #1a2b22; }
:root[data-theme="dark"] .dom-sel { background: #1a1a1a; }
:root[data-theme="dark"] .dom-dot.ok { background: #1a2b22; }
:root[data-theme="dark"] .co-switch select { border: 1px solid var(--line, #24262a); background: #1a1a1a; }
:root[data-theme="dark"] .co-chip { background: color-mix(in srgb, var(--cc) 12%, #1a1a1a); }
:root[data-theme="dark"] .co-logo { color: #111318; background: linear-gradient(135deg, var(--cc), color-mix(in srgb, var(--cc) 60%, #e6e6e6)); }
:root[data-theme="dark"] .pdf-frame { background: #1b1d22; }
:root[data-theme="dark"] .lvseg button.inh.on { background: #1a1a1a; }
:root[data-theme="dark"] .lvseg button.ghost { background: rgba(26,26,26,0.55); }
:root[data-theme="dark"] .lvseg button.ghost.write { color: rgba(125,222,165,0.6); }
:root[data-theme="dark"] .plvl { background: #1a1d25; }
:root[data-theme="dark"] .plvl.read, :root[data-theme="dark"] .plvl.d-read { background: #0e1830; }
:root[data-theme="dark"] .plvl.write, :root[data-theme="dark"] .plvl.d-write { background: #1b2b21; color: #7ddea5; }
:root[data-theme="dark"] .plvl.d-none { background: #2e1311; }
:root[data-theme="dark"] .dg-seg button.on.dv-write { color: #7ddea5; }
:root[data-theme="dark"] .uf-av-new { background: #191d27; }
:root[data-theme="dark"] .uf-sw i { background: #282b32; }
:root[data-theme="dark"] .uf-sw i::after { background: #1a1a1a; }
:root[data-theme="dark"] .uf-sec h4 i { background: #191d27; }
:root[data-theme="dark"] .uf-pwm { background: #1a1d25; }
:root[data-theme="dark"] .uf-pwm button.on { background: #1a1a1a; }
:root[data-theme="dark"] .mod-sum b small { color: var(--muted, #b3b6bc); }
:root[data-theme="dark"] .mod-ed { border: 1.5px solid var(--line, #212329); background: var(--card, #1a1a1a); }
:root[data-theme="dark"] .mod-ed small { color: var(--muted, #b3b6bc); }
:root[data-theme="dark"] .mod-ed.on { background: #0d142d; }
:root[data-theme="dark"] .mod-gh { color: var(--muted, #b3b6bc); }
:root[data-theme="dark"] .mod.nolic { background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(230,230,230,0.025) 8px 16px), var(--card, #1a1a1a); }
:root[data-theme="dark"] .mod-ic { background: #0d142d; }
:root[data-theme="dark"] .mod-req { color: var(--muted, #b3b6bc); }
:root[data-theme="dark"] .mod-sw i { background: #2b2d32; }
:root[data-theme="dark"] .mod-sw i::after { background: #1a1a1a; }
:root[data-theme="dark"] .dw-btn.on { background: var(--dark, #e1e4ea); color: #111318; }
:root[data-theme="dark"] .dgrid.editing .dwg { outline: 2px dashed #232939; }
:root[data-theme="dark"] .dw-tools { background: #1a1a1a; }
:root[data-theme="dark"] .dw-tools button { background: #1a1d25; }
:root[data-theme="dark"] .dw-bar { border: 1px solid #181e31; }
:root[data-theme="dark"] .dw-off .chip { border: 1px dashed #262d41; background: #0c142b; }
:root[data-theme="dark"] .rk.k-noleggio { background: #1a2b22; color: #7ddea5; }
:root[data-theme="dark"] .rk.k-prova { background: #1c112e; }
:root[data-theme="dark"] .rk-kpis .rk-kpi:hover { border-color: #272a31; }
:root[data-theme="dark"] .rk-pick button { background: #1a1a1a; }
:root[data-theme="dark"] .rk-pick button.on { background: #0c142b; }
:root[data-theme="dark"] .rc-opts button { background: #1a1a1a; }
:root[data-theme="dark"] .rc-opts button i { background: #1a2b22; }
:root[data-theme="dark"] .rc-opts button.on { background: #0c142b; }
:root[data-theme="dark"] .rc-warn { background: #30200e; color: #ffab5c; }
:root[data-theme="dark"] .otf-pick button { background: #1a1a1a; }
:root[data-theme="dark"] .otf-pick button.on { background: #0c142b; }
:root[data-theme="dark"] .otf-par input, :root[data-theme="dark"] .otf-par select { background: #1a1a1a; }
:root[data-theme="dark"] .otf-sum > div { background: #1a1a1a; }
:root[data-theme="dark"] .dbr { background: #1a1a1a; }
:root[data-theme="dark"] .dbr-r select, :root[data-theme="dark"] .dbr-r input { background: #1a1a1a; }
:root[data-theme="dark"] .otf-ls-g div { background: #1a1a1a; }
:root[data-theme="dark"] .ra-ok > .lu { color: #6eedb3; }
:root[data-theme="dark"] .rp-grid .x { background: rgba(230,230,230,0.55); color: #111318; }
:root[data-theme="dark"] .mail-img { background: #372f10; }
:root[data-theme="dark"] .mail-body iframe { background: #1a1a1a; }
:root[data-theme="dark"] .mail-warn { background: #2e100d; border: 1px solid #401d1b; }
:root[data-theme="dark"] .sig-mailmock { background: #1a1a1a; }
:root[data-theme="dark"] .sig-mailtxt { color: #d8dbe2; }
:root[data-theme="dark"] #mSideBody select { background: #1a1a1a; }
:root[data-theme="dark"] .sg-warn { background: #2e100d; color: #f86274; }
:root[data-theme="dark"] .sg-mode { border-top: 1px solid var(--line, #20232a); }
:root[data-theme="dark"] .sg-mode #qReason { border: 1px solid var(--line, #24272d); }
:root[data-theme="dark"] .ag-mail-p { border: 1px solid var(--line, #212329); background: #1c1d22; }
:root[data-theme="dark"] .ag-mail-ph { background: #1a1a1a; border-bottom: 1px solid var(--line, #212329); }
:root[data-theme="dark"] .note.ok { background: #1a2b22; color: #7bdfa3; }
:root[data-theme="dark"] .inb-prev img { background: #1a1a1a; }
:root[data-theme="dark"] .inb-checks .chk.warn { background: #321e0f; color: #ffb45c; }
:root[data-theme="dark"] .inb-checks .chk.bad { background: #2d1111; }
:root[data-theme="dark"] .inb-pg { border: 2px solid var(--line, #232529); background: var(--card, #1a1a1a); }
:root[data-theme="dark"] .inb-pg img { border: 1px solid var(--line, #232529); }
:root[data-theme="dark"] .rv-banner { color: #111318; }
:root[data-theme="dark"] .rv-stats span { background: rgba(255,255,255,0.08); }
:root[data-theme="dark"] .rv-ck { background: #1a1a1a; }
:root[data-theme="dark"] .rv-q { background: #323337 !important; }
:root[data-theme="dark"] .rv-date.warn { background: #32230f; border-color: #422f15; color: #f7a364; }
:root[data-theme="dark"] .rv-foot { color: #111318; }
:root[data-theme="dark"] .rv-steps .now b { color: #111318; }
:root[data-theme="dark"] .rv-tone button.on { background: #1a1a1a; }
:root[data-theme="dark"] .ph-q.bad { background: #2f1111; }
:root[data-theme="dark"] .ph-feat { background: linear-gradient(160deg, #0e132f 0%, #1a1a1a 55%); }
:root[data-theme="dark"] .ph-num { background: #1a1a1a; }
:root[data-theme="dark"] .ph-sent span.on.positivo { background: #1a2e21; }
:root[data-theme="dark"] .ph-sent span.on.neutro { background: #1b1f26; }
:root[data-theme="dark"] .ph-sent span.on.negativo { background: #2f1111; }
:root[data-theme="dark"] .ph-tl-bar { background: linear-gradient(90deg, var(--accent-2), #161a25); }
:root[data-theme="dark"] .ph-d.up { background: #1a2e21; }
:root[data-theme="dark"] .ph-d.down { background: #2f1111; }
:root[data-theme="dark"] .ph-sbar .neu { background: #2c3038; }
:root[data-theme="dark"] :where(input:not([type=checkbox], [type=radio], [type=range], [type=color], [type=file], [type=submit], [type=button], [type=reset], [type=hidden], [type=image]), select, textarea) { background-color: #1a1a1a; }
:root[data-theme="dark"] .dom-l { background: #33230f; color: #f6a764; }
:root[data-theme="dark"] .ca-mini div { background: var(--bg-soft, #1c1e21); }
:root[data-theme="dark"] .ls-loc { background: var(--card, #1a1a1a); }
:root[data-theme="dark"] .ls-pk { background: var(--bg-soft, #181c26); }
:root[data-theme="dark"] .ls-reg { color: var(--warn, #ffbd5c); }
:root[data-theme="dark"] .ls-trk-h div { background: var(--bg-soft, #1c1e21); }
:root[data-theme="dark"] .ls-tl i { border: 2px solid #1a1a1a; }
:root[data-theme="dark"] .vendor-logo.vendor-name { color: #cfd1d5; }
:root[data-theme="dark"] .ic-ico.vendor { background: #1a1a1a; }
:root[data-theme="dark"] .ic-card.soon .ic-ico.vendor { background: #1a1a1a; }
:root[data-theme="dark"] img.sso-ico.vendor-logo { background: #1a1a1a; }
:root[data-theme="dark"] .mod-vendors { background: #1a1a1a; }
:root[data-theme="dark"] .int-ico.vendor-chip { background: #1a1a1a; }
:root[data-theme="dark"] .int-card .int-ico.ic-ico.vendor { background: #1a1a1a; }
:root[data-theme="dark"] .badge.lsc { background: #30170e; color: #f29f68; }
:root[data-theme="dark"] .as-dup { background: #2f200e; }
:root[data-theme="dark"] .as-op, :root[data-theme="dark"] .as-acc { background: linear-gradient(180deg, #0d192c 0%, #1a1a1a 70%); }
:root[data-theme="dark"] .op-vt select, :root[data-theme="dark"] .op-it select { background: #1a1a1a; }
:root[data-theme="dark"] .ls-shot { border: 2px dashed #142945; background: linear-gradient(180deg, #0d1c2d 0%, #1a1a1a 100%); }
:root[data-theme="dark"] .ls-card { background: #1a1a1a; }
:root[data-theme="dark"] .ls-codes input, :root[data-theme="dark"] .ls-codes select { background: #1a1a1a; }
:root[data-theme="dark"] .op-vrow select { background: #1a1a1a; }
:root[data-theme="dark"] .dv-warn { background: #33230f; color: #ffb45c; }
:root[data-theme="dark"] .dv-frame { background: #1a1a1a; }
:root[data-theme="dark"] .rv-cli.confermato .rv-cli-i { background: #1a2b22; }
:root[data-theme="dark"] .rv-cli.correzione .rv-cli-i { background: #2d1111; }
:root[data-theme="dark"] .rv-cli-n { background: #32270f; }
:root[data-theme="dark"] .sv-list tr.sv-g .si { background: #0e132f; }
:root[data-theme="dark"] .kbb-ed { background: #1a1a1a; }
:root[data-theme="dark"] .kbb-add:hover, :root[data-theme="dark"] .kbb-drag:hover, :root[data-theme="dark"] .kbb-del:hover { background: #1c1e24; color: #d9d9d9; }
:root[data-theme="dark"] .t-ol .kbb-tx::before { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .t-ul .kbb-tx::before { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .t-note .kbb-tx, :root[data-theme="dark"] .kb-note { background: #32280f; }
:root[data-theme="dark"] .kbb-drop { border: 1.5px dashed #2b2e35; background: #181c20; }
:root[data-theme="dark"] .kbb-drop.on { background: #0d152d; }
:root[data-theme="dark"] .kbb-cap { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .kbb-cap:focus { border-bottom-color: #2b2e35; }
:root[data-theme="dark"] .kbb-menu { background: #1a1a1a; }
:root[data-theme="dark"] .kbb-menu button:hover { background: #1a1c23; }
:root[data-theme="dark"] .kbb-menu .ic { color: #cbcbcb; }
:root[data-theme="dark"] .kbb-menu small { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .kb-fig img, :root[data-theme="dark"] .kb-fig video { border: 1px solid var(--line, #232529); }
:root[data-theme="dark"] .kb-fig figcaption { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .kb-vid { background: #e6e6e6; }
:root[data-theme="dark"] .lp-step .dot { background: #1e2125; }
:root[data-theme="dark"] .lp-step.on { background: var(--accent-2, #0e152f); }
:root[data-theme="dark"] .li-chip { background: #1a1a1a; }
:root[data-theme="dark"] .pn-x { color: var(--muted, #aeb4c1); }
:root[data-theme="dark"] .pn-warn { background: #352a0f; color: #ffcf5c; }
:root[data-theme="dark"] .zr .zx-list { background: var(--card, #1a1a1a); }
:root[data-theme="dark"] .acct-card { border: 1px solid var(--line, #232529); }
:root[data-theme="dark"] .acct-card small { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .acct-addr { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .acct-sug { border-top: 1px dashed var(--line, #232529); }
:root[data-theme="dark"] .acct-sug > small { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .lc-tabs .seg { background: var(--soft, #1b1e24); }
:root[data-theme="dark"] .lc-tabs .seg button.on { background: #1a1a1a; }
:root[data-theme="dark"] .cp-ico { background: var(--soft, #1b1e24); }
:root[data-theme="dark"] .cp-url code { background: var(--soft, #1b1e24); }
/* da ui.css */
:root[data-theme="dark"] .switch > i { background: #282a2f; }
:root[data-theme="dark"] .switch > i::after { background: #1a1a1a; }
:root[data-theme="dark"] .alert.info { color: #7a93e1; }
:root[data-theme="dark"] .alert.ok { color: #7bdfa3; }
:root[data-theme="dark"] .alert.warn { color: #ffa45c; }
:root[data-theme="dark"] .alert.bad { color: #e67578; }
:root[data-theme="dark"] .alert.ai { color: #a67edd; }
:root[data-theme="dark"] .pu-pop { background: #1a1a1a; }
:root[data-theme="dark"] .pu-pop .pu-q { background: #1a1a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c818c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 10px center / 14px 14px; }
:root[data-theme="dark"] .uil-toc a { color: #cfd1d4; }
:root[data-theme="dark"] .uil-toc a:hover { background: #1a1a1a; }
:root[data-theme="dark"] .uil-code { background: #181b21; color: #cfd1d4; }
:root[data-theme="dark"] .uil-sw div { background: #1a1a1a; }
:root[data-theme="dark"] .uil-ic div { background: #1a1a1a; }
/* da portal.css */
:root[data-theme="dark"] .p-top { background: rgba(26,26,26,0.92); }
:root[data-theme="dark"] .p-card { background: #1a1a1a; }
:root[data-theme="dark"] .p-tags > span:not(.tier) { background: rgba(255,255,255,0.18); }
:root[data-theme="dark"] .p-kpi { background: #1a1a1a; }
:root[data-theme="dark"] .warnt { color: #f7a364; }
:root[data-theme="dark"] .p-msg.res { background: #1a2b22; }
:root[data-theme="dark"] .p-tier { background: #1a1a1a; }
:root[data-theme="dark"] .p-login { background: linear-gradient(130deg, #0e132f, #180d2d); }
:root[data-theme="dark"] .p-err { background: #2d1111; }
:root[data-theme="dark"] .p-dev { background: #352b0f; }
:root[data-theme="dark"] .p-qr-img { background: #1a1a1a; }
:root[data-theme="dark"] .p-check { color: #111318; }
:root[data-theme="dark"] .p-qinfo { background: #171923; }
:root[data-theme="dark"] .as-in .as-lv { background: #1a1a1a; }
:root[data-theme="dark"] .as-chips button:hover { background: #1a1a1a; }
:root[data-theme="dark"] .as-src a { background: #1a1a1a; }
:root[data-theme="dark"] .btn.ok { color: #70ebad; }
:root[data-theme="dark"] .kb-cats button { background: #1a1a1a; }
:root[data-theme="dark"] .kb-cats button.on { color: #111318; }
:root[data-theme="dark"] .as-drawer { background: #1a1a1a; }
:root[data-theme="dark"] .p-ro { background: #32270f; }
:root[data-theme="dark"] .p-ro b { color: #ffc65c; }
:root[data-theme="dark"] .d-tabs { background: #202227; }
:root[data-theme="dark"] .d-tabs button.on { background: #1a1a1a; }
:root[data-theme="dark"] .d-ico.lg { background: rgba(255,255,255,0.2); }
:root[data-theme="dark"] .d-logo { background: #1a1a1a; }
:root[data-theme="dark"] .d-bar { background: #1c1f26; }
:root[data-theme="dark"] .p-ubtn { background: #1a1a1a; }
:root[data-theme="dark"] .p-ubtn.p-out:hover { background: #2d1111; }
:root[data-theme="dark"] .p-rqdot { background: #2d3038; }
:root[data-theme="dark"] .p-msg.rej { background: #2d1111; }
:root[data-theme="dark"] .p-note-ok { background: #31240e; }
:root[data-theme="dark"] .p-note-ok svg.lu { color: #f7a364; }
:root[data-theme="dark"] .p-acc-hero { background: linear-gradient(130deg, #0e132f, #1a0d2e); }
:root[data-theme="dark"] .p-chip { background: #1a1a1a; }
:root[data-theme="dark"] .p-acc-hero .p-tags > .p-chip { background: #1a1a1a; }
:root[data-theme="dark"] .p-pwrules li.ok { background: #1a2c21; }
:root[data-theme="dark"] .p-legal { background: #131725; }
:root[data-theme="dark"] .p-decl span { background: #31240e; }
:root[data-theme="dark"] .p-nav { background: rgba(26,26,26,0.62); border: 1px solid rgba(26,26,26,0.85); }
:root[data-theme="dark"] .p-nav a { color: #cbcdd4; }
:root[data-theme="dark"] .p-nav a:hover { background: rgba(26,26,26,0.7); }
:root[data-theme="dark"] .p-nav a.on { background: #1a1a1a; }
:root[data-theme="dark"] .p-ubtn { background: rgba(26,26,26,0.62); border-color: rgba(26,26,26,0.85); }
@media (max-width: 900px) {
  :root[data-theme="dark"] .p-nav { background: rgba(26,26,26,0.82); }
}
:root[data-theme="dark"] .p-tile { background: #1a1a1a; }
:root[data-theme="dark"] .p-tile-s { background: #1a2b22; color: #7ddea6; }
:root[data-theme="dark"] .p-tile.off .p-tile-i { background: #1e2026; }
:root[data-theme="dark"] .p-note.warn { background: #32270f; }
:root[data-theme="dark"] .p-more-menu { background: rgba(26,26,26,0.96); }
:root[data-theme="dark"] .p-more-menu a { color: #cbcdd4; }
:root[data-theme="dark"] .p-decide { border-color: color-mix(in srgb, var(--accent, #1b43fe) 30%, var(--line, #24262a)); }
:root[data-theme="dark"] .p-or::before, :root[data-theme="dark"] .p-or::after { background: var(--line, #232529); }
:root[data-theme="dark"] .kb-note { background: #32280f; }
:root[data-theme="dark"] .kb-fig img, :root[data-theme="dark"] .kb-fig video { border: 1px solid var(--line, #232529); }
:root[data-theme="dark"] .kb-fig figcaption { color: var(--muted, #b1b5be); }
:root[data-theme="dark"] .kb-vid { background: #e6e6e6; }
:root[data-theme="dark"] .p-sede { border-top: 1px solid var(--line-2, #1c1f26); }
/* da app-anydesk.js */
:root[data-theme="dark"] .rad-kpi { background: var(--card,#1a1a1a); }
:root[data-theme="dark"] .rad-tabs button { background: #1a1a1a; }
:root[data-theme="dark"] .rad-tabs button.on { background: #e2e5e9; color: #111318; border-color: #e2e5e9; }
/* da app-brand.js */
:root[data-theme="dark"] .br-color { background: #1a1a1a; }
:root[data-theme="dark"] .br-prev { background: #1d1e22; }
:root[data-theme="dark"] .br-prev-top { background: #1a1a1a; }
:root[data-theme="dark"] .br-asset { background: #1a1a1a; }
:root[data-theme="dark"] .br-phone { background: #e2e5e9; }
:root[data-theme="dark"] .br-app i { background: rgba(26,26,26,0.35); }
:root[data-theme="dark"] .sd-card { background: #1a1a1a; }
/* da app-import.js */
:root[data-theme="dark"] .imp-steps span i { background: #1a1a1a; }
:root[data-theme="dark"] .imp-steps span.done { background: #1a2b22; }
:root[data-theme="dark"] .imp-card { background: var(--card,#1a1a1a); }
:root[data-theme="dark"] .imp-ic { background: #0e132f; }
:root[data-theme="dark"] .imp-drop:hover, :root[data-theme="dark"] .imp-drop.over { background: #0d132c; }
:root[data-theme="dark"] .imp-drop b { color: var(--text,#e6e6e6); }
:root[data-theme="dark"] .imp-kpi { background: var(--card,#1a1a1a); }
:root[data-theme="dark"] .imp-kpi.new { background: linear-gradient(135deg,#17281e,#1a1a1a); }
:root[data-theme="dark"] .imp-kpi.dup { background: linear-gradient(135deg,#301e0e,#1a1a1a); }
:root[data-theme="dark"] .imp-kpi.err { background: linear-gradient(135deg,#2c1111,#1a1a1a); }
/* da app-kiosk.js */
:root[data-theme="dark"] .kio-card { background: var(--card,#1a1a1a); }
:root[data-theme="dark"] .kio-ic { background: #0e132f; }
:root[data-theme="dark"] .kio-qr .svg { background: #1a1a1a; }
/* da app-qrtags.js */
:root[data-theme="dark"] .qr-batch { background: var(--card,#1a1a1a); }
:root[data-theme="dark"] .qr-ic { background: #0e132f; }
:root[data-theme="dark"] .qr-bar { background: #0e132f; }
:root[data-theme="dark"] .qr-pick button { background: var(--card,#1a1a1a); }
:root[data-theme="dark"] .qr-video { background: #e6e6e6; }
/* da portal-wifi.js */
:root[data-theme="dark"] .wf-pw { background: #1c1d22; }
/* da unifi.js */
:root[data-theme="dark"] .rufi-kpi { background: var(--card,#1a1a1a); }
:root[data-theme="dark"] .rufi-strip i.na { background: #24262a; }
:root[data-theme="dark"] .rufi-map .n rect { fill: #1a1a1a; stroke: var(--line,#24262a); }
:root[data-theme="dark"] .rufi-map .n.offline rect { fill: #2b0d0d; }
:root[data-theme="dark"] .rufi-map .n text { fill: #e2e5e9; }
:root[data-theme="dark"] .rufi-pw { background: #1c1d22; }
:root[data-theme="dark"] .rufi-tabs button { background: #1a1a1a; }
:root[data-theme="dark"] .rufi-tabs button.on { background: #e2e5e9; color: #111318; border-color: #e2e5e9; }
/* da web.js */
:root[data-theme="dark"] .wb-strip i.na { background: #24262a; }
:root[data-theme="dark"] .wb-tok { background: #1c1d22; }
@media (prefers-color-scheme: dark) {
:root[data-theme="auto"] {
  --bg: #0f1115; --panel: #171a21; --nav: #13161c; --nav-active: #1e222b; --card: #171a21;
  --line: #2a2f3a; --line-2: #222630; --soft: #1d2129;
  --text: #e9ecf2; --muted: #9aa2b1; --faint: #5d6575;
  --dark: #e9ecf2; --accent-2: #1c2550; --field-ring: rgba(120,145,255,.28);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --dot-off: #1d2129; --dot-blue: #7b95ff; --dot-green: #5fd38d; --dot-orange: #ff9a56; --dot-violet: #b48cf2;
  color-scheme: dark;
  --field-line: #25272c; --field-hover: #303339; --field-off: #1a1d21; --t-ok: #1a2b22; --t-warn: #321e0f; --t-bad: #2d1111; --t-info: #0e1631; --t-ai: #1c112e;
}
:root[data-theme="auto"] body { background: var(--bg); color: var(--text); }
/* da styles.css */
:root[data-theme="auto"] .nav a { color: #cfd1d4; }
:root[data-theme="auto"] .nav a:hover { background: #1e1f23; }
:root[data-theme="auto"] .nav a .count { color: #111318; }
:root[data-theme="auto"] .usercard { background: #1a1a1a; }
:root[data-theme="auto"] .btn.primary, :root[data-theme="auto"] .btn.dark { color: #111318; }
:root[data-theme="auto"] .kpi .ic.orange { background: #321e0f; }
:root[data-theme="auto"] .kpi .ic.green { background: #1a2b22; }
:root[data-theme="auto"] .kpi .ic.violet { background: #1c112e; }
:root[data-theme="auto"] .kpi .ic.red { background: #2d1111; }
:root[data-theme="auto"] .badge.P1 { background: #2d1111; }
:root[data-theme="auto"] .badge.P2 { background: #321e0f; }
:root[data-theme="auto"] .badge.P3 { background: #332b12; color: #ffd35c; }
:root[data-theme="auto"] .badge.P4 { background: #1e2125; color: #afb5c0; }
:root[data-theme="auto"] .badge.ok { background: #1a2b22; }
:root[data-theme="auto"] .badge.warn { background: #321e0f; }
:root[data-theme="auto"] .badge.bad { background: #2d1111; }
:root[data-theme="auto"] .badge.ai { background: #1c112e; }
:root[data-theme="auto"] .badge.type { background: #1e2125; color: #c8cace; }
:root[data-theme="auto"] .field input, :root[data-theme="auto"] .field select, :root[data-theme="auto"] .field textarea { background: #1a1a1a; }
:root[data-theme="auto"] .sla.ok { background: #1a2b22; }
:root[data-theme="auto"] .sla.warn { background: #321e0f; }
:root[data-theme="auto"] .msg { background: #1a1a1a; }
:root[data-theme="auto"] .aibox { border: 1px solid #201435; background: linear-gradient(180deg, #1a0d2b, #1a1a1a); }
:root[data-theme="auto"] .tabs { background: #222327; }
:root[data-theme="auto"] .tabs a { color: #c8c9cc; }
:root[data-theme="auto"] .sb-dots i { background: var(--line, #232428); }
:root[data-theme="auto"] .dotgrid i { background: var(--line, #232428); }
:root[data-theme="auto"] .stage-empty { border: 1px dashed var(--line, #232428); }
:root[data-theme="auto"] .stage-empty-dots i { background: var(--line, #232428); }
:root[data-theme="auto"] .grad .chip { background: rgba(255,255,255,0.22); border: 1px solid rgba(26,26,26,0.35); }
:root[data-theme="auto"] .grad .chip .dot { background: #1a1a1a; }
:root[data-theme="auto"] .pills a { color: #c8c9cc; }
:root[data-theme="auto"] .pills a.active { color: #111318; }
:root[data-theme="auto"] .agent-card form { background: #1a1a1a; }
:root[data-theme="auto"] .agent-card form button { color: #111318; }
:root[data-theme="auto"] .vtabs a.active { color: #111318; }
:root[data-theme="auto"] .vtabs a.active b { background: rgba(255,255,255,0.2); }
:root[data-theme="auto"] .tl-item.sel { background: #0d152d; }
:root[data-theme="auto"] .bub.r-agent .text { background: #0e172f; }
:root[data-theme="auto"] .bub.r-note .text { background: #372f10; }
:root[data-theme="auto"] .bub.r-ai .text { background: #1a0d2e; }
:root[data-theme="auto"] .bub.r-lightspeed .text { background: #30170e; }
:root[data-theme="auto"] .bub.r-lightspeed_out .text { background: #2d190d; }
:root[data-theme="auto"] .suggested button { background: #1a1a1a; }
:root[data-theme="auto"] .suggested button.ai { border-color: #201435; background: #1a0d2b; }
:root[data-theme="auto"] .box.internal { background: #2d270d; }
:root[data-theme="auto"] .box.to-ls { background: #2b1a0d; }
:root[data-theme="auto"] .col { background: #222327; }
:root[data-theme="auto"] .col > h3 { color: #c8c9cc; }
:root[data-theme="auto"] .kcard { background: #1a1a1a; }
:root[data-theme="auto"] .score.hi { background: #1a2b22; }
:root[data-theme="auto"] .score.mid { background: #332b12; color: #ffd35c; }
:root[data-theme="auto"] .score.lo { background: #2d1111; }
:root[data-theme="auto"] .overlay { background: rgba(225,228,234,0.38); }
:root[data-theme="auto"] .modal { background: #1a1a1a; }
:root[data-theme="auto"] .agent header { background: #1a1a1a; }
:root[data-theme="auto"] .bubble.assistant { background: #1a1a1a; }
:root[data-theme="auto"] .bubble.assistant.err { border-color: #3c1a1b; background: #2b0d0d; }
:root[data-theme="auto"] .bubble .tools span { background: #1d132c; }
:root[data-theme="auto"] .suggest button { background: #1a1a1a; }
:root[data-theme="auto"] .suggest button:hover { border-color: #271b3c; }
:root[data-theme="auto"] .bee-comp { background: #1a1a1a; }
:root[data-theme="auto"] .bee-send { color: #111318; }
:root[data-theme="auto"] .bee-files.in .bee-file { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); }
:root[data-theme="auto"] .toast { color: #111318; }
:root[data-theme="auto"] .login-screen { background: radial-gradient(60% 60% at 15% 20%, #16203d 0%, transparent 60%), radial-gradient(50% 50% at 85% 80%, #3f1928 0%, transparent 60%), var(--bg); }
@media (max-width: 760px) {
  :root[data-theme="auto"] .tabbar { background: rgba(26,26,26,0.96); }
  :root[data-theme="auto"] .tabbar .plus { color: #111318; }
}
:root[data-theme="auto"] .nav a.active { background: #1f2126; }
:root[data-theme="auto"] .hello-strip span.today { color: rgba(17,19,24,0.7); }
:root[data-theme="auto"] .hello-strip span.today b { color: #111318; }
:root[data-theme="auto"] .agent-card .go { background: rgba(255,255,255,0.22); }
:root[data-theme="auto"] .rchip i { border: 1.5px solid #1a1a1a; }
:root[data-theme="auto"] .nt-side { background: #171923; }
:root[data-theme="auto"] .nt-search, :root[data-theme="auto"] .nt-other input, :root[data-theme="auto"] .nt-newc input { background: #1a1a1a; }
:root[data-theme="auto"] .nt-c { background: #1a1a1a; }
:root[data-theme="auto"] .nt-newc { background: #1a1a1a; }
:root[data-theme="auto"] .nt-prio { background: #171923; }
:root[data-theme="auto"] .nt-a { background: #1a1a1a; }
:root[data-theme="auto"] .nt-a .si { background: #0e132f; }
:root[data-theme="auto"] .nt-a.on { background: #0d142d; }
:root[data-theme="auto"] .seg { background: #1a1d25; }
:root[data-theme="auto"] .seg button:hover:not(:disabled) { background: rgba(26,26,26,0.6); }
:root[data-theme="auto"] .seg button.on { background: #1a1a1a; }
:root[data-theme="auto"] .meter i { background: #272a31; }
:root[data-theme="auto"] .caller { background: #171923; }
:root[data-theme="auto"] .caller .chan { background: #1a1a1a; }
:root[data-theme="auto"] .ws.has-sel .details .side-sec + .side-sec { border-top: 6px solid var(--bg, #1a1c23); }
:root[data-theme="auto"] .flow-chip { background: #1a1a1a; }
:root[data-theme="auto"] .fstep { background: #1a1a1a; }
:root[data-theme="auto"] .fstep .n { background: #0e132f; }
:root[data-theme="auto"] .prog { background: #1d1f27; }
:root[data-theme="auto"] .mk .i { background: #1a1d25; }
:root[data-theme="auto"] .fl-list a.on { background: #0d142d; }
:root[data-theme="auto"] .fl-list a:hover { background: #171923; }
:root[data-theme="auto"] .fe-ai form { background: #1a1a1a; }
:root[data-theme="auto"] .fe-ai form button { color: #111318; }
:root[data-theme="auto"] .fe-changes span { background: rgba(255,255,255,0.22); }
:root[data-theme="auto"] .fe-stage + .fe-stage::before { border-left: 2px dashed #2d3038; }
:root[data-theme="auto"] .fe-name:hover:not(:disabled), :root[data-theme="auto"] .fe-name:focus { background: #1a1a1a; }
:root[data-theme="auto"] .fe-top select { background: #1a1a1a; }
:root[data-theme="auto"] .task-chip { background: #1a1d25; }
:root[data-theme="auto"] .fe-add { background: #1a1a1a; }
:root[data-theme="auto"] .fe-new { border: 1.5px dashed #2d3038; }
:root[data-theme="auto"] .stepper button { background: #1a1d25; }
:root[data-theme="auto"] .stepper button .n { background: #1a1a1a; }
:root[data-theme="auto"] .stepper button.done { background: #1a2b21; color: #7ddea5; }
:root[data-theme="auto"] .pj-body aside { background: #171923; }
:root[data-theme="auto"] .pj-body aside .side-sec { border-color: #202229; }
:root[data-theme="auto"] .tgroup.cur { background: #0d142d; }
:root[data-theme="auto"] .addtask input, :root[data-theme="auto"] .addmat input { background: #1a1a1a; }
:root[data-theme="auto"] .mat { border-bottom: 1px solid #202229; }
:root[data-theme="auto"] .drop { border: 1.5px dashed #2d3038; }
:root[data-theme="auto"] .drop.over, :root[data-theme="auto"] .drop:hover { background: #0d142d; }
:root[data-theme="auto"] .tl + .tl::before { border-left: 2px solid #1d1f27; }
:root[data-theme="auto"] .ti { background: #1a1d25; }
:root[data-theme="auto"] .ti.k-chiamata { background: #1a2b21; }
:root[data-theme="auto"] .ti.k-email { background: #0e132f; }
:root[data-theme="auto"] .ti.k-meeting { background: #35260f; }
:root[data-theme="auto"] .ti.k-fase { background: #1d112d; }
:root[data-theme="auto"] .ti.k-allegato { background: #2d1116; }
:root[data-theme="auto"] .kb-ask form { background: #1a1a1a; }
:root[data-theme="auto"] .kb-ask form button { color: #111318; }
:root[data-theme="auto"] .kb-ex button { border: 1px solid rgba(26,26,26,0.4); background: rgba(255,255,255,0.18); }
:root[data-theme="auto"] .kb-answer { background: #1a1a1a; }
:root[data-theme="auto"] .kb-answer .src a { background: #0d142d; }
:root[data-theme="auto"] .md code { background: #1a1d25; }
:root[data-theme="auto"] .kb-stats .i { background: #0d142d; }
:root[data-theme="auto"] .kb-card { background: #1a1a1a; }
:root[data-theme="auto"] .kb-ico { background: #0d142d; }
:root[data-theme="auto"] .kb-ed-row select { background: #1a1a1a; }
:root[data-theme="auto"] .kb-gen-row select, :root[data-theme="auto"] .kb-gen-row input { background: #1a1a1a; }
:root[data-theme="auto"] .kb-gen-src { border-top: 1px solid #1f1430; }
:root[data-theme="auto"] .warn-t { color: #ffb65c; }
:root[data-theme="auto"] .kb-prev { background: #151922; }
:root[data-theme="auto"] .psteps .dot { background: #1a1a1a; border: 1.5px solid #272a31; }
:root[data-theme="auto"] .psteps .bar { background: #21242b; }
:root[data-theme="auto"] .conv-steps { background: #151922; }
:root[data-theme="auto"] .lead-steps { background: #171923; }
:root[data-theme="auto"] .period { background: #1a1a1a; }
:root[data-theme="auto"] .period a.active { color: #111318; }
:root[data-theme="auto"] input, :root[data-theme="auto"] textarea, :root[data-theme="auto"] select { background-color: #1a1a1a; }
:root[data-theme="auto"] .doc.click:hover, :root[data-theme="auto"] tr.click[data-doc]:hover { background: #0d132c; }
:root[data-theme="auto"] .docx-wrap > td { background: #131725; }
:root[data-theme="auto"] .docx { background: #131725; border: 1px solid #1b1e2b; }
:root[data-theme="auto"] .docx-lines { background: #1a1a1a; }
:root[data-theme="auto"] .docx-lines tr.tot td { border-top: 2px solid #1d212d; }
:root[data-theme="auto"] .docx-ex { background: linear-gradient(135deg, #0e152f, #180d2d); }
:root[data-theme="auto"] .docx-tot { background: #1a1a1a; }
:root[data-theme="auto"] .docx-tot > div.g { border-top: 2px solid #1d212d; }
@media (min-width: 861px) {
  :root[data-theme="auto"] .ws.has-sel .details { background: #121824; }
}
:root[data-theme="auto"] .mk.m-da_ordinare .i, :root[data-theme="auto"] .mi.m-da_ordinare { background: #2d1111; }
:root[data-theme="auto"] .mk.m-ordinato .i, :root[data-theme="auto"] .mi.m-ordinato { background: #35270f; color: #ffbf5c; }
:root[data-theme="auto"] .mk.m-arrivato .i, :root[data-theme="auto"] .mi.m-arrivato { background: #0e1731; }
:root[data-theme="auto"] .mk.m-consegnato .i, :root[data-theme="auto"] .mi.m-consegnato { background: #1a2c21; }
:root[data-theme="auto"] .mat-table .qty { background: #1a1d25; }
:root[data-theme="auto"] .chip { background: #1a1d25; }
:root[data-theme="auto"] .mtrack i { background: #21242b; }
:root[data-theme="auto"] .mtrack .md { border: 1.5px solid #22252d; background: #1a1a1a; }
:root[data-theme="auto"] .mlbl.m-ordinato { color: #ffbf5c; }
:root[data-theme="auto"] .cat-tree .ct span { background: #1a1d25; }
:root[data-theme="auto"] .cat-tree .ct.lv1 { color: #c8cacf; }
:root[data-theme="auto"] .cat-tree .ct:hover { background: #0d132c; }
:root[data-theme="auto"] .cat-tree .ct.on { background: #0e1731; }
:root[data-theme="auto"] .whc { background: #1a1d25; color: #c8cacf; }
:root[data-theme="auto"] .whc.in { background: #17102d; }
:root[data-theme="auto"] .mv { background: #1a1d25; }
:root[data-theme="auto"] .mv.k-carico { background: #1a2c21; }
:root[data-theme="auto"] .mv.k-scarico { background: #2d1111; }
:root[data-theme="auto"] .mv.k-trasferimento { background: #0e1731; }
:root[data-theme="auto"] .mv.k-rettifica { background: #35270f; color: #ffbf5c; }
:root[data-theme="auto"] .mbar { background: #1c1f26; }
:root[data-theme="auto"] .wh:hover { background: #131725; }
:root[data-theme="auto"] .whi { background: #0e1731; }
:root[data-theme="auto"] .whi.k-furgone { background: #35270f; color: #ffbf5c; }
:root[data-theme="auto"] .whi.k-presso-cliente { background: #1a2c21; }
:root[data-theme="auto"] .ph-head > div { background: #131725; }
:root[data-theme="auto"] .ph-chart { background: #1a1a1a; }
:root[data-theme="auto"] .ph-sup span { background: #1a1d25; }
:root[data-theme="auto"] .ph-sup .best { background: #1a2c21; }
:root[data-theme="auto"] .po-meta > div { background: #131725; }
:root[data-theme="auto"] .po-m tr.tot td { border-top: 2px solid #1d212d; }
:root[data-theme="auto"] .docx-mg { background: #1a1a1a; border: 1px solid #1b1e2b; }
:root[data-theme="auto"] .onb-intro { background: linear-gradient(135deg, #0e152f, #180d2d); }
:root[data-theme="auto"] .prod { background: #0e1731; }
:root[data-theme="auto"] .saved { background: #1a2c21; }
:root[data-theme="auto"] .pp { background: #1a1a1a; }
:root[data-theme="auto"] .pp.on { background: #0e1731; }
:root[data-theme="auto"] .pf { background: #131725; }
:root[data-theme="auto"] .pf.chained { background: #170d2d; }
:root[data-theme="auto"] .pf.click:hover { background: #0e152f; }
:root[data-theme="auto"] .pr.shared, :root[data-theme="auto"] .rq-row.shared { background: #0d142d; }
:root[data-theme="auto"] .ri { background: #1a1d25; }
:root[data-theme="auto"] .rs { background: #1a1a1a; }
:root[data-theme="auto"] .rl.s-richiesto { color: #ffbf5c; }
:root[data-theme="auto"] .rp { background: #1a1a1a; }
:root[data-theme="auto"] .rp.on { background: #0d142d; }
:root[data-theme="auto"] .inherit { background: linear-gradient(135deg, #0e152f, #180d2d); }
:root[data-theme="auto"] .pf-box { background: #131725; }
:root[data-theme="auto"] .inherit select { background: #1a1a1a; }
:root[data-theme="auto"] .bchip { background: #1a1d25; }
:root[data-theme="auto"] .bstats > * { background: #131725; }
:root[data-theme="auto"] .bstats a:hover { background: #0e152f; }
:root[data-theme="auto"] .fdd-it:hover { background: #141927; }
:root[data-theme="auto"] .ctr-side { background: #131725; }
:root[data-theme="auto"] .doc-cats a { background: #1a1a1a; }
:root[data-theme="auto"] .doc-cats a.on { color: #111318; }
:root[data-theme="auto"] .doc-cats a.on span { color: #111318; }
:root[data-theme="auto"] .dw { background: #30230e; }
:root[data-theme="auto"] .role-chip { background: #0e152f; color: #828fd9; }
:root[data-theme="auto"] .role-chip.r-admin { background: #e6e6e6; color: #111318; }
:root[data-theme="auto"] .role-chip.r-tecnico { background: #1a2b21; color: #7ddea5; }
:root[data-theme="auto"] .role-chip.r-commerciale { background: #35260f; color: #ffb75c; }
:root[data-theme="auto"] .role-chip.r-amministrazione { background: #1a0e30; }
:root[data-theme="auto"] .perm-mini { background: #131725; }
:root[data-theme="auto"] .pmi { background: #1a1a1a; }
:root[data-theme="auto"] .pmi.w { color: #7ddea5; }
:root[data-theme="auto"] .pmi.r { color: #828fd9; }
:root[data-theme="auto"] .lvseg { background: #1a1d25; }
:root[data-theme="auto"] .lvseg button.on { background: #1a1a1a; }
:root[data-theme="auto"] .lvseg button.on.write { color: #7ddea5; }
:root[data-theme="auto"] .plv { background: #e6e6e6; color: #111318; }
:root[data-theme="auto"] .tstats > div { background: #131725; }
:root[data-theme="auto"] .tfeat span { background: #1b1d22; }
:root[data-theme="auto"] .tfeat span.on { background: #1a2b21; color: #7ddea5; }
:root[data-theme="auto"] .feat-pick label.chk, :root[data-theme="auto"] .sso-card label.chk { background: #131725; }
:root[data-theme="auto"] .sso-ico.ms { background: #1a1a1a; }
:root[data-theme="auto"] .sso-ico.gg { background: #1a1a1a; }
:root[data-theme="auto"] .copy-row input { background: #131725; }
:root[data-theme="auto"] .sso-btn { background: #1a1a1a; }
:root[data-theme="auto"] .src-rec { background: linear-gradient(135deg, #1a271e, #16251a); }
:root[data-theme="auto"] .cu-hero { background: linear-gradient(120deg, #1a1a1a 0%, #1a1a1a 55%, #0e132f 100%); }
:root[data-theme="auto"] .cu-tags span { background: #1a1d25; }
:root[data-theme="auto"] .cu-tags .ok { color: #7ddea5; background: #1a2b21; }
:root[data-theme="auto"] .tier.t-gold { background: #392e11 !important; color: #ffcc5c !important; }
:root[data-theme="auto"] .tier.t-silver { background: #1b1f26 !important; color: #c7cace !important; }
:root[data-theme="auto"] .tier.t-bronze { background: #302014 !important; color: #e5a276 !important; }
:root[data-theme="auto"] .cu-prio span { background: #131725; }
:root[data-theme="auto"] .cu-prio .p-P1:not(.zero) { background: #2f1111; }
:root[data-theme="auto"] .cu-prio .p-P2:not(.zero) { background: #33200f; }
:root[data-theme="auto"] .cu-list > div { background: #131725; }
:root[data-theme="auto"] .cu-list b.warn { color: #ffab5c; }
:root[data-theme="auto"] .cu-split { background: #1a1d25; }
:root[data-theme="auto"] .cu-pj { background: #131725; }
:root[data-theme="auto"] .cu-pj:hover { background: #0e152f; }
:root[data-theme="auto"] .cu-tk a:hover { background: #141927; }
:root[data-theme="auto"] .cu-teams span { background: #1a1d25; }
:root[data-theme="auto"] .cu-tl i { background: #1a1a1a; }
:root[data-theme="auto"] .tier.t-bronze { background: linear-gradient(135deg, #302014, #3c2a1b) !important; color: #e8a273 !important; }
:root[data-theme="auto"] .tier.t-silver { background: linear-gradient(135deg, #1a1e23, #22262b) !important; color: #c7cace !important; }
:root[data-theme="auto"] .tier.t-gold { background: linear-gradient(135deg, #382e10, #534518) !important; color: #ffcb5c !important; }
:root[data-theme="auto"] .tier.t-platinum { background: linear-gradient(135deg, #1b222a, #262e39) !important; color: #8faccc !important; }
:root[data-theme="auto"] .cu-tags .cseg { background: color-mix(in srgb, var(--sc) 12%, #1a1a1a); color: color-mix(in srgb, var(--sc) 70%, #ededed); }
:root[data-theme="auto"] .cl-open { background: #2d1111; }
@media (min-width: 1281px) {
  :root[data-theme="auto"] .ws:not(.has-sel) .details { background: #121824; }
}
:root[data-theme="auto"] .int-miss { background: #31240e; color: #ffb85c; }
:root[data-theme="auto"] .int-step { background: #151824; }
:root[data-theme="auto"] .int-code { background: #1a1a1a; }
:root[data-theme="auto"] .int-legal { background: #0d162d; color: #caced7; }
:root[data-theme="auto"] .m365 { background: linear-gradient(135deg, #0e172f, #1a1a1a 55%); }
:root[data-theme="auto"] .m365-ico { background: #1a1a1a; }
:root[data-theme="auto"] .m365-how { color: #caced7; }
:root[data-theme="auto"] .call-hero { background: linear-gradient(135deg, #0e172f, #1a1a1a 60%); }
:root[data-theme="auto"] .call-hero.unknown { background: linear-gradient(135deg, #32230f, #1a1a1a 60%); }
:root[data-theme="auto"] .svc-al-r .i { background: #33230f; color: #f7a364; }
:root[data-theme="auto"] .svc-al-r.k-extra .i { background: #0e1631; }
:root[data-theme="auto"] .svc-al-r.k-scadenza .i { background: #2d1111; }
:root[data-theme="auto"] .rep-sig img { background: #1a1a1a; }
:root[data-theme="auto"] .sig-pad { background: #1a1a1a; }
:root[data-theme="auto"] .q-plan { background: linear-gradient(180deg, #1a1a1a, var(--soft)); }
:root[data-theme="auto"] .ai-warn { background: #2f200e; border-color: #4c3317; }
:root[data-theme="auto"] .ai-warn .body { color: #ee8d6d; }
:root[data-theme="auto"] .ql-m { background: #131725; }
:root[data-theme="auto"] .ql-i { background: #1a1a1a; }
:root[data-theme="auto"] .qrk-card { background: #1a1a1a; }
:root[data-theme="auto"] .qrk-qr { background: #1a1a1a; border: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="auto"] .pf-code input, :root[data-theme="auto"] .pf-code select, :root[data-theme="auto"] .pf-px input, :root[data-theme="auto"] .pf-min input { background: #1a1a1a; }
:root[data-theme="auto"] .pf-sw:has(input:checked) { background: #0d142d; }
:root[data-theme="auto"] .pf-br { background: #1a1a1a; }
:root[data-theme="auto"] .pf-br.on { background: #0d142d; }
:root[data-theme="auto"] .bp-btn { background: #1a1a1a; }
:root[data-theme="auto"] .bl { background: #1a1a1a; }
:root[data-theme="auto"] img.bl { border: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="auto"] .bp-pop { background: #1a1a1a; }
:root[data-theme="auto"] .bp-it:hover { background: #161a25; }
:root[data-theme="auto"] .bp-it.on { background: #0d142d; }
:root[data-theme="auto"] .bp-create { background: #0d132b; }
:root[data-theme="auto"] .rail { background: #1c1d22; }
:root[data-theme="auto"] .rl-b { color: #b0b4bf; }
:root[data-theme="auto"] .rl-b:hover { background: #202227; }
:root[data-theme="auto"] .rl-b.on { background: #1a1a1a; }
:root[data-theme="auto"] .rl-n { color: #111318; }
:root[data-theme="auto"] .np-close:hover { background: #1f2126; }
:root[data-theme="auto"] .nw-pop { background: #1a1a1a; }
:root[data-theme="auto"] .nw-quick button { background: #181a22; }
:root[data-theme="auto"] .nw-quick button:hover { background: #0d142d; }
:root[data-theme="auto"] .nw-i { background: #0e132f; }
:root[data-theme="auto"] .nw-list button:hover, :root[data-theme="auto"] .nw-list button.on { background: #161a25; }
:root[data-theme="auto"] .nw-foot { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="auto"] kbd { background: #1a1a1a; }
:root[data-theme="auto"] .qa-add { background: #1a1a1a; }
:root[data-theme="auto"] .me-pop { background: #1a1a1a; }
:root[data-theme="auto"] .me-pop #status { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="auto"] img.avatar { background: #1c1f26; }
:root[data-theme="auto"] .ph-emo button { background: #1a1c22; }
:root[data-theme="auto"] .ph-emo button.on, :root[data-theme="auto"] .ph-emo button:hover { background: #1a1a1a; }
:root[data-theme="auto"] .ph-bg button { border: 2px solid #1a1a1a; }
:root[data-theme="auto"] .ph-chips button { background: #1a1a1a; }
:root[data-theme="auto"] .ph-chips button.on { color: #111318; }
:root[data-theme="auto"] .ph-part { background: #1a1c22; }
:root[data-theme="auto"] .ph-part button { background: #1a1a1a; }
:root[data-theme="auto"] .ag-check { background: #1a1a1a; }
:root[data-theme="auto"] .ag-fu { background: #30210e; border: 1px solid #46341a; }
:root[data-theme="auto"] .ag-fu > span { color: #ffb45c; }
:root[data-theme="auto"] .ag-fu.prop { background: #1c112e; border-color: #231839; }
:root[data-theme="auto"] .ag-warn { background: #30210e; border: 1px solid #46341a; color: #ffb45c; }
:root[data-theme="auto"] .ag-col.today { background-color: #0c152b; }
:root[data-theme="auto"] .ag-ev { background: color-mix(in srgb, var(--c) 14%, #1a1a1a); }
:root[data-theme="auto"] .ag-abs { background: repeating-linear-gradient(135deg, #1d1f23 0 6px, #212228 6px 12px); }
:root[data-theme="auto"] .ag-chip { background: color-mix(in srgb, var(--c) 14%, #1a1a1a); }
:root[data-theme="auto"] .ag-bi { background: #1a1a1a; }
:root[data-theme="auto"] .nt-top { background: #171923; }
:root[data-theme="auto"] .nt-src { background: #1c1f26; }
:root[data-theme="auto"] .dh-nextup { background: #1a1a1a; }
:root[data-theme="auto"] .dh-k { background: #1a1a1a; }
:root[data-theme="auto"] .dh-kh i { background: #1a1d24; }
:root[data-theme="auto"] .dh-k.violet .dh-kh i { background: rgba(255,255,255,0.22); }
:root[data-theme="auto"] .dh-avs .avatar { border: 2px solid #1a1a1a; }
:root[data-theme="auto"] .dh-chip { background: #1a1e27; color: #d3d6dc; }
:root[data-theme="auto"] .dh-chip.warn { background: #321e0f; color: #f7a364; }
:root[data-theme="auto"] .dh-n { background: #1a1e27; }
:root[data-theme="auto"] .dh-it, :root[data-theme="auto"] .dh-wk { background: #181a22; }
:root[data-theme="auto"] .dh-it:hover, :root[data-theme="auto"] .dh-wk:hover { background: #191d27; }
:root[data-theme="auto"] .dh-wk:hover { background: #181a22; }
:root[data-theme="auto"] .dh-ring { border: 2px solid #2d3038; }
:root[data-theme="auto"] .dh-who { background: #1a1d24; }
:root[data-theme="auto"] .dh-st { background: #1a1e27; color: #c6c9ce; }
:root[data-theme="auto"] .dh-st.late { background: #2d1111; }
:root[data-theme="auto"] .dh-st.soon { background: #321e0f; color: #f7a364; }
:root[data-theme="auto"] .dh-rc { background: #1a1a1a; }
:root[data-theme="auto"] .dh-due { background: #321e0f; color: #f7a364; }
:root[data-theme="auto"] .dh-due.bad { background: #2d1111; }
:root[data-theme="auto"] .dh-more { color: #ffaa5c; }
:root[data-theme="auto"] .dh-next { background: radial-gradient(120% 90% at 0% 0%, #1b2a6b 0%, #dfe2ec 55%); color: #111318; }
:root[data-theme="auto"] .dh-next .dh-ph small { color: rgba(17,19,24,0.6); }
:root[data-theme="auto"] .dh-nx { background: rgba(255,255,255,0.07); }
:root[data-theme="auto"] .dh-nx-ic { background: #1a1a1a; }
:root[data-theme="auto"] .dh-ask { background: rgba(255,255,255,0.1); }
:root[data-theme="auto"] .dh-lvl i { background: #262930; }
:root[data-theme="auto"] .ap-chips a { background: #1a1a1a; }
:root[data-theme="auto"] .ap-chips a.on { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="auto"] .ap-chips b { background: #1a1e27; color: #d3d6dc; }
:root[data-theme="auto"] .ap-chips a.on b { background: rgba(255,255,255,0.2); }
:root[data-theme="auto"] .ap-r { background: #181a22; }
:root[data-theme="auto"] .ap-note { background: #1a1a1a; color: #c6c9ce; }
:root[data-theme="auto"] .ap-r:hover { background: #191d27; }
:root[data-theme="auto"] .ap-dnote { background: #181a22; }
:root[data-theme="auto"] .ap-dnote p { color: #cdd0d5; }
:root[data-theme="auto"] .ap-dnote.ai { background: #220d2d; }
:root[data-theme="auto"] .ck { background: #1a1a1a; }
:root[data-theme="auto"] .ck kbd, :root[data-theme="auto"] .ck-foot kbd { background: #181a22; }
:root[data-theme="auto"] .ck-tabs button { background: #1a1a1a; }
:root[data-theme="auto"] .ck-tabs button.on { color: #111318; }
:root[data-theme="auto"] .ck-list button.on { background: #171b26; }
:root[data-theme="auto"] .ck-i { background: #1a1d25; }
:root[data-theme="auto"] .ck-list button.on .ck-i { background: #0e1631; }
:root[data-theme="auto"] .ck-foot { background: #151922; }
:root[data-theme="auto"] .inv-st button { background: #1a1a1a; }
:root[data-theme="auto"] .inv-st button.on { color: #111318; }
:root[data-theme="auto"] .inv-st button.on b { color: #111318; }
:root[data-theme="auto"] .scanf { background: #1a1a1a; }
:root[data-theme="auto"] .rcv-k { background: #1a1a1a; }
:root[data-theme="auto"] .rcv-k .ki { background: #0e1631; }
:root[data-theme="auto"] .rcv-k .ki.green { background: #1a2e21; }
:root[data-theme="auto"] .rcv-scan { background: #1a1a1a; }
:root[data-theme="auto"] .rc { background: #1a1a1a; }
:root[data-theme="auto"] .ci-l { background: #191b22; }
:root[data-theme="auto"] .ci-l.full { background: #1a2b21; }
:root[data-theme="auto"] .ci-l.part { background: #31240e; }
:root[data-theme="auto"] .ci-l.flash { background: #0f1935; }
:root[data-theme="auto"] .ci-c { background: #1a1a1a; }
:root[data-theme="auto"] .ci-step { background: #1a1a1a; }
:root[data-theme="auto"] .im-k .low { background: #30210e; }
:root[data-theme="auto"] .msheet { background: #1a1a1a; }
:root[data-theme="auto"] .ms-grab { background: #272a31; }
:root[data-theme="auto"] .ms-it:active, :root[data-theme="auto"] .ms-it.on { background: #1a1d25; }
:root[data-theme="auto"] .ms-ic { background: #171b25; }
:root[data-theme="auto"] .ms-it.on .ms-ic { background: #0e1631; }
:root[data-theme="auto"] .ms-n { color: #111318; }
:root[data-theme="auto"] .ms-tabs { background: #151922; }
:root[data-theme="auto"] .ms-tabs button.on { background: #1a1a1a; }
:root[data-theme="auto"] .ms-cust { background: #1a1a1a; }
:root[data-theme="auto"] .tb-prev { background: #171923; }
:root[data-theme="auto"] .tb-prev span.p { background: var(--dark, #e1e4ea); color: #111318; }
:root[data-theme="auto"] .tb-row select { background: #1a1a1a; }
:root[data-theme="auto"] .ag-due .chip.on { background: #0e172f; }
:root[data-theme="auto"] .ag-desc { background: #171923; }
:root[data-theme="auto"] .ag-desc:hover { background: #1a1d26; }
:root[data-theme="auto"] .dw-btn.on { background: var(--dark, #e1e4ea); color: #111318; }
:root[data-theme="auto"] .dgrid.editing .dwg { outline: 2px dashed #232939; }
:root[data-theme="auto"] .dw-tools { background: rgba(26,26,26,0.96); }
:root[data-theme="auto"] .dw-tools button:hover { background: #1a1d25; }
:root[data-theme="auto"] .dw-tools .dw-size { background: #1a1d25; }
:root[data-theme="auto"] .dw-rs { background: #1a1a1a; border: 1px solid #262d41; }
:root[data-theme="auto"] .dw-bar { border: 1px solid #181e31; }
:root[data-theme="auto"] .dw-off .chip { border: 1px dashed #262d41; background: #0c142b; }
:root[data-theme="auto"] .ag-right { background: #171923; }
:root[data-theme="auto"] .ag-head { background: linear-gradient(180deg, #0c142b 0%, #1a1a1a 100%); }
:root[data-theme="auto"] .ag-cols { background: #191b23; }
:root[data-theme="auto"] .ag-paper { background: #1a1a1a; }
:root[data-theme="auto"] .ag-mini { background: #1a1a1a; }
:root[data-theme="auto"] .ag-left .ag-paper textarea { background-image: repeating-linear-gradient(180deg, transparent 0, transparent 23px, #1c1e24 23px, #1c1e24 24px); }
:root[data-theme="auto"] .ag-card { background: #1a1a1a; }
:root[data-theme="auto"] .ag-est { background: #191b23; }
:root[data-theme="auto"] .ag-prio button[data-v=bassa] .si { background: #1b1f26; color: #b0b5bf; }
:root[data-theme="auto"] .ag-prio button[data-v=alta] .si { background: #321e0f; }
:root[data-theme="auto"] .ag-prio button[data-v=urgente] .si { background: #2d1111; }
:root[data-theme="auto"] .ag-sumc { background: #191b23; }
:root[data-theme="auto"] .ag-ord { background: linear-gradient(180deg, var(--accent-2), #1a1a1a 70%); }
:root[data-theme="auto"] .ag-ordsteps span { background: #1a1a1a; }
:root[data-theme="auto"] .ag-ordpo { background: #1a1a1a; }
:root[data-theme="auto"] .lang-pick { border: 1px solid var(--line, #232529); }
:root[data-theme="auto"] .rl-lang { background: #1a1a1a; color: #afb5c0; }
:root[data-theme="auto"] .rl-lang.tmp { color: #ffbc5c; background: #30210e; }
:root[data-theme="auto"] .lang-pop { background: #1a1a1a; }
:root[data-theme="auto"] .lang-pop .lp-code { background: #1a1d25; color: #afb5c0; }
:root[data-theme="auto"] .lang-pop .co-it.on .lp-code { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="auto"] .lang-pop .ub-lnote { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="auto"] .ub-lnote.tmp { color: #ffbc5c; }
:root[data-theme="auto"] .rv-item { background: #131725; }
:root[data-theme="auto"] .rv-item:hover { background: #0e152f; }
:root[data-theme="auto"] .rv-warn { background: #30210e; color: #ffbc5c; border: 1px solid #442f14; }
:root[data-theme="auto"] .rv-flag { background: #2d1111; }
:root[data-theme="auto"] .rv-flag.soft { background: #1e2125; color: #afb5c0; }
:root[data-theme="auto"] .rv-done { background: #1a2b22; color: #7edda9; }
:root[data-theme="auto"] .rv-bad-box { background: #2d1111; color: #e67575; }
:root[data-theme="auto"] body.nav-v2 .rail { background: #1a1a1a; }
:root[data-theme="auto"] body.nav-v2 .rl-b { color: #b1b5be; }
:root[data-theme="auto"] body.nav-v2 .rl-b > span { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="auto"] body.nav-v2 .rl-b:hover { background: #1a1d25; }
:root[data-theme="auto"] body.nav-v2 .rl-b.on { background: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="auto"] .ag-mail-p { background: #1c1d22; }
:root[data-theme="auto"] .ag-mail-ph { background: #1a1a1a; }
:root[data-theme="auto"] .ag-pp-sum { background: linear-gradient(135deg, var(--accent-2), #1a1a1a); }
:root[data-theme="auto"] .ag-pp-row.late { border-color: #451e1e; background: #2b0c0c; }
:root[data-theme="auto"] .ag-pp-un { background: #2f200e; }
:root[data-theme="auto"] .co-dot.co-g { background: var(--dark, #e2e5e9); }
:root[data-theme="auto"] .co-pop { background: #1a1a1a; }
:root[data-theme="auto"] .co-pop::before { background: #1a1a1a; }
:root[data-theme="auto"] .co-it:hover { background: #1c1d22; }
:root[data-theme="auto"] .co-it.on { background: var(--accent-2, #0e152f); }
:root[data-theme="auto"] .co-man { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="auto"] .lg-grid { background-image: linear-gradient(rgba(26,26,26,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,26,0.5) 1px, transparent 1px); }
:root[data-theme="auto"] .lg-chips span { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); }
:root[data-theme="auto"] .lg2 .login-card .lg-in input { background: #1a1a1a; }
:root[data-theme="auto"] .lg-eye:hover { background: #1d1f23; }
@media (max-width: 900px) {
  :root[data-theme="auto"] .lg-side { background: radial-gradient(60% 40% at 0% 0%, #16203d 0%, transparent 70%), radial-gradient(50% 40% at 100% 100%, #3f1928 0%, transparent 70%), var(--bg); }
}
:root[data-theme="auto"] .ic-hero { background: radial-gradient(70% 120% at 100% 0%, #160f33 0%, transparent 60%), radial-gradient(60% 120% at 0% 100%, #0f1a35 0%, transparent 60%), #1a1a1a; }
:root[data-theme="auto"] .ic-search { background: #1a1a1a; }
:root[data-theme="auto"] .ic-chips button { background: #1a1a1a; }
:root[data-theme="auto"] .ic-chips button.on { background: var(--dark, #e2e5e9); border-color: var(--dark, #e2e5e9); color: #111318; }
:root[data-theme="auto"] .ic-card { background: #1a1a1a; }
:root[data-theme="auto"] .ic-foot { border-top: 1px solid var(--line-2, #1c1f26); }
:root[data-theme="auto"] .ic-st { background: #1c1f26; color: #afb5c0; }
:root[data-theme="auto"] .ic-st.ok { background: #1a2b22; color: #7ddea6; }
:root[data-theme="auto"] .ic-st.warn { background: #33230f; color: #f7a364; }
:root[data-theme="auto"] .ic-st.in { background: #0e152f; }
:root[data-theme="auto"] .ic-st.soon { border: 1px dashed #30333a; color: #b0b4bf; }
:root[data-theme="auto"] .ic-card.soon .ic-ico { background: #1e2026; color: #b0b4bf; }
:root[data-theme="auto"] .ic-ev { background: #1a1d21; }
:root[data-theme="auto"] .ic-more { border: 1px dashed #30333a; }
:root[data-theme="auto"] .dom-dot { background: #1b1e26; }
:root[data-theme="auto"] .dom-p { background: #0e152f; }
:root[data-theme="auto"] .dom-p-portal { background: #1c112e; }
:root[data-theme="auto"] .dom-p-offers { background: #1a2b22; }
:root[data-theme="auto"] .dom-sel { background: #1a1a1a; }
:root[data-theme="auto"] .dom-dot.ok { background: #1a2b22; }
:root[data-theme="auto"] .co-switch select { border: 1px solid var(--line, #24262a); background: #1a1a1a; }
:root[data-theme="auto"] .co-chip { background: color-mix(in srgb, var(--cc) 12%, #1a1a1a); }
:root[data-theme="auto"] .co-logo { color: #111318; background: linear-gradient(135deg, var(--cc), color-mix(in srgb, var(--cc) 60%, #e6e6e6)); }
:root[data-theme="auto"] .pdf-frame { background: #1b1d22; }
:root[data-theme="auto"] .lvseg button.inh.on { background: #1a1a1a; }
:root[data-theme="auto"] .lvseg button.ghost { background: rgba(26,26,26,0.55); }
:root[data-theme="auto"] .lvseg button.ghost.write { color: rgba(125,222,165,0.6); }
:root[data-theme="auto"] .plvl { background: #1a1d25; }
:root[data-theme="auto"] .plvl.read, :root[data-theme="auto"] .plvl.d-read { background: #0e1830; }
:root[data-theme="auto"] .plvl.write, :root[data-theme="auto"] .plvl.d-write { background: #1b2b21; color: #7ddea5; }
:root[data-theme="auto"] .plvl.d-none { background: #2e1311; }
:root[data-theme="auto"] .dg-seg button.on.dv-write { color: #7ddea5; }
:root[data-theme="auto"] .uf-av-new { background: #191d27; }
:root[data-theme="auto"] .uf-sw i { background: #282b32; }
:root[data-theme="auto"] .uf-sw i::after { background: #1a1a1a; }
:root[data-theme="auto"] .uf-sec h4 i { background: #191d27; }
:root[data-theme="auto"] .uf-pwm { background: #1a1d25; }
:root[data-theme="auto"] .uf-pwm button.on { background: #1a1a1a; }
:root[data-theme="auto"] .mod-sum b small { color: var(--muted, #b3b6bc); }
:root[data-theme="auto"] .mod-ed { border: 1.5px solid var(--line, #212329); background: var(--card, #1a1a1a); }
:root[data-theme="auto"] .mod-ed small { color: var(--muted, #b3b6bc); }
:root[data-theme="auto"] .mod-ed.on { background: #0d142d; }
:root[data-theme="auto"] .mod-gh { color: var(--muted, #b3b6bc); }
:root[data-theme="auto"] .mod.nolic { background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(230,230,230,0.025) 8px 16px), var(--card, #1a1a1a); }
:root[data-theme="auto"] .mod-ic { background: #0d142d; }
:root[data-theme="auto"] .mod-req { color: var(--muted, #b3b6bc); }
:root[data-theme="auto"] .mod-sw i { background: #2b2d32; }
:root[data-theme="auto"] .mod-sw i::after { background: #1a1a1a; }
:root[data-theme="auto"] .dw-btn.on { background: var(--dark, #e1e4ea); color: #111318; }
:root[data-theme="auto"] .dgrid.editing .dwg { outline: 2px dashed #232939; }
:root[data-theme="auto"] .dw-tools { background: #1a1a1a; }
:root[data-theme="auto"] .dw-tools button { background: #1a1d25; }
:root[data-theme="auto"] .dw-bar { border: 1px solid #181e31; }
:root[data-theme="auto"] .dw-off .chip { border: 1px dashed #262d41; background: #0c142b; }
:root[data-theme="auto"] .rk.k-noleggio { background: #1a2b22; color: #7ddea5; }
:root[data-theme="auto"] .rk.k-prova { background: #1c112e; }
:root[data-theme="auto"] .rk-kpis .rk-kpi:hover { border-color: #272a31; }
:root[data-theme="auto"] .rk-pick button { background: #1a1a1a; }
:root[data-theme="auto"] .rk-pick button.on { background: #0c142b; }
:root[data-theme="auto"] .rc-opts button { background: #1a1a1a; }
:root[data-theme="auto"] .rc-opts button i { background: #1a2b22; }
:root[data-theme="auto"] .rc-opts button.on { background: #0c142b; }
:root[data-theme="auto"] .rc-warn { background: #30200e; color: #ffab5c; }
:root[data-theme="auto"] .otf-pick button { background: #1a1a1a; }
:root[data-theme="auto"] .otf-pick button.on { background: #0c142b; }
:root[data-theme="auto"] .otf-par input, :root[data-theme="auto"] .otf-par select { background: #1a1a1a; }
:root[data-theme="auto"] .otf-sum > div { background: #1a1a1a; }
:root[data-theme="auto"] .dbr { background: #1a1a1a; }
:root[data-theme="auto"] .dbr-r select, :root[data-theme="auto"] .dbr-r input { background: #1a1a1a; }
:root[data-theme="auto"] .otf-ls-g div { background: #1a1a1a; }
:root[data-theme="auto"] .ra-ok > .lu { color: #6eedb3; }
:root[data-theme="auto"] .rp-grid .x { background: rgba(230,230,230,0.55); color: #111318; }
:root[data-theme="auto"] .mail-img { background: #372f10; }
:root[data-theme="auto"] .mail-body iframe { background: #1a1a1a; }
:root[data-theme="auto"] .mail-warn { background: #2e100d; border: 1px solid #401d1b; }
:root[data-theme="auto"] .sig-mailmock { background: #1a1a1a; }
:root[data-theme="auto"] .sig-mailtxt { color: #d8dbe2; }
:root[data-theme="auto"] #mSideBody select { background: #1a1a1a; }
:root[data-theme="auto"] .sg-warn { background: #2e100d; color: #f86274; }
:root[data-theme="auto"] .sg-mode { border-top: 1px solid var(--line, #20232a); }
:root[data-theme="auto"] .sg-mode #qReason { border: 1px solid var(--line, #24272d); }
:root[data-theme="auto"] .ag-mail-p { border: 1px solid var(--line, #212329); background: #1c1d22; }
:root[data-theme="auto"] .ag-mail-ph { background: #1a1a1a; border-bottom: 1px solid var(--line, #212329); }
:root[data-theme="auto"] .note.ok { background: #1a2b22; color: #7bdfa3; }
:root[data-theme="auto"] .inb-prev img { background: #1a1a1a; }
:root[data-theme="auto"] .inb-checks .chk.warn { background: #321e0f; color: #ffb45c; }
:root[data-theme="auto"] .inb-checks .chk.bad { background: #2d1111; }
:root[data-theme="auto"] .inb-pg { border: 2px solid var(--line, #232529); background: var(--card, #1a1a1a); }
:root[data-theme="auto"] .inb-pg img { border: 1px solid var(--line, #232529); }
:root[data-theme="auto"] .rv-banner { color: #111318; }
:root[data-theme="auto"] .rv-stats span { background: rgba(255,255,255,0.08); }
:root[data-theme="auto"] .rv-ck { background: #1a1a1a; }
:root[data-theme="auto"] .rv-q { background: #323337 !important; }
:root[data-theme="auto"] .rv-date.warn { background: #32230f; border-color: #422f15; color: #f7a364; }
:root[data-theme="auto"] .rv-foot { color: #111318; }
:root[data-theme="auto"] .rv-steps .now b { color: #111318; }
:root[data-theme="auto"] .rv-tone button.on { background: #1a1a1a; }
:root[data-theme="auto"] .ph-q.bad { background: #2f1111; }
:root[data-theme="auto"] .ph-feat { background: linear-gradient(160deg, #0e132f 0%, #1a1a1a 55%); }
:root[data-theme="auto"] .ph-num { background: #1a1a1a; }
:root[data-theme="auto"] .ph-sent span.on.positivo { background: #1a2e21; }
:root[data-theme="auto"] .ph-sent span.on.neutro { background: #1b1f26; }
:root[data-theme="auto"] .ph-sent span.on.negativo { background: #2f1111; }
:root[data-theme="auto"] .ph-tl-bar { background: linear-gradient(90deg, var(--accent-2), #161a25); }
:root[data-theme="auto"] .ph-d.up { background: #1a2e21; }
:root[data-theme="auto"] .ph-d.down { background: #2f1111; }
:root[data-theme="auto"] .ph-sbar .neu { background: #2c3038; }
:root[data-theme="auto"] :where(input:not([type=checkbox], [type=radio], [type=range], [type=color], [type=file], [type=submit], [type=button], [type=reset], [type=hidden], [type=image]), select, textarea) { background-color: #1a1a1a; }
:root[data-theme="auto"] .dom-l { background: #33230f; color: #f6a764; }
:root[data-theme="auto"] .ca-mini div { background: var(--bg-soft, #1c1e21); }
:root[data-theme="auto"] .ls-loc { background: var(--card, #1a1a1a); }
:root[data-theme="auto"] .ls-pk { background: var(--bg-soft, #181c26); }
:root[data-theme="auto"] .ls-reg { color: var(--warn, #ffbd5c); }
:root[data-theme="auto"] .ls-trk-h div { background: var(--bg-soft, #1c1e21); }
:root[data-theme="auto"] .ls-tl i { border: 2px solid #1a1a1a; }
:root[data-theme="auto"] .vendor-logo.vendor-name { color: #cfd1d5; }
:root[data-theme="auto"] .ic-ico.vendor { background: #1a1a1a; }
:root[data-theme="auto"] .ic-card.soon .ic-ico.vendor { background: #1a1a1a; }
:root[data-theme="auto"] img.sso-ico.vendor-logo { background: #1a1a1a; }
:root[data-theme="auto"] .mod-vendors { background: #1a1a1a; }
:root[data-theme="auto"] .int-ico.vendor-chip { background: #1a1a1a; }
:root[data-theme="auto"] .int-card .int-ico.ic-ico.vendor { background: #1a1a1a; }
:root[data-theme="auto"] .badge.lsc { background: #30170e; color: #f29f68; }
:root[data-theme="auto"] .as-dup { background: #2f200e; }
:root[data-theme="auto"] .as-op, :root[data-theme="auto"] .as-acc { background: linear-gradient(180deg, #0d192c 0%, #1a1a1a 70%); }
:root[data-theme="auto"] .op-vt select, :root[data-theme="auto"] .op-it select { background: #1a1a1a; }
:root[data-theme="auto"] .ls-shot { border: 2px dashed #142945; background: linear-gradient(180deg, #0d1c2d 0%, #1a1a1a 100%); }
:root[data-theme="auto"] .ls-card { background: #1a1a1a; }
:root[data-theme="auto"] .ls-codes input, :root[data-theme="auto"] .ls-codes select { background: #1a1a1a; }
:root[data-theme="auto"] .op-vrow select { background: #1a1a1a; }
:root[data-theme="auto"] .dv-warn { background: #33230f; color: #ffb45c; }
:root[data-theme="auto"] .dv-frame { background: #1a1a1a; }
:root[data-theme="auto"] .rv-cli.confermato .rv-cli-i { background: #1a2b22; }
:root[data-theme="auto"] .rv-cli.correzione .rv-cli-i { background: #2d1111; }
:root[data-theme="auto"] .rv-cli-n { background: #32270f; }
:root[data-theme="auto"] .sv-list tr.sv-g .si { background: #0e132f; }
:root[data-theme="auto"] .kbb-ed { background: #1a1a1a; }
:root[data-theme="auto"] .kbb-add:hover, :root[data-theme="auto"] .kbb-drag:hover, :root[data-theme="auto"] .kbb-del:hover { background: #1c1e24; color: #d9d9d9; }
:root[data-theme="auto"] .t-ol .kbb-tx::before { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .t-ul .kbb-tx::before { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .t-note .kbb-tx, :root[data-theme="auto"] .kb-note { background: #32280f; }
:root[data-theme="auto"] .kbb-drop { border: 1.5px dashed #2b2e35; background: #181c20; }
:root[data-theme="auto"] .kbb-drop.on { background: #0d152d; }
:root[data-theme="auto"] .kbb-cap { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .kbb-cap:focus { border-bottom-color: #2b2e35; }
:root[data-theme="auto"] .kbb-menu { background: #1a1a1a; }
:root[data-theme="auto"] .kbb-menu button:hover { background: #1a1c23; }
:root[data-theme="auto"] .kbb-menu .ic { color: #cbcbcb; }
:root[data-theme="auto"] .kbb-menu small { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .kb-fig img, :root[data-theme="auto"] .kb-fig video { border: 1px solid var(--line, #232529); }
:root[data-theme="auto"] .kb-fig figcaption { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .kb-vid { background: #e6e6e6; }
:root[data-theme="auto"] .lp-step .dot { background: #1e2125; }
:root[data-theme="auto"] .lp-step.on { background: var(--accent-2, #0e152f); }
:root[data-theme="auto"] .li-chip { background: #1a1a1a; }
:root[data-theme="auto"] .pn-x { color: var(--muted, #aeb4c1); }
:root[data-theme="auto"] .pn-warn { background: #352a0f; color: #ffcf5c; }
:root[data-theme="auto"] .zr .zx-list { background: var(--card, #1a1a1a); }
:root[data-theme="auto"] .acct-card { border: 1px solid var(--line, #232529); }
:root[data-theme="auto"] .acct-card small { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .acct-addr { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .acct-sug { border-top: 1px dashed var(--line, #232529); }
:root[data-theme="auto"] .acct-sug > small { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .lc-tabs .seg { background: var(--soft, #1b1e24); }
:root[data-theme="auto"] .lc-tabs .seg button.on { background: #1a1a1a; }
:root[data-theme="auto"] .cp-ico { background: var(--soft, #1b1e24); }
:root[data-theme="auto"] .cp-url code { background: var(--soft, #1b1e24); }
/* da ui.css */
:root[data-theme="auto"] .switch > i { background: #282a2f; }
:root[data-theme="auto"] .switch > i::after { background: #1a1a1a; }
:root[data-theme="auto"] .alert.info { color: #7a93e1; }
:root[data-theme="auto"] .alert.ok { color: #7bdfa3; }
:root[data-theme="auto"] .alert.warn { color: #ffa45c; }
:root[data-theme="auto"] .alert.bad { color: #e67578; }
:root[data-theme="auto"] .alert.ai { color: #a67edd; }
:root[data-theme="auto"] .pu-pop { background: #1a1a1a; }
:root[data-theme="auto"] .pu-pop .pu-q { background: #1a1a1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c818c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 10px center / 14px 14px; }
:root[data-theme="auto"] .uil-toc a { color: #cfd1d4; }
:root[data-theme="auto"] .uil-toc a:hover { background: #1a1a1a; }
:root[data-theme="auto"] .uil-code { background: #181b21; color: #cfd1d4; }
:root[data-theme="auto"] .uil-sw div { background: #1a1a1a; }
:root[data-theme="auto"] .uil-ic div { background: #1a1a1a; }
/* da portal.css */
:root[data-theme="auto"] .p-top { background: rgba(26,26,26,0.92); }
:root[data-theme="auto"] .p-card { background: #1a1a1a; }
:root[data-theme="auto"] .p-tags > span:not(.tier) { background: rgba(255,255,255,0.18); }
:root[data-theme="auto"] .p-kpi { background: #1a1a1a; }
:root[data-theme="auto"] .warnt { color: #f7a364; }
:root[data-theme="auto"] .p-msg.res { background: #1a2b22; }
:root[data-theme="auto"] .p-tier { background: #1a1a1a; }
:root[data-theme="auto"] .p-login { background: linear-gradient(130deg, #0e132f, #180d2d); }
:root[data-theme="auto"] .p-err { background: #2d1111; }
:root[data-theme="auto"] .p-dev { background: #352b0f; }
:root[data-theme="auto"] .p-qr-img { background: #1a1a1a; }
:root[data-theme="auto"] .p-check { color: #111318; }
:root[data-theme="auto"] .p-qinfo { background: #171923; }
:root[data-theme="auto"] .as-in .as-lv { background: #1a1a1a; }
:root[data-theme="auto"] .as-chips button:hover { background: #1a1a1a; }
:root[data-theme="auto"] .as-src a { background: #1a1a1a; }
:root[data-theme="auto"] .btn.ok { color: #70ebad; }
:root[data-theme="auto"] .kb-cats button { background: #1a1a1a; }
:root[data-theme="auto"] .kb-cats button.on { color: #111318; }
:root[data-theme="auto"] .as-drawer { background: #1a1a1a; }
:root[data-theme="auto"] .p-ro { background: #32270f; }
:root[data-theme="auto"] .p-ro b { color: #ffc65c; }
:root[data-theme="auto"] .d-tabs { background: #202227; }
:root[data-theme="auto"] .d-tabs button.on { background: #1a1a1a; }
:root[data-theme="auto"] .d-ico.lg { background: rgba(255,255,255,0.2); }
:root[data-theme="auto"] .d-logo { background: #1a1a1a; }
:root[data-theme="auto"] .d-bar { background: #1c1f26; }
:root[data-theme="auto"] .p-ubtn { background: #1a1a1a; }
:root[data-theme="auto"] .p-ubtn.p-out:hover { background: #2d1111; }
:root[data-theme="auto"] .p-rqdot { background: #2d3038; }
:root[data-theme="auto"] .p-msg.rej { background: #2d1111; }
:root[data-theme="auto"] .p-note-ok { background: #31240e; }
:root[data-theme="auto"] .p-note-ok svg.lu { color: #f7a364; }
:root[data-theme="auto"] .p-acc-hero { background: linear-gradient(130deg, #0e132f, #1a0d2e); }
:root[data-theme="auto"] .p-chip { background: #1a1a1a; }
:root[data-theme="auto"] .p-acc-hero .p-tags > .p-chip { background: #1a1a1a; }
:root[data-theme="auto"] .p-pwrules li.ok { background: #1a2c21; }
:root[data-theme="auto"] .p-legal { background: #131725; }
:root[data-theme="auto"] .p-decl span { background: #31240e; }
:root[data-theme="auto"] .p-nav { background: rgba(26,26,26,0.62); border: 1px solid rgba(26,26,26,0.85); }
:root[data-theme="auto"] .p-nav a { color: #cbcdd4; }
:root[data-theme="auto"] .p-nav a:hover { background: rgba(26,26,26,0.7); }
:root[data-theme="auto"] .p-nav a.on { background: #1a1a1a; }
:root[data-theme="auto"] .p-ubtn { background: rgba(26,26,26,0.62); border-color: rgba(26,26,26,0.85); }
@media (max-width: 900px) {
  :root[data-theme="auto"] .p-nav { background: rgba(26,26,26,0.82); }
}
:root[data-theme="auto"] .p-tile { background: #1a1a1a; }
:root[data-theme="auto"] .p-tile-s { background: #1a2b22; color: #7ddea6; }
:root[data-theme="auto"] .p-tile.off .p-tile-i { background: #1e2026; }
:root[data-theme="auto"] .p-note.warn { background: #32270f; }
:root[data-theme="auto"] .p-more-menu { background: rgba(26,26,26,0.96); }
:root[data-theme="auto"] .p-more-menu a { color: #cbcdd4; }
:root[data-theme="auto"] .p-decide { border-color: color-mix(in srgb, var(--accent, #1b43fe) 30%, var(--line, #24262a)); }
:root[data-theme="auto"] .p-or::before, :root[data-theme="auto"] .p-or::after { background: var(--line, #232529); }
:root[data-theme="auto"] .kb-note { background: #32280f; }
:root[data-theme="auto"] .kb-fig img, :root[data-theme="auto"] .kb-fig video { border: 1px solid var(--line, #232529); }
:root[data-theme="auto"] .kb-fig figcaption { color: var(--muted, #b1b5be); }
:root[data-theme="auto"] .kb-vid { background: #e6e6e6; }
:root[data-theme="auto"] .p-sede { border-top: 1px solid var(--line-2, #1c1f26); }
/* da app-anydesk.js */
:root[data-theme="auto"] .rad-kpi { background: var(--card,#1a1a1a); }
:root[data-theme="auto"] .rad-tabs button { background: #1a1a1a; }
:root[data-theme="auto"] .rad-tabs button.on { background: #e2e5e9; color: #111318; border-color: #e2e5e9; }
/* da app-brand.js */
:root[data-theme="auto"] .br-color { background: #1a1a1a; }
:root[data-theme="auto"] .br-prev { background: #1d1e22; }
:root[data-theme="auto"] .br-prev-top { background: #1a1a1a; }
:root[data-theme="auto"] .br-asset { background: #1a1a1a; }
:root[data-theme="auto"] .br-phone { background: #e2e5e9; }
:root[data-theme="auto"] .br-app i { background: rgba(26,26,26,0.35); }
:root[data-theme="auto"] .sd-card { background: #1a1a1a; }
/* da app-import.js */
:root[data-theme="auto"] .imp-steps span i { background: #1a1a1a; }
:root[data-theme="auto"] .imp-steps span.done { background: #1a2b22; }
:root[data-theme="auto"] .imp-card { background: var(--card,#1a1a1a); }
:root[data-theme="auto"] .imp-ic { background: #0e132f; }
:root[data-theme="auto"] .imp-drop:hover, :root[data-theme="auto"] .imp-drop.over { background: #0d132c; }
:root[data-theme="auto"] .imp-drop b { color: var(--text,#e6e6e6); }
:root[data-theme="auto"] .imp-kpi { background: var(--card,#1a1a1a); }
:root[data-theme="auto"] .imp-kpi.new { background: linear-gradient(135deg,#17281e,#1a1a1a); }
:root[data-theme="auto"] .imp-kpi.dup { background: linear-gradient(135deg,#301e0e,#1a1a1a); }
:root[data-theme="auto"] .imp-kpi.err { background: linear-gradient(135deg,#2c1111,#1a1a1a); }
/* da app-kiosk.js */
:root[data-theme="auto"] .kio-card { background: var(--card,#1a1a1a); }
:root[data-theme="auto"] .kio-ic { background: #0e132f; }
:root[data-theme="auto"] .kio-qr .svg { background: #1a1a1a; }
/* da app-qrtags.js */
:root[data-theme="auto"] .qr-batch { background: var(--card,#1a1a1a); }
:root[data-theme="auto"] .qr-ic { background: #0e132f; }
:root[data-theme="auto"] .qr-bar { background: #0e132f; }
:root[data-theme="auto"] .qr-pick button { background: var(--card,#1a1a1a); }
:root[data-theme="auto"] .qr-video { background: #e6e6e6; }
/* da portal-wifi.js */
:root[data-theme="auto"] .wf-pw { background: #1c1d22; }
/* da unifi.js */
:root[data-theme="auto"] .rufi-kpi { background: var(--card,#1a1a1a); }
:root[data-theme="auto"] .rufi-strip i.na { background: #24262a; }
:root[data-theme="auto"] .rufi-map .n rect { fill: #1a1a1a; stroke: var(--line,#24262a); }
:root[data-theme="auto"] .rufi-map .n.offline rect { fill: #2b0d0d; }
:root[data-theme="auto"] .rufi-map .n text { fill: #e2e5e9; }
:root[data-theme="auto"] .rufi-pw { background: #1c1d22; }
:root[data-theme="auto"] .rufi-tabs button { background: #1a1a1a; }
:root[data-theme="auto"] .rufi-tabs button.on { background: #e2e5e9; color: #111318; border-color: #e2e5e9; }
/* da web.js */
:root[data-theme="auto"] .wb-strip i.na { background: #24262a; }
:root[data-theme="auto"] .wb-tok { background: #1c1d22; }
}
