.theme-toggle { display:inline-grid; place-items:center; width:40px; height:40px; flex-shrink:0; border-radius:50%; border:1px solid #d9dfe5; background:#ffffff80; color:#30373c; cursor:pointer; }
.theme-toggle svg { width:20px; height:20px; }
.theme-toggle:hover { background:#fff; }
.theme-toggle:focus-visible { outline:3px solid #7d929e; outline-offset:3px; }
.co-head .wrap { gap:16px; }
.co-head .theme-toggle { margin-left:8px; }
html[data-theme=dark] { color-scheme:dark; background:#101215; }
html[data-theme=dark] body {
 --paper:#101215; --ink:#f0f2f5; --muted:#aeb7c2; --card:#1b2026; --line:#343c45; --accent:#b2c5cf;
 --home-surface:radial-gradient(ellipse at 5% 20%,#24404b44,transparent 50%),radial-gradient(ellipse at 95% 80%,#3a304b44,transparent 45%);
 background-color:#101215 !important; color:#f0f2f5 !important;
}
html[data-theme=dark] :is(header.site,.co-head) { background:#1b2026b8 !important; border-color:#ffffff1f !important; box-shadow:0 12px 40px #0002 !important; }
html[data-theme=dark] .theme-toggle { background:#ffffff0c; color:#edf2f6; border-color:#ffffff26; }
html[data-theme=dark] .theme-toggle:hover { background:#ffffff1c; }
html[data-theme=dark] :is(header .logo img,footer .logo img) { filter:brightness(0) invert(1); }
html[data-theme=dark] :is(footer .logo) { background:transparent !important; }
html[data-theme=dark] :is(#shop,#faq,.cta,.announce,footer) { background:#101215 !important; color:#f0f2f5 !important; border-color:#343c45; }
html[data-theme=dark] :is(.story-scene,.coa-preview) { background-color:#101215 !important; background-image:var(--home-surface) !important; color:#f0f2f5; }
html[data-theme=dark] :is(.coa-feature,.coa-panel,.coa-card,.coa-guidance,.detail-copy,.product-information,.journey-card,.product,.cta > .wrap,.co-main,.co-side,.drawer,.certificate-dialog,.certificate-head,.certificate-foot) { background:#1c222bbd !important; color:#f0f2f5 !important; border-color:#ffffff16 !important; box-shadow:0 16px 45px #00000012,inset 0 1px 0 #ffffff08 !important; }
html[data-theme=dark] :is(.product-page,.coa-page) { background:transparent; }
html[data-theme=dark] :is(.detail-photo,.detail-photo-cutout,.story-photo,.product .ph) { background:radial-gradient(ellipse at 50% 40%,#35404c,#1b222b) !important; border-color:#ffffff1a !important; }
html[data-theme=dark] :is(.story-photo-tag,.detail-pair,.detail-perks a,.detail-tabs,.detail-quantity,.detail-badges > span,.coa-pending,.coa-icon,.tick) { background:#ffffff0c !important; color:#d5dee7 !important; border-color:#ffffff1c !important; }
html[data-theme=dark] :is(.detail-tabs button[aria-selected=true],.detail-pair button) { background:#3b4653 !important; color:#fff !important; }
html[data-theme=dark] :is(.story-copy h2 em,.story-bottomline,.story-bottomline > span:first-child) { color:#b8cbd5 !important; }
html[data-theme=dark] :is(.eyebrow,.story-label,.story-topline,.coa-eyebrow,.coa-intro p,.coa-card p,.coa-result small,.detail-description,.detail-image-caption,.detail-badges,.detail-pair-label,.detail-specs dt,.product-information p,.journey-copy p,.journey-heading > span,.coa-panel p,.coa-page-heading > p,.coa-guidance p,.certificate-empty p,.certificate-head span,.certificate-foot,.legal,.back-link,.crumbs,footer a,footer .foot p) { color:#aeb7c2 !important; }
html[data-theme=dark] :is(details p,.sec-head p,.product-kicker,.collection-swipe-hint) { color:#aeb7c2 !important; }
html[data-theme=dark] :is(.btn.dark,.detail-buy .btn,.coa-button,.coa-button-dark,.story-visual-arrow) { background:#e5ebef !important; border-color:#e5ebef !important; color:#182028 !important; }
html[data-theme=dark] :is(.btn.dark,.detail-buy .btn,.coa-button):hover { background:#fff !important; color:#182028 !important; }
html[data-theme=dark] :is(.coa-certificate-button,.certificate-external,.certificate-empty a) { color:#cfdee7 !important; }
html[data-theme=dark] :is(.coa-status) { color:#d4bd95; }
html[data-theme=dark] :is(.story-link,.detail-specs > div,.detail-tabs,.coa-certificate-button,.certificate-close,details,.legal,.coa-guidance > div) { border-color:#ffffff26 !important; }
html[data-theme=dark] :is(.f input,.f select,.f textarea,.promo input,.ship-option,.pay-option,.thanks-summary) { background:#1b222b; color:#eef2f6; border-color:#3b4653; }
html[data-theme=dark] .count { background:#e5ebef; color:#182028; }
html[data-theme=dark] .tag { background:#e5ebef; color:#182028; }
html[data-theme=dark] .journey-number { background:#26313ade; color:#fff; }
html[data-theme=dark] .certificate-dialog::backdrop { background:#000b; }
@media(max-width:600px) {
 header.site .actions { gap:10px; }
 .theme-toggle { width:36px; height:36px; }
 .co-head .wrap { flex-wrap:wrap; }
}
