/* GENERATO da tools/genera-tema-scuro.py: non modificare a mano (gli aggiustamenti stanno in tema-scuro-manuale.css). */
/* app.css */
html[data-theme="dark"] a,html[data-theme="dark"] .btn-link{color:#74c3fb;}
html[data-theme="dark"] .btn-primary{color:#21272c;background-color:#4c96e2;border-color:#5c9fe4;}
html[data-theme="dark"] .btn:focus,html[data-theme="dark"] .btn:active:focus,html[data-theme="dark"] .btn-link.nav-link:focus,html[data-theme="dark"] .form-control:focus,html[data-theme="dark"] .form-check-input:focus{box-shadow:0 0 0 0.1rem #21272c, 0 0 0 0.25rem #0b79f0;}
html[data-theme="dark"] .valid.modified:not([type=checkbox]){outline:1px solid #5bd881;}
html[data-theme="dark"] .invalid{outline:1px solid #fa2e2e;}
html[data-theme="dark"] .validation-message{color:#fb7474;}
html[data-theme="dark"] .blazor-error-boundary{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #dc5858;color:#21272c;}
html[data-theme="dark"] .darker-border-checkbox.form-check-input{border-color:#6b7f8d;}
html[data-theme="dark"] .passaggio{border:1px solid #36475b;background:#19232d;}
html[data-theme="dark"] .passaggio a{color:#a8cae4;}
html[data-theme="dark"] .pallino{background:#7f8da1;border:2px solid #21272c;box-shadow:0 0 0 1px #586982;}
html[data-theme="dark"] .completato .pallino{background:#7ee6a3;}
html[data-theme="dark"] .dacompletare .pallino,html[data-theme="dark"] .daricontrollare .pallino{background:#faa745;}
html[data-theme="dark"] .completato{border-left:5px solid #7ee6a3;}
html[data-theme="dark"] .daricontrollare{border-left:5px solid #faa745;}
html[data-theme="dark"] .nondisponibile{background:#172029;}
/* gestionale.css */
html[data-theme="dark"]{--verde:#bae6de;--accento:#557622;--sfondo:#21231a;--bordo:#45503e;}
html[data-theme="dark"] body{background:var(--sfondo);color:#baded4;}
html[data-theme="dark"] .testata{border-bottom:1px solid var(--bordo);background:#21272c;}
html[data-theme="dark"] button{border:1px solid var(--bordo);background:#21272c;color:var(--verde);}
html[data-theme="dark"] button:hover{background:#37422c;}
html[data-theme="dark"] .primario{background:var(--verde);color:#21272c;border-color:var(--verde);}
html[data-theme="dark"] .primario:hover{background:#a2d8ca;}
html[data-theme="dark"] .stop{background:#d87367;color:#21272c;border:none;}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border:1px solid #5d6f58;background:#21272c;color:#bddfd5;}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus,html[data-theme="dark"] button:focus-visible{outline:3px solid #37749d;}
html[data-theme="dark"] .scheda,html[data-theme="dark"] .timer-card{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .azione{border:1px solid var(--bordo);background:#21272c;text-decoration:none;}
html[data-theme="dark"] .messaggio{background:#5b2510;border:1px solid #904e36;color:#e79d89;}
html[data-theme="dark"] .avviso{background:#6e5713;color:#f2d290;}
html[data-theme="dark"] table{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] th{background:#3d4732;}
html[data-theme="dark"] #blazor-error-ui{color:#e09b90;}
html[data-theme="dark"]{--verde:#60a8d3;--accento:#223b4a;--sfondo:#18232b;--bordo:#33414b;--primario:#60a8d3;}
html[data-theme="dark"] body{color:#b3c5d4;}
html[data-theme="dark"] .testata{box-shadow:0 2px 8px rgba(0,0,0,0.312);}
html[data-theme="dark"] .menu-barra summary:hover,html[data-theme="dark"] .menu-barra details[open] summary,html[data-theme="dark"] .menu-home:hover{background:#223b4a;color:#8fc2e0;}
html[data-theme="dark"] .menu-voci{background:#21272c;border:1px solid var(--bordo);box-shadow:0 12px 32px rgba(0,0,0,0.326);}
html[data-theme="dark"] .menu-voci a{text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] .menu-voci a:hover{background:#223b4a;color:#8fc2e0;}
html[data-theme="dark"] .eyebrow{color:#8fc2e0;}
html[data-theme="dark"] button{color:#8fc2e0;border-color:#374854;}
html[data-theme="dark"] button:hover{background:#223b4a;}
html[data-theme="dark"] .primario:hover{background:#7ab7dd;}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color:#b3c5d4;border-color:#3b5160;}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus,html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] summary:focus-visible{outline:3px solid #37749d;}
html[data-theme="dark"] th{background:#172026;color:#aabac5;}
html[data-theme="dark"] tr:hover td{background:#1b262c;}
html[data-theme="dark"] .toolbar p{color:#aeb9c2;}
html[data-theme="dark"] .editor{border-left:4px solid #60a8d3;box-shadow:0 8px 30px rgba(0,0,0,0.312);}
html[data-theme="dark"] .badge-stato{background:#172026;color:#a1bcce;}
html[data-theme="dark"] .accesso{background:#21272c;border:1px solid var(--bordo);box-shadow:0 16px 60px rgba(0,0,0,0.312);}
html[data-theme="dark"] .azioni-home .azione:hover{border-color:#60a8d3;box-shadow:0 4px 16px rgba(0,0,0,0.312);}
html[data-theme="dark"] .kpi{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .kpi span{color:#aeb9c2;}
html[data-theme="dark"] .kpi small{color:#aeb9c2;}
html[data-theme="dark"] .positivo{color:#94dbc2;}
html[data-theme="dark"] .negativo{color:#e18e98;}
html[data-theme="dark"] .barra{background:#172026;}
html[data-theme="dark"] .materiali{background:#60a8d3;}
html[data-theme="dark"] .lavoro{background:#ac4f62;}
html[data-theme="dark"] .servizi{background:#b0722f;}
html[data-theme="dark"] .legenda{color:#aeb9c2;}
html[data-theme="dark"] .grafico-riga{border-bottom:1px solid #2b3841;}
html[data-theme="dark"] .vuoto{color:#aeb9c2;}
html[data-theme="dark"] .sottotitolo{color:#aeb9c2;}
html[data-theme="dark"] .donut-centro{background:#21272c;}
html[data-theme="dark"] .donut-centro small{color:#aeb9c2;}
html[data-theme="dark"] .metriche span{color:#aeb9c2;}
html[data-theme="dark"] .menu-voci a.active{background:#223b4a;color:#8fc2e0;}
html[data-theme="dark"] .menu-home.active{color:#8fc2e0;background:#223b4a;}
html[data-theme="dark"] .azione-link{border:1px solid #374854;background:#21272c;text-decoration:none;}
html[data-theme="dark"] .pallino{background:#626a78;}
html[data-theme="dark"] .a-righe{background-image:repeating-linear-gradient(45deg,rgba(33,39,44,0.65) 0 4px,transparent 4px 8px) !important;}
html[data-theme="dark"] .pallino.chiusura{background:#31404a;border:1px solid #3b5160;}
html[data-theme="dark"] .stato{background:#2f373e;color:#b8b8b8;}
html[data-theme="dark"] .stato.approvata{background:#284a2e;color:#9eddac;}
html[data-theme="dark"] .stato.inattesa{background:#6e5713;color:#f2d290;}
html[data-theme="dark"] .stato.rifiutata{background:#5b2510;color:#e79d89;}
html[data-theme="dark"] .stato.annullata{background:#303940;color:#b8b8b8;}
html[data-theme="dark"] .kpi small{color:#aeb9c2;}
html[data-theme="dark"] .comunicazione.importante{border-left-color:#60a8d3;}
html[data-theme="dark"] .comunicazione.da-leggere{background:#392a0a;border-color:#8e7222;border-left-color:#fac63b;}
html[data-theme="dark"] .comunicazione-meta{color:#aeb9c2;}
html[data-theme="dark"] .etichetta{background:#2f373e;color:#b8b8b8;}
html[data-theme="dark"] .etichetta.importante{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .etichetta.personale{background:#172a50;color:#8ca3e3;}
html[data-theme="dark"] .letta{color:#9eddac;}
html[data-theme="dark"] .nota-presenza{color:#aeb9c2;}
html[data-theme="dark"] .da-verificare{background:#5a4710;}
html[data-theme="dark"] table.calendario th small{color:#aeb9c2;}
html[data-theme="dark"] table.calendario th.nome{background:#172026;}
html[data-theme="dark"] table.calendario td.weekend,html[data-theme="dark"] table.calendario th.weekend{background:#241c1e;}
html[data-theme="dark"] table.calendario td.chiusura,html[data-theme="dark"] table.calendario th.chiusura{background:#31404a;}
html[data-theme="dark"] table.calendario .assenza{color:#21272c;}
html[data-theme="dark"] table.calendario tfoot td,html[data-theme="dark"] table.calendario tfoot th{background:#172026;}
html[data-theme="dark"] .marchio .marchio-nome{color:#b3c5d4;}
html[data-theme="dark"] .marchio .marchio-nome b{color:#8fc2e0;}
html[data-theme="dark"] .campanella summary{border:1px solid var(--bordo);background:#21272c;color:#8fc2e0;}
html[data-theme="dark"] .campanella summary:hover,html[data-theme="dark"] .campanella[open] summary{background:#223b4a;}
html[data-theme="dark"] .pallino-notifica{background:#e03544;border:2px solid #21272c;}
html[data-theme="dark"] .campanella-pannello{background:#21272c;border:1px solid var(--bordo);box-shadow:0 14px 34px rgba(0,0,0,0.367);}
html[data-theme="dark"] .campanella-pannello li a:hover{background:#223b4a;}
html[data-theme="dark"] .campanella-pannello .vuoto{color:#aeb9c2;}
html[data-theme="dark"] .benvenuto-testo{color:#aeb9c2;}
html[data-theme="dark"] .da-fare-voce{background:#342809;border:1px solid #886d1f;text-decoration:none;color:#f5dc97;}
html[data-theme="dark"] .da-fare-voce:hover{background:#675112;}
html[data-theme="dark"] .gruppo-home h2{color:#8fc2e0;}
html[data-theme="dark"] .tessera{background:#21272c;border:1px solid var(--bordo);text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] .tessera:hover{box-shadow:0 10px 24px rgba(0,0,0,0.312);border-color:#325e7b;}
html[data-theme="dark"] .tessera:focus-visible{outline:3px solid #37749d;}
html[data-theme="dark"] .tessera-icona{background:linear-gradient(135deg,#223b4a,#30141a);color:#8fc2e0;}
html[data-theme="dark"] .tessera-icona.avviso{background:#916804;color:#f1f5f8;}
html[data-theme="dark"] .tessera-testo small{color:#aeb9c2;}
html[data-theme="dark"] .tessera-badge{background:#e03544;color:#10161b;}
html[data-theme="dark"] .tabella-magazzino tr.selezionata td{background:#2e1218;}
html[data-theme="dark"] .tabella-magazzino small{color:#aeb9c2;}
html[data-theme="dark"] .tabella-magazzino code,html[data-theme="dark"] .dettaglio-magazzino code,html[data-theme="dark"] .anteprima-riga code{background:#172026;color:#aabac5;}
html[data-theme="dark"] .prenotata{color:#fbc074;}
html[data-theme="dark"] .dettaglio-magazzino{border-left:5px solid #60a8d3;}
html[data-theme="dark"] .anteprima-riga{background:#19242c;border:1px dashed #325e7b;}
html[data-theme="dark"] .disegno-sezione{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .mag-testata{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .mag-btn{border:1px solid #374854;background:#21272c;color:#8fc2e0;text-decoration:none;}
html[data-theme="dark"] .mag-btn:hover{background:#223b4a;}
html[data-theme="dark"] .mag-btn.chiaro{background:rgba(33,39,44,0.133);color:#21272c;border-color:rgba(33,39,44,0.333);}
html[data-theme="dark"] .mag-btn.chiaro:hover{background:rgba(33,39,44,0.251);}
html[data-theme="dark"] .mag-btn.verde,html[data-theme="dark"] .dlg-azioni .verde{background:#8cd8bd;color:#21272c;border-color:#8cd8bd;}
html[data-theme="dark"] .mag-barra,html[data-theme="dark"] .mag-filtri{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .mag-filtri label,html[data-theme="dark"] .mag-ordina{color:#aabac5;}
html[data-theme="dark"] .mag-conteggio{color:#aabac5;}
html[data-theme="dark"] .mag-vista .spento{color:#adbac3;}
html[data-theme="dark"] .mag-vista .acceso{color:#8fc2e0;}
html[data-theme="dark"] .mag-switch span{background:#3b5160;}
html[data-theme="dark"] .mag-switch span:before{background:#21272c;}
html[data-theme="dark"] .mag-switch input:checked+span{background:#60a8d3;}
html[data-theme="dark"] .mag-icona{border:1px solid #374854;background:#21272c;color:#8fc2e0;}
html[data-theme="dark"] .mag-icona:hover:not(:disabled){background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .mag-icona.pericolo{color:#e18e98;}
html[data-theme="dark"] .mag-tabella{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .mag-riga{border-bottom:1px solid #2b3841;}
html[data-theme="dark"] .mag-testa{background:#172026;color:#aabac5;}
html[data-theme="dark"] .mag-testa .th:hover{color:#8fc2e0;}
html[data-theme="dark"] .mag-riga:not(.mag-testa):hover{background:#17272f;}
html[data-theme="dark"] .mag-riga.sel{background:#223b4a;box-shadow:inset 3px 0 0 #60a8d3;}
html[data-theme="dark"] .mag-riga .ambra{color:#fbc574;}
html[data-theme="dark"] .mag-riga .l{color:#aeb9c2;}
html[data-theme="dark"] .mag-totali{color:#a8bac7;background:#273545;}
html[data-theme="dark"] .mag-totali strong{color:#bccddb;}
html[data-theme="dark"] .mag-stato{color:#aeb9c2;}
html[data-theme="dark"] .tip-box{background:#21272c;border:1px solid #3b5160;box-shadow:0 12px 32px rgba(0,0,0,0.489);}
html[data-theme="dark"] .modale-sfondo{background:rgba(179,197,212,0.533);}
html[data-theme="dark"] .modale{background:#21272c;box-shadow:0 20px 60px rgba(0,0,0,0.65);}
html[data-theme="dark"] .modale-testa{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .modale-chiudi{background:transparent;color:#21272c;border:none;}
html[data-theme="dark"] .modale-chiudi:hover{background:rgba(33,39,44,0.188);}
html[data-theme="dark"] .dlg-nota{color:#aeb9c2;}
html[data-theme="dark"] .dlg-errore{background:#5b2510;border:1px solid #904e36;color:#e79d89;}
html[data-theme="dark"] .dlg-sezione{color:#8fc2e0;}
html[data-theme="dark"] .dlg-campo{color:#aabac5;}
html[data-theme="dark"] .dlg-prenotazione{background:#19242c;border:1px solid #2f3f4b;}
html[data-theme="dark"] .dlg-anteprima{background:#19242c;}
html[data-theme="dark"] .dlg-pesi div{background:#21272c;border:1px solid #2f3f4b;}
html[data-theme="dark"] .dlg-pesi small{color:#aeb9c2;}
html[data-theme="dark"] .dlg-movimenti{background:#19242c;}
@media (max-width:760px){html[data-theme="dark"] .menu-barra .menu-voci{box-shadow:none;border-color:#33414b;}}
html[data-theme="dark"] .mag-riga .ck input{accent-color:#60a8d3;}
html[data-theme="dark"] .dlg-lista{border:1px solid #3b5160;background:#21272c;}
html[data-theme="dark"] .dlg-voce{border:0;background:transparent;color:#b3c5d4;}
html[data-theme="dark"] .dlg-voce:hover{background:#19242c;}
html[data-theme="dark"] .dlg-voce.sel{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .versione{color:#adbac3;}
html[data-theme="dark"] .chiam-info small{color:#aeb9c2;}
html[data-theme="dark"] body:has(.chiam-pagina){background:#1f1a1c}
html[data-theme="dark"] .chiam-pagina{min-height:100vh;color:#fff;display:flex;flex-direction:column}
html[data-theme="dark"] .chiam-pagina #chiamata{display:flex;flex-direction:column;flex:1;min-height:100vh}
html[data-theme="dark"] .chiam-lobby{background:#21272c;color:#b3c5d4;}
html[data-theme="dark"] .chiam-eyebrow{color:#8fc2e0;}
html[data-theme="dark"] .chiam-anteprima{width:100%;aspect-ratio:16/9;background:#1d2b36;border-radius:12px;object-fit:cover;transform:scaleX(-1)}
html[data-theme="dark"] .chiam-msg{color:#aeb9c2;}
html[data-theme="dark"] .chiam-errore{color:#e18e98;}
html[data-theme="dark"] .chiam-testata{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;font-size:15px}
html[data-theme="dark"] .chiam-conteggio{opacity:.7;font-size:13px}
html[data-theme="dark"] .chiam-avviso{margin:0 18px;background:#ffffff1c;border-radius:8px;padding:8px 12px;font-size:14px}
html[data-theme="dark"] .chiam-principale{display:flex;flex:1;min-height:0;gap:12px;padding:12px 18px}
html[data-theme="dark"] .chiam-griglia{flex:1;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-content:center}
html[data-theme="dark"] .chiam-griglia[data-n="1"]{grid-template-columns:minmax(0,860px);justify-content:center}
html[data-theme="dark"] .chiam-griglia[data-n="2"],html[data-theme="dark"] .chiam-griglia[data-n="3"],html[data-theme="dark"] .chiam-griglia[data-n="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme="dark"] .chiam-griglia.con-schermo{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
html[data-theme="dark"] .chiam-griglia.con-schermo .chiam-tessera.schermo{grid-column:1/-1;aspect-ratio:auto;height:62vh}
html[data-theme="dark"] .chiam-tessera{position:relative;background:#2f282b;border-radius:12px;overflow:hidden;aspect-ratio:16/9;border:2px solid transparent;transition:border-color .15s}
html[data-theme="dark"] .chiam-tessera.parla{border-color:#4cc38a}
html[data-theme="dark"] .chiam-tessera video{width:100%;height:100%;object-fit:cover;display:block}
html[data-theme="dark"] .chiam-tessera.schermo video{object-fit:contain;background:#000}
html[data-theme="dark"] .chiam-tessera.locale video{transform:scaleX(-1)}
html[data-theme="dark"] .chiam-avatar{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:700;color:#fff;background:linear-gradient(135deg,#2b7bab,#1f5f87)}
html[data-theme="dark"] .chiam-avatar[hidden]{display:none}
html[data-theme="dark"] .chiam-etichetta{position:absolute;left:8px;bottom:8px;background:#000a;padding:3px 9px;border-radius:7px;font-size:13px;display:flex;gap:6px}
html[data-theme="dark"] .chiam-chat{width:320px;max-width:100%;background:#1d2b36;border-radius:12px;display:flex;flex-direction:column;padding:12px}
html[data-theme="dark"] .chiam-chat[hidden]{display:none}
html[data-theme="dark"] .chiam-chat h2{font-size:15px;margin:0 0 8px;color:#fff}
html[data-theme="dark"] .chiam-chat-lista{flex:1;overflow:auto;display:flex;flex-direction:column;gap:6px;font-size:14px}
html[data-theme="dark"] .chiam-msg-riga{display:flex;flex-direction:column;background:#ffffff14;border-radius:8px;padding:6px 10px}
html[data-theme="dark"] .chiam-msg-riga.mio{background:#2b7bab88}
html[data-theme="dark"] .chiam-msg-riga strong{font-size:12px;opacity:.8}
html[data-theme="dark"] .chiam-chat-form{display:flex;gap:6px;margin-top:8px}
html[data-theme="dark"] .chiam-chat-form input{margin:0;min-height:0;padding:9px;flex:1}
html[data-theme="dark"] .chiam-chat-form button{margin:0;min-height:0;padding:8px 12px}
html[data-theme="dark"] .chiam-barra{display:flex;justify-content:center;gap:12px;padding:12px 18px 20px}
html[data-theme="dark"] .chiam-bt{position:relative;width:52px;height:52px;border-radius:50%;border:0;background:#ffffff22;color:#fff;padding:0;margin:0;display:flex;align-items:center;justify-content:center;min-height:0}
html[data-theme="dark"] .chiam-bt:hover:not(:disabled){background:#ffffff40}
html[data-theme="dark"] .chiam-bt svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="dark"] .chiam-bt.spento{background:#fff;color:#2b7bab}
html[data-theme="dark"] .chiam-bt.attivo{background:#4cc38a;color:#06301c}
html[data-theme="dark"] .chiam-bt.chiam-esci{background:#d8353f;width:64px;border-radius:26px}
html[data-theme="dark"] .chiam-bt:disabled{opacity:.35}
html[data-theme="dark"] .chiam-badge{position:absolute;top:-2px;right:-2px;background:#d8353f;color:#fff;border-radius:10px;font-size:11px;padding:1px 6px}
html[data-theme="dark"] .chiam-badge[hidden]{display:none}
@media (max-width:800px){html[data-theme="dark"] .chiam-principale{flex-direction:column}
html[data-theme="dark"] .chiam-chat{width:auto;max-height:40vh}
html[data-theme="dark"] .chiam-griglia[data-n="2"],html[data-theme="dark"] .chiam-griglia[data-n="3"],html[data-theme="dark"] .chiam-griglia[data-n="4"]{grid-template-columns:1fr}
html[data-theme="dark"] .chiam-griglia.con-schermo .chiam-tessera.schermo{height:40vh}}
html[data-theme="dark"] .chiam-elenco-persone{border:1px solid var(--bordo);background:#21272c;}
html[data-theme="dark"] .pian .p-prova{background:#665212;color:#f9dd8d;border:1px solid #9a7404;}
html[data-theme="dark"] .p-barra-strumenti{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .p-barra-strumenti button.attivo{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .p-intervallo{color:#aabac5;}
html[data-theme="dark"] .pian .p-avviso{background:#0b1a33;color:#8babe4;}
html[data-theme="dark"] .p-op small{color:#aeb9c2;}
html[data-theme="dark"] .p-op.attivo{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .p-op.attivo small{color:#5c1036;}
html[data-theme="dark"] .p-vassoio{background:#21272c;border:1px dashed #3b5160;}
html[data-theme="dark"] .p-chip{background:#172026;border:1px solid #354651;}
html[data-theme="dark"] .p-chip small{color:#aeb9c2;}
html[data-theme="dark"] .p-vuoto{color:#aeb9c2;}
html[data-theme="dark"] .p-calendario{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .p-angolo{background:#172026;border-right:1px solid var(--bordo);border-bottom:1px solid var(--bordo);}
html[data-theme="dark"] .p-testa{background:#172026;border-bottom:1px solid var(--bordo);}
html[data-theme="dark"] .p-giorno{border-left:1px solid #354651;}
html[data-theme="dark"] .p-giorno b{color:#aabac5;}
html[data-theme="dark"] .p-giorno.fine{background:#433337;}
html[data-theme="dark"] .p-ora{color:#afb9c0;}
html[data-theme="dark"] .p-etichetta{border-bottom:1px solid #2b3841;}
html[data-theme="dark"] .p-etichetta small{color:#aeb9c2;}
html[data-theme="dark"] .p-etichetta.esterna{background:#20152c;}
html[data-theme="dark"] .p-etichetta.postazione{background:#2d2815;}
html[data-theme="dark"] .p-riga{border-bottom:1px solid #2b3841;}
html[data-theme="dark"] .p-riga.bersaglio{background:rgba(34,59,74,0.533);}
html[data-theme="dark"] .p-fuori{background:repeating-linear-gradient(135deg,#3b2e33 0 6px,#251d20 6px 12px);}
html[data-theme="dark"] .p-adesso{background:#d33640;}
html[data-theme="dark"] .p-barra{color:#21272c;box-shadow:0 1px 3px rgba(0,0,0,0.52);}
html[data-theme="dark"] .p-barra .p-t{text-shadow:0 1px 2px rgba(0,0,0,0.65);}
html[data-theme="dark"] .p-barra small{text-shadow:0 1px 2px rgba(0,0,0,0.65);}
html[data-theme="dark"] .p-barra.senza{background:repeating-linear-gradient(45deg,#617481 0 8px,#52616c 8px 16px);}
html[data-theme="dark"] .p-barra.esterna{border:1px dashed rgba(33,39,44,0.533);}
html[data-theme="dark"] .p-barra.sel{outline:3px solid #cacfd4;}
html[data-theme="dark"] .p-barra.ritardo:after{background:#ec0618;}
html[data-theme="dark"] .p-barra.anticipo:before{background:rgba(33,39,44,0.6);}
html[data-theme="dark"] .p-pannello{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .p-pannello label{color:#aabac5;}
html[data-theme="dark"] .p-sotto{color:#aeb9c2;}
html[data-theme="dark"] .p-lotti{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .p-fase{background:#2d353b;color:#b8b8b8;}
html[data-theme="dark"] .p-fase.pian{background:#1a2c4e;color:#8babe4;}
html[data-theme="dark"] .p-fase.ok{background:#284631;color:#91dea7;text-decoration:line-through;}
html[data-theme="dark"] .ps{color:#b3c5d4;}
html[data-theme="dark"] .ps button{border:1px solid #374854;background:#21272c;color:#8dc1e2;}
html[data-theme="dark"] .ps button:hover{background:#223b4a;}
html[data-theme="dark"] .ps button.attivo{background:#60a8d3;color:#21272c;border-color:#60a8d3;}
html[data-theme="dark"] .ps .ps-primario{background:#60a8d3;color:#21272c;border-color:#60a8d3;}
html[data-theme="dark"] .ps .ps-primario:hover{background:#7ab7dd;}
html[data-theme="dark"] .ps .ps-pericolo{color:#e18e98;}
html[data-theme="dark"] .ps input,html[data-theme="dark"] .ps select,html[data-theme="dark"] .ps textarea{border:1px solid #3b5160;background:#21272c;}
html[data-theme="dark"] .ps table{border:0;background:#21272c;}
html[data-theme="dark"] .ps th,html[data-theme="dark"] .ps td{border-bottom:1px solid #2b3841;}
html[data-theme="dark"] .ps th{background:#172026;color:#aabac5;}
html[data-theme="dark"] .ps-prova{background:#665212;color:#f9dd8d;border:1px solid #9a7404;}
html[data-theme="dark"] .ps-tabs button{border:0;background:transparent;color:#aeb9c2;}
html[data-theme="dark"] .ps-tabs button.attivo{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .ps-toolbar{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .ps-sep{background:#354651;}
html[data-theme="dark"] .ps-intervallo{color:#aabac5;}
html[data-theme="dark"] .ps-avviso{background:#0b1a33;color:#8babe4;}
html[data-theme="dark"] .ps-sx>*{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .ps-mini-gr i{color:#afb9c0;}
html[data-theme="dark"] .ps-mini-gr i.sett{color:#bdb2b5;}
html[data-theme="dark"] .ps-mini-gr button{border:0;background:transparent;color:#b3c5d4;}
html[data-theme="dark"] .ps-mini-gr button.fuori{color:#beb1b6;}
html[data-theme="dark"] .ps-mini-gr button.fest{color:#e18e98;}
html[data-theme="dark"] .ps-mini-gr button.in{background:#223b4a;}
html[data-theme="dark"] .ps-mini-gr button.oggi{outline:2px solid #60a8d3;}
html[data-theme="dark"] .ps-liste h4{color:#aabac5;}
html[data-theme="dark"] .ps-ck i{border:1px solid rgba(0,0,0,0.153);}
html[data-theme="dark"] .ps-opv{border:0 !important;background:transparent !important;color:#b3c5d4 !important;}
html[data-theme="dark"] .ps-opv.attivo{background:#223b4a !important;}
html[data-theme="dark"] .ps-img{color:#bcb3b6;}
html[data-theme="dark"] .ps-img-testo{color:#b3c5d4;}
html[data-theme="dark"] .ps-img-testo small{color:#aeb9c2;}
html[data-theme="dark"] .ps-cal{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .ps-cal-testa{background:#172026;border-bottom:1px solid var(--bordo);}
html[data-theme="dark"] .ps-cal-ang{color:#aabac5;border-right:1px solid var(--bordo);}
html[data-theme="dark"] .ps-gg{border-left:1px solid #594047;}
html[data-theme="dark"] .ps-gg b{color:#aabac5;}
html[data-theme="dark"] .ps-gg.fest{background:#423034;}
html[data-theme="dark"] .ps-gg.oggi b{color:#8fc2e0;}
html[data-theme="dark"] .ps-gg span{color:#afb9c0;}
html[data-theme="dark"] .ps-riga{border-bottom:1px solid #21272c;}
html[data-theme="dark"] .ps-riga.bersaglio .ps-celle{outline:2px dashed #60a8d3;}
html[data-theme="dark"] .ps-lbl{border-right:1px solid rgba(0,0,0,0.077);}
html[data-theme="dark"] .ps-celle{background-image:linear-gradient(90deg,rgba(0,0,0,0.09) 1px,transparent 1px);}
html[data-theme="dark"] .ps-chiuso{background:repeating-linear-gradient(135deg,rgba(0,0,0,0.059) 0 6px,rgba(0,0,0,0.117) 6px 12px);}
html[data-theme="dark"] .ps-slot{background:rgba(16,94,222,0.2);border:1px solid #105ede;}
html[data-theme="dark"] .ps-adesso{background:#e0355a;}
html[data-theme="dark"] .ps-ap{color:#bcc8d8;box-shadow:0 1px 3px rgba(0,0,0,0.52),inset 0 0 0 1px rgba(0,0,0,0.09);}
html[data-theme="dark"] .ps-ap .av{color:#21272c;text-shadow:0 1px 1px rgba(0,0,0,0.65);}
html[data-theme="dark"] .ps-ap .av.vuoto{background:#626a78;}
html[data-theme="dark"] .ps-ap u{background:#63e693;text-decoration:none;}
html[data-theme="dark"] .ps-ap .rs{background:linear-gradient(90deg,transparent,rgba(0,0,0,0.23));}
html[data-theme="dark"] .ps-ap.sel{outline:2px solid #c6d0e5;}
html[data-theme="dark"] .ps-vuoto{color:#aeb9c2;}
html[data-theme="dark"] .ps-col-bt small{color:#aeb9c2;}
html[data-theme="dark"] .ps-tab{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .ps-tab tbody tr:hover td{background:#17272f;}
html[data-theme="dark"] .ps-tab tr.sel td{background:#223b4a !important;}
html[data-theme="dark"] .ps-tab tr.gia td{background:#675812;}
html[data-theme="dark"] .ps-tab td.gia{background:#a68607 !important;}
html[data-theme="dark"] .ps-tab tr.flt th{background:#21272c;}
html[data-theme="dark"] .ps-tab .pm{color:#8fc2e0;}
html[data-theme="dark"] .ps-tab tr.det td{background:#19242c;color:#aabac5;}
html[data-theme="dark"] .ps-tabella-scroll{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .ps-ed tr.flt th{background:#21272c;}
html[data-theme="dark"] .ps-modale-sfondo{background:rgba(179,197,212,0.533);}
html[data-theme="dark"] .ps-modale{background:#21272c;box-shadow:0 20px 60px rgba(0,0,0,0.65);color:#b3c5d4;}
html[data-theme="dark"] .ps-modale-testa{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .ps-modale-testa h2{color:#21272c;}
html[data-theme="dark"] .ps-x{background:transparent !important;color:#21272c !important;border:0 !important;}
html[data-theme="dark"] .ps-modale-piede{background:#19242c;border-top:1px solid #2f3f4b;}
html[data-theme="dark"] .ps-modale button{border:1px solid #374854;background:#21272c;color:#8dc1e2;}
html[data-theme="dark"] .ps-modale .ps-primario{background:#60a8d3;color:#21272c;border-color:#60a8d3;}
html[data-theme="dark"] .ps-modale .ps-pericolo{color:#e18e98;}
html[data-theme="dark"] .ps-modale label{color:#aabac5;}
html[data-theme="dark"] .ps-modale input,html[data-theme="dark"] .ps-modale select,html[data-theme="dark"] .ps-modale textarea{border:1px solid #3b5160;}
html[data-theme="dark"] .ps-nota{color:#aeb9c2;}
html[data-theme="dark"] .ps-stato-sx .ps-img{border:1px dashed #3b5160;}
html[data-theme="dark"] .ps-stato td.ok{color:#87e8ab;}
html[data-theme="dark"] .ps-stato td.ko{color:#e98787;}
html[data-theme="dark"] .ps-stato tr.det td{background:#19242c;color:#aabac5;}
html[data-theme="dark"] .ps-stato .pm{color:#8fc2e0;}
html[data-theme="dark"] .menu-titolo{color:#bbb4b6;}
html[data-theme="dark"] .menu-titolo:not(:first-child){border-top:1px solid #403135;}
html[data-theme="dark"] .ts-elenco{border:1px solid var(--bordo);background:#21272c;}
html[data-theme="dark"] .ts-elenco thead th{background:#261a1c;}
html[data-theme="dark"] .ts-elenco tr.selezionata td{background:#223b4a;}
html[data-theme="dark"] .ts-elenco tbody tr:hover td{background:#2b181a;}
html[data-theme="dark"] .ts-velo{background:rgba(179,197,212,0.4);}
html[data-theme="dark"] .ts-editor{box-shadow:0 24px 70px rgba(0,0,0,0.65);}
html[data-theme="dark"] .ts-tab button.attivo{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .attivo-link{background:#60a8d3;color:#21272c;border-color:#60a8d3;}
html[data-theme="dark"] .menu-risultati{background:#21272c;border:1px solid #34444f;box-shadow:0 10px 30px rgba(0,0,0,0.52);}
html[data-theme="dark"] .menu-risultati a{text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] .menu-risultati a:hover,html[data-theme="dark"] .menu-risultati a.sel{background:#14222c;}
html[data-theme="dark"] .menu-risultati small{color:#aeb9c1;}
html[data-theme="dark"] .menu-risultati .gruppo-ris{color:#aeb9c1;}
html[data-theme="dark"] .menu-risultati .nessuna{color:#aeb9c1;}
html[data-theme="dark"] .cal-griglia{border:1px solid #33414b;background:#21272c;}
html[data-theme="dark"] .cal-testa span{background:#172026;color:#aabac5;}
html[data-theme="dark"] .cal-giorno{border-top:1px solid #2b3a44;border-left:1px solid #2b3a44;}
html[data-theme="dark"] .cal-giorno:hover{background:#132533;}
html[data-theme="dark"] .cal-giorno.fuori{background:#1c252a;color:#aabac5;}
html[data-theme="dark"] .cal-giorno.weekend{background:#1c242d;}
html[data-theme="dark"] .cal-giorno.oggi .cal-num{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .cal-voce.festa{background:#4c1a23;color:#e18e98;}
html[data-theme="dark"] .cal-voce.assenza{color:#21272c;}
html[data-theme="dark"] .cal-voce.evento{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .cal-voce.evento:hover{background:#7ab7dd;}
html[data-theme="dark"] .cal-voce.evento.invito{background:#f49d38;}
html[data-theme="dark"] .cal-invitati{border:1px solid #33414b;}
html[data-theme="dark"] .cal-voce.evento.aziendale{background:#611adc;}
html[data-theme="dark"] .cal-voce.evento.aziendale:hover{background:#783bd7;}
html[data-theme="dark"] .ntf{background:#21272c;border:1px solid #33414b;border-left:5px solid #60a8d3;box-shadow:0 12px 32px rgba(0,0,0,0.572);}
html[data-theme="dark"] .ntf-icona{color:#21272c;background:#60a8d3;}
html[data-theme="dark"] .ntf-testo{color:#b3c5d4;text-decoration:none;}
html[data-theme="dark"] .ntf-chiudi{border:0;background:transparent;color:#aebac1;}
html[data-theme="dark"] .ntf-chiudi:hover{color:#b3c5d4;background:transparent;}
html[data-theme="dark"] .ntf-barra{background:#60a8d3;}
html[data-theme="dark"] .ntf-successo{border-left-color:#63e693;}
html[data-theme="dark"] .ntf-successo .ntf-icona{background:#63e693;}
html[data-theme="dark"] .ntf-successo .ntf-barra{background:#63e693;}
html[data-theme="dark"] .ntf-errore{border-left-color:#d35565;}
html[data-theme="dark"] .ntf-errore .ntf-icona{background:#d35565;}
html[data-theme="dark"] .ntf-errore .ntf-barra{background:#d35565;}
html[data-theme="dark"] .notifica a,html[data-theme="dark"] .notifica>span{border-left:3px solid transparent;text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] .notifica a:hover{background:#14222c;}
html[data-theme="dark"] .notifica small{color:#aebac1;}
html[data-theme="dark"] .notifica.non-letta>a,html[data-theme="dark"] .notifica.non-letta>span{background:#142330;border-left-color:#60a8d3;}
html[data-theme="dark"] .notifica-errore.non-letta>a,html[data-theme="dark"] .notifica-errore.non-letta>span{border-left-color:#d35565;}
html[data-theme="dark"] .notifica-successo.non-letta>a,html[data-theme="dark"] .notifica-successo.non-letta>span{border-left-color:#63e693;}
html[data-theme="dark"] .pallino-notifica{color:#21272c;}
html[data-theme="dark"] .cal-cf td:first-child,html[data-theme="dark"] .cal-cf th:first-child{background:#21272c;}
html[data-theme="dark"] tr.riga-totale td{background:#142330;}
html[data-theme="dark"] td.manuale{background:#5a4710;}
html[data-theme="dark"] .lavoro-menu .piccolo{color:#adb9c3;}
html[data-theme="dark"] .lavoro-disegno{background:#21272c;border:1px solid #33414b;}
html[data-theme="dark"] .lavoro-disegno:fullscreen{background:#21272c;}
html[data-theme="dark"] .dis-barra{border-bottom:1px solid #2b3a44;}
html[data-theme="dark"] .dis-immagine{background:#18252e;}
html[data-theme="dark"] .cq-box{border:2px solid #33414b;background:#18252e;}
html[data-theme="dark"] .cq-dovuto{border-color:#f49d38;background:#5a4010;}
html[data-theme="dark"] .visore3d-box{background:#21272c;border:1px solid #33414b;}
html[data-theme="dark"] .visore3d-box:fullscreen{background:#21272c;}
html[data-theme="dark"] .visore3d{background:#192129;}
html[data-theme="dark"] .visore3d-stato{color:#aabac5;}
html[data-theme="dark"] .visore3d-stato.errore{color:#e18e98;}
html[data-theme="dark"] .visore3d-info{background:rgba(33,39,44,0.8);color:#aabac5;}
html[data-theme="dark"] .visore3d-aiuto{color:#aebac1;border-top:1px solid #2b3a44;}
html[data-theme="dark"] .modale-3d{box-shadow:0 24px 70px rgba(0,0,0,0.65);background:#21272c;}
html[data-theme="dark"] .archiviato td{color:#aebac1;}
html[data-theme="dark"] .archiviato td strong{color:#aeb9c2;}
html[data-theme="dark"] .dnc-stato{background:#172026;border:1px solid #33414b;}
html[data-theme="dark"] .dnc-stato.ok{background:#284a2e;border-color:#376d43;}
html[data-theme="dark"] .dnc-stato.errore{background:#5b2510;border-color:#904e36;}
html[data-theme="dark"] .dnc-stato.interrotto{background:#6e5713;border-color:#8e7222;}
html[data-theme="dark"] .dnc-barra{background:#33414b;}
html[data-theme="dark"] .dnc-barra span{background:#60a8d3;}
html[data-theme="dark"] .dnc-monitor{background:#c4d5e0;color:#2d4350;}
html[data-theme="dark"] .sim-contenitore{background:#21272c;}
html[data-theme="dark"] .sim-stato{color:#aabac5;}
html[data-theme="dark"] .sim-stato.errore{color:#e18e98;}
html[data-theme="dark"] .sim-viewer{background:#192129;border:1px solid #33414b;}
html[data-theme="dark"] .sim-block{border:1px solid #33414b;background:#21272c;}
html[data-theme="dark"] .sim-block-title{color:#adbac2;}
html[data-theme="dark"] .sim-vel{color:#adbac2;}
html[data-theme="dark"] .sim-vel-v,html[data-theme="dark"] .sim-tempo{color:#8fc2e0;}
html[data-theme="dark"] .sim-info td{border-bottom:1px solid #172026;}
html[data-theme="dark"] .sim-info td:first-child{color:#adbac2;}
html[data-theme="dark"] .sim-hint,html[data-theme="dark"] .sim-vuoto{color:#aebac1;}
html[data-theme="dark"] .presenza-conta{background:#6acf7e;color:#21272c;border:2px solid #21272c;}
html[data-theme="dark"] .presenza-stato{color:#aeb9c2;}
html[data-theme="dark"] .presenza-schede button.attiva{border-bottom-color:#60a8d3;background:#14222c;}
html[data-theme="dark"] .presenza-badge{background:#e03544;color:#10161b;}
html[data-theme="dark"] .presenza-elenco li{border-bottom:1px solid #172026;}
html[data-theme="dark"] .presenza-elenco .vuoto{color:#aebac1;}
html[data-theme="dark"] .presenza-pallino.on{background:#6acf7e;}
html[data-theme="dark"] .presenza-pallino.nd{background:#e03544;}
html[data-theme="dark"] .presenza-nome small{color:#aebac1;}
html[data-theme="dark"] .chat-messaggi{background:#19242c;}
html[data-theme="dark"] .chat-msg{background:#21272c;border:1px solid #2e3d47;}
html[data-theme="dark"] .chat-msg.mio{background:#223b4a;border-color:#284e66;}
html[data-theme="dark"] .chat-meta{color:#aebac1;}
html[data-theme="dark"] .chat-suggerimenti{background:var(--superficie,#21272c);border:1px solid #3d4f5a;box-shadow:0 6px 18px rgba(0,0,0,0.468);}
html[data-theme="dark"] .chat-suggerimenti li.attiva,html[data-theme="dark"] .chat-suggerimenti li:hover{background:#60bef0;color:#21272c;}
html[data-theme="dark"] .chat-nota{color:#aebac1;}
html[data-theme="dark"] .chat-messaggi .vuoto{color:#aebac1;}
html[data-theme="dark"] .chiamata-box{background:#21272c;border:1px solid #374854;box-shadow:0 20px 60px rgba(0,0,0,0.65);}
html[data-theme="dark"] .chiamata-arrivo{border-color:#6acf7e;box-shadow:0 20px 60px rgba(0,0,0,0.65);}
html[data-theme="dark"] .chiamata-titolo{color:#adbac2;}
html[data-theme="dark"] .chiamata-nome{color:#b3c5d4;}
html[data-theme="dark"] th[data-ordina]:hover{background:#273b49;}
html[data-theme="dark"] th.ord-su::after{color:#8fc2e0;}
html[data-theme="dark"] th.ord-giu::after{color:#8fc2e0;}
html[data-theme="dark"] .proposte{background:#142330;border:1px solid #2f4657;}
html[data-theme="dark"] .proposta{border-top:1px solid #2a404f;}
html[data-theme="dark"] .proposta .stelle{color:#fbcf74;}
html[data-theme="dark"] .allegato-img{background:rgba(0,0,0,0.077);}
html[data-theme="dark"] .allegato-link{background:rgba(0,0,0,0.059);text-decoration:none;}
html[data-theme="dark"] .allegato-link:hover{background:rgba(0,0,0,0.117);}
html[data-theme="dark"] .allegato-barra{background:rgba(0,0,0,0.153);}
html[data-theme="dark"] .allegato-barra i{background:#60a8d3;}
html[data-theme="dark"] .chat-graffetta,html[data-theme="dark"] .chiam-graffetta{background:transparent;border:1px solid rgba(0,0,0,0.23);}
html[data-theme="dark"] .trascina{outline:2px dashed #60a8d3;background:rgba(96,168,211,0.078);}
html[data-theme="dark"] #occupato-barra i{background:linear-gradient(90deg,transparent,#60a8d3,#e67a8a);}
html[data-theme="dark"] #occupato-barra span{background:#bccdda;color:#21272c;box-shadow:0 4px 16px rgba(0,0,0,0.65);}
html[data-theme="dark"] #occupato-barra span::before{border:2px solid rgba(33,39,44,0.333);border-top-color:#21272c;}
html[data-theme="dark"] .effetto-voce{border:2px solid transparent;background:rgba(33,39,44,0.078);}
html[data-theme="dark"] .effetto-voce:hover{background:rgba(33,39,44,0.149);}
html[data-theme="dark"] .effetto-voce.attivo{border-color:#4abe86;background:rgba(74,190,134,0.133);}
html[data-theme="dark"] .effetto-miniatura{background:rgba(33,39,44,0.133) center/cover no-repeat;color:#21272c;}
html[data-theme="dark"] .effetto-voce.senza .effetto-miniatura{background:repeating-linear-gradient(45deg,rgba(33,39,44,0.078),rgba(33,39,44,0.078) 6px,rgba(33,39,44,0.031) 6px,rgba(33,39,44,0.031) 12px);}
html[data-theme="dark"] .chiam-effetti{position:fixed;left:50%;transform:translateX(-50%);bottom:92px;width:min(460px,calc(100vw - 24px));max-height:60vh;overflow:auto;background:#1d2b36;color:#fff;border-radius:14px;padding:14px;box-shadow:0 12px 40px #000a;z-index:50}
html[data-theme="dark"] .chiam-effetti[hidden]{display:none}
html[data-theme="dark"] .chiam-effetti h2{font-size:15px;margin:0 0 10px;color:#fff}
html[data-theme="dark"] .chiam-lobby .effetto-voce{background:#28363e;color:#bccdda;}
html[data-theme="dark"] .chiam-lobby .effetto-voce:hover{background:#2d3d48;}
html[data-theme="dark"] .chiam-lobby .effetto-voce.attivo{background:#234b36;border-color:#6ad0a1;}
html[data-theme="dark"] .chiam-lobby .effetto-miniatura{background-color:#384750;color:#bccdda;}
html[data-theme="dark"] .chiam-lobby .effetto-voce.senza .effetto-miniatura{background:repeating-linear-gradient(45deg,#384750,#384750 6px,#2b3b45 6px,#2b3b45 12px);}
html[data-theme="dark"] .chiam-lobby .effetti-nota,html[data-theme="dark"] .chiam-lobby .chiam-nota{color:#aeb9c2;}
html[data-theme="dark"] .stato-elenco li{border-left:5px solid #718592;background:#19242c;}
html[data-theme="dark"] .stato-segno{color:#10161b;background:#718592;}
html[data-theme="dark"] .stato-ok{border-left-color:#6ad0a1;}
html[data-theme="dark"] .stato-ok .stato-segno{background:#6ad0a1;}
html[data-theme="dark"] .stato-attenzione{border-left-color:#e0aa3c;background:#352809;}
html[data-theme="dark"] .stato-attenzione .stato-segno{background:#e0aa3c;}
html[data-theme="dark"] .stato-errore{border-left-color:#d35c50;background:#32100e;}
html[data-theme="dark"] .stato-errore .stato-segno{background:#d35c50;}
html[data-theme="dark"] .errore-pagina{background:#32100e;border:1px solid #72261d;}
html[data-theme="dark"] .errore-pagina h1{color:#e79088;}
html[data-theme="dark"] .errore-rif{color:#c6aca9;}
html[data-theme="dark"] .diagnosi-collegamento{background:rgba(33,39,44,0.078);}
html[data-theme="dark"] button.elimina{background:transparent;color:#de9191;border:1px solid #7e3737;}
html[data-theme="dark"] button.elimina:hover{background:#32100e;}
html[data-theme="dark"] button.pericolo{background:#df5f58;color:#10161b;border:0;}
html[data-theme="dark"] .elimina-conferma{background:#32100e;border:1px solid #72261d;}
html[data-theme="dark"] .elimina-errore{background:#57390f;border:1px solid #926618;color:#fccb7d;}
html[data-theme="dark"] .regole-conteggio{color:#aeb9c2;}
html[data-theme="dark"] .regola{border:1px solid #31404a;background:#21272c;}
html[data-theme="dark"] .regola.da-abbinare{border-left:4px solid #e0aa3c;}
html[data-theme="dark"] .regola.aperta{border-color:#60a8d3;box-shadow:0 2px 10px rgba(0,0,0,0.347);}
html[data-theme="dark"] .regola-testa:hover{background:#16242d;}
html[data-theme="dark"] .regola-testa:focus-visible{outline:2px solid #60a8d3;}
html[data-theme="dark"] .freccia{color:#8fc2e0;}
html[data-theme="dark"] .regola-gruppo{background:#273843;color:#a3bbcc;}
html[data-theme="dark"] .regola-qta,html[data-theme="dark"] .regola-taglio{color:#a3bbcc;}
html[data-theme="dark"] .regola-mat{color:#9dd3b8;}
html[data-theme="dark"] .regola-mat.mancante{color:#fbc974;}
html[data-theme="dark"] .regola-mat.definire{color:#aebac1;}
html[data-theme="dark"] .regola-corpo{border-top:1px solid #2a3a45;}
html[data-theme="dark"] .materiale-scelto{background:#16242d;}
html[data-theme="dark"] .materiale-tipo{background:#273843;color:#a3bbcc;}
html[data-theme="dark"] .materiale-tipo.ts{background:#2c4735;color:#99d6b0;}
html[data-theme="dark"] .materiale-tipo.acq{background:#5c4215;color:#fbcc74;}
html[data-theme="dark"] .materiale-risultati{background:#21272c;border:1px solid #344d5e;box-shadow:0 8px 24px rgba(0,0,0,0.347);}
html[data-theme="dark"] .materiale-risultati button{background:transparent;border:0;border-bottom:1px solid #28363e;}
html[data-theme="dark"] .materiale-risultati button:hover{background:#12232e;}
html[data-theme="dark"] .materiale-vuoto{color:#aebac1;}
html[data-theme="dark"] .procedura-scheda{border:1px solid #32434f;background:#21272c;text-decoration:none;}
html[data-theme="dark"] .procedura-scheda:hover,html[data-theme="dark"] .procedura-scheda:focus-visible{border-color:#5ca5d4;box-shadow:0 2px 10px rgba(0,0,0,0.312);}
html[data-theme="dark"] .procedura-desc{color:#a7bac8;}
html[data-theme="dark"] .procedura-scheda small{color:#aeb9c1;}
html[data-theme="dark"] .procedura-punti button.attivo{background:#63acde;color:#21272c;border-color:#63acde;}
html[data-theme="dark"] .procedura-immagine img{border:1px solid #32434f;}
html[data-theme="dark"] .procedura-modifica-immagine img{border:1px solid #32434f;}
html[data-theme="dark"] .oggi-voce{background:#21272c;border:1px solid var(--bordo);border-left:5px solid #3f6783;text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] .oggi-voce:hover{box-shadow:0 10px 24px rgba(0,0,0,0.312);}
html[data-theme="dark"] .oggi-voce:focus-visible{outline:3px solid #37749d;}
html[data-theme="dark"] .oggi-voce.avviso{border-left-color:#e2ac35;background:#392a0a;}
html[data-theme="dark"] .oggi-voce.critico{border-left-color:#d04157;background:#3c0b10;}
html[data-theme="dark"] .oggi-voce .titolo{color:#aabac5;}
html[data-theme="dark"] .oggi-voce small{color:#aeb9c2;}
html[data-theme="dark"] .lavoro-area h2{color:#8fc2e0;}
html[data-theme="dark"] .az-grande{background:linear-gradient(135deg,#203848,#21272c);border:1px solid #2f566e;text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] .az-grande:hover{box-shadow:0 10px 24px rgba(0,0,0,0.347);border-color:#37749d;}
html[data-theme="dark"] .az-grande:focus-visible,html[data-theme="dark"] .az-chip:focus-visible{outline:3px solid #37749d;}
html[data-theme="dark"] .az-chip{background:#21272c;border:1px solid var(--bordo);text-decoration:none;color:#8fc2e0;}
html[data-theme="dark"] .az-chip:hover{background:#223b4a;border-color:#325e7b;}
html[data-theme="dark"] .chip-badge{background:#e03544;color:#10161b;}
html[data-theme="dark"] .tutte-voci>summary{color:#aabac5;}
html[data-theme="dark"] .tutte-voci>summary:hover{color:#8fc2e0;}
html[data-theme="dark"] .flusso-ubikoo{--fc:#60a8d3;}
html[data-theme="dark"] .flusso-ts{--fc:#d7793a;}
html[data-theme="dark"] .flusso-acquisti{--fc:#8197a9;}
html[data-theme="dark"] .flusso{background:#21272c;border:1px solid var(--bordo);box-shadow:0 2px 10px rgba(0,0,0,0.312);}
html[data-theme="dark"] .flusso-testa h2{color:#b3c5d4;}
html[data-theme="dark"] .flusso-testa p{color:#aeb9c2;}
html[data-theme="dark"] .flusso-estremo-riga{color:#aeb9c2;}
html[data-theme="dark"] .flusso-estremo-riga strong{color:#b3c5d4;}
html[data-theme="dark"] .estremo-marca{background:var(--fc);color:#21272c;}
html[data-theme="dark"] .passo-card{background:#21272c;border:1px solid var(--bordo);border-top:4px solid var(--fc);text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] a.passo-card:hover{box-shadow:0 10px 22px rgba(0,0,0,0.312);border-color:var(--fc);}
html[data-theme="dark"] a.passo-card:focus-visible,html[data-theme="dark"] .passo-riga:focus-visible{outline:3px solid #37749d;}
html[data-theme="dark"] .passo-numero{background:var(--fc);color:#21272c;}
html[data-theme="dark"] .passo-card small{color:#aeb9c2;}
html[data-theme="dark"] .passo-conta{color:#aabac5;background:#172026;}
html[data-theme="dark"] .passo-conta b{color:#b3c5d4;}
html[data-theme="dark"] .passo-conta.avviso{background:#6e5713;color:#fcd989;}
html[data-theme="dark"] .passo-conta.critico{background:#55151e;color:#e38d9d;}
html[data-theme="dark"] .flusso-passo.spento .passo-card{background:#1c2025;border:1px dashed #3e4e59;border-top:4px solid #3e4e59;color:#aeb9c1;}
html[data-theme="dark"] .spento .passo-numero{background:#41525e;}
html[data-theme="dark"] .spento .passo-icona{color:#acbac3;}
html[data-theme="dark"] .spento small{color:#aeb9c1;}
html[data-theme="dark"] .flusso-passo.corrente .passo-card{background:var(--fc);border-color:var(--fc);color:#21272c;}
html[data-theme="dark"] .corrente .passo-numero{background:#21272c;color:var(--fc);}
html[data-theme="dark"] .briciole{color:#aeb9c2;}
html[data-theme="dark"] .passi-dettaglio>li::before{background:var(--fc);color:#21272c;}
html[data-theme="dark"] .passi-dettaglio>li.spento::before{background:#41525e;}
html[data-theme="dark"] .passi-dettaglio>li.spento::after{background:#41525e;}
html[data-theme="dark"] .passo-riga{background:#21272c;border:1px solid var(--bordo);border-left:4px solid var(--fc);text-decoration:none;color:#b3c5d4;}
html[data-theme="dark"] a.passo-riga:hover{box-shadow:0 8px 20px rgba(0,0,0,0.312);}
html[data-theme="dark"] .passo-riga small{color:#aeb9c2;}
html[data-theme="dark"] .passi-dettaglio>li.spento .passo-riga{background:#1c2025;border-left-color:#3e4e59;color:#aeb9c1;}
html[data-theme="dark"] .flusso-naviga{color:#aeb9c2;}
html[data-theme="dark"] .importo-neg{color:#e18e98;}
html[data-theme="dark"] .importo-pos{color:#88e8aa;}
html[data-theme="dark"] button.mag-icona.pericolo{background:#21272c;color:#e18e98;border:1px solid #72261d;}
html[data-theme="dark"] button.mag-icona.pericolo:hover:not(:disabled){background:#df5f58;color:#10161b;border-color:#df5f58;}
html[data-theme="dark"] .chiam-pip .chiam-griglia{flex:1;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;align-content:start}
html[data-theme="dark"] .chiam-pip .chiam-griglia[data-n="1"]{grid-template-columns:minmax(0,1fr)}
html[data-theme="dark"] .chiam-pip .chiam-tessera{aspect-ratio:4/3}
html[data-theme="dark"] .chiam-pip .chiam-avatar{font-size:26px}
html[data-theme="dark"] .chiam-pip .chiam-barra{padding:8px 0 2px;gap:8px;flex-wrap:wrap}
html[data-theme="dark"] .chiam-pip .chiam-bt{width:42px;height:42px}
html[data-theme="dark"] .chiam-pip .chiam-bt.chiam-esci{width:54px;border-radius:21px}
html[data-theme="dark"] .avviso-aggiornamento{border-color:#e57c2d;}
html[data-theme="dark"] .nota-fase{border-left:4px solid #e57c2d;background:#361f0a;}
html[data-theme="dark"][data-theme="dark"] .nota-fase{background:#decbb8;}
html[data-theme="dark"] .badge-ticket{background:#2a3845;color:#b3c5d4;}
html[data-theme="dark"] .pri-alta{background:#674112;color:#fbbd74;}
html[data-theme="dark"] .pri-urgente{background:#611111;color:#e78989;}
html[data-theme="dark"] .pri-bassa{background:#2a353d;color:#aeb9c1;}
html[data-theme="dark"] .stato-aperto{background:#10335d;color:#7db8f2;}
html[data-theme="dark"] .stato-inlavorazione{background:#6c5a13;color:#fcda7d;}
html[data-theme="dark"] .stato-inattesa{background:#35105a;color:#ba94db;}
html[data-theme="dark"] .stato-risolto{background:#265234;color:#91dfa9;}
html[data-theme="dark"] .stato-chiuso{background:#343a40;color:#b1b1be;}
html[data-theme="dark"] .ticket-allegati img{border:1px solid #374854;}
html[data-theme="dark"] .ticket-messaggio{border-left:3px solid #374854;}
html[data-theme="dark"] .ticket-risposta{border-left-color:#e57c2d;background:#3a220a;}
html[data-theme="dark"] .ticket-evento{color:#b2b2bd;}
html[data-theme="dark"][data-theme="dark"] .badge-ticket{background:#b2c0cd;color:#35434f;}
html[data-theme="dark"][data-theme="dark"] .ticket-risposta{background:#ded0c1;}
html[data-theme="dark"][data-theme="dark"] .ticket-allegati img{border-color:#a7b8c4;}
html[data-theme="dark"] tr.rata-attesa td{background:#5c3c10;}
html[data-theme="dark"] tr.rata-attesa td:first-child{box-shadow:inset 4px 0 0 #e28223;}
html[data-theme="dark"] tr.rata-attesa:hover td{background:#6c4613;}
html[data-theme="dark"] .visore3d-misure{background:rgba(33,39,44,0.933);border:1px solid #33414b;color:#aec1ce;box-shadow:0 4px 14px rgba(0,0,0,0.347);}
html[data-theme="dark"] .vm-titolo{border-left:4px solid #5d6c7b;}
html[data-theme="dark"] .vm-riga span{color:#adbac2;}
html[data-theme="dark"] .vm-aiuto{color:#adbac2;}
html[data-theme="dark"] .ut-cad{border:1px solid var(--bordo);background:#21272c;}
html[data-theme="dark"] .ut-elenco button small{color:#aeb9c2;}
html[data-theme="dark"] .documento-offerta{background:#21272c;color:#bad3ea;}
html[data-theme="dark"] .documento-offerta h1{border-bottom:3px solid #61c2f8;}
html[data-theme="dark"] .documento-offerta dt{color:#aab5c5;}
html[data-theme="dark"] .documento-offerta dt:last-of-type,html[data-theme="dark"] .documento-offerta dd:last-of-type{border-top:2px solid #bad3ea;}
html[data-theme="dark"] .documento-offerta>p:last-child{border-top:1px solid #36475b;color:#aab5c5;}
@media print{html[data-theme="dark"]:has(.documento-offerta),html[data-theme="dark"] body:has(.documento-offerta){background:#21272c !important;color:#ebebeb !important;}
html[data-theme="dark"] .documento-offerta{box-shadow:none !important;border:0 !important;background:#21272c !important;color:#ebebeb !important;}}
html[data-theme="dark"] .com-riga{border:1px solid #3d4f5a;background:var(--superficie,#21272c);}
html[data-theme="dark"] .com-riga.com-urgente{border-color:#e46056;background:#31110d;box-shadow:0 0 0 1px #e46056 inset;}
html[data-theme="dark"] .com-riga.com-evidenza{outline:3px solid #509bd4;}
html[data-theme="dark"] .com-azione{border-top:1px dashed #3d4f5a;}
html[data-theme="dark"] .com-trovati{border:1px solid #3d4f5a;background:var(--superficie,#21272c);}
html[data-theme="dark"] .com-per{border:1px solid #3d4f5a;}
html[data-theme="dark"] .chip.pericolo{background:#e46056;color:#10161b;border-color:#e46056;}
html[data-theme="dark"] .recap-settimana{border:1px solid #3d4f5a;background:#21272c;}
html[data-theme="dark"] .recap-settimana h2 small{color:#aeb9c1;}
html[data-theme="dark"] .recap-ora{color:#7ccaf3;}
html[data-theme="dark"] .recap-festa,html[data-theme="dark"] .recap-assenza{color:#aeb9c1;}
html[data-theme="dark"] .recap-scaduto strong{color:#e08f8f;}
html[data-theme="dark"] .posta-cartella.attiva{background:#223b4a;border-color:#374854;color:#8dc1e2;}
html[data-theme="dark"] .posta-conta{background:#60a8d3;color:#21272c;}
html[data-theme="dark"] .posta-elenco,html[data-theme="dark"] .posta-lettura{background:#21272c;border:1px solid var(--bordo);}
html[data-theme="dark"] .posta-riga{border:0;border-bottom:1px solid var(--bordo);background:transparent;color:#b3c5d4;}
html[data-theme="dark"] .posta-riga:hover{background:#17232d;}
html[data-theme="dark"] .posta-riga.scelta{background:#223b4a;}
html[data-theme="dark"] .posta-ant{color:#aeb9c2;}
html[data-theme="dark"] .posta-riga.non-letto{border-left:4px solid #60a8d3;}
html[data-theme="dark"] .posta-stella{color:#fbcb74;}
html[data-theme="dark"] .posta-intestazione{color:#a7b9c8;}
html[data-theme="dark"] .posta-conversazione button{border-color:var(--bordo);color:#b3c5d4;}
html[data-theme="dark"] .posta-conversazione button.non-letto{border-left:4px solid #60a8d3;}
html[data-theme="dark"] .posta-gruppi li small{color:#aeb9c2;}
html[data-theme="dark"] .posta-sel-campo{border:1px solid #3b5160;background:#21272c;}
html[data-theme="dark"] .posta-sel-campo:focus-within{outline:3px solid #37749d;}
html[data-theme="dark"] .posta-chip{background:#223b4a;color:#8dc1e2;}
html[data-theme="dark"] .posta-chip button{border:0;background:transparent;color:#8dc1e2;}
html[data-theme="dark"] .posta-chip button:hover{background:#2e4b5c;}
html[data-theme="dark"] .posta-sel-lista{background:#21272c;border:1px solid var(--bordo);box-shadow:0 12px 32px rgba(0,0,0,0.326);}
html[data-theme="dark"] .posta-sel-lista button{border:0;color:#b3c5d4;}
html[data-theme="dark"] .posta-sel-lista button:hover{background:#223b4a;}
html[data-theme="dark"] .posta-link{border:1px solid var(--bordo);background:#21272c;color:#8fc2e0;text-decoration:none;}
html[data-theme="dark"] .posta-link:hover{background:#223b4a;}
html[data-theme="dark"] .gal-proposte{border:1px solid var(--bordo);background:#21272c;}
html[data-theme="dark"] .gal-proposte button{border:0;color:#b3c5d4;}
html[data-theme="dark"] .gal-proposte button:hover{background:#223b4a;}
html[data-theme="dark"] .gal-testa h2 small{color:#aeb9c2;}
html[data-theme="dark"] .gal-voce{color:#b3c5d4;}
html[data-theme="dark"] .gal-riquadro{background:#21272c;border:1px solid #374854;}
html[data-theme="dark"] .gal-voce .gal-riquadro:hover:not(:disabled),html[data-theme="dark"] .gal-voce .gal-riquadro:focus-visible{border-color:#60a8d3;box-shadow:0 4px 14px rgba(0,0,0,0.489);}
html[data-theme="dark"] .gal-riquadro:has(canvas[data-stato="errore"])::after{color:#b2b2bd;}
html[data-theme="dark"] .gal-vuoto{color:#b2b2bd;}
html[data-theme="dark"] .gal-grande{border:1px solid #374854;background:#21272c;}
html[data-theme="dark"] .gal-codice small{color:#aeb9c2;}
html[data-theme="dark"] input[type=checkbox],html[data-theme="dark"] input[type=radio]{accent-color:#60a8d3;}
html[data-theme="dark"] .compositore .riga-scelte label{color:#aeb9c2;}
html[data-theme="dark"] .compositore .esito-listino{border:1px solid #374854;background:#17272f;}
html[data-theme="dark"] .compositore .esito-listino .misura-listino{color:#aeb9c2;}
html[data-theme="dark"] .compositore .esito-listino .fuori{color:#e88c87;}
html[data-theme="dark"] .compositore .variante{border:1px solid #374854;background:#21272c;}
html[data-theme="dark"] .compositore .variante.scelta{border-color:#60a8d3;box-shadow:0 0 0 2px rgba(96,168,211,0.2);}
html[data-theme="dark"] .compositore .variante small{color:#b3c5d4;}
html[data-theme="dark"] .compositore .accessori{border:1px solid #374854;}
html[data-theme="dark"] .compositore .accessori .opz{border-top:1px solid #2b3a44;}
html[data-theme="dark"] .compositore .accessori .opz small{color:#aeb9c2;}
html[data-theme="dark"] .compositore .altre-voci label{color:#aeb9c2;}
html[data-theme="dark"] .compositore label.descr{color:#aeb9c2;}
html[data-theme="dark"] .compositore .riga-ubikoo,html[data-theme="dark"] .riga-ubikoo{border:1px solid #374854;background:#17272f;}
html[data-theme="dark"] .prev-riepilogo{border:1px solid #374854;background:#21272c;box-shadow:0 8px 24px rgba(0,0,0,0.312);}
html[data-theme="dark"] .prev-riepilogo td{border-bottom:1px solid #2b3a44;}
html[data-theme="dark"] .prev-riepilogo small.blocco{color:#aeb9c2;}
html[data-theme="dark"] .prev-riepilogo .controlli .ok{color:#88e8aa;}
html[data-theme="dark"] .prev-riepilogo .controlli .no{color:#e88c87;}
html[data-theme="dark"] .prev-riepilogo .controlli .att{color:#fbbd74;}
html[data-theme="dark"] .prev-riepilogo .titolo-voci td{color:#aeb9c2;border-bottom:0;}
html[data-theme="dark"] .prev-riepilogo .voce-dett{color:#aeb9c2;}
html[data-theme="dark"] .prev-riepilogo .vuoto-voci{color:#aeb9c2;}
/* stile-schede.css */
html[data-theme="dark"]{--verde:#61c2f8;--primario:#61c2f8;--accento:#233e4e;--sfondo:#283540;--bordo:#35434f;}
html[data-theme="dark"] body{color:#bad3ea;}
html[data-theme="dark"] a{color:#76cbf9;}
html[data-theme="dark"] .eyebrow{color:#a9b8c6;}
html[data-theme="dark"] .testata{background:#21272c;border-bottom:1px solid #35434f;box-shadow:none;}
html[data-theme="dark"] .menu-voci a.active,html[data-theme="dark"] .menu-home.active{background:#233e4e;color:#76cbf9;}
html[data-theme="dark"] button{color:#76cbf9;border-color:#354856;}
html[data-theme="dark"] button:hover{background:#233e4e;}
html[data-theme="dark"] .primario{background:#61c2f8;color:#21272c;border-color:#61c2f8;}
html[data-theme="dark"] .primario:hover{background:#77cbf9;}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border-color:#3b5160;}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus,html[data-theme="dark"] button:focus-visible{outline:3px solid #2f759f;}
html[data-theme="dark"] .scheda,html[data-theme="dark"] .timer-card{box-shadow:0 1px 2px rgba(0,0,0,0.312),0 6px 18px rgba(0,0,0,0.312);}
html[data-theme="dark"] .azione{box-shadow:0 1px 2px rgba(0,0,0,0.312),0 6px 18px rgba(0,0,0,0.312);}
html[data-theme="dark"] .kpi{box-shadow:0 1px 2px rgba(0,0,0,0.312),0 6px 18px rgba(0,0,0,0.312);}
html[data-theme="dark"] th{background:#273745;color:#a7b9c8;}
html[data-theme="dark"] tr:hover td{background:#17232d;}
html[data-theme="dark"] .menu-home,html[data-theme="dark"] .menu-barra summary{color:#a7b9c8;}
html[data-theme="dark"] .menu-barra summary:hover,html[data-theme="dark"] .menu-barra details[open] summary,html[data-theme="dark"] .menu-home:hover{background:#233e4e;color:#76cbf9;}
html[data-theme="dark"] .menu-voci{border-color:#35434f;box-shadow:0 2px 4px rgba(0,0,0,0.312),0 14px 34px rgba(0,0,0,0.408);}
html[data-theme="dark"] .menu-voci a{color:#bad3ea;}
html[data-theme="dark"] .menu-voci a:hover{background:#233e4e;color:#76cbf9;}
html[data-theme="dark"] .menu-voci a.active,html[data-theme="dark"] .menu-home.active{background:#233e4e;color:#76cbf9;}
html[data-theme="dark"] .account{color:#a7b9c8;}
html[data-theme="dark"] .campanella summary{border-color:#35434f;color:#76cbf9;}
html[data-theme="dark"] .campanella summary:hover,html[data-theme="dark"] .campanella[open] summary{background:#233e4e;}
html[data-theme="dark"] .campanella-pannello{border-color:#35434f;box-shadow:0 2px 4px rgba(0,0,0,0.312),0 14px 34px rgba(0,0,0,0.408);}
html[data-theme="dark"] .campanella-pannello li a:hover{background:#233e4e;}
html[data-theme="dark"] .gruppo-home h2,html[data-theme="dark"] .lavoro-area h2{color:#a7b9c8;}
html[data-theme="dark"] .oggi-voce{box-shadow:0 1px 2px rgba(0,0,0,0.312),0 6px 18px rgba(0,0,0,0.312);}
html[data-theme="dark"] .oggi-voce .titolo{color:#a7b9c8;}
html[data-theme="dark"] .oggi-voce:hover,html[data-theme="dark"] .tessera:hover,html[data-theme="dark"] .az-grande:hover{box-shadow:0 2px 4px rgba(0,0,0,0.312),0 12px 26px rgba(0,0,0,0.347);}
html[data-theme="dark"] .tessera{box-shadow:0 1px 2px rgba(0,0,0,0.312);}
html[data-theme="dark"] .tessera:hover{border-color:#326586;}
html[data-theme="dark"] .tessera-icona{background:#233e4e;color:#76cbf9;}
html[data-theme="dark"] .tessera-icona.avviso{background:#916804;color:#f1f5f8;}
html[data-theme="dark"] .tessera-testo small{color:#a9b8c6;}
html[data-theme="dark"] .az-grande{background:#213a48;border-color:#2b5772;}
html[data-theme="dark"] .az-chip{color:#76cbf9;border-color:#354856;}
html[data-theme="dark"] .az-chip:hover{background:#233e4e;border-color:#326586;}
html[data-theme="dark"] .tutte-voci>summary{color:#a7b9c8;}
html[data-theme="dark"] .sottotitolo{color:#a9b8c6;}
html[data-theme="dark"] .check input{accent-color:#61c2f8;}
html[data-theme="dark"] .chip,html[data-theme="dark"] .badge-stato{background:#233e4e;color:#82c7f0;}
html[data-theme="dark"] .kpi span{color:#a9b8c6;}
html[data-theme="dark"] .messaggio{background:#32100e;border-color:#7b251d;color:#e79188;}
html[data-theme="dark"] .avviso{background:#695313;color:#f3d596;}
html[data-theme="dark"] .editor{border-top:4px solid #61c2f8;}
html[data-theme="dark"] .vuoto{color:#a9b8c6;}
html[data-theme="dark"] tr.scaduta td{background:#33120f;}
html[data-theme="dark"] tr.scaduta td:first-child{box-shadow:inset 4px 0 0 #d35c50;}
html[data-theme="dark"] tr.scaduta:hover td{background:#511e1a;}
html[data-theme="dark"] tr.rata-attesa td{background:#5c3c10;}
html[data-theme="dark"] tr.rata-attesa td:first-child{box-shadow:inset 4px 0 0 #e28223;}
html[data-theme="dark"] tr.rata-attesa:hover td{background:#6c4613;}
html[data-theme="dark"] .ts-elenco thead th{background:#273745;}
html[data-theme="dark"] .ts-elenco tbody tr:hover td{background:#17232d;}
html[data-theme="dark"] .ts-elenco tr.selezionata td{background:#233e4e;}
html[data-theme="dark"] .menu-titolo{color:#a9b8c6;}
html[data-theme="dark"] .eyebrow{color:#a9b8c6;}
html[data-theme="dark"] .oggi-voce{border-top:3px solid #326586;background:#21272c;}
html[data-theme="dark"] .oggi-voce.avviso{border-top-color:#e2ac35;background:#21272c;}
html[data-theme="dark"] .oggi-voce.critico{border-top-color:#d04157;background:#21272c;}
html[data-theme="dark"] .oggi-voce.critico .valore{color:#eb8b84;}
html[data-theme="dark"] .flusso{box-shadow:0 1px 2px rgba(0,0,0,0.312),0 6px 18px rgba(0,0,0,0.312);}
html[data-theme="dark"] .st{color:var(--c,#a7b9c8);background:color-mix(in srgb,var(--c,#96abbd) 13%,#21272c);}
html[data-theme="dark"] .st-chiuso{--c:#93e5b2;}
html[data-theme="dark"] .st-scaduta{--c:#e46056;}
html[data-theme="dark"] .st-conferma{--c:#f3b573;}
html[data-theme="dark"] .st-concordato{--c:#9aa6b8;}
html[data-theme="dark"] .piano-scheda{background:#21272c;border:1px solid #35434f;text-decoration:none;color:#bad3ea;box-shadow:0 1px 2px rgba(0,0,0,0.312),0 6px 18px rgba(0,0,0,0.312);}
html[data-theme="dark"] .piano-scheda:hover{box-shadow:0 2px 4px rgba(0,0,0,0.312),0 12px 26px rgba(0,0,0,0.347);border-color:#326586;}
html[data-theme="dark"] .piano-scheda:focus-visible{outline:3px solid #2f759f;}
html[data-theme="dark"] .anello{background:conic-gradient(#61c2f8 calc(var(--p)*1%),#31414c 0);}
html[data-theme="dark"] .anello::before{background:#21272c;}
html[data-theme="dark"] .ps-residuo small{color:#a9b8c6;}
html[data-theme="dark"] .ps-piede{color:#a7b9c8;}
html[data-theme="dark"] .ps-nota{color:#a9b8c6;}
html[data-theme="dark"] .barra-pagina button{background:#21272c;border-color:#354856;box-shadow:0 2px 10px rgba(0,0,0,0.387);}
html[data-theme="dark"] .barra-pagina button:hover{background:#233e4e;}
html[data-theme="dark"] .ricerca-componenti{border:1px solid #354856;background:#21272c;box-shadow:0 8px 22px rgba(0,0,0,0.347);}
html[data-theme="dark"] .ricerca-componenti button{border:0;background:transparent;color:#bad3ea;}
html[data-theme="dark"] .ricerca-componenti button:hover{background:#233e4e;}
html[data-theme="dark"] #btn-preferito.attivo{color:#f4b97b;border-color:#e2ac35;background:#5c4810;}
html[data-theme="dark"] .menu-preferiti summary{color:#f4b97b;}
html[data-theme="dark"] .menu-vuoto{color:#a9b8c6;}
html[data-theme="dark"] #btn-guida{border:1px solid #354856;background:#21272c;color:#76cbf9;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,0.387);}
html[data-theme="dark"] #btn-guida:hover{background:#233e4e;}
html[data-theme="dark"] .guida-carta{border:1px solid #354856;background:#21272c;text-decoration:none;}
html[data-theme="dark"] .guida-carta:hover{border-color:#61c2f8;background:#112533;}
html[data-theme="dark"] .guida-carta strong{color:#76cbf9;}
html[data-theme="dark"] .guida-carta small{color:#aeb8c1;}
html[data-theme="dark"] .guida-testo blockquote{border-left:4px solid #e2ac35;background:#5c4810;}
html[data-theme="dark"] .col-grip::before{background:#3e566a;}
html[data-theme="dark"] .col-grip.attivo::before{background:#61c2f8;}
html[data-theme="dark"] tr.evento-auto td{color:#afb8c0;}
html[data-theme="dark"] .chip-assicurato{background:#274931;color:#91dead;border-color:#336f46;}
html[data-theme="dark"] .barra-pagina button,html[data-theme="dark"] .barra-pagina a{background:#21272c;box-shadow:0 2px 10px rgba(0,0,0,0.387);}
html[data-theme="dark"] button.ico.attivo{background:#233e4e;border-color:#2f759f;}
html[data-theme="dark"] .elenco-riga>span{color:#a9b8c6;}
html[data-theme="dark"] .scheda.editor.modale{box-shadow:0 0 0 100vmax rgba(179,197,212,0.4),0 24px 70px rgba(0,0,0,0.65);}
html[data-theme="dark"] tr.riga-click:hover td{background:#14222c;}
html[data-theme="dark"] tr.riga-click:focus-visible{outline:2px solid #60a8d3;}
html[data-theme="dark"] .tabella-scroll thead th{box-shadow:0 1px 0 #354451;}
html[data-theme="dark"] .tabella-scroll::after{color:#a7b9c8;background:#273745;border-top:1px solid #354451;}
html[data-theme="dark"] h2.procedure-categoria{color:#a7b9c8;}
html[data-theme="dark"] h2.procedure-categoria small{color:#aebac1;}
html[data-theme="dark"] orologio-home.orologio{color:#9dcdec;}
html[data-theme="dark"] meteo-home.meteo{color:#a7b9c8;}
html[data-theme="dark"] .meteo-ico{color:#76cbf9;}
html[data-theme="dark"] .meteo-temp{color:#9dcdec;}
html[data-theme="dark"] .meteo-testo small{color:#aeb9c2;}
html[data-theme="dark"] a.grafico{background:#21272c;border:1px solid var(--bordo);text-decoration:none;color:#b3c5d4;box-shadow:0 1px 2px rgba(0,0,0,0.312),0 6px 18px rgba(0,0,0,0.312);}
html[data-theme="dark"] a.grafico:hover{box-shadow:0 2px 4px rgba(0,0,0,0.312),0 12px 26px rgba(0,0,0,0.347);}
html[data-theme="dark"] a.grafico:focus-visible{outline:3px solid #37749d;}
html[data-theme="dark"] .grafico-testa small{color:#aeb9c2;}
html[data-theme="dark"] .gb-base{stroke:#384853;}
html[data-theme="dark"] .gb-s0{fill:#61c2f8;background:#61c2f8;}
html[data-theme="dark"] .gb-s1{fill:#e19b3b;background:#e19b3b;}
html[data-theme="dark"] .gb-scaduto{fill:#d04157;}
html[data-theme="dark"] .gb-val{fill:#96abbd;}
html[data-theme="dark"] .gb-et{fill:#8798a5;}
html[data-theme="dark"] .grafico-legenda{color:#a7b9c8;}
html[data-theme="dark"] .oggi-dettagli>summary{color:#a7b9c8;}
html[data-theme="dark"] .meteo-cambia{border:0;background:transparent;color:#aeb9c2;}
html[data-theme="dark"] .meteo-cambia:hover{background:#233e4e;}
html[data-theme="dark"] .meteo-scelta{background:#21272c;border:1px solid var(--bordo);box-shadow:0 10px 28px rgba(0,0,0,0.347);color:#b3c5d4;}
html[data-theme="dark"] .meteo-risultati button,html[data-theme="dark"] .meteo-azioni button{border:1px solid var(--bordo);background:#19242c;}
html[data-theme="dark"] .residuo-saldato{color:var(--testo-tenue,#b0b8bf);}
html[data-theme="dark"] .elenco-scelta button{border:1px solid var(--bordo);background:#19242c;}
html[data-theme="dark"] .menu-voci .menu-gruppo>summary.menu-titolo{color:#a9b8c6;}
html[data-theme="dark"] .menu-voci .menu-gruppo>summary.menu-titolo:hover{background:#233e4e;color:#76cbf9;}
html[data-theme="dark"] .menu-voci .menu-gruppo+.menu-gruppo{border-top:1px solid #403135;}
html[data-theme="dark"][data-theme="dark"] .menu-voci .menu-gruppo>summary.menu-titolo{color:#a7b9c8;}
html[data-theme="dark"][data-theme="dark"] .menu-voci .menu-gruppo>summary.menu-titolo:hover{background:#acc7d7;color:#10161b;}
html[data-theme="dark"][data-theme="dark"] .menu-voci .menu-gruppo+.menu-gruppo{border-top-color:#b6c1ca;}
html[data-theme="dark"] .avanz .passo{background:#3a454d;}
html[data-theme="dark"] .avanz .passo.ok{background:#63e693;}
html[data-theme="dark"] .avanz .passo.parz{background:linear-gradient(90deg,#f0a423 50%,#3a454d 50%);}
html[data-theme="dark"] .avanz-fase{color:#a5b9ca;}
html[data-theme="dark"] .avanz.avviso .avanz-fase{color:#ea8686;}
html[data-theme="dark"] .avanz.ok .avanz-fase{color:#87e8ab;}
html[data-theme="dark"][data-theme="dark"] .avanz .passo{background:#acb8c1;}
html[data-theme="dark"][data-theme="dark"] .avanz .passo.parz{background:linear-gradient(90deg,#f0a423 50%,#acb8c1 50%);}
html[data-theme="dark"][data-theme="dark"] .avanz-fase{color:#40596d;}
html[data-theme="dark"] dialog.conferma-azione{border:1px solid var(--bordo,#35434f);background:var(--bg-card,#21272c);}
html[data-theme="dark"] dialog.conferma-azione::backdrop{background:rgba(201,216,231,0.5);}
html[data-theme="dark"] .conferma-azione-bottoni .pericolo{background:#e15353;color:#10161b;border:0;}
html[data-theme="dark"][data-theme="dark"] dialog.conferma-azione{background:#c0cdd7;border-color:#acb8c1;}
html[data-theme="dark"] .presenza-home .ph-punto{background:#586982;}
html[data-theme="dark"] .presenza-home .ph-punto.dentro{background:#63e693;box-shadow:0 0 0 4px rgba(99,230,147,0.18);}
html[data-theme="dark"] .presenza-home .ph-testo small{color:#aeb9c2;}
html[data-theme="dark"] tr.riga-allerta>td{background:#665212;}
html[data-theme="dark"][data-theme="dark"] tr.riga-allerta>td{background:#e8d7a8;}
html[data-theme="dark"] td.scaduta{color:#e88c87;}
html[data-theme="dark"] .kpi.critico strong{color:#e88c87;}
html[data-theme="dark"] .kpi-riga .kpi small{color:#aeb9c2;}
html[data-theme="dark"] button.scheda-tab.attivo{background:#61c2f8;color:#21272c;border-color:#61c2f8;}
html[data-theme="dark"] button.scheda-tab.attivo:hover{background:#77cbf9;}
html[data-theme="dark"][data-theme="dark"] .kpi-riga .kpi small{color:#aeb9c1;}
html[data-theme="dark"] .barra-pagina #btn-aggiorna{background:#21272c;box-shadow:0 2px 10px rgba(0,0,0,0.387);}
html[data-theme="dark"] .notizie-nota{color:#aebac1;}
html[data-theme="dark"] .notizia{background:#21272c;border:1px solid var(--bordo);text-decoration:none;color:#bad3ea;box-shadow:0 1px 2px rgba(0,0,0,0.312);}
html[data-theme="dark"] .notizia:hover{box-shadow:0 2px 4px rgba(0,0,0,0.312),0 10px 22px rgba(0,0,0,0.347);}
html[data-theme="dark"] .notizia img,html[data-theme="dark"] .notizia-segnaposto{background:#233e4e;}
html[data-theme="dark"] .notizia-segnaposto{color:#76cbf9;background:linear-gradient(135deg,#233e4e,#294659);}
html[data-theme="dark"] .notizia-desc{color:#a9b8c6;}
html[data-theme="dark"] .notizia small{color:#aebac1;}
html[data-theme="dark"][data-theme="dark"] .notizia{background:#c0cdd7;border-color:#b6c1ca;color:#293a48;}
html[data-theme="dark"][data-theme="dark"] .notizia-desc{color:#aeb9c1;}
html[data-theme="dark"][data-theme="dark"] .notizia-segnaposto{background:linear-gradient(135deg,#acc7d7,#b7cfdd);color:#91c2de;}
html[data-theme="dark"][data-theme="dark"] .notizie-nota{color:#aeb9c1;}
html[data-theme="dark"] .tipo-pill{background:#233e4e;color:#85cbf0;}
html[data-theme="dark"] .stato-pill{background:#2b3843;color:#a7b9c8;}
html[data-theme="dark"] .stato-pill.ok{background:#274f35;color:#91e7b8;}
html[data-theme="dark"] .stato-pill.attenzione{background:#6e5713;color:#fcd989;}
html[data-theme="dark"] .stato-pill.critico{background:#55151e;color:#e38d9d;}
html[data-theme="dark"] .stato-pill.spento{background:#2b3843;color:#afb9c1;}
html[data-theme="dark"] td small.blocco{color:#aeb9c2;}
html[data-theme="dark"][data-theme="dark"] .tipo-pill{background:#acc7d7;color:#10161b;}
html[data-theme="dark"][data-theme="dark"] .stato-pill{background:#b7c3cd;color:#10161b;}
html[data-theme="dark"][data-theme="dark"] .stato-pill.ok{background:#b7e1cb;color:#10161b;}
html[data-theme="dark"][data-theme="dark"] .stato-pill.attenzione{background:#e8d7a8;color:#10161b;}
html[data-theme="dark"][data-theme="dark"] .stato-pill.critico{background:#dcaab2;color:#8c1a2b;}
html[data-theme="dark"][data-theme="dark"] td small.blocco{color:#aeb9c1;}
html[data-theme="dark"] .filtro>span,html[data-theme="dark"] .filtro-intervallo>legend,html[data-theme="dark"] .azioni-gruppo>label{color:#aeb9c2;}
html[data-theme="dark"] .filtro-intervallo>span{color:#aeb9c2;}
html[data-theme="dark"] .mese-previsto>summary::before{color:#aeb9c2;}
html[data-theme="dark"] .mese-previsto.arretrati{border-color:#d35c50;}
html[data-theme="dark"] .mese-previsto.arretrati .mese-totale{color:#e3958d;}
html[data-theme="dark"] .posta-link{border-color:#35434f;color:#76cbf9;}
html[data-theme="dark"] .posta-link:hover{background:#233e4e;}
html[data-theme="dark"] .perm-cat{border:1px solid var(--bordo,#37454f);}
html[data-theme="dark"] .perm-conta{color:#acb9c3;}
html[data-theme="dark"] .perm-voce:hover{background:#18232b;}
html[data-theme="dark"] .perm-voce input{accent-color:#61c2f8;}
html[data-theme="dark"] .perm-voce small{color:#acb9c3;}
html[data-theme="dark"][data-theme="dark"] .perm-voce:hover{background:rgba(33,39,44,0.06);}
html[data-theme="dark"][data-theme="dark"] .perm-voce small,html[data-theme="dark"][data-theme="dark"] .perm-conta{color:#aabac5;}
html[data-theme="dark"] .testata-nascondi{border:1px solid #354856;background:#21272c;color:#a1bbce;}
html[data-theme="dark"] .testata-nascondi:hover{background:#233e4e;}
html[data-theme="dark"].testata-nascosta .testata-mostra{border:1px solid #354856;background:#21272c;color:#a1bbce;box-shadow:0 2px 10px rgba(0,0,0,0.387);}
html[data-theme="dark"].testata-nascosta .testata-mostra:hover{background:#233e4e;}
@media (max-width:1100px){html[data-theme="dark"] .menu-barra .menu-voci{box-shadow:0 2px 4px rgba(0,0,0,0.312),0 14px 34px rgba(0,0,0,0.408);}}
html[data-theme="dark"] .testata-nascondi,html[data-theme="dark"].testata-nascosta .testata-mostra{color:#76cbf9;}
/* ReconnectModal.razor.css */
html[data-theme="dark"] #components-reconnect-modal{background-color:#21272c;border:0;box-shadow:0 3px 6px 2px rgba(0,0,0,0.65);}
html[data-theme="dark"] #components-reconnect-modal::backdrop{background-color:rgba(0,0,0,0.46);}
html[data-theme="dark"] #components-reconnect-modal button{border:0;background-color:#3872ad;color:#f1f5f8;}
html[data-theme="dark"] #components-reconnect-modal button:hover{background-color:#6996c5;}
html[data-theme="dark"] #components-reconnect-modal button:active{background-color:#3872ad;}
html[data-theme="dark"] .components-rejoining-animation div{border:3px solid #1b91f9;}
html[data-theme="dark"] .messaggio-aggiornamento{background:#57390f;color:#fccf95;}
