.theme-trigger{font:inherit;color:inherit;background:transparent;border:0;min-height:44px;padding:8px 0;font-size:13px;font-weight:600;cursor:pointer}.menu-panel .theme-trigger{text-align:left;padding:12px 14px;min-height:48px;border-radius:12px}.store-theme-dialog{color:#242b35;background:#fff;width:min(440px,calc(100% - 32px));border:1px solid #dce1e7;border-radius:20px;padding:24px;box-shadow:0 24px 80px #0004}.store-theme-dialog::backdrop{background:#10172099}.theme-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.theme-dialog-heading h2{margin:0;font-size:26px}.theme-close{width:44px;height:44px;flex-shrink:0;border-radius:12px;border:1px solid #d3d9e0;background:#fff;color:#303947;font-size:26px}.store-theme-dialog>p{color:#637080}.store-theme-dialog fieldset{border:0;padding:0;margin:20px 0 0;display:grid;gap:12px}.theme-option{display:flex;gap:14px;align-items:center;min-height:76px;padding:14px;border:1px solid #d3d9e0;border-radius:12px;cursor:pointer}.theme-option:has(input:checked){border-color:#ff8a00;background:#fff5eb}.theme-option input{width:20px;height:20px;accent-color:#e77925;flex-shrink:0}.theme-option strong,.theme-option small{display:block}.theme-option small{color:#637080;margin-top:5px}.theme-trigger:focus-visible,.theme-close:focus-visible,.theme-option:focus-within{outline:3px solid #ff8a00;outline-offset:3px}
html[data-store-theme=dark]{--base:#181e26;--paper:#242c37;--ink:#f0f3f7;--muted:#b9c3ce;--line:#414c5b;background:#181e26}
html[data-store-theme=dark] body{background:#181e26;color:#f0f3f7}
html[data-store-theme=dark] :is(.hero,.hero-copy,.program-card,.card-content,.detail-main,.detail-side,.step,.buyer-shell,.empty-results){background:#242c37!important;border-color:#414c5b!important;color:#f0f3f7!important}
html[data-store-theme=dark] :is(.hero h1,.card-content h3,.detail-copy h1,.features-title,.detail-side-bottom h2,.section-heading h2,.step h3,.buyer-shell h3,.buyer-shell h4){color:#f0f3f7!important}
html[data-store-theme=dark] :is(.hero .summary,.release-note,.card-content p,.detail-intro,.feature-list li,.detail-side-bottom p,.card-utilities,.step p,.buyer-description,.buyer-empty p,.buyer-footnote,.section-heading p,.results-label){color:#bbc5d0!important}
html[data-store-theme=dark] :is(.section-heading,.buyer-tabs,.buyer-footnote){border-color:#414c5b!important}
html[data-store-theme=dark] .search-box{background:#242c37;border-color:#566173}html[data-store-theme=dark] .search-box input{color:#f0f3f7}html[data-store-theme=dark] .search-box input::placeholder{color:#aeb9c7}
html[data-store-theme=dark] :is(.light-btn,.text-link,.back-link,.buyer-link,.buyer-tab,[data-category],.program-card.secretary .text-link){background:#293440!important;color:#f0f3f7!important;border-color:#657287!important}
html[data-store-theme=dark] :is(.dark-btn,.buyer-tab[aria-selected=true],[data-category][aria-pressed=true]){background:#f08a42!important;color:#171e27!important;border-color:#f08a42!important}
html[data-store-theme=dark] :is(.light-btn,.text-link) svg{color:#ffad76}
html[data-store-theme=dark] :is(.eyebrow,.buyer-kicker,.card-status,.detail-status){color:#ffba8d!important}html[data-store-theme=dark] .detail-status{background:#403027}
html[data-store-theme=dark] :is(.store-theme-dialog,.theme-close){background:#242c37;color:#f0f3f7;border-color:#586679}html[data-store-theme=dark] .theme-option{border-color:#586679}html[data-store-theme=dark] .theme-option:has(input:checked){background:#3b3029;border-color:#ff9b59}html[data-store-theme=dark] :is(.store-theme-dialog>p,.theme-option small){color:#bbc5d0}
@media(hover:hover){html[data-store-theme=dark] :is(.light-btn,.text-link,.back-link,.buyer-link,.buyer-tab:not([aria-selected=true]),[data-category]:not([aria-pressed=true])):hover{background:#3a4757!important}html[data-store-theme=dark] .dark-btn:hover{background:#ffa86b!important}}

/* Shared navigation rows: links and theme action. */
.site-header .menu-panel a,.site-header .menu-panel .theme-trigger{display:flex;align-items:center;width:100%;min-height:48px;margin:0;padding:12px 14px;border:0;border-bottom:1px solid #424a55;border-radius:0;background:transparent;color:#e7ecf3;font:inherit;font-size:14px;font-weight:700;text-align:left;line-height:1.4}
.site-header .menu-panel>:last-child{border-bottom:0}
.site-header .main-nav .theme-trigger{font-size:13px;font-weight:600;color:#ccd3dd;padding:0;min-height:44px}
@media(hover:hover){.site-header .menu-panel a:hover,.site-header .menu-panel .theme-trigger:hover{background:#374250}.site-header .main-nav .theme-trigger:hover{color:white}}

/* Selected states override the dark secondary-control selector specificity. */
html[data-store-theme=dark] #account .buyer-tab[aria-selected="true"],
html[data-store-theme=dark] #catalog [data-category][aria-pressed="true"]{
 background:#f08a42!important;color:#171e27!important;border-color:#f08a42!important;
 box-shadow:inset 0 -3px 0 #b85616!important;
}
html[data-store-theme=dark] #account>h2>span{color:#ffba8d!important}
