/* Tema oscuro de G-Desk. GENERADO por scripts/build_dark_theme.php a partir de app.css: no editar a mano. */
html[data-theme="dark"] body::before{background:linear-gradient(90deg,#ffce00 0 35%,#242526 35% 62%,#53a045 62% 100%)}
html[data-theme="dark"] body{background:radial-gradient(circle at 12% 4%,rgba(255,206,0,.18),transparent 24%),radial-gradient(circle at 88% 12%,rgba(83,160,69,.14),transparent 28%),linear-gradient(180deg,#1c201f,#1d2123 48%,#1f1f1d)}
html[data-theme="dark"] a{color:#8ec5ee}
html[data-theme="dark"] .required{color:#ff7f88}
html[data-theme="dark"] .brand-mark{box-shadow:0 12px 24px rgba(0,0,0,0.65)}
html[data-theme="dark"] .product-wordmark strong{color:#8ec5ee}
html[data-theme="dark"] .app-icon-xl{box-shadow:0 18px 35px rgba(0,0,0,0.65)}
html[data-theme="dark"] .hero h1 em,html[data-theme="dark"] .showcase h1 em{color:#7fd0f0}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .section-kicker{color:#8ec5ee}
html[data-theme="dark"] .hero-panel{background:linear-gradient(145deg,rgba(25,26,26,0.9),rgba(25,26,26,0.55));border:1px solid rgba(50,51,52,0.85)}
html[data-theme="dark"] .service-card{background:rgba(25,26,26,0.84);border:1px solid rgba(50,51,52,0.88)}
html[data-theme="dark"] .service-icon{color:#8ec5ee}
html[data-theme="dark"] .identify-card{background:rgba(25,26,26,0.86);border:1px solid rgba(50,51,52,0.88)}
html[data-theme="dark"] .btn{box-shadow:0 9px 20px rgba(0,0,0,0.27)}
html[data-theme="dark"] .btn-primary:hover{box-shadow:0 12px 25px rgba(0,0,0,0.65)}
html[data-theme="dark"] .btn-light{background:#191a1a}
html[data-theme="dark"] .btn-light:hover{background:#1a1e1f}
html[data-theme="dark"] .icon-btn{background:#191a1a}
html[data-theme="dark"] .card,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar{background:rgba(25,26,26,0.91);border:1px solid rgba(50,51,52,0.95)}
html[data-theme="dark"] .count-pill,html[data-theme="dark"] .form-step{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#191a1a}
html[data-theme="dark"] input:hover,html[data-theme="dark"] select:hover,html[data-theme="dark"] textarea:hover{border-color:#424748}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{box-shadow:0 0 0 4px rgba(0,0,0,0.33)}
html[data-theme="dark"] .form-section{background:linear-gradient(180deg,#191a1a,#191d1d)}
html[data-theme="dark"] .form-section legend{color:#8ec5ee}
html[data-theme="dark"] .alert-danger{background:#231c1c;color:#e8a1aa;border:1px solid #423637}
html[data-theme="dark"] .alert-success{background:#1e251e;color:#b0e4b4;border:1px solid #3b453a}
html[data-theme="dark"] .alert-warning{background:#28261f;color:#f8e0a5;border:1px solid #4c483e}
html[data-theme="dark"] .alert-info{background:#1e2426;color:#a9ddee;border:1px solid #394346}
html[data-theme="dark"] .toast{background:rgba(25,26,26,0.97);border:1px solid rgba(50,51,52,0.98);box-shadow:0 20px 55px rgba(0,0,0,0.6)}
html[data-theme="dark"] .toast-icon,html[data-theme="dark"] .toast-symbol{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] button.toast-action{color:#8ec5ee}
html[data-theme="dark"] .toast-close{background:#1e2121}
html[data-theme="dark"] .toast-success .toast-icon,html[data-theme="dark"] .toast-success .toast-symbol{background:#20271f;color:#b0e4b4}
html[data-theme="dark"] .toast-danger .toast-icon,html[data-theme="dark"] .toast-danger .toast-symbol{background:#241c1d;color:#e8a1aa}
html[data-theme="dark"] .toast-warning .toast-icon,html[data-theme="dark"] .toast-warning .toast-symbol{background:#292620;color:#f8e0a5}
html[data-theme="dark"] .app-modal{background:rgba(25,26,26,0.98);box-shadow:0 30px 90px rgba(0,0,0,0.65)}
html[data-theme="dark"] .app-modal-icon{background:#2a2821;color:#f8dfa4}
html[data-theme="dark"] .feature-list{color:#8ec5ee}
html[data-theme="dark"] .mine-item{background:#1c1f20}
html[data-theme="dark"] .mine-item-action{background:#1f241d;border-color:#444e42}
html[data-theme="dark"] .mine-item .mine-deadline{color:#f2dba8}
html[data-theme="dark"] .success-ticket{background:linear-gradient(135deg,#1e241c,#1d2325)}
html[data-theme="dark"] .pin-box{background:#191a1a}
html[data-theme="dark"] .brand-chip{color:#8ec5ee}
html[data-theme="dark"] .nav a.active,html[data-theme="dark"] .nav a:hover{color:#8ec5ee}
html[data-theme="dark"] .nav-icon{background:rgba(25,26,26,0.85);color:#8ec5ee}
html[data-theme="dark"] .session-card{background:#1b1f1f}
html[data-theme="dark"] .stat-icon{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] th{background:#191a1a}
html[data-theme="dark"] .responsive-table tbody tr:hover{background:#1b1d1d}
html[data-theme="dark"] .badge-info{background:#1e2527;color:#a9ddee}
html[data-theme="dark"] .badge-primary{background:#222829;color:#a4d3f8}
html[data-theme="dark"] .badge-warning{background:#2b2822;color:#f6dfa4}
html[data-theme="dark"] .badge-success{background:#222820;color:#b3deb1}
html[data-theme="dark"] .badge-danger{background:#251d1e;color:#e89ba3}
html[data-theme="dark"] .badge-muted{background:#212222;color:#b9c0c6}
html[data-theme="dark"] .timeline-item>span{box-shadow:0 0 0 5px rgba(0,0,0,0.3)}
html[data-theme="dark"] .empty-icon{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .error-card{background:rgba(25,26,26,0.94);border:1px solid rgba(50,51,52,0.98);box-shadow:0 25px 70px rgba(0,0,0,0.48)}
html[data-theme="dark"] .error-illustration:before{box-shadow:0 20px 38px rgba(0,0,0,0.65)}
html[data-theme="dark"] .error-illustration:after{border:8px solid #323334}
html[data-theme="dark"] .error-illustration i{background:rgba(25,26,26,0.8)}
html[data-theme="dark"] .error-reference{background:#1d2122;border:1px solid #394143}
html[data-theme="dark"] .error-reference strong{color:#8ec5ee}
html[data-theme="dark"] .asset-card{background:linear-gradient(180deg,#191a1a,#191d1d)}
html[data-theme="dark"] .asset-device-icon{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .asset-tag{color:#8ec5ee}
html[data-theme="dark"] .spec-grid>div{background:#1c1f20}
html[data-theme="dark"] .health-summary{background:#1c1f20}
html[data-theme="dark"] .health-score{background:#222820;color:#b3deb1}
html[data-theme="dark"] .health-alta,html[data-theme="dark"] .health-urgente{background:#251d1e;color:#e89ba3}
html[data-theme="dark"] .health-media{background:#2b2822;color:#f6dfa4}
html[data-theme="dark"] .health-meter{background:#26292a}
html[data-theme="dark"] .health-meter::-webkit-progress-bar{background:#26292a}
html[data-theme="dark"] .inspection-panel summary{color:#8ec5ee}
html[data-theme="dark"] .area-card{background:#191a1a}
html[data-theme="dark"] .area-code{color:var(--area-color,#a4d3f8)}
html[data-theme="dark"] .stat-danger .stat-icon{background:#251d1e;color:#e89ba3}
html[data-theme="dark"] .stat-warning .stat-icon{background:#2b2822;color:#f6dfa4}
html[data-theme="dark"] .asset-identity-card{background:linear-gradient(160deg,#1a1e1f,#1d2122)}
html[data-theme="dark"] .asset-device-icon-lg{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .review-detail{background:#1a1d1e}
html[data-theme="dark"] .calendar-weekday{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .calendar-day{background:#191a1a}
html[data-theme="dark"] .calendar-outside{background:#1c1e1e}
html[data-theme="dark"] .calendar-event{background:#1c2223;color:#8ec5ee}
html[data-theme="dark"] .calendar-event-completado{background:#1f241e}
html[data-theme="dark"] .calendar-event-cancelado{background:#211a1a}
html[data-theme="dark"] .calendar-event-en-ejecucion{background:#23201b}
html[data-theme="dark"] .bar-track{background:#202222}
html[data-theme="dark"] .rank{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .health-band-grid>div{background:#1c1f20}
html[data-theme="dark"] .report-live{background:#1e2522;color:#b4e6d4}
html[data-theme="dark"] .report-live>span{box-shadow:0 0 0 5px rgba(0,0,0,0.36)}
html[data-theme="dark"] .report-stat-blue{color:#a4d3f8}
html[data-theme="dark"] .report-stat-violet{color:#d4a8e7}
html[data-theme="dark"] .report-stat-red{color:#f57f88}
html[data-theme="dark"] .report-stat-green{color:#a9f8cb}
html[data-theme="dark"] .report-stat-violet .stat-icon{background:#231f25;color:#d4a8e7}
html[data-theme="dark"] .report-stat-red .stat-icon{background:#231c1c;color:#f57f88}
html[data-theme="dark"] .report-stat-green .stat-icon{background:#1f2620;color:#a9f8cb}
html[data-theme="dark"] .ring-card{background:linear-gradient(145deg,#191a1a,#1a1d1e)}
html[data-theme="dark"] .chart-ring-number{fill:#8ec5ee}
html[data-theme="dark"] .chart-ring-label{fill:#afb6bd}
html[data-theme="dark"] .chart-chip{background:#1e2223;color:#8ec5ee}
html[data-theme="dark"] .donut-total{fill:#8ec5ee}
html[data-theme="dark"] .donut-label{fill:#afb6bd}
html[data-theme="dark"] .chart-legend>div{border-bottom:1px solid #373a3a}
html[data-theme="dark"] .chart-axis-label{fill:#b5bcc2}
html[data-theme="dark"] .chart-value-label{fill:#c1e0ec}
html[data-theme="dark"] .workload-summary>div{background:#1c1f20}
html[data-theme="dark"] .workload-summary b{color:#ef97c1}
html[data-theme="dark"] .chart-note{background:#1c1f20}
html[data-theme="dark"] .health-number{color:#8ec5ee}
html[data-theme="dark"] .profile-card{background:#191a1a}
html[data-theme="dark"] .profile-status>small{color:#8ec5ee}
html[data-theme="dark"] .profile-card[open]>summary{background:#1c1f20}
html[data-theme="dark"] .status-switch{border:1px solid #3d4446;background:#1a2021}
html[data-theme="dark"] .row-inactive{background:#1e1f1f!important}
html[data-theme="dark"] .responsive-table tr.row-inactive td{color:#b5bcc2}
html[data-theme="dark"] .knowledge-assistant{border:1px solid #3a4245;background:#1a1f21}
html[data-theme="dark"] .integrity-valid{background:linear-gradient(120deg,#1d231c,#191a1a)}
html[data-theme="dark"] .integrity-valid>span{background:#232922;color:#b0e4b4}
html[data-theme="dark"] .integrity-invalid{background:#21191a}
html[data-theme="dark"] .integrity-invalid>span{background:#261d1e;color:#e8a1aa}
html[data-theme="dark"] .security-filter-grid{background:#1a1e1f}
html[data-theme="dark"] .audit-event{background:#191a1a}
html[data-theme="dark"] .audit-event[open]>summary{background:#1b1f1f}
html[data-theme="dark"] .security-callout{background:#1b2123;color:#8ec5ee}
html[data-theme="dark"] .session-list article{background:#1a1d1d}
html[data-theme="dark"] .session-device{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .security-meta{background:#1c1f20}
html[data-theme="dark"] .conformity-card{border:1px solid #3b4446;background:linear-gradient(145deg,#1a211f,#1b2022)}
html[data-theme="dark"] .conformity-options label{background:#191a1a}
html[data-theme="dark"] .conformity-result-success{background:#1e251e;color:#b0e4b4}
html[data-theme="dark"] .conformity-result-danger{background:#231c1c;color:#e8a1aa}
html[data-theme="dark"] .conformity-card>p.conformity-deadline{background:#25231d;color:#f2dba8}
html[data-theme="dark"] .queue-card{background:#191a1a;border:1px solid rgba(50,51,52,0.96)}
html[data-theme="dark"] .queue-card>span{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .queue-red>span{background:#231c1c;color:#e69ba3}
html[data-theme="dark"] .queue-orange>span{background:#27241f;color:#f6cf96}
html[data-theme="dark"] .queue-green>span{background:#1e251e;color:#b0e4b4}
html[data-theme="dark"] .queue-purple>span{background:#231f25;color:#d4a8e7}
html[data-theme="dark"] .queue-yellow>span{background:#28261f;color:#f6dfa4}
html[data-theme="dark"] .notification-bell>span{border:2px solid #323334}
html[data-theme="dark"] .notification-tabs a{background:#191a1a}
html[data-theme="dark"] .notification-item{background:rgba(25,26,26,0.78)}
html[data-theme="dark"] .notification-unread{background:#191a1a}
html[data-theme="dark"] .notification-icon{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .empty-state>svg{color:#8ec5ee}
html[data-theme="dark"] .push-settings{background:linear-gradient(135deg,#1b2123,#1d231c);border:1px solid #3d4543}
html[data-theme="dark"] .push-status-dot{background:#494b4d;box-shadow:0 0 0 4px rgba(0,0,0,0.36)}
html[data-theme="dark"] .push-settings[data-push-state="enabled"] .push-status-dot{box-shadow:0 0 0 4px rgba(0,0,0,0.42)}
html[data-theme="dark"] .push-settings[data-push-state="denied"] .push-status-dot,html[data-theme="dark"] .push-settings[data-push-state="unsupported"] .push-status-dot{box-shadow:0 0 0 4px rgba(0,0,0,0.3)}
html[data-theme="dark"] .push-ios-help{background:#27251f;color:#f8e5ad!important}
html[data-theme="dark"] .preference-card{background:#1a1d1d}
html[data-theme="dark"] .push-device-row{background:#1a1d1d}
html[data-theme="dark"] .push-device-icon{background:#1d2224;color:#8ec5ee}
html[data-theme="dark"] .import-steps article{background:rgba(25,26,26,0.9);border:1px solid rgba(50,51,52,0.95)}
html[data-theme="dark"] .import-summary-grid strong{color:#8ec5ee}
html[data-theme="dark"] .import-warning-list>div{background:#24211c;border:1px solid #4b473d}
html[data-theme="dark"] .import-confirm{background:#20251f;border:1px solid #3d473c}
html[data-theme="dark"] .import-confirm>div:first-child>svg,html[data-theme="dark"] .import-security-note>svg{color:#7fd39a}
html[data-theme="dark"] .import-dropzone{border:2px dashed #454c4f;background:#191e1f}
html[data-theme="dark"] .import-dropzone:hover{background:#1b2021}
html[data-theme="dark"] .import-dropzone>svg{color:#8ec5ee}
html[data-theme="dark"] .import-dropzone input{background:#191a1a}
html[data-theme="dark"] .import-security-note{background:linear-gradient(135deg,#1e241d,#1b2123)}
@media(max-width:900px){html[data-theme="dark"] .public-nav{background:#191a1a}
html[data-theme="dark"] .public-nav>a:hover{background:#1c1f20}
}
@media(max-width:720px){html[data-theme="dark"] .responsive-table tr{background:#191a1a}
html[data-theme="dark"] .public-header{background:rgba(30,33,32,0.86)}
html[data-theme="dark"] .app-tabbar{background:rgba(25,26,26,0.92);box-shadow:0 18px 40px rgba(0,0,0,0.54),0 2px 8px rgba(0,0,0,0.24)}
html[data-theme="dark"] .app-tab.active{color:#8ec5ee}
html[data-theme="dark"] .staff-tabbar{background:rgba(25,26,26,0.92);box-shadow:0 18px 40px rgba(0,0,0,0.54),0 2px 8px rgba(0,0,0,0.24)}
html[data-theme="dark"] .staff-tab.active{color:#8ec5ee}
}
html[data-theme="dark"] .signature-current img{background:#191a1a}
html[data-theme="dark"] .signature-pad{background:#191a1a}
html[data-theme="dark"] .report-summary{background:linear-gradient(160deg,#1a1e1f,#1d2122)}
html[data-theme="dark"] .report-summary>p{color:#8ec5ee}
html[data-theme="dark"] .report-summary-list li{background:#191a1a;border:1px solid #373c3e}
html[data-theme="dark"] .report-summary-icon{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .report-summary-list strong{color:#8ec5ee}
html[data-theme="dark"] .report-insight{background:#1b1f20;color:#8ec5ee}
html[data-theme="dark"] .an-tab.active{background:#191a1a;color:#8ec5ee;box-shadow:0 4px 14px rgba(0,0,0,0.42)}
html[data-theme="dark"] .an-how summary{color:#8ec5ee}
html[data-theme="dark"] .an-run-head code{background:#1e2122}
html[data-theme="dark"] .an-card{background:rgba(25,26,26,0.92)}
html[data-theme="dark"] .an-card-icon{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .an-value{fill:#c9d9e0}
html[data-theme="dark"] .an-reading li{background:#1c1f20}
html[data-theme="dark"] .an-reading li.an-reading-muted{border-left-color:#434647}
html[data-theme="dark"] .mp-bar{background:#222627}
html[data-theme="dark"] .mp-bar::-webkit-progress-bar{background:#222627}
html[data-theme="dark"] .mp-registry{background:#1c1f20}
html[data-theme="dark"] .mp-registry:hover{background:#191a1a}
html[data-theme="dark"] .mp-registry-icon{background:#212628;color:#8ec5ee}
html[data-theme="dark"] .mp-alert-text{color:#ed9691}
html[data-theme="dark"] .mp-activity{border-left:5px solid #434647}
html[data-theme="dark"] .mp-number{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .mp-how{background:#1c1f20}
html[data-theme="dark"] .mp-suggestion{background:#191a1a}
html[data-theme="dark"] .mp-suggestion-new{background:#1b2022}
html[data-theme="dark"] .mp-update>summary{color:#8ec5ee}
html[data-theme="dark"] .mp-history>div{background:#1a1e1f}
html[data-theme="dark"] .mp-email-item{background:#1c1f20}
html[data-theme="dark"] .mp-reco{color:#f9e5b0}
html[data-theme="dark"] .mp-email-item code{background:#202425}
html[data-theme="dark"] .image-lightbox img{box-shadow:0 20px 60px rgba(0,0,0,0.65)}
html[data-theme="dark"] .image-lightbox-close{background:rgba(25,26,26,0.15)}
html[data-theme="dark"] .image-lightbox-close:hover{background:rgba(25,26,26,0.28)}
html[data-theme="dark"] .scan-close{background:rgba(25,26,26,0.16)}
html[data-theme="dark"] .scan-frame{box-shadow:0 0 0 9999px rgba(0,0,0,0.65)}
html[data-theme="dark"] .scan-manual{background:rgba(25,26,26,0.1)}
html[data-theme="dark"] .scan-bar{background:#1a1e1f}
html[data-theme="dark"] .scan-bar small{color:var(--muted,#b9c0c6)}
html[data-theme="dark"] .names-preview summary{color:#8ec5ee}
html[data-theme="dark"] .report-kpis div{background:#1c1f20}
html[data-theme="dark"] .report-kpis strong{color:#8ec5ee}
html[data-theme="dark"] .report-table .report-total td{background:#1d2122}
html[data-theme="dark"] .employee-push{background:#1c2021}
html[data-theme="dark"] .employee-push-ios{color:#f6dfa4!important}
html[data-theme="dark"] .mfa-qr{background:#191a1a}
html[data-theme="dark"] .mfa-secret{background:#1c1f20}
html[data-theme="dark"] .theme-toggle{color:#8ec5ee}
html[data-theme="dark"] .theme-menu button[aria-checked="true"]{background:#1d2225;color:#8ec5ee}
html[data-theme="dark"] .protection-alert{border-color:#493c3d}
html[data-theme="dark"] .protection-ok svg,html[data-theme="dark"] .protection-ok>span:last-child,html[data-theme="dark"] .protection-ok strong{color:#b0e4b4}
html[data-theme="dark"] .protection-missing svg,html[data-theme="dark"] .protection-missing>span:last-child,html[data-theme="dark"] .protection-missing strong{color:#e69ba3}
html[data-theme="dark"] .protection-changed svg,html[data-theme="dark"] .protection-changed>span:last-child,html[data-theme="dark"] .protection-changed strong{color:#f6dfa4}
html[data-theme="dark"] .pw-toggle:hover{color:#8ec5ee}
html[data-theme="dark"] .user-avatar.is-silhouette{background:#252728}
html[data-theme="dark"] .user-avatar.has-photo{background:#252728}
html[data-theme="dark"] a.session-card:hover{background:#1f2224}
html[data-theme="dark"] a.user-pill:hover .user-avatar{box-shadow:0 0 0 3px rgba(0,0,0,0.65)}
html[data-theme="dark"] .gd-notice{border:1px solid #394346;background:#1e2426;color:#a9ddee}
html[data-theme="dark"] .gd-notice-icon{background:rgba(25,26,26,0.7)}
html[data-theme="dark"] .gd-notice-urgent{background:#231c1c;border-color:#423637;color:#e8a1aa}
html[data-theme="dark"] .gd-notice-maintenance{background:#28261f;border-color:#4c483e;color:#f8e0a5}
html[data-theme="dark"] .gd-notice-reminder{background:#1e251e;border-color:#3b453a;color:#b0e4b4}
html[data-theme="dark"] .announcement-fieldset{border:1px solid var(--line,#3a3e40)}
html[data-theme="dark"] .app-login-form{background:rgba(25,26,26,0.86);box-shadow:var(--shadow,0 18px 40px rgba(0,0,0,0.3))}
html[data-theme="dark"] .app-login-staff:hover{color:#8ec5ee}
html[data-theme="dark"] .app-header{background:rgba(30,33,32,0.88)}
@media (min-width:821px){html[data-theme="dark"] .app-header-nav a.active,html[data-theme="dark"] .app-header-nav a:hover{color:#8ec5ee}
}
html[data-theme="dark"] .push-gate-card{background:#191a1a;box-shadow:0 30px 70px rgba(0,0,0,0.65)}
html[data-theme="dark"] .push-gate-icon{color:#8ec5ee}
html[data-theme="dark"] .view-switch{background:#191a1a}
html[data-theme="dark"] .case-tab{background:#191a1a}
html[data-theme="dark"] .case-tab b{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .case-tab.is-active b{background:rgba(25,26,26,0.22)}
html[data-theme="dark"] .case-card::before{background:#424647}
html[data-theme="dark"] .case-card.prio-baja::before{background:#424647}
html[data-theme="dark"] .case-card:hover{border-color:#41484a}
html[data-theme="dark"] .case-card:focus-within{box-shadow:0 0 0 3px rgba(0,0,0,0.6)}
html[data-theme="dark"] .case-code{color:#8ec5ee}
html[data-theme="dark"] .case-owner.is-empty strong{color:#ff7f88}
html[data-theme="dark"] .case-owner-none{background:#231b1c;color:#ff7f88}
html[data-theme="dark"] .tone-danger .case-next-label{color:#ff7f88}
html[data-theme="dark"] .tone-warning .case-next-label{color:#f6c893}
html[data-theme="dark"] .tone-info .case-next-label{color:#8ec5ee}
html[data-theme="dark"] .flow li::before{background:#25292a}
html[data-theme="dark"] .flow-dot{background:#1f2325;border:2px solid #3a3f40}
html[data-theme="dark"] .flow li.is-current .flow-dot{box-shadow:0 0 0 4px rgba(0,0,0,0.54)}
html[data-theme="dark"] .flow li.is-current .flow-label{color:#8ec5ee}
html[data-theme="dark"] .flow li.is-done .flow-label{color:#7fd39a}
html[data-theme="dark"] .case-guide-icon{background:#1e2527;color:#8ec5ee}
html[data-theme="dark"] .tone-danger .case-guide-icon{background:#231b1c;color:#ff7f88}
html[data-theme="dark"] .tone-warning .case-guide-icon{background:#26231e;color:#f6c893}
html[data-theme="dark"] .assign-more summary{color:#8ec5ee}
html[data-theme="dark"] .choice-pill span{background:#191a1a}
html[data-theme="dark"] .choice-pill input:focus-visible+span{box-shadow:0 0 0 3px rgba(0,0,0,0.65)}
html[data-theme="dark"] .decision-option>span{background:#191a1a}
html[data-theme="dark"] .decision-approve input:checked+span{background:#1e231d}
html[data-theme="dark"] .decision-approve input:checked+span svg{color:#7fd39a}
html[data-theme="dark"] .decision-return input:checked+span{background:#23201b}
html[data-theme="dark"] .decision-return input:checked+span svg{color:#f6c893}
html[data-theme="dark"] .decision-option input:focus-visible+span{box-shadow:0 0 0 3px rgba(0,0,0,0.65)}
html[data-theme="dark"] .account-staff-link:hover{color:#8ec5ee}
html[data-theme="dark"] .app-login-staff{background:rgba(25,26,26,0.7)}
html[data-theme="dark"] .filter-more summary{color:#8ec5ee}
html[data-theme="dark"] .login-hero::after{background:linear-gradient(90deg,#ffce00 0 35%,#242526 35% 62%,#53a045 62% 100%)}
html[data-theme="dark"] .login-logo-card{background:#191a1a;box-shadow:0 14px 34px rgba(0,0,0,0.65)}
html[data-theme="dark"] .login-wordmark img{box-shadow:0 8px 22px rgba(0,0,0,0.65)}
html[data-theme="dark"] .login-sheet{box-shadow:0 -16px 44px rgba(0,0,0,0.65)}
html[data-theme="dark"] .login-note{background:#1d2225;color:#a9ddee}
html[data-theme="dark"] .login-error{background:#231b1c;color:#f5959d}
html[data-theme="dark"] .login-spinner{border:3px solid rgba(50,51,52,0.35);border-top-color:#323334}
html[data-theme="dark"] .login-staff:hover{color:#8ec5ee;border-color:#41484a}
@media (min-width:900px){html[data-theme="dark"] .login-hero::after{background:linear-gradient(180deg,#ffce00 0 35%,#242526 35% 62%,#53a045 62% 100%)}
}
html[data-theme="dark"] .mine-count{background:#1f2325;color:#8ec5ee}
html[data-theme="dark"] .mine-item:hover{border-color:#41484a}
html[data-theme="dark"] .mine-top strong{color:#8ec5ee}
html[data-theme="dark"] .mine-status{background:#26231e;color:#f7cd9d}
html[data-theme="dark"] .mine-action .mine-status{background:#232a22;color:#b6eeb0}
html[data-theme="dark"] .mine-closed .mine-status{background:#212425}
html[data-theme="dark"] .mine-action{background:#1d221b;border-color:#444e42}
html[data-theme="dark"] .mine-go{background:#1e2122;color:#8ec5ee}
html[data-theme="dark"] .after-hours-note{background:#28261f;color:#f8e0a5}

/* ---------- Ajustes hechos a mano ---------- */
html[data-theme="dark"]{color-scheme:dark;--bg:#0f1114;--surface:#171a1f;--surface-soft:#1d2127;--text:#e5e8eb;--muted:#9aa3ab;--border:#2c3138;--shadow:0 18px 45px rgba(0,0,0,.45);--shadow-soft:0 8px 22px rgba(0,0,0,.35)}
html[data-theme="dark"] body{color:var(--text);background:var(--bg)}
html[data-theme="dark"] body::before{background:linear-gradient(90deg,#ffce00 0 35%,#f4f7f8 35% 62%,#53a045 62% 100%)}
html[data-theme="dark"] .institutional-logo,html[data-theme="dark"] .footer-logo,html[data-theme="dark"] .hero-institutional-logo,html[data-theme="dark"] .login-institutional-logo,html[data-theme="dark"] .app-login-logo{background:#fff;border-radius:12px;padding:5px 9px;box-sizing:content-box}
html[data-theme="dark"] .mfa-qr,html[data-theme="dark"] .signature-current img,html[data-theme="dark"] .signature-capture canvas,html[data-theme="dark"] canvas[data-signature-pad]{background:#fff !important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#76808a}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background-color:#12151a;color:var(--text);border-color:var(--border)}
html[data-theme="dark"] .ambient{display:none}
html[data-theme="dark"] .theme-menu button[aria-checked="true"]{background:rgba(142,197,238,.14);color:#8ec5ee}
html[data-theme="dark"] .btn-primary,html[data-theme="dark"] .btn-primary:hover{color:#fff}
