


:root{--background:#f4f6f8;--foreground:#202e4d;--primary:#293554;--primary-foreground:#fff;--border:#d9dfe7;--ring:#a5782b;--radius:1rem;--beemee-navy:#293554;--beemee-gold:#b88a3c;--beemee-ink:#202e4d;--beemee-muted:#5a6680;--beemee-shadow:0 12px 32px #202e4d0a}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif;font-size:20px}button{font:inherit;cursor:pointer;border:2px solid #172442;border-radius:999px;padding:12px 24px;background:white;min-height:52px;font-weight:700;touch-action:manipulation}button:hover{filter:brightness(.97)}button:focus-visible{outline:4px solid #254dc7;outline-offset:4px}button:disabled{opacity:.45;cursor:default}header{height:90px;padding:18px 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #172442}header b{font-size:28px;display:flex;gap:20px;align-items:center}header b span{font-size:15px;letter-spacing:2px}main{min-height:100svh}.home{max-width:1440px;margin:auto;padding:40px 5vw 10px;display:grid;grid-template-columns:.85fr 1.25fr;gap:5vw}.eyebrow{font-size:15px;letter-spacing:3px;font-weight:800;color:#415174}h1{font-size:clamp(42px,5vw,74px);line-height:1.02;letter-spacing:-3px;margin:20px 0}h2{margin:0;font-size:36px;letter-spacing:-1px}p{line-height:1.5}.menu{display:grid;gap:18px;padding:12px 0}.game-card{border-radius:24px;display:flex;align-items:center;gap:22px;text-align:left;padding:24px;box-shadow:5px 6px 0 #172442}.game-card p{font-size:17px;font-weight:500;margin:6px 0 0}.game-icon{font-size:40px;border:3px solid currentColor;width:65px;height:65px;display:grid;place-items:center;border-radius:14px}.arrow{margin-left:auto;font-size:32px}.green{background:#78cf91}.purple{background:#b69af1}.yellow{background:#ffda59}.blue{background:#8ad4f3}.teacher-space{height:210px}footer{text-align:center;font-size:14px;color:#52617b;padding:24px}.preview-note{text-align:center}@media(max-width:700px){.home{grid-template-columns:1fr}.teacher-space{display:none}header b span{display:none}.game-card{padding:20px}h2{font-size:30px}}
.teacher{width:240px;height:270px;background-image:url('/teacher-sprite-sheet.png');background-size:200% 100%;background-repeat:no-repeat;animation:gesture 3s steps(1,end) infinite;margin:0 auto}.welcome>p:not(.eyebrow){margin-bottom:0}@keyframes gesture{0%,49%{background-position:0 0}50%,100%{background-position:100% 0}}footer span{display:block;margin-top:8px;font-size:13px}.header-actions{display:flex;gap:12px}.header-actions button{font-size:16px;padding:10px 18px}.game-view{max-width:1180px;margin:auto;padding:22px 24px}.game-view[hidden]{display:none}.game-title{text-align:center}.game-title h1{font-size:42px;letter-spacing:-1.5px;margin:8px 0}.game-title .eyebrow{font-size:13px}.instructions{text-align:center;margin:12px 0;font-size:20px}.message{min-height:42px;text-align:center;font-size:20px;font-weight:700;padding:6px}.legend{display:flex;justify-content:center;gap:24px;font-size:15px}.wordle-board{display:grid;gap:6px;margin:0 auto 20px;width:max-content}.wordle-row{display:flex;gap:6px}.tile{width:56px;height:56px;border:2px solid #aab5c7;background:white;display:grid;place-items:center;font-size:32px;font-weight:800}.correct{background:#368447!important;color:white!important;border-color:#368447!important}.present{background:#a88717!important;color:white!important;border-color:#a88717!important}.absent{background:#68717c!important;color:white!important;border-color:#68717c!important}.keyboard{max-width:720px;margin:auto;display:grid;gap:7px}.keyboard>div{display:flex;justify-content:center;gap:6px}.keyboard button{border:0;border-radius:8px;min-width:0;flex:1;padding:5px 0;max-width:60px;height:55px;background:#dce1eb;font-size:21px}.keyboard button.wide{font-size:16px;max-width:90px;flex:1.5}.again{text-align:center;margin-top:24px}.primary{background:#172442;color:white}.actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:20px auto}.connection-board{max-width:980px;margin:auto}.connection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.connection-grid button{border:2px solid transparent;border-radius:14px;background:#e8e7ef;min-height:90px;padding:12px 6px;font-size:clamp(15px,2vw,25px);overflow-wrap:anywhere}.connection-grid button.selected{background:#49405f;color:white;border-color:#211637}.solved-group{min-height:86px;border-radius:14px;margin-bottom:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;padding:12px;animation:pop .35s ease}.solved-group strong{font-size:23px}.solved-group span{font-size:20px;margin-top:4px}.shake{animation:shake .35s}@keyframes shake{25%,75%{transform:translateX(-6px)}50%{transform:translateX(6px)}}@keyframes pop{from{transform:scale(.96)}to{transform:scale(1)}}.bee-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:980px;margin:20px auto 0}.word-entry{height:55px;text-align:center;font-size:34px;font-weight:800;letter-spacing:4px}.word-entry span{font-size:24px;letter-spacing:0;color:#7c8597}.bee-circle{position:relative;width:340px;height:340px;margin:auto}.bee-circle button{position:absolute;transform:translate(-50%,-50%);width:76px;height:76px;padding:0;border:2px solid #172442;background:#ffda59;font-size:32px;box-shadow:0 4px 0 #d2a61f}.bee-middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:40px;text-align:center}.bee-middle small{display:block;font-size:12px;letter-spacing:2px}.word-list{border:2px solid #c6cee0;border-radius:20px;padding:26px;background:white;max-height:460px;overflow:auto}.word-list h2,.strand-found h2{font-size:26px;letter-spacing:-.5px}.word-list p{font-size:17px}.found-words{display:flex;flex-wrap:wrap;gap:9px}.found-words span{border-radius:8px;background:#fff2ba;padding:8px 12px;font-size:18px}.found-words b{font-size:14px;margin-left:10px;color:#63530b}.score-guide{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;font-size:15px}.score-guide span{display:flex;flex-direction:column;text-align:center}.answers{max-width:900px;margin:20px auto;background:white;border:2px solid #c6cee0;border-radius:18px;padding:24px}.theme{text-align:center;background:#d3eefb;border-radius:14px;max-width:720px;margin:20px auto;padding:14px}.theme small{font-size:12px;letter-spacing:2px}.theme h2{font-size:29px;margin-top:5px}.strands-layout{display:flex;justify-content:center;gap:44px;align-items:flex-start;margin:20px auto}.strands-grid{display:grid;gap:8px;touch-action:none;user-select:none;-webkit-user-select:none}.strand-cell{position:relative;width:60px;height:60px;min-height:0;padding:0;font-size:29px;border:2px solid #d1d8e3;background:white;border-radius:50%}.strand-cell small{position:absolute;right:-1px;top:-7px;background:#172442;color:white;border-radius:50%;width:20px;height:20px;font-size:12px;display:grid;place-items:center}.strand-cell.tracing{background:#172442;color:white;border-color:#172442}.found-0{background:#8ad4f3!important}.found-1{background:#78cf91!important}.found-2{background:#ffda59!important}.found-3{background:#b69af1!important}.hinted{outline:3px dashed #dc9300;outline-offset:1px}.strand-found{min-width:210px;padding-top:10px}.strand-found p{font-size:18px}.found-word{padding:12px;border-radius:12px;font-weight:700}.trace-word{text-align:center;font-weight:800;letter-spacing:3px;font-size:23px;min-height:34px}.end{max-width:650px;margin:80px auto;text-align:center;line-height:1.5}.celebrate{animation:pop .6s ease}.storage-warning{padding:14px;text-align:center;background:#fff2ba;font-size:16px}@media(min-width:1200px) and (max-height:850px){.home{padding-top:24px}.teacher{height:230px;width:205px}.game-card{padding:20px}.game-view{padding-top:14px}.game-title h1{font-size:36px}.tile{height:48px;width:48px}.wordle-board{margin-bottom:12px}.keyboard button{height:48px;min-height:48px}.message{min-height:34px;padding:3px}.again{margin-top:16px}footer{padding:15px}.bee-circle{height:290px;width:290px}.bee-circle button{height:66px;width:66px}.bee-layout{margin-top:10px}.strand-cell{width:52px;height:52px}.strands-grid{gap:6px}.connection-grid button{min-height:78px}}
@media(max-width:700px){header{padding:12px 18px;height:76px}.header-actions button{padding:8px 12px;font-size:14px}.teacher{height:200px;width:180px;position:absolute;right:10px;top:0}.welcome{position:relative;min-height:230px}.welcome h1{font-size:42px;position:relative;z-index:1}.welcome>p{max-width:55%;font-size:16px}.welcome .eyebrow{font-size:11px}.home{padding-top:20px;gap:5px}.game-view{padding:18px 10px}.legend{gap:10px;font-size:12px}.instructions{font-size:17px}.connection-grid{gap:7px}.connection-grid button{min-height:85px;font-size:16px}.bee-layout{grid-template-columns:1fr;gap:18px}.word-list{max-height:230px}.bee-circle{width:300px;height:300px}.strands-layout{gap:18px;flex-direction:column;align-items:center}.strand-cell{width:42px;height:42px;font-size:23px}.strands-grid{gap:5px}.strand-found{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.strand-found p{margin:0;font-size:15px}.strand-found h2{font-size:20px}.found-word{padding:8px}.actions button{padding:10px 17px;font-size:17px}.game-title h1{font-size:36px}.score-guide{gap:12px}.keyboard button{font-size:18px}.solved-group span{font-size:15px}.solved-group strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.teacher{width:175px;height:350px}@media(min-width:1200px) and (max-height:850px){.teacher{width:130px;height:260px}}@media(max-width:700px){.teacher{width:110px;height:220px}}
@media(min-width:900px) and (max-height:850px){header{height:64px;padding-top:8px;padding-bottom:8px}.wordle-view .game-title h1{font-size:30px;margin:2px}.wordle-view .game-title .eyebrow{display:none}.wordle-view .instructions{font-size:17px;margin:6px}.wordle-view .legend{font-size:13px}.wordle-view .message{font-size:17px;min-height:30px}.wordle-view .tile{width:40px;height:40px;font-size:26px}.wordle-view .wordle-board,.wordle-view .wordle-row{gap:4px}.wordle-view .keyboard button{height:40px;min-height:40px}.wordle-view .keyboard{gap:4px}.wordle-view .again{margin-top:12px}.wordle-view .again button{min-height:42px;padding:8px 22px}.wordle-view~footer{padding:10px}.game-view{padding-top:12px}}
/* Give the puzzle the whiteboard space; keep its controls alongside it. */
.blue-view{max-width:1500px}.blue-view .strands-layout{gap:clamp(28px,4vw,72px);align-items:center;margin:24px auto}.blue-view .strands-grid{--strand-size:clamp(64px,min(9vw,calc((100svh - 270px)/var(--strand-rows) - 10px)),112px);gap:10px;flex-shrink:0}.blue-view .strand-cell{width:var(--strand-size);height:var(--strand-size);font-size:clamp(34px,3.3vw,54px);border-width:3px}.blue-view .strand-cell small{width:26px;height:26px;font-size:16px}.blue-view .strand-found{width:300px;flex-shrink:0;padding:0}.blue-view .strand-found h2{font-size:30px}.blue-view .strand-found p{font-size:21px}.blue-view .trace-word{margin-top:24px;overflow-wrap:anywhere;font-size:25px;letter-spacing:2px}.blue-view .message{min-height:72px;font-size:19px}.blue-view .actions{gap:10px;margin:12px 0}.blue-view .actions button{padding:12px 18px}.blue-view .actions .primary{flex-basis:100%}.blue-view .again{margin-top:14px}.blue-view .theme{margin:12px auto;padding:10px}.blue-view .instructions{margin:8px 0}.blue-view .game-title h1{margin:4px 0}
@media(max-width:900px){.blue-view .strands-layout{flex-direction:column;gap:24px}.blue-view .strands-grid{--strand-size:min(80px,calc((100vw - 36px - (var(--strand-cols) - 1)*7px)/var(--strand-cols)));gap:7px}.blue-view .strand-cell{font-size:clamp(27px,5vw,42px)}.blue-view .strand-found{width:min(100%,560px);display:block;text-align:center}.blue-view .found-word{display:inline-block;margin:8px!important}.blue-view .actions .primary{flex-basis:auto}.blue-view .message{min-height:48px}.blue-view .trace-word{margin-top:16px}}
.teacher.demo-teacher{position:relative;width:300px;height:360px;background:none;animation:none;overflow:visible}.demo-teacher img{position:absolute;display:block;height:auto;pointer-events:none}.demo-teacher .teacher-body{width:50%;left:25%;top:31%;z-index:2}.demo-teacher .teacher-head{width:56.7%;left:21.6%;top:0;z-index:3}.demo-teacher .teacher-arm-left{width:43.3%;left:-3%;top:36%;transform:scaleX(-1) rotate(16deg)}.demo-teacher .teacher-arm-right{width:43.3%;left:60%;top:36%;transform-origin:8% 20%;animation:demo-wave 3s ease-in-out infinite}@keyframes demo-wave{0%,100%{transform:rotate(5deg)}40%,65%{transform:rotate(-22deg)}}@media(min-width:1200px) and (max-height:850px){.teacher.demo-teacher{width:235px;height:282px}}@media(max-width:700px){.teacher.demo-teacher{position:absolute;width:150px;height:180px;right:0;top:20px}}
.teacher.corrected-teacher{position:relative;width:190px;height:380px;background-image:url('/teacher-corrected.png');background-size:200% 100%;background-position:100% 0;background-repeat:no-repeat;clip-path:inset(0 0 0 5%);transform-origin:50% 95%;animation:teacher-greet 4s ease-in-out infinite}@keyframes teacher-greet{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(1deg)}}@media(min-width:1200px) and (max-height:850px){.teacher.corrected-teacher{width:150px;height:300px}}@media(max-width:700px){.teacher.corrected-teacher{position:absolute;width:105px;height:210px;right:0;top:10px}}
.teacher.corrected-teacher{--teacher-height:380px;width:calc(var(--teacher-height)*.55);height:var(--teacher-height);background:none;clip-path:none;animation:none;overflow:hidden}.corrected-teacher span{position:absolute;inset:0;background-image:url('/teacher-corrected.png');background-size:var(--teacher-height) var(--teacher-height);background-repeat:no-repeat}.teacher-welcome-pose{background-position:0 0;animation:welcome-pose 4s steps(1,end) infinite}.teacher-point-pose{background-position:calc(var(--teacher-height)*-.47) 0;clip-path:inset(0 0 0 11%);animation:point-pose 4s steps(1,end) infinite}@keyframes welcome-pose{0%,100%{opacity:1}50%{opacity:0}}@keyframes point-pose{0%,100%{opacity:0}50%{opacity:1}}@media(min-width:1200px) and (max-height:850px){.teacher.corrected-teacher{--teacher-height:300px}}@media(max-width:700px){.teacher.corrected-teacher{--teacher-height:210px}}@media(prefers-reduced-motion:reduce){.teacher-welcome-pose{opacity:1}.teacher-point-pose{opacity:0}}
.teacher-welcome-pose{clip-path:inset(0 4% 0 0)}
.teacher-approval{text-align:center;margin:8px 0 20px}.teacher-approval button{background:#fff2ba;border-color:#997700;font-size:18px}.teacher-stage{position:relative;width:270px;margin:12px auto 0}.teacher-stage .teacher-speech{position:relative;z-index:2;max-width:none!important;background:white;border:2px solid #172442;box-shadow:3px 4px 0 #172442;border-radius:18px;padding:9px 12px;margin:0 0 5px!important;text-align:center;font-size:18px!important;font-weight:800;animation:hello-pop .35s ease-out}.lively-teacher{width:240px;height:360px;margin:auto;background-image:url('/teacher-lively-sheet.png');background-size:200% 200%;background-repeat:no-repeat;transform-origin:50% 96%;animation:host-bounce 1.6s ease-in-out infinite}.lively-teacher.pose-0{background-position:0 0;animation:host-wave 1.6s ease-in-out infinite}.lively-teacher.pose-1{background-position:100% 0}.lively-teacher.pose-2{background-position:0 100%}.lively-teacher.pose-3{background-position:100% 100%}@keyframes host-wave{0%,100%{transform:translateY(0) rotate(0)}18%{transform:translateY(-14px) rotate(-4deg)}38%{transform:translateY(-5px) rotate(4deg)}58%{transform:translateY(-10px) rotate(-3deg)}78%{transform:translateY(-2px) rotate(2deg)}}@keyframes host-bounce{0%,100%{transform:translateY(0) rotate(-1deg)}35%{transform:translateY(-9px) rotate(2deg)}65%{transform:translateY(-3px) rotate(0)}}@keyframes hello-pop{from{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}@keyframes game-invitation{0%,12%,100%{transform:translateX(0)}3%,9%{transform:translateX(7px)}6%{transform:translateX(2px)}}.home .game-card{animation:game-invitation 9.6s ease-in-out infinite}.home .game-card:nth-child(1){animation-delay:3.2s}.home .game-card:nth-child(2){animation-delay:4.8s}.home .game-card:nth-child(3){animation-delay:6.4s}.home .game-card:nth-child(4){animation-delay:8s}.home .game-card:hover{animation:none;transform:translateX(5px)}@media(min-width:1200px) and (max-height:850px){.teacher-stage{width:235px}.lively-teacher{width:190px;height:285px}.teacher-stage .teacher-speech{font-size:16px!important}}@media(max-width:700px){.teacher-stage{position:absolute;right:0;top:0;width:150px;margin:0}.lively-teacher{width:130px;height:195px}.teacher-stage .teacher-speech{font-size:13px!important;padding:6px;box-shadow:2px 2px 0 #172442}.welcome>p:not(.eyebrow){max-width:52%}}
[hidden]{display:none!important}.classroom-choice{max-width:1450px;padding:50px 5vw 24px;margin:auto;display:grid;grid-template-columns:1fr 1.25fr;gap:6vw;align-items:center}.classroom-choice h1{font-size:clamp(38px,4.8vw,70px)}.classroom-buttons{display:grid;gap:30px}.classroom-card{border-radius:26px;min-height:220px;padding:30px;text-align:left;box-shadow:6px 7px 0 #172442}.classroom-card h2{font-size:clamp(30px,3vw,46px);margin:16px 0 8px}.classroom-card p{font-weight:500;font-size:20px;margin:0}.reading-card{background:#8ad4f3}.puzzles-card{background:#ffda59}.activity-number{font-size:16px;letter-spacing:3px}.landing-teacher{width:200px;height:300px;animation:host-bounce 2.5s ease-in-out infinite}.reading-workspace{max-width:1350px;margin:30px auto;padding:0 28px 50px}.reading-intro{text-align:center}.reading-intro h1{font-size:42px;margin:12px}.reading-poem{max-width:1000px;margin:30px auto;background:white;border:2px solid #c6cee0;border-radius:24px;padding:36px;text-align:center}.reading-poem h2{font-size:40px;color:#183e84;margin-bottom:30px}.reading-poem p{font-size:clamp(22px,2.3vw,34px);line-height:1.65;margin:24px 0}.reading-poem p span{display:block}@media(max-width:800px){.classroom-choice{grid-template-columns:1fr;gap:24px;padding:28px 24px}.classroom-choice>div:first-child{position:relative;min-height:230px;padding-right:125px}.landing-teacher{position:absolute;right:0;top:20px;width:125px;height:188px}.classroom-card{min-height:170px;padding:24px}.classroom-card h2{font-size:32px}.reading-poem{padding:24px 12px}.reading-workspace{padding:0 12px 30px}}

/* Morning Reading library: self-contained themes also work in the offline edition. */
.reading-library{--unit-color:#e4edf9;--unit-accent:#31577c;background:#f7f8fc}.library-content{max-width:1320px;margin:auto;padding:24px 4vw 50px}.reading-breadcrumbs{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:28px;font-size:17px}.reading-breadcrumbs button{border:0;background:transparent;padding:8px 4px;color:#415174;border-radius:8px}.library-content>h1{max-width:1000px;font-size:clamp(38px,4.5vw,64px)}.library-description{color:#52617b;margin-bottom:30px}.unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.unit-card{position:relative;border:1px solid #17244230;border-radius:24px;text-align:left;padding:28px;box-shadow:0 5px 0 #17244212;display:flex;flex-direction:column;min-height:275px;transition:transform .2s}.unit-card:hover{transform:translateY(-4px)}.unit-card h2{font-size:29px;line-height:1.14;letter-spacing:-.7px;margin:12px 0}.unit-card p{font-size:17px;font-weight:400;margin:8px 0 20px}.unit-symbol{position:absolute;right:24px;top:15px;font-size:38px;opacity:.65}.unit-card .eyebrow{font-size:13px}.unit-count{font-size:14px;margin-top:auto;display:flex;justify-content:space-between}.week-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.week-grid button{text-align:left;padding:26px;background:var(--unit-color);border:1px solid #17244230;border-radius:20px}.week-grid button>span{font-size:13px;letter-spacing:2px;color:var(--unit-accent)}.week-grid h2{font-size:27px;margin:14px 0;min-height:64px}.week-grid p{font-size:16px;display:flex;justify-content:space-between}.curriculum-note{font-size:15px;color:#52617b;margin-top:28px}.reading-toolbar{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.level-switch,.reading-tools{display:flex;gap:8px;flex-wrap:wrap}.reading-tools button{font-size:16px;padding:10px 18px}.poem-sheet{position:relative;isolation:isolate;overflow:hidden;background:var(--unit-color);border:1px solid #17244220;border-radius:28px;min-height:570px;padding:48px 7%;color:#172442;box-shadow:0 12px 35px #1724420c;display:grid;align-items:center}.reading-art{position:absolute;inset:0;width:100%;height:100%;color:var(--unit-accent);opacity:.42;z-index:-1}.poem-text{text-align:center;width:100%;position:relative}.poem-label{font-size:13px;letter-spacing:3px;font-weight:700;color:var(--unit-accent);margin:0 0 18px}.poem-text h2{font-size:clamp(34px,4vw,52px);color:var(--unit-accent);line-height:1.2;margin-bottom:32px}.poem-couplet{font-size:var(--reading-size);line-height:1.65;letter-spacing:0;margin:0 0 22px;font-weight:500}.poem-couplet span{display:block}.poem-footer{font-size:12px;color:var(--unit-accent);letter-spacing:1px;margin-top:30px}.reading-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}.reading-pager span{font-size:16px}.reading-pager button{font-size:17px}.is-presenting{height:100vh;overflow:auto;background:var(--unit-color)}.is-presenting .reading-navigation,.is-presenting .reading-breadcrumbs,.is-presenting .reading-toolbar,.is-presenting .reading-pager{display:none}.is-presenting .library-content{max-width:none;padding:0}.is-presenting .poem-sheet{min-height:100vh;border:0;border-radius:0;box-shadow:none;padding:90px 8% 35px}.presentation-controls{position:fixed;top:12px;right:16px;display:flex;gap:10px;z-index:5}.presentation-controls button{font-size:15px;background:#ffffffed}.is-presenting .poem-couplet{font-size:clamp(28px,3.5vw,50px)}
@media(max-width:800px){.unit-grid,.week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-card{padding:22px;min-height:260px}.unit-card h2{font-size:25px}.poem-sheet{padding:38px 20px}.poem-couplet{font-size:min(var(--reading-size),4.4vw)}.reading-pager{flex-wrap:wrap}.reading-pager button{font-size:14px;padding:10px 14px}.week-grid h2{font-size:24px}.reading-toolbar{gap:12px}}
@media(max-width:480px){.unit-grid,.week-grid{grid-template-columns:1fr}.unit-card{min-height:215px}.library-content{padding:16px}.poem-text h2{font-size:30px}.poem-sheet{min-height:480px;padding:35px 12px}.poem-label{font-size:10px;letter-spacing:1px}.poem-footer{font-size:10px}.is-presenting .poem-couplet{font-size:5vw}.reading-tools button{font-size:14px;padding:8px 12px}.week-grid h2{min-height:0}}
@media print{@page{size:A4 portrait;margin:12mm}body{background:white!important}body:has(.reading-library) .classroom-landing,body:has(.reading-library) .reading-navigation,.reading-breadcrumbs,.reading-toolbar,.reading-pager,.presentation-controls{display:none!important}.reading-library,.library-content{padding:0!important;margin:0!important;min-height:0!important;height:auto!important;overflow:visible!important}.poem-sheet{height:270mm;min-height:0;border:0;box-shadow:none;border-radius:0;padding:18mm 8mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;break-inside:avoid}.poem-couplet{font-size:23pt!important}.poem-text h2{font-size:32pt}.poem-label{font-size:10pt}.poem-footer{font-size:10pt}}

/* Illustrated UOI sheets and three differentiated reading groups. */
.level-switch .reading-level{min-width:112px;border:2px solid transparent;border-radius:15px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#172442}.reading-level strong{font-size:21px}.reading-level small{font-size:14px;font-weight:500}.reading-level.level-blue{background:#cbe7ff}.reading-level.level-red{background:#ffd3d3}.reading-level.level-yellow{background:#ffeb9a}.reading-level[aria-pressed=true]{border-color:#172442;box-shadow:0 0 0 2px #fff,0 0 0 4px #172442}.reading-level[aria-pressed=false]{opacity:.75}.unit-count{flex-wrap:wrap;gap:6px}.reading-library .poem-sheet{background-color:#fff;background-repeat:no-repeat;background-size:100% 100%;min-height:660px;aspect-ratio:3/2;padding:7% 10%}.poem-text{background:radial-gradient(ellipse,rgba(255,255,255,.97) 50%,rgba(255,255,255,.72) 78%,rgba(255,255,255,0) 100%);border-radius:30px;padding:12px 5px}.poem-couplet{line-height:1.5;margin-bottom:18px}.poem-footer{font-size:14px}.poem-label{font-size:14px;letter-spacing:1.8px}.poem-text h2{margin-bottom:26px}.reading-library.is-presenting .poem-sheet{min-height:100vh;aspect-ratio:auto;padding:80px 11% 30px}.is-presenting .poem-couplet{font-size:clamp(26px,2.7vw,42px)}.presentation-controls .reading-level{border-radius:12px;padding:8px 16px;min-height:44px}.uoi-1 .poem-sheet{background-image:url('/reading-backgrounds/uoi-1.png')}.uoi-2 .poem-sheet{background-image:url('/reading-backgrounds/uoi-2.png')}.uoi-3 .poem-sheet{background-image:url('/reading-backgrounds/uoi-3.png')}.uoi-4 .poem-sheet{background-image:url('/reading-backgrounds/uoi-4.png')}.uoi-5 .poem-sheet{background-image:url('/reading-backgrounds/uoi-5.png')}.uoi-6 .poem-sheet{background-image:url('/reading-backgrounds/uoi-6.png')}
@media(max-width:700px){.reading-library .poem-sheet{min-height:520px;padding:55px 7%;aspect-ratio:auto;background-size:100% auto;background-position:center bottom}.poem-text{padding:15px 0}.poem-label{font-size:12px;letter-spacing:.4px}.poem-footer{font-size:12px}.poem-couplet{font-size:min(var(--reading-size),4.6vw);line-height:1.65}.level-switch .reading-level{min-width:88px}.presentation-controls{position:sticky;justify-content:center;padding:10px;background:#ffffffdc;top:0;right:auto;flex-wrap:wrap}.reading-library.is-presenting .poem-sheet{padding:35px 6%;min-height:calc(100vh - 90px)}.is-presenting .poem-couplet{font-size:4.6vw}}
@media print{@page{size:A4 landscape;margin:8mm}.reading-library .poem-sheet,.reading-library.is-presenting .poem-sheet{height:190mm;min-height:0;aspect-ratio:auto;padding:10mm 24mm;background-size:100% 100%;border:0}.poem-couplet,.is-presenting .poem-couplet{font-size:19pt!important;line-height:1.4;margin-bottom:4mm}.poem-text h2{font-size:29pt;margin-bottom:6mm}.poem-text{padding:0}.poem-label{font-size:10pt;margin-bottom:4mm}.poem-footer{font-size:10pt;margin-top:5mm}}

.phonics-card{background:#b9e6cf}.classroom-buttons{gap:16px}.classroom-card{min-height:170px}.phonics-content{max-width:1150px;margin:auto;padding:20px 24px;text-align:center}.phonics-content h1{font-size:48px;margin:15px 0}.phonics-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px auto}.phonics-choices button{min-height:125px;border-radius:22px;background:#b9e6cf;font-size:28px}.phonics-sounds{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:24px auto}.phonics-sounds button{min-width:58px;border-radius:14px}.phonic-round{background:white;border:1px solid #c6cee0;border-radius:24px;padding:24px}.phonic-picture{font-size:100px;display:block;line-height:1.3}.phonic-letters{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.phonic-letters button{font-size:36px;min-width:64px;border-radius:12px}.phonic-letters .given{opacity:1;color:#184f36;background:#d3f1df;border-color:#5b9974}.sound-label{font-size:21px}.phonic-match{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:700px;margin:auto}.phonic-match>div{display:grid;grid-template-rows:repeat(3,100px);gap:14px}.phonic-match button{font-size:38px;border-radius:18px;touch-action:none;user-select:none}.phonic-match button[hidden]{display:block!important;visibility:hidden}.phonic-match .picked{background:#ffeb9a;outline:4px solid #172442}.phonic-memory{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.phonic-memory button{height:105px;background:#415f97;color:white;border-radius:18px;font-size:36px;transition:transform .25s,background .25s}.phonic-memory button.flipped{background:#fff0c2;color:#172442;transform:rotate(0deg)}.phonic-memory button:disabled{opacity:1}.phonic-memory .matched{visibility:hidden}.phonics-note{font-size:14px;color:#52617b}.phonics-content .actions{margin:10px auto}.phonic-round>p{margin:12px auto}@media(max-width:650px){.phonics-choices{grid-template-columns:repeat(2,1fr)}.phonics-choices button{font-size:22px}.phonics-content{padding:15px 10px}.phonic-round{padding:16px 10px}.phonic-memory{gap:7px}.phonic-memory button{font-size:22px;height:80px;padding:4px}.phonic-match{gap:20px}.phonic-match button{font-size:30px}.phonic-letters button{min-width:42px;font-size:27px;padding:8px}.phonics-content h1{font-size:38px}}

.phonics-choices button small{display:block;font-size:15px;font-weight:400;margin-top:8px}.phonics-picker{margin:20px auto;text-align:left;border:1px solid #c6cee0;border-radius:18px;background:#fff;padding:16px}.phonics-picker summary{cursor:pointer;font-size:20px;font-weight:700;min-height:36px}.phonics-picker .phonics-sounds{max-height:330px;overflow:auto;justify-content:flex-start;padding:8px}.phonics-picker button{font-size:18px}.picture-clue{display:block;font-size:15px;line-height:1.2;font-weight:500;margin:4px auto;max-width:280px;letter-spacing:0}.phonic-memory .picture-clue{font-size:13px}.phonic-match button{display:flex;flex-direction:column;align-items:center;justify-content:center}.phonic-memory button{overflow-wrap:anywhere;font-size:clamp(17px,2.8vw,34px)}.phonic-memory button.flipped{animation:phonic-flip .25s ease}@keyframes phonic-flip{from{transform:rotateY(90deg)}to{transform:rotateY(0)}}

.phonic-letters button.letter-correct{background:#237a3b;border-color:#195e2b;color:white;opacity:1}.phonic-letters button.letter-incorrect{background:#b52f35;border-color:#8d2028;color:white;opacity:1}

.game-card.pink{background:#f9c4d8}.game-card.orange{background:#ffdaa7}.balloon-game{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,1.25fr);gap:28px;align-items:center}.balloon-scene{height:460px;position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(#d8f1ff,#f6fcff);isolation:isolate}.balloon-rig{position:relative;width:100%;height:100%;animation:balloon-sway 3s ease-in-out infinite;transform-origin:50% 15%}.balloons{position:absolute;width:100%;height:255px;top:5px;left:0;overflow:visible}.balloon-teacher.lively-teacher{position:absolute;top:208px;left:calc(50% - 73px);width:146px;height:219px;animation:none;transform:rotate(6deg)}.balloon-popped{animation:balloon-pop .35s ease-out forwards;pointer-events:none}.balloon-popped path{visibility:hidden}.balloon-rig.rig-falling{animation:taylor-fall 1.15s .3s ease-in forwards}.balloon-rig.rig-saved{animation:balloon-sway 1.4s ease-in-out infinite}.sky-cloud{position:absolute;width:100px;height:35px;background:white;border-radius:50%;opacity:.8;top:150px}.cloud-one{left:-15px}.cloud-two{right:-10px;top:300px;width:130px}.balloon-word{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:20px 0}.balloon-word span{font-size:clamp(24px,3vw,42px);font-weight:800;min-width:32px;border-bottom:3px solid #172442;padding:5px}.missed-letter{color:#b52f35}.balloon-keyboard{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.balloon-keyboard button{padding:12px 4px;font-size:25px;min-height:54px;border-radius:12px}.balloon-keyboard .letter-hit{background:#237a3b;color:white;opacity:1}.balloon-keyboard .letter-miss{background:#dbe0e8;color:#68717d;opacity:.6}.search-layout{display:grid;grid-template-columns:minmax(300px,720px) minmax(180px,260px);gap:30px;justify-content:center;align-items:start}.search-grid{display:grid;gap:3px;touch-action:none;user-select:none;background:#fff;border:2px solid #c6cee0;border-radius:18px;padding:10px}.search-grid button{padding:0;aspect-ratio:1;min-width:0;border:0;border-radius:8px;font-size:clamp(16px,2.6vw,30px);background:#f2f5fa;touch-action:none}.search-grid .search-found{background:#a9e1bc;color:#154928}.search-grid .search-select{background:#ffc542;color:#172442;box-shadow:inset 0 0 0 2px #aa7910}.search-word-list{display:flex;flex-direction:column;gap:16px;text-align:left;font-size:25px;font-weight:750}.search-word-list .word-found{color:#237a3b;text-decoration:line-through}.search-sidebar>p{font-size:17px}.search-sidebar button{margin-top:15px}@keyframes balloon-sway{0%,100%{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(2deg) translateY(-9px)}}@keyframes balloon-pop{0%{opacity:1;transform:scale(1)}40%{opacity:.8;transform:scale(1.35)}100%{opacity:0;transform:scale(.1)}}@keyframes taylor-fall{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(650px) rotate(35deg)}}@media(max-width:700px){.balloon-game,.search-layout{grid-template-columns:1fr}.balloon-scene{height:350px}.balloon-rig{transform:scale(.8);transform-origin:50% 0}.balloon-teacher.lively-teacher{top:155px;width:120px;height:180px;left:calc(50% - 60px)}.balloons{height:200px}.search-word-list{flex-direction:row;flex-wrap:wrap;font-size:20px;gap:12px}.search-grid{padding:5px;gap:2px}.search-sidebar>p{margin:10px 0}}@media(prefers-reduced-motion:reduce){.balloon-rig,.balloon-rig.rig-saved{animation:none}.balloon-popped{animation:none;opacity:0}.balloon-rig.rig-falling{animation:none;visibility:hidden}}

.search-grid button.search-hint{background:#fff09a;box-shadow:inset 0 0 0 3px #aa7400;color:#172442}.phonics-content .search-layout{text-align:center}.search-sidebar>button{margin:8px 5px}.phonics-content .balloon-game{margin-top:20px}

.frame-teacher{width:min(100%,360px);height:390px;margin:0 auto;overflow:hidden}.frame-teacher canvas{display:block;width:100%;height:100%;object-fit:contain}.balloon-frame{position:absolute;top:190px;left:calc(50% - 130px);width:260px;height:255px}.balloon-frame .frame-teacher{width:260px;height:255px}.home .game-card{animation:none}@media(min-width:1200px) and (max-height:850px){.frame-teacher{width:310px;height:330px}}@media(max-width:800px){.classroom-choice>div:first-child>.frame-teacher{position:absolute;right:0;top:15px;width:150px;height:220px}.home .frame-teacher{width:240px;height:270px}}@media(max-width:700px){.balloon-frame{top:145px;height:200px;width:220px;left:calc(50% - 110px)}.balloon-frame .frame-teacher{width:220px;height:200px}}

.classroom-choice h1,.home .welcome h1{font-size:clamp(26px,2.8vw,40px);line-height:1.12;margin:12px 0}.classroom-choice .eyebrow,.home .welcome .eyebrow{font-size:12px;letter-spacing:2px}.classroom-choice{align-items:start;padding-top:28px;gap:4vw;grid-template-columns:1.1fr 1.25fr}.classroom-choice .frame-teacher,.home .frame-teacher{width:100%;max-width:540px;height:clamp(390px,62vh,610px);margin:0 auto}.frame-teacher{position:relative}.frame-fallback{position:absolute;inset:0;margin:auto;animation:none!important}.classroom-card{min-height:180px}.classroom-buttons{gap:22px}@media(max-width:800px){.classroom-choice>div:first-child{padding-right:0;min-height:0}.classroom-choice>div:first-child>.frame-teacher{position:relative;top:auto;right:auto;width:100%;height:350px;max-width:420px}.classroom-choice{grid-template-columns:1fr}.home .frame-teacher{height:350px}.classroom-choice h1,.home .welcome h1{font-size:30px}}
.css-frame-teacher{aspect-ratio:1;isolation:isolate}.frame-position{position:absolute;inset:0;transform-origin:50% 95%;animation:frame-entrance 5.4s linear both}.frame-art{width:100%;height:100%;background-repeat:no-repeat;background-size:400% 400%;background-position:33.333333% 100%;animation:frame-walk .8s steps(1,end) 6.75,frame-wave 2.4s 5.4s steps(1,end) forwards,frame-idle 4.5s 7.8s steps(1,end) infinite}.frames-paused *{animation-play-state:paused!important}.frame-hanging .frame-position{animation:none}.frame-hanging .frame-art{animation:none;background-position:33.333333% 66.666667%}.frame-position{height:auto;aspect-ratio:1;top:auto;bottom:0}
@keyframes frame-entrance{0%{transform:translate(-90%,-30%) scale(.22)}33.333%{transform:translate(0,-30%) scale(.22)}50%{transform:translate(0,-24%) scale(.3)}75%{transform:translate(0,-13%) scale(.6)}100%{transform:translate(0,0) scale(1)}}
@keyframes frame-walk{0%{background-position:0 0}12.5%{background-position:33.333333% 0}25%{background-position:66.666667% 0}37.5%{background-position:100% 0}50%{background-position:0 33.333333%}62.5%{background-position:33.333333% 33.333333%}75%{background-position:66.666667% 33.333333%}87.5%,100%{background-position:100% 33.333333%}}
@keyframes frame-wave{0%{background-position:0 66.666667%}12.5%,37.5%,62.5%{background-position:33.333333% 66.666667%}25%,50%,75%{background-position:66.666667% 66.666667%}87.5%,100%{background-position:100% 66.666667%}}
@keyframes frame-idle{0%,90%{background-position:0 100%}10%,50%{background-position:33.333333% 100%}30%{background-position:66.666667% 100%}70%{background-position:100% 100%}}
@media(prefers-reduced-motion:reduce){.frame-position,.frame-art{animation:none!important}.frame-position{transform:none}}
.css-frame-teacher .frame-position{height:100%;width:auto;aspect-ratio:1;top:0;bottom:auto;left:50%;right:auto;translate:-50% 0}

.school-logo{display:block;width:min(370px,50vw);height:auto;max-height:84px;object-fit:contain;object-position:left center}.launch-page{min-height:100vh}.launch-layout{max-width:1450px;margin:auto;padding:24px 4vw;display:grid;grid-template-columns:.9fr 1.4fr;gap:50px;align-items:start}.launch-clock{padding:25px 0;position:sticky;top:20px}.launch-clock h1{font-size:clamp(38px,4.2vw,65px);margin:10px 0}.launch-date{font-size:24px;margin:12px 0}.live-clock{display:block;font-size:clamp(48px,5.8vw,86px);font-weight:750;letter-spacing:-3px;font-variant-numeric:tabular-nums;margin:25px 0 0}.launch-clock>small{color:#62708a}.now-lesson{border-left:5px solid #77b65a;padding:12px 20px;margin:30px 0;background:#fff;border-radius:0 16px 16px 0}.now-lesson>span{font-size:12px;letter-spacing:2px;font-weight:800}.now-lesson h2{font-size:28px;margin:8px 0}.now-lesson p{font-size:17px}.launch-enter{display:flex;justify-content:space-between;align-items:center;background:#ffdc61;width:100%;padding:22px;font-size:26px;border-radius:20px;box-shadow:4px 5px 0 #172442}.today-timetable h2{font-size:30px;margin:0 0 14px}.today-timetable ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}.today-timetable li{display:grid;grid-template-columns:125px 100px 1fr auto;align-items:center;gap:12px;padding:11px 16px;border-radius:12px;border:2px solid transparent;min-height:47px}.today-timetable time{font-size:17px;font-variant-numeric:tabular-nums}.lesson-period{font-size:13px;color:#49526b}.today-timetable strong{font-size:20px}.today-timetable .lesson-current{border-color:#172442;box-shadow:3px 3px 0 #172442}.lesson-finished{opacity:.65}.now-badge{background:#172442;color:white;border-radius:20px;padding:5px 8px;font-size:11px;font-weight:800}.weekend-message{background:white;border-radius:20px;padding:40px}.weekend-message h3{font-size:34px}@media(max-width:850px){.launch-layout{grid-template-columns:1fr;gap:25px;padding:20px}.launch-clock{position:static;padding:0}.live-clock{font-size:60px;margin:10px 0}.launch-clock h1{font-size:40px}.now-lesson{margin:18px 0}.today-timetable li{grid-template-columns:110px 75px 1fr auto;gap:6px;padding:9px}.today-timetable strong{font-size:17px}.today-timetable time{font-size:14px}.school-logo{max-height:60px}.launch-page header>button{font-size:14px;padding:10px}}

.global-fullscreen{position:fixed;bottom:14px;right:18px;z-index:10000;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.global-fullscreen button{background:#172442;color:#fff;border:2px solid white;box-shadow:0 3px 12px #17244233;padding:12px 18px;font-size:16px;border-radius:30px}.global-fullscreen span{background:white;padding:10px;border-radius:10px;max-width:280px;font-size:14px}body{padding-bottom:70px}@media print{.global-fullscreen{display:none!important}}

/* Fit whole pages to the board; no clipped or scroll-only content. */
@media screen{html,body{height:100%;overflow:hidden!important}body{padding-bottom:0!important}main.fit-page{min-height:0!important;margin-left:auto;margin-right:auto;transform-origin:top center}main>header{gap:12px}main>header .global-fullscreen{position:static;flex:none;margin-left:auto;z-index:50}.global-fullscreen button{min-height:42px;white-space:nowrap;padding:9px 14px}.global-fullscreen span{position:absolute;right:15px;top:70px;z-index:100}.school-logo{flex-shrink:1;min-width:100px;max-width:32vw}.word-list,.phonics-picker .phonics-sounds{max-height:none!important;overflow:visible!important}.launch-clock{position:static}.launch-layout{padding:16px 3vw;gap:30px}.today-timetable li{min-height:40px;padding:6px 12px}.today-timetable ol{gap:4px}.home{padding-top:20px}.home .menu{grid-template-columns:1fr 1fr;gap:16px}.home .game-card{padding:18px;gap:12px}.home .game-card h2{font-size:27px}.home .game-icon{width:48px;height:48px;font-size:28px;flex-shrink:0}.home .game-card .arrow{display:none}.home .game-card p{font-size:15px}.phonics-content{padding-top:8px}.phonics-choices button{min-height:90px}.reading-library.is-presenting>.reading-navigation{display:flex!important}.reading-library.is-presenting{overflow:visible!important}.activity-loading{padding:20px}}
@media print{main.fit-page{zoom:1!important;width:auto!important}}
@media screen{main>header{height:78px;padding-top:10px;padding-bottom:10px}main>header .school-logo{max-height:54px;width:auto;max-width:32%;object-fit:contain}}

/* The timetable fills the board instead of shrinking a fixed-size page. */
@media screen{main.launch-page{height:100dvh;min-height:0;display:flex;flex-direction:column;margin:0}.launch-page>header{height:70px;flex:0 0 70px;padding:8px 2vw}.launch-page .launch-layout{flex:1;min-height:0;width:100%;max-width:none;display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,2.2fr);gap:2vw;padding:16px 2vw;align-items:stretch;margin:0}.launch-page .launch-clock{padding:12px 0;display:flex;flex-direction:column;justify-content:center;min-width:0}.launch-page .launch-clock h1{font-size:clamp(28px,3.4vw,66px);letter-spacing:-1px;margin:0 0 8px}.launch-page .launch-date{font-size:clamp(17px,1.6vw,30px);margin:0}.launch-page .live-clock{font-size:clamp(36px,4vw,78px);letter-spacing:-2px;margin:24px 0}.launch-page .now-lesson{margin:12px 0;padding:16px;overflow-wrap:anywhere}.launch-page .now-lesson h2{font-size:clamp(24px,2.1vw,40px)}.launch-page .now-lesson p{font-size:clamp(16px,1.3vw,24px)}.launch-page .today-timetable{display:flex;flex-direction:column;min-height:0}.launch-page .today-timetable h2{font-size:clamp(24px,2.3vw,40px);margin:0 0 10px;flex:none}.launch-page .today-timetable ol{flex:1;min-height:0;display:grid;grid-template-rows:repeat(13,minmax(0,1fr));gap:5px}.launch-page .today-timetable li{min-height:0;display:grid;grid-template-columns:minmax(125px,.75fr) minmax(90px,.55fr) minmax(0,1.6fr) auto;gap:12px;padding:3px 16px;border-radius:10px}.launch-page .today-timetable time{font-size:clamp(16px,1.55vw,29px);white-space:nowrap}.launch-page .lesson-period{font-size:clamp(13px,1.05vw,21px)}.launch-page .today-timetable strong{font-size:clamp(19px,1.9vw,36px);line-height:1.1}.launch-page .lesson-finished{opacity:.8}.launch-page .now-badge{font-size:clamp(10px,.8vw,16px)}}
@media screen and (max-height:650px){.launch-page>header{height:58px;flex-basis:58px}.launch-page .launch-layout{padding-top:8px;padding-bottom:8px}.launch-page .today-timetable h2{font-size:23px;margin-bottom:5px}.launch-page .today-timetable ol{gap:3px}.launch-page .today-timetable li{padding:0 10px}.launch-page .today-timetable strong{font-size:17px}.launch-page .today-timetable time{font-size:14px}.launch-page .lesson-period{font-size:11px}.launch-page .live-clock{margin:12px 0}}
@media screen and (max-width:750px){.launch-page .launch-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px}.launch-page .launch-clock{display:grid;grid-template-columns:1fr auto;gap:4px;padding:0}.launch-page .launch-clock h1{font-size:24px}.launch-page .launch-date{font-size:15px;grid-column:1}.launch-page .live-clock{grid-column:2;grid-row:1/3;font-size:32px;margin:0}.launch-page .now-lesson{display:none}.launch-page .today-timetable li{grid-template-columns:100px 70px 1fr auto;gap:5px;padding:0 6px}.launch-page .today-timetable strong{font-size:15px}.launch-page .today-timetable time{font-size:12px}.launch-page .lesson-period{font-size:10px}.launch-page .today-timetable h2{font-size:20px;margin-bottom:4px}}

/* BeeMee classroom identity: crest, navy, gold, and clear learning surfaces. */
body{font-family:'Avenir Next','Segoe UI',Arial,sans-serif;color:var(--beemee-ink);background:var(--background);-webkit-font-smoothing:antialiased}
button{border:1px solid #b8c2d1;color:var(--beemee-ink);border-radius:12px;box-shadow:0 2px 3px #202e4d04;transition:box-shadow .18s,border-color .18s,filter .18s}
button:hover{border-color:var(--beemee-gold);box-shadow:0 5px 16px #202e4d12;filter:brightness(.985)}
button:active{filter:brightness(.94)}button:focus-visible{outline:3px solid var(--beemee-gold);outline-offset:3px}
.primary{background:var(--beemee-navy);color:white;border-color:var(--beemee-navy)}
main>header{background:#fff;border-bottom:1px solid #d9dfe7;box-shadow:0 3px 18px #202e4d06;position:relative}
main>header:after{content:'';position:absolute;bottom:-1px;left:0;width:100%;height:2px;background:linear-gradient(90deg,#b88a3c 0%,#e2c786 26%,#b88a3c 44%,transparent 75%);pointer-events:none}
main>header>button,.header-actions button{font-size:16px;border-radius:10px;min-height:44px}
main>header .global-fullscreen button{background:var(--beemee-navy);color:#fff;border:1px solid var(--beemee-navy);border-radius:10px;box-shadow:none}
.eyebrow{color:var(--beemee-muted);letter-spacing:2px}.classroom-choice h1,.home .welcome h1,.library-content>h1,.phonics-content>h1{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-1px;color:var(--beemee-navy)}
.classroom-choice{gap:4vw}.classroom-choice>div:first-child{border-left:3px solid #b88a3c;padding-left:24px}.classroom-choice .frame-teacher{margin-left:-12px}
.classroom-buttons{gap:18px}.classroom-card{position:relative;background:white;border:1px solid #d6dde6;border-left:7px solid var(--activity-accent);border-radius:16px;box-shadow:var(--beemee-shadow);padding:24px 30px;min-height:172px;overflow:hidden}
.reading-card{--activity-accent:#387d99}.puzzles-card{--activity-accent:#c19635}.phonics-card{--activity-accent:#3c846c}
.classroom-card .activity-number{color:var(--activity-accent);font-size:14px;letter-spacing:2px;font-weight:800}.classroom-card h2{font-size:clamp(29px,3vw,44px);letter-spacing:-1px;margin:12px 0 8px;color:var(--beemee-navy)}
.classroom-card p{font-size:18px;color:var(--beemee-muted)}.activity-open{position:absolute;right:24px;top:20px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #dbe1e8;border-radius:50%;font-size:23px;color:var(--activity-accent);background:#fff}
.game-card{border:1px solid #202e4d24;border-radius:16px;box-shadow:var(--beemee-shadow)}.game-icon{border:1px solid #202e4d30;background:#ffffff75;border-radius:12px}.game-card h2{letter-spacing:-.7px}.game-card p{color:#293554}
.phonic-round,.phonics-picker,.word-list,.answers,.search-grid{border-color:#d9dfe7;box-shadow:var(--beemee-shadow);border-radius:16px}.phonic-round h2,.game-title h1{color:var(--beemee-navy);letter-spacing:-1px}
.phonics-choices button{border:1px solid #202e4d22;box-shadow:var(--beemee-shadow);border-radius:16px}.phonics-choices button:not([style]){background:#fff;border-top:4px solid var(--beemee-gold);color:var(--beemee-navy)}
.phonics-sounds button{border-color:#ccd5e1;box-shadow:none}.phonics-picker summary{color:var(--beemee-navy)}.phonic-memory button:not(.flipped){background:var(--beemee-navy);border-color:#61708e;color:#e8ca89}
.reading-library{background:var(--background)}.reading-breadcrumbs{margin-bottom:16px}.library-content{padding-top:18px}.library-content>h1{margin:12px 0 26px}.unit-card{background:linear-gradient(135deg,#fff 42%,var(--card-tint));border:1px solid #d5dde7;border-top:4px solid var(--beemee-gold);border-radius:16px;box-shadow:var(--beemee-shadow);min-height:240px}.unit-card .eyebrow{color:#79571c;font-size:14px}.unit-card h2{color:var(--beemee-navy);font-size:29px}.unit-card p{color:#45536c}.unit-symbol{opacity:1}
.week-grid button{background:linear-gradient(135deg,#fff 50%,var(--unit-color));border-color:#d5dde7;border-top:3px solid var(--beemee-gold);box-shadow:var(--beemee-shadow);border-radius:16px}.week-grid button>span{font-size:14px;font-weight:700;color:#79571c}.week-grid h2{color:var(--beemee-navy)}
.reading-level{box-shadow:none}.poem-sheet{border-radius:18px;box-shadow:var(--beemee-shadow)}
@media screen{
.launch-page{background:#f2f4f7}.launch-page .launch-layout{gap:2vw;padding:18px 2vw}.launch-page .launch-clock{position:relative;top:auto;overflow:hidden;background:var(--beemee-navy);border:1px solid #344465;border-top:4px solid var(--beemee-gold);border-radius:20px;padding:clamp(18px,2vw,36px);color:#fff;box-shadow:0 12px 32px #202e4d12}
.launch-page .launch-clock h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3.25vw,64px);letter-spacing:-1px;color:#fff}.launch-page .launch-date{color:#dbe2ef;font-size:clamp(17px,1.4vw,27px)}
.launch-page .live-clock{font-size:clamp(34px,3.6vw,70px);letter-spacing:-1.5px;font-weight:650;margin:28px 0 32px;color:#fff;white-space:nowrap}
.launch-page .now-lesson{background:#ffffff0c;border:1px solid #ffffff24;border-left:3px solid #dfbd76;border-radius:0 12px 12px 0;padding:16px;margin:0}.launch-page .now-lesson>span{color:#e8c980;font-size:12px;letter-spacing:2px}.launch-page .now-lesson h2{color:white;letter-spacing:-.4px;font-size:clamp(23px,2vw,38px);line-height:1.15}.launch-page .now-lesson p{color:#dbe2ef;font-size:clamp(16px,1.2vw,23px);margin:12px 0 0}
.launch-page .today-timetable h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:var(--beemee-navy);letter-spacing:-.7px;margin:0 0 12px}
.launch-page .today-timetable li{background:color-mix(in srgb,var(--lesson-tint) 45%,white);border:1px solid #202e4d0c;border-left:7px solid color-mix(in srgb,var(--lesson-tint) 65%,#64758a);border-radius:9px;box-shadow:0 2px 3px #202e4d03;gap:12px;grid-template-columns:minmax(125px,.75fr) minmax(90px,.55fr) minmax(0,1.6fr) auto}
.launch-page .today-timetable time{font-weight:500;color:#43516a}.launch-page .lesson-period{color:#526077}.launch-page .today-timetable strong{font-weight:700;color:#253451;letter-spacing:-.35px}.launch-page .lesson-finished{opacity:1}.launch-page .today-timetable .lesson-current{border:2px solid var(--beemee-gold);border-left:7px solid var(--beemee-gold);background:#fff6de;box-shadow:0 0 0 2px #b88a3c14}.launch-page .now-badge{background:var(--beemee-navy);border-radius:5px;letter-spacing:1px;padding:5px 9px}
}
@media screen and (max-height:650px){.launch-page .launch-layout{padding-top:8px;padding-bottom:8px}.launch-page .launch-clock{padding:18px}.launch-page .live-clock{margin:16px 0}.launch-page .today-timetable h2{margin-bottom:5px}.launch-page .today-timetable li{border-left-width:5px}.launch-page .now-lesson{padding:12px}}
@media screen and (max-width:750px){.launch-page .launch-layout{padding:10px;gap:8px}.launch-page .launch-clock{border-radius:12px;padding:10px 16px;border-top-width:2px}.launch-page .launch-clock h1{font-size:24px}.launch-page .launch-date{font-size:14px}.launch-page .live-clock{font-size:30px;margin:0}.launch-page .today-timetable li{grid-template-columns:100px 70px minmax(0,1fr) auto;gap:5px;padding:0 6px;border-left-width:4px}.classroom-choice>div:first-child{padding-left:16px}.classroom-card{padding:22px}.activity-open{right:16px}}

/* Subject colours remain visible even while the current lesson is outlined. */
@media screen{
.launch-page .today-timetable li,.launch-page .today-timetable li.lesson-current{background:var(--lesson-tint);color:var(--lesson-ink)}
.launch-page .today-timetable li{border-left-color:color-mix(in srgb,var(--lesson-tint) 80%,#172442)}
.launch-page .today-timetable li time,.launch-page .today-timetable li .lesson-period,.launch-page .today-timetable li strong{color:var(--lesson-ink)}
.launch-page .today-timetable li.lesson-current{border-color:#a57726;box-shadow:0 0 0 2px #a5772655}
.launch-page .today-timetable li .now-badge{background:#fff;color:#293554;border:1px solid #d3b16c}
}

/* Softer game menus retain each activity's familiar colour. */
.game-card.green{background:#e0eee4}.game-card.purple{background:#e9e3f2}.game-card.yellow{background:#f5edcf}.game-card.blue{background:#e0edf5}.game-card.pink{background:#f2e3e9}.game-card.orange{background:#f5e9db}
.phonics-choices button:not([style]){background:#edf2f7;border-top-color:#b7c7d8}.phonics-choices button:not([style]):nth-child(2){background:#e6eeeb;border-top-color:#b6c9c1}.phonics-choices button:not([style]):nth-child(3){background:#eee9f2;border-top-color:#c6bbd1}.phonics-choices button:not([style]):nth-child(4){background:#f3e9ed;border-top-color:#d5bdc7}.phonics-choices button:not([style]):nth-child(5){background:#f4edde;border-top-color:#d5c79f}

/* Full-screen reading has its own stable viewport layout, outside page zoom. */
@media screen{
main.reading-library.is-presenting{display:flex;flex-direction:column;height:100dvh!important;min-height:0!important;zoom:1!important;overflow:hidden!important}
.reading-library.is-presenting>header.reading-navigation{display:flex!important;flex:0 0 78px;height:78px;gap:12px}
.reading-library.is-presenting .presentation-controls{position:static;display:flex;align-items:center;gap:8px;padding:0;background:none;flex-wrap:nowrap;margin-left:auto}
.reading-library.is-presenting .presentation-controls button{white-space:nowrap;font-size:16px;min-height:44px;padding:8px 14px}
.reading-library.is-presenting>.library-content{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;max-width:none;padding:0}
.reading-library.is-presenting .poem-sheet{flex:1;min-height:0;height:auto;aspect-ratio:auto;padding:22px 10%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.reading-library.is-presenting .poem-text{flex-shrink:0;transform-origin:center center}
.reading-library.is-presenting .poem-couplet{font-size:var(--reading-size);line-height:1.5;margin-bottom:18px}
.reading-library.is-presenting .poem-text h2{margin-bottom:20px}
@media(max-width:950px){.reading-library.is-presenting>header.reading-navigation{flex-wrap:wrap;flex-basis:120px;height:120px}.reading-library.is-presenting .presentation-controls{order:3;width:100%;justify-content:center}.reading-library.is-presenting .poem-sheet{padding:12px 6%}}
}

.year-selector{display:flex;align-items:center;gap:10px;flex:none;font-size:14px;color:#526077;font-weight:600;white-space:nowrap}.year-selector select{font:inherit;font-size:17px;font-weight:700;color:#293554;background:#f5f7fa;border:1px solid #c7d0df;border-radius:10px;min-height:44px;padding:8px 30px 8px 12px;cursor:pointer}.year-selector select:focus-visible{outline:3px solid #b88a3c;outline-offset:2px}
@media screen{.launch-page .today-timetable ol{grid-template-rows:repeat(var(--timetable-rows,13),minmax(0,1fr))}.launch-page .today-timetable li strong{overflow-wrap:anywhere}.launch-page .today-timetable ol[style*="16"] strong,.launch-page .today-timetable ol[style*="15"] strong{font-size:clamp(17px,1.65vw,32px)}.launch-page .today-timetable ol[style*="16"] .lesson-period,.launch-page .today-timetable ol[style*="15"] .lesson-period{font-size:clamp(11px,.9vw,18px)}
@media(max-width:900px){.year-selector>span{display:none}.year-selector select{font-size:15px}.launch-page>header .school-logo{max-width:23%}.launch-page>header>button{font-size:13px;padding:8px}.launch-page .today-timetable ol[style*="16"] strong,.launch-page .today-timetable ol[style*="15"] strong{font-size:15px}}}
.points-page{height:100dvh;max-width:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;overflow:hidden}.points-page>header{flex-shrink:0}.points-content{padding:10px 3vw 12px;flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}.points-heading,.history-title{display:flex;align-items:center;gap:18px;justify-content:space-between}.points-heading h1{font-size:25px;margin:0}.points-heading h1 span{font:600 15px sans-serif;margin-left:16px;color:#66738b}.points-heading p{margin:0;font-size:14px;color:#66738b}.points-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(var(--point-columns),minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}.student-point{position:relative;min-height:0!important;padding:4px 8px!important;display:flex;align-items:center;flex-direction:column;justify-content:center;border:1px solid #dbe0e8!important;border-bottom:3px solid var(--dragon-colour)!important;background:white!important;border-radius:16px!important;box-shadow:0 3px 9px #29355408!important;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.student-point:active{background:#edf3f8!important}.student-point strong{font-size:clamp(14px,2.1vh,21px);line-height:1.1}.point-score{position:absolute;top:7px;right:10px;font-size:20px;font-weight:800;color:var(--dragon-colour)}.dragon-avatar{display:block;min-height:0;height:calc(100% - 24px);aspect-ratio:1;background-image:url('/points-dragons.webp');background-size:300% 300%;filter:url(#dragon-key);animation:dragon-arrive .45s ease-out}.point-progress{height:3px;background:#edf0f5;display:block;width:65%;margin-top:4px}.point-progress i{height:100%;display:block;background:var(--dragon-colour)}.points-history{height:24vh;min-height:125px;max-height:210px;border-top:1px solid #dbe0e8;padding-top:5px}.history-title{height:30px;justify-content:flex-start}.history-title h2{font-size:16px;margin:0}.history-title select{font:inherit;font-size:14px;border:1px solid #ccd4df;border-radius:8px;padding:3px 10px;background:white}.history-title span{margin-left:auto;font-size:13px;color:#65728a}.points-history>svg{width:100%;height:calc(100% - 30px);overflow:visible}.points-history text{font-size:12px;fill:#65728a}.points-page .global-fullscreen{margin-left:auto}@keyframes dragon-arrive{from{transform:scale(.7)}to{transform:scale(1)}}@media(max-width:700px){.points-heading p{display:none}.points-content{padding:6px}.points-page>header{gap:5px!important}.points-page header button{padding:8px!important;font-size:12px}.points-page header img{max-width:130px}.student-point{padding:2px!important}.point-score{font-size:15px;right:5px}.history-title span{display:none}}
.dragon-stage-0{clip-path:inset(0 0 14% 0)}.dragon-stage-1{background-position-y:46%!important;clip-path:inset(0 0 17% 0)}.dragon-stage-2{background-size:300% 280%;background-position-y:93%!important}.points-heading h1{font-family:Georgia,serif!important;letter-spacing:normal!important}.points-heading h1 span{letter-spacing:normal!important}

/* Align generated teacher frames by head position; preserve entrance movement. */
@keyframes liz-walk{0.0%{background-position:0.000000% 0.000000%;transform:translate(-11.2195%,-0.9569%);}12.5%{background-position:33.333333% 0.000000%;transform:translate(-4.4333%,-1.2759%);}25.0%{background-position:66.666667% 0.000000%;transform:translate(5.1452%,-1.2759%);}37.5%{background-position:100.000000% 0.000000%;transform:translate(11.5923%,-1.2759%);}50.0%{background-position:0.000000% 33.333333%;transform:translate(-10.3296%,0.6380%);}62.5%{background-position:33.333333% 33.333333%;transform:translate(-4.1372%,0.3190%);}75.0%{background-position:66.666667% 33.333333%;transform:translate(4.5726%,0.6380%);}87.5%{background-position:100.000000% 33.333333%;transform:translate(10.6345%,0.3190%);}100%{background-position:100.000000% 33.333333%;transform:translate(10.6345%,0.3190%);}}
@keyframes liz-wave{0%{background-position:0.000000% 66.666667%;transform:translate(-7.9924%,0.3190%);}12.5%{background-position:33.333333% 66.666667%;transform:translate(-1.4641%,0.3190%);}25%{background-position:66.666667% 66.666667%;transform:translate(4.3064%,0.0000%);}37.5%{background-position:33.333333% 66.666667%;transform:translate(-1.4641%,0.3190%);}50%{background-position:66.666667% 66.666667%;transform:translate(4.3064%,0.0000%);}62.5%{background-position:33.333333% 66.666667%;transform:translate(-1.4641%,0.3190%);}75%{background-position:66.666667% 66.666667%;transform:translate(4.3064%,0.0000%);}87.5%{background-position:100.000000% 66.666667%;transform:translate(5.7695%,0.6380%);}100%{background-position:100.000000% 66.666667%;transform:translate(5.7695%,0.6380%);}}
@keyframes liz-idle{0%{background-position:0.000000% 100.000000%;transform:translate(0.1824%,1.2759%);}10%{background-position:33.333333% 100.000000%;transform:translate(1.4732%,1.5949%);}30%{background-position:66.666667% 100.000000%;transform:translate(11.6105%,1.2759%);}50%{background-position:33.333333% 100.000000%;transform:translate(1.4732%,1.5949%);}70%{background-position:100.000000% 100.000000%;transform:translate(11.3742%,0.6380%);}90%{background-position:0.000000% 100.000000%;transform:translate(0.1824%,1.2759%);}100%{background-position:0.000000% 100.000000%;transform:translate(0.1824%,1.2759%);}}
.teacher-liz .frame-art{animation-name:liz-walk,liz-wave,liz-idle;}
@keyframes lexie-walk{0.0%{background-position:0.000000% 0.000000%;transform:translate(-4.0985%,0.0000%);}12.5%{background-position:33.333333% 0.000000%;transform:translate(1.1332%,0.0000%);}25.0%{background-position:66.666667% 0.000000%;transform:translate(-1.6199%,0.0000%);}37.5%{background-position:100.000000% 0.000000%;transform:translate(0.9056%,0.0000%);}50.0%{background-position:0.000000% 33.333333%;transform:translate(-3.9591%,1.2759%);}62.5%{background-position:33.333333% 33.333333%;transform:translate(1.0427%,1.2759%);}75.0%{background-position:66.666667% 33.333333%;transform:translate(-1.5819%,1.2759%);}87.5%{background-position:100.000000% 33.333333%;transform:translate(0.8154%,1.2759%);}100%{background-position:100.000000% 33.333333%;transform:translate(0.8154%,1.2759%);}}
@keyframes lexie-wave{0%{background-position:0.000000% 66.666667%;transform:translate(-1.0905%,1.9139%);}12.5%{background-position:33.333333% 66.666667%;transform:translate(3.9735%,1.2759%);}25%{background-position:66.666667% 66.666667%;transform:translate(1.2569%,1.2759%);}37.5%{background-position:33.333333% 66.666667%;transform:translate(3.9735%,1.2759%);}50%{background-position:66.666667% 66.666667%;transform:translate(1.2569%,1.2759%);}62.5%{background-position:33.333333% 66.666667%;transform:translate(3.9735%,1.2759%);}75%{background-position:66.666667% 66.666667%;transform:translate(1.2569%,1.2759%);}87.5%{background-position:100.000000% 66.666667%;transform:translate(0.7486%,1.5949%);}100%{background-position:100.000000% 66.666667%;transform:translate(0.7486%,1.5949%);}}
@keyframes lexie-idle{0%{background-position:0.000000% 100.000000%;transform:translate(4.3879%,3.5088%);}10%{background-position:33.333333% 100.000000%;transform:translate(6.0599%,3.1898%);}30%{background-position:66.666667% 100.000000%;transform:translate(7.2899%,3.1898%);}50%{background-position:33.333333% 100.000000%;transform:translate(6.0599%,3.1898%);}70%{background-position:100.000000% 100.000000%;transform:translate(5.3753%,3.1898%);}90%{background-position:0.000000% 100.000000%;transform:translate(4.3879%,3.5088%);}100%{background-position:0.000000% 100.000000%;transform:translate(4.3879%,3.5088%);}}
.teacher-lexie .frame-art{animation-name:lexie-walk,lexie-wave,lexie-idle;}

.animal-avatar{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;font-size:clamp(32px,8vh,80px);line-height:1;animation:dragon-arrive .45s ease-out}.animal-stage-1{font-size:clamp(24px,5.5vh,55px)}.pet-picker-shade{position:fixed;inset:0;z-index:1000;background:#18243b88;display:grid;place-items:center}.pet-picker{background:white;border-radius:22px;padding:25px;width:min(640px,92vw);box-shadow:0 15px 50px #17244255;text-align:center}.pet-picker h2{font-size:26px}.pet-picker>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.pet-picker>div button{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 10px;background:#edf2f7;border-radius:16px}.pet-picker button[aria-pressed=true]{outline:3px solid #b88a3c}.pet-picker button span{font-size:50px}

.pet-art{display:block;min-height:0;height:calc(100% - 24px);width:100%;overflow:hidden;animation:dragon-arrive .45s ease-out}.pet-baby{transform:scale(.82);transform-origin:center bottom}.pet-picker .pet-art,.pet-picker .pet-preview{height:110px;width:100px;flex:none}.pet-picker .pet-preview{background-size:300% 300%}

/* Classroom functions: circle-centred whiteboard timer. */
.functions-page{height:100dvh;max-width:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;overflow:hidden;background:#f7f8fa;color:#253450}.functions-page>header{flex-shrink:0}.timer-workspace{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:12px 20px}.timer-choice-space{height:52px;flex-shrink:0;display:flex;align-items:center}.timer-message-choices{display:flex;gap:12px}.timer-message-choices button,.timer-bottom-actions button{border:1px solid #ccd5df;border-radius:14px;box-shadow:none;background:white;color:#253450;font-size:clamp(16px,1.7vw,23px);padding:12px 24px;min-height:48px}.timer-message-choices button[aria-pressed=true]{background:#e3ebf3;border-color:#536e8b;box-shadow:inset 0 0 0 1px #536e8b}.timer-display{--timer-ink:#b49858;min-height:0;display:flex;justify-content:center}.timer-circle{position:relative;width:min(64vh,70vw);aspect-ratio:1}.timer-circle svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-width:8;pointer-events:none}.timer-track{stroke:#e4e8ed}.timer-progress{stroke:var(--timer-ink);transition:stroke-dasharray .1s linear}.timer-scene{position:absolute;inset:5.5%;border-radius:50%;background-color:white;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;overflow:hidden}.timer-theme-tidy{--timer-ink:#547765}.timer-theme-line{--timer-ink:#637f9c}.timer-theme-talk{--timer-ink:#a88748}.timer-theme-silent{--timer-ink:#766d94}.timer-set-time{display:flex;align-items:center;justify-content:center;gap:15px;padding:15px 20px;background:#ffffffd9;border-radius:28px}.timer-time-column{display:flex;align-items:center;flex-direction:column;gap:4px}.timer-time-column button{border:1px solid #b8c6d4;border-radius:14px;background:#f6f8fb;box-shadow:none;color:#253450;font-size:30px;padding:2px;width:65px;height:48px;min-height:0}.timer-time-column output{font-size:clamp(35px,7vh,75px);line-height:1.15;font-weight:650;font-variant-numeric:tabular-nums}.timer-time-column span{font-size:16px;margin-top:5px}.timer-colon{font-size:50px;align-self:center;margin-top:-33px}.timer-live{width:94%;text-align:center;padding:22px 8px;background:radial-gradient(ellipse,#ffffffef 30%,#ffffffa8 67%,transparent 74%)}.timer-live h2{font-family:inherit;font-weight:650;font-size:clamp(26px,4.5vh,54px);margin:0 0 8px}.timer-digits{font-size:clamp(50px,10vh,110px);font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}.timer-status{min-height:28px;font-size:clamp(18px,2.5vh,28px);font-weight:600}.timer-bottom-actions{display:flex;gap:14px;height:58px;flex-shrink:0}.timer-bottom-actions button{min-width:160px}.timer-bottom-actions .timer-primary{background:#253450;color:white}.functions-page button:disabled{opacity:.35}.timer-finished .timer-digits{color:#7f3444}@media(max-height:650px){.timer-workspace{gap:6px;padding:6px}.timer-choice-space{height:42px}.timer-message-choices button,.timer-bottom-actions button{padding:6px 18px;min-height:38px}.timer-bottom-actions{height:42px}.timer-circle{width:min(60vh,65vw)}.timer-time-column button{height:34px;width:50px;font-size:24px}.timer-time-column span{font-size:13px}.timer-set-time{gap:8px;padding:7px 12px}}@media(max-width:650px){.timer-message-choices{gap:5px}.timer-message-choices button{padding:8px;font-size:14px}.timer-circle{width:min(62vh,87vw)}.timer-time-column output{font-size:42px}.timer-live h2{font-size:28px}.timer-digits{font-size:64px}}

/* School administration */
.admin-page{height:100dvh;display:flex;flex-direction:column;background:#f5f5f0;color:#24334f;overflow:hidden}
.admin-content{flex:1;min-height:0;overflow:auto;padding:24px 4vw 40px}
.admin-content h1{font-size:28px;margin:0 0 20px}.admin-content h2{font-size:21px;margin:24px 0 12px}
.admin-content label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.admin-content input,.admin-content select{font:inherit;padding:9px;border:1px solid #bac3cf;background:white;border-radius:8px;color:#24334f;min-width:0}
.admin-content button,.admin-download{padding:10px 18px;border:1px solid #bdc6d1;border-radius:10px;background:#e5edf3;color:#24334f;font:inherit;cursor:pointer;text-decoration:none}
.admin-content button:disabled{opacity:.5;cursor:wait}.admin-content button.primary,.admin-tabs button[aria-pressed=true]{background:#24334f;color:#fff}
.admin-tabs,.admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.admin-year{max-width:220px;margin-bottom:16px}
.admin-login{max-width:400px;display:grid;gap:18px}.admin-notice{padding:12px;background:#f3e6bf;border-radius:8px}
.admin-table-wrap{overflow:auto;margin-top:18px}.admin-content table{width:100%;border-collapse:collapse;font-size:14px}
.admin-content th,.admin-content td{text-align:left;padding:7px;border-bottom:1px solid #d9dee5}.admin-content td input{width:100%;min-width:90px}.admin-content th{background:#e5eaf0}
.admin-student-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:20px 0}.admin-student-form input[type=checkbox]{width:24px;height:24px}
.admin-students{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:20px}.admin-students small{display:block;margin-top:8px}.point-total{font-size:12px;color:#53617a}

.points-group-controls,.points-view-buttons,.points-colour-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.points-group-controls{justify-content:space-between;flex-shrink:0}.points-group-controls button{padding:7px 16px;font-size:clamp(12px,1.2vw,18px);border:2px solid transparent;background:#edf1f5;color:#21354d;border-radius:20px}.points-group-controls button[aria-pressed=true]{border-color:#21354d;box-shadow:0 0 0 1px #21354d}.points-colour-buttons .group-blue{background:#d9e8f4}.points-colour-buttons .group-red{background:#f0dce1}.points-colour-buttons .group-gold{background:#f5ebcc}.points-login{align-self:center;width:min(400px,90vw)}

.function-tabs{display:flex;gap:10px;justify-content:center;padding:10px;flex-shrink:0}.function-tabs button,.roster-actions button{background:#e8edf3;color:#253450;border:1px solid #c6d0db;border-radius:14px;padding:10px 22px;font-size:clamp(14px,1.5vw,22px)}.function-tabs button[aria-pressed=true],.roster-actions .roster-primary{background:#253450;color:white}.function-body{flex:1;min-height:0;display:flex}.function-body[hidden]{display:none}.function-body .timer-circle{width:min(55vh,70vw)}.roster-tool{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:10px 3vw 18px}.picker-stage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:24px;background:radial-gradient(ellipse at center,#fff8e8,#eef2f7);text-align:center}.picker-stage h1{font-size:clamp(32px,7vw,100px);margin:8px}.picker-stage p{margin:4px;font-size:clamp(16px,2vw,24px)}.picker-star{font-size:clamp(35px,8vh,85px);color:#b49858}.picker-shuffling .picker-star{animation:picker-turn .65s ease-in-out}.roster-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0}.roster-actions strong{font-size:clamp(14px,1.6vw,22px)}.team-results{flex:1;min-height:0;display:grid;gap:12px}.team-card{min-height:0;overflow:hidden;background:#fff;border:1px solid #d8dfe8;border-top:5px solid #b49858;border-radius:16px;padding:10px;display:flex;flex-direction:column}.team-card:nth-child(even){border-top-color:#8aa5bb}.team-card h2{margin:0 0 6px;font-size:clamp(16px,2.2vh,24px)}.team-card ul{list-style:none;padding:0;margin:0;flex:1;min-height:0;display:flex;flex-direction:column;justify-content:space-evenly;gap:2px}.team-card li{line-height:1.15;display:flex;justify-content:space-between;gap:6px}.team-card small{font-size:.6em;opacity:.65;align-self:center}.teams-empty{display:grid;place-items:center;font-size:clamp(24px,3vw,44px);color:#64748b}@keyframes picker-turn{to{transform:rotate(360deg) scale(1.2)}}@media(prefers-reduced-motion:reduce){.picker-shuffling .picker-star{animation:none}}

.pet-evolution-art{display:block;flex:1;min-height:0;aspect-ratio:1;max-width:100%;background-size:300% 400%;background-repeat:no-repeat;animation:dragon-arrive .45s ease-out}.student-point .pet-egg{flex:1;height:auto}.pet-stage-label{font-size:clamp(9px,1.25vh,13px);color:#697589;line-height:1.15;margin-top:2px}.pet-picker{width:min(1000px,95vw);max-height:95dvh;padding:clamp(10px,2vh,24px);display:flex;flex-direction:column;min-height:0}.pet-picker h2{margin:0 0 5px;font-size:clamp(20px,3vh,30px)}.pet-evolution-guide{font-size:clamp(11px,1.6vh,17px);margin:4px 0;color:#64748b}.pet-picker>div{grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(5px,1vw,12px);margin:10px 0;min-height:0}.pet-picker>div button{padding:8px 5px;gap:3px;min-height:0;font-size:clamp(12px,1.7vh,18px)}.pet-picker .pet-evolution-art{height:min(23vh,150px);width:100%;flex:none;aspect-ratio:1;max-width:150px}.pet-picker>button{align-self:center;padding:8px 24px}@media(max-width:650px){.pet-picker>div{grid-template-columns:repeat(4,minmax(0,1fr))}.pet-picker .pet-evolution-art{height:min(17vh,110px)}}
.pet-picker .pet-evolution-art{width:min(100%,150px,23vh);height:auto;aspect-ratio:1;flex:none}@media(max-width:650px){.pet-picker .pet-evolution-art{width:min(100%,110px,17vh);height:auto}}
.student-point>.pet-evolution-art,.student-point>.pet-egg{flex:none;height:calc(100% - 54px);width:auto;aspect-ratio:1;max-width:100%;min-height:0}
/* BeeMee team maker: navy, warm gold and quiet classroom colours. */
.team-results{gap:clamp(8px,1.2vw,18px)}
.team-card{padding:0;border:1px solid #d2d9e3;border-top:0;background:linear-gradient(145deg,#fff,#f3f6fa);border-radius:20px;box-shadow:0 8px 24px #2534500c;animation:team-deal .35s ease-out}
.team-card:nth-child(even){border-top:0}
.team-card-heading{display:flex;align-items:center;gap:10px;padding:clamp(6px,1.2vh,14px) 14px;background:#253450;color:white;border-bottom:3px solid #c8a962;flex-shrink:0}
.team-card-heading>.pet-evolution-art{flex:none;width:clamp(36px,7vh,68px);height:auto;aspect-ratio:1}
.team-card-heading>div{min-width:0}.team-card-heading span{font-size:10px;letter-spacing:.16em;color:#e1c68f}.team-card-heading h2{font-family:Georgia,serif;font-size:clamp(17px,2.4vh,28px);margin:2px 0}.team-card-heading>small{margin-left:auto;color:#edf1f7;white-space:nowrap;font-size:11px;opacity:1}
.team-card ul{padding:clamp(6px,1vh,12px) 14px}.team-card li{align-items:center;justify-content:flex-start;border-bottom:1px solid #e1e6ee;flex:1;min-height:0;font-weight:600}.team-card li:last-child{border:0}.team-card li>small{margin-left:auto}.team-pupil-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#b89a58}.team-pupil-dot.group-blue{background:#638aa8}.team-pupil-dot.group-red{background:#a86572}
.teams-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid #ded7c6;border-radius:26px;background:radial-gradient(ellipse at 50% 30%,#fff9e9,transparent 65%),linear-gradient(135deg,#f7f9fc,#e8eef5);text-align:center}.teams-empty h1{font-family:Georgia,serif;color:#253450;font-size:clamp(26px,4.6vh,52px);margin:10px}.teams-empty p{font-size:clamp(14px,2vh,21px);margin:0 10px;color:#647185}.team-mascots{display:flex;align-items:center;justify-content:center;width:min(580px,70vw)}.team-mascots .pet-evolution-art{flex:none;width:min(17vw,22vh);height:auto;aspect-ratio:1}.team-mascots .pet-evolution-art:nth-child(2){width:min(22vw,28vh)}
.makeup-label{font:600 clamp(12px,1.5vh,17px) sans-serif;margin-left:16px;display:inline-block;color:#786035;background:#f3e8cd;border:1px solid #dfcca0;border-radius:20px;padding:5px 12px}
@keyframes team-deal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.team-card{animation:none}}
/* Phones use a readable document layout, independently of whiteboard fitting. */
@media screen and (max-width:800px), screen and (pointer:coarse) and (max-width:1100px){
 html,body{height:auto;min-height:100%;overflow-x:clip!important;overflow-y:auto!important}
 body{font-size:16px;-webkit-text-size-adjust:100%;padding-bottom:env(safe-area-inset-bottom)!important}
 main,main.fit-page,main.launch-page,.points-page,.functions-page,.admin-page,main.reading-library.is-presenting{width:100%!important;max-width:100%!important;zoom:1!important;height:auto!important;min-height:100svh!important;overflow:visible!important}
 main>header,.launch-page>header,.reading-library.is-presenting>header.reading-navigation{height:auto!important;min-height:72px;flex:0 0 auto!important;flex-wrap:wrap;justify-content:flex-start;gap:8px;padding:10px 12px!important}
 main>header .school-logo,.launch-page>header .school-logo{width:155px;max-width:46%;min-width:100px;height:auto;max-height:44px;flex:0 1 155px}
 main>header>button,.launch-page>header>button,.header-actions button{font-size:13px;min-height:44px;padding:8px 11px;white-space:normal}
 .year-selector{margin-left:auto;gap:0}.year-selector>span{display:none}.year-selector select{font-size:16px;max-width:145px;padding:8px;min-height:44px}
 main>header .global-fullscreen{margin-left:auto}.global-fullscreen button{font-size:12px;min-height:44px;padding:8px 10px}.header-actions{flex-wrap:wrap;gap:6px}
 h1{font-size:32px;letter-spacing:-1px}h2{font-size:25px}button,input,select{touch-action:manipulation}input,select,textarea{font-size:16px!important}
 .launch-page .launch-layout{display:flex;flex-direction:column;gap:14px;padding:12px;width:100%}
 .launch-page .launch-clock{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:14px;gap:5px;flex:none}
 .launch-page .launch-clock h1{font-size:27px}.launch-page .launch-date{font-size:14px}.launch-page .live-clock{font-size:29px;grid-column:2;grid-row:1/3;margin:0;align-self:center}
 .launch-page .now-lesson{display:none}.launch-page .today-timetable ol{display:flex;flex-direction:column;gap:6px}.launch-page .today-timetable li{grid-template-columns:90px minmax(0,1fr) auto;min-height:48px;padding:8px;gap:8px}
 .launch-page .lesson-period{display:none}.launch-page .today-timetable time{font-size:12px}.launch-page .today-timetable strong{font-size:16px;line-height:1.25}.launch-page .today-timetable h2{font-size:25px}.makeup-label{font-size:12px;margin-left:8px}
 .classroom-choice{display:flex;flex-direction:column;padding:20px 14px;gap:18px}.classroom-choice>div{width:100%}.classroom-choice>div:first-child{min-height:170px;padding:8px 140px 8px 14px;position:relative}.classroom-choice h1{font-size:26px}.classroom-choice .eyebrow{font-size:10px}
 .classroom-choice>div:first-child>.frame-teacher{position:absolute;inset:0 0 auto auto;width:140px;height:170px;margin:0}.classroom-buttons{gap:12px}.classroom-card{min-height:130px;padding:18px}.classroom-card h2{font-size:26px}.classroom-card p{font-size:15px}
 .home{display:block;padding:16px 12px}.home .welcome{min-height:180px;padding-right:140px}.home .welcome h1{font-size:27px}.home .welcome>p{max-width:100%}.home .frame-teacher{position:absolute;right:0;top:0;width:140px;height:180px}.home .menu{grid-template-columns:1fr;gap:12px}.home .game-card{padding:16px}.home .game-card h2{font-size:24px}
 .points-content{padding:12px;gap:12px}.points-heading{align-items:flex-start;flex-wrap:wrap;gap:6px}.points-heading h1{font-size:25px}.points-heading p{display:block;font-size:11px}.points-group-controls{gap:10px}.points-group-controls button{min-height:44px;padding:7px 11px;font-size:12px}.points-view-buttons,.points-colour-buttons{gap:6px}
 .points-grid{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:155px;gap:7px}.student-point{touch-action:pan-y;padding:6px!important}.student-point strong{font-size:14px;max-width:100%;overflow-wrap:anywhere}.student-point>.pet-evolution-art,.student-point>.pet-egg{height:85px;max-width:100%}.point-score{font-size:18px;right:7px}.point-total{font-size:10px}.pet-stage-label{font-size:9px}.points-history{height:200px;min-height:200px;max-height:none;margin-top:8px}.history-title{flex-wrap:wrap;height:auto;gap:5px}.history-title span{display:none}
 .pet-picker{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;padding:14px}.pet-picker>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex-shrink:0}.pet-picker>div button{min-height:110px;font-size:13px}.pet-picker .pet-evolution-art{width:76px;height:76px;max-width:100%}.pet-picker h2{font-size:21px}.pet-evolution-guide{font-size:11px;line-height:1.5}
 .function-tabs{gap:6px;padding:10px}.function-tabs button{flex:1;min-width:0;padding:10px 7px;font-size:13px;min-height:44px}.function-body{min-height:calc(100svh - 180px)}.roster-tool{padding:10px 12px 20px;gap:14px}.roster-actions{flex-wrap:wrap;gap:8px}.roster-actions button{padding:10px 14px;min-height:44px}.roster-actions strong{font-size:15px}.picker-stage{min-height:300px;padding:20px 10px}.picker-stage h1{font-size:42px;overflow-wrap:anywhere}.picker-stage p{font-size:16px}
 .team-results{grid-template-columns:1fr!important;grid-template-rows:none!important;grid-auto-rows:auto;flex:none}.team-card{min-height:180px}.team-card-heading{padding:10px 14px}.team-card-heading>.pet-evolution-art{width:52px}.team-card-heading h2{font-size:23px}.team-card ul{font-size:18px!important;gap:0}.team-card li{min-height:40px;padding:7px 0}.teams-empty{min-height:320px;padding:20px 12px}.team-mascots{width:100%}.team-mascots .pet-evolution-art{width:25vw}.team-mascots .pet-evolution-art:nth-child(2){width:30vw}
 .timer-workspace{padding:16px 10px;gap:16px;justify-content:flex-start}.timer-choice-space{height:auto;width:100%;justify-content:center}.timer-message-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%;max-width:360px}.timer-message-choices button{min-height:44px;font-size:14px;padding:8px}.function-body .timer-circle{width:min(86vw,380px)}.timer-time-column button{min-height:44px;height:44px;width:54px}.timer-time-column output{font-size:44px}.timer-time-column span{font-size:13px}.timer-set-time{padding:10px;gap:12px}.timer-digits{font-size:64px}.timer-bottom-actions button{min-width:125px;min-height:48px}.timer-bottom-actions{height:auto}
 .library-content{padding:14px}.library-content>h1{font-size:30px}.unit-grid,.week-grid{grid-template-columns:1fr;gap:12px}.unit-card{min-height:160px;padding:20px}.unit-card h2{font-size:25px}.unit-card p{font-size:15px;margin-bottom:0}.week-grid button{padding:18px}.week-grid h2{font-size:23px;min-height:0}.reading-toolbar{flex-direction:column;align-items:stretch;gap:14px}.level-switch{display:flex;gap:8px;width:100%;justify-content:center}.level-switch .reading-level{min-width:0;flex:1;padding:10px 6px}.reading-level strong{font-size:18px}.reading-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.reading-tools button{font-size:14px;padding:8px 12px;min-height:44px}
 .reading-library .poem-sheet,.reading-library.is-presenting .poem-sheet{min-height:0;height:auto;aspect-ratio:auto;padding:28px 14px;display:block;overflow:visible;background-size:cover}.poem-text{width:100%;transform:none!important;padding:14px 8px}.poem-text h2{font-size:27px;line-height:1.2;overflow-wrap:anywhere}.poem-couplet,.reading-library.is-presenting .poem-couplet{font-size:clamp(18px,calc(var(--reading-size)*.65),30px);line-height:1.55;margin-bottom:18px}.poem-couplet span{overflow-wrap:anywhere}.poem-label{font-size:10px}.reading-library.is-presenting>.library-content{display:block;flex:none;padding:12px}.reading-library.is-presenting .presentation-controls{width:100%;flex-wrap:wrap;gap:8px;margin:0;order:5}.reading-library.is-presenting .presentation-controls button{font-size:13px;padding:8px 11px}.reading-pager{gap:8px}.reading-pager button{min-height:44px}
 .phonics-content{padding:12px}.phonics-content h1{font-size:30px}.phonics-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.phonics-choices button{min-height:90px;padding:12px 8px;font-size:19px}.phonics-picker{padding:12px}.phonics-sounds{gap:8px;margin:12px 0}.phonics-sounds button{min-width:44px;min-height:44px;padding:8px}.phonic-round{padding:16px 10px}.phonic-round h2{font-size:26px}.phonic-picture{font-size:85px}.phonic-letters{gap:6px}.phonic-letters button{font-size:25px;min-width:42px;min-height:46px;padding:8px}.phonic-match{gap:12px}.phonic-match>div{grid-template-rows:repeat(3,90px);gap:10px}.phonic-match button{font-size:23px;padding:8px}.phonic-memory{gap:7px}.phonic-memory button{height:80px;padding:5px;font-size:18px}.picture-clue{font-size:12px}
 .game-view{padding:16px 10px}.game-title h1{font-size:30px}.connection-grid{gap:6px}.connection-grid button{font-size:13px;min-height:72px;padding:6px 3px}.tile{width:48px;height:48px;font-size:28px}.keyboard{gap:6px}.keyboard>div{gap:4px}.keyboard button{font-size:16px;min-height:46px;height:46px}.keyboard button.wide{font-size:12px}.bee-layout,.balloon-game,.search-layout{grid-template-columns:minmax(0,1fr);gap:18px}.bee-circle{width:280px;height:280px}.bee-circle button{width:62px;height:62px;font-size:27px}.word-list{padding:16px}.blue-view .strands-layout{flex-direction:column;gap:14px}.blue-view .strands-grid{--strand-size:min(60px,calc((100vw - 36px - (var(--strand-cols) - 1)*5px)/var(--strand-cols)));gap:5px}.blue-view .strand-cell{font-size:24px;min-height:0}.blue-view .strand-found{width:100%;min-width:0}.search-layout{width:100%;max-width:100%}.search-grid{width:100%;max-width:100%;gap:2px;padding:5px}.search-grid button{min-width:0;min-height:0;padding:0;font-size:clamp(12px,3.7vw,22px)}.search-word-list{flex-direction:row;flex-wrap:wrap;gap:10px;font-size:17px}
 .admin-content{overflow:visible;padding:18px 12px}.admin-table-wrap{overflow-x:auto}.admin-login{width:100%;max-width:400px}.admin-content h1{font-size:27px}.admin-tabs{gap:6px}.admin-tabs button{padding:9px;font-size:14px}.admin-students{grid-template-columns:1fr}
}
@media screen and (max-width:360px){.points-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.classroom-choice>div:first-child{padding-right:110px}.classroom-choice>div:first-child>.frame-teacher{width:110px}.classroom-choice h1{font-size:23px}}
.global-fullscreen button .fullscreen-label,.global-fullscreen button .fullscreen-icon{position:static;background:none;padding:0;font-size:inherit;color:inherit}.fullscreen-icon{margin-left:5px}
@media screen and (max-width:800px),screen and (pointer:coarse) and (max-width:1100px){.global-fullscreen button .fullscreen-label{display:none}.global-fullscreen button .fullscreen-icon{margin:0;font-size:23px}.global-fullscreen button{width:44px;height:44px;padding:5px}.launch-page .weekend-message{padding:24px}.weekend-message h3{font-size:27px}.reading-library:fullscreen{overflow-y:auto!important}}

/* Personal learning portal: shared BeeMee navy, warm gold and quiet paper. */
.portal-entry,.student-portal{color:#24334f;background:#f6f5f1;min-height:100dvh;font-family:Arial,sans-serif;box-sizing:border-box}
.portal-entry>header,.student-portal>header{display:flex;align-items:center;gap:16px;padding:16px 4vw;border-bottom:1px solid #ddd9d0;min-height:78px;background:#fffdf8}
.portal-entry>header .school-logo,.student-portal>header .school-logo{width:230px;max-width:32vw;height:auto;object-fit:contain}
.portal-entry button,.student-portal button{border:1px solid #c9cbd0;border-radius:12px;padding:12px 18px;background:#fffdf8;color:#24334f;cursor:pointer;font:inherit}
.portal-entry button:focus-visible,.student-portal button:focus-visible{outline:3px solid #bd944c;outline-offset:3px}
.portal-entry button:disabled,.student-portal button:disabled{opacity:.45;cursor:default}
.portal-language{margin-left:auto}
.portal-entry{position:relative;overflow:hidden;height:100dvh}
.portal-welcome{position:relative;z-index:1;max-width:720px;margin:clamp(28px,7vh,80px) auto;padding:0 28px;text-align:center}
.portal-kicker{font-size:12px;font-weight:700;letter-spacing:.15em;color:#94733b}
.portal-welcome h1{font-family:Georgia,serif;font-size:clamp(32px,4vw,62px);font-weight:500;margin:20px 0 12px}
.portal-welcome>p{font-size:18px;color:#707888}
.portal-entry-options{max-width:510px;margin:35px auto;display:grid;gap:18px}
.portal-entry .teacher-entry{position:relative;display:grid;grid-template-columns:65px 1fr;text-align:left;gap:8px 20px;background:#253651;color:#fff;border:0;padding:32px;box-shadow:0 15px 35px #25365120;border-radius:20px}
.teacher-entry>span{grid-row:span 2;font-size:50px;color:#dec58b;align-self:center}.teacher-entry strong{font:34px Georgia,serif}.teacher-entry small{font-size:14px;color:#d3dbe5}.teacher-entry b{position:absolute;right:25px;top:30px;font-size:23px}
.portal-entry .student-entry{justify-self:center;min-width:240px;background:#eae7df;padding:14px 25px}.student-entry span{margin-left:35px}
.portal-orbit{position:absolute;width:520px;height:520px;border:1px solid #d2c6ac;border-radius:50%;right:-230px;bottom:-250px;box-shadow:0 0 0 70px #e9e4d74d,0 0 0 140px #eee9de66;color:transparent}
.portal-login{max-width:390px;margin:25px auto;text-align:left;display:grid;gap:15px;background:#fff;padding:25px 30px;border:1px solid #e3dfd5;border-radius:20px;box-shadow:0 14px 40px #24334f09}
.portal-login h2{margin:0;font-size:25px}.portal-login label{display:grid;gap:7px;font-size:14px;font-weight:600}.portal-login input{min-width:0;width:100%;box-sizing:border-box;border:1px solid #cbd0d8;border-radius:9px;padding:12px;font:18px Arial;background:#fff;color:#24334f}.portal-login p{font-size:14px;margin:0}.portal-login .portal-back{justify-self:start;border:0;padding:0;background:transparent}.portal-login .portal-primary{background:#253651;color:white}
.teacher-signout{position:fixed;bottom:7px;left:12px;z-index:60}.teacher-signout button{font-size:11px;padding:4px 9px;border:1px solid #cbd0d8;border-radius:6px;background:#fffdf8;color:#43516a}
.student-portal{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.student-identity{margin-right:auto;font-weight:700;font-size:18px}.student-identity small{display:block;font-weight:400;font-size:12px;margin-top:4px;color:#707888}
.student-nav{display:flex;justify-content:center;gap:8px;padding:12px;background:#fffdf8;border-bottom:1px solid #e4dfd5;flex-shrink:0}.student-nav button{padding:10px 20px;background:transparent;border-color:transparent;font-size:15px}.student-nav button[aria-current=page]{background:#253651;color:#fff}
.student-content{width:min(1400px,94%);margin:auto;flex:1;min-height:0;display:flex;flex-direction:column;padding:20px 0 24px;gap:18px;box-sizing:border-box}.student-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-shrink:0}.student-heading h1{font:clamp(24px,2.4vw,38px) Georgia,serif;margin:4px 0}.student-heading>span,.student-heading time{font-size:14px;color:#6e7889}.student-heading p{margin:0 0 8px}
.personal-points{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:center;background:#fff;border:1px solid #e4dfd5;border-radius:22px;flex:1;min-height:0;padding:14px}.personal-pet{height:100%;min-height:140px;max-height:270px;display:flex;align-items:center;justify-content:center}.personal-pet .pet-evolution-art,.personal-pet .pet-egg{width:min(220px,90%);height:100%;max-height:250px;aspect-ratio:1;display:block;flex:none}.personal-score{padding:24px;border-left:1px solid #eee6d7;display:grid;gap:8px}.personal-score>span{font-size:18px}.personal-score strong{font:clamp(42px,6vw,85px) Georgia,serif;color:#a47d32}.personal-score small{font-size:13px;color:#707888}.personal-chart{background:#fff;border:1px solid #e4dfd5;border-radius:20px;padding:16px 24px;flex:1;min-height:150px;max-height:280px;display:flex;flex-direction:column}.personal-chart h2{font-size:18px;margin:0}.personal-chart svg{width:100%;min-height:0;flex:1}.personal-chart text{font:13px Arial;fill:#69758b}
.student-activity-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;flex:1;align-items:center}.student-activity-cards>button{padding:45px;position:relative;min-height:260px;text-align:left;border-radius:24px;background:#e2e9ed;border:0}.student-activity-cards>button+button{background:#eee5d2}.student-activity-cards span{font:55px Georgia;color:#95723b}.student-activity-cards h2{font:32px Georgia;margin:22px 0 10px}.student-activity-cards p{font-size:16px;color:#69758b}.student-activity-cards b{position:absolute;right:30px;top:30px;font-size:28px}
.student-day{display:grid;grid-template-columns:1fr 1.8fr;gap:30px;min-height:0;flex:1}.student-day aside{border-radius:20px;background:#253651;color:#fff;padding:32px;align-self:start;margin-top:20px}.student-day aside h2{font:clamp(24px,3vw,42px) Georgia;margin:20px 0}.student-day aside .portal-kicker{color:#dec58b}.student-day aside small{display:block;opacity:.7;margin-top:30px}.student-day ol{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:5px;min-height:0}.student-day li{display:flex;gap:18px;align-items:center;padding:5px 16px;background:#e6ebef;border-radius:9px;flex:1;min-height:0;font-size:clamp(12px,1.2vw,18px)}.student-day li time{font-size:.85em;white-space:nowrap}.student-day li b{margin-left:auto;font-size:10px}.student-day li.is-current{background:#d9bd7f;outline:2px solid #8e713b}.student-no-school{margin:auto;text-align:center}
.student-reading{flex:1;min-height:0;border-radius:20px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;padding:25px;overflow:auto}.student-reading>div{background:#fffffff0;border:1px solid #ffffffa0;padding:25px 45px;border-radius:20px;text-align:center;max-width:900px}.student-reading h2{font:clamp(23px,2.6vw,38px) Georgia;margin:8px 0 20px}.student-reading p:not(.portal-kicker){font-size:clamp(17px,1.8vw,26px);line-height:1.5;margin:3px 0}
.parent-tabs{display:flex;gap:10px}.parent-tabs button{font-size:14px}.parent-tabs button[aria-pressed=true]{background:#253651;color:#fff}.parent-overview{display:grid;grid-template-columns:1fr 1.1fr;gap:22px;flex:1;min-height:0}.parent-overview article{padding:clamp(20px,3vw,42px);background:#fff;border:1px solid #e4dfd5;border-radius:20px;overflow:auto}.parent-overview article+article{background:#ebe6d9}.parent-overview h2{font:clamp(22px,2.2vw,30px) Georgia;margin:12px 0 24px}.parent-overview p,.parent-overview li{font-size:clamp(16px,1.35vw,21px);line-height:1.7}.parent-overview ol{padding-left:23px}.parent-overview li{padding-left:6px;margin:15px 0}.parent-books{display:flex;flex-direction:column;flex:1;min-height:0;gap:18px}.parent-books>p{color:#6a7486;font-size:14px;line-height:1.6;margin:0}.parent-book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;flex:1;min-height:0}.parent-book-grid article{background:#fff;padding:28px;border:1px solid #e4dfd5;border-radius:16px;overflow:auto}.parent-book-grid span{font:30px Georgia;color:#ae8746}.parent-book-grid h2{font:clamp(17px,1.5vw,23px)/1.5 Georgia;margin-top:25px}.parent-book-pager{display:flex;align-items:center;justify-content:center;gap:20px}.student-error{margin:0;text-align:center;color:#762d41;font-size:14px}
.student-game-open{height:auto;min-height:100dvh;overflow:auto}.student-game-open .student-content{width:100%;padding:0}.student-game main{min-height:calc(100dvh - 145px);height:auto}.student-game main>header{display:none!important}.student-game main.fit-page{min-height:0}
@media(max-width:800px),(pointer:coarse) and (max-width:1100px){
.portal-entry{height:auto;min-height:100dvh;overflow:auto}.portal-welcome{margin:35px auto}.portal-entry>header,.student-portal>header{padding:12px;gap:9px;flex-wrap:wrap}.portal-entry>header .school-logo,.student-portal>header .school-logo{width:170px;max-width:42vw}.portal-entry .teacher-entry{padding:25px;grid-template-columns:40px 1fr}.teacher-entry>span{font-size:35px}.teacher-entry strong{font-size:30px}.teacher-entry small{font-size:12px}.portal-login{padding:22px}.portal-welcome h1{font-size:35px}.portal-kicker{font-size:10px}.portal-orbit{display:none}.student-portal{height:auto;min-height:100dvh;overflow:visible}.student-identity{font-size:15px}.student-portal>header button{padding:9px;font-size:12px}.student-nav{flex-wrap:wrap;gap:4px;padding:8px}.student-nav button{font-size:13px;padding:10px 12px}.student-content{padding:20px 0;gap:20px}.student-heading{align-items:flex-start;flex-wrap:wrap}.student-heading h1{font-size:29px}.student-heading time{font-size:13px}.personal-points{grid-template-columns:1fr 1fr;padding:12px;gap:12px}.personal-pet{grid-column:span 2;height:180px}.personal-score{padding:12px;border-left:0;text-align:center}.personal-score strong{font-size:50px}.personal-score>span{font-size:15px}.personal-score small{font-size:11px}.personal-chart{height:210px;min-height:210px;padding:16px 8px}.personal-chart svg{min-height:155px}.personal-chart h2{padding-left:12px}.student-activity-cards{grid-template-columns:1fr;gap:16px}.student-activity-cards>button{padding:28px;min-height:210px}.student-day{grid-template-columns:1fr;gap:20px}.student-day aside{margin:0;padding:24px}.student-day aside h2{font-size:30px}.student-day li{min-height:42px;font-size:14px;padding:8px 12px;gap:12px}.student-day li time{font-size:12px}.student-reading{padding:12px;min-height:430px;overflow:visible}.student-reading>div{padding:25px 16px}.student-reading p:not(.portal-kicker){font-size:18px}.parent-tabs{flex-wrap:wrap;gap:6px}.parent-tabs button{font-size:13px;padding:10px 12px}.parent-overview{grid-template-columns:1fr}.parent-overview article{padding:25px;overflow:visible}.parent-book-grid{grid-template-columns:1fr}.parent-book-grid article{padding:22px}.parent-book-grid h2{font-size:20px;margin-top:14px}.parent-books{padding-bottom:15px}.student-game main{min-height:0}.teacher-signout{bottom:2px;left:4px}
}
.student-reading{overflow:hidden;padding:18px}.student-reading>div{max-width:1100px;padding:18px 32px}.student-reading p:not(.portal-kicker){font-size:var(--student-reading-size,22px);line-height:1.45}.student-reading h2{font-size:calc(var(--student-reading-size,22px)*1.35);margin:8px 0 14px}
@media(max-width:800px),(pointer:coarse) and (max-width:1100px){.student-reading{overflow:visible;padding:12px}.student-reading>div{padding:22px 14px}}
.student-password-dialog{width:min(440px,calc(100vw - 30px));max-height:90dvh;box-sizing:border-box;border:1px solid #d9d2c3;border-radius:20px;padding:28px;background:#fffdf8;color:#24334f;box-shadow:0 20px 80px #18233c40}.student-password-dialog::backdrop{background:#18233c80;backdrop-filter:blur(3px)}.student-password-dialog form{display:grid;gap:16px}.student-password-dialog h2{font:28px Georgia,serif;margin:0 0 6px}.student-password-dialog label{display:grid;gap:7px;font-size:14px;font-weight:600}.student-password-dialog input{width:100%;box-sizing:border-box;border:1px solid #c9cbd0;background:white;color:#24334f;border-radius:9px;padding:12px;font:18px Arial}.student-password-dialog form>div{display:flex;justify-content:flex-end;gap:10px}.student-password-dialog form>div>button:last-child{background:#253651;color:white}.student-password-dialog small{font-size:12px;color:#67748a;line-height:1.5}.student-password-dialog [role=alert]{color:#762d41;margin:0}
.parent-inquiry{display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.parent-subject-nav{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.parent-subject-nav button{padding:9px 14px;border:0;background:#e9edf1;font-size:14px}.parent-subject-nav button[aria-pressed=true]{background:#ddc99f;color:#24334f}.parent-subject-detail{background:#fff;border:1px solid #e4dfd5;border-radius:20px;padding:clamp(24px,4vw,55px);flex:1;min-height:0;overflow:auto}.parent-subject-detail h2{font:clamp(28px,3vw,42px) Georgia,serif;margin:18px 0}.parent-subject-detail>p{max-width:1000px;font-size:clamp(18px,1.6vw,24px);line-height:1.85;margin:20px 0 30px}.parent-subject-detail>button{background:#eee8da;font-size:14px}.parent-journey{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;flex:1;min-height:0}.parent-journey article{padding:clamp(20px,2.8vw,40px);border-radius:20px;background:#fff;border:1px solid #e4dfd5;overflow:auto}.parent-journey article:nth-child(2){background:#e8eef2}.parent-journey article:nth-child(3){background:#eee7d8}.journey-number{font:42px Georgia;color:#a17a35}.parent-journey h2{font:clamp(22px,2vw,29px) Georgia;line-height:1.3;margin:22px 0 16px}.parent-journey p{font-size:clamp(16px,1.3vw,20px);line-height:1.8}.parent-inquiry .parent-overview h2{margin-bottom:15px}.parent-inquiry .parent-overview li{margin:10px 0}
@media(max-width:800px),(pointer:coarse) and (max-width:1100px){.student-password-dialog{padding:23px}.parent-subject-nav{gap:6px}.parent-subject-nav button{font-size:12px;padding:10px}.parent-subject-detail{padding:26px;overflow:visible}.parent-subject-detail>p{font-size:18px}.parent-journey{grid-template-columns:1fr}.parent-journey article{overflow:visible;padding:26px}.parent-journey h2{font-size:25px;margin:16px 0}.parent-inquiry{padding-bottom:12px}}
.cpp-connection{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px}.cpp-summary{margin:0;font-size:clamp(14px,1.25vw,18px);line-height:1.6;color:#53627a;max-width:1150px}.cpp-unit-grid{display:flex;gap:20px;flex:1;min-height:0}.cpp-unit-grid article{flex:1;min-width:0;border:1px solid #e4dfd5;border-radius:18px;background:#fffdf8;padding:clamp(18px,2vw,30px);overflow:auto}.cpp-unit-grid h2{font:clamp(22px,2vw,30px) Georgia;margin:12px 0 18px}.cpp-unit-grid h3{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#94733b;margin:14px 0 7px}.cpp-unit-grid p{font-size:clamp(15px,1.3vw,19px);line-height:1.65;margin:0}.cpp-unit-grid .cpp-question{font-size:clamp(18px,1.7vw,25px)}.cpp-unit-grid small{color:#69758b;display:block;margin-top:5px}.cpp-empty{background:white;border-radius:18px;padding:30px}.english-focus-switch{display:flex;gap:8px}.english-focus-switch button{padding:8px 14px;font-size:13px}.english-focus-switch button[aria-pressed=true]{background:#253651;color:white}.parent-subject-detail>button+button{margin-left:10px}
@media(max-width:800px),(pointer:coarse) and (max-width:1100px){.cpp-unit-grid{flex-direction:column}.cpp-unit-grid article{overflow:visible;padding:24px}.cpp-unit-grid p{font-size:17px}.cpp-summary{font-size:15px}.cpp-connection{padding-bottom:15px}.parent-subject-detail>button+button{margin:12px 0 0}}
.cpp-skills .cpp-summary{display:none}.cpp-skills .cpp-unit-grid article{padding:16px 22px}.cpp-skills .cpp-unit-grid h2{font-size:24px;margin:8px 0 10px}.cpp-skills .cpp-unit-grid h3{margin:10px 0 5px}.cpp-skills .cpp-unit-grid p{font-size:16px;line-height:1.55}

/* A continuous editorial family guide, with a single page scroll. */
.student-parents-open .student-content{display:block;overflow-y:auto;overscroll-behavior:contain;width:100%;padding:24px max(24px,calc((100% - 1120px)/2)) 48px;scrollbar-gutter:stable}
.family-guide{color:#23344d;background:#fffefa;border:1px solid #dddcd5;border-radius:22px;box-shadow:0 12px 36px #182e4810;overflow:hidden;font-size:17px;line-height:1.7}
.family-guide h1,.family-guide h2,.family-guide h3,.family-guide h4,.family-guide h5,.family-guide p{margin:0}
.family-cover{padding:40px 44px;background:#192e49;color:#fff;border-bottom:5px solid #bc9a51}
.family-eyebrow{font-size:12px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
.family-cover .family-eyebrow{color:#e2cc99;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.family-cover h1{font-family:Georgia,serif;font-size:clamp(28px,3vw,44px);line-height:1.2;margin:18px 0 12px;max-width:900px;color:#fff}
.family-cover>p:last-child{color:#dde5ee;font-size:16px}
.family-section{padding:32px 44px;border-bottom:1px solid #e7e4dc}
.family-section:last-child{border:0}
.family-section-title{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.family-section-title>span{color:#96732d;font-size:13px;letter-spacing:.08em;font-weight:750;border:1px solid #d9caa8;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}
.family-section h2{font-size:27px;line-height:1.3;font-family:Georgia,serif}
.family-section h3{font-size:19px;margin-bottom:14px}
.family-lead{max-width:920px}
.family-inquiry>h3{margin-top:26px}
.family-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.family-journey>div{border-top:2px solid #c4ac76;padding-top:12px}
.family-journey span{font-size:12px;color:#96732d;font-weight:750}
.family-journey h4{font-size:16px;margin:5px 0 8px}
.family-journey p,.family-home li{font-size:15px}
.family-home{background:#edf2f5;border-radius:12px;padding:22px 26px;margin-top:26px}
.family-home ul{padding-left:20px;margin:0;display:grid;gap:8px}
.family-home h3{margin-bottom:10px}
.family-cpp{margin-top:26px;padding-top:24px;border-top:1px solid #e6dfcf}
.family-cpp>p{font-size:16px;margin-bottom:20px}
.family-cpp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}
.family-cpp-grid>article{border:1px solid #dfd9cb;border-radius:12px;padding:24px;background:#faf8f2}
.family-cpp .family-eyebrow{color:#8b6a2b}
.family-cpp h4{font-size:23px;margin:5px 0 18px;font-family:Georgia,serif}
.family-cpp blockquote{margin:0 0 20px;padding:14px 18px;border-left:3px solid #ad8840;background:#fff;font-size:19px;font-weight:600;line-height:1.5}
.family-cpp blockquote span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#7b6232;margin-bottom:6px}
.family-cpp small{display:block;font-size:14px;font-weight:400;margin-top:6px}
.family-cpp-detail+ .family-cpp-detail{margin-top:16px}
.family-cpp h5{font-size:15px;color:#743748;margin-bottom:5px}
.family-cpp-detail p{font-size:15px}
.family-science{background:#f5f8fa}.family-social{background:#faf8f3}
.family-library-note{font-size:14px;color:#596679;max-width:860px}
.family-book-group{margin-top:26px}
.family-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.family-books article{display:flex;align-items:flex-start;gap:14px;padding:20px;background:#f1f4f7;border-radius:10px;border-left:3px solid #233c5b}
.family-book-group:nth-last-child(2) .family-books article{border-color:#b18e42;background:#f8f4ea}
.family-book-group:last-child .family-books article{border-color:#843f4e;background:#f7f0f1}
.family-books span{font-size:12px;color:#7c8795;padding-top:3px}
.family-books h4{font-size:15px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
@media(max-width:800px),(pointer:coarse) and (max-width:1100px){.student-parents-open .student-content{overflow:visible;padding:16px 16px 32px;scrollbar-gutter:auto}.family-cover{padding:28px 24px}.family-section{padding:26px 24px}.family-journey,.family-books{grid-template-columns:1fr}.family-guide{font-size:16px;border-radius:16px}.family-section h2{font-size:24px}.family-cpp-grid>article{padding:20px}.family-home{padding:20px}.family-journey{gap:18px}}
.student-portal .family-guide>.family-cover{display:block;height:auto;min-height:0;padding:40px 44px;border-bottom:5px solid #bc9a51}
@media(max-width:800px){.student-portal .family-guide>.family-cover{padding:28px 24px}}
.family-central-idea{padding:22px 26px;margin:0 0 24px;background:#f5efdf;border-left:4px solid #b49148;border-radius:0 12px 12px 0}
.family-central-idea h3{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#836326;margin-bottom:8px}
.family-central-idea p{font-family:Georgia,serif;font-size:clamp(20px,2vw,26px);line-height:1.5;color:#203550}

/* Shared teacher/student timetable subject palette. */
.student-day li{background:var(--lesson-tint,#e8f0f6);color:var(--lesson-ink,#202e4d)}
.student-day li.is-current{background:var(--lesson-tint,#e8f0f6);outline:2px solid #a07d35;outline-offset:1px}
.student-day li.is-current b{background:#fff;color:#20304c;border-radius:20px;padding:3px 8px}
