/* Shared presentation layer, loaded after each site's stylesheet. */
:root{color-scheme:light}
.theme-toolbar{display:flex;justify-content:flex-end;max-width:1320px;margin:12px auto 0;padding:0 24px}
button.theme-toggle{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #174b87;border-radius:6px;background:#fff;color:#174b87;font:600 .85rem/1.3 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.theme-toggle:focus-visible{outline:3px solid #176b45;outline-offset:4px}
html[data-theme=dark]{color-scheme:dark;--ink:#e8eef7;--muted:#becadd;--line:#43536c;--paper:#172539;--wash:#0d1726;--navy:#e8eef7;--school-navy:#e8eef7;--school-muted:#becadd;--school-line:#43536c;--surface:#172539;--cjcp-blue:#92c5ff;--cjcp-green:#86d4ac;--cjcp-red:#ff9eaf;background:#0d1726;color:#e8eef7}
html[data-theme=dark] body{background:#0d1726;color:#e8eef7}
html[data-theme=dark] :is(.site-header,.nav-links.open,.site-utility,article,.grid article,.cards form,.assistant,.teacher,.pathway,.legal-shell,.filters,.workshop,details,.card,.panel,.tile,.orbit-label){background:#172539;color:#e8eef7;border-color:#43536c}
html[data-theme=dark] :is(.workspace-info,.notice,.status,.lead,.guide-notes,.focus-picker,.followup-callout,.deliverable,.worked-example .example-flow>div,.practice-banner,.note,.strip,.prompt,.routine-links a,.maintenance div){background:#1b3041;color:#e8eef7;border-color:#43536c}
html[data-theme=dark] :is(.future-hero,.private-band,main>header,.launch .hero){background:#142d49;color:#f1f6ff;border-color:#43536c}
html[data-theme=dark] :is(h1,h2,h3,h4,.brand,.brand strong,.trust-strip strong,.pathway h3,.future-copy h1,.launch h1){color:#f1f6ff}
html[data-theme=dark] :is(p,li,dt,dd,label,summary,figcaption,.small,.muted,.intro,.future-intro,.hero-tags,.orbit-caption,.pathway p,.homepage-credit,.hub-notice,.trust-strip p,.site-info-menu summary,.brand small,.maintenance span){color:#becadd}
html[data-theme=dark] :is(a,.nav-links a,.site-utility a,.training-links a,.orbit-label,.orbit-label span,.main-home){color:#92c5ff}
html[data-theme=dark] :is(.eyebrow,.pathway-kicker,.step-number){color:#86d4ac}
html[data-theme=dark] :is(.future-copy h1 em,.launch h1 em,.training-links a b){color:#ff9eaf}
html[data-theme=dark] :is(input,select,textarea){background:#0d1726;color:#e8eef7;border-color:#7890ad}
html[data-theme=dark] :is(button,.button,.future-button,.action,.primary,.launch .cta){background:#174b87;color:#fff;border-color:#92c5ff}
html[data-theme=dark] :is(.secondary,button.theme-toggle,.site-header .nav-toggle){background:#172539;color:#92c5ff;border-color:#7890ad}
html[data-theme=dark] :is(.badge,.pill,.tool-symbol,.pathway-art,.pathway-business .pathway-art,.pathway-classroom .pathway-art,.pathway-future .pathway-art,.launch .flow div){background:#233b50;color:#e8eef7}
html[data-theme=dark] .site-header .nav-links.open{background:#172539}
html[data-theme=dark] .site-info-menu[open] summary{color:#fff}
html[data-theme=dark] :focus-visible{outline-color:#86d4ac;box-shadow:none}
@media(max-width:760px){.nav-shell{gap:12px;flex-wrap:wrap;padding:12px 0}.theme-toggle{margin-left:auto}.theme-toolbar{padding:0 16px}}
@media print{.theme-toggle,.theme-toolbar{display:none!important}html[data-theme=dark],html[data-theme=dark] body{background:white;color:black}html[data-theme=dark] :is(article,.card,.panel,.legal-shell,.workspace-info,details){background:white;color:black}html[data-theme=dark] :is(h1,h2,h3,h4,p,li,a,summary){color:black}}
/* Preserve the school's blue, green and red accents in both appearances. */
html[data-theme=dark] :is(.grid article,.cards article,.pathway){border-top-color:var(--cjcp-blue)}
html[data-theme=dark] :is(.grid article:nth-child(3n+2),.cards article:nth-child(3n+2),.pathway-business,.pathway-classroom){border-top-color:var(--cjcp-green)}
html[data-theme=dark] :is(.grid article:nth-child(3n),.cards article:nth-child(3n),.pathway-future,main>header){border-top-color:var(--cjcp-red)}
html[data-theme=dark] :is(.workspace-info,.notice,.hub-notice){border-left-color:var(--cjcp-green)}
