/* Default UI surfaces only. Original photographs, PDF/PPT pages and model
   materials retain their colors. No filters, generated assets or animations. */
:root[data-theme=dark]{color-scheme:dark;--ink:#e3eaf2;--muted:#abb9c9;--line:#354458;--paper:#151d28;--surface:#202b3a;--soft:#2b3a4d;--accent:#79bdeb;--accent-text:#122a3e}
:root[data-theme=dark] :is(.empty,.card-cover,.card-cover.blue,.card-cover.sand,.card-cover:has(.card-product-image),.promotional-cover,.promotional-cover img,.product-images img,.model-empty,.vehicle-demo-frame,.brochure-viewer,.presentation-viewer){background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .empty :is(h3,p){color:var(--ink)}
:root[data-theme=dark] .request-scope{background:var(--soft);color:var(--muted);border-color:var(--line)}
:root[data-theme=dark] :is(.economy-options,.economy-options button,.workflow-board section,.workflow-card,.browse-choice){background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .promotional-cover-actions .button{background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .promotional-cover-actions .primary{background:var(--accent);color:var(--accent-text)}
/* Independent 3D windows, including the vehicle demonstration frame. */
:root[data-theme=dark] body{background:var(--paper);color:var(--ink)}
:root[data-theme=dark] :is(body>header,body>main>aside,.mode-bar,.equipment-section,.equipment-card,#installation-toolbar,#installation-editor,.editor-float-head,#suite-panel,.suite-legend,.device-features,#offline-download-state,#snapshot-preview,.color-editor,.vehicle-structure,.device-size-controls,#part-filters,.suite-summary-editor){background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.editor-collapse,#installation-editor fieldset,#suite-panel details,.device,#device-preview){border-color:var(--line)}
:root[data-theme=dark] :is(#stage,#viewport){background:var(--paper)}
:root[data-theme=dark] :is(#status,#caption,.hint){background:#202b3af2;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(body>header span,.mode-bar span,.equipment-card small,.device small,.suite-legend dt,.suite-legend small,.equipment-section h3 small,#device-feature-source){color:var(--muted)}
:root[data-theme=dark] :is(body>main>aside p,.suite-legend h3,#device-dialog p,.color-editor small,.vehicle-structure small){color:var(--ink)}
:root[data-theme=dark] :is(#suite-panel input,#suite-panel select,#installation-editor input,#installation-editor select,#offline-language-dialog select,.color-editor select,.vehicle-structure select){background:var(--paper);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(body>header a,body>main h3,.device-features h3,#suite-panel summary,#part-filters legend,.suite-summary-editor legend,.equipment-card span,#edit-message){color:var(--accent)}
:root[data-theme=dark] :is(body:has(#stage) button,.controls button,.color-editor button,.vehicle-structure button,.editor-collapse summary){background:var(--soft);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(.mode-bar [aria-pressed=true],#edit-installation[aria-pressed=true],#save-install,#export,#device-detail,.edit-installed-model,.device button.is-focused){background:var(--accent);color:var(--accent-text);border-color:var(--accent)}
:root[data-theme=dark] :is(#device-dialog,#offline-save-dialog,#offline-language-dialog,.device-remove-confirm){background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] :is(#suite-delete,.device .remove-installed-model,.unavailable-placement button){background:#442b34;color:#ffc1c9;border-color:#79505d}
:root[data-theme=dark] #unavailable-placements{background:#382832;color:var(--ink);border-color:#79505d}
:root[data-theme=dark] #installation-unsaved{color:#f5ce8c}
