.admin-header-actions{display:flex;align-items:center;gap:16px}.admin-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 13px;border:1px solid #ffffff33;background:#ffffff0a;color:#fff;font-size:.8125rem}.admin-theme-toggle span{font-size:1.375rem;line-height:1}
.admin-unsaved-dialog{width:min(480px,calc(100% - 32px));padding:26px;border:1px solid var(--line);border-radius:20px;background:var(--white);color:var(--ink)}.admin-unsaved-dialog h2{font-size:1.5rem}.admin-unsaved-dialog p{color:var(--muted)}.admin-unsaved-dialog::backdrop{background:#11131899;backdrop-filter:blur(8px)}.admin-unsaved-dialog .dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.admin-unsaved-dialog [data-stay]{border:1px solid var(--line);background:var(--soft);color:var(--ink)}
html[data-theme=dark]{color-scheme:dark;--ink:#f3f5f7;--muted:#aeb5c0;--line:#3a414c;--soft:#292e37;--white:#1c2027;--green:#7be0ad}
html[data-theme=dark] body{background:#111318;color:var(--ink)}
html[data-theme=dark] .header{background:#171a20}
html[data-theme=dark] :is(.card,.workbench-summary>div,.workbench-list,.workbench-item,.workbench-empty,.workbench-state,.workbench-link,.workbench-shortcuts button,.customer-related-actions button,.customer-vehicle button,.admin-calendar,.calendar-presets button,.request-customer-note){background:var(--white);color:var(--ink)}
html[data-theme=dark] :is(input,select,textarea){border-color:var(--line);background:#242a33;color:var(--ink)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#929ba8}
html[data-theme=dark] :is(.garage-order,.garage-upload,.garage-transfer,.request-editor,.sale-admin-list form,.file-picker,.customer-edit-actions button[type=button]){background:var(--soft);color:var(--ink)}
html[data-theme=dark] .file-selection{color:var(--muted)}
html[data-theme=dark] .admin-tabs{background:#1c2027df;border-color:#ffffff20;box-shadow:inset 0 1px #ffffff14,0 14px 32px #0004}
html[data-theme=dark] .workbench-item:hover,html[data-theme=dark] .workbench-item:focus-visible{background:#292e37}
html[data-theme=dark] .workbench-status{background:#323943;color:#dbe0e8}
html[data-theme=dark] .workbench-status[data-status=queued]{background:#482830;color:#ff9099}
html[data-theme=dark] .workbench-status[data-status=accepted]{background:#493524;color:#ffc584}
html[data-theme=dark] :is(.workbench-summary-urgent strong,.customer-mileage-warning){color:#ff9099}
html[data-theme=dark] :is(.notice,.workbench-error){border-color:#6b343d;background:#40252d;color:#ffadb4}
html[data-theme=dark] .notice.success{border-color:#315941;background:#193a2b;color:#8ae5b4}
html[data-theme=dark] .photo-controls [data-photo-action=delete]{background:#40252d;border-color:#6b343d;color:#ffadb4}
html[data-theme=dark] .cabinet-confirm{border-color:var(--line);background:var(--white);color:var(--ink)}
html[data-theme=dark] .dialog-actions [data-cancel]{background:var(--soft);color:var(--ink)}
html[data-theme=dark] .sale-admin-list summary{color:var(--ink)}
html[data-theme=dark] :is(.stock-results,.stock-result,.stock-selection,.avito-connection){border-color:var(--line);background:var(--white);color:var(--ink)}
html[data-theme=dark] :is(.stock-result small,.stock-result-meta em,.stock-no-results,.stock-result-count,.stock-selection small,.avito-connection small,.sale-archive-confirm span){color:var(--muted)}
html[data-theme=dark] .stock-result:hover,html[data-theme=dark] .stock-result:focus-visible{border-color:#ff5966;background:#38242b}
html[data-theme=dark] .stock-result.is-linked:hover{border-color:transparent;background:var(--white)}
html[data-theme=dark] .stock-selection{border-left-color:#ff5966}
html[data-theme=dark] .sale-archive{border-color:var(--line)}
html[data-theme=dark] :is(.sale-archive-open,.sale-archive-confirm){border-color:#6b343d;background:#40252d;color:#ffadb4}
html[data-theme=dark] .sale-archive-confirm [data-archive-cancel]{border-color:var(--line);background:var(--soft);color:var(--ink)}
@media(prefers-reduced-transparency:reduce){html[data-theme=dark] .admin-tabs{background:var(--white)!important}}
@media(max-width:480px){.admin-header-actions{gap:10px}.admin-theme-toggle{padding:8px 10px}.header__in>.brand{letter-spacing:.05em}}
