/* V10.38: audited dark theme. Loaded AFTER all earlier styles. */
html[data-smb-theme="dark"] { --ink:#f2f6ff; --muted:#bdcbe5; --line:#415474; --bg:#0d1527; --purple:#b9adff; }
html[data-smb-theme="dark"] body {background:#0d1527!important;color:#f2f6ff!important;}
/* Header: retain visible wordmark and legible links, including compact mobile menu. */
html[data-smb-theme="dark"] :is(.site-header,.seo-header,.tn-header,.sitebar,.mobile-nav,.site-footer,.seo-footer,.tn-footer) {background:#142139!important;border-color:#3e4e6a!important;color:#f2f6ff!important;}
html[data-smb-theme="dark"] :is(.seo-header nav a,.site-header .desktop-nav a,.site-header .mobile-nav a,.tn-header a,.sitebar .bar-links a,.bar-inner nav a,.site-footer a,.seo-footer a,.tn-footer a,.support-link) {color:#e3ebff!important;opacity:1!important;-webkit-text-fill-color:#e3ebff!important;}
html[data-smb-theme="dark"] :is(.seo-header nav a,.site-header .desktop-nav a,.site-header .mobile-nav a,.tn-header a,.sitebar .bar-links a):hover {color:#bdb0ff!important;}
html[data-smb-theme="dark"] :is(.menu-btn,.location-trigger,.smb-theme-toggle,.icon-button) {background:#233451!important;color:#eff4ff!important;border:1px solid #506685!important;}
html[data-smb-theme="dark"] :is(.menu-btn,.location-trigger,.smb-theme-toggle,.icon-button) :is(span,svg){color:inherit!important;}
/* Bottom navigation must be contrasting IN BOTH states. Global `a:not(.btn)` cannot override these. */
@media(max-width:800px) {
 html[data-smb-theme="dark"] .smb-bottom-nav {background:#142139!important;border-top:1px solid #405574!important;box-shadow:0 -6px 20px #03091e99!important;}
 html[data-smb-theme="dark"] .smb-bottom-nav a:not([aria-current="page"]) {background:transparent!important;color:#c6d5ef!important;-webkit-text-fill-color:#c6d5ef!important;}
 html[data-smb-theme="dark"] .smb-bottom-nav a[aria-current="page"] {background:#3d356d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;outline:1px solid #7769d1!important;}
 html[data-smb-theme="dark"] .smb-bottom-nav a svg,html[data-smb-theme="dark"] .smb-bottom-nav a span {color:inherit!important;stroke:currentColor!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;}
}
/* SEO model/catalogue pages were not included in prior dark-theme rules. */
html[data-smb-theme="dark"] :is(.seo-main,.seo-section,.seo-family) {background:transparent!important;color:#f2f6ff!important;}
html[data-smb-theme="dark"] :is(.seo-hero,.seo-info,.seo-model,.seo-cat,.seo-steps>div,.seo-config-group) {background:#1c2b45!important;background-image:none!important;border-color:#455a7a!important;color:#f2f6ff!important;}
html[data-smb-theme="dark"] :is(.seo-hero h1,.seo-section h2,.seo-info h2,.seo-model strong,.seo-cat strong,.seo-config-group strong,.seo-main strong,.seo-steps strong) {color:#f6f8ff!important;-webkit-text-fill-color:#f6f8ff!important;opacity:1!important;}
html[data-smb-theme="dark"] :is(.seo-hero p,.seo-section p,.seo-info p,.seo-model small,.seo-cat small,.seo-steps p,.seo-main .seo-crumbs,.seo-main .seo-crumbs span,.seo-main .seo-config-list) {color:#cad8ef!important;-webkit-text-fill-color:#cad8ef!important;opacity:1!important;}
html[data-smb-theme="dark"] :is(.seo-eyebrow,.seo-crumbs a,.seo-guide,.seo-section a:not(.seo-model):not(.seo-cat):not(.seo-primary):not(.seo-secondary)) {color:#c4b6ff!important;-webkit-text-fill-color:#c4b6ff!important;}
html[data-smb-theme="dark"] .seo-config-pills span {background:#283b5b!important;border:1px solid #607296!important;color:#e4ecff!important;-webkit-text-fill-color:#e4ecff!important;}
html[data-smb-theme="dark"] .seo-primary {background:#5544bd!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #8173e2!important;}
html[data-smb-theme="dark"] .seo-secondary {background:#283a57!important;border:1px solid #6b7a9a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
html[data-smb-theme="dark"] .seo-model:hover,html[data-smb-theme="dark"] .seo-cat:hover {background:#293c5c!important;border-color:#a99afa!important;}
/* Articles, account details, labels, news and all raised public panels. */
html[data-smb-theme="dark"] :is(.content,.page-wrap,.seo-home-section,.auth-wrap,.auth-card,.profile-signed-in,.profile-card,.profile-section,.profile-order-card,.profile-stat,.tn-card,.news-card,.tn-content,.tn-more,.faq-item,.smb-search-result,.smb-search-panel,.smb-picker-panel) {color:#f2f6ff!important;border-color:#455a7a!important;}
html[data-smb-theme="dark"] :is(.auth-card,.profile-card,.profile-section,.profile-order-card,.profile-stat,.tn-card,.news-card,.faq-item,.smb-search-result,.smb-search-panel,.smb-picker-panel) {background:#1b2b45!important;}
html[data-smb-theme="dark"] :is(.content h1,.content h2,.content h3,.tn-content h1,.tn-content h2,.tn-content h3,.profile-section h2,.profile-order-card strong,.auth-card label,.profile-card label,.field label,.field-label,.wizard-brand strong,.wizard-title,.smb-picker-panel h3) {color:#f5f8ff!important;-webkit-text-fill-color:#f5f8ff!important;}
html[data-smb-theme="dark"] :is(.lead,.content p,.auth-card p,.profile-section p,.profile-order-card small,.tn-content p,.tn-card p,.news-card p,.wizard-brand small,.wizard-description,.form-help,.muted-note,.policy-check,.choice small,.condition-row small) {color:#c6d4ec!important;-webkit-text-fill-color:#c6d4ec!important;}
/* Forms, choices and their selected state. */
html[data-smb-theme="dark"] :is(.wizard,.wizard-top,.wizard-body,.wizard-bottom,.choice,.model-choice,.smb-config-field,.smb-config-option,.smb-picker-option,.condition-row,.smb-details-card,.smb-pickup-card,.radio-slot) {color:#eef4ff!important;border-color:#455a7a!important;}
html[data-smb-theme="dark"] :is(.wizard,.wizard-top,.wizard-body,.wizard-bottom) {background:#192841!important;}
html[data-smb-theme="dark"] :is(.choice,.model-choice,.smb-config-field,.smb-config-option,.smb-picker-option,.condition-row,.radio-slot) {background:#243650!important;background-image:none!important;}
html[data-smb-theme="dark"] :is(.choice.selected,.model-choice.selected,.smb-config-option.is-selected,.smb-picker-option.is-selected,.radio-slot:has(input:checked)) {background:#343763!important;border:2px solid #b5a5ff!important;}
html[data-smb-theme="dark"] :is(.choice strong,.model-choice strong,.smb-config-option strong,.smb-picker-option strong,.condition-row strong,.radio-slot,.smb-select-trigger,.smb-details-card strong) {color:#f4f8ff!important;-webkit-text-fill-color:#f4f8ff!important;}
html[data-smb-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.smb-search-input) {background:#111e33!important;color:#f5f8ff!important;-webkit-text-fill-color:#f5f8ff!important;border-color:#637391!important;}
html[data-smb-theme="dark"] :is(input,textarea)::placeholder {color:#afbfda!important;-webkit-text-fill-color:#afbfda!important;opacity:1!important;}
html[data-smb-theme="dark"] :is(.btn-dark,.nav-cta,.offer-card,.offer-price,.submit,.seo-primary) {color:#fff!important;-webkit-text-fill-color:#fff!important;}
html[data-smb-theme="dark"] :is(.btn-outline,.btn-white) {background:#2b3b59!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#66799a!important;}
html[data-smb-theme="dark"] :is(.wizard-progress-caption,.wizard-progress-caption span,.summary-line span,.summary-line strong) {color:#dce5f8!important;}
/* Keep dark panels with colored accents legible. */
html[data-smb-theme="dark"] :is(.category-card strong,.smb-trust-item strong,.eligible-card strong,.smb-config-field h3,.section-heading h2,.smb-category-chooser h2) {color:#f5f8ff!important;-webkit-text-fill-color:#f5f8ff!important;}
html[data-smb-theme="dark"] :is(.category-card small,.smb-trust-item small,.eligible-card small,.section-heading p,.smb-category-chooser p) {color:#c8d6ee!important;-webkit-text-fill-color:#c8d6ee!important;}
html[data-smb-theme="dark"] :is(.seo-footer,.tn-footer,.site-footer) p {color:#c8d5e9!important;}
html[data-smb-theme="dark"] :focus-visible {outline-color:#c6b9ff!important;}
