/* Versione 2026-11-27b: cambio il contenuto per cambiare il nome del file pubblicato e superare la cache dei browser */
/* Generato da app.css: versione scura dei colori. Attivo con <html data-theme="dark">. */
:root[data-theme="dark"] {
    --ls-green-soft: #2f511f;
    --ls-text: #d5d9de;
    --ls-muted: #a1a5ab;
    --ls-bg: #17191c;
    --ls-sidebar: #1a1d1d;
    --ls-card: #222222;
    --ls-border: #272c32;
    --ls-disabled: #333333;
}
html[data-theme="dark"] .side-link:hover {
    background: rgba(34,34,34,.08);
}
html[data-theme="dark"] .side-link.active {
    background: rgba(34,34,34,.14);
}
html[data-theme="dark"] .side-icon {
    border: 1px solid rgba(45,72,33,.45);
}
html[data-theme="dark"] .side-link:hover .side-icon {
    border-color: rgba(51,51,51,.7);
}
html[data-theme="dark"] .side-link.active .side-icon {
    background: #222222;
    color: #91ca92;
    border-color: #333333;
}
html[data-theme="dark"] .side-help-icons a, html[data-theme="dark"] .side-help-icons button {
    border: 1.5px solid rgba(45,72,33,.6);
}
html[data-theme="dark"] .side-help-icons a:hover, html[data-theme="dark"] .side-help-icons button:hover {
    background: rgba(34,34,34,.14);
}
html[data-theme="dark"] .topbar-search {
    background: #222222;
    border: 1px solid #3c4149;
    color: #bebebe;
}
html[data-theme="dark"] .topbar-search input::placeholder {
    color: #8e959c;
}
html[data-theme="dark"] .topbar-lang {
    background: #222222;
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .topbar-lang select {
    color: #dadada;
}
html[data-theme="dark"] .flag-it {
    background: linear-gradient(90deg, #009246 33.3%, #222222 33.3% 66.6%, #ce2b37 66.6%);
}
html[data-theme="dark"] .lang-chevron {
    color: #d1d1d1;
}
html[data-theme="dark"] .page-subtitle {
    color: #c8c8c8;
}
html[data-theme="dark"] .user-name {
    color: #d1d1d1;
}
html[data-theme="dark"] .btn-ls-dark {
    background: #3e4955;
}
html[data-theme="dark"] .btn-ls-dark:hover {
    background: #383838;
}
html[data-theme="dark"] .avatar {
    box-shadow: 0 0 0 4px #263c44;
}
html[data-theme="dark"] .card-muted {
    border-color: #484848;
}
html[data-theme="dark"] .card-link-muted {
    color: #949494;
}
html[data-theme="dark"] .icon-btn {
    color: #d1d1d1;
}
html[data-theme="dark"] .gauge-marker {
    background: #3d3f45;
    box-shadow: 0 0 0 1px #222222;
}
html[data-theme="dark"] .gauge-caption {
    color: #c8c8c8;
}
html[data-theme="dark"] .progress-track {
    background: #282d34;
}
html[data-theme="dark"] .progress-knob {
    background: #45474b;
    box-shadow: 0 0 0 2px #222222;
}
html[data-theme="dark"] .notif {
    background: #161819;
}
html[data-theme="dark"] a.notif:hover {
    background: #282f34;
}
html[data-theme="dark"] .notif-off strong, html[data-theme="dark"] .notif-off span, html[data-theme="dark"] .notif-off b {
    color: #909090;
}
html[data-theme="dark"] .stat-main {
    color: #b3b7bd;
}
html[data-theme="dark"] .web-icon {
    color: #bebebe;
}
html[data-theme="dark"] .cal-select {
    border: 1px solid #3c4149;
    background: #222222;
}
html[data-theme="dark"] .app-footer {
    color: #bebebe;
}
html[data-theme="dark"] #blazor-error-ui {
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
}
html[data-theme="dark"] .validation-message {
    color: #f76464;
}
html[data-theme="dark"] .login-logo {
    color: #e4e4e4;
}
html[data-theme="dark"] .login-left h1 {
    color: #d2d6db;
}
html[data-theme="dark"] .login-lead {
    color: #cfd3d7;
}
html[data-theme="dark"] .login-card {
    background: #222222;
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .login-tab span {
    color: #dadada;
    border: 1px solid #3c4149;
    background: #222222;
}
html[data-theme="dark"] .login-label {
    color: #dadada;
}
html[data-theme="dark"] .login-input {
    border: 1px solid #3c4149;
    color: #dadada;
    background: #222222;
}
html[data-theme="dark"] .login-input::placeholder {
    color: #8e959c;
}
html[data-theme="dark"] .login-pwd-toggle {
    color: #c8c8c8;
}
html[data-theme="dark"] .login-error {
    background: #47201b;
    color: #e0847b;
    border: 1px solid #5b2822;
}
html[data-theme="dark"] .login-proof {
    color: #abafb3;
}
html[data-theme="dark"] .login-register span {
    color: #cfd3d7;
}
html[data-theme="dark"] .login-video {
    background: #383838;
}
html[data-theme="dark"] .login-video-caption {
    color: #cfd3d7;
}
html[data-theme="dark"] .login-benefits p {
    color: #cfd3d7;
}
html[data-theme="dark"] .login-benefits .check {
    color: #91ca92;
}
html[data-theme="dark"] .login-claim {
    color: #d5d9de;
}
html[data-theme="dark"] .ls-input, html[data-theme="dark"] .ls-select {
    border: 1px solid #3c4149;
    background: #222222;
    color: #dadada;
}
html[data-theme="dark"] .ls-select {
    background: #222222 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 10px center/14px;
}
html[data-theme="dark"] .ls-select:disabled {
    background-color: #17191c;
    color: #999999;
}
html[data-theme="dark"] .btn-out {
    background: #222222;
    border: 1px solid #3c4149;
    color: #d5d9de;
}
html[data-theme="dark"] .btn-out:hover {
    border-color: #495058;
}
html[data-theme="dark"] .btn-out-danger {
    background: #451d1a;
    border-color: #542520;
}
html[data-theme="dark"] .scan-intro {
    background: #2c4f1e;
    border: 1px solid #345d23;
}
html[data-theme="dark"] .scan-intro p {
    color: #d5d9de;
}
html[data-theme="dark"] .pasto {
    border: 1px solid #3c4149;
    background: #222222;
}
html[data-theme="dark"] .editor-box {
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .editor-toolbar {
    border-bottom: 1px solid #3c4149;
}
html[data-theme="dark"] .editor-toolbar button {
    border: 1px solid #3c4149;
    background: #222222;
}
html[data-theme="dark"] .editor-toolbar button:hover {
    background: #161819;
}
html[data-theme="dark"] .ls-editor:empty::before {
    color: #8b9299;
}
html[data-theme="dark"] .editor-count {
    color: #abafb3;
}
html[data-theme="dark"] .problema {
    border: 1px solid #3c4149;
    background: #222222;
}
html[data-theme="dark"] .antro-misure {
    border-left: 1px solid #3c4149;
}
html[data-theme="dark"] .upload-box {
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .upload-title {
    color: #999da3;
}
html[data-theme="dark"] .upload-sub {
    color: #abafb3;
}
html[data-theme="dark"] .val-note {
    background: #2c4f1e;
    color: #d5d9de;
}
html[data-theme="dark"] .val-errors {
    background: #47201b;
    border: 1px solid #5b2822;
    color: #e0847b;
}
html[data-theme="dark"] .val-ok {
    background: #2c4f1e;
}
html[data-theme="dark"] .calm-arrow {
    border: 1px solid #3c4149;
    background: #222222;
}
html[data-theme="dark"] .calm {
    background: #222222;
}
html[data-theme="dark"] .calm-head {
    background: #191d21;
}
html[data-theme="dark"] .calm-cell:nth-child(even) {
    background: #131619;
}
html[data-theme="dark"] .calm-cell.oggi {
    background: #29461d;
}
html[data-theme="dark"] .calm-days .calm-cell {
    background: #2a3038;
}
html[data-theme="dark"] .calm-days .calm-cell.fuori {
    color: #8e959c;
}
html[data-theme="dark"] .calm-days .calm-cell.oggi {
    background: #2d501e;
}
html[data-theme="dark"] .cal-ev-futuro {
    background: #222222;
    color: #d5d9de;
}
html[data-theme="dark"] .cal-ev-passato {
    background: #333333;
    color: #949494;
}
html[data-theme="dark"] .ana-search {
    background: #222222;
    border: 1px solid #3c4149;
    color: #b5b5b5;
}
html[data-theme="dark"] .ana-filtri {
    background: #222222;
}
html[data-theme="dark"] .ana-avviso {
    background: #2c4f1e;
}
html[data-theme="dark"] .ana-avviso.err {
    background: #47201b;
    color: #e0847b;
}
html[data-theme="dark"] .ana-view {
    color: #b5b5b5;
}
html[data-theme="dark"] .cartella span {
    color: #d1d1d1;
}
html[data-theme="dark"] .cartella small {
    color: #a2a2a2;
}
html[data-theme="dark"] .cartella:hover {
    background: #2c3a28;
}
html[data-theme="dark"] .cartella-del {
    background: #2b3032;
    color: #bebebe;
}
html[data-theme="dark"] .chip {
    border: 1px solid #3f4750;
    background: #222222;
}
html[data-theme="dark"] .chip-sm {
    background: #2b4c1d;
    border-color: #2b4c1d;
}
html[data-theme="dark"] .ana-card {
    background: #222222;
}
html[data-theme="dark"] .ana-date {
    color: #c8c8c8;
}
html[data-theme="dark"] .ana-scan {
    color: #e4e4e4;
}
html[data-theme="dark"] .ana-confirm button {
    border: 1px solid #3c4149;
    background: #222222;
}
html[data-theme="dark"] .ana-menu {
    background: #222222;
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .ana-menu button:hover {
    background: #2c3a28;
}
html[data-theme="dark"] .ana-menu-sep {
    color: #a2a2a2;
    border-top: 1px solid #3d3d3d;
}
html[data-theme="dark"] .ana-photo {
    background: #2a2e35;
    color: #aaaeb2;
}
html[data-theme="dark"] .ana-stato.off {
    background: #555b61;
}
html[data-theme="dark"] .ana-info {
    color: #c8c8c8;
}
html[data-theme="dark"] .ana-info .ico {
    color: #aaaeb2;
}
html[data-theme="dark"] .ana-name {
    color: #e4e4e4;
}
html[data-theme="dark"] .ana-help-head {
    border-bottom: 1px solid #3d3d3d;
}
html[data-theme="dark"] .ana-help p {
    color: #bebebe;
    border-bottom: 1px solid #3d3d3d;
}
html[data-theme="dark"] .modal-bg {
    background: rgba(0,0,0,.45);
}
html[data-theme="dark"] .modal-box {
    background: #222222;
}
html[data-theme="dark"] .tut-search {
    background: #222222;
    border: 1px solid #3c4149;
    color: #b5b5b5;
}
html[data-theme="dark"] .tut-search input::placeholder {
    color: #dadada;
}
html[data-theme="dark"] .tut-item {
    background: #222222;
    border: 1px solid #353d44;
}
html[data-theme="dark"] .tut-item:hover {
    border-color: #37562b;
}
html[data-theme="dark"] .tut-item.on {
    background: #28471b;
}
html[data-theme="dark"] .tut-play {
    background: #131619;
    color: #d1d1d1;
}
html[data-theme="dark"] .tut-player video {
    background: #383838;
}
html[data-theme="dark"] .tut-empty {
    background: #414141;
    color: #909090;
}
html[data-theme="dark"] .ana-super {
    background: #3e4955;
}
html[data-theme="dark"] .kpi {
    background: #222222;
}
html[data-theme="dark"] .kpi-ico {
    background: #2d4e1d;
}
html[data-theme="dark"] .fasi-tab {
    border: 1px solid #3c4149;
    background: #131619;
    color: #999da3;
}
html[data-theme="dark"] .fasi-tab.on {
    background: #222222;
}
html[data-theme="dark"] .fasi-tab:not(.lock):not(.on) {
    color: #d1d1d1;
}
html[data-theme="dark"] .badge-stato.in-corso {
    color: #f7b564;
    background: #4a3d1c;
    border-color: #644f26;
}
html[data-theme="dark"] .badge-stato.completata {
    background: #2d4e1d;
    border-color: #365b25;
}
html[data-theme="dark"] .badge-stato.bloccato {
    color: #c8c8c8;
    background: #272c32;
    border-color: #363d44;
}
html[data-theme="dark"] .casella {
    background: #1b2222;
    border: 1px solid #373d47;
}
html[data-theme="dark"] .casella.in-corso {
    background: #29491c;
}
html[data-theme="dark"] .casella.completata {
    background: #222222;
}
html[data-theme="dark"] .casella-num {
    background: #272c32;
}
html[data-theme="dark"] .casella.in-corso .casella-num {
    background: #315320;
}
html[data-theme="dark"] .casella-text > span {
    color: #d1d1d1;
}
html[data-theme="dark"] .percorso-item {
    border-bottom: 1px solid #343c44;
}
html[data-theme="dark"] .percorso-lock {
    color: #a2a2a2;
}
html[data-theme="dark"] .percorso-stato.in-corso {
    color: #ea9f70;
}
html[data-theme="dark"] .tool {
    background: #222222;
    color: #d5d9de;
}
html[data-theme="dark"] .tool-ico {
    background: #2d4821;
}
html[data-theme="dark"] .tool-tag {
    color: #acacac;
}
html[data-theme="dark"] .tool-lock {
    background: #323232;
    border-color: #484848;
    color: #999da3;
}
html[data-theme="dark"] .tool-lock .tool-ico {
    background: #393939;
    color: #aaaeb2;
}
html[data-theme="dark"] .tool-wip {
    background: #635625;
}
html[data-theme="dark"] .tool-wip::before {
    background: repeating-linear-gradient(-55deg, #404953 0 10px, #635625 10px 22px);
}
html[data-theme="dark"] .tool-wip .tool-ico {
    color: #d5d9de;
}
html[data-theme="dark"] .tool-wip .tool-tag {
    color: #e4cd77;
}
html[data-theme="dark"] .lang-picker summary {
    background: #222222;
    border: 1px solid #3c4149;
    color: #dadada;
}
html[data-theme="dark"] .lang-picker ul {
    background: #222222;
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .lang-picker li a {
    color: #dadada;
}
html[data-theme="dark"] .lang-picker li a:hover {
    background: #2c3a28;
}
html[data-theme="dark"] .gauge-scale {
    color: #acacac;
}
html[data-theme="dark"] .res-comp-bar {
    background: #33383e;
}
html[data-theme="dark"] .res-comp-bar span.ossa {
    background: #33383e;
}
html[data-theme="dark"] .res-kpi .kpi em {
    color: #abafb3;
}
html[data-theme="dark"] .ecc-eccesso {
    background: #451d1a;
}
html[data-theme="dark"] .ecc-carenza {
    background: #4a3d1c;
}
html[data-theme="dark"] .res-riep dd {
    color: #d1d1d1;
}
html[data-theme="dark"] .sto-kpi {
    background: #222222;
}
html[data-theme="dark"] .sto-k em {
    color: #abafb3;
}
html[data-theme="dark"] .sto-ico.verde {
    background: #2c5520;
}
html[data-theme="dark"] .sto-ico.grigio {
    background: #272c32;
    color: #dadada;
}
html[data-theme="dark"] .sto-ico.arancio {
    background: #583621;
    color: #e4a477;
}
html[data-theme="dark"] .sto-ico.viola {
    background: #331e4f;
}
html[data-theme="dark"] .sto-ico.giallo {
    background: #615425;
    color: #f7d264;
}
html[data-theme="dark"] .sto-ico.azzurro {
    background: #1e3d50;
    color: #80b5db;
}
html[data-theme="dark"] .sto-tabs {
    border-bottom: 1px solid #3d444b;
}
html[data-theme="dark"] .sto-tabs button {
    color: #838991;
}
html[data-theme="dark"] .sto-select {
    background: #222222;
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .sto-row {
    background: #222222;
}
html[data-theme="dark"] .sto-row.ultima {
    background: #28481b;
    border-color: #335b22;
}
html[data-theme="dark"] .sto-date {
    border-right: 1px solid #3d444b;
}
html[data-theme="dark"] .sto-m em {
    color: #abafb3;
}
html[data-theme="dark"] .sto-act {
    border: 1px solid #3c4149;
    background: #222222;
    color: #c8c8c8;
}
html[data-theme="dark"] .sto-act:disabled {
    color: #747b85;
}
html[data-theme="dark"] .sto-list.schede .sto-actions {
    border-left: 1px solid #3d444b;
}
html[data-theme="dark"] .sto-svg {
    background: #1b2222;
}
html[data-theme="dark"] .sto-foto-grid img {
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .ana-date {
    color: #bebebe;
}
html[data-theme="dark"] .ana-scan {
    border: 1px solid #3f4750;
    background: #222222;
    color: #d5d9de;
}
html[data-theme="dark"] .ana-photo {
    background: #2b2d32;
    color: #acafb3;
}
html[data-theme="dark"] .ana-photo b {
    border: 2px solid #333333;
}
html[data-theme="dark"] .ana-info {
    color: #bebebe;
}
html[data-theme="dark"] .ana-info .ico {
    color: #acafb3;
}
html[data-theme="dark"] .ana-menu button {
    color: #b3b7bb;
}
html[data-theme="dark"] .ana-menu button em, html[data-theme="dark"] .ana-menu-tag em {
    color: #8e959c;
}
html[data-theme="dark"] .ana-menu-title {
    color: #d5d9de;
}
html[data-theme="dark"] .ana-menu-title.sep {
    border-top: 1px solid #363d44;
}
html[data-theme="dark"] .ana-menu-empty {
    color: #999da3;
}
html[data-theme="dark"] .ana-fase {
    color: #d5d9de;
}
html[data-theme="dark"] .ana-menu-2r small {
    color: #b3b7bb;
}
html[data-theme="dark"] span.ana-menu-2r {
    color: #838991;
}
html[data-theme="dark"] .ana-menu-link {
    color: #b3b7bb;
}
html[data-theme="dark"] .ana-menu-link:hover {
    background: #2c3a28;
}
html[data-theme="dark"] a.avatar:hover {
    box-shadow: 0 0 0 4px #365b25;
}
html[data-theme="dark"] .pro-card .ls-input, html[data-theme="dark"] .pro-card .ls-select {
    background-color: #181c1f;
}
html[data-theme="dark"] .pro-avatar {
    background: #2b2d32;
    color: #acafb3;
}
html[data-theme="dark"] .soc-tt {
    background: #414141;
}
html[data-theme="dark"] .pro-sep {
    border-top: 1px solid #363d44;
}
html[data-theme="dark"] .pro-fattura {
    border: 1px solid #3c4149;
    background: #1b2222;
}
html[data-theme="dark"] .pro-canc {
    color: #e07c7b;
}
html[data-theme="dark"] .modal-ana .ls-input, html[data-theme="dark"] .modal-ana .ls-select {
    background-color: #181c1f;
}
html[data-theme="dark"] .ana-ref-search {
    background: #222222;
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .ana-ref-list button:hover {
    background: #2c3a28;
}
html[data-theme="dark"] .ana-ref-list em {
    color: #999da3;
}
html[data-theme="dark"] .ana-class-ico {
    color: #b3b7bb;
}
html[data-theme="dark"] .sch-editor .ls-editor {
    background: #181c1f;
}
html[data-theme="dark"] .sch-oss-foot .editor-count {
    color: #d1d1d1;
}
html[data-theme="dark"] .sch-tile p {
    color: #c8c8c8;
}
html[data-theme="dark"] .sch-tile-off {
    background: #1e1e1e;
}
html[data-theme="dark"] .sch-tile-off h3, html[data-theme="dark"] .sch-tile-off p {
    color: #8b9097;
}
html[data-theme="dark"] .sch-ref-list li {
    border-bottom: 1px solid #343c44;
}
html[data-theme="dark"] .sch-ref-list em {
    color: #999da3;
}
html[data-theme="dark"] .fig-label {
    color: #91ca92;
}
html[data-theme="dark"] .reg-title {
    color: #d2d6db;
}
html[data-theme="dark"] .reg-intro {
    color: #abafb3;
}
html[data-theme="dark"] .reg-green {
    background-color: #2c4f1e !important;
    border-color: #345d23 !important;
}
html[data-theme="dark"] .reg-grid .ls-input, html[data-theme="dark"] .reg-grid .ls-select {
    background-color: #181c1f;
}
html[data-theme="dark"] .reg-grid .login-pwd-toggle {
    color: #999da3;
}
html[data-theme="dark"] .reg-sub {
    color: #d2d6db;
}
html[data-theme="dark"] .reg-piano {
    border: 2px solid #3b4048;
    background: #222222;
}
html[data-theme="dark"] .reg-piano:has(input:checked) {
    background: #192910;
}
html[data-theme="dark"] .reg-piano-nome {
    color: #d2d6db;
}
html[data-theme="dark"] .reg-piano-prezzo small {
    color: #abafb3;
}
html[data-theme="dark"] .reg-piano-desc {
    color: #abafb3;
}
html[data-theme="dark"] .avviso-bg {
    background: rgba(0,0,0,.55);
}
html[data-theme="dark"] .avviso-box {
    background: #222222;
}
html[data-theme="dark"] .avviso-box img {
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .avviso-chiudi {
    color: #d5d9de;
}
html[data-theme="dark"] .avviso-nascondi {
    color: #abafb3;
}
html[data-theme="dark"] .email-stato {
    color: #abafb3;
}
html[data-theme="dark"] .att-intro {
    color: #c6cacf;
}
html[data-theme="dark"] .att-hint {
    color: #abafb3;
}
html[data-theme="dark"] .ap-logo {
    color: #e4e4e4;
}
html[data-theme="dark"] .ap-nav a {
    color: #c6cacf;
}
html[data-theme="dark"] .ap-icon-btn {
    border: 1.5px solid #5a5f65;
    color: #c6cacf;
}
html[data-theme="dark"] .ap-sub {
    color: #abafb3;
}
html[data-theme="dark"] .ap-delta {
    color: #abafb3;
}
html[data-theme="dark"] .ap-note {
    color: #abafb3;
}
html[data-theme="dark"] .ap-table th {
    color: #abafb3;
    border-bottom: 1px solid #3c4149;
}
html[data-theme="dark"] .ap-table td {
    border-bottom: 1px solid #363d44;
}
html[data-theme="dark"] .ap-table td em {
    color: #abafb3;
}
html[data-theme="dark"] .ap-dati dt {
    color: #abafb3;
}
html[data-theme="dark"] .rc-sub {
    color: #c6cacf;
}
html[data-theme="dark"] .rc-chip {
    border: 1px solid #3f4750;
}
html[data-theme="dark"] .rc-info {
    color: #abafb3;
}
html[data-theme="dark"] .rc-verde {
    background: #2f521f;
    color: #9cca90;
}
html[data-theme="dark"] .rc-arancio {
    background: #53351f;
}
html[data-theme="dark"] .rc-viola {
    background: #361d4d;
}
html[data-theme="dark"] .rc-giallo {
    background: #544920;
    color: #ebcc70;
}
html[data-theme="dark"] .rc-azzurro {
    background: #1e3e4f;
}
html[data-theme="dark"] .rc-kpi-txt small {
    color: #abafb3;
}
html[data-theme="dark"] .rc-range small {
    color: #abafb3;
}
html[data-theme="dark"] .rc-tabs label {
    border: 1px solid #3f4750;
    color: #abafb3;
}
html[data-theme="dark"] .rc-tabs label.disabled {
    color: #7f858c;
}
html[data-theme="dark"] #rc-t1:checked ~ .rc-tabs label[for=rc-t1], html[data-theme="dark"] #rc-t2:checked ~ .rc-tabs label[for=rc-t2], html[data-theme="dark"] #rc-t3:checked ~ .rc-tabs label[for=rc-t3], html[data-theme="dark"] #rc-t4:checked ~ .rc-tabs label[for=rc-t4] {
    background: #2b4f1e;
    color: #d5d9de;
}
html[data-theme="dark"] .rc-mini em {
    color: #abafb3;
}
html[data-theme="dark"] .rc-legend em {
    color: #abafb3;
}
html[data-theme="dark"] .rc-msg {
    background: #2a491c;
}
html[data-theme="dark"] .rc-trend-sub {
    color: #abafb3;
}
html[data-theme="dark"] .rc-bubble {
    background: #2b4f1e;
}
html[data-theme="dark"] .rc-trend-date {
    fill: #abafb3;
}
html[data-theme="dark"] .rc-trend-range {
    color: #abafb3;
}
html[data-theme="dark"] .rc-row-cur td {
    background: #2a471b;
}
html[data-theme="dark"] .lg-brand {
    background: radial-gradient(circle at 85% 10%, rgba(176, 222, 150, .22), transparent 42%),
        radial-gradient(circle at 10% 95%, rgba(0,0,0,.25), transparent 50%),
        linear-gradient(160deg, #2f6a30 0%, #1f4d21 60%, #173a19 100%);
}
html[data-theme="dark"] .lg-brand::after {
    border: 70px solid rgba(51,51,51,.05);
}
html[data-theme="dark"] .lg-video-btn {
    background: rgba(34,34,34,.08);
    border: 1px solid rgba(51,51,51,.18);
}
html[data-theme="dark"] .lg-video-btn:hover {
    background: rgba(34,34,34,.14);
}
html[data-theme="dark"] .lg-play {
    background: #222222;
    color: #91ca92;
}
html[data-theme="dark"] .lg-sub {
    color: #abafb3;
}
html[data-theme="dark"] .lg-switch {
    background: #292f36;
}
html[data-theme="dark"] .lg-switch span {
    color: #b3b7bc;
}
html[data-theme="dark"] .lg-switch input:checked + span {
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
html[data-theme="dark"] .lg-label {
    color: #c6cacf;
}
html[data-theme="dark"] .lg-field-ico {
    color: #999da3;
}
html[data-theme="dark"] .lg-input {
    border: 1.5px solid #414751;
}
html[data-theme="dark"] .lg-input::placeholder {
    color: #899098;
}
html[data-theme="dark"] .lg-eye {
    color: #999da3;
}
html[data-theme="dark"] .lg-eye:hover {
    background: rgba(0,0,0,.05);
}
html[data-theme="dark"] .lg-hint {
    color: #abafb3;
}
html[data-theme="dark"] .lg-divider {
    color: #abafb3;
}
html[data-theme="dark"] .lg-divider::before, html[data-theme="dark"] .lg-divider::after {
    background: #32363e;
}
html[data-theme="dark"] .lg-proof {
    color: #abafb3;
}
html[data-theme="dark"] .lg-links a {
    color: #abafb3;
}
html[data-theme="dark"] .lg-dialog {
    background: #383838;
}
html[data-theme="dark"] .lg-dialog::backdrop {
    background: rgba(0,0,0,.7);
}
html[data-theme="dark"] .lg-dialog-close {
    background: rgba(34,34,34,.15);
}
html[data-theme="dark"] .vg-page {
    background: #1b1f1b;
}
html[data-theme="dark"] .vg-hero .vg-invitante {
    background: rgba(34,34,34,.12);
}
html[data-theme="dark"] .vg-box {
    border: 1px solid #3c4149;
}
html[data-theme="dark"] .vg-box legend {
    background: #1b1f1b;
}
html[data-theme="dark"] .vg-l {
    color: #cfd3d7;
}
html[data-theme="dark"] .vg-note {
    background: #17191c;
    border: 1px solid #3c4149;
    color: #bdc1c6;
}
html[data-theme="dark"] .vg-cost span {
    border: 1.5px solid #3c4149;
    background: #1e1e1e;
}
html[data-theme="dark"] .vg-cost small {
    color: #bdc1c6;
}
html[data-theme="dark"] .vg-cost input:checked + span {
    background: #2a491c;
}
html[data-theme="dark"] .vg-disclaimer {
    color: #abafb3;
}
html[data-theme="dark"] .vg-ok {
    background: #2b4f1e;
}
html[data-theme="dark"] .vg-foot {
    color: #abafb3;
}
html[data-theme="dark"] .reg-fatto p {
    color: #c6cacf;
}
html[data-theme="dark"] .logo-badge {
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
html[data-theme="dark"] .ap-logo .logo-badge {
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* ---------- Ritocchi manuali (non generati) ---------- */
:root[data-theme="dark"] {
    color-scheme: dark;
    --ls-green: #3d8a3e;
    --ls-green-dark: #34783a;
}
html[data-theme="dark"] body { border-top-color: #0b0c0e; }
html[data-theme="dark"] img:not([src$=".svg"]) { filter: brightness(.92); }
html[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); }

html[data-theme="dark"] .rc-trend-dot { stroke: #222; }
html[data-theme="dark"] .lg-switch { background: #262a2f; }
html[data-theme="dark"] .lg-eye:hover { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .vg-box legend { background: #1b1f1b; }
