/* Shared course identity. Content, cover and accent remain course-owned. */
:root { --ink-900:#192447; --ink-700:#465271; --ink-500:#62708b; --rule:#d6dfee; --ground:#f3f6fc; --ground-2:#e8eef9; --container:1240px; --header-h:80px; --radius-md:10px; }
body { font-size:16px; }
h1,h2,h3 { text-wrap:balance; }
:focus-visible { outline:3px solid #7c8ed6; outline-offset:5px; }
.site-header { padding-inline:max(28px,calc((100vw - 1340px)/2)); background:rgba(248,250,255,.96); gap:24px; }
.course-emblem { flex-shrink:0; object-fit:contain; }
.brand-copy { gap:5px; }
.brand-copy span { font-size:18px; }
.brand-copy small { font-size:12px; }
.site-nav a { font-size:14px; padding:10px 14px; }
.site-nav .nav-pill { border-radius:6px; padding:8px 14px; background:var(--accent); color:white; }
.site-nav .nav-portal { font-size:13px; }
.nav-toggle { appearance:none; width:44px; height:44px; padding:0; border:0; background:transparent; align-items:center; gap:5px; }
.nav-toggle span { width:22px; height:2px; flex-shrink:0; border-radius:2px; transition:transform .18s ease,opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion:reduce) { .nav-toggle span { transition:none; } }
.eyebrow { font-size:12px; letter-spacing:.13em; }
.button { min-height:48px; border-radius:6px; padding:0 22px; gap:24px; font-size:14px; }
.text-link { color:var(--accent); font-size:14px; }
.course-cover { position:relative; isolation:isolate; background:#111b39; color:#eef2ff; overflow:hidden; }
.cover-material { position:absolute; inset:0 0 0 28%; z-index:-2; }
.cover-material img { width:100%; height:100%; object-fit:cover; object-position:center 48%; -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 10%,rgba(0,0,0,.55) 28%,#000 52%); mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 10%,rgba(0,0,0,.55) 28%,#000 52%); }
.course-cover::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(90deg,#111b39 0%,rgba(17,27,57,.98) 25%,rgba(17,27,57,.75) 40%,rgba(17,27,57,.25) 60%,transparent 80%),linear-gradient(0deg,rgba(13,22,49,.65),transparent 40%); }
.cover-material figcaption { position:absolute; right:34px; bottom:30px; color:#dae2fa; font-size:11px; z-index:1; }
.cover-content { padding-top:25px; }
.cover-breadcrumb { display:inline-flex; gap:18px; align-items:center; font-size:12px; color:#b4c1e2; }
.cover-breadcrumb span { opacity:.45; }
.cover-copy { max-width:640px; padding:52px 0 50px; }
.cover-kicker { color:#afbddd; font-family:var(--font-mono); font-size:11px; letter-spacing:.17em; }
.cover-kicker span { padding-inline:10px; }
.cover-copy h1 { font-size:clamp(48px,5.2vw,76px); font-weight:700; line-height:1.3; letter-spacing:.04em; color:#f4f5ff; margin:17px 0 8px; }
.cover-copy h1.long-title { font-size:clamp(38px,4.3vw,59px); max-width:11em; line-height:1.4; }
.title-line { display:block; }
.cover-english { font-family:var(--font-display); font-size:23px; color:#b9c8ed; line-height:1.4; }
.cover-description { font-size:16px; line-height:1.95; max-width:30em; margin-top:22px; color:#c4cee6; }
.cover-copy .hero-actions { margin-top:29px; }
.cover-primary { background:#e6ecff; border-color:#e6ecff; color:#172449; }
.cover-primary:hover { background:white; border-color:white; }
.cover-secondary { background:rgba(24,39,78,.35); color:#eaf0ff; border-color:#8596bd; }
.cover-secondary:hover { background:#2d3b60; border-color:#c9d4ef; }
.cover-foot { width:min(100%,620px); display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px 0 24px; border-top:1px solid #ffffff26; font-size:12px; color:#b8c5e3; }
.cover-foot a { display:flex; align-items:center; gap:32px; }
.course-facts { background:#e5ebf8; border-bottom:1px solid #d1daed; }
.fact-strip { display:grid; grid-template-columns:.8fr .8fr 1fr 1.4fr; padding-block:26px; }
.fact-strip>div { padding:0 30px; border-left:1px solid #c8d2e6; }
.fact-strip>div:first-child { padding-left:0; border:0; }
.fact-strip dt { font-size:11px; letter-spacing:.07em; color:#647290; }
.fact-strip dd { font-size:17px; color:#25345a; margin-top:6px; }
.fact-strip b { font-family:var(--font-display); font-size:30px; line-height:1; font-weight:500; margin-right:8px; }
.learning-section { padding:62px 0 64px; background:#f1f5fc; }
.section-head h2 { font-size:32px; margin-top:12px; }
.section-head .section-aside { font-size:14px; line-height:1.8; }
.learning-gateways { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.learning-gateway { display:flex; flex-direction:column; padding:25px 27px 20px; background:#fafcff; border:1px solid #ced9ee; border-radius:10px; transition:transform .18s,border-color .18s,box-shadow .18s; }
.learning-gateway:hover { transform:translateY(-4px); border-color:#9aaacf; box-shadow:0 12px 28px #233d7410; }
.gateway-label { display:flex; justify-content:space-between; gap:16px; font-family:var(--font-mono); font-size:11px; letter-spacing:.07em; color:#657799; }
.gateway-label>span { font-size:20px; line-height:1; }
.learning-gateway h3 { font-family:var(--font-display); font-size:26px; margin:19px 0 8px; }
.learning-gateway p { font-size:14px; line-height:1.85; }
.gateway-bottom { margin-top:auto; padding-top:23px; font-size:12px; color:#61718f; display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.gateway-bottom i { height:12px; width:1px; background:#c4cfe3; }
.gateway-ai { background:#e4eafa; border-color:#c7d1ec; }
.curriculum-section { background:#e8eef8; border-block:1px solid #d6dfef; padding:70px 0; }
.curriculum-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.7fr); gap:80px; align-items:start; }
.curriculum-intro { position:sticky; top:112px; }
.curriculum-intro h2,.map-copy h2 { font-size:40px; line-height:1.5; margin-top:14px; }
.curriculum-intro>p:not(.eyebrow) { margin:24px 0; line-height:1.95; font-size:14px; }
.prerequisite-note { margin-top:32px; padding-top:20px; border-top:1px solid #cbd5e7; color:#546582; font-size:13px; }
.prerequisite-note span { display:block; color:#78839b; font-size:12px; margin-bottom:6px; }
.curriculum-list { border-top:1px solid #becae0; }
.curriculum-row { display:grid; grid-template-columns:42px 1fr auto; gap:20px; padding:23px 12px 23px 0; border-bottom:1px solid #cbd5e7; transition:background .15s; }
.curriculum-row:hover { background:#f7faff; }
.curriculum-number { font-family:var(--font-display); font-size:28px; color:#7b8bae; line-height:1.5; }
.curriculum-row h3 { font-size:20px; font-family:var(--font-display); }
.curriculum-row p { font-family:var(--font-mono); font-size:11px; color:#73819c; margin-top:3px; }
.curriculum-summary { display:block; margin-top:9px; font-size:13px; line-height:1.7; color:#5b6a86; }
.curriculum-time { color:#61728f; font-size:12px; white-space:nowrap; display:flex; gap:24px; padding-top:6px; }
.map-section { background:#f5f8fd; padding:68px 0; }
.map-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; align-items:center; }
.map-copy>p:not(.eyebrow) { margin-top:18px; font-size:14px; line-height:1.85; }
.map-stats { display:flex; gap:35px; margin:25px 0; }
.map-stats b { display:block; font-size:32px; font-family:var(--font-display); color:var(--ink-900); }
.map-stats span { font-size:12px; color:#687994; }
.map-copy .legend { margin-top:24px; font-size:11px; }
.course-map-stage { display:block; min-width:0; position:relative; padding:22px; border:1px solid #cbd7ed; border-radius:12px; background:radial-gradient(ellipse at center,#fff 25%,#e4ebf9 100%); }
.course-map-stage svg { width:100%; height:auto; aspect-ratio:1; }
.map-stage-label { display:flex; justify-content:space-between; color:#405782; font-size:13px; }
.map-stage-caption { display:block; text-align:center; color:#6b7e9f; font-size:12px; }
.outcomes-section { padding:68px 0; background:#edf2fa; border-top:1px solid #dae2ef; }
.outcomes-section h2 { margin-top:14px; font-size:32px; }
.outcomes-section .objective-list { margin-top:28px; gap:17px; font-size:14px; }
.outcomes-section .objective-list .num { background:transparent; color:#7184a8; font-family:var(--font-display); font-size:20px; }
.assessment-card { padding:30px 34px; background:#fbfcff; border:1px solid #d3ddef; border-radius:12px; }
.assessment-card h3 { font-family:var(--font-display); font-size:24px; margin:14px 0; }
.assessment-card .text-link { display:inline-block; margin-top:22px; }
.assessment-card .bar-row { padding:14px 0; }
.knowledge-invitation { padding:50px 0; background:#19264a; color:#bac8e8; }
.invitation-layout { display:flex; justify-content:space-between; align-items:center; gap:50px; }
.knowledge-invitation .eyebrow { color:#a8b9e6; }
.knowledge-invitation h2 { color:#edf1ff; margin:12px 0; font-size:32px; }
.knowledge-invitation p:not(.eyebrow) { font-size:14px; max-width:46em; }
.invitation-action { display:grid; gap:12px; flex-shrink:0; }
.invitation-action>span { font-size:12px; text-align:center; }
.site-footer { margin:0; background:#e5ebf6; padding:32px 0; }
/* The same identity carries into the reading and working pages. */
.page-head { background:linear-gradient(110deg,#dde5f7,#edf2fc); padding-top:40px; }
.page-head h1 { font-size:40px; }
.page-head .sub { font-size:13px; }
.band.contrast { background:#e9eff8; }
.chapter-row-head { background:#e4ebf8; }
.panel { box-shadow:none; }
.ai-shell .page-head h1 { font-size:32px; }
.syllabus-navigation { position:sticky; top:var(--header-h); z-index:20; background:#f3f6fcf5; border-bottom:1px solid var(--rule); }
.syllabus-navigation>div { display:flex; gap:28px; overflow-x:auto; }
.syllabus-navigation a { display:flex; align-items:center; min-height:52px; white-space:nowrap; font-size:14px; color:#52658c; border-bottom:2px solid transparent; }
.syllabus-navigation a:hover { color:var(--accent); border-color:var(--accent); }
.syllabus-shell section[id],.syllabus-shell article[id] { scroll-margin-top:65px; }
.assessment-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr); gap:32px; align-items:start; }
.assessment-summary { padding:30px; border:1px solid #cdd8ed; border-radius:12px; background:#e6edf9; }
.assessment-summary h2,.reading-panel h2 { font-size:28px; line-height:1.4; }
.assessment-summary>.prose { font-size:15px; line-height:1.9; margin-bottom:22px; }
.assessment-summary .bar-row { padding-block:16px; font-size:15px; gap:8px 16px; }
.assessment-summary .bar-row small { font-size:13px; margin-top:5px; }
.reading-panel { min-width:0; padding:30px; border:1px solid #d7dfed; border-radius:12px; background:#fbfcff; }
.reading-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:22px; }
.reading-count { flex-shrink:0; color:#647594; font-size:12px; }
.reading-panel .ref-list { gap:0; margin:0; }
.reading-panel .ref-list li { grid-template-columns:28px minmax(0,1fr); gap:14px; padding:16px 0; break-inside:avoid; }
.reading-panel .ref-list li::before { padding-top:3px; color:#8090ac; }
.reference-copy { min-width:0; }
.reading-panel .ref-list b { font-size:16px; font-weight:600; line-height:1.6; overflow-wrap:anywhere; }
.reading-panel .ref-list span { display:block; font-size:13px; line-height:1.8; margin-top:5px; overflow-wrap:anywhere; }
.reading-panel>.prose { font-size:14px; }
.reading-panel>.prose:last-child { margin-top:24px; }
@media (max-width:1100px) {
  .site-nav a { padding-inline:9px; }
  .brand-copy span { font-size:16px; }
  .brand-copy small { font-size:10px; }
  .curriculum-layout { gap:42px; }
  .cover-copy { max-width:57%; }
  .cover-kicker { font-size:10px; letter-spacing:.08em; }
}
@media (max-width:900px) {
  .assessment-layout { grid-template-columns:1fr; gap:24px; }
  .site-header { padding-inline:22px; }
  .brand-copy small { display:none; }
  .site-nav .nav-portal { display:none; }
  .learning-gateway { padding:22px 20px; }
  .gateway-bottom { font-size:11px; }
  .curriculum-layout { grid-template-columns:1fr; gap:30px; }
  .curriculum-intro { position:static; }
  .curriculum-intro h2 br { display:none; }
  .curriculum-intro>p:not(.eyebrow) { max-width:65ch; }
  .prerequisite-note { margin-top:20px; }
  .map-layout { gap:30px; }
  .map-copy h2 { font-size:32px; }
  .invitation-layout { gap:26px; }
}
@media (max-width:760px) {
  .assessment-summary,.reading-panel { padding:22px; }
  .reading-heading { align-items:flex-start; flex-direction:column; gap:8px; }
  .assessment-summary h2,.reading-panel h2 { font-size:25px; }
  :root { --header-h:68px; }
  .brand-copy span { font-size:16px; }
  .course-emblem { width:34px; height:34px; }
  .brand { max-width:calc(100% - 54px); }
  .brand-copy span { line-height:1.4; }
  .nav-toggle { flex-shrink:0; }
  .site-nav .nav-portal { display:block; }
  .site-nav a { min-height:44px; }
  .cover-content { padding-top:22px; }
  .cover-copy { max-width:100%; padding:38px 0 35px; }
  .cover-material { inset:0 0 0 20%; opacity:.65; }
  .course-cover::after { background:linear-gradient(90deg,#111b39f5,#111b39b8 60%,#111b3950),linear-gradient(0deg,#111b39 1%,transparent 85%); }
  .cover-copy h1 { font-size:46px; margin-top:15px; }
  .cover-copy h1.long-title { font-size:36px; max-width:10em; }
  .cover-kicker { font-size:10px; }
  .cover-english { font-size:20px; max-width:22em; }
  .cover-description { font-size:15px; max-width:28em; }
  .cover-copy .hero-actions { gap:10px; }
  .hero-actions .button { padding-inline:16px; gap:13px; }
  .cover-foot { padding-bottom:42px; font-size:11px; }
  .cover-material figcaption { bottom:12px; right:16px; font-size:9px; }
  .fact-strip { grid-template-columns:1fr 1fr; gap:22px 0; padding-block:23px; }
  .fact-strip>div { padding-inline:20px; }
  .fact-strip>div:nth-child(3) { padding-left:0; border:0; }
  .fact-strip dt { font-size:10px; }
  .fact-strip dd { font-size:15px; }
  .fact-strip b { font-size:27px; }
  .learning-section,.curriculum-section,.map-section,.outcomes-section { padding:40px 0; }
  .section-head h2,.outcomes-section h2 { font-size:28px; }
  .section-head .section-aside { display:none; }
  .learning-gateways { grid-template-columns:1fr; gap:12px; }
  .learning-gateway { padding:19px 22px; }
  .learning-gateway h3 { margin-top:10px; font-size:24px; }
  .gateway-bottom { padding-top:14px; font-size:12px; }
  .curriculum-intro h2 { font-size:32px; }
  .curriculum-row { gap:12px; grid-template-columns:30px 1fr; padding:20px 0; }
  .curriculum-number { font-size:24px; }
  .curriculum-time { grid-column:2; padding:0; justify-content:space-between; }
  .curriculum-row h3 { font-size:19px; }
  .map-layout { grid-template-columns:1fr; }
  .map-copy h2 br { display:none; }
  .map-copy h2 { font-size:30px; }
  .map-stats { gap:40px; }
  .course-map-stage { padding:16px; }
  .outcomes-section .two-col { gap:32px; }
  .assessment-card { padding:24px; }
  .invitation-layout { flex-direction:column; align-items:flex-start; }
  .knowledge-invitation h2 { font-size:28px; }
  .invitation-action>span { text-align:left; }
  .page-head h1 { font-size:30px; }
  .info-table,.info-table tbody { display:block; }
  .info-table tr { display:grid; grid-template-columns:88px minmax(0,1fr); }
  .info-table th,.info-table td { display:block; padding:12px; overflow-wrap:anywhere; border-top:1px solid var(--rule); }
  .info-table tr:first-child th:nth-child(n+3),.info-table tr:first-child td:nth-child(n+3) { border-top:1px solid var(--rule); }
  .info-table { font-size:14px; }
  .info-table th { width:auto; white-space:normal; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none !important; animation:none !important; }
}
@media print {
  .assessment-layout { display:block; }
  .assessment-summary,.reading-panel { background:white; border:0; padding:16px 0; }
  .syllabus-navigation { display:none; }
  .course-cover,.course-facts,.curriculum-section,.outcomes-section { background:white; color:black; }
  .cover-material,.course-cover::after,.cover-breadcrumb,.cover-foot,.learning-section,.knowledge-invitation { display:none; }
  .cover-copy { max-width:none; padding:20px 0; }
  .cover-copy h1,.cover-english,.cover-description,.cover-kicker { color:black; }
  .curriculum-layout,.map-layout { display:block; }
  .curriculum-intro { position:static; }
  .curriculum-section,.map-section,.outcomes-section { padding:20px 0; }
  .curriculum-row { break-inside:avoid; }
}

/* Source provenance and courses sharing a syllabus. */
.learning-gateways{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.sibling-courses{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding-top:24px}
.sibling-courses>span,.source-download span{color:var(--muted);font-size:13px}
.source-download{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:22px}
.source-note{font-size:14px;line-height:1.8;color:#687591;border-left:2px solid #a2b2cd;padding:10px 16px;margin:0 0 24px;background:rgba(222,230,245,.32)}
.page-head .source-note{margin:22px 0 0;max-width:900px}

/* The homepage map is a learning space, with readable leaves and local details. */
.map-layout{display:block}
.map-home-heading{display:grid;grid-template-columns:1fr auto;gap:16px 36px;align-items:end;margin-bottom:30px}
.map-home-heading h2{font-size:36px;line-height:1.5;margin-top:12px}
.map-home-heading>p{font-size:14px;line-height:1.85;color:#61718d;max-width:820px}
.map-home-heading>span{font-size:13px;color:#61718d;white-space:nowrap}
.map-home-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;border-bottom:1px solid #d7e1f1;padding-bottom:18px}
.map-home-toolbar label{display:grid;gap:8px;flex:1;min-width:180px;font-size:12px;color:#61718d}
.map-home-toolbar select{width:100%;min-width:0;height:42px;padding:0 12px;border:1px solid #c5d2e7;border-radius:6px;background:#f9fbff;color:#273859;font:inherit;font-size:14px}
.map-home-tools{display:flex;gap:6px}
.map-home-tools button,.map-home-chips button{border:1px solid #cbd7e9;border-radius:6px;background:#f9fbff;color:#334b71;cursor:pointer;font:inherit}
.map-home-tools button{height:42px;min-width:42px;padding:0 12px}
.course-map-stage svg{display:block;aspect-ratio:1.12;height:auto;max-height:1080px;touch-action:pan-y}
.course-map-stage .kg-node{cursor:pointer}
.course-map-stage .kg-node:hover .dot,.course-map-stage .kg-node.selected .dot{stroke:#172748;stroke-width:3}
.course-map-stage .kg-concept-label{paint-order:stroke;stroke:#f7faff;stroke-width:3;stroke-linejoin:round}
.course-map-stage .kg-concept.selected .kg-concept-label{font-weight:700}
.map-home-detail{border-top:1px solid #d3dded;margin-top:22px;padding:26px 10px 6px;display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;min-height:170px}
.map-home-detail h3{font-size:24px;line-height:1.5;margin:10px 0;color:#243653}
.map-home-detail p{font-size:14px;line-height:1.85;color:#5b6d89}
.map-home-detail .eyebrow{font-size:11px;color:var(--accent)}
.map-home-detail .map-home-english{font-family:var(--font-mono);font-size:12px;overflow-wrap:anywhere}
.map-home-chips{display:flex;align-content:start;align-items:start;gap:8px;flex-wrap:wrap}
.map-home-chips button{padding:9px 13px;text-align:left;font-size:13px;line-height:1.6;max-width:100%}
.map-home-chips button:hover,.map-home-tools button:hover{background:#e8effa;border-color:#9cafcd}
.map-home-chips small{display:block;font-size:11px;color:#647692}
.map-home-group{margin-bottom:10px}.map-home-chips+.map-home-group{margin-top:18px}
.map-home-toolbar :focus-visible,.map-home-chips :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.map-home-toolbar :disabled{opacity:.5;cursor:wait}
@media(max-width:760px){
 .map-home-heading{grid-template-columns:1fr;gap:12px}.map-home-heading h2{font-size:28px}.map-home-heading>span{white-space:normal}
 .map-home-toolbar{gap:12px}.map-home-toolbar label{min-width:100%;flex-basis:100%}
 .course-map-stage svg{aspect-ratio:1}.map-home-detail{grid-template-columns:1fr;gap:20px;padding:22px 0 4px}
 .map-home-detail h3{font-size:22px}.map-home-chips button{font-size:14px}
}
.map-home-toolbar{position:sticky;top:var(--header-h);z-index:2;background:rgba(238,243,252,.97);padding:14px;border-radius:8px}
.map-home-heading .legend{grid-column:1/-1;font-size:12px}
