.theme-toggle{font-size:24px!important;line-height:1;min-width:36px;min-height:36px}.theme-settings{margin-bottom:22px}.fixed-checkbox{display:flex!important;gap:10px;align-items:center;font-size:12px}.fixed-checkbox input{width:auto!important}
:root[data-color-mode=dark]{--ink:#eef3fb;--muted:#aab8cd;--line:#2a3a51;--paper:#142035;--bg:#0b1220;--soft:#1a2b45;--green:#6399e2;--lime:#8db4eb;color-scheme:dark}
:root[data-color-mode=dark] body{background:#0b1220;color:#eef3fb}
:root[data-color-mode=dark] :is(.panel,.modal,.media-dialog,.media-lightbox,.order-card,.kanban-col,.service-card,.supplier-card,.client-card,.garage-vehicle-card,.garage-car-row,dialog,.access-card){background:#142035;color:#eef3fb;border-color:#2a3a51}
:root[data-color-mode=dark] :is(.modal-header,.modal-footer,.detail-footer,.panel-head,.filter-tabs,.topbar,footer){background:#101b2d;color:#eef3fb;border-color:#2a3a51}
:root[data-color-mode=dark] :is(input,select,textarea){background:#0d1728!important;color:#eef3fb!important;border-color:#3a4c66!important}
:root[data-color-mode=dark] :is(input,textarea)::placeholder{color:#91a2bb!important;opacity:1}
:root[data-color-mode=dark] :is(.button,.icon-button){background:#1b2c46;color:#dceaff;border-color:#3b526e}
:root[data-color-mode=dark] :is(.button:hover,.icon-button:hover){background:#263e61;color:#fff}
:root[data-color-mode=dark] .button.primary{background:#245189;color:#fff;border-color:#38689e}
:root[data-color-mode=dark] :is(.text-button,a){color:#9bc4ff}
:root[data-color-mode=dark] :is(h1,h2,h3,strong,.vehicle-cell,.client-vehicle,.detail-hero,.garage-vehicle-card,.breadcrumb strong){color:inherit}
:root[data-color-mode=dark] :is(.page-head p,.form-hint,.fine,.subtle,.muted,small,.notes,.evo-review p,.evo-examples p,.media-widget p,.sidebar-callout p,.theme-settings p,.settings-panel>p){color:#abbad1}
:root[data-color-mode=dark] :is(.eyebrow,.nav-label,.date-pill,.breadcrumb>span){color:#9aafcc}
:root[data-color-mode=dark] :is(.inline-note,.environment,.payment-context,.financial-summary,.detail-grid,.calculation-preview,.cost-preview,.media-widget,.inspection-summary,.pro-comparison,.garage-credit-balance,.workspace,.sidebar-callout,.reminder-card,.installment-plan>div,.service-picker,.version-pill,.car-tile,.avatar,.empty,.kanban-empty,.global-search kbd){background:#1a2b45;color:#c5d9f5;border-color:#314660}
:root[data-color-mode=dark] :is(.cost-breakdown,.cost-breakdown>div,.section-actions,.detail-items>div,.history>button,.garage-history-old,.contact-timeline article,.installment-plan>div,.recipe-row,.garage-machines-editor,.evo-examples,.service-option,.payment-list>div,.order-total,.audit-row){border-color:#2c3e57}
:root[data-color-mode=dark] :is(table,thead,tbody,tr,td,th){border-color:#2a3a51;color:#dce6f6}
:root[data-color-mode=dark] th{background:#101b2d;color:#9fb3cf}
:root[data-color-mode=dark] :is(tr:hover,tr[data-garage]:hover,.history>button,.service-option,.filter-tabs button.selected){background:#1b2d47;color:#eef3fb}
:root[data-color-mode=dark] .sidebar{background:#080f1c;border-color:#273b56}
:root[data-color-mode=dark] .sidebar nav button{color:#adbed5}
:root[data-color-mode=dark] .sidebar nav button:hover{background:#1b2c45;color:white}
:root[data-color-mode=dark] .sidebar nav button.active{background:#234c7c;color:white}
:root[data-color-mode=dark] :is(.badge.scheduled,.badge.delivered){background:#203a5d;color:#bdd9ff}
:root[data-color-mode=dark] :is(.badge.working,.badge.ready){background:#243f51;color:#c7edf6}
:root[data-color-mode=dark] .badge.canceled{background:#492b37;color:#ffd0d5}
:root[data-color-mode=dark] .positive{color:#8ebdff!important}
:root[data-color-mode=dark] :is(.danger,.form-error){color:#ffacb8!important}
:root[data-color-mode=dark] :is(.environment.error,.evo-missing){background:#482c31;color:#ffd3cb}
:root[data-color-mode=dark] .toast{background:#e7effc;color:#0b1524}
:root[data-color-mode=dark] .media-thumb:not(.has-image){background:#1c304b;color:#b8cbe5}
:root[data-color-mode=dark] .evo-pilot{background:#18385f;color:white}
:root[data-color-mode=dark] .pro-order-panel{background:#142035}
:root[data-color-mode=dark] .focus-card{background:#142e53;color:white}
:root[data-color-mode=dark] :is(.kpi,.kpi.accented,.auth-card,.auth-content,.media-file-card,.roadmap){background:#142035;color:#eef3fb;border-color:#2a3a51}
:root[data-color-mode=dark] :is(.kpi-icon,.kpi.accented .kpi-icon,.stage-button,.service-icon,.count,.nav-counter,.plate,.transaction-icon,.transaction-icon.income,.crm-dashboard-banner,.account-link-note,.reminder-date,.margin-line,.payable-plan-preview,.order-cost-panel,.media-upload-form,.media-dropzone,.media-image-button,.media-pdf,.supplier-payable,.purchase-credit-fields,.pro-install-banner,.pro-comparison>span,.pro-health-grid>span,.auth-tabs,.auth-google,.auth-person,.wa-order-actions,.wa-context){background:#1a2b45;color:#c5d9f5;border-color:#314660}
:root[data-color-mode=dark] :is(.auth-layout,main.auth-layout){background:#0b1220;color:#eef3fb}
:root[data-color-mode=dark] :is(.auth-tabs button.active,.installment-plan>button.selected,.service-option:has(input:checked)){background:#234c7c;color:white;border-color:#4b75a8}
:root[data-color-mode=dark] :is(.chart-track,.cancel-reminder-link){background:#1a2b45;border-color:#314660}
:root[data-color-mode=dark] :is(.crm-return.late,.reminder-card.is-due,.margin-line.negative){background:#3a293b;color:#ffcad3;border-color:#654154}
:root[data-color-mode=dark] :is(.reminder-icon,.is-due .reminder-icon){background:#284365;color:#d5e6ff}
:root[data-color-mode=dark] :is(.yard-mini-row:hover,.agenda-row:hover,tbody tr[data-action]:hover,tbody tr[data-payable-detail]:hover){background:#1b2d47;color:#eef3fb}
:root[data-color-mode=dark] :is(.kpi-label,.kpi-note,.kpi-bottom,.kpi>p,.client-card>p,.last-visit,.client-stats,.form-section,.card-client,.card-services,.agenda-info>span,.agenda-service,.cost-breakdown span,.auth-divider,.auth-content>p){color:#aebfd7}
:root[data-color-mode=dark] .notes{background:#1a2b45;color:#c5d9f5}
:root[data-color-mode=dark] :is(.kpi-top,.kpi-top>span,.kpi-foot){color:#b8c8df;border-color:#324760}
@media print{:root[data-color-mode=dark] body,:root[data-color-mode=dark] dialog,:root[data-color-mode=dark] .modal,:root[data-color-mode=dark] .detail-body{background:white!important;color:#111!important}}
@media print{:root[data-color-mode=dark]{--ink:#111;--muted:#666;--paper:#fff;--line:#ddd}:root[data-color-mode=dark] body *{color:#111!important;background-color:white!important;border-color:#ddd!important}}
