/* Generated by tools/build_view_dark_theme.py. Explicit legacy-view fallbacks. */

/* modulos/recoleccion/views/default/rutas/rutas.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--page-bg:var(--ai-bg)!important;--text:var(--ai-text)!important;--muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"],
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .hero-badge-dot{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .glass-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .input-shell{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .input-shell input.form-control{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .input-shell .select2-container--krajee-bs4 .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .input-shell .select2-container--bootstrap .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .input-shell .select2-container .select2-selection{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-lux-secondary{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .pill-dot{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .layer-chip input[type="checkbox"]:checked + .layer-chip-label .layer-chip-icon{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mapboxgl-popup-content{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-line{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-badge-success{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-badge-warning{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-badge-danger{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-badge-default{color:var(--ai-primary)!important;}

/* modulos/recoleccion/views/recoleccion-rutas/_form.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-subcard{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-subcard-title strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-subcard-title strong i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .control-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .form-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .help-block{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body textarea,
html[data-app-theme="dark"][data-bs-theme="dark"] body input[type="text"],
html[data-app-theme="dark"][data-bs-theme="dark"] body input[type="number"],
html[data-app-theme="dark"][data-bs-theme="dark"] body input[type="time"]{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-helper{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-helper i{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-danger-note{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-danger-note i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-table thead th{background:var(--ai-surface)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-table tbody td{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-map-head strong i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container--krajee-bs5 .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container--krajee-bs4 .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container--krajee .select2-selection{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container .select2-selection__rendered{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-results__option{color:var(--ai-text)!important;}

/* modulos/recoleccion/views/recoleccion-rutas/asignacion-dia-siguiente.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .unit-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .status-online{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .status-offline{background:var(--ai-warning-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .status-unknown{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .workshop-badge{color:var(--ai-danger)!important;background:var(--ai-danger-bg)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .select2-container--default .select2-selection--single{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .unit-notes summary{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .next-day-planning .save-bar{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}

/* modulos/recoleccion/views/recoleccion-rutas/avance-tiempo-real.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .hero-title{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .hero-subtitle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .progress-labels{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .refresh-countdown-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .map-toolbar-hint{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .legend-item{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mapboxgl-popup-content{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mapboxgl-popup-tip{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-popup{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-popup-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-popup-body::-webkit-scrollbar-thumb{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-stat{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-stat-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-stat-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-section-title{color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-section-title i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-chip{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-chip:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-chip i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-device-item{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-device-item:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-device-icon.ok{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-device-icon.wait{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-device-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-empty{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .page-loading-title{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .page-loading-subtitle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .section-divider{color:var(--ai-text)!important;}

/* modulos/recoleccion/views/recoleccion-rutas/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-card-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-card-header strong{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .table{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .table > thead > tr > th{background:var(--ai-surface)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .table > tbody > tr > td{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .table-hover > tbody > tr:hover > td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .table a{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .filters input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .filters select{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .filters input::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .badge-ruta-on{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .badge-ruta-off{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-counter{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .summary{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .pagination > li > a,
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-index .pagination > li > span{color:var(--ai-primary)!important;border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}

/* modulos/recoleccion/views/recoleccion-rutas/mapa_interactivo.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .route-select option{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .leaflet-tooltip.colonia-tooltip{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-row{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-status.ok{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-status.no{color:var(--ai-text)!important;}

/* modulos/recoleccion/views/recoleccion-rutas/view.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-view-page{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-reco-light{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-reco-light:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-reco-light:focus{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-stat-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-stat-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-stat-value{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-box{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-chip-dark{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-detail-wrap .table th{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-detail-wrap .table td{color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-table thead th{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-table tbody td{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-table tbody tr:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-mini-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-badge{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-badge-success{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-badge-muted{background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-empty{border-color:var(--ai-line)!important;color:var(--ai-muted)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-map-note{background:var(--ai-soft)!important;border-top-color:var(--ai-line)!important;color:var(--ai-text)!important;}

/* modulos/recoleccion/views/reporte/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--surface:var(--ai-surface)!important;}

/* modulos/seguridadpublica/views/default/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-floating-panel{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-panel-header{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-panel-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-panel-subtitle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-panel-collapse{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-panel-collapse:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-kpi{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-kpi-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-kpi strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-filter label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-filter-status{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-layer-switches{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-legend{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-section-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-legend-row{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-loading{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-layer-control button{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-layer-control button + button{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-layer-control button:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-layer-control button.is-error{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-layer-control button .ssp-layer-dot{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-colonia-readonly{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-head{border-bottom-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-head strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-head small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-item{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-address{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-history-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-menu-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-menu button{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-menu button:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-click-marker{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-coords{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-geo-status{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-geo-status.is-loading{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-geo-status.is-ok{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-geo-status.is-error{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-type-preview-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-route-start,
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-route-end{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-replay-marker{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-replay-speed .btn.is-active{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}

/* modulos/seguridadpublica/views/default/reportes.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-r-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-r-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-filter-card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-filter-card label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-kpi-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-kpi-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-kpi-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-positive{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-negative{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-neutral{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-card-title h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-card-title span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-table th{color:var(--ai-muted)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-table td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-rank{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-bar{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-pill{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-insight{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-insight small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-insight strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-recent-main{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ssp-recent-sub{color:var(--ai-muted)!important;}

/* modulos/soporte/views/default/chat.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-shell{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-sidebar{border-right-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-brand{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-brand h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-presence{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-session:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-session.active{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-session-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-session-meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-status-pill{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-status-pill.attending{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-top{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-avatar{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-top-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-top-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-messages{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-welcome{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-welcome i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-bubble{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-composer{border-top-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-emoji button{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-file-btn{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-file-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-offline-banner{background:var(--ai-warning-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-online-banner{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-prechat-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-prechat h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-prechat p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .sc-empty-list{color:var(--ai-muted)!important;}

/* modulos/soporte/views/default/ticket.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .thread-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .thread-head{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .thread-folio{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .thread-subject{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .thread-messages{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .bubble{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reply-box{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .emoji-bar button{background:var(--ai-soft)!important;}

/* modulos/soporte/views/default/tickets.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-upload{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ticket-row{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ticket-row:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ticket-folio{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ticket-subject{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ticket-meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-empty{color:var(--ai-muted)!important;}

/* modulos/taller/views/default/_header.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .taller-brand{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .taller-brand small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .taller-nav a{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .taller-nav a:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tw-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tw-muted{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tw-table th,
html[data-app-theme="dark"][data-bs-theme="dark"] body .tw-table td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tw-badge{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tw-input{border-color:var(--ai-line)!important;}

/* views/atributos-calculados/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--fc-bg:var(--ai-bg)!important;--fc-card:var(--ai-surface)!important;--fc-text:var(--ai-text)!important;--fc-muted:var(--ai-muted)!important;--fc-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-module{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn.danger{background:var(--ai-danger-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field textarea{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table td{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.good{background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.warn{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-note{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-code{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-check{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-section-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-x:hover{background:var(--ai-raised)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-remote-modal .modal-body{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-error{border-color:var(--ai-line)!important;background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.view{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.edit{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.delete{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}

/* views/calendarios/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--fc-bg:var(--ai-bg)!important;--fc-card:var(--ai-surface)!important;--fc-text:var(--ai-text)!important;--fc-muted:var(--ai-muted)!important;--fc-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-module{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn.danger{background:var(--ai-danger-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field textarea{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table td{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.good{background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.warn{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-note{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-code{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-check{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-section-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-x:hover{background:var(--ai-raised)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-remote-modal .modal-body{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-error{border-color:var(--ai-line)!important;background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.view{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.edit{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.delete{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}

/* views/comandos/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--fc-bg:var(--ai-bg)!important;--fc-card:var(--ai-surface)!important;--fc-text:var(--ai-text)!important;--fc-muted:var(--ai-muted)!important;--fc-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-module{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn.danger{background:var(--ai-danger-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field textarea{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table td{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.good{background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.warn{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-note{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-code{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-check{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-section-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-x:hover{background:var(--ai-raised)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-remote-modal .modal-body{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-error{border-color:var(--ai-line)!important;background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.view{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.edit{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.delete{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}

/* views/conductores/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--drv-bg:var(--ai-bg)!important;--drv-muted:var(--ai-muted)!important;--drv-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-icon{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-btn.primary{background:var(--ai-warning-bg)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-nav a{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card-head,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .cp-card-header,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .card-header{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form label.control-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .form-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .input-group-text{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .file-preview{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .btn-secondary{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-info{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-info small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-profile{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-photo{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-photo-placeholder{background:var(--ai-surface)!important;color:var(--ai-muted)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-license-img{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-badge{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-badge.warn{color:var(--ai-warning)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-badge.danger{color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-kpi{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-kpi .lab{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-kpi .val{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-kpi .sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-surface,
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-widget{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-surface-head,
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-widget-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-surface-title,
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-widget-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-surface-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-widget-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-control{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-btn-ghost{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-btn-danger-soft{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-table-wrap{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-table tbody td{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-table tbody tr:nth-child(even){background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-table tbody tr:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-avatar{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-chip{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-chip-license{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-chip-danger{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-page-info{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-page-btn{border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-insight{border-color:var(--ai-line)!important;background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-insight i{background:var(--ai-surface)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-insight b{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-insight p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-timeline::before{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-tl-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-tl-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .cp-skeleton{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-index .table td,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-view .detail-view td{border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-index .table tbody tr:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"]{--drv-bg:var(--ai-bg)!important;--drv-muted:var(--ai-muted)!important;--drv-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-page{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-btn.primary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-nav{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-nav a{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .cp-card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-index .card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-view .card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card-head,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .cp-card-header,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .card-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card-head .drv-head-icon{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card-head h3,
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card-head h4,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .cp-card-header h4,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .card-header h4{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card-head p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-card-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .cp-card-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .card-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form label.control-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .form-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .select2-selection{border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .input-group-text{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .file-preview{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form .btn-secondary{border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-info-grid{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-info{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-info small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-info strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-profile{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-photo-placeholder{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-license-img{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-badge{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-badge.warn{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .drv-badge.danger{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-index .table td,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-view .detail-view td{border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-index .table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-index .table tbody tr:hover td{background:var(--ai-soft)!important;color:var(--ai-text)!important;}

/* views/conductores/editar/editar.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium{--cp-text-muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium .card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium .card-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium label.control-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium .form-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium .input-group-text{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium .file-preview{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium .btn.btn-secondary{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-form.conductor-premium .btn.btn-secondary:hover{background:var(--ai-soft)!important;color:var(--ai-text)!important;}

/* views/conductores/in.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .card-header{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .form-select:hover{background:var(--ai-raised)!important;}

/* views/conductores/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet{--fc-bg:var(--ai-bg)!important;--fc-surface:var(--ai-surface)!important;--fc-muted:var(--ai-muted)!important;--fc-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .fleet-shell{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-kpi{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-kpi:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-kpi .lab{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-kpi .val{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-kpi .sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-surface,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-widget{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-surface-head,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-widget-head{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-surface-title,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-widget-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-surface-title i,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-widget-title i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-surface-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-widget-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-control{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-btn-ghost{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-btn-danger-soft{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-table-wrap{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-table{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-table tbody td{color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-table tbody tr:hover td{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-avatar{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-chip{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-chip-license{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-chip-danger{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-pager{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-page-info{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-page-btn{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-insight{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-insight i{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-insight b{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-insight p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-timeline:before{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-tl-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-tl-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conductores-fleet .cp-skeleton{background:var(--ai-surface)!important;}

/* views/conductores/reportes.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--rp-border:var(--ai-line)!important;--rp-muted:var(--ai-muted)!important;--rp-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-page{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-head{border-bottom-color:var(--ai-line)!important;background:var(--ai-raised)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-field label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-control{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-soft{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-bar{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-rank-val{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-note{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-note strong{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-alert{background:var(--ai-warning-bg)!important;border-color:var(--ai-line)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-table-wrap{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-table th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-table td{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-table tbody tr:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-driver small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-ok{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-warn{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-danger{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-neutral{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-gps{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-assignment{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-device{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-tab{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}

/* views/dispositivos/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--dv-bg:var(--ai-bg)!important;--dv-card:var(--ai-surface)!important;--dv-line:var(--ai-line)!important;--dv-text:var(--ai-text)!important;--dv-muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-create,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-update,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-create .card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-update .card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .card:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .card:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .card:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .card-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .card-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-create .card-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-update .card-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .card-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-create label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-update label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-create .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-update .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-search .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container--krajee-bs5 .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .form-control::placeholder,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-search .form-control::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container--krajee-bs5 .select2-selection__rendered{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-dropdown{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-results__option{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-results__option--highlighted{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-secondary{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .table,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .table,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .table{--bs-table-bg:var(--ai-bg)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .table th,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .table th,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .table th{color:var(--ai-muted)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .table td,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .table td,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .table td{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .table tbody tr:hover td,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .nav-tabs .nav-link,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .nav-tabs .nav-link{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .nav-tabs .nav-link.active,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv-premium-page .nav-tabs .nav-link.active{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-view .bg-light,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .bg-light{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .text-muted{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tracking-container{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tracking-container .map-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .tracking-container .info-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tracking-container .info-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tracking-container .info-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tracking-container .info-grid,
html[data-app-theme="dark"][data-bs-theme="dark"] body .tracking-container .info-cell{border-color:var(--ai-line)!important;}

/* views/dispositivos/detalles/tabs/conductores.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #dtConductores{--muted:var(--ai-muted)!important;--line:var(--ai-line)!important;--surface:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-card-title i{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-count{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-alert.ok{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-alert.error{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-driver{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-driver:hover{border-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-avatar{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-driver-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-driver-meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-driver-state{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-driver.is-linked .dt-driver-state{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-slider{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dtConductores .dt-empty,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-empty i,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-loading i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-help{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}

/* views/dispositivos/detalles/tabs/dispositivos.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap{--dt-bg:var(--ai-bg)!important;--dt-card:var(--ai-surface)!important;--dt-line:var(--ai-line)!important;--dt-muted:var(--ai-muted)!important;background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-nav{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-nav-btn{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-nav-btn:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .alert-success.alert-premium{background:var(--ai-success-bg)!important;border-color:var(--ai-line)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .alert-danger.alert-premium{background:var(--ai-danger-bg)!important;border-color:var(--ai-line)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .alert-premium .icon{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .card.dt-section{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .card.dt-section:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .card-header{border-bottom-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .card-header .card-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .card-header .card-title:before{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .form-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .select2-container--krajee-bs5 .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .form-control[readonly]{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .select2-container--krajee-bs5 .select2-selection__rendered{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .help-block,
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .invalid-feedback{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .file-input{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .file-input .file-preview{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .file-preview-frame{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .btn.dt-save{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .btn.dt-save:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-attrs{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-head{border-bottom-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-head strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-count{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-tools{background:var(--ai-surface)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-field label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-field select,
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-field input{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-help{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-msg.ok{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-msg.error{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #dispositivos-form-wrap .dt-traccar-item{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-name{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-key{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-type{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-mini{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dt-traccar-mini.danger{color:var(--ai-danger)!important;background:var(--ai-danger-bg)!important;border-color:var(--ai-line)!important;}

/* views/dispositivos/detalles/tabs/geocercas.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #dtGeocercas{--muted:var(--ai-muted)!important;--line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-alert.ok{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-alert.error{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-item{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-item.is-linked{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-state{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-slider{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-empty,
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rt-help{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}

/* views/dispositivos/detalles/tabs/mantenimientos.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #dtMantenimientos{--muted:var(--ai-muted)!important;--line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-alert.ok{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-alert.error{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-item{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-item.is-linked{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-state{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-slider{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-empty,
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mt-help{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}

/* views/dispositivos/detalles/tabs/notificaciones.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #dtNotificaciones{--muted:var(--ai-muted)!important;--line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-alert.ok{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-alert.error{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-item{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-item.is-linked{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-state{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-slider{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-empty,
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-help{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}

/* views/dispositivos/detalles/tabs/sensores.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors .sensor-head{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors .sensor-head strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors .sensor-copy{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors .table th{color:var(--ai-muted)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors .sensor-editor{border-top-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors small,
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors .sensor-help{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors .sensor-advanced{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors summary{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #deviceSensors [data-result]{color:var(--ai-muted)!important;}

/* views/dispositivos/editar/editar.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-title{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-title i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-item{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-item strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-help{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form{--de-muted:var(--ai-muted)!important;--de-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .de-head-icon{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .de-btn-ghost{background:var(--ai-surface)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .de-section-nav{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .de-nav-pill{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .de-nav-pill:hover{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form #dispositivos-form>.card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form #dispositivos-form>.card>.card-header{border-bottom-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form #dispositivos-form>.card>.card-header:before{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form #dispositivos-form>.card>.card-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .control-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .select2-container--krajee-bs5 .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .select2-container--default .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .form-control:focus,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .select2-container--open .select2-selection{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .select2-container--krajee-bs5 .select2-selection--single .select2-selection__rendered{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .file-input{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .file-preview{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form .file-preview-frame{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dispositivos-form #dispositivos-form>.card:last-of-type .form-group{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}

/* views/dispositivos/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui{--fc-bg:var(--ai-bg)!important;--fc-surface:var(--ai-surface)!important;--fc-muted:var(--ai-muted)!important;--fc-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-shell{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-action.primary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-action.primary:hover{color:var(--ai-text)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .online .fc-kpi-icon{color:var(--ai-success)!important;background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .offline .fc-kpi-icon{color:var(--ai-danger)!important;background:var(--ai-danger-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .unknown .fc-kpi-icon{color:var(--ai-warning)!important;background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .distance .fc-kpi-icon{color:var(--ai-primary)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .online .fc-kpi-value{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .offline .fc-kpi-value{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .unknown .fc-kpi-value{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .distance .fc-kpi-value{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-count{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-toolbar{border-bottom-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field select{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-dark,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-secondary{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-success{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-danger{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-warning{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-info{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-history.active{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody td{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr.gp-row-selected td{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-badge-online{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-badge-offline{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-badge-unknown{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-mini-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-selected-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-sel-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-sel-meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-clear{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-clear:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-analytics-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-analytics-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-title i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__text{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__progress{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui{--fc-bg:var(--ai-bg)!important;--fc-surface:var(--ai-surface)!important;--fc-muted:var(--ai-muted)!important;--fc-line:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-shell{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-action.primary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-action.primary:hover{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi-foot{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .online .fc-kpi-icon{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .offline .fc-kpi-icon{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .unknown .fc-kpi-icon{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .distance .fc-kpi-icon{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .online .fc-kpi-value{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .offline .fc-kpi-value{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .unknown .fc-kpi-value{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .distance .fc-kpi-value{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card-head{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui .fc-card-head h1,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui .fc-card-head h2,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui .fc-card-head h3,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui .fc-card-head h4,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui .fc-card-head h5,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui .fc-card-head h6,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card-title i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-count{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-toolbar{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field select{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-dark,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-secondary{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-dark:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-btn-secondary:hover{background:var(--ai-raised)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody td{color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr:hover td{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr.gp-row-selected td{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-mini-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-sel-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-sel-meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-tip{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-tip strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-tip p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-analytics-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-analytics-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-head{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-title i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__text{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__progress{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-ui{--fc-bg:var(--ai-bg)!important;--fc-surface:var(--ai-surface)!important;--fc-line:var(--ai-line)!important;--fc-muted:var(--ai-muted)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fleet-shell{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-action.primary{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi-foot{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-count{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-toolbar{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field select{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-toolbuttons .gp-btn-dark,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-toolbuttons .gp-btn-secondary{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table-wrap{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody td{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr:hover td{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody tr.gp-row-selected td{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-table tbody td strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-badge-online{background:var(--ai-success-bg)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-badge-offline{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-badge-unknown{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-mini-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-title,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-analytics-title,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-sel-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-analytics-sub,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-sel-meta,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-tip p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-tip{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-head{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-chart-card{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__text{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-global-loader__progress{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-location-loading,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-location-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-location-loading i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-location-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-location-value i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-modal__dialog{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-modal__mapwrap{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-modal__loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-modal__side{background:var(--ai-soft)!important;border-left-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-device{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-device__name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-device__imei{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-info__item{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-info__label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-info__value{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-popup__name{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-popup__meta{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-map-modal__side{border-top-color:var(--ai-line)!important;}

/* views/dispositivos/registrar/registrar.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-title{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-title i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-item{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-item strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-connection-help{color:var(--ai-muted)!important;}

/* views/dispositivos/seguimiento/seguimiento.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .map-container{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-header h2{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-row{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .command-row{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}

/* views/dispositivos/view.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--dv9-bg:var(--ai-bg)!important;--dv9-surface:var(--ai-surface)!important;--dv9-text:var(--ai-text)!important;--dv9-muted:var(--ai-muted)!important;--dv9-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-page{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-action.primary{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-summary{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-panel-head{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-panel-title i{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-spec{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-bool.no{color:var(--ai-muted)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-temp-box{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-temp-value{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-temp-value span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-temp-value strong{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-photo{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-photo:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-photo-media{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-photo-empty{color:var(--ai-muted)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-rel-item{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-rel-item.is-linked{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-key{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-tools{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-field select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-field input{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-mini{background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-mini.danger{color:var(--ai-danger)!important;border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-type{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-msg.ok{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dv9-attr-msg.error{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}

/* views/empresa-configuracion/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-card-head{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-card-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-card-head h5{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-card-head p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-card .form-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-card .form-control{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-logo-box{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-logo-preview{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-logo-copy strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-logo-copy span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-search-results{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-search-item{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-search-item:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-map-footer{background:var(--ai-surface)!important;border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-coord{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-coord span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-coord strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-readonly dt{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-readonly dd{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .company-warning{border-color:var(--ai-line)!important;background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}

/* views/geo-zonas/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--gzp-bg:var(--ai-bg)!important;--gzp-card:var(--ai-surface)!important;--gzp-line:var(--ai-line)!important;--gzp-muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-view,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-create,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-update,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-page{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-badge:before{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-form .card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-card-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-form .card-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-form label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-search label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-form .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-form .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-search .form-control{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-secondary,
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-outline-secondary{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-stat{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-stat-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-stat-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-color{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-view .table th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-view .table td{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-view .table th,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-view .table td{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-form .input-group-text{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-search{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-page .table>tbody>tr>td{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-page .table>tbody>tr:nth-child(even){background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gzp-page .table>tbody>tr:hover{background:var(--ai-soft)!important;}

/* views/geo-zonas/editar/editar.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-modal-form{color:var(--ai-text)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-modal-form label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-modal-form .form-control{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-modal-form .field-error{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-modal-form .help-text{color:var(--ai-muted)!important;}

/* views/geo-zonas/in.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index .kv-grid-wrapper,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index .card{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index table tbody td{color:var(--ai-text)!important;background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geo-zonas-index .pagination .page-link{color:var(--ai-primary)!important;}

/* views/geo-zonas/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--gz-surface:var(--ai-surface)!important;--gz-card:var(--ai-surface)!important;--gz-text:var(--ai-text)!important;--gz-text-muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input::placeholder{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-edit:hover{color:var(--ai-text)!important;background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-icon svg{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .col-geozona{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .col-geozona .container{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-command-live span{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-bar{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input:focus{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input-container svg{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .header-chip{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-count{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .vehicle-list{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .vehicle-list::-webkit-scrollbar-track{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .vehicle-list::-webkit-scrollbar-thumb{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .toggle-arrow{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-item{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-item:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-type{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-meta,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-date,
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-schedule{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-icon{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-checkbox{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-delete-geozona{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-message{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-text,
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-suggestion{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-icon{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-toast{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-modal{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-select{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-help{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-btn-ghost{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"],
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #map_canvas{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .col-geozona{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .col-geozona .container{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-overview{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-metric{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-metric-icon.all{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-metric-icon.poly{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-metric-icon.line{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-metric b{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-metric small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-toolbar{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input-container>i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input:focus{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-clear-search{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-clear-search:hover{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-master-toggle span{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-master-toggle input:checked+span{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .header{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .header-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .header-chip{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-mini-btn{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-mini-btn:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .vehicle-list{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header .toggle-arrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-count{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-item{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-item:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-item.selected{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-checkbox{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-type{color:var(--ai-primary)!important;background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-date{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-schedule{color:var(--ai-accent)!important;border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-edit{color:var(--ai-primary)!important;border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-edit-polygon{color:var(--ai-accent)!important;border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-delete{color:var(--ai-danger)!important;border-color:var(--ai-line)!important;background:var(--ai-danger-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-message{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-text{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .no-results-icon svg{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-dialog{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-dialog-body,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-dialog-footer{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-input{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-help{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-btn-ghost{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gz-toast{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .geozone-icon{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-edit{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-edit-polygon{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-delete{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header i{color:var(--ai-primary)!important;}

/* views/grupos/_form.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attribute-row{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-meta strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-meta small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-help{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attribute-value{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-bool-control{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-bool-control span{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-switch-slider{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-remove-attribute{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-remove-attribute:hover{background:var(--ai-danger-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-empty-attributes{border-color:var(--ai-line)!important;color:var(--ai-muted)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-empty-attributes i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-empty-attributes strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-inline-warning{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-feature-list>div{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-feature-list i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-dialog{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-picker-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-picker-search i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-picker-search input{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-picker-hint{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-options{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-option{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-option:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-option strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-option small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-type-badge{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-option.used{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-option.used:after{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-picker-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-custom-box{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-custom-box strong{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-custom-box span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-custom-row select{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attr-dialog-foot{border-top-color:var(--ai-line)!important;background:var(--ai-soft)!important;}

/* views/grupos/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--gr-bg:var(--ai-bg)!important;--gr-card:var(--ai-surface)!important;--gr-line:var(--ai-line)!important;--gr-muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-btn.primary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-kpi{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-kpi-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-search i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-search input{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-table tbody td{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-table tbody tr:nth-child(even){background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-table tbody tr:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-node{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-badge{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-badge.root{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-icon-btn{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-section{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-section-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-section-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-shell .form-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-shell label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-shell .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-shell .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-shell .select2-container--krajee-bs5 .select2-selection{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-cancel{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-info{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-info small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-info strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-device{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-device-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-device-id{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-empty{color:var(--ai-muted)!important;}

/* views/grupos/view.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-computed-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-computed-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-computed-main strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-computed-main span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-computed-main code{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attribute-item{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attribute-item strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attribute-item small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gr-attribute-item code{color:var(--ai-text)!important;}

/* views/layouts/main.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--neo-bg:var(--ai-bg)!important;--neo-text:var(--ai-text)!important;--neo-muted:var(--ai-muted)!important;--neo-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .breadcrumb{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .modal-content{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .modal-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .modal-footer{border-top-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .btn-premium-secondary{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}

/* views/layouts/partials/sidebar.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-nav-arrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-menu-link i:first-child{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-menu-link .neo-chevron{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu:before{background:var(--ai-surface)!important;border-left-color:var(--ai-line)!important;border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu .dropdown-item{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu .dropdown-item i{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu .dropdown-item:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu .dropdown-item.active{background:var(--ai-raised)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu .dropdown-item:hover i,
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu .dropdown-item.active i{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-sidebar-live span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-dropdown-menu{background:var(--ai-surface)!important;}

/* views/layouts/partials/topbar.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-topbar{background:var(--ai-surface)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-topbar-brand{border-right-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-brand-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-menu-trigger{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-page-heading .eyebrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-page-heading h1{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-status-chip{border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-icon-btn{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-icon-btn:hover{border-color:var(--ai-line)!important;color:var(--ai-primary)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-alert-badge{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-btn{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-meta small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-btn .ri-arrow-down-s-line{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-menu{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-menu .neo-user-menu-head{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-menu .neo-user-menu-head span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-menu .dropdown-item{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .neo-user-menu .dropdown-item:hover{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-dropdown{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-toolbar{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-search-wrap i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-search-wrap input{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-empty i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-empty strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-alert-footer-actions{border-top-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-dropdown{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-item{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-item:hover{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-icon.chat{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-copy span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-copy time{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-empty i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .support-notify-foot{border-top-color:var(--ai-line)!important;background:var(--ai-surface)!important;}

/* views/mantenimientos/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--fc-bg:var(--ai-bg)!important;--fc-card:var(--ai-surface)!important;--fc-text:var(--ai-text)!important;--fc-muted:var(--ai-muted)!important;--fc-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-module{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-btn.danger{background:var(--ai-danger-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-kpi,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-field textarea{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table td{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:nth-child(even) td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.good{background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-pill.warn{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-note{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-code{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-check{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-section-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-x:hover{background:var(--ai-raised)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-remote-modal .modal-body{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-modal-error{border-color:var(--ai-line)!important;background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.view{background:var(--ai-soft)!important;color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.edit{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-icon.delete{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}

/* views/notificaciones/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--nt-bg:var(--ai-bg)!important;--nt-surface:var(--ai-surface)!important;--nt-line:var(--ai-line)!important;--nt-text:var(--ai-text)!important;--nt-muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .notif-hero-icon{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-btn-primary{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-btn-light{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-kpi{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-kpi-icon{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-field{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-chip{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .notif-shell .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .notif-shell .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .notif-shell .select2-container--krajee-bs5 .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .notif-shell label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .notif-shell .control-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-section{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-section-icon{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-table{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-table tbody td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-table tbody tr:nth-child(even){background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-table tbody tr:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-view{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-edit{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-delete{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-filterbar{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-side-note{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}

/* views/notificaciones/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-control .nt-type{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-control .nt-attrs{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-control .nt-filter-row th{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .pagination .page-link{color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .nt-table-footer{color:var(--ai-muted)!important;}

/* views/notificaciones/nuevo/form.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new{--nn-bg:var(--ai-bg)!important;--nn-card:var(--ai-surface)!important;--nn-text:var(--ai-text)!important;--nn-muted:var(--ai-muted)!important;--nn-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-shell{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-brand-icon{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-alert{border-color:var(--ai-line)!important;background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-card-head{border-bottom-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-card-title i{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .control-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .form-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .select2-container--krajee-bs5 .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .select2-container--krajee-bs5 .select2-selection__choice{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .select2-dropdown{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-switch-row{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-switch-copy strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-toggle-ui:after{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-stat{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-stat-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-stat-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-alarm-box{border-color:var(--ai-line)!important;background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-loading-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-loading-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-loading-sub{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-footer{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-footer-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-btn-light{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #notif-new .nn-btn-retry{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-accent)!important;}

/* views/roles-rbac/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-title p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-stat,
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-card,
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-users{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-stat b{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-stat span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-card p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-btn{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-section-head h2{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-section-head p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-user-search{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-user-table th,
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-user-table td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-user-table th{color:var(--ai-muted)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-user-table td{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-avatar{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-user-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-user-mail{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-badge{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-badge.role{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-count{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-count.manual{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rb-empty{color:var(--ai-muted)!important;}

/* views/roles-rbac/permisos.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-toolbar{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-search{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-counter{color:var(--ai-muted)!important;background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-excluded{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-excluded code{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-group{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-group-head{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-mini{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-item{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-item.menu-permission{border-color:var(--ai-line)!important;background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-item small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-menu-badge{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-route{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-bottom{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-empty{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}

/* views/roles-rbac/reporte.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .rr-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rr-table{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}

/* views/roles-rbac/usuario-permisos.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-user{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-avatar{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-user-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-user-email{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-role{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-role.none{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-legend span{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-toolbar{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-search{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-counter{color:var(--ai-muted)!important;background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-group{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-group-head{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-mini{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-item{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-item.manual{border-color:var(--ai-line)!important;background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-item.inherited{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-item.menu-permission:not(.inherited){border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-item small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-status.role{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-status.manual{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-status.menu{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-route{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-bottom{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-summary{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .up-empty{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}

/* views/settings/_location_picker.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-searchbox input{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-search-icon{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-results{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-result{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-result:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-result:focus{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-result span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-map-wrap{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-panel{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-tip{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-tip i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-status{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .location-picker-status strong{color:var(--ai-text)!important;}

/* views/settings/_premium_ui.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--fc-bg:var(--ai-bg)!important;--fc-text:var(--ai-text)!important;--fc-muted:var(--ai-muted)!important;--fc-line:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-btn.primary{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-nav{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-nav a{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-nav a:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-nav a.active{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-card:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-card-head i{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-card-head h2{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-field label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-help-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-advanced-empty{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-field input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-field select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-field textarea{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-check{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-footer{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-fc.secondary{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .btn-fc.danger{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-advanced-row .key{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-badge{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-alert{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .settings-alert.error{background:var(--ai-danger-bg)!important;border-color:var(--ai-line)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container--default .select2-selection--multiple,
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-container--default .select2-selection--single{border-color:var(--ai-line)!important;}

/* views/site/gps/realtimemapbox.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .realtime-group-filter-head small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .realtime-group-filter-copy small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-history-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-history-field-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-history-popup-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-history-playback-popup-row{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #devicePanel .owner-group-text small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #devicePanel .owner-group-arrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #devicePanel .status-offline{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #devicePanel .ignition-off{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #devicePanel .motion-stopped{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #history-range-menu .history-range-title{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #floating-context-menu .menu-item[data-action="historial"] .history-menu-arrow{color:var(--ai-muted)!important;}

/* views/site/gps/reportes/reporte-diario.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--bg-primary:var(--ai-bg)!important;--bg-secondary:var(--ai-raised)!important;--surface:var(--ai-surface)!important;--text-primary:var(--ai-text)!important;--text-secondary:var(--ai-muted)!important;--text-tertiary:var(--ai-muted)!important;--text-muted:var(--ai-muted)!important;--border:var(--ai-line)!important;}

/* views/site/gps/reportes/reporte-eventos.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--bg-primary:var(--ai-bg)!important;--bg-secondary:var(--ai-raised)!important;--surface:var(--ai-surface)!important;--text-primary:var(--ai-text)!important;--text-secondary:var(--ai-muted)!important;--text-tertiary:var(--ai-muted)!important;--text-muted:var(--ai-muted)!important;--border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .table-header{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-page-header .report-badge{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.info{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.success{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.warning{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.danger{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.purple{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-report-layout.report-command-center{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content > .alert-info{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section h3{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .datetime-input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .select2-container .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions .btn-secondary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header{border-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .eyebrow{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-badge{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card::after{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-container{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header h3,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header h4,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container h4{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody tr:hover td{background:var(--ai-raised)!important;}

/* views/site/gps/reportes/reporte-operativo.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--rp-text:var(--ai-text)!important;--rp-muted:var(--ai-muted)!important;--rp-border:var(--ai-line)!important;--rp-bg:var(--ai-bg)!important;--rp-card:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-sidebar{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-section{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-section label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-section .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-section .select2-selection{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-quick button{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-quick button:hover{color:var(--ai-primary)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-badge{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-metric{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-metric i{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-table th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-table td{color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-table tr:hover td{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-empty i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-status.danger{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-status.warning{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .rp-status.success{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-report-layout.report-command-center{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-sidebody{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-section{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-section h3{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-section label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-section .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-section .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-topbar{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-badge{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-metric{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-card{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-table th{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-table td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .rp-table tr:hover td{background:var(--ai-raised)!important;}

/* views/site/gps/reportes/reporte-paradas.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--bg-primary:var(--ai-bg)!important;--bg-secondary:var(--ai-raised)!important;--surface:var(--ai-surface)!important;--text-primary:var(--ai-text)!important;--text-secondary:var(--ai-muted)!important;--text-tertiary:var(--ai-muted)!important;--text-muted:var(--ai-muted)!important;--border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-page-header .report-badge{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.info{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.success{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.warning{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.danger{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.purple{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-report-layout.report-command-center{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content > .alert-info{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section h3{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .datetime-input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .select2-container .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions .btn-secondary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header{border-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .eyebrow{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-badge{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card::after{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-container{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header h3,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header h4,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container h4{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody tr:hover td{background:var(--ai-raised)!important;}

/* views/site/gps/reportes/reporte-rapido.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--bg-primary:var(--ai-bg)!important;--bg-secondary:var(--ai-raised)!important;--surface:var(--ai-surface)!important;--text-primary:var(--ai-text)!important;--text-secondary:var(--ai-muted)!important;--text-tertiary:var(--ai-muted)!important;--text-muted:var(--ai-muted)!important;--border:var(--ai-line)!important;}

/* views/site/gps/reportes/reporte-resumen.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .selected-row{background:var(--ai-soft)!important;}

/* views/site/gps/reportes/reporte-ruta.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--bg-primary:var(--ai-bg)!important;--bg-secondary:var(--ai-raised)!important;--surface:var(--ai-surface)!important;--text-primary:var(--ai-text)!important;--text-secondary:var(--ai-muted)!important;--text-tertiary:var(--ai-muted)!important;--text-muted:var(--ai-muted)!important;--border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .table-header{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-page-header .report-badge{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.info{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.success{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.warning{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.danger{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.purple{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-report-layout.report-command-center{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content > .alert-info{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section h3{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .datetime-input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .select2-container .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions .btn-secondary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header{border-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .eyebrow{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-badge{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card::after{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-container{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header h3,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header h4,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container h4{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody tr:hover td{background:var(--ai-raised)!important;}

/* views/site/gps/reportes/reporte-viajes.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--bg-primary:var(--ai-bg)!important;--bg-secondary:var(--ai-raised)!important;--surface:var(--ai-surface)!important;--text-primary:var(--ai-text)!important;--text-secondary:var(--ai-muted)!important;--text-tertiary:var(--ai-muted)!important;--text-muted:var(--ai-muted)!important;--border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-page-header .report-badge{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.info{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.success{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.warning{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.danger{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card .icon.purple{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-report-layout.report-command-center{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .sidebar-content > .alert-info{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-section h3{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .datetime-input,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .select2-container .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-actions .btn-secondary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header{border-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-page-header p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .eyebrow{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .report-badge{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card::after{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .stats-grid.enriched .stat-card p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-container{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .table-header h3,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .chart-header h4,
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .map-container h4{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody td{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .report-command-center .modern-table tbody tr:hover td{background:var(--ai-raised)!important;}

/* views/site/gps/tabs/detalles-dispositivo.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .events-card-modern{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .events-header-modern{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .events-title-modern{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .events-section,
html[data-app-theme="dark"][data-bs-theme="dark"] body .events-section-modern{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .events-section-modern::-webkit-scrollbar-thumb,
html[data-app-theme="dark"][data-bs-theme="dark"] body .events-section::-webkit-scrollbar-thumb{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-item-modern{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-item-modern:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-time-modern{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-title-modern{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-empty .event-title-modern{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-section .section-title{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-compact-profile{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-section .driver-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-compact-status{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-compact-list{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-compact-row{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-compact-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-compact-label i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-section .driver-detail{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-compact-row:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .notes-section .section-title,
html[data-app-theme="dark"][data-bs-theme="dark"] body .photo-section .section-title{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .notes-compact-row{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .notes-section .notes-text{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .photo-section{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .photo-section .section-title{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .photo-full-preview{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .photo-section .vehicle-photo{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .main-horizontal-grid::-webkit-scrollbar-track{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .main-horizontal-grid::-webkit-scrollbar-thumb{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-detail-tabs{background:var(--ai-surface)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-detail-tab{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-detail-tab:hover{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-detail-tab.is-active{color:var(--ai-primary)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-panel{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-toolbar{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-btn{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-btn:hover{color:var(--ai-primary)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-speed{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-summary{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-summary strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-current{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-chart-shell{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-series{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-metric{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-metric-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-history-metric-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page #gpDetailPanelDatos .main-horizontal-grid::-webkit-scrollbar-track{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page #gpDetailPanelDatos .main-horizontal-grid::-webkit-scrollbar-thumb{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .gp-history-series{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page:not(.gp-detail-is-collapsed) #panel_detail{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .panel-subtitle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .metric-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .gp-detail-tabs{background:var(--ai-surface)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-data-scrollbar{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gp-data-scrollbar-track{background:var(--ai-surface)!important;}

/* views/site/rutas/rutas.php */
html[data-app-theme="dark"][data-bs-theme="dark"]{--page-bg:var(--ai-bg)!important;--card-bg:var(--ai-bg)!important;--line:var(--ai-line)!important;--text:var(--ai-text)!important;--muted:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .map-topbar{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-card{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-card .select2-container--krajee-bs4 .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-card .select2-container--bootstrap .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-card .select2-container .select2-selection{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-card .select2-container--krajee-bs4 .select2-selection__rendered,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-card .select2-container--bootstrap .select2-selection__rendered,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-select-card .select2-container .select2-selection__rendered{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .map-status{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mapboxgl-popup-content{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-line{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .popup-badge{background:var(--ai-soft)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .map-legend{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .legend-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .legend-item{color:var(--ai-text)!important;}

/* views/site/status.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-container{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-header h1{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-header p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-number{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .field-icon{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .field-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .field-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .time-separator{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .time-value.status-green{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .time-value.status-orange{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .time-value.status-red{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .time-value.status-black{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .loading{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .loading-spinner{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .error-message{background:var(--ai-danger-bg)!important;border-color:var(--ai-line)!important;color:var(--ai-danger)!important;}

/* views/traccar-usuario/_form.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-form-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-form-card .card-header{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-section-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-help{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usuario-traccar-form .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .usuario-traccar-form .form-select{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usuario-traccar-form label.control-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .usuario-traccar-form .form-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-switch-item{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-action-bar{background:var(--ai-surface)!important;}

/* views/traccar-usuario/create.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-step{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-step-number{color:var(--ai-primary)!important;background:var(--ai-soft)!important;}

/* views/traccar-usuario/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-stat-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-table-card .card-header{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-table-card thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-table-card tbody tr:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-table-card .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-table-card .form-select{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-badge-success{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-badge-warning{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}

/* views/traccar-usuario/view.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-panel{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-panel .card-header{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-section-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-detail-table th{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-detail-table td{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-traccar-item{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-traccar-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-tabs{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-tabs .nav-link{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-tabs .nav-link.active{color:var(--ai-primary)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-device-form .select2-container--krajee-bs5 .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-device-form .select2-container--krajee .select2-selection,
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-device-form .select2-container--default .select2-selection{border-color:var(--ai-line)!important;}

/* views/user/recovery/request.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .recovery-shell{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .recovery-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .recovery-brand{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .recovery-brand span{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .recovery-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .recovery-copy{color:var(--ai-muted)!important;}

/* views/user/security/change-temporary-password.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .change-shell{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .change-card{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .change-brand{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .change-brand span{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .change-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .change-copy{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .password-note{color:var(--ai-muted)!important;}

/* views/usuarios/_form.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-form-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-form-body label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-form-body .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-form-body .form-select{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-permissions{border-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-check{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-btn-secondary{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}

/* views/usuarios/connections.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-shell{--muted:var(--ai-muted)!important;--line:var(--ai-line)!important;--bg:var(--ai-bg)!important;border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-note{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-note i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-note strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-summary{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-summary:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-icon{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-count{background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-chevron{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-body{border-top-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-loading,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-empty,
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-error{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-error{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-search i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-search input{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-mini{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-mini:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-list{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-item{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-item:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-item span{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .conn-selected{color:var(--ai-muted)!important;}

/* views/usuarios/index.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-shell{--usr-muted:var(--ai-muted)!important;--usr-line:var(--ai-line)!important;--usr-bg:var(--ai-bg)!important;background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-btn.primary{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi-icon{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi.green .usr-kpi-icon{background:var(--ai-success-bg)!important;color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi.red .usr-kpi-icon{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi.amber .usr-kpi-icon{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-kpi small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-card-head{border-bottom-color:var(--ai-line)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-card-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-card-title i{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-count{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-toolbar{background:var(--ai-raised)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-search i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-search input{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-filter{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-table th{background:var(--ai-surface)!important;color:var(--ai-muted)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-table td{border-bottom-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-table tbody tr:hover td{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-avatar{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-person strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-person small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-pill.ok{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-pill.off{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-pill.neutral{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-link{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-link:hover{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-empty{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-empty-icon{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-empty strong{color:var(--ai-text)!important;}

/* views/usuarios/view.php */
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-back{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-edit{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-toggle{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-card h2{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-data div{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-data small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-data strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-device{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-device strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-device small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-status{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .uv-empty{color:var(--ai-muted)!important;}

/* web/css/account-plans.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .account-plan-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}

/* web/css/admin-device-accounts.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body #devicePanel .account-header .account-status-counts{color:var(--ai-muted)!important;}

/* web/css/app-download.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-dialog{border-color:var(--ai-line)!important;color:var(--ai-text)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-eyebrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-card h2{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-card p,
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-card li{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-close{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-later{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-inline{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-field .ob-email-status{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-gps-tag{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-content{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-feature span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .feature-map{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .feature-route{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .feature-alert{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .feature-gps{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-content .app-download-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-later{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .app-download-inline{border-color:var(--ai-line)!important;}

/* web/css/app.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-bs-theme=dark]:root{--vz-body-bg:var(--ai-bg)!important;--vz-secondary-bg:var(--ai-bg)!important;--vz-tertiary-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-page-title-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-bs-theme=dark]:root[data-sidebar=dark]{--vz-vertical-menu-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-bs-theme=dark]:root[data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-bs-theme=dark]:root .dropdown-menu{--vz-dropdown-bg:var(--ai-bg)!important;--vz-dropdown-link-hover-bg:var(--ai-bg)!important;--vz-dropdown-link-active-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=default]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=default][data-sidebar=dark]{--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=default][data-topbar=dark]{--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=default][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=corporate]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=corporate][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=corporate][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=corporate][data-sidebar=gradient]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=corporate][data-sidebar=gradient-2]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=corporate][data-sidebar=gradient-3]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=corporate][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=creative]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=creative][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=creative][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=creative][data-sidebar=gradient]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=creative][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy]{--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-sidebar=dark]{--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-layout=vertical][data-sidebar-size=sm] .navbar-menu .navbar-nav .nav-item:hover > .menu-dropdown{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=galaxy][data-topbar=light] .app-menu{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=interactive]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=interactive][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=interactive][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=interactive][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=material]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=material][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=material][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=material][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=minimal]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=minimal][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=minimal][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=minimal][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=modern]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=modern][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=modern][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=modern][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=saas]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=saas][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=saas][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=saas][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=saas][data-bs-theme=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-topbar-search-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=saas][data-bs-theme=dark][data-topbar=dark]{--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=classic]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-header-bg:var(--ai-bg)!important;--vz-topbar-search-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=classic][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=classic][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=classic][data-sidebar=gradient]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=classic][data-sidebar=gradient-2]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=classic][data-sidebar=gradient-3]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=classic][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=vintage]{--vz-body-bg:var(--ai-bg)!important;--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;--vz-footer-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=vintage][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;--vz-sidebar-user-name-text:var(--ai-text)!important;--vz-sidebar-user-name-sub-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=vintage][data-topbar=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-theme=vintage][data-sidebar=gradient-4]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"]{--vz-topnav-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :root:is([data-sidebar=gradient], [data-sidebar=gradient-2], [data-sidebar=gradient-3], [data-sidebar=gradient-4]){--vz-sidebar-user-name-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-bs-theme=dark]{--vz-footer-bg:var(--ai-bg)!important;--vz-topnav-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-bs-theme=dark]:is([data-theme=default], [data-theme=minimal], [data-theme=material], [data-theme=modern], [data-theme=creative], [data-theme=saas], [data-theme=interactive], [data-theme=corporate], [data-theme=classic], [data-theme=vintage]){--vz-body-bg:var(--ai-bg)!important;--vz-boxed-body-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-bs-theme=dark] .dropdown-menu{--vz-dropdown-bg:var(--ai-bg)!important;--vz-dropdown-link-hover-bg:var(--ai-bg)!important;--vz-dropdown-link-active-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-bs-theme=dark]{--vz-header-bg:var(--ai-bg)!important;--vz-header-border:var(--ai-line)!important;--vz-header-item-bg:var(--ai-bg)!important;--vz-topbar-user-bg:var(--ai-bg)!important;--vz-topbar-search-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-bs-theme=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body [data-bs-theme=dark][data-sidebar=dark]{--vz-vertical-menu-bg:var(--ai-bg)!important;--vz-vertical-menu-border:var(--ai-line)!important;--vz-twocolumn-menu-iconview-bg:var(--ai-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .alert-light:is(.rounded-label, .label-arrow, .alert-additional) :is(.label-icon, .alert-content){color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .card-light{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .card-light .card-header,
html[data-app-theme="dark"][data-bs-theme="dark"] body .card-light .card-footer{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .card-light .card-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dropdownmenu-primary .dropdown-item:is(:focus, :hover, .active){color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dropdownmenu-secondary .dropdown-item:is(:focus, :hover, .active){color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dropdownmenu-success .dropdown-item:is(:focus, :hover, .active){color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dropdownmenu-info .dropdown-item:is(:focus, :hover, .active){color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dropdownmenu-danger .dropdown-item:is(:focus, :hover, .active){color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dropdownmenu-dark .dropdown-item:is(:focus, :hover, .active){color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .navtab-bg li > a{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .custom-progress .progress-bar::before{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .list-group-fill-light.list-group-item{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.punctuation{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.property,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.tag,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.boolean,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.number,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.constant,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.symbol,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.deleted{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.selector,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.attr-name,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.string,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.char,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.builtin,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.inserted{color:var(--ai-success)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.operator,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.entity,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.url,
html[data-app-theme="dark"][data-bs-theme="dark"] body .language-css .token.string,
html[data-app-theme="dark"][data-bs-theme="dark"] body .style .token.string{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.atrule,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.attr-value,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.keyword{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.function,
html[data-app-theme="dark"][data-bs-theme="dark"] body .token.class-name{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :not(pre) > code[class*=language-],
html[data-app-theme="dark"][data-bs-theme="dark"] body pre[class*=language-]{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body code[class*=language-],
html[data-app-theme="dark"][data-bs-theme="dark"] body pre[class*=language-]{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body div.code-toolbar > .toolbar button{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .swiper-pagination-bullet{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .dynamic-pagination .swiper-pagination-bullet{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .pagination-custom .swiper-pagination-bullet{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .swiper-scrollbar .swiper-scrollbar-drag{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .pagination-next:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .pagination-prev:hover{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-legend-text{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-tooltip-rangebar .category{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-xaxistooltip,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-yaxistooltip{color:var(--ai-text)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-xaxistooltip-bottom::after{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-xaxistooltip-top::after{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-menu-icon,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-pan-icon,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-reset-icon,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-selection-icon,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-toolbar-custom-icon,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-zoom-icon,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-zoomin-icon,
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-zoomout-icon{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-theme-light .apexcharts-menu-item:hover{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .apexcharts-menu{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .resize-triggers > div{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gmaps,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gmaps-panaroma{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc th.fc-widget-header{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed .fc-content,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed .fc-divider,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed .fc-list-heading td,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed .fc-list-view,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed .fc-popover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed .fc-row,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed tbody,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed td,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed th,
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed thead{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-unthemed td.fc-today{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-button{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fc-daygrid-event-dot{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fg-emoji-picker .fg-emoji-picker-container-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .fg-emoji-picker .fg-emoji-picker-categories{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body a.fg-emoji-picker-close-button{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .flatpickr-months .flatpickr-prev-month:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .flatpickr-months .flatpickr-next-month:hover{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .upcoming-scheduled .flatpickr-months .flatpickr-month{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .timeline-item.right::before{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .timeline-2 .timeline-launch{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .department::before{border-right-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .chat-list > li.active a .badge{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .user-chat-nav .nav-btn{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .chat-conversation .chat-day-title .title{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .chat-conversation .conversation-list .dropdown .dropdown-toggle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .chat-conversation .right .chat-time{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content .replymessage-block{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .chat-input-links .links-list-item > .btn.btn-link{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .mail-list a{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .custom-footer{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .footer-list li a{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .footer-social-link .avatar-title{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .job-panel-filter .form-control{background:var(--ai-surface)!important;}

/* web/css/detalles.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .horizontal-panel{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .section-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .speed-value{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .speed-unit{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-item,
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-item,
html[data-app-theme="dark"][data-bs-theme="dark"] body .maintenance-item{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .maintenance-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .stat-value,
html[data-app-theme="dark"][data-bs-theme="dark"] body .maintenance-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-time{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .event-description{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .driver-detail{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .notes-text{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .coordinates-link{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .coordinates-link:hover{color:var(--ai-text)!important;}

/* web/css/detalles_dispositivo.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .horizontal-panel{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .collapsed-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .collapsed-subtitle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .panel-subtitle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .status-dot{background:var(--ai-success-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .metric-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .metric-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .section-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .info-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .stat-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .maintenance-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .info-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .coordinates-link,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .coordinates-link a{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .coordinates-link a:hover{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .stat-item,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .event-item,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .maintenance-item{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .stat-value,
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .maintenance-value{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .event-time{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .event-description{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .driver-name{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .driver-detail{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .device-detail-panel-page .notes-text{color:var(--ai-muted)!important;}

/* web/css/diario.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .formulario-reporte-diario{background:var(--ai-surface)!important;}

/* web/css/followStyle.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body table.blueTable{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body table.blueTable tr:nth-child(even){background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body table.blueTable thead th{border-left-color:var(--ai-line)!important;}

/* web/css/gps-premium.css */
html[data-app-theme="dark"][data-bs-theme="dark"]{--tb-text:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-theme .menu-title span{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #topnav-hamburger-icon .hamburger-icon span{background:var(--ai-soft)!important;}

/* web/css/landing-proposal.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-header{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-nav-link{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-nav-link[aria-current=page]{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-nav-link:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-text-link,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-text-link:hover{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-eyebrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero h1 em{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-art-caption{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-art-caption small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-capability-strip{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-use-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-use-number{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-use-card p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cta{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cta h2{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cta p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-section-head h2,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-section-head h1{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-section-head>p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-feature-spotlight{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-spotlight-copy h2{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-spotlight-copy p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards h3{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article>span{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-workflow{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-workflow h2{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-workflow p,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start p,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start li p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-workflow-board{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start li{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start li>span{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-audience-heading svg{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-audience-heading p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-audience h2{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-hero{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-audience-empresa .lp-plan-hero{background:var(--ai-surface)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-tag{background:var(--ai-surface)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-trial{background:var(--ai-surface)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-trial-capacity,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-after{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-price{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-price small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-audience-empresa .lp-plan-price{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-capacity{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-audience-empresa .lp-plan-capacity{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-description,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan ul{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connect-intro{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connect-intro h3{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connect-intro p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connection .ob-panel{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connection .ob-connection{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connection .ob-secondary{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connection .ob-guide-steps li{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-footer{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-footer a{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero-band{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero .lp-eyebrow,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cta .lp-eyebrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero .lp-text-link{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-tag{background:var(--ai-surface)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-audience-empresa .lp-plan-tag{color:var(--ai-accent)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-trial-highlight{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-trial-highlight:hover{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-trial-banner{background:var(--ai-warning-bg)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-trial-banner-copy svg{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-trial-banner strong{color:var(--ai-warning)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-trial-banner p{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-trial{background:var(--ai-warning-bg)!important;color:var(--ai-warning)!important;}

/* web/css/landing.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-header{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-brand small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-nav-link:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-text-link:hover{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-eyebrow{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero h1 em{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-benefits{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-section-head>p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-icon{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article>span{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start>div>p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start li{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start li>span{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-start li p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cta{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cta p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-footer{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-footer a{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero .lp-button{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-hero .lp-button:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article:hover{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article:nth-child(3n+2) .lp-icon{background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cards article:nth-child(3n) .lp-icon{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-workflow{background:var(--ai-soft)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-workflow p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-workflow-board{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-board-top{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-board-top small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-board-links span{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-board-links span:before{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-board-bottom{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-cta .lp-button{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-symbol{background:var(--ai-soft)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-audience-heading p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-featured{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-tag{background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-featured .lp-plan-tag{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-price{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-price small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-capacity{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-capacity strong{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-description{color:var(--ai-muted)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan ul{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan li:before{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan:not(.lp-plan-featured) .lp-plan-button{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan:not(.lp-plan-featured) .lp-plan-button:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-example{color:var(--ai-muted)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-connection select:disabled{background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-nav-link[aria-current=page]{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-audience-empresa .lp-plan{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-plan-trial{background:var(--ai-success-bg)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-capacity{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-audience-empresa .lp-plan-capacity{color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan-description{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .lp-pricing-colorful .lp-plan ul{color:var(--ai-text)!important;}

/* web/css/login-professional.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-page{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-shell{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-brand-logo{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-main{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-tag{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-main-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-main-subtitle{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-form-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-form input.form-control{background:var(--ai-surface)!important;color:var(--ai-text)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-form input.form-control::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-password-toggle:hover{color:var(--ai-primary)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-form-row{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-form-row label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-forgot-link{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-register-open{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-register-open:hover{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-security-note{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-page .help-block{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-page .gps-form-label,
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-page .gps-form-label>span:first-child{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-page{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-login-form .gps-remember-switch{color:var(--ai-muted)!important;}

/* web/css/modales-compactos.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .modal-content{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .modal-body{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .modal-footer{border-top-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .form-select{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .modal label,
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .control-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .nav-tabs{border-bottom-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .nav-tabs .nav-link{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .nav-tabs .nav-link.active{background:var(--ai-surface)!important;color:var(--ai-primary)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .card{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .card-header{background:var(--ai-raised)!important;color:var(--ai-primary)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .card-title{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body :is(#modal, .modal).modal .select2-container .select2-selection--single{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .dispositivos-form{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .dispositivos-form .de-section-nav{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .dispositivos-form .de-nav-pill{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .dispositivos-form .de-nav-pill.is-active{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .dispositivos-form .device-connection-card{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-modal .filter-content{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-command-overlay .gps-command-dialog{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-command-overlay .gps-command-dialog input:not([type=checkbox]),
html[data-app-theme="dark"][data-bs-theme="dark"] body .gps-command-overlay .gps-command-dialog select{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal #dispositivos-form-wrap{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal #dispositivos-form-wrap .dt-nav{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal #dispositivos-form-wrap .dt-nav-btn.active{background:var(--ai-surface)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal #dispositivos-form-wrap .form-control{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal #dispositivos-form-wrap .dt-savebar{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .dt-premium .dt-card{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal .dt-premium .dt-card-head{background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #modal #dispositivos-form-wrap .card-header .card-title{color:var(--ai-primary)!important;}

/* web/css/onboarding.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-intro p,
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-guide-head p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-intro ul{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-panel{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-steps{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-steps li{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-steps [aria-current]{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-muted{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-type{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-type:has(input:checked){background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-type span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-field input:not([type=checkbox]),
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-field select{color:var(--ai-text)!important;background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-error{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-secondary{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-footnote{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-footnote a{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-alert{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-success{border-color:var(--ai-line)!important;background:var(--ai-success-bg)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-connection>div{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-connection span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-connection code{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-guide-steps p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #guide-copy-status{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-field .select2-container .select2-selection--single{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-field .select2-container .select2-selection__rendered{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-dropdown{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .select2-search--dropdown .select2-search__field{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .ob-field .select2-container--disabled .select2-selection--single{background:var(--ai-soft)!important;}

/* web/css/public-error.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .public-error h1{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .public-error p{color:var(--ai-muted)!important;}

/* web/css/recoleccion-operativa.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa .card,
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa .reco-box,
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa .filter-card,
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa .map-card{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa .table thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa .table tbody tr:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-workflow a{color:var(--ai-text)!important;background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-home-card{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-home-card:hover{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-home-card i{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .reco-home-card span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body.recoleccion-operativa #layout-wrapper .neo-content-shell .table thead th{background:var(--ai-soft)!important;color:var(--ai-text)!important;}

/* web/css/reporte-diario.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .info-alert{background:var(--ai-soft)!important;}

/* web/css/site.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .footer{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .not-set{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .hint-block{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .error-summary{color:var(--ai-muted)!important;background:var(--ai-danger-bg)!important;border-left-color:var(--ai-line)!important;}

/* web/css/tiempo_real.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .chip-offline{color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input-container svg{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-input::placeholder{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .header{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .header svg{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .vehicle-time{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .menu-trigger{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .floating-context-menu{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .floating-context-menu .menu-item{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .floating-context-menu .menu-item:hover{background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .floating-context-menu .menu-item i{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .floating-context-menu .menu-item:hover i{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .street-view-control{background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-content{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-header{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .close-filter{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .close-filter:hover{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-section-title{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-option:hover{color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-actions{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-btn.secondary{background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .filter-btn.secondary:hover{background:var(--ai-raised)!important;color:var(--ai-text)!important;}

/* web/css/tiempo_reals.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .vehicle-item.selected{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .search-bar{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .group-header{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .vehicle-time{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .icon-button{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .data-table{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body #street-view{background:var(--ai-surface)!important;}

/* web/css/traccar-account.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .manual-attributes .settings-advanced-row{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .manual-attributes .form-select,
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .manual-attributes .form-control,
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .settings-field input{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .manual-attributes .btn-fc{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .manual-attributes .settings-advanced-empty{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .settings-field label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account input:disabled,
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .tp-checks label:has(input:disabled){color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .manual-attributes .settings-advanced-empty{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .select2-container--default .select2-selection--single{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .select2-dropdown{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .select2-dropdown .select2-search__field{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .select2-container--default .select2-results__option[aria-selected=true]{background:var(--ai-soft)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .location-picker-panel{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .location-picker-tip{background:var(--ai-soft)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .location-picker-badge{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .traccar-account .location-picker-map .leaflet-control-zoom{border-color:var(--ai-line)!important;}

/* web/css/traccar-preferences.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace{--tp-muted:var(--ai-muted)!important;--tp-border:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-heading{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-heading h1{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-heading p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-heading .tp-link{border-color:var(--ai-line)!important;color:var(--ai-text)!important;background:var(--ai-raised)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-nav-caption{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-settings-nav nav a{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-settings-nav nav a>i:first-child{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-settings-nav nav a:hover,
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-settings-nav nav a:focus-visible{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-nav-note{border-top-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-nav-note p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-nav-note small{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-settings-layout>form{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-card{border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-card-heading h2{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-card-heading p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-section-icon{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-label{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-input{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-input:focus{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-input:disabled{background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-selected{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-chevron{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-select[open] .tp-selected{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-options{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-option:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-notice{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;color:var(--ai-primary)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-custom input{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-custom button{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-button.outline{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-button.outline:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-savebar{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-input{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-selected{background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-label{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-option:hover{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-custom button{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-notice{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-button.outline{border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-input:disabled{background:var(--ai-surface)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-settings-nav nav a{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:not(:has(.tp-card:target)) .tp-settings-nav nav a:first-child,
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-map:target) a[href="#settings-map"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-devices:target) a[href="#settings-devices"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-sound:target) a[href="#settings-sound"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-token:target) a[href="#settings-token"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-info:target) a[href="#settings-info"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-profile:target) a[href="#settings-profile"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-options:target) a[href="#settings-options"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#account-location:target) a[href="#account-location"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#settings-permissions:target) a[href="#settings-permissions"],
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace:has(#atributos:target) a[href="#atributos"]{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-checks input[type="checkbox"]{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-card-heading{border-bottom-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-card-heading p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-section-toggle{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-section-toggle:hover{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .tp-workspace .tp-savebar{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;}

/* web/css/user-actions.css */
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-row-actions .usr-link{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-row-actions .usr-link:hover{background:var(--ai-soft)!important;border-color:var(--ai-line)!important;color:var(--ai-accent)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-row-actions .usr-delete{color:var(--ai-danger)!important;border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-row-actions .usr-delete:hover{background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-card{background:var(--ai-surface)!important;border-color:var(--ai-line)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-card p{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-warning{border-color:var(--ai-line)!important;background:var(--ai-danger-bg)!important;color:var(--ai-danger)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-counts>div{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-counts span{color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-card input{border-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-buttons a,
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-delete-buttons button{border-color:var(--ai-line)!important;background:var(--ai-surface)!important;color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-action-modal{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-action-modal>header{background:var(--ai-surface)!important;border-bottom-color:var(--ai-line)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-action-modal h2{color:var(--ai-text)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-action-modal header button{border-color:var(--ai-line)!important;background:var(--ai-soft)!important;color:var(--ai-muted)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-action-modal iframe{background:var(--ai-soft)!important;}
html[data-app-theme="dark"][data-bs-theme="dark"] body .usr-action-modal>p{color:var(--ai-muted)!important;}
