/* A reading-first workbook, with a compact course and progress rail. */
.sidebar{overflow-y:auto;padding-top:28px}.sidebar .brand-logo{margin-bottom:6px}.side-gauge{max-width:175px;margin:8px auto 22px;text-align:center;position:relative}.side-gauge svg{display:block;width:100%;height:auto}.side-gauge strong{font:700 1.2rem system-ui;display:block;margin-top:-8px}.side-gauge>span{font-size:.8rem;color:var(--muted);display:block;margin-top:5px}.course-label{font-size:.9rem;letter-spacing:0;line-height:1.4;margin:8px 0;text-align:center}.sidebar nav a{font-size:.92rem;padding:12px 10px}.sidebar nav a.teacher-nav{border-top:1px solid #ddcfc5;border-radius:0;margin-top:14px;padding-top:20px}.sidebar-bottom{margin-top:22px}.sidebar-bottom p{font-size:.75rem}.role-label{font-size:.8rem;line-height:1.4}.teacher-badge{background:#eee4f0;color:#51355e;border:1px solid #d2bcd8;padding:7px 11px;border-radius:8px;font-weight:700}#inbox-badge:empty{display:none}#inbox-badge{margin-left:auto;background:#93452f;color:white;border-radius:12px;padding:2px 6px;font-size:.75rem}
.heading{margin-bottom:28px}.heading h1{font-size:clamp(2.3rem,4vw,3.7rem)}.workbook-section{margin:35px 0 44px}.workbook-section-title{display:flex;align-items:center;gap:15px;padding:0 2px 15px;border-bottom:1px solid #dccfc7;margin-bottom:14px}.workbook-section-title>span{color:#a5613a;font-size:.85rem;font-weight:700}.workbook-section-title h2{font:1.6rem Georgia;margin:0}.workbook-section-title small{margin-left:auto;font-size:.8rem;color:var(--muted);white-space:nowrap}.article-list{display:grid;gap:12px}.article-row{display:grid;grid-template-columns:48px minmax(0,1fr) 125px;align-items:center;gap:22px;min-height:140px;padding:22px 26px;text-decoration:none;color:var(--ink);transition:transform .15s,border-color .15s;background:white;border:1px solid var(--line)}.article-row:hover{transform:translateX(3px);border-color:#ba7d58;box-shadow:0 6px 20px #653f3510}.article-row .number{font:1.25rem Georgia;color:#a66540}.article-row h3{font:1.45rem/1.3 Georgia;margin:0 0 8px}.article-row p{font-size:.95rem;line-height:1.55;margin:0;max-width:750px}.article-row-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.article-row-meta small{font-size:.8rem}.article-row-meta>span:last-child{font-size:1.4rem}.article-row .chip{font-size:.78rem;white-space:nowrap}
.selection-actions{position:sticky;top:8px;z-index:5;display:flex;align-items:center;gap:14px;background:#fff5e8;border:1px solid #e4bf9c;padding:10px 14px;border-radius:10px;margin-bottom:24px;box-shadow:0 4px 15px #47313b0c}.selection-actions .primary{padding:10px 17px;font-size:.9rem}.selection-actions>span{font-size:.85rem;color:#634b4e}mark{background:#ffdbb4}::selection{background:#ffe2bf}.reading-help{overflow:visible;max-height:none}.reading-help summary{font-size:.95rem;line-height:1.5}.reading-help .help-box{padding:14px}.reading-help .help-close{display:none}.reading-help.expanded{position:fixed;right:24px;top:92px;width:min(510px,calc(100vw - 40px));max-height:calc(100dvh - 120px);overflow-y:auto;z-index:60;padding:24px;background:#fffcf8;border:1px solid #d8b59e;border-radius:20px;box-shadow:0 18px 80px #33243f38;display:block}.reading-help.expanded .help-close{display:block;margin:0 0 16px auto}.reading-help.expanded .help-box{margin:10px 0}.reading-help.expanded p,.reading-help.expanded dd,.reading-help.expanded dt,.reading-help.expanded .small,.reading-help.expanded .source a{font-size:1rem;line-height:1.75}.reading-help.expanded summary{font-size:1.05rem}.reading-help.expanded .article-image img{max-height:300px}.reading-help.expanded .article-image figcaption{font-size:.85rem}.reading-help.expanded .help-kicker{display:none}
.video-section{margin:34px 0}.video-section>h2{font:1.6rem Georgia;margin-bottom:16px}.video-list{display:grid;gap:14px}.video-list .video-card{display:grid;grid-template-columns:185px minmax(0,1fr);background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;padding:0}.video-list .video-cover{min-height:180px;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;text-decoration:none;color:#443247;position:relative}.video-list .play-mark{position:static;transform:none;display:grid;place-items:center;background:#fff9;border-radius:50%;width:54px;height:54px;font-size:1.35rem}.video-list .video-topic{position:static;font-size:.85rem;text-align:center;padding:0 10px}.video-list .video-body{padding:20px 24px}.video-list h3{font-size:1.2rem;margin:8px 0}.video-list h3 a{text-decoration:none}.video-list p{font-size:.95rem;margin:10px 0}.video-list .watched{font-size:.9rem}
.alphabet{display:flex;gap:6px;flex-wrap:wrap}.alphabet button{min-width:34px;min-height:38px;padding:7px;border:1px solid #ddcfc6;border-radius:7px;background:white;color:#443247;font-size:.9rem}.alphabet button.active{background:#93452f;color:white}.glossary-entry h2{font-size:1.5rem}.leitner-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:1.1rem;cursor:pointer}.leitner-panel>summary>span{font-size:.9rem;font-weight:400}.leitner-panel .controls{margin-top:25px}.leitner-panel .box small{font-size:.8rem}#glossary-more{margin-top:20px}
.teacher-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.teacher-actions label{display:flex;align-items:center;gap:12px}.teacher-actions select{min-width:220px}.course-create{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#fff0df;padding:18px;border-radius:12px;margin-bottom:25px}.course-create input{width:220px}.course-create label{font-size:.9rem;font-weight:700}.student-course{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.student-course select{width:auto;max-width:100%}#account-create-panel{scroll-margin-top:24px;background:#fff8ef;padding:25px;border:1px solid #e5cdb8;border-radius:14px}#account-create-panel h2{font:1.5rem Georgia;margin-bottom:18px}#feedback-form label,#mail-reply label{display:block;margin:18px 0 8px;font-weight:700;font-size:.95rem}#feedback-text,#mail-text{min-height:180px}.mail-layout{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2fr);gap:28px}.mail-preview{display:block;text-decoration:none;color:var(--ink);border:1px solid #ded1c9;border-radius:12px;padding:18px;margin-bottom:12px;background:#fff}.mail-preview.unread{border-left:4px solid #b45e39;background:#fff0de}.mail-preview>span{display:flex;justify-content:space-between;gap:8px;font-size:.8rem;margin-bottom:10px}.mail-preview strong{font-size:1rem}.mail-preview p{font-size:.9rem;line-height:1.5;margin:8px 0}.mail-preview small{color:var(--muted);font-size:.8rem}#mail-thread{background:white;border:1px solid #e3d7ce;padding:26px;border-radius:15px;min-width:0}#mail-thread h2{font:1.6rem Georgia}.mail-message{margin:18px 28px 18px 0;background:#f5eee9;border-radius:13px;padding:18px}.mail-message.mine{margin:18px 0 18px 28px;background:#ffead0}.mail-message>div{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:.8rem}.mail-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.65;margin:10px 0 0}
.game-cards{gap:22px}.game-card.illustrated-game{padding:0;overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:var(--ink);min-height:0}.illustrated-game>img{width:100%;aspect-ratio:3/2;object-fit:cover}.illustrated-game>div{padding:24px;display:flex;flex-direction:column;flex:1}.illustrated-game h3{font:1.6rem Georgia;margin:12px 0}.illustrated-game p{margin:0 0 24px;line-height:1.65}.illustrated-game .primary{margin-top:auto;align-self:flex-start}.standalone-game:not(:empty){padding:0;border:0;background:transparent;box-shadow:none;margin-top:0}.game-home{overflow:hidden;border-radius:24px;background:#3b2941;color:#fff8ed;position:relative;min-height:570px}.game-home>img{width:100%;height:570px;object-fit:cover;display:block}.game-home-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:38px;background:linear-gradient(0deg,#291b36f5 0%,#291b3666 43%,transparent 70%)}.game-home h1{font:clamp(2.1rem,5vw,3.6rem) Georgia;margin:10px 0}.game-home .eyebrow{color:#ffca8f}.game-home p{max-width:650px;font-size:1rem;line-height:1.6}.game-home .secondary{background:#fff7ed;color:#443247;border-color:#fff7ed}.game-home .primary{background:#ffc17d;color:#443247;border-color:#ffc17d}.game-mode{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:.95rem}.game-mode input{width:20px;height:20px}.game-home .controls{margin-top:20px}
.tour-active .workspace{height:calc(100dvh - var(--tour-space,250px));overflow-y:auto;scroll-padding:24px}.tour-active .sidebar{z-index:1001;background:transparent;pointer-events:none}.tour-active .sidebar>.brand,.tour-active .side-gauge,.tour-active .course-label,.tour-active .sidebar-bottom{opacity:.35}.tour-active #nav a{opacity:.4}.tour-active #nav a.tour-tab-active{opacity:1;background:#fff2cf;color:#443247;outline:3px solid #ffca8b;box-shadow:0 0 0 6px #fff8e633}.tour-screen{pointer-events:none}.tour-card{pointer-events:auto;max-height:42dvh;padding:20px 25px}.tour-card .tour-kicker{float:right}.tour-card h2{font-size:1.4rem;margin:0 150px 8px 0}.tour-card p{margin-right:150px;font-size:.95rem;line-height:1.55}.tour-controls{justify-content:flex-start;gap:15px;margin-top:12px}.tour-card>.quiet{position:absolute;right:25px;bottom:25px}.rudi-tour{--rudi-size:48px}.tour-card .tour-kicker{gap:12px}.tour-focus{box-shadow:0 0 0 200vmax #3525369c}
@media(max-width:1100px){.mail-layout{grid-template-columns:1fr}.reading-help.expanded{top:30px;max-height:calc(100dvh - 60px)}.topbar{flex-wrap:wrap;height:auto;min-height:70px;padding-top:12px;padding-bottom:12px}.topbar>div{flex-wrap:wrap}.game-home,.game-home>img{min-height:520px;height:520px}}
@media(max-width:720px){.sidebar .brand-logo{margin:0;width:180px}.sidebar{padding:15px;position:relative}.side-gauge{position:absolute;right:18px;top:12px;width:82px;margin:0}.side-gauge strong{font-size:.85rem;margin-top:-3px}.side-gauge>span{font-size:.65rem}.sidebar nav{margin-top:26px}.sidebar nav a{font-size:.8rem}.course-label{text-align:left;margin:5px 100px 0 0}.sidebar nav a.teacher-nav{margin-top:0;padding-top:10px;border-top:0;border-left:1px solid #ddcfc5}.role-label{font-size:.7rem}.article-row{grid-template-columns:28px minmax(0,1fr);gap:12px;padding:18px;min-height:0}.article-row h3{font-size:1.25rem}.article-row p{font-size:.9rem}.article-row-meta{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.workbook-section-title{flex-wrap:wrap;gap:10px}.workbook-section-title h2{font-size:1.35rem}.video-list .video-card{grid-template-columns:100px minmax(0,1fr)}.video-list .video-cover{min-height:150px}.video-list .video-body{padding:15px}.video-list .video-topic{font-size:.75rem}.teacher-actions{align-items:stretch;flex-direction:column}.teacher-actions select{min-width:0}.course-create{align-items:stretch;flex-direction:column}.course-create input{width:100%}.selection-actions>span{font-size:.75rem}.selection-actions{gap:9px}.game-home-copy{padding:24px}.game-home h1{font-size:2.2rem}.game-home,.game-home>img{min-height:530px;height:530px}.game-home>img{object-position:60% center}.game-cards{grid-template-columns:1fr}.leitner-panel>summary{flex-direction:column;align-items:flex-start}.tour-card p{margin-right:0;font-size:.85rem}.tour-card h2{margin-right:95px;font-size:1.2rem}.tour-card .rudi-tour{display:none}.tour-card .tour-kicker .eyebrow{font-size:.65rem}.tour-card>.quiet{position:static;margin-top:5px}.tour-card{padding:16px}.tour-controls .primary,.tour-controls .secondary{font-size:.8rem;padding:9px 12px}.tour-active .sidebar{position:relative}.tour-active .workspace{height:calc(100dvh - var(--tour-space,250px) - 180px);min-height:150px}.mail-message,.mail-message.mine{margin:14px 0}.mail-message{padding:14px}}

.lab-lock{display:flex;align-items:center;gap:24px;padding:24px;background:#fff0dc;border:1px solid #e6c4a4;border-radius:18px;margin-bottom:28px}.lab-lock h2{font:1.6rem Georgia;margin:0 0 10px}.lab-lock p{font-size:1rem;line-height:1.6}.lab-lock .secondary{display:inline-block}.game-locked{cursor:default}.game-locked>img{opacity:.8}.locked-label{font-size:.85rem;font-weight:700;color:#775751;margin-top:auto;padding-top:12px}

/* Teacher preparation and the main time-travel adventure. */
.teacher-context{padding:16px 20px;border-left:4px solid #916494;background:#f1e9f4;border-radius:8px;font-size:.95rem;line-height:1.65;margin-bottom:24px}
.game-card.featured-game{display:grid;grid-template-columns:1.18fr 1fr;background:#433048;color:#fff8ee;border:1px solid #73506f;border-radius:22px;margin-bottom:26px;box-shadow:0 14px 36px #5131491c}
.featured-game>img{height:100%;min-height:350px;aspect-ratio:3/2;object-fit:cover}
.featured-game>div{padding:34px;justify-content:center}.featured-game .eyebrow{color:#ffce92}.featured-game h3{font-size:clamp(2.5rem,4vw,3.5rem);margin:14px 0}.featured-game p{font-size:1rem;line-height:1.7;margin-bottom:20px}.featured-game .primary{background:#ffc17d;color:#422d43;border-color:#ffc17d;margin-top:24px}.featured-game .locked-label{color:#ffe1bd}.adventure-facts{color:#ffe1bd;font-size:.9rem;line-height:1.6}.companion-games{grid-template-columns:repeat(2,minmax(0,1fr))}.companion-games .illustrated-game>img{aspect-ratio:2.2/1}
.leitner-panel{margin-top:36px;border:2px solid #d9995b;border-radius:20px;background:#ffe6c4;padding:0;box-shadow:0 8px 26px #8445210b;overflow:hidden}.leitner-panel>summary{padding:28px 30px;min-height:160px;gap:30px}.leitner-intro{display:flex;flex-direction:column;gap:10px;max-width:600px}.leitner-intro strong{font:1.9rem/1.2 Georgia}.leitner-intro>span:last-child{font-size:1rem;line-height:1.65}.leitner-call{display:flex;flex-direction:column;gap:14px;align-items:flex-end;flex-shrink:0}.leitner-call b{font-size:.95rem}.leitner-open,.leitner-close{font-size:.95rem;font-weight:700;background:#93452f;color:#fff9ee;border-radius:9px;padding:12px 17px}.leitner-close{display:none}.leitner-panel[open] .leitner-open{display:none}.leitner-panel[open] .leitner-close{display:block}.leitner-panel[open]{padding:0 28px 28px;background:#fff5e7}.leitner-panel[open]>summary{margin:0 -28px 20px;background:#ffe6c4;border-bottom:1px solid #e7bd8d}
@media(max-width:900px){.game-card.featured-game{grid-template-columns:1fr}.featured-game>img{min-height:0;max-height:360px}.featured-game>div{padding:26px}.leitner-panel>summary{align-items:flex-start;flex-direction:column;padding:24px;gap:22px}.leitner-call{align-items:flex-start;flex-direction:row;align-items:center;flex-wrap:wrap}.leitner-intro strong{font-size:1.6rem}}
@media(max-width:620px){.companion-games{grid-template-columns:1fr}.featured-game h3{font-size:2.4rem}}

.tour-screen{pointer-events:auto}.video-list .video-card{min-height:0}.revision p{white-space:pre-wrap;overflow-wrap:anywhere}

#print-surface{display:none}@media print{body.report-printing>#app-shell,body.report-printing>#auth-gate{display:none!important}body.report-printing>#print-surface{display:block!important;padding:0;font:11pt/1.6 Arial;color:#222}#print-surface h2{font-size:16pt;break-after:avoid;margin:22pt 0 10pt}#print-surface p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12pt}@page{size:A4;margin:18mm}}
