/* Owner-requested light interface. Loaded after page styles, with no script dependency.
   Original photographs, native gold M assets, fonts and print workbooks are unchanged. */
@media screen and (forced-colors: none) {
  :root {
    --void: #f6f5f1; --ink: #ffffff; --ink-2: #efece4;
    --cream: #14140f; --muted: #525951; --steel: #5b6167;
    --gold: #7f6714; --gold-hi: #7f6714; --gold-pale: #69520d;
    --bronze: #7f6714; --ember: #7a5016;
    --hair: #c7b98c; --hair-soft: #d9d3c3; --line: #d9d3c3;
    color-scheme: light;
  }
  html { scrollbar-color: #8c815c #f6f5f1; }
  body { background: #f6f5f1; color: #14140f; }
  ::selection { background: #dec983; color: #14140f; }
  :focus-visible { outline: 3px solid #69520d; outline-offset: 3px; }
  .glass, .menu__sheet, .site-nav__inner::before {
    background: #fffefb; box-shadow: 0 0 0 1px #d9d3c3, 0 12px 34px -24px #6a583c;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .glass::before { background: none; border: 1px solid #d9d3c3; padding: 0; mask: none; -webkit-mask: none; }
  .glass::after { opacity: .02; }
  .site-nav, .p-reader .site-nav { background: #f6f5f1; border-bottom: 1px solid #d9d3c3; }
  .wordmark-ai, .wordmark sup { color: #9a7d1e; }
  .btn--glass, .chip, .menu__btn, .quiz__back, .opt__key, .stage__levels a {
    color: #14140f; background: #fffefb; box-shadow: inset 0 0 0 1px #b6a36b;
  }
  .btn--glass:hover, .menu__sheet a:hover, .menu__sheet a:focus-visible { color: #14140f; background: #efe9d7; }
  .search { background: #ffffff; box-shadow: inset 0 0 0 1px #9d906b; }
  .search input::placeholder, input::placeholder, textarea::placeholder { color: #62665e; opacity: 1; }
  kbd { color: #14140f; background: #efece4; border-color: #9d906b; }
  .hero__copy { background: rgba(246,245,241,.97); padding: clamp(22px, 4vw, 42px); border: 1px solid #d9d3c3; border-radius: 12px; }
  .orb-caption span:last-child { color: #f3eee1; }
  .hero__strip { background: #f6f5f1; padding: 14px 18px; border: 1px solid #d9d3c3; border-radius: 8px; }
  .hero__line--accent, .stat__n, .step__n, .why__n { color: #7f6714; background: none; -webkit-text-fill-color: currentColor; }
  .chapter__n { color: #7f6714; -webkit-text-stroke: 0; }
  .cinema__controls button { background: #fffefb; color: #14140f; border-color: #9d906b; }
  .cinema__controls button:hover { color: #14140f; background: #efe9d7; }
  .cinema__controls button:focus-visible { outline-color: #69520d; }
  .ta-gate { background: #fffefb; color: #14140f; box-shadow: 0 20px 80px #24201466, inset 0 0 0 1px #b6a36b; }
  .ta-gate__field input[type="text"], .ta-gate__field input[type="email"],
  .exam__field input, .exam-q__answer, .cert__field input[type="text"], .cert__field select {
    color: #14140f; background-color: #ffffff; border: 1px solid #9d906b; box-shadow: none;
  }
  input[type="checkbox"], input[type="radio"] { accent-color: #7f6714; }
  .ta-gate__err, .cert__err, .exam__timer--low { color: #8d291f; }
  .exam-q, .exam-q__opt { background: #fffefb; }
  .exam-q__opt:hover { background: #efe9d7; }
  .exam-q__opt:has(input:checked) { background: #eee2b8; outline: 2px solid #7f6714; }
  .exam-result--pass { background: #e6eddf; border: 1px solid #506a40; }
  .exam-result--fail { background: #f6e5df; border: 1px solid #995648; }
  .exam-result__label, .academy-decision .rd-eyebrow, .academy-decision strong,
  .course--reader .rd-hero .rd-eyebrow,
  .course--reader .academy-assessment .rd-eyebrow { color: #69520d; }
  .exam-q--correct { box-shadow: inset 0 0 0 2px #506a40; }
  .exam-q--wrong { box-shadow: inset 0 0 0 2px #995648; }
  .cert__canvas { box-shadow: 0 12px 36px -20px #6a583c, 0 0 0 1px #b6a36b; }
  .course--reader .rd-hero, .course--reader .rd-hero h1 { color: #14140f; background: #f6f5f1; }
  .course--reader .rd-deck, .course--reader .rd-meta, .course--reader .rd-hero .author-line,
  .course--reader .rd-cover figcaption, .learning-guide .guide-status { color: #525951; }
  .course--reader .rd-cover, .course--reader .rd-cover figcaption { background: #fffefb; border-color: #d9d3c3; }
  .course--reader .rd-code, .course--reader .rd-code pre, .course--reader .rd-code__bar,
  .course--reader .rd-copy, .course--reader .rd-copy-note { background: #fffefb; color: #14140f; border-color: #c7b98c; }
  .course--reader .rd-copy:hover { background: #efe9d7; }
  .course--reader .rd-code :focus-visible, .course--reader .rd-copy:focus-visible { outline-color: #69520d; }
  .p-labs { --lab-ink: #14140f; --lab-muted: #525951; --lab-surface: #fffefb; --lab-line: #bcb5a0; --lab-gold: #7f6714; }
  .lab, .lab-hero { background: #f6f5f1; }
  .lab-hero .page-hero__title, .lab-preview-head h3, .gate-panel h3, .gate-result h3,
  .gate-notice strong, .gate-trace span { color: #14140f; }
  .lab-hero .page-hero__lead, .lab-hero .crumbs, .lab-local, .lab-pane-head > span, .gate-lesson { color: #525951; }
  .lab-hero .eyebrow, .lab-hero .crumbs a, .lab-jump span, .lab-sliders output,
  .lab-prob-table thead th, .gate-panel legend, .gate-trace strong, .gate-table th, .gate-warning { color: #7f6714; }
  .lab-jump a, .lab input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  .lab select, .lab textarea, .lab select option, .lab-code .lab-pane, .lab-preview,
  .lab-console, .lab-sliders > div, .lab-prob-table caption, .lab-draws,
  .gate-notice, .gate-panel, .gate-result { background: #fffefb; color: #14140f; border-color: #bcb5a0; }
  .lab-jump a:hover, .lab-button:hover { color: #14140f; background: #efe9d7; }
  .lab-button { color: #14140f; background: #efece4; border-color: #9d906b; }
  .lab-button--gold, .lab--paper .lab-button--gold { background: #ebd78e; color: #14140f; }
  .lab-button:disabled { color: #62665e; background: #e7e5dc; border-color: #bcb5a0; }
  .lab-console__error, .gate-verdict[data-decision="deny"] { color: #8d291f; }
  .lab-console__warn, .gate-verdict[data-decision="needs_approval"] { color: #75520d; }
  .gate-verdict[data-decision="allow"] { color: #35562b; }
  .lab-prob { background: #e7e1cf; }
  .lab-bar-fill { background: #dfca8c; }
  .lab-prob > span:last-child { color: #14140f; }
  .lab-prob-table .is-off { color: #62665e; }
  .ag-code pre { background: #fffefb; color: #14140f; }
  .academy-decision { background: #e9e4d6; color: #14140f; }
}
