/* Appearance only: report data, filters and open dialogs keep their state. */
:root { color-scheme:light; }
.report-display-controls { display:flex; align-items:center; justify-self:end; gap:7px; }
.theme-toggle.quiet-button { display:grid; place-items:center; flex:none; width:34px; height:34px; min-height:34px; padding:0; border:1px solid #8295b3; border-radius:6px; background:#425b7b; color:#fff; box-shadow:none; cursor:pointer; }
.theme-toggle.quiet-button:hover { background:#526e92; border-color:#b2c4de; color:#fff; }
.theme-toggle svg { width:17px; height:17px; pointer-events:none; }
.theme-icon-sun { display:none; }
.theme-toggle:focus-visible, .report-language select:focus-visible { outline:2px solid #d9e8ff; outline-offset:3px; }
html[data-theme="dark"] .theme-icon-moon { display:none; }
html[data-theme="dark"] .theme-icon-sun { display:block; }
@media(max-width:1000px) { .report-display-controls { grid-column:3; grid-row:1; } }
@media(max-width:600px) {
  .report-display-controls { grid-column:2; grid-row:1; }
  .theme-toggle.quiet-button, .report-language select { min-height:38px; height:38px; }
}

/* Roles: canvas, surfaces, borders, primary/secondary text and semantic states. */
html[data-theme="dark"] {
  color-scheme:dark;
  color:#dde5ef; background:#202b3b;
  --ink:#dde5ef; --muted:#b5c2d6; --surface:#2b3749; --line:#4a5e79;
  --accent:#93bbfa; --accent-strong:#9fc4ff; --accent-soft:#334c6e;
  --ready:#9acbab; --ready-bg:#284b3e;
  --warning:#eac586; --warning-bg:#574127;
  --danger:#e9a6b8; --danger-bg:#573544;
  --shadow:0 18px 48px #14223940;
  --surface-raised:#36475f; --surface-hover:#3b4d66; --theme-link:#9ebeea;
}
html[data-theme="dark"] body { color:var(--ink); background:radial-gradient(ellipse at 8% 0,#3d537355,transparent 55%),#202b3b; scrollbar-color:#657b98 #263448; }
html[data-theme="dark"] .topbar { background:#30445f; box-shadow:0 6px 24px #14223933; }
html[data-theme="dark"] .theme-toggle.quiet-button,
html[data-theme="dark"] .report-language select { background:#2a3b54; border-color:#768ca9; }
html[data-theme="dark"] .theme-toggle.quiet-button:hover { background:#395172; }
html[data-theme="dark"] .topbar .tab.active { background:#b9cce8; color:#172b47; }
html[data-theme="dark"] .report-language option { background:var(--surface); color:var(--ink); }
html[data-theme="dark"] :is(.hero h1,.section-heading h2,.kpi strong,.reconciliation-kpi strong) { color:var(--ink); }
html[data-theme="dark"] :is(.hero h1>span,.hero-meta,.filter-summary,.metrics-period,.fine-print,.small,.meta,.muted,.report-notes,.report-notes summary,.kanban-context,.method-note) { color:var(--muted); }
html[data-theme="dark"] :is(.panel,.kpi,.report-notes-content,.review-actions,.reconciliation-kpis) { border-color:var(--line); background:var(--surface); }
html[data-theme="dark"] :is(#panel-orders .reconciliation-kpis,#panel-review .kpis,#panel-review .review-actions) { background:#344256; border-color:var(--line); }
html[data-theme="dark"] :is(#panel-review .kpi strong,#panel-review .review-actions strong) { color:var(--ink); }
html[data-theme="dark"] #panel-review .review-actions :is(p,label) { color:var(--muted); }
html[data-theme="dark"] :is(.source-chip,.status-note) { background:var(--accent-soft); color:var(--theme-link); }
html[data-theme="dark"] :is(.notice,.translation-notice) { background:var(--warning-bg); color:var(--warning); border-color:#94723b; }
html[data-theme="dark"] .notice.error { background:var(--danger-bg); color:var(--danger); border-color:#b26b7e; }

/* Controls and the floating filter share the same surfaces in both queues. */
html[data-theme="dark"] :is(button,.quiet-button,.button) { color:var(--ink); background:var(--surface-raised); border-color:#697f9c; }
html[data-theme="dark"] :is(button,.quiet-button,.button):hover { background:var(--surface-hover); }
html[data-theme="dark"] :is(.button.primary,.primary,#review-next-decision,#review-save-decision) { color:#142237; background:#9ebeea; border-color:#9ebeea; }
html[data-theme="dark"] :is(.button.primary,.primary,#review-next-decision,#review-save-decision):hover { background:#b3cbea; }
html[data-theme="dark"] :is(input,select,textarea,.form-control,.dt-input) { color:var(--ink); border-color:#657b98; background:#253246; }
html[data-theme="dark"] :is(input,textarea)::placeholder { color:#9caec6; opacity:1; }
html[data-theme="dark"] :is(input,select,textarea,button):focus-visible { outline:2px solid #9ebeea; outline-offset:2px; }
html[data-theme="dark"] :is(.filter-compact,.filter-popover,.filter-dropdown-floating,.search-select-list,.filter-option-picker,.filter-option-search,.filter-user-preset-editor,.filter-dialog-heading,.filter-popover .filter-actions) { background:var(--surface); color:var(--ink); border-color:#657b98; }
html[data-theme="dark"] .neuffer-filter-shell :is(.filter-compact,.filter-popover,.filter-dialog-heading,.filter-panel,.filter-actions,.filter-option-picker,.filter-option-search) { background:var(--surface); color:var(--ink); border-color:#657b98; }
html[data-theme="dark"] :is(.filter-presets,.filter-panel,.filter-presets button,.search-select-option) { background:var(--surface); color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] :is(.filter-presets button,.search-select-option,.filter-option-item):hover { background:var(--surface-hover); }
html[data-theme="dark"] :is(.filter-fields label,.filter-field-label,.filter-period legend,.filter-dialog-heading h3,.filter-preset-title) { color:var(--muted); }
html[data-theme="dark"] :is(.filter-option-token,.filter-preset-icon) { background:var(--accent-soft); color:var(--theme-link); border-color:#587294; }
html[data-theme="dark"] .neuffer-filter-shell .filter-chips .chip { background:var(--accent-soft); color:var(--theme-link); }
html[data-theme="dark"] :is(.filter-option-check,.filter-option-sign,.filter-option-remove,.filter-clear-button,.filter-close,.filter-user-preset-action.cancel) { background:var(--surface-raised); color:var(--muted); border-color:#657b98; }
html[data-theme="dark"] :is(.filter-chip-exclude,.filter-option-token.exclude,.filter-option-check.selected.exclude) { background:var(--danger-bg); color:var(--danger); border-color:#a0687b; }
html[data-theme="dark"] .filter-option-check.selected { background:#8cb9fa; color:#12233c; border-color:#8cb9fa; }
html[data-theme="dark"] .neuffer-filter-shell :is(input,select,.form-control,#review-search) { background:#253246; color:var(--ink); border-color:#657b98; }

/* Tables: brighter key figures, quieter metadata, rectangular statuses. */
html[data-theme="dark"] :is(#orders-table,#review-table) thead th { background:#405570; color:#d2deef; border-color:#687e9c; }
html[data-theme="dark"] :is(#orders-table,#review-table) tbody tr { background:var(--surface); }
html[data-theme="dark"] :is(#orders-table,#review-table) tbody tr:nth-child(even) { background:#303e52; }
html[data-theme="dark"] :is(#orders-table,#review-table) tbody tr:hover { background:#3b4d66; }
html[data-theme="dark"] :is(#orders-table,#review-table) tbody td { color:var(--ink); border-bottom-color:var(--line)!important; }
html[data-theme="dark"] :is(#orders-table,#review-table) :is(.customer-order-nos,.order-metric strong,.order-amount-cell,.mono,.digest,.review-reason-label,.review-date-cell span) { color:var(--ink); }
html[data-theme="dark"] #orders-table tbody td:first-child { color:#b9cdec; }
html[data-theme="dark"] #orders-table tbody td:nth-child(3),
html[data-theme="dark"] #review-table tbody td:nth-child(6) { color:#becce0; }
html[data-theme="dark"] :is(#orders-table,#review-table) :is(.small,.order-metric-label,.last-message-cell span,.last-message-cell small,.review-date-cell small) { color:var(--muted); }
html[data-theme="dark"] :is(#orders-table,#review-table) .row-detail-button { background:#35475f; color:#b8cdec; border-color:#768ca9; }
html[data-theme="dark"] :is(#orders-table,#review-table) .row-detail-button:hover { background:#48678f; color:#e0e8f3; }
html[data-theme="dark"] :is(#orders-table,#review-table,#order-dialog,#review-dialog,#route-dialog,.kanban-card) .badge { color:#c1cee0; background:#405069; }
html[data-theme="dark"] :is(#orders-table,#review-table,#order-dialog,#review-dialog,#route-dialog,.kanban-card) .badge.good { color:var(--ready); background:var(--ready-bg); }
html[data-theme="dark"] :is(#orders-table,#review-table,#order-dialog,#review-dialog,#route-dialog,.kanban-card) .badge.info { color:#9ebeea; background:var(--accent-soft); }
html[data-theme="dark"] :is(#orders-table,#review-table,#order-dialog,#review-dialog,#route-dialog,.kanban-card) .badge.warn { color:var(--warning); background:var(--warning-bg); }
html[data-theme="dark"] :is(#orders-table,#review-table,#order-dialog,#review-dialog,#route-dialog,.kanban-card) .badge.danger { color:var(--danger); background:var(--danger-bg); }
html[data-theme="dark"] .dt-container { color:var(--muted); }
html[data-theme="dark"] .dt-container .dt-paging .dt-paging-button { color:var(--muted)!important; }
html[data-theme="dark"] .dt-container .dt-paging .dt-paging-button.current { color:var(--ink)!important; background:#3b526f; border-color:#657b98; }

/* Both kanbans retain their colored stage headers and visual hierarchy. */
html[data-theme="dark"] .orders-view-switch { border-color:var(--line); background:#253246; }
html[data-theme="dark"] .orders-view-switch .quiet-button { color:var(--muted); background:transparent; }
html[data-theme="dark"] .orders-view-switch .quiet-button[aria-pressed="true"] { background:#455d7c; color:#e5efff; }
html[data-theme="dark"] .orders-kanban { background:#253246; border-color:var(--line); scrollbar-color:#657b98 #253246; }
html[data-theme="dark"] .kanban-column { --stage-bg:#40546e; --stage-ink:#d3deee; }
html[data-theme="dark"] .kanban-column[data-tone="danger"] { --stage-bg:#814459; --stage-ink:#f3d8e0; }
html[data-theme="dark"] .kanban-column[data-tone="warn"] { --stage-bg:#715a30; --stage-ink:#efddb9; }
html[data-theme="dark"] .kanban-column[data-tone="info"] { --stage-bg:#35657d; --stage-ink:#d3e8f1; }
html[data-theme="dark"] .kanban-column[data-tone="good"] { --stage-bg:#326359; --stage-ink:#d6ebe5; }
html[data-theme="dark"] .kanban-column:is([data-state="000000021"],[data-state="route:000000001"]) { --stage-bg:#715a30; --stage-ink:#efddb9; }
html[data-theme="dark"] .kanban-column:is([data-state="000000002"],[data-state="route:000000006"]) { --stage-bg:#3e6288; --stage-ink:#d6e4f4; }
html[data-theme="dark"] .kanban-column:is([data-state="production"],[data-state="route:000000002"]) { --stage-bg:#5b4e82; --stage-ink:#e1dced; }
html[data-theme="dark"] .kanban-column[data-state="ready"] { --stage-bg:#4d663f; --stage-ink:#dbe8d1; }
html[data-theme="dark"] .kanban-column:is([data-state="realized"],[data-state="route:000000004"]) { --stage-bg:#37664f; --stage-ink:#d4eadf; }
html[data-theme="dark"] .kanban-column[data-state="route:000000003"] { --stage-bg:#35657d; --stage-ink:#d3e8f1; }
html[data-theme="dark"] .kanban-column:is([data-state="route:000000007"],[data-state="route:000000005"]) { --stage-bg:#40546e; --stage-ink:#d3deee; }
html[data-theme="dark"] .kanban-column-amount { background:#405570; color:#d2deef; }
html[data-theme="dark"] .kanban-card { background:#334258; border-color:#40546e; box-shadow:0 2px 8px #14243b26; }
html[data-theme="dark"] .kanban-card:hover { border-color:#789ac5; }
html[data-theme="dark"] .kanban-card .kanban-card-open { background:transparent; color:#9ebeea; }
html[data-theme="dark"] .kanban-card-open .kanban-card-arrow { color:var(--muted); }
html[data-theme="dark"] .kanban-card .kanban-card-open:hover { background:#415d80; color:#d1e5ff; }
html[data-theme="dark"] :is(.kanban-card-date,.kanban-column-missing,.kanban-customer-refs>span,.kanban-quantities dt,.kanban-card-amount>span,.kanban-card-latest>span,.route-card-departure>span) { color:var(--muted); }
html[data-theme="dark"] :is(.kanban-customer-refs strong,.kanban-quantities dd,.kanban-card-amount>strong,.route-card-departure>strong) { color:var(--ink); }
html[data-theme="dark"] :is(.kanban-quantities,.kanban-quantities>div,.kanban-card-latest) { border-color:var(--line); }
html[data-theme="dark"] :is(.kanban-card-latest time,.route-departure time) { color:#bdcbe0; }
html[data-theme="dark"] .kanban-state-note { color:var(--warning); }
html[data-theme="dark"] :is(.kanban-empty,.detail-empty) { background:#34445b; border-color:#657b98; color:var(--muted); }
html[data-theme="dark"] .kanban-scroll-button.quiet-button { background:#3a4d67; border-color:#768ca9; color:#b9cdec; box-shadow:0 3px 14px #14223940; }
html[data-theme="dark"] .route-entry { background:#394b63; border-left-color:#91b2e0; }
html[data-theme="dark"] .route-entry[data-state-code="000000003"] { background:var(--accent-soft); }
html[data-theme="dark"] .route-entry[data-state-code="000000004"] { background:var(--ready-bg); }
html[data-theme="dark"] :is(.route-entry-heading>strong,.route-entry .route-state) { color:#b9cdec; }
html[data-theme="dark"] .route-entry[data-state-code="000000004"] .route-state { color:var(--ready); }
html[data-theme="dark"] :is(.route-departure>span,.route-empty,.route-order-nos,.route-section-label) { color:var(--muted); }

/* Route cards keep whole-tour quantities distinct from the Neuffer selection. */
html[data-theme="dark"] .route-card-metrics>div { background:#3d506a; }
html[data-theme="dark"] .route-card-metrics dt { color:#c1cfe2; }
html[data-theme="dark"] .route-card-meter { --meter-fill:#96bce7; }
html[data-theme="dark"] .route-card-meter[data-kind="readiness"] { --meter-fill:#93c5ac; }
html[data-theme="dark"] .route-card-meter[data-overloaded="true"] { --meter-fill:#debb7d; }
html[data-theme="dark"] .route-card-meter[data-overloaded="true"] .route-meter-heading>strong { color:#efd1a1; }
html[data-theme="dark"] .route-meter-track,html[data-theme="dark"] .route-meter-track::-webkit-progress-bar { background:#51637c; }
html[data-theme="dark"] .route-card-meter[data-known="false"] .route-meter-track { background:repeating-linear-gradient(135deg,#4a5d77 0 5px,#3e5069 5px 10px); }
html[data-theme="dark"] .route-card-menu>summary:hover,html[data-theme="dark"] .route-card-menu[open]>summary { background:var(--surface-hover); }
html[data-theme="dark"] .route-card-menu-content { background:var(--surface-raised); }
html[data-theme="dark"] .route-card-menu-content .route-card-filter { background:transparent; }
html[data-theme="dark"] .route-card-menu-content .route-card-filter:hover { background:var(--surface-hover); }
html[data-theme="dark"] .route-card-menu>summary:focus-visible,html[data-theme="dark"] .route-card-open:focus-visible { outline-color:#a3c8f6; }

/* Dialogs: overview, correspondence, specifications, decisions and routes. */
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) { background:var(--surface); color:var(--ink); box-shadow:0 24px 80px #101c2c70; }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog)::backdrop { background:#17263d80; }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.detail-header,.dialog-header,.detail-tabs,.order-dialog-body,.dialog-actions) { background:var(--surface); border-color:var(--line); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(h2,h3,h4,h5,h6,.business-state-title,.detail-key-facts dd,.detail-linked-orders strong,.attribute-list dd,.timeline-event-heading strong,.route-overview strong,.customer-order-amount,#review-reason) { color:var(--ink); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.fine-print,.small,.meta,.dialog-kicker,.eyebrow,.detail-key-facts dt,.detail-key-facts small,.detail-linked-orders span,.attribute-list dt,.lifecycle-date,.detail-tab-count,.review-current-decision>span,.review-files-note,.review-decision-context,.route-buyer-count,.route-scope-note,.route-buyers-heading p,.route-overview span,#detail-order-meta,#detail-business-note,#reconciliation-checked,#summary-updated,#dialog-message,#review-coverage) { color:var(--muted); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.summary-card,.customer-order-card,.order-position,.order-shared-wrap,.review-file-card,.review-decision-fields,.review-check-note,.timeline-evidence,.reconciliation-evidence,.technical-card,.route-overview,#review-evidence) { background:#34445b; border-color:var(--line); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.summary-card>p,.timeline-summary,.correspondence-context>p,.review-file-card p,.review-check-note p,.review-decision-fields label,.customer-order-meta span,.customer-order-source-state,#review-evidence p,#review-dialog label) { color:#c2cddd; }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.detail-key-facts,.detail-key-facts>div,.customer-order-meta,.customer-order-evidence,.timeline>li,.attribute-list>div,.reconciliation-evidence,.correspondence-context,.technical-card,.review-source-details,#review-body-details,#review-evidence details) { border-color:var(--line); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.detail-header .quiet-button,.dialog-header .quiet-button,#close-route) { background:#435672; color:#c2cddd; }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.detail-header .quiet-button,.dialog-header .quiet-button,#close-route):hover { background:#567294; color:#e0e8f3; }
html[data-theme="dark"] .detail-tabs .quiet-button { background:transparent; color:var(--muted); }
html[data-theme="dark"] .detail-tabs .quiet-button[aria-selected="true"] { color:#bfd9ff; border-bottom-color:#9fc4ff; }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.text-action,summary,.route-neuffer-links .quiet-button) { background:transparent; color:var(--theme-link); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog) :is(.detail-attention,.questions,.sample-warning,.discrepancy-card,.translation-notice) { background:var(--warning-bg); color:#f7d99e; border-color:#9c7a40; }
html[data-theme="dark"] :is(#order-dialog,#review-dialog) :is(.detail-attention,.questions,.sample-warning,.discrepancy-card) :is(p,h4,h5,strong,summary) { color:#f7d99e; }
html[data-theme="dark"] #order-dialog .detail-key-facts .warn dd { color:var(--warning); }
html[data-theme="dark"] #order-dialog :is(.quantity-flow>div,.reconciliation-facts>div) { background:var(--surface); border-color:var(--line); }
html[data-theme="dark"] #order-dialog :is(.quantity-flow,.reconciliation-facts) :is(span,small) { color:var(--muted); }
html[data-theme="dark"] #order-dialog .flow-arrow { color:var(--muted)!important; }
html[data-theme="dark"] #order-dialog .lifecycle-icon { box-shadow:0 0 0 5px #34445b; }
html[data-theme="dark"] .lifecycle-stage::before { background:var(--line); }
html[data-theme="dark"] .lifecycle-stage :is(.lifecycle-icon,.lifecycle-value,.lifecycle-label) { color:#c2cddd; }
html[data-theme="dark"] .lifecycle-stage .lifecycle-icon { background:#41516a; border-color:#4f617c; }
html[data-theme="dark"] .lifecycle-stage.complete :is(.lifecycle-icon,.lifecycle-value) { color:var(--ready); }
html[data-theme="dark"] .lifecycle-stage.complete .lifecycle-icon { background:var(--ready-bg); border-color:#417c62; }
html[data-theme="dark"] .lifecycle-stage.waiting :is(.lifecycle-icon,.lifecycle-value) { color:var(--warning); }
html[data-theme="dark"] .lifecycle-stage.waiting .lifecycle-icon { background:var(--warning-bg); border-color:#846b40; }
html[data-theme="dark"] .lifecycle-stage.partial :is(.lifecycle-icon,.lifecycle-value) { color:var(--accent-strong); }
html[data-theme="dark"] .lifecycle-stage.partial .lifecycle-icon { background:var(--accent-soft); border-color:#587294; }
html[data-theme="dark"] .lifecycle-stage.blocked :is(.lifecycle-icon,.lifecycle-value) { color:var(--danger); }
html[data-theme="dark"] .lifecycle-stage.blocked .lifecycle-icon { background:var(--danger-bg); border-color:#996174; }
html[data-theme="dark"] #order-dialog .timeline>li::before { background:#9fc4ff; box-shadow:0 0 0 4px var(--surface); }
html[data-theme="dark"] #order-dialog :is(.application-detail,.application-detail-facts>div) { background:#3a4b65; border-color:var(--line); }
html[data-theme="dark"] #order-dialog .application-detail.with-posted-orders { border-left-color:#77a85d; }
html[data-theme="dark"] #order-dialog :is(.application-detail h6,.application-detail-facts dd) { color:var(--ink); }
html[data-theme="dark"] #order-dialog :is(.application-detail-facts dt,.timeline-heading>span,.timeline time) { color:var(--muted); }
html[data-theme="dark"] #orders-table .quantity-stack .order-metric:first-child strong { color:var(--ink); }
html[data-theme="dark"] .dt-container .dt-length select { background:#253246; color:var(--ink); border-color:#657b98; }
/* The shared DataTables input rule declares its light background important. */
html[data-theme="dark"] .dt-container .dt-input { background:#253246!important; color:var(--ink); border-color:#657b98; }
html[data-theme="dark"] #panel-review .kpi span { color:var(--muted); }
html[data-theme="dark"] .filter-search-icon { color:var(--muted); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(input,select,textarea) { background:#253246; color:var(--ink); border-color:#657b98; }
html[data-theme="dark"] .filter-presets button.active { background:#3b526f; color:#b9cce8; }
html[data-theme="dark"] .filter-presets button.active .filter-preset-icon { background:#395478; color:#b9cce8; }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.route-buyers-table,.review-unread-table,.customer-orders-table) { background:var(--surface); color:var(--ink); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.route-buyers-table,.review-unread-table,.customer-orders-table) :is(th,td) { color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] :is(#order-dialog,#review-dialog,#route-dialog) :is(.route-buyers-table thead,.review-unread-table,.customer-orders-table thead) th { color:#d2deef; background:#405570; }
html[data-theme="dark"] .route-buyers-table tbody tr:nth-child(even) { background:#303e52; }
html[data-theme="dark"] .route-buyers-table tbody tr:hover { background:#3b4d66; }
html[data-theme="dark"] :is(#route-dialog .route-buyers-table-wrap,#route-dialog .route-buyer-filter input,#route-dialog .route-buyer-filter select) { border-color:#657b98; }
html[data-theme="dark"] #route-dialog .route-buyer-filter :is(input,select) { background:#253246; color:var(--ink); }
html[data-theme="dark"] #route-dialog .route-buyer-filter label { color:var(--muted); }
html[data-theme="dark"] #route-dialog .route-buyers-table .route-buyer-date { color:var(--muted); }
html[data-theme="dark"] #route-dialog[data-state="000000004"] .route-overview { background:var(--ready-bg); }
html[data-theme="dark"] .dialog-language { background:#354d6d; color:#b9cdec; border-color:#657b98; }
@media(max-width:760px) { html[data-theme="dark"] #order-dialog .lifecycle-icon { box-shadow:0 0 0 3px #34445b; } }

html[data-theme="dark"] .readiness-progress progress,
html[data-theme="dark"] .readiness-progress progress::-webkit-progress-bar { background:#4a5e79; }
html[data-theme="dark"] .readiness-progress progress::-webkit-progress-value { background:#8dbfa7; }
html[data-theme="dark"] .readiness-progress progress::-moz-progress-bar { background:#8dbfa7; }
html[data-theme="dark"] .route-transfer { background:#514532; color:#eac586; }
html[data-theme="dark"] .route-kpis { background:var(--surface); }
html[data-theme="dark"] #orders-table tbody td:nth-child(2) { color:var(--ink); }
