/* Optional charcoal edition. Content, images and layout are shared with light mode. */
html body :is(.hp-header,.site-header,header) .ce-theme-toggle {
  display:inline-grid;place-items:center;flex:0 0 44px;
  width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;
  border:1px solid var(--ce-line);border-radius:50%;
  background:var(--ce-soft);color:var(--ce-ink);cursor:pointer;
  transition:background-color .2s,border-color .2s;
}
html body .ce-theme-toggle[hidden] {display:none!important}
html body .ce-theme-toggle:hover {background:var(--ce-surface);border-color:var(--ce-muted)}
html body .ce-theme-toggle:focus-visible {outline:2px solid var(--ce-link,var(--ce-blue));outline-offset:4px}
.ce-theme-toggle svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ce-theme-toggle .ce-theme-sun {display:none}
html[data-ce-theme=dark] .ce-theme-toggle .ce-theme-moon {display:none}
html[data-ce-theme=dark] .ce-theme-toggle .ce-theme-sun {display:block}
/* Reserve room for four navigation links and the 44px theme switch. */
body.home-sandeep .hp-header.is-scrolled .hp-nav-shell,
body.white-edition .site-header[data-editorial-header].is-scrolled > .header-inner {
  width:min(688px,calc(100% - 40px));gap:12px;
}
@media(max-width:809px) {
  body.white-edition .site-header[data-editorial-header] > .header-inner {gap:6px}
  body.white-edition .site-header[data-editorial-header].is-scrolled > .header-inner {width:calc(100% - 24px)}
  body.white-edition .site-header[data-editorial-header] .header-contact {padding-inline:8px;font-size:13px}
}
@media(max-width:760px) {
  body.home-sandeep .hp-header .hp-nav-shell {gap:6px}
  body.home-sandeep .hp-header.is-scrolled .hp-nav-shell {width:calc(100% - 24px);gap:6px}
  body.home-sandeep .hp-header .hp-nav-actions {gap:4px}
  body.home-sandeep .hp-header .hp-nav-contact {padding-inline:8px;font-size:13px}
}

