/* css/experience.css */
/* V5: reading first, quieter navigation, warm wooden shelves. */
a{text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #f2c14e;outline-offset:4px}
.student-nav{display:flex;gap:4px;align-items:center}.student-nav .current{color:#f7d879;background:rgba(242,193,78,.1);border-radius:9px}
.ap-bar.dark .signout{font-size:12px;opacity:.72}.ap-bar .pts-badge{white-space:nowrap}
.lounge-page .h-kick{color:#d9b66a;font-size:11px;letter-spacing:.16em}
.home-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0 24px}.home-heading h1{margin-top:6px;font-size:32px;letter-spacing:-.04em}.home-heading .lz-btn{white-space:nowrap;padding:11px 18px}
.experience-home{background:radial-gradient(ellipse at 10% 0,#30251b 0,transparent 48%),#140f0c}
.experience-home .wrap,.library-page .wrap,.journey-page .wrap{max-width:1280px;padding-top:26px}
.welcome-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);gap:26px;align-items:center;margin-bottom:24px}
.welcome-grid>div{min-width:0}.journey-link{display:flex;justify-content:space-between;font-size:12px;color:#ccbea5;padding:10px 2px 0}.journey-link:hover{color:#f2c14e}
.continue-card{display:flex;gap:20px;align-items:center;padding:18px 20px;background:linear-gradient(120deg,#27372b,#1c241d);border:1px solid #546046;border-radius:18px;min-width:0}
.continue-card img{width:86px;height:113px;object-fit:cover;border-radius:4px;box-shadow:6px 8px 16px #0005;transform:rotate(-4deg);flex:none}
.continue-card h2{font-size:22px;margin:5px 0 8px;letter-spacing:-.02em}.continue-card p{font-size:13px;color:#ccd1be;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.continue-card .btn{font-size:13px;padding:10px 15px;border-radius:10px}.text-link{color:#d9c79f;font-size:13px;text-decoration:underline;text-underline-offset:4px}.continue-card .text-link{display:inline-block;margin:10px 0 0 8px;font-size:12px}
.room-and-goal{display:grid;grid-template-columns:minmax(0,3fr) minmax(210px,.85fr);gap:22px;align-items:stretch;margin-bottom:28px}.room-and-goal .scene{align-self:start;border-radius:18px;border:1px solid #55402a}
.home-goals{padding:20px;background:#221b14;border:1px solid #463928;border-radius:18px;display:flex;flex-direction:column;align-items:start;min-width:0}
.goal-preview{background:none;border:0;color:#f4e8d0;padding:0;width:100%;text-align:center}.goal-preview svg{width:100%;height:148px;display:block;margin:2px auto}.goal-preview b{font-size:18px;display:block;margin-bottom:10px}.home-goals .rar{align-self:center}.home-goals p{font-size:12px;color:#cbbda5;margin:12px 0 3px}.home-goals .xpbar{width:100%;height:6px}.home-goals small{font-size:11px;color:#bfae92}.home-goals>.text-link{margin-top:12px;font-size:11px}
.home-near{width:100%;border-top:1px solid #493b2a;margin-top:18px;padding-top:14px;font-size:12px}.home-near>b{display:block;margin-bottom:8px;color:#e9d9b6}.home-near a{display:flex;justify-content:space-between;color:#cbbda5;font-size:11px;gap:6px;line-height:1.8}.home-near small{white-space:nowrap}
.collection-tabs{display:flex;gap:4px;border-bottom:1px solid #57442f;flex-wrap:wrap;margin:0 0 24px;max-width:100%}.collection-tabs a{color:#cab99b;font-size:14px;padding:12px 16px;border-bottom:3px solid transparent;white-space:nowrap}.collection-tabs a.on{color:#f6d47a;border-bottom-color:#f2c14e}.lz-top .collection-tabs{margin:0;flex:1}
.ed .ed-prev{top:90px}.ed-opts>.slots{position:sticky;top:72px;z-index:2;background:#140d09;padding:10px 0;margin-top:0}.ed-opts .grid{margin-top:14px}.ed .grid.sm{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.ed.look .ed-prev .stage{max-height:460px}.ed .tile{border-width:1px;border-radius:12px}
.item-peek{border:0;background:none;padding:0;width:100%;border-radius:10px}.item-peek:hover{background:#f2c14e0d}.item-peek svg{pointer-events:none}

/* The cover art sits on one continuous wooden ledge. Text stays below the ledge. */
.library-page{background:radial-gradient(ellipse at 70% 0,#3b2f21 0,transparent 42%),#17120e}
.library-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:20px 0 28px}.library-heading h1{font-family:Georgia,serif;font-size:44px;letter-spacing:-.04em;margin-top:8px;color:#faf0da}.library-heading p{font-size:15px;color:#c9bda7;margin:12px 0 0}.library-heading>button{white-space:nowrap;align-self:flex-end}.library-heading>button:disabled{opacity:.4;cursor:default}
.library-tools{display:flex;gap:16px;align-items:center;margin-bottom:20px}.search-books{display:flex;align-items:center;gap:12px;flex:1;background:#fff5e908;border:1px solid #63533f;border-radius:12px;padding:0 16px;color:#d8c099}.search-books span{font-size:27px}.search-books input{min-width:0;width:100%;padding:14px 0;background:transparent;border:0;color:#f4e8d0;font-size:14px;outline-offset:7px}.search-books input::placeholder{color:#b5a78f}.genre-select{display:flex;align-items:center;gap:12px;font-size:12px;color:#baa990}.genre-select select{padding:13px 35px 13px 13px;border:1px solid #63533f;background:#251e16;color:#f2e6cf;border-radius:12px;font:inherit;font-size:14px;max-width:210px}
.library-tabs{display:flex;gap:7px;flex-wrap:wrap}.library-tabs button{background:transparent;color:#c7b99d;border:1px solid transparent;border-radius:8px;padding:9px 14px;font-size:13px}.library-tabs button.on{background:#f2c14e;color:#29200f;font-weight:800}.library-tabs button:hover:not(.on){background:#ffffff0a;border-color:#68543a}.library-count{font-size:12px;color:#b5a78f;margin:16px 0 0;min-height:16px}
.reading-shelf{--book-w:174px;--book-h:226px;margin:30px 0 34px;min-width:0}
.shelf-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.shelf-heading h2{font-size:23px;letter-spacing:-.025em;color:#f7ecd6}.shelf-heading h2 small{font-family:ui-sans-serif,system-ui;font-size:12px;color:#b9a47d;vertical-align:middle;margin-left:7px;font-weight:600}.shelf-heading p{color:#b5a78f;font-size:12px;margin:6px 0 0}.shelf-arrows{display:flex;gap:7px}.shelf-arrows button{height:34px;width:37px;border:1px solid #6a5438;color:#efdcb3;background:#342719;border-radius:8px;font-size:18px}.shelf-arrows button:disabled{opacity:.27;cursor:default}
.wood-shelf{display:flex;gap:28px;overflow-x:auto;padding:24px 22px 12px;scroll-padding-inline:22px;scroll-snap-type:x proximity;border-radius:7px 7px 0 0;scrollbar-color:#8a6a42 #21180f;scrollbar-width:thin;background:linear-gradient(to bottom,transparent 0,transparent calc(var(--book-h) + 24px),#b88b51 calc(var(--book-h) + 24px),#87603b calc(var(--book-h) + 27px),#604329 calc(var(--book-h) + 42px),#2b1d11 calc(var(--book-h) + 46px),#17120e calc(var(--book-h) + 50px)),repeating-linear-gradient(90deg,transparent 0,transparent 203px,#0d080630 204px,#f2cc8a08 205px,transparent 206px),linear-gradient(180deg,#20150d,#5c4226 32%,#362416 68%);box-shadow:inset 0 4px 12px #0007,inset 0 1px #957140}
.shelf-book{width:var(--book-w);flex:none;min-width:0;scroll-snap-align:start;position:relative}.book-jacket{position:relative;display:block;height:var(--book-h);width:var(--book-w);background:linear-gradient(130deg,#385c52,#172d29);color:#f4e9cd;border:0;border-radius:3px 7px 6px 3px;padding:0;box-shadow:-5px 7px 12px #0009,2px 0 #e1d0b6,4px 1px #f6e8c8;isolation:isolate;transition:transform .18s ease,box-shadow .18s ease}.book-jacket:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,#ffffff12,transparent 3%,#0004 4%,transparent 6%,transparent 96%,#fff2);pointer-events:none}.book-jacket:hover{transform:translateY(-7px) rotate(-1deg);box-shadow:-6px 13px 20px #0009,2px 0 #e1d0b6,4px 1px #f6e8c8}.book-jacket img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;z-index:1}.book-jacket img[hidden]{display:none}.cover-fallback{display:block;font:700 24px/1.2 Georgia,serif;padding:26px 14px;text-align:left;overflow-wrap:anywhere}
.book-name{display:block;min-height:45px;width:100%;margin-top:35px;background:transparent;border:0;padding:0;color:#f4e5cb;font:700 14px/1.35 ui-sans-serif,system-ui;text-align:left}.book-name:hover{color:#f5d276}.book-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 0 4px;min-height:30px}.book-state{font-size:11px;color:#b5a78f}.book-state.done{color:#b7d9aa}.book-state.continue{color:#f4ce6c}.save-book{border:0;background:transparent;color:#b9a379;font-size:23px;padding:2px 6px;line-height:1;min-height:32px;min-width:32px;border-radius:7px}.save-book.saved{color:#f2c14e}.save-book:hover{background:#ffffff0c}.member-preview .book-state{color:#c5b49c}
.library-empty{text-align:center;padding:65px 20px;border:1px dashed #685037;border-radius:18px;margin:28px 0}.library-empty>span{color:#c9a25f;font-size:46px}.library-empty h2{margin:14px 0}.library-empty p{color:#c4b59b;font-size:14px;margin-bottom:24px}

/* Native dialogs give previews focus trapping, Escape-to-close and an inert background. */
.orthos-dialog{width:min(820px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;background:#211910;color:#f3e5c9;border:1px solid #8a6c42;border-radius:22px;padding:40px;box-shadow:0 28px 100px #000b}.orthos-dialog::backdrop{background:#070b0bd9;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:13px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:#ffffff10;color:#e9dac0;font-size:26px;z-index:3}.orthos-dialog .h-kick{color:#d9b66a;font-size:11px}.orthos-dialog h2{font-size:32px;letter-spacing:-.03em;margin:10px 0 16px}.orthos-dialog p{color:#d1c1a3;font-size:15px}.story-peek,.reward-peek{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:32px;align-items:center}.peek-cover img{width:100%;border-radius:7px;box-shadow:7px 10px 22px #0008}.version-note{padding:16px 0;border-top:1px solid #5b482e;border-bottom:1px solid #5b482e;margin:20px 0}.version-note b,.version-note span{display:block}.version-note b{font-size:14px;margin-bottom:5px}.version-note span{font-size:12px;color:#bdac90;line-height:1.5}.peek-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.peek-actions .btn,.peek-actions .lz-btn{font-size:13px;padding:11px 15px}.reward-art{background:radial-gradient(ellipse,#5a422a,#221910 70%);border-radius:18px;min-width:0}.reward-art svg{width:100%;height:260px;display:block}.reward-peek.banner,.reward-peek.theme{grid-template-columns:1fr}.reward-peek.banner .reward-art svg{height:auto;aspect-ratio:4/1}.reward-peek.theme .reward-art svg{height:auto;aspect-ratio:16/9}.reward-peek small{color:#c8b692;font-size:12px}.orthos-dialog .preview-note{font-size:11px;color:#bba88a;margin-bottom:0}.reward-goal{margin-top:24px;padding:18px;border:1px solid #655131;border-radius:14px;color:#decba7;text-align:left}.reward-goal small{font-size:12px}
.journey-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:linear-gradient(110deg,#244336,#1d251d);border:1px solid #536543;border-radius:18px;padding:28px;margin:28px 0 16px}.journey-summary>div{display:flex;flex-direction:column;gap:8px}.journey-summary strong{font-size:38px;color:#f4d38c}.journey-summary span{font-size:13px;color:#cccfb9}.journey-note{max-width:720px;color:#c8b99d;font-size:14px;line-height:1.65;margin:16px 0 30px}.milestone-heading{font-size:24px;margin:35px 0 20px}.milestone-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.milestone{border:1px solid #63492e;border-radius:16px;padding:14px;display:flex;flex-direction:column;align-items:center;gap:9px;color:#e9dac1;background:radial-gradient(ellipse at 50% 40%,#3f2e20,#211810);min-width:0}.milestone .still{width:100%}.milestone svg{width:100%;height:155px;display:block}.milestone.earned{border-color:#5b7751}.milestone-level{align-self:flex-start;font-size:11px;letter-spacing:.06em;color:#e5c181;font-weight:800}.milestone b{font-size:15px}
@media(min-width:1100px){.library-page .wrap{padding-inline:36px}.reading-shelf{margin-top:36px}}
@media(max-width:950px){.room-and-goal{grid-template-columns:minmax(0,1fr) 200px;gap:16px}.home-goals{padding:16px}.goal-preview svg{height:110px}.home-near{display:none}.welcome-grid{gap:16px}.continue-card{padding:16px;gap:14px}.continue-card img{width:65px;height:86px}.continue-card .text-link{margin-left:0}.reading-shelf{--book-w:156px;--book-h:203px}.library-heading h1{font-size:38px}}
@media(max-width:720px){.ap-bar{gap:8px}.ap-brand{font-size:13px}.student-nav{order:3;width:100%;justify-content:center;border-top:1px solid #ffffff0d;padding-top:5px}.student-nav .ap-link{flex:1;text-align:center;font-size:12px;padding:9px 8px}.ap-bar .ap-sp{display:none}.ap-bar .pts-badge{margin-left:auto;font-size:11px;padding:5px 9px}.ap-bar .pts-badge i{width:13px;height:13px}.ap-bar.dark .signout{font-size:11px}.home-heading{margin:5px 0 18px}.home-heading h1{font-size:28px}.welcome-grid{grid-template-columns:1fr}.calling-card{max-width:none}.continue-card img{width:65px;height:85px}.continue-card .text-link{margin-left:9px}.room-and-goal{grid-template-columns:1fr}.home-goals{display:grid;grid-template-columns:90px 1fr;column-gap:14px;align-items:center}.home-goals>.h-kick{grid-column:2}.home-goals .goal-preview{grid-row:1/7;grid-column:1}.goal-preview svg{height:95px}.goal-preview b{font-size:11px;line-height:1.3}.home-goals>.rar{justify-self:start;align-self:start}.home-goals p{margin:3px 0}.home-goals>.text-link{margin-top:4px}.room-and-goal .scene{box-shadow:none}.library-heading{align-items:start;margin:8px 0 24px;gap:12px}.library-heading h1{font-size:33px}.library-heading p{font-size:13px}.library-heading>button{align-self:center;font-size:11px;padding:9px;white-space:normal}.library-tools{flex-direction:column;align-items:stretch;gap:10px}.genre-select{justify-content:space-between}.genre-select select{max-width:none;flex:1}.library-tabs{gap:3px}.library-tabs button{font-size:11px;padding:9px 10px}.shelf-heading h2{font-size:20px}.shelf-heading p{font-size:11px}.wood-shelf{gap:22px;padding-inline:18px}.reading-shelf{--book-w:144px;--book-h:187px}.book-name{font-size:13px}.shelf-arrows{gap:5px}.shelf-arrows button{width:30px;height:30px}.story-peek,.reward-peek{grid-template-columns:1fr;gap:20px}.peek-cover{max-width:145px;margin:auto}.orthos-dialog{padding:38px 23px 26px}.orthos-dialog h2{font-size:27px}.orthos-dialog p{font-size:14px}.reward-art svg{height:200px}.collection-tabs{gap:0}.collection-tabs a{font-size:12px;padding:11px 10px}.ed-opts>.slots{position:static}.ed .ed-prev{top:115px}.journey-summary{padding:20px 15px;gap:10px}.journey-summary strong{font-size:29px}.journey-summary span{font-size:11px}.milestone-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.milestone svg{height:125px}.milestone b{font-size:13px}}
@media(max-width:720px){.student-nav{width:calc(100% - 62px);flex:none}.ap-bar .signout{order:4;padding:8px 0}.lz-top>.sp{display:none}.lz-top .collection-tabs{flex-wrap:nowrap}.lz-top .collection-tabs a{padding-inline:9px}.lz-top .savest:empty{display:none}}
@media(prefers-reduced-motion:reduce){.book-jacket{transition:none}.book-jacket:hover{transform:none}.orthos-dialog *{animation:none!important;transition:none!important}.wood-shelf{scroll-behavior:auto}}

/* v103: NEW! sash on stories just added to the library (top-right corner, clear of the cover title) */
.new-sash{position:absolute;top:0;right:0;width:92px;height:92px;overflow:hidden;z-index:4;pointer-events:none;border-top-right-radius:7px}.new-sash span{position:absolute;top:17px;right:-34px;width:132px;transform:rotate(45deg);background:linear-gradient(180deg,#ef5a43,#c22d22);color:#fff;font:900 13px/1 system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:.14em;text-align:center;padding:6px 0 6px .14em;border-top:1px solid #ffb19f;border-bottom:1px solid #7e1710;box-shadow:0 3px 8px #0008;text-shadow:0 1px 0 #0007}#shelf-new-title{color:#ffcf6e}.shelf-book.member-preview .book-jacket:has(.new-sash)::after{top:auto;bottom:8px}
/* css/reading-classroom.css */
/* v6: personal reading spaces and a focused teacher workspace. */
.reading-space{--paper:#fffaf0;--ink:#29251f;--muted:#6c6559;--page-size:21px;--page-leading:1.65;--page-font:Georgia,'Times New Roman',serif;position:relative;isolation:isolate;min-height:calc(100vh - 70px);padding-bottom:36px;background:#eee8d9}
.reading-space[data-paper=white]{--paper:#fff;--ink:#202b30;--muted:#54616a;background:#eef1f3}
.reading-space[data-paper=night]{--paper:#202a32;--ink:#eff0e9;--muted:#b3c4c8;background:#121c24;color:#f4f1e7}
.reading-space[data-font=clear]{--page-font:Arial,Helvetica,sans-serif}.reading-space[data-font=rounded]{--page-font:'Trebuchet MS',Verdana,sans-serif}
.reading-space[data-size=small]{--page-size:18px}.reading-space[data-size=large]{--page-size:25px}.reading-space[data-size=largest]{--page-size:29px}
.reading-space[data-spacing=compact]{--page-leading:1.4}.reading-space[data-spacing=open]{--page-leading:1.9}
.reading-wrap{position:relative;z-index:1;max-width:1180px}.reading-space .rd-top{flex-wrap:wrap;gap:12px}.reading-space .rd-top h1{font:750 23px/1.2 ui-sans-serif,system-ui;flex:1;min-width:160px;margin:0}
.reading-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0}.reading-skin-name{font-size:12px;font-weight:750;letter-spacing:.04em}.reading-space .vers{color:#243c36}
#reading-scenery{position:absolute;inset:0;overflow:hidden;z-index:0;background:#101d21}#reading-scenery:empty{display:none}#reading-scenery svg{width:100%;height:100%;filter:brightness(.48)}#reading-scenery *{animation:none!important}
.reading-space.has-scenery{color:#fff9e8}.reading-space.has-scenery .osl-lvl2,.reading-space.has-scenery .pgc{color:#fff0cf}.reading-space.has-scenery .reading-save{color:#ddd5c2}
.reading-space .book2{position:relative;background:var(--paper);box-shadow:0 0 0 8px var(--reading-accent),0 14px 42px #0004;color:var(--ink);margin-top:24px}
.reading-space .pg2{font-family:var(--page-font);font-size:var(--page-size);line-height:var(--page-leading);color:var(--ink);background:var(--paper)!important;height:560px;padding:32px 38px 48px 46px}
.reading-space #pgL{border-right:1px solid #8883}.reading-space .book2.single #pgL{border-right:0;max-width:800px;width:100%;margin:auto}
.reading-space .pg2.long-page{height:auto;min-height:560px;overflow:visible}.reading-space .pg2 .pn,.reading-space .pg2 .run,.reading-space .pg2 .folio{color:var(--muted)}
.reading-space .pg2 .vw{border-color:var(--muted)}.reading-space .pg2 .vw:focus-visible{outline:2px solid currentColor;border-radius:3px}
.reading-ribbon{display:none;position:absolute;right:30px;top:-8px;width:26px;height:45px;background:var(--reading-accent);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);z-index:2;filter:brightness(1.2)}.has-scenery .reading-ribbon{display:block}
.pg2 p.guide-current{background:#d6b45726;box-shadow:-5px 0 0 #ba9236;border-radius:3px;outline:none}.reading-space[data-paper=night] p.guide-current{background:#f6c75b18;box-shadow:-5px 0 0 #f2c14e}
.guide-help{font-size:13px;margin:4px 0}.reading-save{text-align:center;font-size:12px;color:#55615a;min-height:20px}.reading-space .btn:disabled{opacity:.4}
.reading-settings h2{font-size:28px;margin:8px 0}.reading-settings>p{color:#cbbfa9}.reading-settings fieldset{border:0;border-top:1px solid #ffffff20;padding:18px 0;margin:0}.reading-settings legend{padding:0 8px 0 0;font-weight:800}.setting-options{display:flex;flex-wrap:wrap;gap:7px}
.setting-options button,.guide-switch,.skin-options button{font:inherit;border:1px solid #665541;background:#2b2017;color:#f9eed9;border-radius:10px;padding:10px 14px;cursor:pointer}.setting-options button.selected,.guide-switch.selected,.skin-options button.selected{border-color:#f2c14e;box-shadow:0 0 0 1px #f2c14e;background:#413016}
.guide-switch{margin:10px 0 24px;width:100%;text-align:left}.skin-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.skin-options button{padding:8px;font-size:12px;display:flex;flex-direction:column;gap:7px;align-items:center;overflow:hidden}.skin-options svg{display:block;width:100%;height:90px;border-radius:6px}.skin-options small{color:#cebea2}.skin-classic{height:90px;width:100%;display:grid;place-items:center;background:#fff7e8;color:#23473e;font:32px Georgia;border-radius:6px}.reading-settings-status{font-size:13px;min-height:20px}
.classroom-page h1{margin:8px 0 0}.class-assignment{margin:22px 0;padding:26px;border:1px solid #cbd8cb;border-radius:20px;background:linear-gradient(115deg,#e4eddf,#f8f6ea);display:flex;gap:24px;justify-content:space-between;align-items:center}.class-assignment>div:first-child{flex:1}.class-assignment h2{font:750 30px/1.18 ui-sans-serif,system-ui;margin:7px 0 10px}.class-assignment p{margin:10px 0;color:#536159;max-width:650px}.class-assignment img{width:110px;border-radius:7px;box-shadow:0 9px 20px #1b36252b}.class-book-icon{font:110px Georgia;color:#578873;margin-right:25px}.class-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}.class-assignment small{color:#64736a;display:block;max-width:760px;line-height:1.6;font-size:12px}
.assignment-counts{display:flex;gap:18px;flex-wrap:wrap;padding:16px 0 10px}.assignment-counts span{font-size:13px}.assignment-counts b{font-size:21px;margin-right:4px}
.workspace-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin:30px 0 18px}.workspace-controls nav,.time-filters{display:flex;gap:4px;flex-wrap:wrap;border:1px solid #d5d8cb;border-radius:12px;padding:4px;background:#fffcf4}.workspace-controls button{border:0;background:transparent;border-radius:8px;padding:11px 13px;font:700 13px system-ui;color:#4d6359;cursor:pointer}.workspace-controls button[aria-pressed=true]{background:#24554d;color:#fff}.workspace-controls button span{border-radius:10px;background:#e8bd57;color:#243b31;padding:2px 6px;margin-left:3px}.workspace-summary{display:flex;flex-wrap:wrap;gap:12px}.workspace-summary span{padding:18px 20px;border-radius:13px;background:white;border:1px solid #dddcd1;flex:1;min-width:180px;color:#647064;font-size:13px}.workspace-summary b{display:block;font-size:28px;color:#284d42;margin-bottom:4px}.workspace-note{font-size:12px;color:#607267;line-height:1.65;margin:14px 0 22px}
.activity-list{border:1px solid #d6dbcf;border-radius:16px;overflow:hidden;background:#fffcf6}.activity-list article{padding:19px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #e5e7dd}.activity-list article:last-child{border-bottom:0}.activity-identity{display:flex;align-items:center;gap:12px;min-width:200px}.activity-identity small,.activity-book span{display:block;color:#6c796e;font-size:12px;margin-top:4px}.activity-book{flex:1;min-width:100px}.activity-book b{font-size:14px}.seat-number{display:grid;place-items:center;border-radius:10px;background:#e8eee3;color:#456154;min-width:38px;height:38px;font-size:12px;font-weight:800}.reading-status{font-size:12px;font-weight:750;white-space:nowrap;border-radius:20px;padding:6px 10px;background:#eeede6;color:#687267}.reading-status.reading{background:#fff0ba;color:#785319}.reading-status.finished{background:#d7eddf;color:#22623f}.reading-status.already{background:#e6e4f4;color:#5c5087}
.inbox-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 20px}.inbox-head h2{font-size:27px}.inbox-head p{font-size:13px;color:#68766c;margin:7px 0}.response-list{display:grid;gap:18px}.response-card{padding:24px;background:#fffdf7;border:1px solid #d6dbcf;border-radius:16px}.response-heading{display:flex;align-items:center;gap:12px}.response-heading>div{flex:1}.response-heading h3{font-size:17px}.response-heading p{font-size:12px;margin:5px 0;color:#657367}.response-card blockquote{margin:22px 0 0;background:#eef1e7;padding:16px 20px;border-left:3px solid #71937a;border-radius:0 10px 10px 0;font-size:15px;line-height:1.6}.evidence-note{font-size:12px;color:#72806e}.student-response{font:20px/1.65 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0}.response-footer{border-top:1px solid #e3e7da;padding-top:14px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px}.response-footer span{flex:1;color:#627262}.response-footer a{color:#316b56;font-weight:700}.inbox-pages{display:flex;gap:18px;justify-content:center;align-items:center;margin:25px 0;font-size:13px}.inbox-empty{padding:50px 20px;text-align:center;background:#fffdf7;border:1px dashed #c2cfbe;border-radius:14px}.inbox-empty>span{display:inline-grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#e2efdf;color:#346347;font-size:26px;margin-bottom:14px}.inbox-empty p{font-size:14px;color:#647464}
.assignment-dialog h2{margin:9px 0;font-size:27px}.assignment-dialog p{line-height:1.6;color:#c8bda9}.assignment-dialog label{display:grid;gap:8px;margin:25px 0;font-weight:750}.assignment-dialog select{padding:13px;border-radius:9px;background:#fffcf3;color:#213e34;font:inherit;width:100%}
.teacher-book-hero{display:flex;gap:32px;align-items:center;margin:26px 0 40px}.teacher-book-hero>img{width:160px;border-radius:9px;box-shadow:0 15px 30px #0002}.teacher-book-hero>div{max-width:740px}.teacher-book-hero h1{font:800 38px/1.15 system-ui;margin:10px 0 14px}.teacher-book-hero p{line-height:1.65;color:#506455}.teacher-question-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.teacher-question-heading span{font-size:12px;background:#dcebdd;color:#3e694b;border-radius:20px;padding:8px 12px}.teacher-questions{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.teacher-questions article{background:#fffdf7;border:1px solid #d7ddce;border-radius:16px;padding:24px}.teacher-questions h3{font-size:19px;line-height:1.45;margin:10px 0}.teacher-questions ol{padding-left:27px}.teacher-questions li{padding:9px 7px;font-size:14px;line-height:1.5}.teacher-questions li.correct{background:#e4f0df;border-radius:6px}.teacher-questions li.correct b{font-size:11px;color:#387044;margin-left:6px}.answer-why{font-size:14px;line-height:1.65;color:#4f6557}.teacher-questions small{color:#657a6a}.teacher-questions .written-key{grid-column:1/-1}.teacher-questions details{font-size:14px;line-height:1.65}.teacher-questions summary{cursor:pointer;font-weight:700;color:#315a44}
.student-assignment{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 28px;background:linear-gradient(110deg,#233e36,#15382e);border:1px solid #6b8d5c;border-radius:17px;margin:20px 0 26px;color:#f4eddc}.student-assignment h2{font-size:26px;margin:8px 0}.student-assignment p{font-size:14px;line-height:1.5;color:#c5d3bb;margin:5px 0;max-width:680px}.student-assignment>div:last-child{display:flex;flex-direction:column;align-items:center;gap:10px;flex-shrink:0}.task-complete{color:#c3dfa2;font-size:13px;font-weight:750}
@media(max-width:899px){.reading-space .pg2{height:560px;padding:26px 24px 48px 38px}.reading-space .book2{margin-left:8px;margin-right:8px}.activity-list article{flex-wrap:wrap;gap:12px}.activity-identity{min-width:160px}.activity-book{min-width:180px}.teacher-questions{grid-template-columns:1fr}.teacher-book-hero{gap:20px}.teacher-book-hero>img{width:110px}.teacher-book-hero h1{font-size:28px}}
@media(max-width:550px){.reading-wrap{padding-left:16px!important;padding-right:16px!important}.reading-space .rd-top h1{order:-1;flex-basis:100%;font-size:22px}.reading-toolbar{align-items:flex-start;flex-direction:column}.reading-space .rd-nav{gap:10px;flex-wrap:wrap}.reading-space .rd-nav .pgc{order:-1;flex-basis:100%;text-align:center}.reading-space .rd-nav #nextWrap{max-width:72%}.reading-space .rd-nav .btn{font-size:13px;padding:11px}.skin-options{grid-template-columns:repeat(2,minmax(0,1fr))}.class-assignment{padding:20px;gap:12px}.class-assignment img{width:70px;align-self:flex-start}.class-assignment h2{font-size:24px}.class-assignment .class-book-icon{display:none}.class-actions .btn{font-size:13px}.workspace-controls nav{width:100%}.workspace-controls button{padding:10px;font-size:12px}.workspace-summary{gap:8px}.workspace-summary span{min-width:100px;padding:14px}.activity-list article{padding:15px}.activity-identity{width:100%}.activity-book{min-width:0;flex-basis:100%}.inbox-head{align-items:flex-start;flex-direction:column;gap:8px}.response-card{padding:17px}.response-heading{flex-wrap:wrap}.response-heading p{line-height:1.5}.student-response{font-size:19px}.response-footer{gap:12px}.response-footer span{flex-basis:100%}.teacher-book-hero{align-items:flex-start}.teacher-book-hero>img{width:80px}.teacher-book-hero h1{font-size:25px}.teacher-book-hero p{font-size:14px}.teacher-question-heading h2{font-size:21px}.teacher-question-heading{align-items:flex-start}.teacher-questions article{padding:18px}.student-assignment{padding:20px;flex-direction:column;align-items:flex-start;gap:10px}.student-assignment>div:last-child{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.reading-space *,.decor-sets *{animation:none!important;scroll-behavior:auto!important}}
.decor-sets .home-heading p{color:#c5b99f;line-height:1.5}.decor-set{display:grid;grid-template-columns:1.4fr 1fr;margin:30px 0 44px;border:1px solid #4c3b28;border-radius:20px;overflow:hidden;background:#21170f}.set-scene{position:relative}.set-scene>svg{display:block;width:100%;height:100%;min-height:250px}.set-preview-note{position:absolute;bottom:10px;left:10px;padding:5px 9px;border-radius:5px;background:#14110ddd;color:#e1d4bb;font-size:10px}.set-copy{padding:30px;align-self:center}.set-copy h2{font-size:30px;margin:10px 0 14px}.set-copy p{color:#bfb69f;font-size:14px;line-height:1.65;margin-bottom:22px}.set-pieces{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:20px;border-top:1px solid #473523}.set-pieces>button{background:#302217;color:#f6edda;border:1px solid #5d4430;border-radius:12px;padding:12px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer}.set-pieces svg{width:100%;height:110px}.set-pieces b{font-size:13px}.set-pieces small{color:#cebb93;font-size:12px}@media(max-width:760px){.decor-set{grid-template-columns:1fr}.set-copy{padding:22px}.set-pieces{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.set-pieces>button:last-child{grid-column:1/-1}.set-pieces svg{height:100px}.set-scene>svg{min-height:0}}

/* Keep navigation and reading help legible in every reader palette. */
.ap-bar:not(.dark) .student-nav .current{color:#20594e;background:#dce9df}
.reading-space[data-paper=night] .osl-lvl2,.reading-space.has-scenery .osl-lvl2{color:#eee4cf}
.reading-space[data-paper=night] .osl-lvl2 summary,.reading-space.has-scenery .osl-lvl2 summary{color:#eee4cf}
@media(max-width:720px){.ap-bar .student-nav{width:calc(100% - 72px)}.ap-bar .signout{font-size:11px}}

.inbox-assignment-note{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#e9eee3;padding:12px 16px;border-radius:10px;margin:16px 0;color:#486253;font-size:13px}.inbox-assignment-note .linkbtn{margin-left:auto;color:#2d6753;font-weight:700}

@media(max-width:550px){.decor-sets .home-heading{align-items:flex-start;flex-direction:column;gap:18px}.decor-sets .home-heading p{max-width:34em}.decor-sets .home-heading h1{font-size:32px}}
/* css/teacher-tools.css */
/* Teacher tools follow the paper/forest classroom palette; student notes retain the reading-room palette. */
.narrow{max-width:880px}.full{display:flex;width:100%;justify-content:center;margin:16px 0}.join-card label,.school-form label,.school-review label,.join-settings label{display:block;text-align:left;font-size:14px;font-weight:750;margin:16px 0 7px}.join-card .codein{width:100%;box-sizing:border-box}.join-card h1{font-size:34px}.join-card .h-kick{color:#a17b27}.join-card #err:empty{display:none}
.school-access{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:25px 28px;margin:22px 0;background:#f9f0d9;border:1px solid #e4d2a4;border-radius:18px;color:#293e35}.school-access.approved{background:#eaf2ed;border-color:#c9ddd1}.school-access h2{font-size:23px;margin:5px 0 9px}.school-access p{margin:0;max-width:660px;line-height:1.55}.school-access .btn{flex-shrink:0}.school-form,.access-explainer,.school-review{margin:22px 0;padding:28px}.school-form input,.school-review textarea{font:inherit;width:100%;padding:12px;border:1px solid #bfcbbf;border-radius:9px;box-sizing:border-box;background:#fff;color:#243e33}.school-form button{margin-top:12px}.access-explainer p,.school-form p{line-height:1.6}.class-joined{font-size:14px;color:#586a5e;margin:8px 0}.classroom-page .t-head h1{margin:6px 0}.classroom-page .t-head{align-items:center}.classroom-page .workspace-controls{align-items:flex-start;gap:15px;flex-wrap:wrap}.workspace-controls nav{flex-wrap:wrap}.workspace-controls nav button{font-size:14px}.workspace-summary{flex-wrap:wrap}.activity-identity{min-width:225px}.activity-identity small{max-width:235px}.activity-list .reading-status{font-size:12px;white-space:nowrap}.reader-nickname{display:block;font-size:12px;color:#657267;font-weight:400;margin:5px 0}.join-settings{padding:7px;max-width:580px;color:#263c32}.join-settings h2{font-size:28px;margin:10px 0}.join-settings p{line-height:1.6}.join-settings .class-actions{margin:18px 0}.invite-code{border:1px solid #cad8cb;background:#edf3ed;border-radius:12px;padding:16px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.invite-code strong{font:800 25px/1.2 ui-monospace,monospace;letter-spacing:1px}.join-settings hr{border:0;border-top:1px solid #d4ddd2;margin:24px 0}#name-status{color:#8d2424;margin:12px 0}.feedback-form{border-top:1px solid #d6dfd2;margin-top:20px;padding-top:18px}.feedback-form label{display:block;font-size:14px;font-weight:700}.feedback-form textarea{display:block;box-sizing:border-box;width:100%;font-size:16px;font-family:inherit;line-height:1.5;padding:12px;background:#fbfcf8;border:1px solid #becdbe;border-radius:10px;margin-top:8px;color:#263e33;resize:vertical}.feedback-form>div{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:10px 0}.feedback-form small{color:#586b5d;max-width:400px;line-height:1.4}.feedback-status{font-size:14px;color:#1e6556}.feedback-status:empty{display:none}.feedback-link{white-space:nowrap}.feedback-count{border-radius:50%;padding:2px 6px;color:#1a231c;background:#f2c14e;font-size:12px}.feedback-page{min-height:100vh;background:#150f0a;color:#f5e9d4;padding:36px 0}.feedback-page h1{font-size:38px;margin:15px 0}.student-note{background:#251b12;border:1px solid #4c3a26;border-radius:18px;padding:26px;margin:24px 0}.student-note h2{margin:8px 0}.student-note .h-kick,.feedback-page .h-kick{color:#eec768}.student-note .teacher-note-text{font-size:20px;line-height:1.6;white-space:pre-wrap}.student-note details{margin:22px 0;color:#d8c9b0;line-height:1.6}.student-note blockquote{border-left:3px solid #977535;margin-left:0;padding:8px 18px;white-space:pre-wrap}.student-note .btn.ghost{color:#f3e7cd;border-color:#756343;background:transparent}.student-note .bn-learn,.feedback-page .bn-learn{color:#f0c96b;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.question-results select{display:block;max-width:330px;padding:11px;font:inherit;border:1px solid #b7c9ba;border-radius:9px;background:white;color:#254133}.question-results label{font-size:13px;font-weight:700}.question-result{border:1px solid #cfdbce;background:#fffef9;border-radius:16px;margin:20px 0;padding:26px}.question-result h3{font-size:20px;line-height:1.5;margin:10px 0}.question-metric{display:flex;align-items:center;gap:14px;margin:18px 0}.question-metric>b{font-size:30px;color:#1b6152}.question-metric span{font-size:14px;color:#526457}.choice-bars{padding-left:24px}.choice-bars li{padding:8px 10px;color:#556456}.choice-bars li.correct{background:#edf4ed;border-radius:9px;color:#205d4c}.choice-bars li>div{display:flex;justify-content:space-between;gap:15px}.choice-bars meter{width:100%;height:8px;display:block;margin:7px 0}.question-result details{margin-top:20px}.question-result summary{font-weight:700;cursor:pointer}.table-scroll{overflow-x:auto}.simple-table{width:100%;border-collapse:collapse;margin-top:18px;font-size:15px;background:#fffef9}.simple-table th{background:#e9f0e9;color:#365445;text-align:left;padding:16px 18px;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.simple-table td{padding:17px 18px;border-bottom:1px solid #dbe2d7}.weekly-report .class-actions{margin:20px 0}.weekly-report .workspace-note{max-width:800px;line-height:1.6}.school-review textarea{margin:8px 0 18px}.school-review .decision-status{color:#913d25}
@media(max-width:900px){.ap-bar{flex-wrap:wrap}.ap-bar .ap-brand{margin-right:auto}.ap-bar .ap-sp{display:none}.school-access{align-items:flex-start;flex-direction:column}.activity-list article{flex-wrap:wrap}.activity-identity{min-width:190px;flex:1}.activity-book{flex-basis:45%}.workspace-controls nav{gap:5px}.workspace-controls nav button{padding:9px 11px}}
@media(max-width:600px){.t-page .wrap{padding-left:18px;padding-right:18px}.school-access{padding:20px}.t-head{gap:10px}.t-head>div:first-child{width:100%}.school-form,.access-explainer,.school-review{padding:20px}.activity-list article{gap:14px}.activity-book{flex-basis:100%;order:3}.activity-list .btn{font-size:12px}.feedback-form>div{align-items:flex-start;flex-direction:column;gap:12px}.inbox-head{flex-direction:column;align-items:flex-start!important;gap:18px}.question-results select{max-width:100%;width:100%}.question-results .inbox-head label{width:100%}.question-result{padding:20px}.simple-table{min-width:540px}.student-note{padding:20px}.feedback-page h1{font-size:30px}.feedback-link{font-size:12px}.join-card h1{font-size:28px}.invite-code strong{font-size:22px}.class-actions{flex-wrap:wrap}}

.workspace-controls .time-filters.hide{display:none}.demo-banner{padding:10px 18px;background:#f8e5b1;color:#392b17;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font:600 13px/1.5 system-ui}.demo-banner a{color:#244e3c}
.legacy-import{display:inline-block;margin-left:8px;font-size:14px;color:#6a5e4c}
.legacy-import summary{cursor:pointer;padding:6px 0}
.legacy-import[open] .btn{margin-top:6px}
/* css/printables.css */
/* v122: Print or download dialog (js/printables.js) */
.pk-dialog h2{margin:.2rem 0 .8rem}
.pk-card{border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:1rem 1.1rem;margin:0 0 .9rem;background:rgba(255,255,255,.6)}
.pk-card h3{margin:0 0 .35rem;font-size:1.05rem}
.pk-card p{margin:.25rem 0 .7rem;line-height:1.45}
.pk-levels{list-style:none;padding:0;margin:.2rem 0 .7rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:.35rem .8rem}
.pk-levels li{display:flex;justify-content:space-between;gap:.5rem;padding:.3rem .5rem;border-radius:8px;background:rgba(0,0,0,.04);font-size:.95rem}
.pk-tip,.pk-note{font-size:.88rem;opacity:.85}
.pk-note{margin:.2rem 0 0}
.pk-levels li b,.pk-levels li span{white-space:nowrap}
/* css/teacher-library.css */
/* A quiet library workspace. Decorative shelves stop where classroom data begins. */
.teacher-bar{background:#fffdf7;color:#23493e;border-bottom:1px solid #ddd5c3;padding:12px 24px;gap:12px}
.teacher-space-label{font-size:10px;letter-spacing:.13em;color:#776c51;font-weight:750;margin-right:14px}
.teacher-nav{display:flex;align-items:center;gap:4px;background:#f1eee4;padding:4px;border-radius:12px}
.teacher-nav .ap-link{padding:9px 17px;font-size:13px}.teacher-nav .current{background:#234e42;color:#fffdf4}.teacher-nav .current:hover{background:#2d6152}
.teacher-bar .signout{font-size:12px;font-weight:600;color:#52665c}
.teacher-home,.classroom-page,.teacher-book-page,.teacher-library.library-page{background:#f7f3e9;color:#243e34}
.teacher-home .wrap,.classroom-page .wrap,.teacher-book-page .wrap{max-width:1200px;padding-top:32px}
.teacher-home .h-kick,.classroom-page .h-kick,.teacher-book-page .h-kick,.teacher-library .h-kick{font-size:11px;letter-spacing:.12em;color:#75603a}
.teacher-home h1,.classroom-page .t-head h1,.teacher-book-page h1,.teacher-library .library-heading h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em;font-weight:700;color:#23493d}
.teacher-home .btn,.classroom-page .btn,.teacher-book-page .btn,.teacher-library .btn{border-radius:10px;font-size:14px}
.teacher-home .btn.dark,.classroom-page .btn.dark,.teacher-book-page .btn.dark,.teacher-library .btn.dark{box-shadow:0 2px 0 #14382e}
.teacher-home .btn.ghost,.classroom-page .btn.ghost,.teacher-book-page .btn.ghost,.teacher-library .btn.ghost{background:#fffdf7}
.teacher-home a:focus-visible,.teacher-library a:focus-visible,.teacher-bar a:focus-visible,.classroom-page a:focus-visible{outline:3px solid #b88020;outline-offset:5px}

/* Book jackets retain a title when an image is unavailable. */
.teacher-jacket{position:relative;aspect-ratio:174/226;width:125px;flex:none;background:linear-gradient(135deg,#356557,#17392f);color:#fff2cf;border-radius:3px 7px 6px 3px;box-shadow:-6px 10px 16px #091d2370,2px 0 #d3c5a7,4px 1px #f5ebd3;isolation:isolate}
.teacher-jacket>span{display:block;padding:20px 14px;font:bold 21px/1.1 Georgia,serif;overflow-wrap:anywhere}
.teacher-jacket img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;box-shadow:none}
.teacher-jacket img[hidden]{display:none}
.teacher-jacket:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:1;background:linear-gradient(90deg,#fff2,transparent 3%,#0004 4%,transparent 7%,transparent 97%,#fff3)}
.teacher-book-spines{display:flex;align-items:flex-end;justify-content:center;gap:5px;height:135px;width:125px;max-width:100%}
.teacher-book-spines i{height:100%;width:26px;border-radius:4px 4px 1px 1px;background:linear-gradient(90deg,#ffffff20,transparent 25%,#0002),#497b6c;box-shadow:2px 2px 4px #0004;position:relative}
.teacher-book-spines i:before,.teacher-book-spines i:after{content:'';position:absolute;left:5px;right:5px;height:2px;background:#e5ce8e70;top:14px}.teacher-book-spines i:after{top:auto;bottom:15px}
.teacher-book-spines i:nth-child(2){height:82%;background-color:#aa7d48}.teacher-book-spines i:nth-child(3){height:93%;background-color:#765e7d}.teacher-book-spines i:nth-child(4){height:72%;background-color:#b6674e}

/* The home page introduces books without hiding the classes below. */
.teacher-welcome{display:grid;grid-template-columns:minmax(0,1fr) 390px;align-items:center;gap:40px;padding:24px 32px 28px 8px;margin-bottom:28px;border-bottom:1px solid #ded6c3}
.teacher-welcome h1{font-size:49px;margin:12px 0 16px}.teacher-welcome p{font-size:16px;line-height:1.7;color:#5c6b5f;margin:0 0 23px}
.welcome-bookcase{align-self:end;position:relative;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 0,#467060,#1c4035 80%);border:1px solid #536a50;border-bottom:0;border-radius:100px 100px 5px 5px;padding:22px 25px 0;box-shadow:inset 0 0 0 8px #c3b58b12;min-width:0}
.bookcase-plaque{font:700 10px/1.3 Georgia,serif;letter-spacing:.15em;color:#e0cd9b;margin:6px 0 20px}
.welcome-books{display:flex;gap:22px;align-items:flex-end;justify-content:center;width:100%}.welcome-books .teacher-jacket{width:89px;transform:rotate(-5deg);transform-origin:bottom center}.welcome-books .teacher-jacket:nth-child(2){width:103px;transform:rotate(0);z-index:1}.welcome-books .teacher-jacket:nth-child(3){transform:rotate(5deg)}.welcome-books .teacher-jacket>span{font-size:15px;padding:12px 8px}
.welcome-ledge{width:calc(100% + 74px);height:20px;border-radius:2px;background:linear-gradient(#c39b62 0,#b18a54 15%,#805b35 20%,#a67b4d 80%,#62452a 100%);box-shadow:0 6px 10px #3e2b2120;position:relative}
.class-shelf-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:28px 0 18px}.class-shelf-heading h2{font:700 27px/1.2 Georgia,serif}.class-shelf-heading>span{font-size:12px;color:#637265}
.teacher-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:32px}
.teacher-class-card{display:flex;flex-direction:column;color:#243e34;text-decoration:none;background:#fffdf7;border:1px solid #d7d0be;border-radius:16px;overflow:hidden;transition:border-color .16s,box-shadow .16s}
.teacher-class-card:hover{border-color:#56836c;box-shadow:0 6px 22px #284c3510}
.class-card-heading{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:22px 24px 18px}.class-card-heading h2{font:700 26px/1.2 Georgia,serif;margin-top:7px;overflow-wrap:anywhere}.class-card-heading>div{min-width:0}
.class-access-label{font-size:10px;font-weight:700;white-space:nowrap;color:#4d6956;background:#eaf0e7;border:1px solid #d5e0cf;border-radius:20px;padding:6px 9px}
.class-card-reading{display:grid;grid-template-columns:153px minmax(0,1fr);gap:22px;align-items:center;padding:0 24px 22px;flex:1}.class-card-reading h3{font:700 23px/1.22 Georgia,serif;margin:9px 0;color:#294d3e;overflow-wrap:anywhere}.class-card-reading p{font-size:13px;color:#617063;line-height:1.6;margin:8px 0 0}.class-card-reading .h-kick{font-size:9px}
.class-card-shelf{min-height:183px;border-radius:7px 7px 1px 1px;background:radial-gradient(ellipse at 50% 0,#486e57,#274535);display:flex;align-items:flex-end;justify-content:center;padding:18px 12px 17px;position:relative}.class-card-shelf:after{content:'';position:absolute;bottom:0;left:0;right:0;height:17px;background:linear-gradient(#c19a65,#ae8352 20%,#795738 24%,#956e43 85%,#5d422a)}.class-card-shelf .teacher-jacket{width:111px}.class-card-shelf .teacher-jacket>span{font-size:18px}
.class-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e2ddcf;padding:15px 24px;font-size:12px;color:#657365;background:#f7f7ee}.class-card-footer b{color:#285c47;font-size:12px}
.new-library-class{border:1px dashed #b9c6ad;border-radius:16px;padding:25px 28px;background:#f0f2e7;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.class-add-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b7c3ab;border-radius:50%;color:#477052;font-size:24px;margin-bottom:14px}
.new-library-class h2{font:700 25px/1.2 Georgia,serif}.new-library-class p{font-size:13px;color:#62715e;margin:9px 0 17px}.new-library-class label{font-size:12px;font-weight:700;color:#52694f}.new-library-class .nickin{width:100%;text-align:left;font-size:15px;padding:11px 12px;margin-top:7px;border:1px solid #bbc9b2;border-radius:8px;background:#fffef8;min-width:0}.new-library-class .seatsel{margin:12px 0}.new-library-class .seatsel input{width:70px;font-size:14px;padding:6px 9px;border-radius:6px;border:1px solid #bbc9b2;background:#fffef8;color:#243e34;margin-left:9px}
.teacher-home .school-access.approved{background:#eef1e8;border-color:#d7ddcd}.teacher-home .school-access.approved h2{font-size:19px}.teacher-home .school-access.approved p{font-size:13px}

/* Teachers browse the same wood shelves, on a lighter page. */
.teacher-library .library-heading{margin-top:10px;align-items:center}.teacher-library .library-heading h1{font-size:43px}.teacher-library .library-heading p{color:#627164;max-width:680px;line-height:1.65}.teacher-library .library-heading>a{flex-shrink:0}
.teacher-library-note{display:flex;gap:22px;flex-wrap:wrap;margin:0 0 24px;border-top:1px solid #ded6c5;border-bottom:1px solid #ded6c5;padding:15px 0;color:#536c58;font-size:12px}.teacher-library-note span{display:flex;align-items:center;gap:9px}.teacher-library-note span:before{content:'✦';color:#9a793a;font-size:13px}
.teacher-library .search-books{background:#fffef9;border-color:#c8cdbd;color:#55715e}.teacher-library .search-books input{color:#263f32}.teacher-library .search-books input::placeholder{color:#6f796b}.teacher-library .genre-select{color:#5f705f}.teacher-library .genre-select select{background:#fffef9;border-color:#c8cdbd;color:#294735}
.teacher-library .library-tabs button{color:#52694f}.teacher-library .library-tabs button.on{background:#285440;color:#fff9e9}.teacher-library .library-tabs button:hover:not(.on){background:#ebeede;border-color:#bec9ad}.teacher-library .library-count{color:#68755f}
.teacher-library .shelf-heading h2{color:#284c39;font-family:Georgia,serif;font-size:27px}.teacher-library .shelf-heading h2 small{color:#6f795f}.teacher-library .shelf-heading p{color:#69755f}.teacher-library .shelf-arrows button{color:#2c583f;background:#fffcf3;border-color:#bcc8ad}.teacher-library .shelf-arrows button:disabled{opacity:.4}
.teacher-library .wood-shelf{background:linear-gradient(to bottom,transparent 0,transparent calc(var(--book-h) + 24px),#bc945e calc(var(--book-h) + 24px),#916e45 calc(var(--book-h) + 27px),#795635 calc(var(--book-h) + 42px),#5d4128 calc(var(--book-h) + 46px),#f7f3e9 calc(var(--book-h) + 50px)),repeating-linear-gradient(90deg,transparent 0,transparent 203px,#0d080630 204px,#f2cc8a08 205px,transparent 206px),linear-gradient(180deg,#302318,#694f32 32%,#3b2b1c 68%);box-shadow:inset 0 1px #9b7a50;scrollbar-color:#9b805b #e9e2d2;padding-bottom:16px}
.teacher-library .book-name{color:#2b4d39;font-size:14px}.teacher-library .book-name:hover{color:#815d20}.teacher-library .book-state,.teacher-library .member-preview .book-state{color:#67745f}.teacher-library .teacher-shelf-link{display:inline-flex;align-items:center;font-size:12px;font-weight:750;text-decoration:none;color:#265b40;background:#e6ecde;border:1px solid #ccd6bf;border-radius:7px;padding:8px 10px;margin-top:4px;min-height:36px}.teacher-library .teacher-shelf-link:hover{background:#d8e4ce}
.teacher-library .library-empty{border-color:#b8c5a8}.teacher-library .library-empty p{color:#62715b}
.teacher-library .teacher-shelf-link{gap:5px}

/* The assigned book anchors the class page; counts remain literal and readable. */
.classroom-page .t-head h1{font-size:38px}.classroom-page .t-head{padding-bottom:5px}
.class-assignment.featured-reading{display:grid;grid-template-columns:215px minmax(0,1fr);gap:28px;padding:26px 30px 20px;background:#fffdf6;border-color:#d8d3c1;box-shadow:0 3px 0 #ece5d4;align-items:center}
.featured-bookstand,.teacher-preview-bookstand{position:relative;display:flex;flex-direction:column;align-items:center;align-self:stretch;justify-content:center;background:radial-gradient(ellipse at 50% 0,#4c6e57,#244433);border-radius:68px 68px 6px 6px;padding:23px 20px 38px;min-width:0}
.featured-bookstand:after,.teacher-preview-bookstand:after{content:'';position:absolute;left:0;right:0;bottom:31px;height:15px;background:linear-gradient(#c69e66,#ae8550 17%,#80603b 22%,#997247 85%,#674729)}
.featured-bookstand>span,.teacher-preview-bookstand>span{position:absolute;bottom:11px;font-size:8px;letter-spacing:.1em;font-weight:750;color:#e3d4ad;text-align:center;padding:0 8px}
.featured-bookstand .teacher-jacket{width:135px}.featured-bookstand>a{display:block;text-decoration:none}.featured-bookstand .teacher-book-spines{height:165px;margin-bottom:8px}
.featured-reading-copy{min-width:0}.featured-reading h2{font:700 36px/1.13 Georgia,serif;letter-spacing:-.02em;margin:11px 0 12px;color:#234c39}.featured-reading .featured-hook{font-size:14px;line-height:1.65;color:#596b59;margin:0 0 13px;max-width:640px}.featured-reading .featured-instructions{font-size:12px;color:#6b775f}.featured-reading .class-actions{margin-bottom:0}.featured-reading .class-actions .linkbtn{font-size:12px;color:#66705e}
.assignment-progress{grid-column:1/-1;border-top:1px solid #e2decd;padding-top:3px}.featured-reading .assignment-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 0}.assignment-stat{font-size:12px;color:#65715c;display:flex;align-items:baseline;gap:5px}.assignment-stat b{color:#365740;font-size:25px}.assignment-stat.finished b{color:#24714f}.featured-reading small{font-size:11px;color:#718068;max-width:none}
.classroom-page .workspace-controls{margin-top:28px}.classroom-page .workspace-controls nav,.classroom-page .time-filters{background:#fffdf6;border-color:#d5d9c7}.classroom-page .workspace-controls nav button{font-size:13px}.classroom-page .workspace-summary span{background:#fffef9}.classroom-page .inbox-assignment-note{background:#ecefe3;border:1px solid #d3ddc6;border-radius:10px;padding:15px 18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}.classroom-page .inbox-assignment-note .linkbtn{margin-left:auto}
.teacher-book-hero{background:#fffdf6;border:1px solid #ded6c3;border-radius:18px;padding:28px 32px;gap:36px}.teacher-preview-bookstand{width:215px;min-height:250px;flex:none}.teacher-preview-bookstand .teacher-jacket{width:145px}.teacher-book-hero>div:last-child{min-width:0}.teacher-book-hero h1{font-size:42px}.teacher-book-hero p{font-size:15px}.teacher-book-hero .workspace-note{font-size:12px;margin-bottom:0}
.teacher-question-heading h2{font:700 27px/1.2 Georgia,serif;color:#2b4c38}

/* The story picker and assignment dialog share the teacher palette. */
.orthos-dialog.teacher-dialog{background:#fffdf6;color:#294735;border-color:#c6c7ae;box-shadow:0 22px 90px #112d3160}
.teacher-dialog::backdrop{background:#132b28ae}.teacher-dialog .dialog-close{color:#315c42;background:#e9eee1}.teacher-dialog .h-kick{color:#81652c}.teacher-dialog h2{font-family:Georgia,serif;color:#244a35}.teacher-dialog p,.teacher-dialog .assignment-dialog p{color:#586c55}.teacher-dialog .version-note{border-color:#d6dfc8}.teacher-dialog .version-note span{color:#66775d}.teacher-dialog .btn{font-size:14px;border-radius:10px}.teacher-dialog .peek-cover img{box-shadow:6px 10px 23px #27443630}.teacher-dialog .peek-actions .btn{font-size:12px}

@media(max-width:1000px){.teacher-space-label{display:none}.teacher-welcome{grid-template-columns:minmax(0,1fr) 300px;gap:25px;padding-right:12px}.welcome-bookcase{padding-inline:16px}.welcome-books{gap:14px}.welcome-books .teacher-jacket{width:71px}.welcome-books .teacher-jacket:nth-child(2){width:86px}.welcome-ledge{width:calc(100% + 48px)}.class-card-reading{grid-template-columns:117px minmax(0,1fr);gap:17px;padding-inline:19px}.class-card-shelf{min-height:159px}.class-card-shelf .teacher-jacket{width:89px}.class-card-heading{padding-inline:19px}.class-card-heading h2{font-size:24px}.class-access-label{font-size:9px}.class-card-footer{padding-inline:19px}.teacher-class-grid{gap:18px}.teacher-book-hero{gap:25px}.class-assignment.featured-reading{gap:23px;grid-template-columns:185px minmax(0,1fr)}}
@media(max-width:720px){.teacher-bar{padding:9px 16px;gap:9px}.teacher-bar .ap-brand{font-size:14px;margin-right:auto}.teacher-bar .ap-sp{display:none}.teacher-nav{order:3;flex:1}.teacher-nav .ap-link{flex:1;text-align:center;padding:8px 12px;font-size:12px}.teacher-bar .signout{order:4;margin-left:auto;padding-inline:8px}.teacher-home .wrap,.classroom-page .wrap,.teacher-book-page .wrap{padding-top:23px}.teacher-welcome{grid-template-columns:minmax(0,1fr) 220px;gap:18px;padding:8px 9px 26px 0}.teacher-welcome h1{font-size:36px}.teacher-welcome p{font-size:13px}.teacher-welcome .btn{font-size:12px;padding:12px 14px}.teacher-welcome .h-kick{font-size:9px}.welcome-books{gap:10px}.welcome-books .teacher-jacket{width:52px}.welcome-books .teacher-jacket:nth-child(2){width:65px}.welcome-bookcase{padding:22px 13px 0}.bookcase-plaque{font-size:8px;letter-spacing:.1em}.welcome-books .teacher-jacket>span{font-size:11px;padding:8px 4px}.welcome-ledge{width:calc(100% + 40px);height:15px}.teacher-class-grid{grid-template-columns:1fr}.class-card-reading{grid-template-columns:128px minmax(0,1fr)}.class-card-shelf .teacher-jacket{width:98px}.class-card-reading h3{font-size:25px}.class-card-heading h2{font-size:27px}.new-library-class{padding:22px}.class-add-icon{display:none}.class-shelf-heading h2{font-size:24px}.class-shelf-heading{gap:10px}.class-shelf-heading>span{font-size:11px}.teacher-library .library-heading h1{font-size:33px}.teacher-library .library-heading{align-items:flex-start}.teacher-library .library-heading>a{display:none}.teacher-library-note{gap:11px;font-size:11px;flex-direction:column}.teacher-library .shelf-heading h2{font-size:23px}.teacher-library .teacher-shelf-link{font-size:11px;padding:8px}.teacher-library .book-name{font-size:13px}.class-assignment.featured-reading{grid-template-columns:140px minmax(0,1fr);padding:22px 20px 18px;gap:20px}.featured-bookstand{padding:20px 12px 38px;border-radius:50px 50px 6px 6px;align-self:start}.featured-bookstand .teacher-jacket{width:99px}.featured-bookstand>span{font-size:7px}.featured-reading h2{font-size:29px}.featured-reading .featured-hook{font-size:13px}.featured-reading .class-actions{grid-column:1/-1;gap:9px}.teacher-book-hero{padding:22px;gap:22px}.teacher-preview-bookstand{width:140px;min-height:203px;padding:20px 12px 38px;border-radius:50px 50px 6px 6px;align-self:start}.teacher-preview-bookstand .teacher-jacket{width:103px}.teacher-preview-bookstand>span{font-size:7px}.teacher-book-hero h1{font-size:32px}.teacher-book-hero .class-actions .btn{font-size:12px;padding:12px 14px}}
@media(max-width:500px){.teacher-welcome{grid-template-columns:minmax(0,1fr) 115px;gap:15px;align-items:center}.teacher-welcome h1{font-size:34px;margin:12px 0}.teacher-welcome p{font-size:13px;margin-bottom:19px}.teacher-welcome .h-kick{font-size:8px;line-height:1.6;max-width:190px}.welcome-bookcase{border-radius:55px 55px 4px 4px;padding:25px 10px 0;align-self:center}.welcome-books .teacher-jacket{display:none}.welcome-books .teacher-jacket:first-child{display:block;width:76px;transform:rotate(-3deg)}.welcome-books .teacher-jacket>span{font-size:14px;padding:12px 8px}.bookcase-plaque{display:none}.welcome-ledge{width:calc(100% + 34px);height:12px}.class-shelf-heading{align-items:flex-start;flex-direction:column;gap:7px}.class-card-reading{grid-template-columns:106px minmax(0,1fr);gap:17px;padding:0 18px 20px}.class-card-heading{gap:9px;padding:20px 18px 18px}.class-card-heading h2{font-size:25px}.class-card-shelf{min-height:148px}.class-card-shelf .teacher-jacket{width:79px}.class-card-shelf .teacher-jacket>span{font-size:14px;padding:12px 7px}.class-card-reading h3{font-size:23px}.class-card-reading p{font-size:12px}.class-card-footer{padding:14px 18px;gap:10px;font-size:10px}.class-card-footer b{font-size:11px}.class-access-label{white-space:normal;max-width:78px;text-align:center;line-height:1.5}.classroom-page .t-head h1{font-size:33px}.class-assignment.featured-reading{grid-template-columns:1fr;gap:20px;padding:22px 18px 16px}.featured-bookstand{width:100%;min-height:0;flex-direction:row;border-radius:12px 12px 3px 3px;padding:20px 20px 34px;background:radial-gradient(ellipse at 50% 0,#55745c,#294432)}.featured-bookstand .teacher-jacket{width:110px}.featured-bookstand>span{font-size:8px}.featured-bookstand .teacher-book-spines{height:104px}.featured-reading .featured-hook{font-size:13px}.featured-reading h2{font-size:31px}.featured-reading .class-actions .btn{font-size:12px;padding:11px 13px}.featured-reading .assignment-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}.assignment-stat b{font-size:23px}.teacher-book-hero{flex-direction:column;padding:22px 20px}.teacher-preview-bookstand{width:100%;min-height:0;border-radius:12px 12px 3px 3px;padding-top:20px}.teacher-preview-bookstand .teacher-jacket{width:120px}.teacher-preview-bookstand>span{font-size:8px}.teacher-book-hero h1{font-size:34px}.teacher-question-heading h2{font-size:23px}.teacher-question-heading span{font-size:10px;padding:6px 8px}.teacher-library .library-heading h1{font-size:32px}.teacher-library .library-heading p{font-size:13px}.teacher-library .search-books input{font-size:16px}.classroom-page .inbox-assignment-note .linkbtn{margin-left:0}}
@media(max-width:720px){.teacher-bar .ap-brand{flex:1;min-width:0}.teacher-bar .signout{order:0;flex:none;margin-left:0}.teacher-nav{order:3;flex-basis:100%;width:100%}.teacher-nav .ap-link{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.teacher-class-card{transition:none}}

/* v39 first-run steps for a new teacher */
.first-steps{margin:22px 0 4px;padding:22px 26px;border:1px solid #d9d1bf;border-radius:14px;background:#fbf7ee;color:#22302b}.first-steps .h-kick{color:#8a6a2a}.first-steps b{color:#1b2a24}
.first-steps h2{font:700 24px/1.25 Georgia,serif;margin:6px 0 12px;color:#1b2a24}
.first-steps ol{margin:0 0 12px;padding-left:22px;display:grid;gap:8px;font-size:15px;line-height:1.5;color:#22302b}
.first-steps p{margin:0;font-size:14px;color:#3d4b45}.first-steps a{color:#1b4d43;font-weight:700}
@media(max-width:500px){.first-steps{padding:18px}.first-steps h2{font-size:21px}.first-steps ol{font-size:14px}}
/* css/library-v2.css */
/* v139 (11/14): teacher Library redesign (js/library-v2.js). Everything is scoped to .lb2 (the page) or .tlib-drawer (the story drawer). */
.lb2{--tlib-deep:#1f3a33;--tlib-sun:#e3bf62;--tlib-ink:#1f2a24;--tlib-muted:#5b665f;--tlib-line:#e2d8c4;--tlib-line2:#cdbf9f;--tlib-paper:#fffdf8;--tlib-green:#1F5A4F;--tlib-goldtx:#7a5a1c;background:#f1ebdd;color:var(--tlib-ink);padding-bottom:40px}
.lb2 .wrap{max-width:1240px}
.lb2 button{font:inherit;cursor:pointer}
.lb2 .tlib-kick{font:700 11.5px system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--tlib-goldtx)}
.lb2 .tlib-sp,.lb2 .tlib-fsp{flex:1}
/* banner */
.lb2 .tlib-hero{position:relative;overflow:hidden;border-radius:24px;margin:22px 0 16px;color:#fff;background:var(--tlib-deep);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;padding:30px 34px;box-shadow:0 16px 36px rgba(20,30,25,.22);min-height:300px}
.lb2 .tlib-hero.solo{grid-template-columns:1fr;min-height:0}
.lb2 .tlib-hero .tlib-bg{position:absolute;inset:-30px;display:grid;grid-template-columns:repeat(3,1fr);filter:blur(26px) saturate(1.2);opacity:.75}
.lb2 .tlib-hero .tlib-bg img{width:100%;height:100%;object-fit:cover}
.lb2 .tlib-hero .tlib-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,26,22,.9) 0%,rgba(12,26,22,.62) 58%,rgba(12,26,22,.4) 100%)}
.lb2 .tlib-hero-main,.lb2 .tlib-fan{position:relative}
.lb2 .tlib-hero .tlib-kick{color:var(--tlib-sun)}
.lb2 .tlib-hero h1{font:700 40px/1.08 Georgia,'Times New Roman',serif;margin:8px 0 6px;color:#fff;letter-spacing:-.01em}
.lb2 .tlib-sub{color:#d9e3dc;margin:0 0 18px;max-width:520px}
.lb2 .tlib-search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:4px 6px 4px 16px;box-shadow:0 6px 18px rgba(0,0,0,.25);max-width:560px;margin:0}
.lb2 .tlib-search svg{flex:none}
.lb2 .tlib-search input{flex:1;min-width:0;border:0;outline:0;font-size:16px;padding:11px 0;color:var(--tlib-ink);background:none;box-shadow:none}
.lb2 .tlib-search:focus-within{outline:3px solid var(--tlib-sun);outline-offset:2px}
.lb2 .tlib-search button{border:0;background:var(--tlib-sun);color:var(--tlib-ink);font-weight:700;border-radius:10px;padding:10px 16px;box-shadow:0 3px 0 #b8923c}
.lb2 .tlib-try{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;align-items:center;font-size:13px;color:#cfdcd4}
.lb2 .tlib-try button{border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.1);color:#fff;border-radius:99px;padding:5px 12px;font-size:13px}
.lb2 .tlib-try button:hover{background:rgba(255,255,255,.2)}
.lb2 .tlib-fan{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.lb2 .tlib-fanbooks{position:relative;width:300px;height:210px}
.lb2 .tlib-fanbooks button{position:absolute;bottom:0;width:132px;padding:0;border:0;background:none;transition:transform .35s}
.lb2 .tlib-fanbooks img{display:block;width:100%;border-radius:3px 7px 7px 3px;box-shadow:-6px 12px 24px rgba(0,0,0,.5),1px 0 #b6a78b,3px 0 #eee4ca,5px 1px #bba98c}
.lb2 .tlib-fanbooks button:nth-child(1){left:0;transform:rotate(-9deg)}
.lb2 .tlib-fanbooks button:nth-child(2){left:84px;z-index:2;transform:translateY(-12px)}
.lb2 .tlib-fanbooks button:nth-child(3){left:168px;transform:rotate(8deg)}
.lb2 .tlib-fanbooks:hover button:nth-child(1){transform:rotate(-13deg) translateX(-8px)}
.lb2 .tlib-fanbooks:hover button:nth-child(3){transform:rotate(12deg) translateX(8px)}
.lb2 .tlib-fanbooks button:focus-visible{outline:3px solid var(--tlib-sun);outline-offset:3px}
.lb2 .tlib-cap{text-align:center}.lb2 .tlib-cap b{font:700 20px Georgia,serif;display:block}.lb2 .tlib-cap span{color:#d4dfd8;font-size:13.5px}
.lb2 .tlib-glass{display:inline-flex;align-items:center;gap:6px;border-radius:11px;padding:9px 16px;font-weight:700;font-size:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.4);color:#fff}
.lb2 .tlib-glass:hover{background:rgba(255,255,255,.2)}
/* class strip */
.lb2 .tlib-classnow{display:flex;align-items:center;gap:14px;background:var(--tlib-paper);border:1px solid var(--tlib-line);border-left:4px solid #c19b49;border-radius:14px;padding:10px 14px;margin:10px 0 4px;font-size:14px}
.lb2 .tlib-classnow img{width:38px;border-radius:2px 4px 4px 2px;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.lb2 .tlib-classnow b{font-family:Georgia,serif}
.lb2 .tlib-classnow .btn{padding:7px 14px}
/* filter card */
.lb2 .tlib-filters{position:sticky;top:0;z-index:5;background:rgba(241,235,221,.94);backdrop-filter:blur(6px);padding:10px 0 8px;margin-bottom:6px}
.lb2 .tlib-fcard{background:var(--tlib-paper);border:1px solid var(--tlib-line);border-radius:16px;padding:10px 14px;display:grid;gap:8px;box-shadow:0 2px 0 rgba(0,0,0,.03)}
.lb2 .tlib-frow{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.lb2 .tlib-flabel{font:700 10.5px system-ui,sans-serif;letter-spacing:.14em;color:var(--tlib-muted);text-transform:uppercase;width:58px;flex:none}
.lb2 .tlib-chip{border:1px solid var(--tlib-line);background:#fff;border-radius:99px;padding:5px 11px;font-size:13px;font-weight:600;color:var(--tlib-ink);display:inline-flex;align-items:center;gap:6px}
.lb2 .tlib-chip small{color:var(--tlib-muted);font-weight:600;font-size:12px}
.lb2 .tlib-chip.on{background:var(--tlib-green);border-color:var(--tlib-green);color:#fff}.lb2 .tlib-chip.on small{color:#cfe2da}
.lb2 .tlib-dot{width:9px;height:9px;border-radius:50%}
.lb2 .tlib-tog{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--tlib-ink);background:none;border:0;padding:4px}
.lb2 .tlib-tog i{width:34px;height:20px;border-radius:99px;background:#d8cfbd;position:relative;transition:.2s;flex:none}
.lb2 .tlib-tog i:after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:.2s}
.lb2 .tlib-tog.on i{background:var(--tlib-green)}.lb2 .tlib-tog.on i:after{left:17px}
.lb2 .tlib-seg{display:inline-flex;border:1px solid var(--tlib-line);border-radius:10px;overflow:hidden;background:#fff}
.lb2 .tlib-seg button{border:0;background:none;padding:6px 12px;font-size:13px;font-weight:600;color:var(--tlib-muted)}
.lb2 .tlib-seg button small{font-weight:600;opacity:.8}
.lb2 .tlib-seg button.on{background:var(--tlib-deep);color:#fff}
.lb2 select{font:inherit;font-size:13px;border:1px solid var(--tlib-line);border-radius:10px;padding:6px 8px;background:#fff;color:var(--tlib-ink);width:auto;margin:0}
.lb2 .tlib-count{font-size:13px;color:var(--tlib-muted);margin:4px 2px 0}
/* shelves */
.lb2 .tlib-shelf{margin:22px 0 8px}
.lb2 .tlib-shead{display:flex;align-items:flex-end;gap:12px;margin-bottom:10px}
.lb2 .tlib-shead h2{font:700 25px/1.1 Georgia,'Times New Roman',serif;margin:0;color:var(--tlib-ink)}
.lb2 .tlib-shead h2 small{font:600 13px system-ui,sans-serif;color:var(--tlib-muted);margin-left:6px}
.lb2 .tlib-shead p{margin:2px 0 0;color:var(--tlib-muted);font-size:13.5px}
.lb2 .tlib-seeall{background:none;border:0;color:var(--tlib-green);font-weight:700;font-size:13.5px;white-space:nowrap}
.lb2 .tlib-arrows{display:flex;gap:4px;flex:none}
.lb2 .tlib-arrows button{width:34px;height:34px;border-radius:10px;border:1px solid var(--tlib-line2);background:#fff;font-size:15px;color:var(--tlib-ink)}
.lb2 .tlib-arrows button:disabled{opacity:.35;cursor:default}
.lb2 .tlib-subtabs{display:flex;gap:6px;flex-wrap:wrap;margin:-2px 0 10px}
.lb2 .tlib-row{display:grid;grid-auto-flow:column;grid-auto-columns:138px;gap:16px;overflow-x:auto;scroll-behavior:smooth;padding:6px 2px 16px;scrollbar-width:thin}
.lb2 .tlib-row.big{grid-auto-columns:158px}
.lb2 .tlib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:20px 16px;margin:16px 0 30px}
/* a book */
.lb2 .tlib-book{background:none;border:0;padding:0;text-align:left;color:inherit;display:flex;flex-direction:column;gap:6px;min-width:0;width:100%}
.lb2 .tlib-jacket{position:relative;display:block;border-radius:3px 7px 7px 3px;overflow:hidden;aspect-ratio:210/272;background:#2b3a34;box-shadow:0 6px 14px rgba(30,25,15,.22),1px 0 #d9ccb0,3px 1px #efe6d0;transition:transform .2s,box-shadow .2s}
.lb2 .tlib-jacket img{position:relative;width:100%;height:100%;object-fit:cover;display:block}
.lb2 .tlib-fallback{position:absolute;inset:0;display:grid;place-items:center;padding:12px;text-align:center;color:#f3e5c9;font:700 15px/1.2 Georgia,serif}
.lb2 .tlib-book:hover .tlib-jacket,.lb2 .tlib-book:focus-visible .tlib-jacket{transform:translateY(-4px);box-shadow:0 12px 22px rgba(30,25,15,.3),1px 0 #d9ccb0,3px 1px #efe6d0}
.lb2 .tlib-book:focus-visible{outline:none}.lb2 .tlib-book:focus-visible .tlib-jacket{outline:3px solid #c19b49;outline-offset:3px}
.lb2 .tlib-sash{position:absolute;top:10px;right:-30px;transform:rotate(38deg);background:#c8432f;color:#fff;font:800 10px system-ui,sans-serif;letter-spacing:.08em;padding:3px 34px}
.lb2 .tlib-fmt{position:absolute;left:6px;bottom:6px;background:rgba(18,28,24,.82);color:#fff;font:700 10px system-ui,sans-serif;letter-spacing:.06em;border-radius:6px;padding:3px 7px;text-transform:uppercase}
.lb2 .tlib-readmark{position:absolute;right:6px;bottom:6px;background:#fff;color:var(--tlib-green);font:700 10.5px system-ui,sans-serif;border-radius:99px;padding:2px 8px;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.lb2 .tlib-readmark.tlib-lock{color:var(--tlib-goldtx);top:6px;bottom:auto}
.lb2 .tlib-hov{position:absolute;inset:0;background:linear-gradient(0deg,rgba(14,24,20,.88),rgba(14,24,20,.1) 60%);opacity:0;transition:opacity .2s;display:flex;align-items:flex-end;justify-content:center;padding:10px}
.lb2 .tlib-book:hover .tlib-hov{opacity:1}
.lb2 .tlib-hov span{background:var(--tlib-sun);color:var(--tlib-ink);font:700 12px system-ui,sans-serif;border-radius:8px;padding:6px 12px}
.lb2 .tlib-bt{font-weight:700;font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lb2 .tlib-bm{font-size:12px;color:var(--tlib-muted)}
/* plays stage */
.lb2 .tlib-stage{background:linear-gradient(180deg,#4a1f24,#2c1417);border-radius:22px;padding:22px 24px 8px;color:#fff;position:relative;overflow:hidden;margin-top:26px}
.lb2 .tlib-stage:before,.lb2 .tlib-stage:after{content:"";position:absolute;top:0;bottom:0;width:46px;background:repeating-linear-gradient(90deg,#7a2a2f 0 9px,#5b1e22 9px 18px);opacity:.9}
.lb2 .tlib-stage:before{left:0}.lb2 .tlib-stage:after{right:0}
.lb2 .tlib-stage>*{position:relative;margin-left:34px;margin-right:34px}
.lb2 .tlib-stage .tlib-shelf{margin-top:6px}
.lb2 .tlib-stage .tlib-shead h2{color:#fff}.lb2 .tlib-stage .tlib-shead h2 small{color:#e3c9c2}.lb2 .tlib-stage .tlib-shead p{color:#e8cfc8}.lb2 .tlib-stage .tlib-kick{color:var(--tlib-sun)}
.lb2 .tlib-stage .tlib-bt{color:#fff}.lb2 .tlib-stage .tlib-bm{color:#e3c9c2}
.lb2 .tlib-stage .tlib-arrows button{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3);color:#fff}
.lb2 .tlib-stage .tlib-row{grid-auto-columns:148px}
.lb2 .tlib-lights{display:flex;gap:18px;justify-content:center;margin:0 34px 6px}
.lb2 .tlib-lights i{width:8px;height:8px;border-radius:50%;background:#ffe39a;box-shadow:0 0 10px #ffd36a}
.lb2 .tlib-empty{text-align:center;padding:50px 20px;color:var(--tlib-muted)}
.lb2 .tlib-empty b{font:700 22px Georgia,serif;color:var(--tlib-ink);display:block;margin-bottom:6px}
/* the story drawer: a side panel built on the app's dialog */
dialog.orthos-dialog.tlib-drawer{margin:0 0 0 auto;height:100vh;height:100dvh;max-height:100dvh;width:min(470px,100%);max-width:100%;border:0;border-radius:0;padding:0;background:#fffdf8;color:#1f2a24;overflow:hidden;box-shadow:-18px 0 40px rgba(0,0,0,.2)}
dialog.orthos-dialog.tlib-drawer::backdrop{background:rgba(20,26,22,.38);backdrop-filter:none}
dialog.orthos-dialog.tlib-drawer .dialog-close{position:absolute;top:10px;right:12px;z-index:3;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:20px;line-height:1}
.tlib-drawer .tlib-drawer-in{display:flex;flex-direction:column;height:100%}
.tlib-drawer .tlib-dhead{position:relative;overflow:hidden;color:#fff;background:#1f3a33;padding:22px 22px 18px;display:flex;gap:18px;align-items:flex-end;min-height:210px;flex:none}
.tlib-drawer .tlib-dhead .tlib-bg{position:absolute;inset:-30px;filter:blur(24px) saturate(1.2);opacity:.8}
.tlib-drawer .tlib-dhead .tlib-bg img{width:100%;height:100%;object-fit:cover}
.tlib-drawer .tlib-dhead .tlib-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(12,26,22,.88),rgba(12,26,22,.35))}
.tlib-drawer .tlib-dhead>:not(.tlib-bg):not(.tlib-shade){position:relative}
.tlib-drawer .tlib-cov{width:118px;flex:none;border-radius:3px 7px 7px 3px;transform:perspective(600px) rotateY(-10deg);box-shadow:-6px 12px 22px rgba(0,0,0,.55),1px 0 #b6a78b,3px 0 #eee4ca,5px 1px #bba98c}
.tlib-drawer .tlib-kick{font:700 11px system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#e3bf62}
.tlib-drawer h2{font:700 26px/1.12 Georgia,'Times New Roman',serif;margin:4px 0 8px;color:#fff}
.tlib-drawer .tlib-pills{display:flex;flex-wrap:wrap;gap:6px}
.tlib-drawer .tlib-pill{background:rgba(255,255,255,.16);border-radius:99px;padding:3px 10px;font-size:12px;font-weight:600;color:#fff}
.tlib-drawer .tlib-pill.new{background:#c8432f}
.tlib-drawer .tlib-dbody{overflow:auto;padding:18px 22px 22px;display:grid;gap:18px;align-content:start;flex:1}
.tlib-drawer .tlib-dbody h3{font:700 11px system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#7a5a1c;margin:0 0 8px}
.tlib-drawer .tlib-hook{font:16px/1.5 Georgia,serif;margin:0;color:#1f2a24}
.tlib-drawer .tlib-vbars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.tlib-drawer .tlib-vbar{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.tlib-drawer .tlib-tr{height:72px;width:100%;display:flex;align-items:flex-end}
.tlib-drawer .tlib-vbar i{width:100%;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#2f7565,#1F5A4F)}
.tlib-drawer .tlib-vbar b{font-size:12.5px;color:#1f2a24}
.tlib-drawer .tlib-vbar small{font-size:11.5px;color:#5b665f;letter-spacing:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.tlib-drawer .tlib-note{font-size:12.5px;line-height:1.45;color:#5b665f;margin:10px 0 0}
.tlib-drawer .tlib-focus{display:flex;flex-wrap:wrap;gap:6px}
.tlib-drawer .tlib-focus span{border:1px solid #e2d8c4;background:#fff;border-radius:8px;padding:4px 9px;font-size:12.5px;color:#1f2a24}
.tlib-drawer .tlib-sq{background:#fff;border:1px solid #e2d8c4;border-radius:12px;padding:12px 14px;color:#1f2a24}
.tlib-drawer .tlib-sq p{margin:0 0 8px;font-weight:600}
.tlib-drawer .tlib-sq ol{margin:0;padding-left:20px;font-size:14px;display:grid;gap:3px}
.tlib-drawer .tlib-sq li.k{color:#1F5A4F;font-weight:700}
.tlib-drawer .tlib-cast{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;font-size:13.5px;color:#1f2a24}
.tlib-drawer .tlib-cast span{display:flex;justify-content:space-between;gap:8px;border-bottom:1px dotted #cdbf9f;padding:2px 0}
.tlib-drawer .tlib-cast em{font-style:normal;color:#5b665f;font-size:12px;white-space:nowrap}
.tlib-drawer .tlib-cls{display:flex;align-items:center;gap:10px;background:#f6f1e4;border-radius:12px;padding:10px 12px;font-size:14px;color:#1f2a24}
.tlib-drawer .tlib-ring{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;font:700 12px system-ui,sans-serif}
.tlib-drawer .tlib-ring span{width:30px;height:30px;border-radius:50%;background:#f6f1e4;display:grid;place-items:center}
.tlib-drawer .tlib-access{margin:0;font-size:14px;line-height:1.5;color:#1f2a24;background:#f6f1e4;border-radius:12px;padding:12px 14px}
.tlib-drawer .tlib-dfoot{border-top:1px solid #e2d8c4;padding:14px 22px;display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fbf6ea;flex:none}
.tlib-drawer .tlib-dfoot .btn{justify-content:center;text-align:center;margin:0}
.tlib-drawer .tlib-dfoot .tlib-wide{grid-column:1/-1}
.tlib-drawer .tlib-dfoot .btn.gold.tlib-wide{font-size:15px;padding:12px}
/* narrow screens (Chromebook side-by-side, tablets, phones) */
@media (max-width:900px){
  .lb2 .tlib-hero{grid-template-columns:1fr;padding:24px 22px;min-height:0}.lb2 .tlib-fan{display:none}.lb2 .tlib-hero h1{font-size:30px}
  .lb2 .tlib-filters{position:static}
  .lb2 .tlib-frow{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.lb2 .tlib-frow>*{flex:none}.lb2 .tlib-flabel{width:auto}.lb2 .tlib-fsp{display:none}
  .lb2 .tlib-row{grid-auto-columns:120px}.lb2 .tlib-row.big{grid-auto-columns:132px}
  .lb2 .tlib-stage>*{margin-left:18px;margin-right:18px}.lb2 .tlib-stage:before,.lb2 .tlib-stage:after{width:14px}
  .lb2 .tlib-classnow{flex-wrap:wrap}
}
@media (max-width:520px){.lb2 .tlib-shead{flex-wrap:wrap}.lb2 .tlib-arrows{display:none}.tlib-drawer .tlib-cov{width:92px}.tlib-drawer h2{font-size:22px}}
@media (prefers-reduced-motion:reduce){.lb2 *,.tlib-drawer *{transition:none!important;scroll-behavior:auto!important}}
/* css/focus.css */
.focus-workbench{background:#fffdf7;border:1px solid #d8d4c3;border-radius:16px;padding:24px;margin:24px 0}.focus-head,.focus-controls,.focus-preview-label{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.focus-head h2{margin:6px 0 16px}.focus-pilot{font-size:13px;background:#e5eee6;color:#24554d;padding:7px 12px;border-radius:20px}.focus-controls label,.focus-results label{display:grid;gap:6px;font-weight:700}.focus-controls select,.focus-results select{max-width:100%;padding:12px;background:white;border:1px solid #7c8b83;border-radius:8px;font:inherit;color:#213e37}.focus-controls fieldset{border:0;padding:0;margin:0}.focus-controls legend{font-weight:700;margin-bottom:6px}.focus-versions{display:flex;gap:5px}.focus-versions button{width:42px;height:42px;border:1px solid #87938b;border-radius:7px;background:white;color:#24554d;font-weight:700;cursor:pointer}.focus-versions button[aria-pressed=true]{background:#24554d;color:white}.focus-preview-label{border-top:1px solid #ddd7c8;padding:16px 0}.focus-preview-label span{font-size:13px}.focus-description{max-width:780px;line-height:1.6;color:#52605a}.focus-evidence{margin-top:12px}.focus-evidence summary,.focus-look summary,.focus-response-detail summary{cursor:pointer;color:#24554d;font-weight:700}.focus-evidence blockquote{border-left:3px solid #c5a04e;margin:12px 0;padding:6px 14px;font-size:15px;line-height:1.65;background:#f8f5ed}.focus-key article{min-width:0}.focus-assignment-dialog{max-width:920px}.focus-assignment-dialog .teacher-questions{grid-template-columns:1fr}.focus-assign-footer{position:sticky;bottom:-24px;background:#fffdf7;border-top:1px solid #ded4bd;padding:16px 0;z-index:2}.focus-assign-footer p{font-size:14px;max-width:700px}.focus-feedback label{display:grid;gap:8px;font-weight:700;margin:18px 0}.focus-feedback textarea{font:inherit;border:1px solid #9eaaa2;border-radius:8px;padding:12px;resize:vertical}.focus-response-detail>div{border-bottom:1px solid #ddd7c8;padding:14px 0}.focus-reader-note{background:#eee9db;color:#244d42;padding:12px 16px;border-radius:8px}.focus-look{background:#f4f2ea;padding:12px;border-radius:8px;margin:14px 0}.focus-look p{line-height:1.75}.focus-history-link{display:block;color:inherit;margin-bottom:10px}.focus-results select{max-width:min(640px,100%)}.focus-results .inbox-head>label{min-width:0}.focus-workbench [hidden]{display:none}.focus-results .response-card{margin:16px 0}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #be9131;outline-offset:3px}
@media(max-width:650px){.focus-workbench{padding:16px}.focus-controls{display:block}.focus-controls fieldset{margin-top:16px}.focus-controls select{width:100%}.focus-results .inbox-head{display:block}.focus-results select{width:100%;font-size:14px}.focus-assign-footer{bottom:-16px}.focus-head{gap:8px}}
/* v50: preview of the current assignment */
.focus-current{background:#eef6f1;border:1px solid #9cc5b0;border-left:5px solid #1F5A4F;border-radius:12px;padding:12px 16px;margin:0 0 16px;color:#1f2a24;font-size:15px;line-height:1.45}
/* css/teacher-night.css */
/* Teacher's reading desk: the student's nighttime library, with paper for close work.
   All rules are scoped to teacher surfaces; reader preferences and student rooms stay independent. */
.teacher-bar,.t-page,.teacher-library,.teacher-dialog{--desk-ink:#302c25;--desk-muted:#665c4a;--desk-paper:#f6eedb;--desk-gold:#e2bf78;--desk-cream:#f5e8cb;--desk-dim:#c5b59b;--desk-wood:#67472e;--desk-green:#213b33}
.teacher-bar{background:linear-gradient(180deg,#292018,#17130f);color:var(--desk-cream);border-bottom:1px solid #85613c;box-shadow:0 3px 0 #0c0a08,0 5px 0 #4f3824,0 12px 28px #0004;padding:14px 26px;z-index:30}
.teacher-bar .ap-brand,.teacher-bar .signout,.teacher-bar .ap-link{color:#eddfc4}.teacher-bar .ap-brand svg{background:#294b3c;border-radius:50%;box-shadow:0 0 0 1px #7f7950}
.teacher-space-label{color:#c9ad7a;letter-spacing:.16em}.teacher-nav{background:#100f0c;border:1px solid #5f4a32;box-shadow:inset 0 2px 5px #0007;padding:4px;border-radius:9px}
.teacher-nav .ap-link{border-radius:6px}.teacher-nav .current{background:linear-gradient(#3d5f4b,#294737);color:#fff1d3;box-shadow:inset 0 1px #9aaa6660,0 2px 4px #0005}.teacher-nav .ap-link:hover{background:#38503b}.teacher-bar .signout:hover{color:#ffdb8f}
.t-page,.teacher-library.library-page{color:var(--desk-cream);background:radial-gradient(ellipse at 85% 0,#67502d30,transparent 45%),radial-gradient(ellipse at 0 300px,#3d574226,transparent 45%),repeating-linear-gradient(90deg,transparent 0,transparent 239px,#b68a5012 240px,#0002 242px,transparent 244px),linear-gradient(180deg,#1b201b,#19150f 760px,#16120e);min-height:calc(100vh - 70px)}
.t-page>.wrap,.teacher-library>.wrap{max-width:1240px;padding-top:38px;padding-bottom:60px}.t-page .h-kick,.teacher-library .h-kick{color:#d8b779;font-size:10px;letter-spacing:.14em}
.t-page h1,.teacher-library .library-heading h1,.teacher-home h1,.classroom-page .t-head h1{color:#f6e8c9;font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}.t-page h2{color:inherit}
.t-page .workspace-note,.t-page .class-joined,.t-page .privnote,.t-page .reader-nickname{color:#c5b79e}.t-page .workspace-note{max-width:900px}
.t-page .btn,.teacher-library .btn{border-radius:8px}.t-page .btn.dark,.teacher-library .btn.dark{background:linear-gradient(#3e6754,#2d4e3d);color:#fff1d3;border:1px solid #74866b;box-shadow:0 3px 0 #17291f,inset 0 1px #d3dea225}
.t-page .btn.gold,.teacher-library .btn.gold{background:linear-gradient(#f1d18a,#dbad50);color:#342615;box-shadow:0 3px 0 #8d6429,inset 0 1px #fff4cb}
.t-page .btn.ghost,.teacher-library .btn.ghost{color:#eddfc4;background:#29231a;box-shadow:inset 0 0 0 1px #7d6a4a}.t-page .linkbtn{color:#e0c38b}.t-page .btn:focus-visible,.teacher-bar a:focus-visible,.teacher-library a:focus-visible,.t-page a:focus-visible{outline:3px solid #f4cc77;outline-offset:4px}
/* Cabinet construction: warm edge, inner bevel, grain and a raised lower ledge. */
.teacher-welcome,.teacher-book-hero,.class-assignment.featured-reading{position:relative;isolation:isolate;background:radial-gradient(ellipse at 78% 5%,#8b71303b,transparent 60%),linear-gradient(120deg,#263c30,#1b2c24 70%);border:9px solid #67472e;border-radius:15px;box-shadow:inset 0 0 0 2px #b48b4a55,inset 0 0 45px #03080577,0 2px 0 1px #bd9254,0 8px 0 #382515,0 16px 30px #0005;margin-bottom:42px}
.teacher-welcome:after,.teacher-book-hero:after,.class-assignment.featured-reading:after{content:'';position:absolute;left:-9px;right:-9px;bottom:-9px;height:9px;border-radius:0 0 5px 5px;background:linear-gradient(#bc925d,#87623c 30%,#a47a46 65%,#4b301d);pointer-events:none}
.teacher-welcome{padding:35px 38px 24px;grid-template-columns:minmax(0,1fr) 340px;gap:36px}.teacher-welcome h1{font-size:49px;color:#f6e8c9}.teacher-welcome p{color:#d1c5a8}.teacher-welcome .h-kick{color:#ddbd79}
.welcome-bookcase{border:7px solid #67472e;border-bottom:0;background:radial-gradient(ellipse at 50% 10%,#a1873445,transparent 55%),linear-gradient(#101d25,#1b2e2e);box-shadow:inset 0 0 0 2px #bc95555c,inset 0 0 24px #0008;border-radius:130px 130px 0 0;padding:31px 24px 0}
.welcome-bookcase:before{content:'✦';position:absolute;top:25px;left:50%;color:#efdba2;font-size:22px;text-shadow:0 0 25px #f7d26b}.bookcase-plaque{color:#dac28c;font-size:9px;margin:21px 0 20px;letter-spacing:.15em}.welcome-ledge{width:calc(100% + 76px);height:20px;box-shadow:0 7px 10px #0008}.welcome-books{gap:16px}.welcome-books .teacher-jacket{width:76px}.welcome-books .teacher-jacket:nth-child(2){width:91px}
.class-shelf-heading h2{color:#f0dfbb;font-size:29px}.class-shelf-heading>span{color:#bfaf93}.teacher-class-card{background:#28251c;border:1px solid #8b6944;border-top:5px solid #916c42;box-shadow:inset 0 0 0 3px #483422,0 6px 0 #0c0b09,0 12px 20px #0003;border-radius:9px;color:#efdfc1}.teacher-class-card:hover{border-color:#dfb36d;box-shadow:inset 0 0 0 3px #69482a,0 6px 0 #0c0b09,0 12px 22px #0005;transform:translateY(-2px)}
.class-card-heading h2{color:#f4e4c1}.class-access-label{color:#cfdfba;background:#2f4434;border-color:#5f7855}.class-card-reading h3{color:#f1dfb8}.class-card-reading p{color:#c8b99b}.class-card-shelf{background:radial-gradient(ellipse at top,#48614b,#10251f);border:1px solid #6d5736;box-shadow:inset 0 0 18px #0009}.class-card-footer{background:#1c1b15;border-color:#59482f;color:#c4b393}.class-card-footer b{color:#e7c07b}
.new-library-class{background:#24251c;border-color:#807052;color:#eee0be;box-shadow:inset 0 0 35px #0002}.new-library-class h2{color:#f0dfbc}.new-library-class p,.new-library-class label{color:#c6b79b}.class-add-icon{border-color:#8a7652;color:#e2c17e}.new-library-class .nickin,.new-library-class .seatsel input{background:#171a13;color:#f4e6c7;border-color:#796c4b}.new-library-class input::placeholder{color:#acaa8c}
.t-page .school-access,.teacher-home .school-access.approved{background:#222f25;color:#dddec5;border-color:#58634a}.t-page .school-access p{color:#c7c8ae}.t-page .school-access h2{color:#eadeb8}
/* Story and classroom stands share the same three-dimensional shelf. */
.teacher-book-hero{padding:28px 32px;gap:35px;margin-top:27px}.teacher-book-hero h1{font:700 43px/1.15 Georgia,serif;color:#f4e5c5}.teacher-book-hero p,.featured-reading .featured-hook{color:#d0c4aa}.teacher-book-hero .workspace-note,.featured-reading .featured-instructions{color:#baaf95}
.teacher-preview-bookstand,.featured-bookstand{background:radial-gradient(ellipse at 50% 5%,#8f743b66,transparent 65%),linear-gradient(180deg,#14271f,#1f3326);border:1px solid #947644;border-bottom:0;box-shadow:inset 0 0 0 5px #8b6d3720,inset 0 0 20px #0007}.teacher-preview-bookstand:after,.featured-bookstand:after{box-shadow:0 5px 5px #0008}.teacher-preview-bookstand>span,.featured-bookstand>span{color:#d6bb83;letter-spacing:.14em}.featured-reading h2{color:#f6e5bf;font-family:Georgia,serif}.featured-reading .class-actions .linkbtn{color:#cfbb94}
.assignment-progress{border-color:#72805a55}.assignment-stat,.featured-reading small{color:#c5b89b}.assignment-stat b{color:#f3d591}.assignment-stat.finished b{color:#b4d399}.classroom-page .inbox-assignment-note{background:#2a3023;color:#cfc9a7;border-color:#626141}.classroom-page .inbox-assignment-note .linkbtn{color:#e0c78f}
/* Classroom controls and reports: dark surrounds, restrained paper surfaces. */
.classroom-page .workspace-controls nav,.classroom-page .time-filters{background:#1a1c15;border-color:#675c3e;box-shadow:inset 0 2px 4px #0005}.workspace-controls button{color:#cdbfa3}.workspace-controls button[aria-pressed=true]{background:#3a5742;color:#fff2ce;box-shadow:inset 0 1px #c4d39d44}.classroom-page .workspace-summary span{background:linear-gradient(115deg,#303a29,#242b21);color:#c5c4a6;border-color:#626448;box-shadow:inset 0 1px #bec39222}.workspace-summary b{color:#eed28d}.t-page .inbox-head p{color:#c3b397}
.t-page .activity-list,.t-page .response-card,.t-page .question-result,.t-page .inbox-empty,.t-page .simple-table,.t-page .roster,.t-page .card,.t-page .tl,.t-page .modal{background:#f4eddd;color:#322f27;border-color:#b3a17c;box-shadow:0 4px 0 #49351e,0 9px 25px #0003}.t-page .activity-list article{border-color:#d6c8ab}.t-page .activity-list article:hover{background:#fff5df}.t-page .activity-identity small,.t-page .activity-book span,.t-page .response-heading p,.t-page .response-footer span,.t-page .response-card .evidence-note,.t-page .question-metric span{color:#6b604d}
.t-page :is(.card,.response-card,.activity-list,.modal,.question-result) .btn.ghost{background:#ede4cf;color:#3f4a32;box-shadow:inset 0 0 0 1px #b5aa8b}.t-page .response-card blockquote{background:#e5e6d4;border-color:#75825a;color:#354335}.t-page .response-card .student-response{color:#342c21}.t-page .response-footer,.t-page .feedback-form{border-color:#c8bea1}.t-page .response-footer a{color:#365c3f}.t-page .feedback-form small,.t-page .feedback-form label{color:#625b49}.t-page .feedback-form textarea,.t-page .focus-feedback textarea{background:#fffaf0;color:#302c25;border-color:#a29879}
.t-page .seat-number{color:#3d5239;background:#dce2cb}.t-page .reading-status{color:#615d4d;background:#e4dfcc}.t-page .reading-status.reading{color:#745019;background:#f4e0a4}.t-page .reading-status.finished{color:#315b3d;background:#d6e5cf}.t-page .reading-status.already{color:#655083;background:#e5dff0}
.t-page .question-results select,.t-page .focus-results select{background:#f4ebd6;border-color:#a99b78;color:#354631}.t-page .question-result .h-kick{color:#7c602f}.t-page .question-result .correct{color:#30573c;background:#dfe8d3}.t-page .simple-table th,.t-page .roster th{background:#e5ddc9;color:#5a563f}.t-page .simple-table td,.t-page .roster td{border-color:#d7ccb3}.t-page .roster .linkbtn{color:#365e43}.t-page .roster .reader-nickname{color:#6a6655}.t-page .roster tr.empty td{color:#777261}.t-page .privnote{line-height:1.6}
.t-page .focus-results .workspace-note{color:#c7b89d}.t-page .focus-results .response-card :is(summary,label){color:#3f5136}.t-page .focus-results .response-card .focus-evidence blockquote{background:#e9e2cf;color:#3c3b2e}.t-page .focus-response-detail>div{border-color:#c9bba0}
/* Wood-framed focus selector with brass version tabs. */
.teacher-book-page .focus-workbench,.teacher-dialog .focus-workbench{padding:0;background:transparent;border:0;box-shadow:none;margin:0 0 30px;border-radius:0;color:#f2e4c5}
.focus-head{padding:0 2px 20px;gap:16px}.focus-head h2{font:700 33px/1.2 Georgia,serif;margin:8px 0 0;color:#f6e6c4}.focus-pilot{border:1px solid #807348;background:#2f3524;color:#e3d3a8;font-size:11px;letter-spacing:.03em}
.focus-controls{position:relative;gap:24px;padding:21px 25px;background:linear-gradient(105deg,#303b2d,#202c22);border:1px solid #8c7047;border-radius:8px;box-shadow:0 4px 0 #50381f,0 5px 0 #b08b4b66,inset 0 0 0 4px #4c4b302e}
.focus-controls label,.focus-controls legend{color:#dcd2b4;font-size:12px;letter-spacing:.03em}.focus-controls label{flex:1;max-width:440px}.focus-controls select{background:#f0e6cd;color:#303f2e;border-color:#bbab80;padding:12px 16px;font-size:15px;font-weight:700;box-shadow:0 2px 0 #10190e}
.focus-versions{gap:6px}.focus-versions button{background:#151e17;color:#d7cfac;border-color:#7a7851;border-radius:6px;width:43px;height:43px;box-shadow:inset 0 1px #c2c18f22,0 2px 0 #0e130c}.focus-versions button[aria-pressed=true]{background:linear-gradient(#f2d28e,#d6ac57);color:#352c18;border-color:#e6ce92;box-shadow:0 2px 0 #7f5d29,0 0 16px #e7c77b17}.focus-versions button:hover{border-color:#f2d48e}
.focus-description{font-size:13px;line-height:1.65;color:#c8bba0;max-width:830px;margin:18px 2px 22px}.focus-preview-label{padding:18px 2px;border-top:1px solid #76603d77;color:#ebd9b2}.focus-preview-label b{font:700 21px Georgia,serif}.focus-preview-label span{font-size:11px;color:#bdad8e;letter-spacing:.02em}.focus-workbench>.workspace-note,.focus-workbench #focus-preview-body>.workspace-note{color:#baad91;font-size:11px}.focus-workbench [hidden]{display:none}
/* Question sheets: a numbered student page paired with a distinct teacher margin. */
.teacher-questions.question-sheets{display:grid;grid-template-columns:1fr;gap:26px;margin:0 0 30px}
.teacher-questions .question-sheet{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);padding:0;background:#f5efdf;border:1px solid #b6a27b;border-left:6px solid #8a653c;border-radius:9px;overflow:hidden;box-shadow:0 3px 0 #d0c2a6,0 5px 0 #725336,0 12px 25px #0005;color:#332e25}
.question-student-side{padding:28px 30px;min-width:0;background:linear-gradient(90deg,#e7dcc14d,transparent 18px),#f5efdf}
.question-sheet-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.teacher-questions .question-sheet .h-kick{display:block;color:#7b602f;font-size:10px;letter-spacing:.12em;font-weight:750}.question-number{display:grid;place-items:center;flex:none;width:39px;height:43px;color:#f2d89e;background:linear-gradient(#37533e,#243f30);font:700 19px Georgia,serif;border:1px solid #627653;border-radius:4px 4px 10px 10px;box-shadow:0 2px 0 #172d21}.question-format{display:block;font-size:11px;color:#776b53;margin-top:5px}
.teacher-questions .question-sheet h3{font-size:20px;line-height:1.5;color:#2e3329;margin:0 0 21px;max-width:700px;font-weight:750;letter-spacing:-.015em}
.teacher-questions .question-options{list-style:none;padding:0;display:grid;grid-template-columns:1fr;gap:8px;margin:0}
.teacher-questions .question-options li{display:flex;align-items:center;gap:12px;min-height:46px;padding:9px 13px;background:#fffbf1;border:1px solid #d9ceb3;border-radius:6px;font-size:14px;line-height:1.45;color:#534d3d;position:relative}
.option-letter{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid #cdbf9d;border-radius:5px;color:#706449;font-size:12px;font-weight:750;background:#f0e8d4}.option-text{flex:1}.teacher-questions .question-options li.correct{background:#e0e9d3;color:#294834;border-color:#94aa7e}.correct .option-letter{background:#3c6347;color:#fff9e4;border-color:#3c6347}.option-check{color:#32613d;font-weight:800;font-size:18px}
.question-teacher-side{padding:30px 26px;background:linear-gradient(110deg,#e8dfca,#eee5d1);border-left:1px solid #c9bb99;box-shadow:inset 5px 0 8px #6c5e3b07;min-width:0;position:relative}
.question-note-label{display:block;font-size:9px;letter-spacing:.16em;color:#796239;font-weight:800;padding-bottom:16px;border-bottom:1px solid #cabc9a;margin-bottom:20px}.question-answer-key{display:flex;align-items:flex-start;gap:11px}.answer-key-letter{background:#30523c;color:#f5e9c9;display:grid;place-items:center;flex:none;height:29px;width:29px;border-radius:50%;font:700 14px Georgia,serif}.question-answer-key>div>span{display:block;font-size:10px;color:#6a7053;text-transform:uppercase;letter-spacing:.08em;font-weight:750;margin:0 0 7px}.question-answer-key b{font-size:15px;color:#354a31;line-height:1.5;font-weight:750}
.teacher-questions .answer-why{color:#605946;font-size:13px;line-height:1.75;margin:18px 0 22px}.teacher-questions .question-source{border-top:1px solid #c8bb99;margin-top:14px;padding-top:14px;font-size:13px;color:#57543f;line-height:1.7}.teacher-questions .question-source summary{display:list-item;font-weight:750;color:#405d3b;font-size:12px;cursor:pointer}.question-source summary span{float:right;font-size:15px;color:#8c7447}.question-source blockquote{margin:14px 0 0;border-left:2px solid #9b8350;padding:0 0 0 12px}.question-source blockquote b{color:#806b3e;font-size:10px;letter-spacing:.04em}.question-source blockquote p{margin:5px 0 0;color:#54513d;font:14px/1.7 Georgia,serif}.question-source>p{color:#54513d!important;font-size:13px}.question-source-ref{color:#766a50;font-size:12px;line-height:1.65;padding-top:14px;border-top:1px solid #c8bb99}
.teacher-questions .written-key{grid-column:1/-1;border-left-color:#ad8744}.written-key .question-number{background:#8d6a31;border-color:#aa884c;color:#ffefc3;font-size:25px}.question-writing-lines{margin-top:28px}.question-writing-lines i{display:block;height:29px;border-bottom:1px solid #cbbb9c80}.teacher-questions .question-rubric{list-style:none;padding:0;margin:0}.teacher-questions .question-rubric li{font-size:13px;color:#5b563f;line-height:1.6;padding:0 0 12px 18px;position:relative}.question-rubric li:before{content:'✓';position:absolute;left:0;color:#627547;font-size:11px}.teacher-question-heading h2{color:#f0dfb9}.teacher-question-heading>span{background:#34432e;color:#d3d7b4;border:1px solid #697650}
/* Dialogs keep the same desk, with paper only where someone types or reads work. */
.orthos-dialog.teacher-dialog{background:linear-gradient(130deg,#293728,#1d261c);color:#f0e3c5;border:5px solid #785737;border-radius:12px;box-shadow:0 0 0 1px #b59159,0 25px 80px #000a}.teacher-dialog::backdrop{background:#080c09bd;backdrop-filter:blur(4px)}.teacher-dialog .dialog-close{color:#efdbb0;background:#3c4831;border:1px solid #8a8051}.teacher-dialog h2,.teacher-dialog .assignment-dialog h2{color:#f3e3be}.teacher-dialog p,.teacher-dialog .assignment-dialog p{color:#c9bea0}.teacher-dialog .h-kick{color:#d4b574}.teacher-dialog .focus-controls{padding:18px;gap:16px}.teacher-dialog .focus-description{color:#c9bea0}.teacher-dialog .focus-head h2{font-size:25px}.teacher-dialog .focus-head{padding-bottom:16px}.teacher-dialog .focus-workbench{margin-top:30px}.teacher-dialog .assignment-dialog>label{color:#e1d4b2}.teacher-dialog .focus-assign-footer{background:#202c20;border-top:1px solid #817048;padding:18px 0 8px}.teacher-dialog .focus-assign-footer p{font-size:12px;color:#c3b798}.teacher-dialog .question-sheet{grid-template-columns:minmax(0,1.45fr) minmax(210px,1fr)}.teacher-dialog .question-student-side{padding:22px}.teacher-dialog .question-teacher-side{padding:25px 20px}.teacher-dialog .join-settings{color:#eadbb8}.teacher-dialog .join-settings p{color:#cfc4a7}.teacher-dialog .join-settings h2{color:#f1dfb6}.teacher-dialog .invite-code{background:#eee4cc;color:#31402d;border-color:#b6a37b}.teacher-dialog .version-note{border-color:#7e7750}.teacher-dialog .version-note span{color:#cabd9a}.teacher-dialog .btn.ghost{background:#394330;color:#eddfb9;box-shadow:inset 0 0 0 1px #82784e}
/* Teacher catalog keeps the real wooden shelf and bright cover art. */
.teacher-library .library-heading h1{color:#f5e5c2}.teacher-library .library-heading p,.teacher-library-note,.teacher-library .library-count,.teacher-library .shelf-heading p,.teacher-library .genre-select{color:#c4b598}.teacher-library-note{border-color:#635338}.teacher-library-note span:before{color:#e1be78}.teacher-library .search-books,.teacher-library .genre-select select{background:#242c21;border-color:#827450;color:#dfd5b7}.teacher-library .search-books input{color:#f2e7cc}.teacher-library .search-books input::placeholder{color:#b8ad91}.teacher-library .library-tabs button{color:#d3c29f}.teacher-library .library-tabs button.on{background:#dcbc78;color:#342b1a;border-color:#e3cb8c}.teacher-library .library-tabs button:hover:not(.on){background:#38412c;border-color:#81704b}.teacher-library .shelf-heading h2{color:#efdfba}.teacher-library .shelf-heading h2 small{color:#b6a383}.teacher-library .shelf-arrows button{color:#ecd7a8;background:#2d3021;border-color:#7f6b46}
.teacher-library .wood-shelf{background:linear-gradient(to bottom,transparent 0,transparent calc(var(--book-h) + 24px),#b28a50 calc(var(--book-h) + 24px),#d1a86c calc(var(--book-h) + 27px),#8c6339 calc(var(--book-h) + 32px),#47301c calc(var(--book-h) + 46px),#17150f calc(var(--book-h) + 50px)),repeating-linear-gradient(90deg,transparent 0,transparent 203px,#0d080650 204px,#f2cc8a12 205px,transparent 206px),linear-gradient(180deg,#332619,#5b432c 32%,#2f2218 68%);scrollbar-color:#866d47 #221c13;box-shadow:inset 0 1px #a68450,0 4px 14px #0004}.teacher-library .book-name{color:#eaddbd}.teacher-library .book-name:hover{color:#ffe2a0}.teacher-library .book-state,.teacher-library .member-preview .book-state{color:#b5a688}.teacher-library .teacher-shelf-link{color:#ecdbb3;background:#30422e;border-color:#73784f}.teacher-library .teacher-shelf-link:hover{background:#435638}.teacher-library .library-empty{border-color:#716244}.teacher-library .library-empty p{color:#c6b795}
/* Preserve contrast on the remaining paper panels and in the assignment dialog. */
.t-page .simple-table .reader-nickname{color:#6a6655}.t-page .ccode{background:#f4eddd;color:#3d4c33;border-color:#b3a17c;box-shadow:0 3px 0 #49351e}.t-page .ccode :is(small,span){color:#655c46}
.t-page .teacher-daily{background:linear-gradient(110deg,#2d4031,#222f25);color:#f0dfbb;border:1px solid #7e764d}.t-page .teacher-daily h2{color:#f3e2bf}.t-page .teacher-daily p{color:#cbbf9f}.t-page .teacher-daily .h-kick{color:#ddbd79}
.t-page :is(.card,.simple-table,.response-card,.question-result) .linkbtn{color:#365e43}.t-page .card .workspace-note{color:#6a604d}.teacher-dialog .question-sheet p{color:#605946}.teacher-dialog .question-sheet .question-source blockquote p{color:#54513d}
@media(max-width:950px){.teacher-welcome{grid-template-columns:minmax(0,1fr) 270px;padding:28px;gap:24px}.welcome-bookcase{padding-inline:15px}.welcome-books{gap:10px}.welcome-books .teacher-jacket{width:62px}.welcome-books .teacher-jacket:nth-child(2){width:76px}.welcome-ledge{width:calc(100% + 57px)}.teacher-book-hero h1{font-size:35px}.teacher-questions .question-sheet{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.question-student-side{padding:25px}.question-teacher-side{padding:25px 22px}.teacher-dialog .question-sheet{grid-template-columns:1fr}.teacher-dialog .question-teacher-side{border-left:0;border-top:1px solid #c9bb99}}
@media(max-width:700px){.teacher-bar{padding:11px 16px}.t-page>.wrap,.teacher-library>.wrap{padding-top:27px;padding-inline:20px}.teacher-welcome{grid-template-columns:minmax(0,1fr) 150px;gap:18px;padding:23px 20px;border-width:6px}.teacher-welcome h1{font-size:34px}.teacher-welcome p{font-size:13px}.welcome-bookcase{border-width:5px;padding:20px 13px 0}.welcome-bookcase:before{top:15px;font-size:18px}.bookcase-plaque{font-size:7px;margin:20px 0 14px}.welcome-books .teacher-jacket{display:none}.welcome-books .teacher-jacket:first-child{display:block;width:80px}.welcome-ledge{width:calc(100% + 48px)}.teacher-book-hero,.class-assignment.featured-reading{border-width:6px;padding:22px 20px;gap:22px}.teacher-book-hero h1{font-size:32px}.teacher-welcome:after,.teacher-book-hero:after,.class-assignment.featured-reading:after{left:-6px;right:-6px;bottom:-6px;height:6px}.focus-head h2{font-size:29px}.focus-controls{padding:18px;gap:17px}.focus-controls label{max-width:none;flex-basis:100%}.focus-controls fieldset{margin-top:0}.focus-versions button{width:40px;height:40px}.focus-preview-label{gap:9px}.focus-preview-label b{font-size:19px}.teacher-questions .question-sheet{grid-template-columns:1fr;border-left-width:4px}.question-student-side{padding:22px}.question-teacher-side{border-left:0;border-top:1px solid #c9bb99;padding:22px}.teacher-questions .question-sheet h3{font-size:19px}.question-note-label{padding-bottom:11px;margin-bottom:14px}.question-writing-lines{margin-top:15px}.question-writing-lines i{height:22px}.teacher-dialog .focus-controls{padding:14px}.teacher-dialog .focus-versions{gap:5px}.teacher-dialog .focus-versions button{width:35px;height:39px}.teacher-dialog .focus-assign-footer{bottom:-16px}.teacher-dialog .focus-preview-label b{font-size:18px}.teacher-dialog .focus-description{font-size:12px}}
@media(max-width:480px){.teacher-welcome{grid-template-columns:1fr;overflow:hidden;padding:26px}.teacher-welcome>div:first-child{position:relative;z-index:1}.teacher-welcome .welcome-bookcase{display:none}.teacher-welcome h1{font-size:39px}.teacher-welcome:before{content:'✦';position:absolute;right:26px;top:20px;font-size:28px;color:#d9be72;opacity:.65}.teacher-book-hero{flex-direction:column;gap:22px;padding:22px}.teacher-preview-bookstand{width:140px;min-height:191px;align-self:center}.teacher-book-hero h1{font-size:32px}.teacher-book-hero .class-actions{gap:12px}.teacher-book-hero .class-actions .btn{flex:1;padding:11px;font-size:12px}.focus-head{gap:10px}.focus-head h2{font-size:27px}.focus-pilot{font-size:10px;padding:5px 9px}.focus-controls{display:flex}.focus-controls fieldset{width:100%}.focus-versions{justify-content:space-between}.focus-controls select{width:100%;font-size:14px}.focus-preview-label{align-items:flex-start;flex-direction:column}.teacher-questions .question-options li{padding:10px;gap:10px;font-size:14px}.question-student-side,.question-teacher-side{padding:20px}.teacher-dialog .focus-head{display:block}.teacher-dialog .focus-pilot{display:inline-block;margin-top:12px}.teacher-dialog .question-student-side,.teacher-dialog .question-teacher-side{padding:18px}.teacher-dialog .focus-controls select{font-size:13px;padding-inline:10px}.teacher-dialog .focus-versions button{width:31px;height:37px}.classroom-page .workspace-controls nav button{font-size:12px}.teacher-library .library-heading h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){.teacher-class-card{transition:none}.teacher-class-card:hover{transform:none}}
@media print{.t-page{background:white!important;color:#222!important}.teacher-bar{display:none}.t-page .modal,.t-page .card{box-shadow:none!important;background:white!important;color:#222!important}.question-sheet{break-inside:avoid;box-shadow:none!important}.question-teacher-side{background:#f3f0e7}.t-page .workspace-note{color:#555}.t-page .seatc{color:#222;background:white}}
/* css/teacher-identity.css */
.teacher-avatar-link{width:44px;height:44px;border:1px solid #ab884c80;background:radial-gradient(ellipse at top,#5c5037,#1a2723);border-radius:50%;overflow:hidden;display:grid;place-items:center;flex-shrink:0}
.teacher-avatar-link svg{width:45px;height:50px;transform:translateY(5px)}
.teacher-avatar-link:focus-visible{outline:3px solid #f3ca64;outline-offset:3px}
.identity-intro{text-align:center;max-width:720px;margin:28px auto 36px}.identity-intro h1{font-size:clamp(34px,5vw,56px);margin:10px 0}.identity-intro p{line-height:1.7;color:#c9bea7}
.faculty-lineup{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch}
.faculty-card{font:inherit;text-align:center;min-width:0;padding:0 14px 18px;display:flex;align-items:center;flex-direction:column;color:#efe5cc;background:linear-gradient(125deg,#443724,#201e19 68%);border:1px solid #746044;border-radius:76px 76px 16px 16px;box-shadow:inset 0 0 0 5px #30291e,0 16px 24px #0004;cursor:pointer;transition:transform .18s,border-color .18s}
.faculty-card:hover{transform:translateY(-5px);border-color:#dbc078}.faculty-card.selected{border:2px solid #f3c55d;padding:0 13px 17px;box-shadow:0 0 0 3px #dfb45a28,0 18px 28px #0005;background:radial-gradient(ellipse at 50% 30%,#5d5940,#29332b 70%)}
.faculty-card:focus-visible{outline:3px solid #fff0ba;outline-offset:4px}.faculty-portrait{display:block;width:100%;max-width:210px;margin:8px 0 0}.faculty-portrait svg{display:block;width:100%;height:auto}.faculty-name{font-weight:800;font-size:18px;margin:7px 0}.faculty-note{font-size:13px;line-height:1.5;min-height:60px;color:#cbbda4;max-width:190px}.faculty-choice{font-size:13px;font-weight:800;letter-spacing:.02em;color:#dfc58a;margin-top:auto;padding-top:12px}.selected .faculty-choice{color:#ffe19b}
.identity-confirm{text-align:center;margin:34px auto}.identity-confirm>a{display:block;color:#dbc48b;margin:16px}.identity-confirm .fine{color:#b9b19f}
.focus-controls .question-length{min-width:240px}.question-length small{display:block;color:#c9bda6;margin-top:8px}.focus-length-note{font-size:14px;line-height:1.6;color:#d4c8ae;margin:8px 0}.focus-availability{padding:12px 16px;border-left:3px solid #b49a5c;background:#ffffff06;color:#cabea6;font-size:14px;line-height:1.6}.focus-availability a{color:#f0d189}.focus-controls option:disabled{color:#978c7b}
@media(max-width:1000px){.faculty-lineup{grid-template-columns:repeat(3,minmax(0,1fr));max-width:780px;margin:auto}}
@media(max-width:580px){.faculty-lineup{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.faculty-lineup .faculty-card:last-child{grid-column:1/-1;width:calc(50% - 6px);justify-self:center}.faculty-name{font-size:16px}.faculty-note{font-size:12px;min-height:64px}.identity-intro{margin:20px auto}.faculty-card{padding-left:9px;padding-right:9px}.faculty-card.selected{padding-left:8px;padding-right:8px}.teacher-avatar-link{width:36px;height:36px}.teacher-avatar-link svg{width:38px}}
@media(prefers-reduced-motion:reduce){.faculty-card{transition:none}.faculty-card:hover{transform:none}}
/* Version pills are square; question-length choices need room for their labels. */
.focus-controls .question-length .focus-versions{gap:8px;flex-wrap:wrap}
.focus-controls .question-length .focus-versions button{width:auto;min-width:140px;height:auto;min-height:44px;padding:11px 14px;white-space:normal;line-height:1.35}
.focus-controls .question-length{flex:1;max-width:440px}
/* css/book-depth.css */
/* Book objects share real paper edges, a fabric spine and a soft curved cover. */
.book-jacket,.teacher-jacket{transform:perspective(900px) rotateY(-9deg);transform-origin:left center;box-shadow:-7px 9px 14px #0008,1px 0 #b6a78b,3px 0 #eee4ca,5px 1px #bba98c,7px 1px #f0e5cc,9px 2px #68513b;border-radius:3px 6px 6px 3px}
.book-jacket:after,.teacher-jacket:after{z-index:3;background:linear-gradient(90deg,#fff3 0%,#fff1 1%,#0007 3%,#0001 6%,#fff2 7%,transparent 10%,transparent 88%,#fff1 96%,#0004 100%),repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 3px);box-shadow:inset 1px 0 #fff4,inset -1px 0 #0004;border-radius:inherit}
.book-jacket:hover{transform:perspective(900px) rotateY(-4deg) translateY(-8px);box-shadow:-9px 16px 22px #0009,1px 0 #b6a78b,3px 0 #eee4ca,5px 1px #bba98c,7px 1px #f0e5cc,9px 2px #68513b}
.reading-space .book2{padding:10px 10px 12px;isolation:isolate;perspective:1800px;overflow:visible;border-radius:12px 16px 16px 12px;background:repeating-linear-gradient(45deg,#ffffff06 0 1px,#00000005 1px 3px),var(--reading-accent);box-shadow:inset 0 1px 2px #fff6,inset 0 -2px 3px #0008,0 2px 0 #102c28,0 7px 0 -2px #6a634f,0 12px 0 -4px var(--reading-accent),0 22px 32px -8px #0008;margin:28px 12px 20px}
.reading-space .book2:before{content:'';position:absolute;z-index:-1;inset:15px -5px -6px 13px;border-radius:5px 11px 12px 6px;background:repeating-linear-gradient(0deg,#d7ccb3 0 1px,#f1e8d3 1px 3px,#9e957e 3px 4px);box-shadow:2px 3px 4px #0005}
.reading-space .pg2{border-radius:3px 2px 4px 4px;box-shadow:0 1px 3px #0002}
.reading-space #pgL:after,.reading-space #pgR:after{content:'';position:absolute;top:0;bottom:0;width:36px;pointer-events:none;z-index:2}
.reading-space #pgL:after{right:0;background:linear-gradient(90deg,transparent,#99896b12 45%,#66513735 95%,#332b2245)}
.reading-space #pgR:after{left:0;background:linear-gradient(90deg,#332b2245,#66513730 7%,#99896b10 55%,transparent)}
.reading-space .book2.single{max-width:830px;margin-left:auto;margin-right:auto}.reading-space .book2.single #pgL:after{left:0;right:auto;width:22px;background:linear-gradient(90deg,#66513720,transparent)}
.reading-space[data-paper=night] .book2:before{background:repeating-linear-gradient(0deg,#59564e 0 1px,#827968 1px 3px,#3a3832 3px 4px)}
.book-turn-leaf{position:absolute;z-index:8;transform-style:preserve-3d;pointer-events:none}.book-turn-front,.book-turn-back{position:absolute;inset:0;backface-visibility:hidden;overflow:hidden;background:var(--paper);border:0!important;border-radius:3px;box-shadow:0 3px 14px #0003}
.book-turn-leaf .pg2{position:absolute!important;inset:0!important;min-height:100%;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box;visibility:visible!important}
.book-turn-back{transform:rotateY(180deg)}.book-turn-front:after,.book-turn-back:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0003,transparent 25%,#fff1 60%,#0002)}
.book-turn-still{position:absolute;pointer-events:none;z-index:7;overflow:hidden;background:var(--paper)}.book-turn-still .pg2{width:100%!important;max-width:none!important;margin:0!important;visibility:visible!important}
@media(max-width:899px){.reading-space .book2{padding:7px 7px 9px;margin-inline:5px!important;border-radius:9px}.reading-space .book2:before{right:-4px;bottom:-5px;left:10px}}
@media(prefers-reduced-motion:reduce){.book-jacket{transition:none}.book-jacket:hover{transform:perspective(900px) rotateY(-9deg)}.book-turn-leaf,.book-turn-still{display:none}}

.reading-space .book2{scroll-margin-top:130px}.book-turn-front,.book-turn-back{-webkit-backface-visibility:hidden}

@media(max-width:600px){.reading-space .book2{scroll-margin-top:175px}}
/* css/reading-choice.css */
/* A quiet reading desk, with explicit choices instead of native menu clutter. */
.mode-cards,.focus-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mode-cards button,.focus-choice-grid button{font:inherit;text-align:left;display:flex;flex-direction:column;gap:8px;border:1px solid #8e7953;border-radius:14px;padding:22px;color:#eadcba;background:linear-gradient(145deg,#354538,#1d2b24);box-shadow:0 4px 0 #131e18, inset 0 1px #ffffff16;cursor:pointer;transition:transform .15s,background .15s}.mode-cards button>b{font-size:1.2em}.mode-cards button>span{font-size:24px;color:#edc663}.mode-cards button>small,.focus-choice-grid small{font-size:.87em;line-height:1.5;color:#c8c4b2}.mode-cards button[aria-pressed=true],.focus-choice-grid button[aria-pressed=true]{border:2px solid #e9c45e;background:linear-gradient(145deg,#455744,#273b2d);box-shadow:0 4px 0 #a37b2c,inset 0 1px #fff3}.mode-cards button:hover,.focus-choice-grid button:hover{transform:translateY(-2px)}.mode-cards button:focus-visible,.focus-choice-grid button:focus-visible{outline:3px solid #ffe6a0;outline-offset:5px}.reading-mode,.focus-picker{border:0;padding:0;margin:28px 0}.reading-mode legend,.focus-picker legend{font-weight:750;margin-bottom:14px;letter-spacing:.02em}.focus-choice-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.focus-coming{margin:20px 0;color:#bcb8a6;font-size:.9em}.focus-coming summary{cursor:pointer}.focus-coming p{line-height:1.6}.reading-only-preview{padding:26px;background:#f5ecd6;color:#27372d;border:1px solid #bda67c;border-radius:12px;box-shadow:0 5px 0 #80653e}.reading-only-preview h3{font-family:Georgia,serif;font-size:27px}.reading-only-preview p{color:#4b5347!important;line-height:1.6}.focus-controls fieldset{min-width:0}.reader-name-picker{margin:20px auto;padding:28px 20px;max-width:540px;border:1px solid #b4945d;border-radius:18px;background:radial-gradient(ellipse at top,#344d42,#162c26);color:#f8e8c2;text-align:center;box-shadow:inset 0 1px #f7d99c55,0 6px 0 #0f201b}.reader-name-picker h3{font:700 clamp(24px,4vw,34px) Georgia,serif;margin:14px 0 24px;color:#ffe9af}.reader-name-picker .h-kick{color:#dcba68}.reader-name-picker p{font-size:13px;color:#c6c8b5!important;margin:18px 0 0}.name-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.name-column{display:grid;gap:4px;border-radius:12px;background:#0c201c;box-shadow:inset 0 2px 8px #0006;border:1px solid #8e7953;padding:12px}.name-column>span{color:#c5b591;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.name-column button{font:700 28px Georgia,serif;border:0;border-radius:6px;background:transparent;color:#eac66d;cursor:pointer;min-height:38px}.name-column button:hover{background:#f2cd5b20}.name-column output{font:700 clamp(15px,2.6vw,22px) Georgia,serif;padding:10px 2px;border-block:1px solid #b99750;color:#ffebba}.reader-name-picker .linkbtn{color:#f6d77e;margin-top:18px}.reader-name-picker button:focus-visible{outline:2px solid #ffe4a0;outline-offset:2px}.practice-scorecard{display:flex;gap:20px;flex-wrap:wrap;margin:24px 0}.practice-scorecard>div{background:#26362d;border:1px solid #8d7445;border-radius:14px;flex:1;min-width:180px;padding:24px;display:grid;gap:12px}.practice-scorecard b{font:700 32px Georgia,serif;color:#f7d782}.practice-scorecard span{color:#d9d5c2}.reading-finish-choices{display:grid;gap:14px}.reading-finish-choices button{text-align:left;white-space:normal}.fcard b{overflow-wrap:anywhere}@media(max-width:540px){.mode-cards,.focus-choice-grid{grid-template-columns:1fr}.name-columns{gap:8px}.name-column{padding:8px}.reader-name-picker{padding:20px 12px}.focus-controls{display:block}}
.reading-finish-choice{max-width:680px;padding:14px}.finish-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.finish-option{font:inherit;padding:26px 22px;display:grid;gap:12px;text-align:left;background:linear-gradient(145deg,#354b40,#1c3028);color:#f9ebc9;border:1px solid #b39965;border-radius:14px;box-shadow:0 4px #13251e;cursor:pointer}.finish-option b{font:700 25px Georgia,serif}.finish-option span{line-height:1.5;color:#e1dfcd}.finish-option small{color:#f5d579;font-weight:700}.finish-option:hover{border-color:#f2ca5d;transform:translateY(-1px)}.finish-option:focus-visible{outline:3px solid #cf9937;outline-offset:4px}@media(max-width:540px){.finish-options{grid-template-columns:1fr}}
/* css/adventures.css */
/* Reading Adventures: brass, printed tickets, and a wide illustrated night railway. */
.adventure-page{background:radial-gradient(ellipse at 50% 3%,#29343a 0,transparent 47%),#111b20;color:#f6ebd2;min-height:100vh}.adventure-wrap{max-width:1220px!important;padding-bottom:64px!important}.adventure-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:6px 0 28px}.adventure-heading>span{font-size:10px;letter-spacing:.18em;color:#c6bfa8}.adventure-page .text-link{color:#e9d6a6}.adventure-title{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:25px}.adventure-page .h-kick{color:#d9ba78;font-size:10px;letter-spacing:.17em}.adventure-title h1{font:700 clamp(32px,4.7vw,58px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:11px 0;color:#fff0ce}.adventure-title p{color:#c0c8c5;font-size:16px;margin:0}.adventure-ticket{flex-shrink:0;border:1px solid #ab925c;border-radius:5px;background:linear-gradient(130deg,#eddfb9,#d4c399);color:#283d3e;min-width:140px;text-align:center;padding:12px 18px;box-shadow:3px 4px 0 #65593e;position:relative}.adventure-ticket:before,.adventure-ticket:after{content:'';position:absolute;top:50%;width:14px;height:14px;border-radius:50%;background:#1a262c}.adventure-ticket:before{left:-8px}.adventure-ticket:after{right:-8px}.adventure-ticket>span{display:block;font-size:8px;font-weight:800;letter-spacing:.16em}.adventure-ticket>b{display:block;font:700 40px/1.2 Georgia,serif;margin:6px}.adventure-ticket small{font-size:20px;color:#61706a}.adventure-map{border:1px solid #796e50;border-radius:16px;overflow:hidden;background:#1b2d30;box-shadow:0 12px 40px #0004,0 0 0 5px #263131,0 0 0 6px #494b3c}.adventure-map-scroll{overflow:auto;scrollbar-color:#8e825e #14282f;scrollbar-width:thin}.adventure-map-inner{min-width:760px;position:relative}.me-landscape{display:block;width:100%;height:auto}.adventure-map-caption{position:absolute;top:20px;left:24px;right:24px;display:flex;justify-content:space-between;color:#d9d2ba;font-size:10px;letter-spacing:.12em}.adventure-map-caption>span+span{letter-spacing:.02em;opacity:.7}.adventure-stops{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:linear-gradient(#29373a,#1b292c);border-top:1px solid #58645b}.adventure-stop{display:flex;gap:10px;align-items:center;text-align:left;background:none;color:#bdc6bf;border:0;border-right:1px solid #536056;padding:19px 13px;cursor:pointer;font:inherit;min-width:0}.adventure-stop:last-child{border-right:0}.adventure-stop.current{background:linear-gradient(130deg,#3a524a,#203738);color:#ffebae}.adventure-stop.reached{color:#e3d5a6}.adventure-stop:hover{background:#344a45}.stop-seal{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #6c7c70;border-radius:50%;font:700 18px Georgia,serif}.current .stop-seal{background:#e1bd72;color:#263c3c;border:3px double #344944;box-shadow:0 0 0 3px #c8a55d44}.reached .stop-seal{color:#c2e0bc;border-color:#7eac89}.adventure-stop small{display:block;font-size:8px;letter-spacing:.13em;margin-bottom:5px}.adventure-stop b{font:700 15px/1.15 Georgia,serif}.adventure-arrival{border-left:3px solid #d4b36f;background:#2a3c37;padding:14px 20px;font:17px/1.5 Georgia,serif;color:#f3ddb2}.adventure-boarding{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;margin-top:34px;padding:30px 0}.adventure-page h2{font:700 29px/1.2 Georgia,serif;color:#f9e9c4;margin:10px 0 13px;letter-spacing:-.02em}.adventure-boarding p,.adventure-next p{color:#bdc9c5;line-height:1.65;margin:0 0 18px;max-width:560px}.adventure-boarding .adventure-small{font-size:12px;color:#9faeaa}.adventure-prize{border:1px solid #7d704c;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#364039,#1a2a2d);box-shadow:0 15px 40px #0002}.adventure-prize-art{padding:12px 12px 0}.adventure-prize svg{width:100%;display:block;aspect-ratio:4/1;border-radius:6px;border:1px solid #a68f5a}.adventure-prize>div+div{padding:17px 22px 19px}.adventure-prize-tag{font-size:9px;letter-spacing:.16em;color:#e8cb88;font-weight:800}.adventure-prize h3{font:700 23px Georgia,serif;color:#f6e4b8;margin:8px 0}.adventure-prize p{font-size:12px;margin:0;color:#b7c7bf}.adventure-next{display:flex;justify-content:space-between;gap:25px;align-items:center;border-bottom:1px solid #44534c;padding:36px 0 28px}.adventure-next p{margin-bottom:0}.adventure-next-number{font:70px/.9 Georgia,serif;color:#56685e;text-align:center;padding:0 45px}.adventure-next-number span{display:block;font:9px system-ui;letter-spacing:.24em;margin-top:12px}.adventure-current-book{display:flex;align-items:center;gap:20px;min-width:305px;max-width:440px;background:#223335;border:1px solid #5b6858;border-radius:9px;padding:15px 18px}.adventure-current-book .adventure-jacket{width:75px;min-width:75px;height:108px}.adventure-current-book b,.adventure-current-book small{display:block}.adventure-current-book small{font-size:8px;letter-spacing:.15em;color:#ddbd7c}.adventure-current-book b{font:20px/1.2 Georgia,serif;margin:6px 0 10px;color:#f6e6c3}.adventure-current-book .text-link{display:block;font-size:11px;margin-top:10px}.adventure-books{padding:32px 0;scroll-margin-top:95px}.adventure-books-heading{display:flex;align-items:end;gap:15px;justify-content:space-between;margin-bottom:22px}.adventure-books-heading h2{margin-bottom:0}.adventure-books-heading>span{font-size:12px;color:#aebdb7}.adventure-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.adventure-book{display:flex;gap:18px;border:1px solid #526158;border-radius:10px;padding:20px 16px;background:linear-gradient(125deg,#2b3c3c,#1c2d2f);box-shadow:0 4px 12px #0002;min-width:0;align-items:flex-start}.adventure-jacket{position:relative;display:block;width:90px;min-width:90px;height:133px;background:#234542;border-radius:2px 5px 5px 2px;box-shadow:3px 2px 0 #d5c9a8,5px 3px 0 #8d8065,9px 8px 16px #0007;transform:perspective(650px) rotateY(-9deg);overflow:hidden}.adventure-jacket:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0004,transparent 4%,#ffffff20 5%,transparent 9%,transparent 96%,#0003)}.adventure-jacket img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;display:block}.adventure-jacket img[hidden]{display:none}.adventure-cover-fallback{font:700 13px/1.3 Georgia,serif;color:#f4ddb2;padding:13px 9px;display:block}.adventure-book>div{min-width:0;flex:1}.adventure-book-tag{font-size:9px;letter-spacing:.04em;color:#b2c5b9}.adventure-book h3{font:700 18px/1.2 Georgia,serif;color:#ffebc2;margin:8px 0}.adventure-book p{font-size:11px;line-height:1.55;color:#b9c7c0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 13px}.adventure-book .btn{font-size:11px;padding:9px 12px;min-height:38px}.adventure-book .btn.ghost{background:#344a43;color:#e9dbb5;border-color:#7b805e}.adventure-book .btn:hover{filter:brightness(1.16)}.adventure-book-done,.adventure-access-note{display:block;font-size:11px;color:#bcbea8;line-height:1.5}.adventure-more{display:block;margin:22px auto 0;background:#293d39;color:#f0dfb6}.adventure-passport{padding:24px 0 30px}.adventure-passport>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#dfd2ad;color:#344c47;border:1px solid #baaa7d;border-radius:8px;box-shadow:0 4px 0 #786a4a;overflow:hidden}.adventure-passport article{padding:24px 16px;text-align:center;border-right:1px dashed #8e967f;display:flex;align-items:center;flex-direction:column;gap:8px}.adventure-passport article:last-child{border:0}.passport-seal{border:3px double #567e6d;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font:25px Georgia,serif;transform:rotate(-9deg)}.adventure-passport small{font-size:8px;letter-spacing:.2em}.adventure-passport b{font:700 16px Georgia,serif}.adventure-passport article>span:last-child{font-size:11px;line-height:1.4}.adventure-passport .waiting{opacity:.6}.adventure-passport .waiting .passport-seal{border-style:dashed}.adventure-rules{border-top:1px solid #49564b;padding:19px 0;font-size:12px;color:#afbeb6}.adventure-rules summary{cursor:pointer;color:#e4d1a5;font-weight:700;padding:7px 0}.adventure-rules>div{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;line-height:1.7;margin-top:10px}.adventure-rules b{color:#e0d5b8}.adventure-page .btn.gold{background:#edc56d;color:#1e3336;border-color:#a4864b;box-shadow:0 3px 0 #856d42}.adventure-page :focus-visible{outline:3px solid #ffdd8c;outline-offset:4px}.adventure-stop-dialog{padding:28px;max-width:540px;color:#ead9b7}.adventure-stop-dialog h2{font:700 30px Georgia,serif}.adventure-stop-dialog p{line-height:1.6}.adventure-error{padding:60px 20px}.adventure-entry{display:flex;align-items:center;gap:24px;border:1px solid #84734e;border-radius:12px;background:linear-gradient(115deg,#23393b,#1b292c);padding:20px;text-decoration:none;color:#efdfb8;margin:28px 0;box-shadow:0 5px 20px #0002;transition:border-color .2s}.adventure-entry:hover{border-color:#e3bf70}.adventure-entry-art{flex:0 0 200px;width:200px;height:85px;overflow:hidden;border-radius:6px;border:1px solid #756a4c}.adventure-entry-art svg{width:100%;height:100%;display:block}.adventure-entry-copy{flex:1}.adventure-entry .h-kick{font-size:9px;color:#d3b67a;letter-spacing:.15em}.adventure-entry h2{font:700 26px/1.15 Georgia,serif;margin:7px 0;color:#f2dfb3}.adventure-entry p{font-size:12px;line-height:1.5;margin:0;color:#bac7be}.adventure-entry-cta{font-size:12px;font-weight:700;white-space:nowrap;border:1px solid #7d8060;padding:13px 16px;border-radius:6px}.adventure-entry.compact{padding:14px 18px}.compact .adventure-entry-art{height:62px;width:160px;flex-basis:160px}.compact .adventure-entry-copy h2{font-size:22px}.adventure-reader-note{display:flex;gap:10px;color:#406357;background:#eee4c9;border:1px solid #c9ba8a;border-radius:5px;text-decoration:none;padding:10px 16px;font:12px/1.5 system-ui;margin:12px 0}.adventure-reader-note>span:last-child{margin-left:auto}.adventure-reward-note{border:1px solid #9c8651;border-radius:12px;background:#253b36;padding:24px;margin:25px 0}.adventure-reward-note h2{font:700 26px Georgia,serif;color:#f2deb1;margin:12px 0}.adventure-reward-note p{font-size:14px;color:#bccdc1}.adventure-reward-note .h-kick{color:#e0c184}.me-smoke{animation:me-drift 4s ease-out infinite}.me-arriving{animation:me-arrive 1.3s cubic-bezier(.22,.6,.28,1) both}@keyframes me-arrive{from{transform:translate(var(--me-from),308px)}to{transform:translate(var(--me-x),308px)}}@keyframes me-drift{0%{opacity:0;transform:translateY(5px)}30%{opacity:.3}100%{opacity:0;transform:translate(-20px,-13px)}}
@media(min-width:1300px){.adventure-book .adventure-jacket{width:100px;min-width:100px;height:147px}}
@media(max-width:1050px){.adventure-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adventure-entry-art{width:160px;flex-basis:160px}.adventure-stop{padding:16px 9px;gap:7px}.adventure-stop b{font-size:13px}.adventure-entry-cta{white-space:normal}}
@media(max-width:700px){.adventure-wrap{padding:22px 18px 40px!important}.adventure-heading{margin-bottom:23px}.adventure-heading>span{display:none}.adventure-title{gap:12px}.adventure-title p{font-size:13px;line-height:1.5}.adventure-title h1{font-size:35px}.adventure-title .h-kick{font-size:8px}.adventure-ticket{min-width:90px;padding:10px 7px}.adventure-ticket>b{font-size:30px}.adventure-ticket>span{font-size:6px}.adventure-stops{grid-template-columns:repeat(2,minmax(0,1fr))}.adventure-stop{padding:13px}.adventure-stop:nth-child(-n+2){border-bottom:1px solid #536056}.adventure-stop:nth-child(2){border-right:0}.adventure-boarding{grid-template-columns:1fr;gap:22px;margin-top:12px;padding:25px 0}.adventure-prize{max-width:500px}.adventure-next{display:block;padding:30px 0}.adventure-current-book{margin-top:20px;min-width:0;max-width:none}.adventure-next-number{display:none}.adventure-page h2{font-size:25px}.adventure-book-grid{grid-template-columns:1fr}.adventure-book{padding:19px;gap:24px}.adventure-book .adventure-jacket{width:90px;min-width:90px;height:132px}.adventure-book p{font-size:12px}.adventure-book h3{font-size:21px}.adventure-books-heading{display:block}.adventure-books-heading>span{display:block;margin-top:10px}.adventure-passport>div{grid-template-columns:repeat(2,minmax(0,1fr))}.adventure-passport article:nth-child(2){border-right:0}.adventure-passport article:nth-child(-n+2){border-bottom:1px dashed #8e967f}.adventure-rules>div{grid-template-columns:1fr;gap:0}.adventure-entry,.adventure-entry.compact{display:grid;grid-template-columns:80px 1fr;gap:14px;padding:16px}.adventure-entry-art,.compact .adventure-entry-art{width:80px;height:80px}.adventure-entry-copy h2,.compact .adventure-entry-copy h2{font-size:21px}.adventure-entry-art svg{width:240px;max-width:none;transform:translateX(-145px)}.adventure-entry-cta{grid-column:1/-1;text-align:center;padding:11px}.adventure-reader-note{font-size:10px;gap:7px;padding:9px}.adventure-reader-note>span:last-child{max-width:90px}.adventure-passport article{padding:19px 10px}.adventure-passport b{font-size:15px}}
@media(prefers-reduced-motion:reduce){.adventure-page *, .adventure-entry *{animation:none!important;scroll-behavior:auto!important;transition:none!important}.me-arriving{animation:none!important}.me-smoke{animation:none!important;opacity:.3}}

.adventure-map-hint{display:none}@media(max-width:700px){.adventure-map-hint{display:block;text-align:center;padding:8px;background:#1b2d30;color:#c9c5aa;font-size:9px;letter-spacing:.06em}}
/* v63: your next book, near the top; teacher assignment kept distinct; teacher preview */
.adventure-nextbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;background:linear-gradient(120deg,#2c4440,#1f3134);border:1px solid #c9a85c;border-radius:12px;padding:14px 18px;margin:0 0 22px;box-shadow:0 6px 20px #0003}
.adventure-nextbar .adventure-jacket{width:52px;min-width:52px;height:76px}
.adventure-nextbar>div{flex:1 1 220px;min-width:0}
.adventure-nextbar>div>b{display:block;font:700 22px/1.2 Georgia,serif;color:#fff0ce;margin:4px 0}
.adventure-nextbar>div>small{display:block;color:#c3cfc9;font-size:13px}
.adventure-task-note{flex:1 1 100%;margin:4px 0 0;padding-top:10px;border-top:1px dashed #5b6858;color:#f2deb1;font-size:13px}
.adventure-task-note .text-link{margin-left:4px}
.adv-tprev-art svg{width:100%;height:auto;display:block;border-radius:10px;margin:10px 0}
.adv-tprev-stops{padding-left:20px}.adv-tprev-stops li{margin:6px 0}.adv-tprev-stops small{display:block;color:#6b5a3a}
.adv-tprev-rules li{margin:6px 0;line-height:1.5}
@media(max-width:700px){.adventure-nextbar>div>b{font-size:19px}.adventure-nextbar .btn{width:100%;text-align:center}}
.adventure-task-note b{color:#ffe3a3}
/* css/lantern-scene.css */
/* The cinematic uses one paused animation timeline; controls never depend on motion. */
dialog.lantern-cinema{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#060e15;color:#f3e7cc;overflow:auto;box-shadow:none}
dialog.lantern-cinema::backdrop{background:#060e15}
.lantern-player{height:100dvh;min-height:0;display:flex;flex-direction:column;justify-content:center;max-width:1800px;margin:auto;background:radial-gradient(ellipse at 50% 45%,#22343b,#060e15 75%)}
.lantern-top{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px clamp(18px,4vw,66px)}
.lantern-chapter{font:600 10px/1.5 system-ui;letter-spacing:3px;color:#bca979}
.lantern-top h2{margin:4px 0 0;font:400 clamp(23px,2.4vw,36px)/1.2 Georgia,serif;color:#f5e6be}
.lantern-close,.lantern-controls button{color:#e6dfcf;background:#14242c;border:1px solid #536163;border-radius:24px;font:600 13px/1.2 system-ui;padding:11px 18px;cursor:pointer;white-space:nowrap;min-height:44px}
.lantern-close:hover,.lantern-controls button:hover{background:#253b40;border-color:#d5b985}
.lantern-cinema button:focus-visible{outline:3px solid #f3cb77;outline-offset:4px}
.lantern-stage{position:relative;flex:1 1 auto;width:100%;aspect-ratio:16/9;min-height:160px;overflow:hidden;background:#0b1721;isolation:isolate}
.lantern-film{width:100%;height:100%;display:block}
.lantern-stage::after{position:absolute;inset:0;content:"";box-shadow:inset 0 18px 35px #040b12aa,inset 0 -18px 40px #040b12aa;pointer-events:none}
.lantern-film [class^="ls-"]{transform-box:view-box;transform-origin:0 0;will-change:transform,opacity}
.lantern-film .ls-world{transform-origin:820px 570px}
.lantern-film .ls-passenger-bob{transform-origin:150px 315px}
.lantern-film .ls-wheel{transform-box:fill-box;transform-origin:center}
.lantern-scene-title{position:absolute;left:5%;right:5%;top:11%;text-align:center;opacity:0;pointer-events:none;text-shadow:0 3px 15px #000}
.lantern-scene-title small{display:block;color:#dac28b;font:600 clamp(8px,1vw,12px)/1.6 system-ui;letter-spacing:5px}
.lantern-scene-title strong{display:block;font:400 clamp(24px,4.5vw,65px)/1.2 Georgia,serif;color:#fff1cb;margin-top:9px}
.lantern-bottom{flex-shrink:0;padding:18px clamp(18px,4vw,66px) 24px}
.lantern-caption{font:400 clamp(16px,1.7vw,23px)/1.5 Georgia,serif;text-align:center;min-height:1.5em;margin:0 0 17px;color:#e9e2d2}
.lantern-progress{height:2px;background:#344349;overflow:hidden;margin-bottom:15px}
.lantern-progress i{display:block;height:100%;background:#c9b783;transform:scaleX(0);transform-origin:left}
.lantern-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.lantern-controls .lantern-continue{margin-left:auto;background:#e5ca8e;border-color:#e5ca8e;color:#11262c}
.lantern-controls .lantern-continue:hover{background:#f3deae}
.lantern-time{color:#91a5aa;font:11px/1.4 ui-monospace,monospace;margin-left:3px;font-variant-numeric:tabular-nums}
.lantern-static-note{font:12px/1.4 system-ui;color:#a4b6ba;text-align:center;margin:0 0 12px}
.lantern-cinema .lantern-film *{animation:none!important;transition:none!important}
.adventure-scene-entry{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:20px 0 30px;padding:22px 26px;border:1px solid #796d4d;border-radius:16px;background:linear-gradient(110deg,#263b3e,#111e29);box-shadow:0 12px 30px #02070a30}
.adventure-scene-entry h2{font:400 27px/1.2 Georgia,serif;margin:4px 0 8px;color:#f1dfb8}
.adventure-scene-entry p{margin:0;color:#b5c5c5;line-height:1.5}
.adventure-scene-entry .btn{white-space:nowrap}
@media(max-width:600px){.lantern-top{padding:18px 15px;gap:10px}.lantern-chapter{font-size:8px;letter-spacing:2px}.lantern-top h2{font-size:24px}.lantern-stage{flex:none;aspect-ratio:16/11;min-height:0;max-height:none}.lantern-bottom{flex-shrink:0;padding:16px}.lantern-controls{gap:8px}.lantern-controls button{padding:10px 13px;font-size:12px}.lantern-controls .lantern-continue{width:100%;margin:5px 0 0}.lantern-caption{min-height:3em;font-size:18px}.lantern-time{margin-left:auto}.adventure-scene-entry{display:block;padding:20px}.adventure-scene-entry .btn{margin-top:18px}.lantern-scene-title small{letter-spacing:2px}.lantern-player{height:auto;min-height:100dvh;justify-content:center}}
@media(max-height:550px) and (min-width:600px){.lantern-top{padding:9px 24px}.lantern-top h2{font-size:22px}.lantern-chapter{font-size:8px}.lantern-stage{max-height:calc(100dvh - 175px);min-height:0}.lantern-bottom{flex-shrink:0;padding:8px 24px 12px}.lantern-caption{margin-bottom:8px;font-size:16px}.lantern-progress{margin-bottom:8px}.lantern-controls button{padding:8px 14px;min-height:36px}}
/* Chapters share transport controls and their own carefully scoped camera origins. */
.journey-film [class^="jw-"],.journey-film [class^="jb-"],.journey-film [class^="jl-"],.journey-film [class^="jc-"]{transform-box:view-box;transform-origin:0 0;will-change:transform,opacity}
.journey-film .jc-wheel{transform-box:fill-box;transform-origin:center}
.journey-film .jl-exterior{transform-origin:800px 560px}
.journey-film .jl-interior{transform-origin:800px 450px}
.journey-film .jl-door-left{transform-origin:620px 500px}
.journey-film .jl-door-right{transform-origin:980px 500px}
.journey-film .jl-card{transform-origin:800px 343px}
.journey-film .jl-chandelier{transform-origin:800px 0}
.lantern-cinema[data-chapter="2"] .lantern-scene-title{top:6%}
.lantern-controls button[hidden]{display:none}
.adventure-cinema{margin:32px 0;padding:28px;border:1px solid #66684e;background:linear-gradient(135deg,#233739,#111e29);border-radius:18px;box-shadow:0 15px 35px #0002}
.adventure-cinema-heading h2{font:400 clamp(26px,3vw,35px)/1.2 Georgia,serif;color:#f4e5c4;margin:7px 0 10px}
.adventure-cinema-heading p{color:#b9c9c7;line-height:1.55;margin:0 0 24px;max-width:620px}
.adventure-chapters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.adventure-chapter{border:1px solid #6e7059;border-radius:12px;overflow:hidden;background:#10232c;min-width:0;box-shadow:0 5px 12px #0003}
.adventure-chapter-art{position:relative;aspect-ratio:2/1;background:#162c32;overflow:hidden}
.adventure-chapter-art svg{display:block;width:100%;height:100%}
.adventure-chapter-art>span{position:absolute;top:10px;left:12px;color:#eee3c5;font:700 12px/1 system-ui;letter-spacing:2px}
.adventure-chapter-copy{padding:16px}
.adventure-chapter-copy small{font:600 9px/1.4 system-ui;letter-spacing:1.5px;color:#c4b585}
.adventure-chapter h3{font:400 20px/1.2 Georgia,serif;color:#eee4ce;margin:8px 0 16px;min-height:2.4em}
.adventure-chapter .btn{width:100%;min-height:42px;font-size:12px;padding:9px 8px}
.adventure-chapter.locked .adventure-chapter-art{filter:saturate(.35);opacity:.6}
.adventure-chapter.locked .btn{opacity:1;color:#a8b3b2;border-color:#435251;background:#1b2b32;cursor:default}
@media(max-width:900px){.adventure-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.adventure-chapter h3{min-height:0}}
@media(max-width:480px){.adventure-cinema{padding:18px 14px}.adventure-chapters{gap:10px}.adventure-chapter-copy{padding:12px 10px}.adventure-chapter h3{font-size:18px;min-height:2.4em}.adventure-chapter-copy small{font-size:8px;letter-spacing:1px}.adventure-chapter .btn{font-size:11px}.lantern-controls [data-scene="next"]{flex:1}}
/* css/souvenir-play.css */
/* Warm glass-and-brass keepsakes. Motion is initiated by the reader. */
.svi-door,.svi-leaf,.svi-handle,.svi-globe,.svi-snow-front,.svi-snow-back,.svi-photo,.svi-shutter{transform-box:view-box;transform-origin:0 0}
.svi-door{transform-origin:-17px -40px}.svi-globe{transform-origin:0 0}.svi-shutter{transform-origin:24px -29px}
.svi-snow-front,.svi-snow-back{opacity:.3;transform-origin:0 -37px}.svi-portrait *{animation:none!important}
.souvenir-room{min-width:0}.souvenir-room-scene{position:relative}.souvenir-hotspot{position:absolute;transform:translate(-50%,-50%);width:9.4%;height:17%;min-width:44px;min-height:44px;background:transparent;border:1px solid transparent;border-radius:12px;cursor:pointer;padding:0;touch-action:manipulation;color:#ffe5a0}
.souvenir-hotspot span{position:absolute;right:2px;top:1px;display:grid;place-items:center;width:20px;height:20px;border:1px solid #d8b55e88;background:#1c3029dd;border-radius:50%;font-size:13px;box-shadow:0 0 10px #e8be5a33;pointer-events:none}
.souvenir-hotspot:hover{background:#fff4bd0d;border-color:#f0d68f80}.souvenir-hotspot:focus-visible{outline:3px solid #ffe4a2;outline-offset:3px;background:#fff4bd12}
.souvenir-shelf-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font-size:13px;line-height:1.5;color:#c8baa1;padding:12px 4px}.souvenir-room-status{flex:1 1 230px}.souvenir-shelf-note a{margin-left:auto}.souvenir-shelf-note button{font:inherit;background:none;border:0;cursor:pointer}.souvenir-closeup[hidden]{display:none}
.souvenir-feature{margin:24px 0 36px;padding:28px;border:1px solid #b28c4b66;border-radius:24px;background:radial-gradient(ellipse at 90% 0,#315e4f45,transparent 60%),linear-gradient(130deg,#25392f,#191d1a 65%);box-shadow:inset 0 1px 0 #ffe6b51a,0 16px 45px #0002;color:#f4e8ca}
.souvenir-feature .h-kick{color:#e6c47a;font-size:11px;letter-spacing:2px}.souvenir-feature h2{font:600 clamp(25px,3vw,34px)/1.2 Georgia,serif;margin:10px 0;color:#f8ebcd}.souvenir-feature p{color:#c8c7b5;line-height:1.6;margin:8px 0 20px}.souvenir-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.souvenir-feature-card{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:16px 12px 18px;border:1px solid #ad915740;border-radius:14px;background:linear-gradient(#17221cc9,#101613d9);box-shadow:inset 0 1px 0 #fff1}
.souvenir-feature-art{width:100%;height:140px;display:grid;place-items:center;background:radial-gradient(ellipse,#bfa15717,transparent 70%)}.souvenir-feature-art .still{width:110px;height:130px}.souvenir-feature-art svg{width:100%;height:100%}
.souvenir-feature-card h3{font:600 18px/1.25 Georgia,serif;color:#f7e9c9;margin:12px 0 4px}.souvenir-feature-card p{font-size:12px;margin:4px 0 16px;flex:1}.souvenir-feature-card .btn,.souvenir-feature-card .lz-btn{font-size:12px;padding:10px 14px;max-width:100%;white-space:normal;line-height:1.4}.souvenir-feature-card.locked{background:#0d1511a1}
dialog.souvenir-dialog{width:min(690px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;border:1px solid #b49a6277;border-radius:22px;color:#f8ebcf;background:#172620;box-shadow:0 35px 100px #000a;overflow:auto}
.souvenir-dialog::backdrop{background:#07110dd9;backdrop-filter:blur(6px)}
.souvenir-dialog-top{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:24px 28px 18px;border-bottom:1px solid #d9bd722b;background:linear-gradient(120deg,#283b30,#172a23)}
.souvenir-dialog-top .h-kick{font-size:10px;letter-spacing:2.2px;color:#d6b878}.souvenir-dialog-top h2{margin:7px 0 0;font:500 clamp(24px,4vw,34px)/1.2 Georgia,serif;color:#fff0d0}
.souvenir-dismiss{border:1px solid #d1b47b55;border-radius:50%;flex:0 0 42px;width:42px;height:42px;font:26px/1 system-ui;background:#ffffff08;color:#ead9b4;cursor:pointer}.souvenir-dialog button:focus-visible,.souvenir-dialog a:focus-visible{outline:3px solid #ffe29b;outline-offset:4px}
.souvenir-display{position:relative;height:clamp(220px,40vh,330px);overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 40%,#4e6652 0,#263b31 40%,#12231c 85%)}
.souvenir-display:before{content:'';position:absolute;inset:16px 20px 0;border:1px solid #d6b77822;border-bottom:0;border-radius:100px 100px 0 0;pointer-events:none}
.souvenir-display-halo{position:absolute;width:60%;height:65%;left:20%;top:12%;background:radial-gradient(ellipse,#fae29c20,transparent 70%)}
.souvenir-large-art{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:visible}
.souvenir-pedestal{position:absolute;bottom:0;left:20%;width:60%;height:11%;border-radius:50% 50% 4px 4px;background:linear-gradient(#ac8b51,#705432 25%,#392a1a 30%,#241d16);border-top:1px solid #f3d69b88;box-shadow:0 10px 25px #0005;z-index:1}
.souvenir-engraving{position:absolute;z-index:3;bottom:10px;left:0;width:100%;text-align:center;letter-spacing:2.5px;font:8px/1.5 system-ui;color:#dfc18a}
.souvenir-dialog-copy{padding:18px 28px 24px;background:linear-gradient(#192921,#13221b)}
.souvenir-description{font:17px/1.5 Georgia,serif;text-align:center;margin:0 auto 8px;max-width:520px;min-height:2.8em;color:#f3e5c9}.souvenir-small-note,.souvenir-motion-note{font:11px/1.5 system-ui;text-align:center;color:#b8c1b1;margin:7px 0 12px}
.souvenir-play-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:16px 0 20px}.souvenir-play-controls .btn{min-width:190px}.souvenir-play-controls button[hidden]{display:none}
.souvenir-dialog-foot{border-top:1px solid #c9ab6e33;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:16px}.souvenir-dialog-foot a{color:#d6d8bf;font:12px/1.5 system-ui}.souvenir-dialog-foot .lz-btn{font-size:12px;padding:10px 15px;white-space:normal}.souvenir-dialog-foot button:disabled{opacity:.65;cursor:default}
.cab-it .souvenir-tap-tag{font-size:10px;color:#f3cf7c;margin-top:5px}.unlock-card .souvenir-try{margin:10px 6px 0 0}
@media(max-width:760px){.souvenir-feature{padding:20px}.souvenir-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.souvenir-feature-art{height:120px}.souvenir-feature-art .still{height:115px}.souvenir-feature-card h3{font-size:17px}}
@media(max-width:480px){.souvenir-dialog-top{padding:18px}.souvenir-dialog-copy{padding:16px 18px 20px}.souvenir-description{font-size:15px}.souvenir-dialog-foot{gap:12px;align-items:flex-start}.souvenir-dialog-foot .lz-btn{max-width:140px}.souvenir-feature{padding:18px 12px}.souvenir-feature-grid{gap:9px}.souvenir-feature-card{padding:12px 8px}.souvenir-feature-card p{font-size:11px}.souvenir-engraving{font-size:7px;letter-spacing:1.7px}}
@media(max-height:500px) and (min-width:600px){dialog.souvenir-dialog{display:grid;grid-template-columns:45% 55%;width:min(820px,calc(100vw - 20px))}.souvenir-dialog:not([open]){display:none}.souvenir-dialog-top{grid-column:1/-1;padding:12px 20px}.souvenir-dialog-top h2{font-size:24px}.souvenir-display{height:265px}.souvenir-dialog-copy{padding:14px 18px}.souvenir-description{font-size:14px}.souvenir-play-controls{margin:10px 0}.souvenir-play-controls .btn{min-width:140px;font-size:13px;padding:10px}.souvenir-dialog-foot{padding-top:10px}.souvenir-dialog-foot .lz-btn{font-size:11px;padding:8px}}
@media(prefers-reduced-motion:reduce){.svi-art *{animation:none!important;transition:none!important}}
/* css/companions.css */
/* A quiet stage for short, reader-initiated scenes. Native creature idles are frozen here. */
.companion-scene{display:block;width:100%;height:auto;overflow:hidden}.companion-scene *{animation:none!important;transition:none!important}
.cmp-character{transform-origin:150px 250px;transform-box:view-box}.cmp-page{transform-origin:0 -10px;transform-box:view-box}.cmp-breath{transform-origin:150px 155px;transform-box:view-box}.cmp-star{transform-box:fill-box;transform-origin:center}.cmp-paperbird{transform-box:fill-box;transform-origin:center}
.companion-entry{display:flex;align-items:center;gap:15px;padding:13px 17px;border:1px solid #b29c6544;border-radius:15px;background:linear-gradient(110deg,#243b31,#172921);color:#f3e3c3;text-decoration:none;margin:4px 0 6px;box-shadow:inset 0 1px 0 #fff1}
.companion-entry:hover{border-color:#dfbb72;background:linear-gradient(110deg,#2e483b,#1b3026)}.companion-entry-portrait{flex:0 0 62px;width:62px;height:62px;border-radius:50%;background:#14221e;overflow:hidden;border:1px solid #c2a66b66}.companion-entry-portrait svg{width:100%;height:100%}.companion-entry>span:nth-child(2){display:grid;gap:4px;flex:1}.companion-entry .h-kick{color:#d2b477;font-size:9px;letter-spacing:1.8px}.companion-entry b{font:500 21px/1.2 Georgia,serif}.companion-entry small{color:#bdc6b5;font-size:12px}.companion-entry-arrow{font-size:24px;color:#efcf84}
.companion-page{min-height:calc(100vh - 100px);background:radial-gradient(ellipse at 30% 0,#203a3066,transparent 65%),#120f0b}.companion-page .wrap{max-width:1380px}.companion-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:8px 0 24px}.companion-heading h1{font:500 clamp(32px,4vw,54px)/1.15 Georgia,serif;color:#f8e8c5;margin:10px 0}.companion-heading p{color:#c1bda9;margin:0;font-size:16px}.companion-heading .h-kick{font-size:10px;color:#d9b87a;letter-spacing:2px}
.companion-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.companion-theatre{min-width:0;border-radius:22px;overflow:hidden;background:#172b25;border:1px solid #b5995a77;box-shadow:0 24px 70px #0005,inset 0 1px 0 #fff1}.companion-stage-label{display:flex;justify-content:space-between;gap:20px;padding:13px 22px;color:#e8d2a3;font:12px/1.4 system-ui;letter-spacing:.4px;border-bottom:1px solid #a58a4933;background:#233b32}.companion-stage-label span+span{color:#b3c3b6}.companion-stage{background:#162422;overflow:hidden}
.companion-theatre-copy{padding:25px 30px 28px;background:radial-gradient(ellipse at 50% 0,#304b3d,#14281f 90%);text-align:center;border-top:1px solid #bd9a5a66}.companion-theatre-copy .h-kick{font-size:9px;letter-spacing:2.3px;color:#dcc18b}.companion-theatre-copy h2{font:500 clamp(25px,3vw,36px)/1.2 Georgia,serif;margin:9px 0 12px;color:#fff0d2}.companion-caption{max-width:540px;min-height:3em;margin:0 auto;color:#ccd3c0;font:16px/1.6 Georgia,serif}.companion-motion-note{font-size:11px;color:#b4c5b4;margin:10px 0}.companion-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px}.companion-controls .btn{min-width:210px}.companion-controls [hidden]{display:none}.companion-controls .btn span{font-size:11px;margin-left:12px}
.companion-milestones{min-width:0}.companion-progress{display:grid;padding:21px 22px 18px;border:1px solid #a88b4b55;border-radius:17px;background:linear-gradient(140deg,#352c1e,#1b211a);color:#dac9aa}.companion-progress .h-kick{font-size:9px;letter-spacing:1.8px;color:#dab875}.companion-progress strong{font:500 53px/1.1 Georgia,serif;color:#f6dfaa;margin-top:8px}.companion-progress>span:last-of-type{font-size:12px}.companion-progress p{font-size:12px;line-height:1.65;color:#b7bba7;margin:12px 0 0}.companion-moment-list{display:grid;gap:11px;margin-top:17px}.companion-moment{display:flex;align-items:center;gap:12px;width:100%;padding:17px 14px;text-align:left;border:1px solid #84704b66;border-radius:14px;background:#221c15;color:#f0dfbc;cursor:pointer;box-shadow:inset 0 1px 0 #fff08}.companion-moment:hover{border-color:#d8b461;background:#2c2b20}.companion-moment.selected{background:#2a4335;border-color:#efcb7c;box-shadow:0 0 0 2px #eac57526,inset 0 1px 0 #fff1}.companion-moment-icon{display:grid;place-items:center;width:37px;height:42px;font-size:27px;color:#e6c47d;flex-shrink:0}.companion-moment>span:nth-child(2){display:grid;gap:5px;flex:1}.companion-moment small{font-size:8px;letter-spacing:1.4px;color:#b3b79b}.companion-moment b{font:500 19px/1.25 Georgia,serif}.companion-moment em{font:11px/1.4 system-ui;color:#b6c0ac}.companion-meter{height:4px;border-radius:3px;background:#080e0b66;margin-top:3px;overflow:hidden}.companion-meter i{display:block;height:100%;background:#dfbd76;border-radius:3px}.companion-change{display:block;margin:20px 2px 14px;font-size:12px;color:#ead09e}.companion-promise{font-size:11px;line-height:1.7;color:#b4ad98;margin:0 2px}
.companion-reward{margin:22px 0;display:flex;gap:22px;align-items:center;text-align:left;padding:23px;border:1px solid #c3a56a88;border-radius:18px;background:linear-gradient(120deg,#2d4538,#1b3028);color:#f6e6c4}.companion-reward>span{font-size:54px;color:#f2cd74}.companion-reward h2{font:500 27px/1.25 Georgia,serif;margin:6px 0;color:#f8e6bb}.companion-reward p{font-size:13px;color:#c4ccb8}.companion-reward .h-kick{font-size:10px;letter-spacing:1.5px}
.companion-page a:focus-visible,.companion-page button:focus-visible,.companion-entry:focus-visible{outline:3px solid #f4d58e;outline-offset:4px}
@media(max-width:1000px){.companion-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.companion-theatre-copy{padding:22px}.companion-moment{padding:14px 10px;gap:7px}.companion-moment b{font-size:17px}}
@media(max-width:760px){.companion-heading{align-items:flex-start}.companion-heading .lz-btn{font-size:11px;padding:10px;white-space:nowrap}.companion-layout{grid-template-columns:1fr}.companion-milestones{display:grid;grid-template-columns:1fr}.companion-progress{grid-template-columns:auto 1fr;gap:0 15px;padding:17px 20px}.companion-progress .h-kick{grid-column:1/-1}.companion-progress strong{grid-column:1;grid-row:2/4;font-size:44px;align-self:center}.companion-progress>span:last-of-type{margin-top:10px}.companion-progress p{margin-top:6px}.companion-moment-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.companion-moment{display:grid;position:relative;gap:7px;padding:14px 10px;align-content:start}.companion-moment>span:nth-child(2){display:grid;gap:7px}.companion-moment>span:last-child{position:absolute;top:15px;right:10px}.companion-moment-icon{height:27px;width:28px;font-size:23px}.companion-moment b{font-size:16px}.companion-moment small{font-size:7px;letter-spacing:.6px}.companion-moment em{font-size:10px}.companion-change{margin:20px 0 10px}}
@media(max-width:480px){.companion-heading{flex-wrap:wrap;gap:14px}.companion-heading h1{font-size:34px}.companion-heading p{font-size:14px}.companion-stage-label{padding:11px 13px;font-size:10px;gap:8px}.companion-theatre{border-radius:16px}.companion-stage{aspect-ratio:760/450}.companion-scene{height:auto;width:100%}.companion-theatre-copy{padding:20px 16px}.companion-caption{font-size:15px;min-height:4.7em}.companion-controls .btn{min-width:180px}.companion-entry{padding:12px;gap:11px}.companion-entry b{font-size:19px}.companion-entry-portrait{width:50px;height:50px;flex-basis:50px}.companion-entry .h-kick{font-size:8px;letter-spacing:1.2px}.companion-entry small{font-size:10px}.companion-reward{padding:18px;gap:15px}.companion-reward>span{font-size:36px}}
@media(prefers-reduced-motion:reduce){.companion-entry *{animation:none!important;transition:none!important}}
