.theme-toggle{width:38px;min-width:38px;height:38px;padding:0;display:inline-grid;place-items:center;font-size:17px;flex:none}
html[data-theme="dark"]{
  color-scheme:dark;
  --ink:#edf3ef;
  --ink-soft:#d3ddd7;
  --muted:#a1aea7;
  --line:#35443d;
  --paper:#1b2520;
  --white:#121a16;
  --teal:#55c3b5;
  --teal-dark:#77d0c2;
}
html[data-theme="dark"] body{background:#121a16;color:var(--ink)}
html[data-theme="dark"] .vehicle-section,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .product-visual,
html[data-theme="dark"] .product-detail-media{background:#1b2520;border-color:var(--line)}
html[data-theme="dark"] .request-band{background:#1b2520;color:var(--ink)}
html[data-theme="dark"] .request-band .request-intro>p:not(.eyebrow),
html[data-theme="dark"] .request-points{color:#c1cdc6}
html[data-theme="dark"] .request-form,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .drawer-panel,
html[data-theme="dark"] .related-product{background:#151f1a;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .vehicle-form input,
html[data-theme="dark"] .vehicle-form select,
html[data-theme="dark"] .request-form input,
html[data-theme="dark"] .request-form textarea,
html[data-theme="dark"] .portal-form input:not([type="checkbox"]),
html[data-theme="dark"] .address-form input,
html[data-theme="dark"] .address-form textarea,
html[data-theme="dark"] .address-form select{background:#1a2520;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .vehicle-form label,
html[data-theme="dark"] .request-form label,
html[data-theme="dark"] .portal-form>label,
html[data-theme="dark"] .address-form label,
html[data-theme="dark"] .account-state a{color:var(--muted)}
html[data-theme="dark"] .portal-form input:focus,
html[data-theme="dark"] .request-form input:focus,
html[data-theme="dark"] .request-form textarea:focus{border-color:var(--teal)}
html[data-theme="dark"] .button-dark{background:#287f72;color:#fff}
html[data-theme="dark"] .button-dark:hover{background:#35998b}
html[data-theme="dark"] .button-lime{background:#d9ef70;color:#20271c}
html[data-theme="dark"] .admin-metrics a,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .footer-bottom a{color:var(--ink)}
html[data-theme="dark"] .product-bottom,
html[data-theme="dark"] .footer-main,
html[data-theme="dark"] .account-band,
html[data-theme="dark"] .account-state{border-color:var(--line)}
html[data-theme="dark"] .form-feedback,
html[data-theme="dark"] .portal-switch{color:var(--muted)}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .admin-header,
html[data-theme="dark"] .main-nav{background:#151f1a}
html[data-theme="dark"] .admin-nav a:hover,
html[data-theme="dark"] .admin-nav a.active{background:#24342d;color:var(--ink)}
html[data-theme="dark"] .outline-button,
html[data-theme="dark"] .admin-filters input,
html[data-theme="dark"] .admin-filters select,
html[data-theme="dark"] .admin-row-actions select,
html[data-theme="dark"] .parts-form-grid input,
html[data-theme="dark"] .parts-form-grid select,
html[data-theme="dark"] .parts-form-grid textarea,
html[data-theme="dark"] .stock-adjust-form input,
html[data-theme="dark"] .po-line input,
html[data-theme="dark"] .po-line select,
html[data-theme="dark"] .admin-edit input[type="number"],
html[data-theme="dark"] .staff-line input,
html[data-theme="dark"] .staff-line select,
html[data-theme="dark"] .staff-quote-fields input,
html[data-theme="dark"] .staff-quote-fields textarea,
html[data-theme="dark"] .staff-quote-form>.staff-wide input,
html[data-theme="dark"] .staff-quote-form>.staff-wide textarea,
html[data-theme="dark"] .manual-customer-fields input,
html[data-theme="dark"] .payment-status-panel select{background:#1a2520;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .admin-edit form,
html[data-theme="dark"] .order-items pre,
html[data-theme="dark"] .account-mark,
html[data-theme="dark"] .currency-tag{background:#202d27;color:var(--ink)}
html[data-theme="dark"] .status-label{background:#29362f;color:#d4e0d9}
html[data-theme="dark"] .status-new,
html[data-theme="dark"] .status-sent{background:#203d36;color:#9de0d2}
html[data-theme="dark"] .status-paid,
html[data-theme="dark"] .status-confirmed{background:#263d2c;color:#b7e2b8}
html[data-theme="dark"] .status-cancelled,
html[data-theme="dark"] .status-expired{background:#422d29;color:#efb5a5}
html[data-theme="dark"] .status-draft{background:#443820;color:#f2d091}
html[data-theme="dark"] .portal-notice{background:#1b342c;color:#c1e2d4}
html[data-theme="dark"] .portal-errors{background:#3a2824;color:#f0c0b2}
html[data-theme="dark"] .payment-option:has(input:checked){background:#1b342e}
html[data-theme="dark"] .staff-quote-form .payment-disabled{background:#1a211d;border-color:#303a34;color:#77837c}
html[data-theme="dark"] .payment-disabled small,
html[data-theme="dark"] .staff-line label,
html[data-theme="dark"] .staff-quote-fields label,
html[data-theme="dark"] .staff-quote-form>.staff-wide,
html[data-theme="dark"] .manual-customer-fields label,
html[data-theme="dark"] .admin-filters label,
html[data-theme="dark"] .parts-form-grid>label,
html[data-theme="dark"] .stock-adjust-form>label{color:var(--muted)}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#84928a}
