/* Public surfaces share the accepted graphite palette; admin keeps its own theme. */
html[data-home-theme="dark"] .storefront:not(.home-page) {
  --ink: #f6f8fb; --ink-soft: #f6f8fb; --muted: #d4dfeb;
  --paper: #414c5b; --white: #333d49; --line: #758396;
  --premium-ink: #f6f8fb; --premium-muted: #d4dfeb; --premium-line: #758396;
  --premium-surface: #333d49; --premium-red: #ffb8c8;
  --live-line: #758396; --live-muted: #d4dfeb; --live-soft: #333d49;
  --live-red: #ffb8c8; --live-green: #a0e6ca;
  color: #f6f8fb; background: #24272c;
}
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.auth-page, .account-page, .cart-page, .catalog-page, .error-page) { background: #24272c; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.auth-card, .account-content, .account-nav, .account-order-list a, .order-public-lines article, .address-card, .cart-summary, .cart-line, .account-stats a, .catalog-message, .content-card:not(.premium-info-copy), .store-request-card, .quick-order-dialog, .quick-order-card, .quick-order-form-page, .results-state, .exact-result, .exact-result-header, .product-detail-header, .store-delivery-note, .search-offer-row, .live-product-facts .miles-package-card) {
  color: #f6f8fb; background: #333d49; border-color: #758396;
}
html[data-home-theme="dark"] .storefront:not(.home-page) main :is(p, small) { color: #d4dfeb; }
html[data-home-theme="dark"] .storefront:not(.home-page) .results-state > span { color: #d4dfeb; }
html[data-home-theme="dark"] .storefront:not(.home-page) main a { color: #b7d8ff; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.eyebrow, .live-context, .live-results, .live-choice-row, .live-context h1, .live-product-title strong, .search-offer-availability > strong, .live-group-header h3, .cart-line-main h2 a, .account-stats strong) { color: #f6f8fb; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.account-nav a[aria-current="page"], .account-nav a:hover, .account-nav .link-button:hover, .search-offer-row:hover, .live-choice-row:hover, .live-choice-row:focus-visible) { color: #fff; background: #414c5b; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.account-form input:not([type="checkbox"]):not([type="radio"]), .account-form select, .account-form textarea, .checkout-form select, .cart-quantity input, .results-search, .results-search input, .live-toolbar input, .live-toolbar select, .live-brand-menu input, .quantity-control, .quantity-control input, .quantity-control button) {
  color: #18232f; background: #f2f6fb; border-color: #a6b6c8;
}
html[data-home-theme="dark"] .storefront:not(.home-page) input::placeholder,
html[data-home-theme="dark"] .storefront:not(.home-page) textarea::placeholder { color: #526478; opacity: 1; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.live-toolbar button, .live-help > a, .secondary-button, .secondary-link, .store-help-link, .live-context details > p, .live-offers-title details > p) { color: #f6f8fb; background: #414c5b; border-color: #a6b6c8; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.primary-button, .primary-link, .results-search button, .search-offer-submit) { color: #fff; background: #b6071b; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.primary-button, .primary-link, .results-search button, .search-offer-submit):hover { color: #fff; background: #940718; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.primary-button, .search-offer-submit):disabled { color: #d4dfeb; background: #414c5b; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.offer-grid-head, .live-table-heading, .live-group-header, .live-choice-heading, .live-brand-menu, .live-source-choice, .live-group.is-active .live-group-header, .live-group:target .live-group-header, .live-pills [aria-pressed="true"]) { color: #f6f8fb; background: #414c5b; border-color: #758396; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.live-exact-label, .live-possible-count, .live-missing-photo, .cart-product-placeholder, .premium-info-art) { color: #d4dfeb; background: #333d49; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.live-warehouse, .live-warehouse.own, .search-offer-delivery .live-today, .success-mark) { color: #12543e; background: #d6f5e3; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.search-offer-availability strong, .exact-match-label) { color: #a0e6ca; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.possible-analog-label, .live-choice-notice, .catalog-message-error, .errorlist, .form-errors) { color: #ffd0a8; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.product-catalog-photos, .live-photo-open, .live-photo-dialog, .live-photo-dialog button) { color: #18232f; background: #f2f6fb; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.premium-info-art img, .store-info-illustration) { border-radius: inherit; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(a, button, summary, input, select, textarea):focus-visible { outline-color: #b7d8ff; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(input, select, textarea):focus-visible { outline-color: #194a73; }
html[data-home-theme="dark"] .storefront:not(.home-page) .quick-order-dialog::backdrop { background: rgb(0 0 0 / 65%); }
html[data-home-theme="dark"] .storefront:not(.home-page) .live-layout { color: #f6f8fb; --live-green: #a0e6ca; }
html[data-home-theme="dark"] .storefront:not(.home-page) .search-offer-price strong { color: #f6f8fb; background: none; box-shadow: none; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.live-menu-start, .live-brand-list a[aria-current="location"], .live-brand-list a:hover, .live-alphabet a:hover, .live-alphabet:hover, .live-alphabet:focus-within) { color: #b7d8ff; background: #333d49; }
html[data-home-theme="dark"] .storefront:not(.home-page) .live-alphabet a { color: #d4dfeb; }
html[data-home-theme="dark"] .storefront:not(.home-page) .more-offers > summary { color: #f6f8fb; background: #414c5b; }
html[data-home-theme="dark"] .storefront:not(.home-page) .search-offer-submit[data-show-total="true"] { color: #fff; }
html[data-home-theme="dark"] .storefront:not(.home-page) .live-group.is-navigation-target .search-offer-row { animation: none; }
html[data-home-theme="dark"] .storefront .public-messages .message { color: #18232f; background: #e1e9f2; }
html[data-home-theme="dark"] .storefront .public-messages .message-success { color: #12543e; background: #d6f5e3; }
html[data-home-theme="dark"] .storefront .public-messages .message-error { color: #8e1830; background: #ffe1e5; }
html[data-home-theme="dark"] .storefront .public-messages .message-warning { color: #643500; background: #ffebcf; }
html[data-home-theme="dark"] .storefront:not(.home-page) :is(.link-button, .cart-quantity button) { color: #b7d8ff; }
html[data-home-theme="dark"] .storefront:not(.home-page) .danger-link { color: #ffb8c8; }
html[data-home-theme="dark"] .storefront:not(.home-page) .product-brand { color: #a0e6ca; }
@media (forced-colors: active) {
  .storefront .home-theme-toggle { forced-color-adjust: auto; }
}

/* Current product card has its own palette and solid purchasing surfaces. */
html[data-home-theme="dark"] .storefront.product-detail-page {
  --product-ink:#f6f8fb; --product-muted:#d4dfeb; --product-line:#758396;
  --product-surface:#333d49;
}
html[data-home-theme="dark"] .storefront.product-detail-page .live-product-title h1 { color:#f6f8fb; }
html[data-home-theme="dark"] .storefront.product-detail-page :is(.product-identity p, .product-specification dt, .product-specification dt svg, .product-description-lead) { color:#d4dfeb; }
html[data-home-theme="dark"] .storefront.product-detail-page :is(.product-offer-choice, .product-source-details > div) { color:#f6f8fb; background:#414c5b; border-color:#758396; }
html[data-home-theme="dark"] .storefront.product-detail-page .is-selected .product-offer-choice { background:#414c5b; border-color:#ffb8c8; }
html[data-home-theme="dark"] .storefront.product-detail-page :is(.product-copy:hover, .product-copy.is-copied, .product-fitment > a:hover) { color:#ffb8c8; background:#414c5b; }
html[data-home-theme="dark"] .storefront.product-detail-page .product-specification-links a:first-child { color:#ffb8c8; }

html[data-home-theme="dark"] .storefront .premium-footer-brand img { filter:brightness(0) invert(1); }
