.theme-toggle{display:inline-grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border:1px solid var(--border, #d7e3e8);border-radius:9px;background:transparent;color:inherit;cursor:pointer}.web-chat-header .theme-toggle{margin-left:auto}.auth-form .theme-toggle{float:right}:root[data-theme=dark]{color-scheme:dark;color:#d9e7ee;background:#101d26;--navy: #e4f0f5;--teal: #65cee0;--teal-dark: #7edbea;--muted: #a6bdc8;--border: #38515e;--white: #172934;--dark-surface: #172934;--dark-inset: #203744;--dark-input: #11242f;--dark-text: #d9e7ee;--dark-link: #87d9e8;--dark-hover: #294855;--dark-selected: #2b505e;--dark-info-bg: #1b3747;--dark-info-text: #a7d8f0;--dark-success-bg: #1b3a35;--dark-success-text: #a0e0c7;--dark-warning-bg: #423622;--dark-warning-text: #f3ce91;--dark-danger-bg: #492d36;--dark-danger-text: #ffd0d8;--dark-progress-bg: #38334e;--dark-progress-text: #dcd0fa}[data-theme=dark] :is(body,.app-shell,.main-content,.auth-screen){color:var(--dark-text);background:#101d26}[data-theme=dark] :is(.panel,.sidebar,.topbar,.auth-panel,.auth-form,.dialog,.dialog-heading,.dialog-footer,.dialog-content,.dialog-content .form-actions,.metric-card,.demo-profile-card,.web-chat-box,.web-chat-header,.web-chat-footer,.chat-example,.chat-receipt,.chat-summary,.chat-product,.chat-account-order,.chat-account,.shop-card,.search-select-menu,.combobox-options,.skip-link,.empty){background:var(--dark-surface);color:var(--dark-text);border-color:var(--border)}[data-theme=dark] :where(h1,h2,h3,h4,dt,dd,th,td,strong,small,p,label,summary,.account-identity,.nav-link,.brand,.topbar-breadcrumb){color:inherit}[data-theme=dark] :is(.field label,.table-scroll th,.table-wrap th,.account-identity small,.metric-card span,.metric-card strong,.topbar-breadcrumb strong,.auth-form h2,.brand strong,.page-title h1,.panel-heading h2,.panel-heading p,.summary-row small,.cash-handover-row small,.verified-line,.web-chat-header h1,.chat-message-author,.web-chat-log small){color:var(--dark-text)}[data-theme=dark] :is(.search-input,input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--dark-input);color:var(--dark-text);border-color:var(--border)}[data-theme=dark] .search-input input{background:transparent}[data-theme=dark] ::placeholder{color:#a4bdcb}[data-theme=dark] :is(th,.today-list li,.filter-bar,.filter-row,.form-actions,.web-chat-header,.web-chat-footer){border-color:var(--border)}[data-theme=dark] :is(th,.address-editor,.daily-cash-totals>div,.compact-list>div,.today-list li:hover,.clickable-row:hover,.open-row:hover,.today-status,.auth-shield,.loading,.empty-icon,.next-stop,.quiet-success,.info-strip,.chat-message.bot,.chat-secondary,.chat-account-nav button,.chat-product img,.chat-quantity,.chat-amount,.chat-example button,.chat-hint,.chat-loading){background:var(--dark-inset);color:var(--dark-text);border-color:var(--border)}[data-theme=dark] :is(a,.text-link,.strong-link,.icon-button,.button.ghost,.chat-cart-item button,.chat-action,.chat-example summary,.chat-product small,.chat-product b,.chat-secondary,.web-chat-footer button){color:var(--dark-link)}[data-theme=dark] :is(.button.secondary,.button.light){background:var(--dark-inset);color:var(--dark-text);border-color:var(--border)}[data-theme=dark] :is(.button.primary,.chat-primary,.chat-message.user){background:#0c6577;color:#fff}[data-theme=dark] :is(.selected,.tab.active,.tabs button.active,.sidebar a.active,.demo-profile-card.current){background:#254754;color:#dff6fb}[data-theme=dark] :is(.field-error,.chat-error,.error-box){background:#492d36;color:#ffd8dd;border-color:#94636d}@media print{:root[data-theme=dark]{color-scheme:light}}[data-theme=dark] .open-row:hover>td,[data-theme=dark] .open-row:focus-within>td{background:var(--dark-inset)}[data-theme=dark] .account-identity>strong,[data-theme=dark] :is(.compact-list,.mini-metrics,.details-list) strong{color:var(--dark-text)}[data-theme=dark] .search-select-options,[data-theme=dark] .search-select-options button{background:var(--dark-surface);border-color:var(--border);color:var(--dark-text)}[data-theme=dark] .search-select-options button:hover,[data-theme=dark] .search-select-options [aria-selected=true]{background:var(--dark-inset)}[data-theme=dark] :is(.inbox-layout,.conversation-item,.message,.composer-area,.emoji-picker button,.picker-list>button,.map-layer-button,.map-instruction,.map-loading,.mini-metrics>div){background:var(--dark-surface);color:var(--dark-text);border-color:var(--border)}[data-theme=dark] :is(.demo-customer-link,.account-avatar,.initial-avatar,.empty-state>span,.location-box,.note,.stop-number,.delivery-items>span,.message-history,.bot-overview,.bot-emblem,.conversation-context,.request-activity,.request-activity>i,.selection-summary,.preview-metrics,.planning-summary,.recurring-preview th,.current-state,.driver-progress,.next-stop .panel-heading,.delivery-review,.delivery-record,.delivery-workflow,.attachment-preview,.chat-selected-product,.chat-stepper button,.message-choices button){background:var(--dark-inset);color:var(--dark-text);border-color:var(--border)}[data-theme=dark] .message.out{background:#20443f;border-color:#3a6259}[data-theme=dark] :is(.message p,.message time,.conversation-item em,.demo-profiles-intro,.demo-profiles-foot,.demo-profile-card>span:not(.demo-profile-role),.demo-customer-link p,.auth-form>p,.dialog-heading p,.eyebrow,.empty-state p,.quiet-success p,.search-input button,.chart-legend,.hint,.pagination,.section-label,.check-line,.check-inline,.location-box span,.address-card p,.address-summary,.details-list dt,.total-line,.date-filter label,.tabs button:not(.active),.feature-grid p,.audit-detail,.stop-row p,.bot-overview p,.bot-counters,.bot-capabilities>div,.weekdays legend,.weekdays label,.request-row p,.search-select-options p,.search-select-options small,.composer-hint,.web-chat-date,.chat-selected-product small,.chat-summary p>small,.chat-summary dt,.web-chat-footer){color:var(--muted)}[data-theme=dark] :is(.demo-profiles-page,.total-line strong,.bot-overview h2,.bot-counters strong,.chat-step-label,.search-select-options [role=option]){color:var(--dark-text)}[data-theme=dark] :is(.demo-profile-role,.demo-profile-card>b,.field>label>span,.metric-card>div,.address-pin,.back-link,.entity-link,.delivery-workflow a){color:var(--dark-link)}[data-theme=dark] :is(.button.secondary:hover,.button.ghost:hover,.icon-button:hover,.picker-list>button:hover,.search-select-options [role=option]:hover,tbody tr:hover,.chat-secondary:hover,.chat-product:hover:not(:disabled),.chat-product:focus-visible,.chat-stepper button:hover:not(:disabled)){background:var(--dark-hover);border-color:var(--teal)}[data-theme=dark] :is(.conversation-item.selected,.selection-card.selected,.search-select-options [role=option].active,.chat-account-nav button[aria-pressed=true]){background:var(--dark-selected);color:#e3f7fc;border-color:var(--teal)}[data-theme=dark] .badge{background:var(--dark-inset);color:var(--muted)}[data-theme=dark] :is(.status-confirmed,.status-sent,.status-received,.status-simulated,.info-box,.info-strip){background:var(--dark-info-bg);color:var(--dark-info-text);border-color:#3c6075}[data-theme=dark] :is(.status-prepared,.status-pending,.status-queued,.status-review,.status-unknown,.low-stock,.connection-icon:not(.ok),.inline-review,.draft-review-link,.demo-notice,.demo-topbar,.chat-demo-pill){background:var(--dark-warning-bg);color:var(--dark-warning-text);border-color:#786345}[data-theme=dark] :is(.status-out_for_delivery,.status-dispatched,.status-in_progress,.status-running,.status-calculating){background:var(--dark-progress-bg);color:var(--dark-progress-text)}[data-theme=dark] :is(.status-delivered,.status-done,.status-posted,.status-completed,.status-read,.status-ready,.stock-ok,.success-box,.connection-icon.ok,.driver-feedback,.micro-badge,.chat-receipt){background:var(--dark-success-bg);color:var(--dark-success-text);border-color:#42685a}[data-theme=dark] :is(.status-cancelled,.status-void,.status-failed,.button.danger,.map-error){background:var(--dark-danger-bg);color:var(--dark-danger-text);border-color:#8d5d69}[data-theme=dark] :is(.positive,.verified-line,.driver-paid){color:var(--dark-success-text)}[data-theme=dark] :is(.amount-due,.warning-line){color:var(--dark-warning-text)}[data-theme=dark] :is(.negative,.danger-text){color:var(--dark-danger-text)}[data-theme=dark] :is(.dialog,.chat-clear-dialog)::backdrop{background:#080f17b3}[data-theme=dark] :where(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--teal);outline-offset:2px}[data-theme=dark] .bar-chart-columns{background:repeating-linear-gradient(to top,transparent 0 49px,var(--border) 50px)}[data-theme=dark] .street-map{background:var(--dark-input)}[data-theme=dark] .street-map :is(.leaflet-bar a,.leaflet-control-attribution,.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-tooltip){background:var(--dark-surface);color:var(--dark-text);border-color:var(--border)}[data-theme=dark] .street-map .leaflet-bar a:hover{background:var(--dark-hover)}[data-theme=dark] .street-map .leaflet-tile-pane{filter:brightness(.72) saturate(.75)}[data-theme=dark] .map-stop span{background:color-mix(in srgb,var(--map-stop-color) 55%,var(--dark-input))}
