.classroom-workspace{max-width:920px;margin:22px auto;padding:22px;border:1px solid #567043;border-radius:16px;background:linear-gradient(125deg,#13271b,#151711);color:#f5f1dc;font:16px/1.6 Georgia,serif}
.classroom-intro>div{font-size:26px;color:#ffe800}.classroom-intro p{margin:6px 0 18px}
.classroom-workspace details{margin:12px 0;border:1px solid #5e6849;border-radius:10px;padding:14px;background:#111b13}
.classroom-workspace summary,.viewing-guide summary{cursor:pointer;color:#ffe800;font-weight:bold;font-size:18px;padding:4px}
.classroom-note{font:14px/1.6 Georgia,serif!important;color:#d9ddcc!important;margin:10px 0!important}.classroom-status{font-size:15px;color:#d2ff9e;margin:10px 0}
.collection-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.collection-actions select{flex:1;min-width:180px}
.classroom-button,.collection-item-actions button{border:1px solid #ffe800;background:#ffe800;color:#111;border-radius:7px;padding:10px 13px;cursor:pointer;font:700 14px/1.4 Georgia,serif;min-height:44px}
.classroom-button:disabled,.collection-item-actions button:disabled{opacity:.4;cursor:default}
.classroom-workspace input,.classroom-workspace select,.classroom-workspace textarea,.moment-collector select{max-width:100%;box-sizing:border-box;background:#fff8e8;color:#201b12;border:1px solid #97a47a;padding:10px;border-radius:6px;font:16px/1.5 Georgia,serif;min-height:44px}
.collection-editor{display:grid;grid-template-columns:2fr 1fr;gap:12px}.classroom-label{display:flex;flex-direction:column;gap:5px;color:#f7eebd;font-size:14px}.classroom-label:has(textarea){grid-column:1/-1}
.collection-editor>.classroom-button{justify-self:start}.collection-list{padding-left:26px}.collection-list li{padding:12px 0;border-bottom:1px solid #4c5940}
.collection-open{background:transparent;color:#f7f0bd;text-decoration:underline;text-underline-offset:3px;border:0;padding:4px;text-align:left;cursor:pointer;font:700 16px/1.5 Georgia,serif;min-height:44px}
.collection-item-actions{display:flex;gap:8px;margin-top:7px}.collection-item-actions button{padding:7px 12px;font-size:13px}
.collection-share{padding:16px;border:1px solid #a6bc69;border-radius:10px}.collection-share textarea{width:100%;overflow-wrap:anywhere}.collection-share h3{color:#ffe800}
.token-era-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.era-token{padding:12px;border:1px solid #4a6440;border-radius:9px;background:#1d2316;display:flex;flex-direction:column;gap:5px;font-size:13px}.era-token strong{color:#f2e8bb}.token-coin{display:grid;place-items:center;width:42px;height:42px;border:2px solid #a3a65a;border-radius:50%;color:#eee5ab;font:bold 11px Georgia,serif;background:#393015}.era-token.complete{border-color:#a1ff42}.era-token.complete .token-coin{background:#affe3c;color:#111;border-color:#ffe800;font-size:21px}
.shared-collection{border:2px solid #92b75f;border-radius:10px;padding:18px;margin-bottom:18px}.shared-collection h3{color:#ffe800;font-size:22px}
.moment-classroom{margin:24px 0;color:#eee}.moment-collector,.moment-self-check{border:1px solid #63744d;border-radius:12px;padding:18px;margin:18px 0;background:#132018}
#modal .moment-classroom h4{color:#ffe800;font-size:17px;letter-spacing:0;text-transform:none}.viewing-guide{padding:14px;margin:16px 0;border:1px solid #8b8350;border-radius:9px;background:#242111}.viewing-guide p{font:14px/1.6 Georgia,serif!important;color:#f2edda!important}
.check-question{min-width:0;border:1px solid #556946;padding:16px;border-radius:9px;margin:18px 0}.check-question legend{font:700 16px/1.5 Georgia,serif;color:#fff8d1;padding:0 8px;max-width:100%;box-sizing:border-box}
.check-options{display:grid;gap:9px}.check-option{width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:12px;border:1px solid #9aaf7b;border-radius:8px;background:#fff7df;color:#1d2417;cursor:pointer;font:16px/1.5 Georgia,serif;min-height:44px}.check-option:disabled{cursor:default}.check-option.answer-retry{background:#493c30;color:#fff0d7;border-color:#ddac7c}.check-option.answer-correct{background:#b8f666;color:#142309;border:2px solid #dcff8d}
#modal .check-feedback{font:14px/1.6 Georgia,serif!important;color:#ffdfa7!important;margin:12px 0 0}#modal .check-feedback.correct{color:#d5ffac!important}
.classroom-workspace :focus-visible,.moment-classroom :focus-visible,.viewing-guide :focus-visible{outline:3px solid #b5ff50;outline-offset:3px}
.timeline-print-plan{display:none}
@media(max-width:650px){.classroom-workspace{margin:18px 12px;padding:16px}.collection-editor{grid-template-columns:1fr}.token-era-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.classroom-intro>div{font-size:23px}.moment-collector,.moment-self-check{padding:12px}.collection-actions{align-items:stretch}.collection-actions select{width:100%;min-width:0}.check-question{padding:12px}.check-option{font-size:15px}}
@media print{body.printing-timeline-plan>*{display:none!important}body.printing-timeline-plan>.timeline-print-plan{display:block!important;color:#000!important;background:#fff!important;font:12pt/1.5 Georgia,serif;padding:12mm}body.printing-timeline-plan .timeline-print-plan *{color:#000!important;background:transparent!important;text-shadow:none!important}body.printing-timeline-plan .timeline-print-plan li{break-inside:avoid;margin:16pt 0}body.printing-timeline-plan .timeline-print-plan h1{font-size:21pt}body.printing-timeline-plan .timeline-print-plan h2{font-size:16pt}}

/* Compact introduction: the historical story begins immediately below it. */
header.hero{min-height:0!important;height:auto!important;padding:20px 20px 28px!important}
header.hero .hero-inner{width:100%;max-width:1140px;margin-inline:auto;text-align:center}
header.hero h1{font-size:clamp(44px,7.5vw,96px)!important;line-height:.98;margin:16px 0!important;width:100%;text-align:center}
header.hero h1 span{margin-bottom:.08em}
header.hero p{font-size:16px!important;line-height:1.5;margin:0 auto 14px!important;max-width:1140px}
header.hero .guide{width:100%;margin:24px auto 0!important;max-width:1140px;gap:20px;grid-template-columns:repeat(4,minmax(0,255px));justify-content:space-between}
header.hero .guide-card{padding:11px 12px;border-radius:10px}
header.hero .guide-card span{font-size:12px;line-height:1.4;margin-top:5px}
main.timeline>#deep{padding-top:30px!important}
#deep .era-head{margin-bottom:24px}
.timeline-era-links .era-link,.timeline-journey-toggle{font-size:11px!important;padding:8px 8px!important;letter-spacing:.035em!important}
.timeline-journey-toggle{flex:0 0 auto;border:0;background:transparent;color:#d5d5d5;font-family:Arial,sans-serif;text-transform:uppercase;border-radius:999px;cursor:pointer;white-space:nowrap;min-height:34px}
.timeline-journey-toggle:hover,.timeline-journey-toggle[aria-expanded=true]{background:#ffe800;color:#000}
.timeline-journey-toggle:focus-visible{outline:2px solid #ffe800;outline-offset:-2px}
#timelineJourney{position:fixed;left:50%;transform:translateX(-50%);z-index:2147479500;width:min(920px,calc(100% - 24px));max-height:calc(100dvh - var(--etp-header-height,74px) - var(--etp-page-nav-height,43px) - 82px);overflow-y:auto;overscroll-behavior:contain;margin:0;box-sizing:border-box;padding:24px;background:#101b13;box-shadow:0 18px 45px #000b;scrollbar-width:thin}
#timelineJourney[hidden]{display:none!important}
#timelineJourney .classroom-intro{padding-right:42px}
#timelineJourney .classroom-intro>div{font-size:23px}
#timelineJourney .journey-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:0;border-radius:50%;background:#ffe800;color:#111;font:25px/1 Georgia,serif;cursor:pointer}
@media(max-width:760px){header.hero{padding:22px 14px 20px!important}header.hero h1{font-size:clamp(26px,7vw,38px)!important}header.hero .eyebrow{font-size:10px;letter-spacing:.11em}header.hero .guide{grid-template-columns:repeat(2,minmax(0,1fr))!important}header.hero .guide-card{padding:9px 10px}header.hero p{font-size:14px!important}.timeline-era-links .timeline-journey-toggle{white-space:normal;min-height:44px;text-align:left;font:700 12px Georgia,serif!important;padding:9px!important;grid-column:1/-1}#timelineJourney{padding:18px;width:calc(100% - 20px)}#timelineJourney .classroom-intro>div{font-size:20px}main.timeline>#deep{padding-top:24px!important}}

/* Four informational guide cards retain their lift, with the old key's color energy. */
header.hero .guide-card{position:relative;isolation:isolate;overflow:hidden;border-color:var(--guide-edge);background:var(--guide-fill);box-shadow:inset 0 1px 0 #ffffff18;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
header.hero .guide-card:nth-child(1){--guide-fill:linear-gradient(135deg,#0b192d,#030910);--guide-edge:#29476a}
header.hero .guide-card:nth-child(2){--guide-fill:linear-gradient(135deg,#0c2415,#030c07);--guide-edge:#2d593b}
header.hero .guide-card:nth-child(3){--guide-fill:linear-gradient(135deg,#2b0e15,#0f0408);--guide-edge:#63303b}
header.hero .guide-card:nth-child(4){--guide-fill:linear-gradient(135deg,#30230c,#100b03);--guide-edge:#715925}
header.hero .guide-card strong{color:#fff1aa}header.hero .guide-card span{color:#f5f1e4}
header.hero .guide-card::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,transparent 15%,#ffffff08 30%,#ffffff70 49%,#ffffff0a 67%,transparent 83%);transform:translateX(-150%);transition:transform .65s ease}
header.hero .guide-card:hover{transform:translateY(-5px) scale(1.025);border-color:#fff;box-shadow:0 0 0 1px #ffffffb3,0 0 22px #ffffff75,0 12px 26px #0008;background:var(--guide-fill)}
header.hero .guide-card:hover::before{transform:translateX(150%)}
@media(prefers-reduced-motion:reduce){header.hero .guide-card,header.hero .guide-card::before{transition:none}header.hero .guide-card:hover{transform:none}header.hero .guide-card::before{display:none}}

@media(min-width:1100px){header.hero .hero-inner>p{white-space:nowrap}}

/* Full-width oval guide pills echo the retired category key. */
header.hero .guide-card{border-radius:999px;padding:12px 18px;min-height:86px;display:flex;flex-direction:column;justify-content:center}
header.hero .guide-card strong{display:flex;align-items:center;gap:9px}
header.hero .guide-card .guide-dot{display:inline-block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--guide-dot);box-shadow:0 0 12px var(--guide-dot)}
header.hero .guide-card:nth-child(1){--guide-dot:#67b8ff}header.hero .guide-card:nth-child(2){--guide-dot:#78ed97}header.hero .guide-card:nth-child(3){--guide-dot:#ff7c89}header.hero .guide-card:nth-child(4){--guide-dot:#ffd55d}
@media(max-width:1000px){header.hero .guide{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px}header.hero .guide-card{padding:12px 18px;min-height:86px}}
@media(max-width:480px){header.hero .guide{grid-template-columns:1fr!important}header.hero .guide-card{min-height:80px;padding:12px 22px}}

header.hero h1 .timeline-title-line{white-space:nowrap;margin-bottom:0}
@media(min-width:761px){header.hero h1 .timeline-title-line{letter-spacing:-.015em}}

header.hero h1 .timeline-title-line{display:block;width:max-content;max-width:100%;margin-inline:auto}

/* Optical alignment of the heading stack; guide and event edges stay fixed. */
@media(min-width:761px){header.hero .hero-inner>.site-label,header.hero .hero-inner>.eyebrow,header.hero .hero-inner>h1,header.hero .hero-inner>p{transform:translateX(clamp(-24px,-1.8vw,-12px))}}