@media screen {
  :root[data-ce-theme=dark] {
    color-scheme:dark;
    --ce-canvas:#121416;--ce-surface:#1b1e23;--ce-soft:#23272e;
    --ce-ink:#f1f2f4;--ce-copy:#bdc3ce;--ce-muted:#a3acbb;--ce-line:#343a44;
    --ce-link:#91b0ff;--ce-blue-soft:rgba(87,131,255,.12);--ce-blue-line:rgba(112,151,255,.38);
    --ce-shadow:0 16px 36px -18px #0009;
    --ce-paper:url('/assets/home-footer-grain.svg');
  }
  html[data-ce-theme=dark] body:is(.home-sandeep,.white-edition,.ce-utility) {
    --white-canvas:var(--ce-canvas);--white-surface:var(--ce-surface);--white-soft:var(--ce-soft);
    --white-ink:var(--ce-ink);--white-muted:var(--ce-copy);--white-line:var(--ce-line);
    --bg:var(--ce-canvas);--bg-2:var(--ce-soft);--bg-3:var(--ce-surface);
    --surface:var(--ce-surface);--surface-raised:var(--ce-soft);
    --paper:var(--ce-surface);--paper2:var(--ce-soft);--paper-ink:var(--ce-ink);--paper-muted:var(--ce-copy);
    --ink:var(--ce-ink);--text:var(--ce-ink);--ink-soft:var(--ce-copy);--ink-mute:var(--ce-muted);
    --muted:var(--ce-copy);--soft:var(--ce-muted);--line:var(--ce-line);--line-soft:var(--ce-line);
    --kb-surface:var(--ce-surface);--co-surface:var(--ce-surface);
    --accent:var(--ce-link);--blue:var(--ce-link);--accent-soft:var(--ce-blue-soft);
    --hp-paper-texture:var(--ce-paper);--hp-detail-shadow:var(--ce-shadow);
    color-scheme:dark;color:var(--ce-ink);
    background:var(--ce-canvas) var(--ce-paper) repeat;background-size:200px 200px;
  }
  html[data-ce-theme=dark] ::selection {background:#334777;color:#fff}
  html[data-ce-theme=dark] body :is(a,button,summary,input,select,textarea):focus-visible {outline-color:var(--ce-link)}
  html[data-ce-theme=dark] body :is(input,select,textarea) {color-scheme:dark;caret-color:var(--ce-link)}
  html[data-ce-theme=dark] body ::placeholder {color:var(--ce-muted);opacity:1}

  /* The navigation remains neutral, with a translucent charcoal compact shell. */
  html[data-ce-theme=dark] body :is(.hp-brand,.hp-intro-identity,.hp-hero h1) {color:var(--ce-ink)}
  html[data-ce-theme=dark] body :is(.hp-desktop-nav,.hp-mobile-nav) a,
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header] nav > a {color:var(--ce-copy)}
  html[data-ce-theme=dark] body :is(.hp-desktop-nav,.hp-mobile-nav) a:is(:hover,:active,:focus-visible,[aria-current]),
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header] nav > a:is(:hover,:active,:focus-visible,[aria-current]) {color:var(--ce-ink);font-weight:650}
  html[data-ce-theme=dark] body.home-sandeep .hp-header.is-scrolled .hp-nav-shell,
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header].is-scrolled > .header-inner {
    background:rgba(30,33,39,.9);border-color:#444b57;
    box-shadow:0 14px 36px #0005,inset 0 1px 0 #ffffff0c;
  }
  html[data-ce-theme=dark] body :is(.hp-mobile-nav,.resource-nav-panel),
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header] .mobile-nav:not([hidden]) {
    background:var(--ce-surface);border-color:var(--ce-line);box-shadow:var(--ce-shadow);
  }
  html[data-ce-theme=dark] body.home-sandeep .hp-header [data-coaching-contact],
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header] [data-coaching-contact],
  html[data-ce-theme=dark] body .ce-coaching-trigger {
    background:#2b3038;color:var(--ce-ink);border-color:#3c4350;box-shadow:none;
  }
  html[data-ce-theme=dark] body.home-sandeep .hp-header [data-coaching-contact]:hover,
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header] [data-coaching-contact]:hover,
  html[data-ce-theme=dark] body .ce-coaching-trigger:hover {background:#383f4a;color:#fff}
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header] .menu-toggle {background:var(--ce-soft)}
  html[data-ce-theme=dark] body.white-edition .site-header[data-editorial-header] .menu-toggle span {background:var(--ce-ink)}
  html[data-ce-theme=dark] body .hp-mobile-nav a+a {border-color:var(--ce-line)}

  /* Homepage: soft grain, charcoal prints, and original unfiltered resource media. */
  html[data-ce-theme=dark] body.home-sandeep .hp-hero::before {background-image:radial-gradient(circle,#c3cbd42b .7px,transparent .95px)}
  html[data-ce-theme=dark] body.home-sandeep .hp-intro-tag {border-color:#3b424d}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-intro-tag,.hp-hero-credential,.hp-eyebrow,.hp-story-tag,.hp-story-details dt,.hp-story-outcome,.hp-story-outcome strong span,.hp-story-disclaimer) {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.home-sandeep .hp-entry-action {color:var(--ce-copy)}
  html[data-ce-theme=dark] body.home-sandeep .hp-intro-identity img {background:#fff;border-radius:50%;padding:2px}
  html[data-ce-theme=dark] body.home-sandeep .hp-tag-separator {background:var(--ce-line)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-hero-credential strong,.hp-entry-meta strong) {color:var(--ce-ink)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-showcase-link,.hp-showcase-caption,.hp-entry,.hp-resource,.hp-story,.hp-collage-reset) {
    background:var(--ce-surface);color:var(--ce-ink);border-color:var(--ce-line);
  }
  html[data-ce-theme=dark] body.home-sandeep .hp-showcase-link {box-shadow:0 18px 40px -15px #000a,0 1px 0 #ffffff0b inset}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-entry,.hp-resource,.hp-story,.hp-showcase-card) :is(small,.hp-icon-arrow) {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-entry,.hp-resource,.hp-story):is(:hover,:focus-visible),
  html[data-ce-theme=dark] body.home-sandeep .hp-showcase-card:is(:hover,:focus-within) .hp-showcase-link {background:var(--ce-surface);border-color:#687385;box-shadow:var(--ce-shadow)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-entry-art,.hp-art-window-side,.hp-video .hp-meta,.hp-story-tag>span:first-child,.hp-resource-top>svg) {
    background:var(--ce-soft);color:var(--ce-muted);border-color:var(--ce-line);
  }
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-art-paper,.hp-art-window,.hp-art-journey i) {background:#2b3039;color:var(--ce-copy);border-color:#424b59}
  html[data-ce-theme=dark] body.home-sandeep .hp-art-paper {box-shadow:5px 5px 0 -1px #23272e,5px 5px 0 0 #424b59}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-art-paper strong,.hp-art-window-content strong) {color:var(--ce-copy)}
  html[data-ce-theme=dark] body.home-sandeep .hp-art-paper>span {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-art-paper i,.hp-art-window-content i,.hp-art-window-side i) {background:#4b5566}
  html[data-ce-theme=dark] body.home-sandeep .hp-art-journey>span:nth-of-type(2) i {background:var(--ce-blue-soft);color:var(--ce-link);border-color:var(--ce-blue-line)}
  html[data-ce-theme=dark] body.home-sandeep .hp-resource-top>svg {stroke:var(--ce-muted)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-resource p,.hp-video-watch,.hp-library-bottom,.hp-story-details,.hp-collage-reset) {color:var(--ce-copy)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-entry-action,.hp-resource-count,.hp-library-bottom,.hp-video-watch,.hp-video-image,.hp-story-details>div,.hp-art-window-bar,.hp-art-window-side) {border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.home-sandeep .hp-library-band {background-color:#171a1e;border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.home-sandeep .hp-coaching {
    background:linear-gradient(125deg,#23272e,#1a1e24);border-color:#3b434f;
    box-shadow:inset 0 1px 0 #ffffff08;
  }
  html[data-ce-theme=dark] body.home-sandeep .hp-coaching :is(.hp-eyebrow,.hp-support-list i) {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.home-sandeep .hp-coaching :is(.hp-support-list,.hp-support-list>div) {border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-video-sign,.hp-coaching-talk:hover,.hp-coaching .hp-support-list>div>span) {color:var(--ce-link)}
  html[data-ce-theme=dark] body.home-sandeep .hp-video-sign svg {stroke:var(--ce-link)}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-button-dark,.hp-button-white) {background:#edf0f5;color:#1a1d23;border-color:#edf0f5}
  html[data-ce-theme=dark] body.home-sandeep :is(.hp-button-dark,.hp-button-white):hover {background:#fff;color:#121416;border-color:#fff}
  html[data-ce-theme=dark] body.home-sandeep .hp-button-outline {background:var(--ce-surface);color:var(--ce-ink);border-color:#505a6a}
  html[data-ce-theme=dark] body.home-sandeep .hp-button-outline:hover {background:var(--ce-soft);border-color:#7d899c}

  /* Shared page families: resource cards, readers, courses, stories and utilities. */
  html[data-ce-theme=dark] body.white-edition :is(.kb-card,.doc-card,.collection-card,.story-card,.hb-book-card,.question-card,.co-stage,.co-fit-card,.co-note,.co-at-a-glance,
    .co-purchase,.article-excerpt,.rel-box,.path-step,.ai-panel,.entry-overview,.md-overview,.selector-section,.md-selector,.knowledge-section,.md-matrix-section,
    .checklist-section,.md-checklist,.practice-card,.md-practice-card,.pattern-related,.info,.mod,.cap-card,.detail-card,.scene-card,.power-card,.recap-card,.usecard,
    .v2-card,.v2-resource,.v2-step,.job-card,.iv-card,.kcard,.ai-card,.modal-card),
  html[data-ce-theme=dark] body.ce-service main {background:var(--ce-surface);color:var(--ce-ink);border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.white-edition :is(.kb-card,.doc-card,.collection-card,.story-card,.hb-book-card):is(:hover,:focus-within) {background:var(--ce-surface);border-color:#687385}
  html[data-ce-theme=dark] body.white-edition :is(.bio-coaching,.co-offer,.co-end,.stories-next) {background:linear-gradient(125deg,#23272e,#1a1e24);border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.white-edition :is(.hb-chapters,.hb-reader-bar) {background:rgba(18,20,22,.96)}
  html[data-ce-theme=dark] body.white-edition.knowledge-page .kb-controls,
  html[data-ce-theme=dark] body.white-edition.knowledge-page .site-header[data-editorial-header].is-scrolled::before {background-size:200px 200px}
  html[data-ce-theme=dark] body.white-edition :is(.kb-search,.library-search,.question-search,.collection-controls input,.path-form input,.ai-input input,
    .kb-sort select,.kb-refine select,.topic-select select,.mobile-company select,.hb-reader-bar select,.hb-module-picker select) {background:var(--ce-surface);color:var(--ce-ink);border-color:#505a6a}
  html[data-ce-theme=dark] body.white-edition :is(.co-tags>span,.collection-meta span,.doc-badge,.filter-count,.ai-msg,.kb-card-cover,.article-body pre,.article-body blockquote) {background:var(--ce-soft);color:var(--ce-copy);border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.white-edition .article-body {color:var(--ce-copy)}
  html[data-ce-theme=dark] body.white-edition :is(.r-cat,.path-num,.article-body a,.result-bar button,.bio-proof-link,.hb-card-mark) {color:var(--ce-link)}
  html[data-ce-theme=dark] body.white-edition :is(.kb-category[aria-current=page],.kb-category[aria-current=page] small,.kb-category[aria-current=page] .kb-category-symbol,
    .kb-filters button[aria-pressed=true],.collection-filters button[aria-pressed=true],.library-filters button[aria-pressed=true],
    .company-choice[aria-current=true],.company-choice[aria-current=true]>span:last-child,.co-toc nav a[aria-current=location],.co-toc nav a[aria-current=location] span) {color:var(--ce-link)}
  html[data-ce-theme=dark] body.white-edition.hb-page .hb-chapters :is(a.active,a[aria-current=page],a[aria-current=location]) {color:var(--ce-link)!important}
  html[data-ce-theme=dark] body.white-edition :is(.button.light,.collection-primary,.hb-start,.kb-more,.path-form button,.ai-input button,.ai-quick button,.ai-fab),
  html[data-ce-theme=dark] body.white-edition.course-detail .co-purchase .button.light {background:#edf0f5;color:#1a1d23;border-color:#edf0f5}
  html[data-ce-theme=dark] body.white-edition :is(.button.light,.collection-primary,.hb-start,.kb-more):hover {background:#fff;color:#121416}
  html[data-ce-theme=dark] body.white-edition :is(.button.dark,.collection-secondary) {background:var(--ce-surface);color:var(--ce-ink);border-color:#505a6a}
  html[data-ce-theme=dark] body.white-edition :is(.button.dark,.collection-secondary):hover {background:var(--ce-soft)}

  /* Authored metadata in the older page templates also uses the dark reading tiers. */
  html[data-ce-theme=dark] body.white-edition :is(.kb-home>span,.kb-category,.kb-category-symbol,.kb-home small,.kb-category small,.kb-breadcrumb a,.kb-filters button,.kb-reset,.kb-source-notice button,.kb-card-foot>span:last-child,
    .stories-lens,.stories-kicker,.stories-library-head>p,.stories-update,.stories-note,.story-detail-topic,.story-detail dt,.story-outcome,.story-card-action,.stories-access>button,.stories-filters button,
    .story-content-section p,.story-points,.story-record figcaption,.story-section-number,.story-image-help,.story-image-navigation>span,
    .bio-meta,.bio-index,.bio-section-label>span,.bio-milestone>span,.bio-number,.bio-question,.bio-steps li>span,.bio-coaching-foot p,.bio-reading-link>div>span,.bio-reading-link>span,.bio-social,.bio-working-note>p,
    .co-path-tools,.co-at-a-glance dt,.co-toc nav a,.co-toc a span,.co-video-chapters button,.co-toc-note button,.co-inline-link,.co-evidence-all,
    .co-stage-body>p:first-child,.co-stage-points li,.co-stage-body .co-stage-output,.co-fees dd,.co-fees-head,.co-fees-core>span,.co-fees-core p,.co-evidence figcaption,.co-stage-output>span,
    .co-stage-no,.co-stage-summary>span,.co-stage-head p,.co-expand,.co-benefit>span,.co-stories article>span:not(.co-record-preview),.co-stories strong small,.co-faq summary span,
    .co-offer .eyebrow,.co-offer-meta,.co-offer-copy>p:last-child,.co-video-status,
    .review-heading h1 span,.practice-steps small,.loading-note,.collection-filters button,.collection-back,.collection-card-action) {color:var(--ce-copy)}
  html[data-ce-theme=dark] body.white-edition :is(.story-pending-label,.story-video-pending>span,.story-video-pending small,.co-image-scroll p) {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.white-edition :is(.story-detail dd,.story-course-link,.stories-feedback button,.stories-feedback a,.bio-story>.bio-opening,.bio-story>.bio-signature,.bio-working-note>span,
    .co-at-a-glance dd,.co-fees dt,.co-fees-total>span,.co-note a,.co-faq a,.co-stories article>.co-record-open) {color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition :is(.co-section>.co-evidence-note,.story-detail>.story-result-note) {color:var(--ce-muted)!important}
  html[data-ce-theme=dark] body.white-edition.knowledge-page .kb-card-cover .kb-type-cover strong {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.white-edition :is(.kb-type-cover,.kb-type-cover[data-type],.collection-card:nth-child(n) .type-cover) {background:var(--ce-soft);color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition :is(.kb-type-cover small,.kb-type-cover[data-type] small) {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.white-edition :is(.kb-type-cover>span,.kb-type-cover[data-type]>span) {color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition :is(.co-problems>div,.co-stories article,.co-fees,.file-row,.story-dialog-bar,.course-catalog-card,.layout) {background:var(--ce-surface);border-color:var(--ce-line);color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition :is(.co-fees-total,.co-stage-output,.detail-cover,.story-record-open,.kb-empty button,.kb-filter-scroll-button,.co-path-tools button,
    .story-close,.story-image-close,#story-image-zoom,.story-image-navigation button) {background:var(--ce-soft);color:var(--ce-copy);border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.white-edition :is(.kb-category:hover,.co-toc nav a:hover,.co-stage summary:hover,.co-stage:hover,.stories-filters button:hover) {background:var(--ce-soft);color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition :is(.co-stage[open],.co-purchase) {background:var(--ce-surface);color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition .kb-total {background:transparent}
  html[data-ce-theme=dark] body.white-edition :is(.bio-hero-top>img,.co-author>img) {background:#fff}
  html[data-ce-theme=dark] body.white-edition :is(.collection-filters button,.stories-filters button)[aria-pressed=true],
  html[data-ce-theme=dark] body.white-edition .co-toc nav a[aria-current=location] {background:var(--ce-blue-soft);color:var(--ce-link)}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.hb-directory-desc,.hb-reading-desc,.hb-kicker,.hb-directory-meta,.hb-row-number,.hb-row-action,.hb-reading-count,.hb-breadcrumb,.hb-breadcrumb [aria-current=page],.hb-directory-note,.hb-directory-row p,.hb-lesson .section-sub,
    .hb-directory-note>span,.hb-directory-note p,.hb-row-action b,.hb-reader-bar a,.hb-reader-bar label,.hb-pagination a,.hb-next a,.hb-paths a,.hb-card-foot>span:last-child,
    .hb-collection-hero>div p,.hb-book-card p,.hb-reading-tip p,.section-desc,.sec-desc,.section-subtitle,.hero-left p,.hero .hero-lede,.hb-card-meta,.hb-card-foot,.hb-group-head p,.hb-group-head span) {color:var(--ce-copy)}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.hb-collection-hero h1 span,.checklist-section p,.md-checklist p,.md-check-text,.check-text) {color:var(--ce-copy)}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.formula,.md-formula,.jbase,.creed,.checklist-section button,.md-checklist button,.check-item.on,.md-check-item.on,.entry.active,.entry.on) {background:var(--ce-soft);color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.check-progress,.md-progress) strong {color:var(--ce-ink)}
  html[data-ce-theme=dark] body.white-edition.hb-page .hb-card-meta>span:last-child {color:var(--ce-muted)}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.hb-book-card,.mod,.hb-pattern-overview .mod) {background:var(--ce-surface);border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.white-edition.hb-page .hb-book-card:hover {background:var(--ce-soft)}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.mod-title .em,.checklist-head .section-kicker) {color:var(--ce-link)}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.section-title,.sec-title,.hb-reading-hero,.hb-directory-hero) .em {color:var(--ce-link)}
  html[data-ce-theme=dark] body.white-edition.hb-page .hb-chapters a {color:var(--ce-copy)!important}
  html[data-ce-theme=dark] body.white-edition.hb-page .hb-chapters :is(a.active,a[aria-current]) {color:var(--ce-link)!important}
  html[data-ce-theme=dark] body.white-edition.hb-page :is(.product-switch,.md-switch,.selector-options,.md-options) button.on {color:var(--ce-ink);background:var(--ce-soft)}
  html[data-ce-theme=dark] body.white-edition :is(.hb-directory-row:hover,.kb-category[aria-current=page]) {background:var(--ce-blue-soft)}
  html[data-ce-theme=dark] body.white-edition :is(.hb-directory-row:hover h3,.hb-directory-row:hover .hb-row-action b,.hb-breadcrumb a:hover,.bio-index a:hover,.bio-reading-link:hover h3,.bio-social a:hover,.collection-crumb a:hover) {color:var(--ce-link)}
  html[data-ce-theme=dark] body.white-edition.ce-legacy-page .result-bar .submit-btn {background:var(--ce-link);color:#121416}

  /* Dialogs keep QR images on their original white backing. */
  html[data-ce-theme=dark] body :is(#contact-dialog,#ce-coaching-dialog,.story-dialog,.story-image-dialog,.pdf-dialog) {background:var(--ce-surface);color:var(--ce-ink);border-color:#505a6a;box-shadow:0 24px 80px #0009}
  html[data-ce-theme=dark] body :is(#contact-dialog,#ce-coaching-dialog) :is(h2,.ce-coaching-copy,.copy-wechat) {color:var(--ce-ink)}
  html[data-ce-theme=dark] body :is(#contact-dialog,#ce-coaching-dialog) :is(p,.ce-coaching-kicker,#ce-coaching-description,.ce-coaching-close,.ce-coaching-copy span) {color:var(--ce-copy)}
  html[data-ce-theme=dark] body .copy-wechat span {color:var(--ce-copy)}
  html[data-ce-theme=dark] body :is(#contact-dialog,#ce-coaching-dialog) :is(.ce-coaching-copy,.copy-wechat,.dialog-close) {background:var(--ce-soft);border-color:#505a6a}
  html[data-ce-theme=dark] body.ce-utility > header {background:var(--ce-surface);border-color:var(--ce-line)}
  html[data-ce-theme=dark] body.ce-utility :is(button,input,select) {background:var(--ce-soft);border-color:#505a6a}
  html[data-ce-theme=dark] body.ce-service main a {color:var(--ce-link)}
  html[data-ce-theme=dark] body :is(.hp-footer,.site-footer.container,.hb-footer) {
    background-color:#0d0f11;
    background-image:var(--ce-paper),linear-gradient(115deg,#16191d,#0d0f11);
    border-top-color:#343a44;
  }
}
@media(prefers-reduced-motion:reduce) {html body .ce-theme-toggle {transition:none}}
@media print {html body .ce-theme-toggle {display:none!important}}
