:root{--ink:#263e35;--paper:#faf6e9;--green:#dce9c8;--orange:#edb57a;--blue:#dcecf0;--line:#34473a;--muted:#68776a}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}button,input,select{font:inherit;color:inherit}button{border:1.5px solid var(--line);border-radius:11px;background:#fffdf6;padding:12px 20px;cursor:pointer;transition:background .15s,transform .15s}button:hover{background:#ecf2de;transform:translateY(-1px)}button:focus-visible,input:focus-visible,select:focus-visible{outline:4px solid #d59644;outline-offset:3px}button:disabled{opacity:.4;cursor:default;transform:none}.primary{background:var(--ink);color:white}.primary:hover{background:#45634e}.ghost{border:0;background:none}header{max-width:1440px;margin:auto;padding:24px 4vw 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6dccd}.brand{text-decoration:none;font-size:22px;font-weight:850;color:var(--ink)}.brand span{font-size:12px;font-weight:500;margin-left:14px;border-left:1px solid;padding-left:14px}.tools{display:flex;gap:8px}.tools button{padding:9px 14px;font-size:14px}main{max-width:1320px;margin:auto;padding:24px 4vw 12px}nav{display:flex;gap:8px;margin-bottom:26px;flex-wrap:wrap}nav button{padding:7px 14px;font-size:13px;border:0;background:#eeeede;color:#667360}nav button.active{background:var(--ink);color:white}.eyebrow{font-size:13px;letter-spacing:.14em;color:#687961;font-weight:750;text-transform:uppercase}h1{font-size:clamp(30px,3.5vw,50px);line-height:1.25;letter-spacing:-.04em;margin:10px 0}h2{font-size:30px;margin:10px 0}p{line-height:1.65}.subtitle{font-size:18px;color:#63715e;margin:10px 0 24px}#stage{min-height:320px;position:relative}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:2px solid var(--line);border-radius:20px;padding:24px;background:#fffdf6;box-shadow:4px 5px 0 #d5dcc4;text-align:center;position:relative}.card.goose{background:#e6eddb}.card.duck{background:#f4e7c4}.card.hen{background:#e2edf0}.animal{font-size:64px;line-height:1.3;display:block}.card h2{font-size:23px}.price{font-size:29px;font-weight:800;margin-top:12px}.hint{font-size:14px;color:var(--muted)}.card .reveal{margin-top:10px}.counter{display:flex;justify-content:center;align-items:center;gap:18px;margin:16px 0}.counter b{font-size:34px;min-width:40px}.counter button{padding:8px 18px;font-size:24px}.task{padding:18px 24px;border:1.5px solid;border-radius:15px;background:#f0e7cf;margin-bottom:22px;font-size:22px}.two{display:grid;grid-template-columns:1fr 1fr;gap:24px}.model{display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:center}.model .total{grid-column:1 / -1;max-width:420px;justify-self:center;width:100%;background:#f5e3c9}.connector{grid-column:1/-1;font-size:28px;letter-spacing:5px}.formula{font-size:clamp(27px,4.3vw,58px);line-height:1.5;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.formula button{font-size:inherit;padding:12px 20px;border-radius:15px;background:white}.formula button.goose{background:var(--green)}.formula button.hen{background:var(--blue)}.result{font-weight:800}.unitrow{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}.unit{padding:16px 24px;border-radius:14px;font-size:20px;background:var(--green)}.unit.hen{background:var(--blue)}.actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}.notice{border-left:4px solid #91a978;background:#edf1e3;padding:14px 18px;font-size:18px;min-height:56px;margin:16px 0}.history{font-size:18px;text-align:center;color:var(--muted);line-height:1.8}.character{display:flex;align-items:center;gap:14px;margin-top:24px;border-top:1px solid #d5dccb;padding-top:8px;min-height:100px}.character img{width:95px;height:95px;object-fit:contain}.character b{font-size:13px;color:var(--muted)}.character p{margin:5px 0;font-size:19px}.lesson-footer{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.lesson-footer span{font-size:13px;color:var(--muted)}.legal{max-width:1320px;margin:20px auto 14px;padding:0 4vw;font-size:11px;color:#788171;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.route{background:#fffdf6;border:2px solid;border-radius:20px;padding:24px}.route h2{font-size:22px}.route ol{font-size:23px;line-height:1.9;padding-left:32px}.route .covered{visibility:hidden}.practice-tabs{display:flex;gap:8px;justify-content:center;margin-bottom:24px}.practice-tabs .selected{background:var(--ink);color:white}.op{font-size:32px!important;background:#e5edda!important;padding:8px 16px!important}.number{padding:0 3px}.exit input{width:160px;font-size:32px;border:1.5px solid;border-radius:12px;background:white;padding:12px;text-align:center}.exit{text-align:center}.exit .question{font-size:36px}.control-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}input,select{padding:10px;border:1.5px solid;border-radius:8px;background:#fffdf6}#count{width:80px}#roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:24px}#roster button{padding:12px 6px;min-height:80px}#roster b{display:block;font-size:24px}#roster small{font-size:11px}#roster .tagged{background:#f0d8b6}#roster .absent{background:#ddd;opacity:.5}dialog{border:2px solid var(--line);border-radius:24px;background:var(--paper);padding:42px;text-align:center;max-width:90vw}dialog::backdrop{background:#1c3029aa}dialog h2{font-size:74px;margin:24px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 24px;background:var(--ink);color:white;border-radius:12px;z-index:100;display:none;max-width:90vw}.farm-banner{height:100px;background:url('assets/farm.webp') center 57%/cover;border-radius:15px;margin-bottom:18px;border:1px solid #cbd7bf}.small{font-size:14px} @media(min-width:1600px){main{max-width:1480px}#stage{min-height:400px}.card{padding:35px}.animal{font-size:88px}.character p{font-size:24px}}@media(max-width:700px){header{padding:16px;align-items:flex-start}.brand{font-size:17px}.brand span{display:none}.tools{flex-wrap:wrap;justify-content:flex-end}.tools button{font-size:11px;padding:8px}main{padding:20px 16px}.cards{gap:10px}.card{padding:16px 8px;border-radius:14px}.animal{font-size:44px}.card h2{font-size:18px}.price{font-size:20px}.counter{gap:7px}.counter button{padding:6px 11px}.counter b{font-size:25px;min-width:25px}.two{grid-template-columns:1fr}.formula{gap:5px}.formula button{padding:10px}.character p{font-size:16px}.character img{width:72px;height:72px}.subtitle{font-size:16px}nav{gap:5px;margin-bottom:20px}nav button{font-size:11px;padding:7px 10px}.model{gap:10px}.unit{font-size:16px;padding:12px}.route ol{font-size:20px}dialog h2{font-size:54px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{.tools,nav,.actions,.lesson-footer,.legal{display:none}body{background:white}}
.money-model{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:16px}.money-group{padding:15px;border:1.5px solid;border-radius:16px;background:#e6eddb;text-align:center}.money-group.hen{background:#e2edf0}.money-group b{font-size:18px}.money-items{display:flex;justify-content:center;gap:20px;margin:12px 0}.money-items span{font-size:40px;display:block}.money-items small{display:block;font-size:20px;border-top:1px solid #a5b6a0;padding-top:6px}.money-items .unused{opacity:.45;border-left:2px dashed #7894a0;padding-left:20px}.money-group p{margin:4px;font-size:17px}.formula button:disabled{opacity:1}.money-model+.unitrow{display:none}@media(max-width:700px){.money-model{gap:10px}.money-items{gap:10px}.money-items span{font-size:28px}.money-group b,.money-group p{font-size:14px}.money-items small{font-size:16px}}@media(min-width:900px) and (max-height:850px){header{padding-top:12px;padding-bottom:10px}main{padding-top:12px}nav{margin-bottom:14px}h1{font-size:34px}.subtitle{margin-bottom:14px}#stage{min-height:260px}.farm-banner{height:70px}.card{padding:16px}.animal{font-size:48px}.character{margin-top:14px;min-height:70px}.character img{width:65px;height:65px}.formula{font-size:38px;margin:10px 0}.money-items{margin:6px 0}.money-items span{font-size:30px}.notice{font-size:16px;margin:10px 0}.actions{margin:12px 0}.legal{margin:10px auto}.route ol{font-size:20px;line-height:1.5}}

.student-avatar{width:170px;height:170px;object-fit:contain;border-radius:50%;border:3px solid #8caa7a;background:white;display:block;margin:0 auto 14px}.roster-avatar{width:62px;height:62px;object-fit:contain;border-radius:50%;border:1px solid #9db28b;background:white;display:block;margin:0 auto 6px}#roster b{font-size:18px}#roster{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}#invitation h2{font-size:clamp(25px,4vw,48px)}.import-label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#classFile{max-width:320px;font-size:13px}#classLabel{font-weight:700}

/* 点名以头像为主，头部构图来自独立生成的头像图 */
#invitation .student-avatar{width:240px;height:240px;border-width:4px}#invitation h2{font-size:clamp(23px,3.6vw,42px)}.roster-avatar{width:76px;height:76px}@media(max-width:700px){#invitation .student-avatar{width:170px;height:170px}}

.empty-avatar{background:transparent;border:0}#roster b{font-size:21px}

/* The answer slide precedes the original lesson and keeps every answer visible. */
.pretest-sheet{display:grid;grid-template-columns:1fr 1.2fr;gap:16px}
.pretest-section{background:#fffdf6;border:1.5px solid var(--line);border-radius:18px;padding:18px 22px}
.pretest-section h2{font-size:18px;margin:0 0 14px;display:flex;align-items:center;gap:10px}
.pretest-section h2>span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--ink);color:white;font-size:15px}
.pretest-oral{grid-column:1/-1;background:#e6eddb}
.oral-answers{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.oral-answers>div{display:flex;flex-direction:column;gap:4px;padding-left:18px;border-left:1px solid #bac9ac;font-size:21px;white-space:nowrap}
.oral-answers>div:first-child{border-left:0;padding-left:0}
.pretest-sheet strong{font-size:32px;line-height:1.3;font-weight:800;font-variant-numeric:tabular-nums}
.product-answers{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:center}
.product-answers article+article{border-left:1px solid #d6dccd}
.product-answers p{margin:6px 0;font-size:23px;white-space:nowrap}
.product-answers strong{display:block;margin-bottom:18px}
.pretest-sheet button{font-size:14px;padding:8px 12px;background:transparent}
.pretest-choices article+article{border-top:1px solid #d6dccd;margin-top:12px;padding-top:10px}
.pretest-choices article p{font-size:17px;line-height:1.5;margin:0 0 8px}
.choice-answer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.choice-answer strong{font-size:26px;display:flex;align-items:center;gap:12px}
.choice-answer b{font-size:19px;background:#dcecf0;border-radius:8px;padding:3px 9px}
#pretestDetail{width:min(740px,94vw);max-height:90vh;overflow:auto;padding:30px}
#pretestDetail h2{font-size:30px;margin:16px 0 24px}
#pretestDetail p{font-size:21px;line-height:1.7}
#pretestDetail .explanation-result{font-size:26px}
#pretestDetail .place-number{font-size:48px;letter-spacing:.12em;margin:10px}
.place-number strong{color:#8b4b19;text-decoration:underline;text-underline-offset:8px}
.written-product{display:grid;grid-template-columns:auto 1fr;gap:32px;text-align:left;align-items:center;margin-bottom:24px}
.written-product pre{font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;font-size:32px;line-height:1.45;margin:0;background:#e6eddb;border-radius:14px;padding:20px}
#pretestDetail .written-product p{font-size:19px}
@media(min-width:900px) and (max-height:850px){.pretest-view .subtitle{margin:8px 0 12px}.pretest-view nav{margin-bottom:10px}.pretest-section{padding:12px 16px}.pretest-section h2{margin-bottom:8px;font-size:16px}.pretest-sheet{gap:12px}.oral-answers>div{font-size:18px}.pretest-sheet strong{font-size:28px}.product-answers p{font-size:20px}.product-answers strong{margin-bottom:12px}.pretest-choices article p{font-size:16px}.choice-answer strong{font-size:24px}.pretest-view .character{margin-top:12px}}
@media(max-width:700px){.pretest-sheet{grid-template-columns:1fr;gap:12px}.pretest-section{padding:16px}.oral-answers{grid-template-columns:1fr 1fr;gap:16px}.oral-answers>div{font-size:18px;padding-left:0;border:0}.pretest-sheet strong{font-size:28px}.product-answers p{font-size:20px}.pretest-choices article p{font-size:16px}.choice-answer strong{font-size:23px}.written-product{grid-template-columns:1fr;gap:14px}.written-product pre{justify-self:center;font-size:28px}#pretestDetail{padding:20px}#pretestDetail h2{font-size:24px}#pretestDetail .explanation-result{font-size:20px}}

/* User review: connect trailing zeros and partial products to place value. */
.oral-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.oral-heading h2{margin-bottom:0}.oral-heading button{white-space:nowrap}
.extra-zero{color:#984b12;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.oral-answers small{font-size:12px;color:#56664e;line-height:1.5;white-space:normal}
#pretestDetail{width:min(920px,94vw)}
.partial-product-board{display:grid;grid-template-columns:auto 1fr;gap:28px;text-align:left;align-items:center;margin:8px 0 20px}
.pv-calculation{--digit:1.05em;font-family:"Times New Roman","Songti SC",serif;font-size:36px;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"zero" 0;background:#e6eddb;border:1px solid #bdcdb0;border-radius:18px;padding:14px 18px}
.pv-row{display:grid;grid-template-columns:repeat(6,var(--digit));align-items:center;min-height:1.55em;text-align:center;margin:5px 0}
.pv-digits,.pv-frame{display:grid;grid-auto-flow:column;grid-auto-columns:var(--digit);align-items:center}
.pv-places{min-height:20px;margin-top:0}.pv-places>span{font:12px system-ui;color:#63715e}
.pv-rule{border-top:2px solid var(--ink);margin:7px 0}
.pv-frame{outline:2px solid;border-radius:8px;padding:3px 0;background:#fffdf6}
.pv-frame.pv-ones{outline-color:#397059;color:#285440}.pv-frame.pv-tens{outline-color:#a25b22;color:#874412}
.pv-optional{grid-column:6;color:#8b663c;border:1.5px dashed #a38560;border-radius:7px;opacity:.55;line-height:1.2}
.pv-optional.omitted{visibility:hidden}.pv-total{font-weight:700}
.partial-product-notes{display:grid;gap:12px}.partial-note{border-left:5px solid;border-radius:12px;padding:10px 16px}
.partial-note.pv-ones{border-color:#397059;background:#edf3e6}.partial-note.pv-tens{border-color:#a25b22;background:#f8ead7}
#pretestDetail .partial-note p{font-size:22px;margin:0;line-height:1.6}.partial-note h3{font-size:28px;margin:4px 0}
#pretestDetail .partial-note .place-reminder{font-size:16px}.partial-note.pv-ones h3{color:#285440}.partial-note.pv-tens h3{color:#874412}
#pretestDetail .partial-sum{font-size:23px;margin:4px 0}
.zero-omission{border-top:1px solid #ccd6c1;margin-bottom:20px;padding-top:10px}
#pretestDetail .zero-omission p{font-size:17px;margin:0 0 10px}.zero-omission button{font-size:16px;padding:9px 15px}
#pretestDetail .zero-discovery>p:first-child{margin-top:0;font-size:20px}
.zero-examples{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:left}
.zero-examples section{background:#e6eddb;border:1px solid #bdcdb0;border-radius:14px;padding:16px}
.zero-examples h3{font-size:25px;margin:0 0 12px;white-space:nowrap}
#pretestDetail .zero-examples p{font-size:17px;line-height:1.6;margin:8px 0}
#pretestDetail .zero-examples .zero-core{font-size:28px;font-weight:700}
#pretestDetail .zero-rule{font-size:20px;text-align:left;padding:12px 16px;background:#f8ead7;border-radius:12px;line-height:1.65}
#pretestDetail .zero-check{font-size:17px;margin-bottom:20px}
@media(min-width:900px) and (max-height:850px){.oral-heading{margin-bottom:6px}.oral-answers small{font-size:11px}.pretest-view .character p{font-size:17px}#pretestDetail{padding:22px}#pretestDetail h2{margin:10px 0 14px}.pv-calculation{font-size:31px}.partial-product-board{gap:22px;margin-bottom:12px}.partial-product-notes{gap:8px}#pretestDetail .partial-note p{font-size:20px}.partial-note h3{font-size:25px}.partial-note{padding:8px 14px}#pretestDetail .zero-examples p{font-size:16px}#pretestDetail .zero-rule{font-size:18px;margin:12px 0}#pretestDetail .zero-check{font-size:16px;margin:10px 0}}
@media(max-width:700px){.oral-heading{align-items:flex-start;gap:8px}.oral-heading button{font-size:12px;padding:6px 8px}.oral-heading h2{font-size:16px}.partial-product-board{grid-template-columns:1fr;gap:16px}.pv-calculation{justify-self:center;font-size:32px}.partial-product-notes{gap:10px}#pretestDetail .partial-note p{font-size:19px}.partial-note h3{font-size:24px}.zero-examples{grid-template-columns:1fr}.zero-examples h3{font-size:23px}.oral-answers small{font-size:11px}}

/* Three seconds of rolling names, then one final invitation. No full-screen strobe. */
#invitation{width:min(760px,92vw);max-height:94vh;overflow:auto}
.draw-avatar-slot{width:240px;height:240px;margin:0 auto 14px;display:grid;place-items:center}
#invitation .draw-avatar-slot .student-avatar{margin:0}
#invitation h2{min-height:1.3em}
#drawStatus{margin:12px auto 4px;width:min(340px,85%);color:var(--muted);font-size:14px}
#drawCountdown{display:inline-grid;place-items:center;background:var(--ink);color:white;width:28px;height:28px;border-radius:50%;margin-left:8px;font-size:18px}
.draw-track{height:6px;background:#dce6d0;border-radius:10px;margin-top:10px;overflow:hidden}
.draw-track span{display:block;height:100%;background:#628252;transform-origin:left;animation:draw-progress 3s linear forwards}
#invitation.drawing .draw-avatar-slot{border-radius:50%;outline:3px dashed #a6b68b;outline-offset:7px}
#invitation.drawing h2{color:#49684b;font-size:clamp(28px,4vw,46px)}
#invitation.revealed .draw-avatar-slot{animation:draw-reveal .35s ease-out}
#invitation.revealed h2{animation:draw-reveal .35s ease-out}
@keyframes draw-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes draw-reveal{from{transform:scale(.94);opacity:.65}to{transform:scale(1);opacity:1}}
@media(max-width:700px){.draw-avatar-slot{width:170px;height:170px}#invitation{padding:24px}#invitation h2{margin:18px 0}}
@media(min-width:900px) and (max-height:850px){#invitation{padding:24px}#invitation h2{font-size:32px;margin:16px 0}.draw-avatar-slot,#invitation .draw-avatar-slot .student-avatar{width:190px;height:190px}.draw-avatar-slot{margin-bottom:10px}#invitation p{margin:12px 0}}
@media(prefers-reduced-motion:reduce){.draw-track span,#invitation.revealed h2,#invitation.revealed .draw-avatar-slot{animation:none}.draw-track span{transform:scaleX(1)}}

/* Agreed classroom story: restaurant → purchase → students' methods → topic. */
.story-view .character{display:none}.story-view .lesson-footer{margin-top:20px}
.story-role{width:100px;height:120px;object-fit:contain;flex:none}
.scene-label{font-size:12px;letter-spacing:.09em;font-weight:750;color:#69765d}
.farm-welcome{position:relative;display:flex;align-items:center;gap:22px;min-height:205px;padding:22px 30px;border:1.5px solid #bdc9a6;border-radius:20px;background:url('assets/farm.webp') center 70%/cover;overflow:hidden}
.welcome-roles{display:flex;align-items:flex-end;gap:3px;flex:none}.welcome-roles .story-role{width:85px;height:145px}.welcome-roles .story-role:last-child{width:110px;height:165px}
.welcome-copy{max-width:650px;padding:12px 18px;background:#fff9e4e6;border:1px solid #d7cfb0;border-radius:15px}
.welcome-copy h2{font-size:30px;margin:6px 0}.welcome-copy p{font-size:19px;line-height:1.7;margin:6px 0}
.market-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 12px}.market-heading h2{font-size:19px;margin:0}.market-heading>span{font-size:14px;color:var(--muted)}
.market-cards .card{padding:15px}.market-cards .animal{font-size:50px}.market-cards h2{font-size:20px}.market-cards .reveal{font-size:20px;font-weight:750;min-width:160px}
.order-scene{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;background:#f3ead4;border:1.5px solid #aebd9f;border-radius:20px;padding:14px 22px}
.order-host{display:flex;align-items:center;gap:18px}.order-host .story-role{height:110px;width:80px}.order-host p{font-size:22px;line-height:1.65;margin:6px 0}
.prep-ticket{display:grid;gap:10px;text-align:center;padding:14px 20px;border:1.5px dashed #7e9970;border-radius:12px;background:#fffdf6}.prep-ticket>span{font-size:13px;letter-spacing:.12em;color:var(--muted)}.prep-ticket>b{font-size:25px;white-space:nowrap}.prep-ticket>small{font-size:12px}
.chick-interlude{display:flex;align-items:center;gap:12px;padding:8px 16px;margin:12px 0;border:1px solid #d5d8b9;border-radius:15px;background:#fff8db}.chick-interlude .story-role{width:60px;height:70px}.chick-interlude>div{flex:1}.chick-interlude b{font-size:12px;color:#807344}.chick-interlude p{font-size:16px;line-height:1.65;margin:3px 0}.chick-interlude button{font-size:13px;padding:9px 12px;white-space:nowrap}.clerk-badge{font-size:12px;padding:7px 10px;border-radius:20px;background:#dce9c8;white-space:nowrap}
.prep-cards{gap:16px}.prep-cards .card{padding:14px}.prep-price{display:flex;align-items:center;justify-content:center;gap:15px;text-align:left}.prep-price>span{font-size:42px}.prep-price h2{font-size:18px;margin:0 0 5px}.prep-price b{font-size:20px}.prep-cards .counter{margin:12px 0 0}.prep-cards .counter b{font-size:29px}.prep-cards .counter button{font-size:21px;padding:6px 17px}
.student-methods{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.student-method{padding:20px;border:2px solid var(--line);border-radius:20px;background:#fffdf6;display:flex;align-items:stretch;flex-direction:column}.method-ge{box-shadow:4px 5px 0 #d5dcc4}.method-di{box-shadow:4px 5px 0 #d5e3e5}
.method-host{display:flex;align-items:center;gap:12px;border-bottom:1px solid #dce1cf;padding-bottom:12px}.method-host .story-role{width:64px;height:80px}.method-host h2{font-size:19px;margin:7px 0;line-height:1.55}.method-credit{font-size:13px;color:var(--muted);margin:12px 0 0}
.student-expression{font-size:clamp(23px,2.1vw,32px);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;margin:14px 0;flex:1;font-variant-numeric:tabular-nums}
.empty-method{min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#78836c;font-size:23px}.empty-method small{font-size:15px}.student-method>button{align-self:flex-start;font-size:14px;padding:9px 15px;margin-top:auto}
.method-prompt{margin:20px 0 8px;display:flex;align-items:center;gap:16px;justify-content:space-between}.method-prompt p{font-size:17px;line-height:1.7;margin:0}.method-prompt button{font-size:13px;white-space:nowrap;padding:9px 12px}.method-model{margin-top:18px}.method-model .card{padding:16px}.method-model .card h2{font-size:20px}.method-model .price{font-size:26px}
.topic-launch{padding:24px;border:2px solid var(--line);border-radius:22px;text-align:center;background:#fffdf6}.topic-question{display:flex;align-items:center;justify-content:center;gap:18px}.topic-question .story-role{width:110px;height:130px}.topic-question h2{font-size:30px;line-height:1.55;margin:8px 0}.topic-launch>p{font-size:18px;margin:12px 0}.topic-expression{display:flex;justify-content:center;align-items:center;gap:20px;font-size:42px;margin:16px 0}.topic-expression>span{padding:8px 18px;border-radius:14px;background:var(--green)}.topic-expression>span:last-child{background:var(--blue)}.topic-launch>.primary{font-size:19px;margin-top:12px;padding:13px 28px}
#methodEditor{width:min(680px,94vw);max-height:92vh;overflow:auto;text-align:left;padding:28px}#methodEditor h2{font-size:27px;margin:14px 0 22px}#methodEditor label{display:block;font-size:15px;margin:14px 0 8px}#methodAuthor{width:100%}#methodExpression{display:block;width:100%;padding:12px 14px;background:#fffdf6;border:1.5px solid var(--line);border-radius:12px;font:22px/1.65 "PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);resize:vertical}#methodEditor #methodError{font-size:14px;color:var(--muted);min-height:24px}#methodEditor .actions{justify-content:flex-end;margin:16px 0 0}
@media(min-width:900px) and (max-height:850px){.farm-welcome{min-height:155px;padding:12px 20px;gap:16px}.welcome-roles .story-role{width:65px;height:110px}.welcome-roles .story-role:last-child{width:80px;height:125px}.welcome-copy{padding:8px 14px}.welcome-copy h2{font-size:25px}.welcome-copy p{font-size:17px;line-height:1.6}.market-heading{margin:12px 0 10px}.market-cards .animal{font-size:42px}.market-cards h2{font-size:18px}.market-cards .reveal{font-size:18px;padding:9px 15px}.order-host .story-role{height:85px;width:65px}.order-host p{font-size:19px}.order-scene{padding:10px 16px}.prep-ticket{padding:10px 14px}.chick-interlude{margin:10px 0;padding:6px 12px}.chick-interlude .story-role{width:50px;height:60px}.chick-interlude p{font-size:15px}.prep-price>span{font-size:35px}.prep-price b{font-size:18px}.prep-cards .card{padding:10px}.student-method{padding:15px}.method-host .story-role{width:50px;height:65px}.method-host h2{font-size:17px}.empty-method{min-height:100px;font-size:21px}.student-expression{font-size:26px;max-height:200px;margin:10px 0}.method-prompt{margin-top:16px}.method-prompt p{font-size:15px}.topic-launch{padding:18px}.topic-question .story-role{width:90px;height:105px}.topic-question h2{font-size:26px}.topic-expression{font-size:34px;margin:12px 0}.topic-launch>p{font-size:16px;margin:8px 0}}
@media(max-width:700px){.farm-welcome{min-height:220px;padding:14px;gap:10px;align-items:flex-end}.welcome-roles{gap:0;flex-direction:column}.welcome-roles .story-role{width:58px;height:75px}.welcome-roles .story-role:last-child{width:68px;height:85px}.welcome-copy{padding:10px;max-width:80%}.welcome-copy h2{font-size:22px}.welcome-copy p{font-size:15px}.scene-label{font-size:10px}.market-heading{align-items:flex-start;flex-direction:column;gap:5px}.market-heading h2{font-size:17px}.market-heading>span{font-size:12px}.market-cards .card{padding:12px 5px}.market-cards .animal{font-size:40px}.market-cards h2{font-size:15px}.market-cards .reveal{min-width:0;font-size:14px;padding:8px 6px;width:100%}.order-scene{grid-template-columns:1fr;padding:12px;gap:10px}.order-host{gap:10px}.order-host .story-role{height:90px;width:55px}.order-host p{font-size:17px}.prep-ticket{padding:9px;gap:6px}.prep-ticket>b{font-size:22px}.chick-interlude{gap:8px;padding:9px;flex-wrap:wrap}.chick-interlude .story-role{width:45px;height:60px}.chick-interlude p{font-size:14px}.chick-interlude button{margin-left:53px}.prep-cards{gap:8px}.prep-price{flex-direction:column;gap:5px;text-align:center}.prep-price>span{font-size:32px}.prep-price h2{font-size:15px}.prep-price b{font-size:14px}.prep-cards .counter{gap:4px}.prep-cards .counter button{padding:4px 8px;font-size:18px}.prep-cards .counter b{font-size:24px;min-width:20px}.student-methods{grid-template-columns:1fr}.student-method{padding:15px}.method-host h2{font-size:17px}.empty-method{min-height:90px}.student-expression{font-size:25px}.method-prompt{flex-direction:column;align-items:flex-start}.method-prompt p{font-size:16px}.topic-launch{padding:16px 12px}.topic-question{gap:10px}.topic-question .story-role{width:65px;height:90px}.topic-question h2{font-size:21px}.topic-expression{font-size:26px;gap:8px}.topic-expression>span{padding:7px 10px}.topic-launch>p{font-size:16px}#methodEditor{padding:20px}#methodEditor h2{font-size:23px}#methodExpression{font-size:19px}}

/* Reuse the established characters, remove mattes, and align feet. */
.role-cutout{--role-height:100px;display:inline-block;position:relative;height:var(--role-height);width:calc(var(--role-height) * .72);overflow:hidden;flex:none;vertical-align:bottom;background:transparent}
.role-cutout.role-ge{width:calc(var(--role-height) * .64)}
.role-cutout .story-role{position:absolute!important;left:50%;bottom:var(--cutout-bottom,-5%);transform:translateX(-50%);height:var(--cutout-scale,110%)!important;width:auto!important;max-width:none;object-fit:contain;display:block;background:transparent}
.role-ge{--cutout-scale:124%;--cutout-bottom:-8.8%}.role-di{--cutout-scale:110%;--cutout-bottom:-5%}.role-chick{--cutout-scale:112%;--cutout-bottom:-10%}
.welcome-roles{height:170px;gap:16px;align-items:flex-end}.welcome-roles .role-ge{--role-height:160px}.welcome-roles .role-di{--role-height:80px}
.order-host .role-cutout{--role-height:100px}.chick-interlude .role-cutout{--role-height:65px}
.method-host{min-height:95px}.method-host .role-ge{--role-height:80px}.method-host .role-di{--role-height:40px}.topic-question .role-cutout{--role-height:110px}
#portraitFrame{--role-height:85px}.character{align-items:center}
.comparison-key{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:14px;margin:0 0 15px}.comparison-key>span{padding:7px 12px;border-radius:8px}.route-goose{background:#e2ecd3;color:#35573c;border-radius:6px;padding:2px 7px}.route-hen{background:#dfeef1;color:#315c69;border-radius:6px;padding:2px 7px}
.route-pair .route{padding:18px 22px;display:flex;flex-direction:column;align-items:flex-start;min-height:330px}
.route-heading{display:flex;align-items:center;gap:12px;height:68px;margin-bottom:12px}.route-heading .role-ge{--role-height:64px}.route-heading .role-di{--role-height:32px}.route-heading h2{margin:5px 0;font-size:22px}
.route .route-equations{list-style:none;padding:0;margin:0 0 14px;width:100%;font-size:25px;line-height:1.5;flex:1}.route-equations li{display:grid;grid-template-columns:22px 1fr;gap:6px;margin-bottom:9px;align-items:start}.route-equations .equals{color:#78856d}.route-equations p{font-size:13px;line-height:1.5;margin:5px 0 0;color:#68765f}.route-pair .route>button{font-size:14px;padding:9px 13px;margin-top:auto}
.comparison-questions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.comparison-questions article{border:1px solid #c5d1b5;border-radius:12px;background:#fffdf6;overflow:hidden}.comparison-questions button{border:0;background:#edf1e3;border-radius:0;width:100%;text-align:left;font-size:15px;font-weight:700;padding:13px 15px;min-height:64px}.comparison-questions p{font-size:15px;margin:0;padding:12px 15px;line-height:1.7}
.practice-original{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 16px;flex-wrap:wrap}.practice-original>span{font-size:13px;color:var(--muted)}.practice-original>strong{font-size:25px;font-weight:700}
.practice-work{padding:20px}.attempt-label{font-size:13px;color:var(--muted)}.practice-work .formula{margin:10px 0 16px;font-size:42px}.practice-work .notice{text-align:left;font-size:16px}.attempt-trail{list-style:none;margin:14px auto 0;padding:0;max-width:800px;text-align:left;display:grid;gap:8px}.attempt-trail li{padding:9px 13px;background:#f3f2e7;border-radius:10px}.attempt-trail li>div{display:flex;align-items:center;gap:15px}.attempt-step{font-size:12px;color:#68765f;white-space:nowrap}.attempt-trail strong{font-size:20px;font-weight:650}.attempt-trail p{font-size:14px;color:var(--muted);line-height:1.5;margin:4px 0 0 55px}
.attempt-discussion{border:1.5px solid #8fa679;border-radius:16px;padding:18px 22px;background:#edf1e3;margin:16px 0}.attempt-discussion h2{font-size:21px;margin:0 0 10px}.attempt-discussion>p{font-size:17px;margin:8px 0;line-height:1.7}.attempt-grouping{display:grid;gap:8px;background:#fffdf6;border-radius:12px;padding:13px 16px;margin:12px 0}.attempt-grouping>span{font-size:12px;color:var(--muted)}.attempt-grouping strong{font-size:25px;overflow-wrap:anywhere}.attempt-discussion .peer-question{font-weight:700}
.reference-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.reference-comparison article{border:1.5px solid var(--line);background:#fffdf6;border-radius:16px;padding:18px 22px}.reference-comparison h2{font-size:20px;margin:0 0 15px}.reference-comparison article p{font-size:22px;line-height:1.7;margin:8px 0;overflow-wrap:anywhere}.reference-comparison article p>span{font-size:13px;color:var(--muted)}.reference-comparison .reference-question{grid-column:1/-1;margin:0;font-size:16px;line-height:1.7;padding:13px 18px;background:#edf1e3;border-radius:12px}
@media(min-width:900px) and (max-height:850px){.welcome-roles{height:135px;gap:12px}.welcome-roles .role-ge{--role-height:130px}.welcome-roles .role-di{--role-height:65px}.order-host .role-cutout{--role-height:80px}.chick-interlude .role-cutout{--role-height:55px}.method-host .role-ge{--role-height:66px}.method-host .role-di{--role-height:33px}.method-host{min-height:75px}#portraitFrame{--role-height:65px}.route-pair .route{padding:13px 16px;min-height:290px}.route-heading{height:50px;margin-bottom:10px}.route-heading .role-ge{--role-height:48px}.route-heading .role-di{--role-height:24px}.route-heading h2{font-size:19px}.route .route-equations{font-size:22px}.route-equations p{font-size:12px}.route-equations li{margin-bottom:7px}.comparison-key{font-size:12px;margin-bottom:10px}.comparison-questions button{font-size:13px;padding:10px 12px;min-height:53px}.comparison-questions p{font-size:13px}.practice-work{padding:16px}.practice-work .formula{font-size:35px;margin:8px 0}.practice-original{margin-bottom:12px}.practice-original>strong{font-size:22px}.attempt-trail{gap:6px}.attempt-trail li{padding:7px 11px}.attempt-trail strong{font-size:18px}.attempt-trail p{font-size:12px}.attempt-discussion{padding:14px 18px}.attempt-grouping strong{font-size:22px}}
@media(max-width:700px){.welcome-roles{flex-direction:row;align-items:flex-end;height:110px;gap:5px}.welcome-roles .role-ge{--role-height:100px}.welcome-roles .role-di{--role-height:50px}.welcome-copy{max-width:100%;flex:1}.farm-welcome{align-items:center;flex-wrap:wrap}.order-host .role-cutout{--role-height:78px}.chick-interlude .role-cutout{--role-height:50px}.method-host .role-ge{--role-height:68px}.method-host .role-di{--role-height:34px}.method-host{min-height:80px}#portraitFrame{--role-height:65px}.route-pair .route{min-height:290px;padding:15px}.route .route-equations{font-size:22px}.comparison-key{justify-content:flex-start;font-size:12px;gap:8px}.comparison-questions{grid-template-columns:1fr}.comparison-questions button{min-height:0;font-size:14px}.comparison-questions p{font-size:14px}.practice-original{gap:7px}.practice-original>strong{font-size:20px}.practice-original>span{font-size:12px}.practice-work .formula{font-size:31px}.attempt-trail strong{font-size:18px}.attempt-trail p{margin-left:0;font-size:13px}.attempt-discussion{padding:15px}.attempt-discussion>p{font-size:15px}.attempt-grouping strong{font-size:21px}.reference-comparison{grid-template-columns:1fr}.reference-comparison article p{font-size:20px}.reference-comparison .reference-question{font-size:14px}.topic-question .role-cutout{--role-height:85px}}

/* Alpha-bound calibration: keep the full existing mascot visible. */
.role-cutout.role-di{--cutout-scale:116.219%;--cutout-bottom:-8.156%;width:calc(var(--role-height) * 0.7555)}

.comparison-view .character,.practice-review .character{display:none}.comparison-view h1{font-size:clamp(29px,3vw,42px)}.comparison-view .subtitle{margin-bottom:16px}.comparison-view .lesson-footer{margin-top:16px}

/* Keep the fully expanded comparison on the projection screen. */
.comparison-view .route-heading{height:56px;margin-bottom:10px}.comparison-view .route-heading .role-ge{--role-height:52px}.comparison-view .route-heading .role-di{--role-height:26px}.comparison-view .route-equations{font-size:23px;line-height:1.3}.comparison-view .route-equations li{margin-bottom:7px}.comparison-view .route-equations p{line-height:1.35;margin-top:3px}.comparison-view .route>button:disabled{display:none}

/* Classroom photo relay, matches the existing paper-and-green classroom. */
.photo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 20px;margin-bottom:20px;background:#e8eedb;border-radius:16px;border:1px solid #b8c6a8}.photo-toolbar b{display:block;font-size:20px}.photo-toolbar span{display:block;font-size:15px;color:#697962;margin-top:4px}.photo-work{display:block;position:relative;width:100%;padding:10px;margin:12px 0;background:#f3f1e8;border:1px solid #c0c8b4;border-radius:12px;overflow:hidden}.photo-work img{display:block;width:100%;height:clamp(220px,29vh,420px);object-fit:contain}.photo-work span{position:absolute;right:12px;bottom:10px;font-size:14px;background:#fffdf2df;padding:6px 10px;border-radius:20px}#photoReceiver{max-width:650px;width:92vw}#photoReceiver h2{font-size:32px}#photoReceiver p{font-size:18px;line-height:1.6}#photoReceiver .small{font-size:14px}#receiverQr{display:grid;place-items:center;min-height:80px;padding:12px;text-align:center;color:#527044;font-size:24px;font-weight:700}#receiverQr svg{width:min(280px,65vw);height:auto;background:white}#receiverState{background:#e9efdf;padding:10px 14px;border-radius:10px}#receiverActions a,.online-photo-link{color:#284737;align-self:center}#photoZoom{width:94vw;max-width:1600px;height:92vh;padding:20px}#photoZoom::backdrop{background:#152c25d6}.photo-zoom-tools{display:flex;align-items:center;gap:12px}.photo-zoom-tools b{margin-right:auto}.photo-zoom-area{height:calc(100% - 85px);display:grid;place-items:center;overflow:auto;margin-top:15px;background:#f2f0e8;border-radius:10px}#photoZoomImage{display:block;max-width:100%;max-height:100%;object-fit:contain}#photoZoomImage.quarter-turn{max-width:65vh;max-height:80vw}.student-method:has(.photo-work) .student-expression{font-size:25px;margin:12px 0}.student-method:has(.photo-work) .method-credit{margin:8px 0}.student-method:has(.photo-work){padding:20px}.student-method:has(.photo-work) .method-host h2{font-size:22px}@media(max-width:700px){.photo-toolbar{align-items:flex-start;flex-direction:column}.photo-toolbar button{width:100%}.photo-toolbar b{font-size:18px}.photo-zoom-tools button{font-size:14px;padding:10px}.photo-zoom-tools b{font-size:16px}}

/* Classroom projection: always-reachable launch control, fit each complete slide. */
#presentationDock{position:fixed;right:16px;bottom:16px;z-index:80;display:flex;gap:8px;align-items:center;box-shadow:0 2px 14px #263e3520;border-radius:14px}#presentationDock button{font-size:17px;padding:12px 18px}#classIdentityStatus{background:#edf3e4;font-size:13px!important;cursor:pointer}.presenting{overflow:hidden}.presenting>header,.presenting>.legal{display:none}.presenting #lesson{position:fixed;left:50%;top:calc(50% - 20px);width:1440px;max-width:none;height:auto;margin:0;padding:16px 32px;transform:translate(-50%,-50%) scale(var(--lesson-scale,1));transform-origin:center center}.presenting #lesson nav{gap:8px;margin-bottom:12px}.presenting #lesson nav button{font-size:17px;padding:7px 12px}.presenting #lesson h1{font-size:44px;margin:8px 0}.presenting #lesson .subtitle{font-size:22px;margin:6px 0 16px}.presenting #stage{min-height:0}.presenting .lesson-footer button{font-size:21px;padding:10px 20px}.presenting #lesson .character{margin-top:14px;min-height:70px}.presenting #lesson .character p{font-size:22px}.presenting #presentationDock{bottom:6px;right:12px}.presenting #presentationDock button{padding:7px 14px;font-size:14px}#photoZoom{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;max-height:none;margin:0;border:0;border-radius:0;box-sizing:border-box;padding:16px;overflow:hidden;background:#faf6e9}#photoZoom .photo-zoom-tools{height:55px;gap:10px;flex-wrap:nowrap;justify-content:flex-end}#photoZoom .photo-zoom-tools button{white-space:nowrap;font-size:17px;padding:10px 16px}#photoZoom .photo-zoom-tools b{font-size:20px}#photoZoom .photo-zoom-area{position:relative;display:block;width:100%;height:calc(100% - 70px);margin-top:12px;overflow:hidden;min-height:0}#photoZoomImage,#photoZoomImage.quarter-turn{position:absolute;left:50%;top:50%;max-width:none;max-height:none;object-fit:contain;transform-origin:center center}#invitation .draw-avatar-slot{background:transparent}#invitation .student-avatar{width:min(38vh,320px);height:min(38vh,320px)}@media(max-width:700px){#photoZoom{padding:8px}#photoZoom .photo-zoom-tools{gap:5px}#photoZoom .photo-zoom-tools b{display:none}#photoZoom .photo-zoom-tools button{font-size:14px;padding:10px 12px}#presentationDock button{font-size:14px;padding:10px}#classIdentityStatus{max-width:130px}}

/* Keep classroom invitation available while the header is hidden in projection. */
#presentationPick{display:none}.presenting #presentationPick{display:block;background:#2d5e48;color:#fff;border-color:#2d5e48;font-size:17px;padding:10px 18px}.presenting #presentationPick:hover{background:#3d765c}

/* Classroom revision: real steps first, then compare the two written calculations. */
.method-step-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px;flex:1;max-height:360px;overflow:auto}
.method-step-list li{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;background:#f0f3e8;border-radius:11px}
.method-step-number{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#dfe7d1;font-size:14px;color:#496041}
.method-step-list li>div{min-width:0}.method-step-list strong{display:block;font-size:27px;font-weight:650;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.method-step-list p{font-size:17px;line-height:1.55;margin:7px 0 0;color:#5b7054;overflow-wrap:anywhere}
.method-playback{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 14px}.method-playback button{font-size:15px;padding:9px 14px}.student-method:has(.method-step-list) .photo-work img{height:110px}
#methodEditor{width:min(860px,94vw)}.method-input-row{display:grid;grid-template-columns:48px 1.3fr 1fr;align-items:end;gap:12px;margin:10px 0;padding:10px;background:#f0f3e8;border-radius:12px}.method-input-row>span{font-size:14px;align-self:center;color:#617457}#methodEditor .method-input-row label{margin:0;font-size:13px}.method-input-row input{width:100%;min-width:0;box-sizing:border-box;margin-top:6px;background:#fffdf6;border:1px solid #9cae8f;border-radius:8px;padding:9px 10px;font:18px/1.5 "Microsoft YaHei",system-ui,sans-serif;color:var(--ink)}#addMethodStep{font-size:14px;padding:8px 13px;margin-top:8px}
.operation-underline{text-decoration-line:underline;text-decoration-thickness:3px;text-underline-offset:7px}.process-comparison .route-heading{min-height:56px;height:auto}.process-comparison .route-heading h2{font-size:24px}.comparison-view .process-comparison .route-equations{font-size:30px;line-height:1.6}.comparison-view .process-comparison .route-equations p{font-size:16px;line-height:1.5;margin:5px 0 0}.process-comparison .route-equations li{margin-bottom:11px}.process-comparison .route{min-height:345px}.comparison-view .process-comparison .route>button:disabled{display:block}.comparison-controls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0}.comparison-controls button{font-size:15px;padding:10px 16px}.comparison-money{padding:16px;background:#edf1e3;border-radius:15px;margin-bottom:15px}.comparison-money .money-group{padding:15px}.money-explanation-total{text-align:center;font-size:18px;margin:12px 0 0}.practice-reminders{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:0 0 16px;color:#617457;font-size:15px}.practice-reminders span{padding:7px 12px;background:#edf1e3;border-radius:9px}
@media(min-width:900px) and (max-height:850px){.comparison-view .process-comparison .route-equations{font-size:26px}.comparison-view .process-comparison .route-equations p{font-size:14px}.process-comparison .route{min-height:320px}.method-step-list strong{font-size:25px}.method-step-list p{font-size:15px}}
@media(max-width:700px){.method-input-row{grid-template-columns:40px 1fr;gap:8px}.method-input-row label:last-child{grid-column:2}.method-input-row input{font-size:16px}.method-step-list strong{font-size:23px}.method-step-list p{font-size:15px}.comparison-view .process-comparison .route-equations{font-size:25px}.comparison-view .process-comparison .route-equations p{font-size:14px}.process-comparison .route-heading h2{font-size:20px}.process-comparison .route{min-height:300px}.practice-reminders{font-size:12px;gap:5px}}

/* Keep the current speaker visible across slides; the next reveal replaces it. */
#lesson{position:relative}.active-speaker{position:absolute;top:24px;right:4vw;width:116px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 10px;background:#fffdf6;border:1.5px solid #91a978;border-radius:18px;z-index:3;text-align:center;pointer-events:none}.active-speaker>span{font-size:13px;color:var(--muted)}.active-speaker img{display:block;width:88px;height:88px;object-fit:contain;border-radius:50%;background:white}.active-speaker strong{font-size:20px;line-height:1.25;overflow-wrap:anywhere}.has-active-speaker>#steps,.has-active-speaker>h1,.has-active-speaker>.subtitle{padding-right:140px}.has-active-speaker>#steps{min-height:48px}.presenting #activeSpeaker{top:16px;right:32px}@media(max-width:700px){.active-speaker{top:20px;right:16px;width:90px;padding:6px;gap:4px}.active-speaker img{width:66px;height:66px}.active-speaker strong{font-size:17px}.active-speaker>span{font-size:11px}.has-active-speaker>#steps,.has-active-speaker>h1,.has-active-speaker>.subtitle{padding-right:104px}.presenting .active-speaker{width:116px;padding:8px 10px;gap:5px}.presenting .active-speaker img{width:88px;height:88px}.presenting .active-speaker strong{font-size:20px}.presenting .active-speaker>span{font-size:13px}.presenting .has-active-speaker>#steps,.presenting .has-active-speaker>h1,.presenting .has-active-speaker>.subtitle{padding-right:140px}}@media print{#activeSpeaker{display:none}}

/* Optional calculation methods and a calculator for the pretest discussion. */
.explanation-tabs{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 18px}.explanation-tabs button{font-size:17px;padding:10px 16px}.explanation-tabs button[aria-pressed="true"]{background:var(--ink);color:white}.shortcut-caption{font:15px/1.5 system-ui;color:#53684d;text-align:center;margin-bottom:10px}.shortcut-zero{color:#984b12;background:#f8ead7;border-radius:6px}.shortcut-final-zero{grid-column:6;outline:2px solid #a25b22}.shortcut-reason{background:#edf3e6;padding:12px;border-radius:12px}.place-value-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:590px;margin:0 auto 18px}.place-value-pair>div{background:#e6eddb;border:1px solid #bdcdb0;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:5px}.place-value-pair span{font-size:17px}.place-value-pair strong{font-size:35px;color:#285440}.place-value-pair small{font-size:17px;color:var(--muted)}.ten-thousand-method{background:#f8ead7;border-radius:14px;padding:12px 20px;margin-bottom:16px}#pretestDetail .ten-thousand-method p{font-size:18px;margin:8px 0}#pretestDetail .ten-thousand-method .unit-equation{font-size:34px;color:#874412;font-weight:750}#pretestDetail .ten-thousand-method .fill-in-method{font-size:25px;line-height:1.8}
#pretestDetail.calculator-detail{width:min(1030px,95vw)}.calculator-demo{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:28px;text-align:left}.lesson-calculator{background:#e6eddb;border:1.5px solid #91a978;border-radius:20px;padding:16px;min-width:0}.calc-readout{border:1.5px solid #91a978;border-radius:12px;background:#fffdf6;padding:10px 14px;min-height:112px;text-align:right}.calc-readout output{display:block;font-size:clamp(28px,3.5vw,44px);font-weight:750;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#calcPending{font-size:17px;color:var(--muted);min-height:23px}#calcUnit{display:block;font-size:19px;color:#874412;min-height:26px}.calc-keypad{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.calc-keypad button{font-size:25px;padding:10px 4px;border-radius:10px}.calc-keypad button[data-calc-key="C"]{font-size:17px}.calc-keypad .calc-equals{grid-column:4;grid-row:4/span 2;background:var(--ink);color:white}#pretestDetail #calcMessage{font-size:15px;line-height:1.5;margin:10px 0 0;min-height:23px;color:#984b12}.calculator-guide{min-width:0}.calculator-guide>label{display:block;font-size:20px;font-weight:700;margin:0 0 10px}.calc-base-row{display:flex;gap:8px}.calc-base-row input{width:100%;min-width:0;font-size:24px}.calc-base-row button{padding:10px 12px;font-size:16px;white-space:nowrap}.calc-presets{display:flex;gap:8px;margin:10px 0 16px}.calc-presets button{padding:7px 14px;font-size:16px}.calc-guided-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calc-guided-actions button{font-size:17px;padding:11px 8px}.calc-history{padding-left:26px;min-height:76px;max-height:114px;overflow:auto;font-size:20px;line-height:1.7;margin:14px 0}.calculator-guide>#calcCompareButton{font-size:17px;padding:10px 14px}.calc-comparison{border-left:4px solid #a25b22;background:#f8ead7;border-radius:10px;padding:10px 14px;margin-top:12px}#pretestDetail .calc-comparison p{font-size:19px;margin:4px 0;overflow-wrap:anywhere}#pretestDetail .calculator-guide .calc-reminder{font-size:18px;line-height:1.65;margin:14px 0 0;color:#53684d}@media(min-width:900px) and (max-height:850px){#pretestDetail.calculator-detail{padding:20px}.calc-keypad button{font-size:22px;padding:8px 3px}.calc-readout{min-height:96px}.calc-readout output{font-size:36px}.calc-history{margin:10px 0;min-height:62px;font-size:18px}.calculator-demo{gap:22px}#pretestDetail .ten-thousand-method .unit-equation{font-size:29px}}@media(max-width:700px){.calculator-demo{grid-template-columns:1fr;gap:20px}.place-value-pair{gap:10px}.place-value-pair span{font-size:14px}.place-value-pair strong{font-size:29px}#pretestDetail .ten-thousand-method .unit-equation{font-size:23px}#pretestDetail .ten-thousand-method .fill-in-method{font-size:20px}.explanation-tabs button{font-size:14px;padding:9px 12px}.shortcut-reason{font-size:18px!important}}
#closePretestDetail{margin-top:16px}

/* Compare two repairs from the same mistaken result, then explain grouping. */
.calc-guided-actions>button:first-child{grid-column:1/-1}.calc-guided-actions>button{font-size:16px}.calc-guided-actions>button[data-calc-action="add20"]{border-color:#a25b22}#pretestDetail .calc-branch-hint{font-size:14px;line-height:1.5;margin:8px 0;color:var(--muted)}#calcGroupButton{display:block;font-size:17px;padding:10px 14px;margin-top:14px;border-color:#397059}.calc-grouped-addition{border-top:1px solid #bdcdb0;margin-top:22px;padding-top:16px;text-align:left}.calc-grouped-addition>h3{font-size:24px;margin:0 0 12px}.calc-addition-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.calc-addition-pair article{padding:14px;background:#f8ead7;border-left:4px solid #a25b22;border-radius:12px}.calc-addition-pair article+article{background:#edf3e6;border-color:#397059}.calc-addition-pair article>span{font-size:17px;color:var(--muted)}#pretestDetail .calc-addition-pair p{font-size:27px;line-height:1.5;margin:10px 0}.calc-addition-pair small{display:block;font-size:16px;line-height:1.6}.calc-group-highlight{color:#285440;text-decoration:underline;text-underline-offset:6px}#pretestDetail .calc-group-rule{font-size:18px;line-height:1.6;margin:12px 0}.calc-grouped-addition>button{font-size:17px;padding:10px 14px}@media(max-width:700px){.calc-addition-pair{grid-template-columns:1fr}#pretestDetail .calc-addition-pair p{font-size:22px}.calc-guided-actions>button{font-size:14px}}

/* Independent writing, photographed methods, then three teacher-led Q&A pages. */
.student-work-view #pick,.student-work-view #presentationPick,.student-work-view #activeSpeaker{display:none!important}
.student-work-view .has-active-speaker>#steps,.student-work-view .has-active-speaker>h1,.student-work-view .has-active-speaker>.subtitle{padding-right:0}
.think-write{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:22px 28px;margin-top:20px;border:2px solid var(--line);border-radius:20px;background:#fffdf6}.think-write h2{font-size:28px;margin:8px 0}.think-write p{font-size:20px;margin:8px 0}.think-clock{text-align:center;min-width:280px}.think-clock output{display:block;font-size:60px;line-height:1.15;font-weight:800;font-variant-numeric:tabular-nums}.think-clock>span{display:block;color:var(--muted);font-size:15px;margin:8px 0}.think-clock button{padding:10px 14px;font-size:16px}.method-text-option{margin-top:14px;color:var(--muted);font-size:15px}.method-text-option summary{cursor:pointer}.method-text-option button{margin-top:10px}.qa-view .character{display:none}.qa-question{padding:22px;border:2px solid var(--line);border-radius:20px;background:#fffdf6;text-align:center}.qa-question .formula{font-size:48px;margin:8px 0 16px}.qa-question .formula span{padding:6px 14px;border-radius:10px}.qa-question p{font-size:24px;margin:8px 0}.qa-controls{display:flex;justify-content:center;gap:16px;margin:22px 0}.qa-controls button{font-size:20px}.qa-wait{min-height:160px;display:grid;place-items:center;font-size:24px;color:var(--muted)}.qa-answer{padding:22px 28px;border:1px solid #b8c6a8;border-radius:20px;background:#edf2e3;font-size:21px}.qa-answer p{margin:12px 0;line-height:1.65}.qa-parts{display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:center}.qa-parts section{padding:14px;border-radius:12px}.qa-parts .goose{background:var(--green)}.qa-parts .hen{background:var(--blue)}.qa-parts h3{font-size:18px;margin:0 0 8px}.qa-parts b{font-size:29px}.qa-takeaway{border-top:1px solid #b8c6a8;padding-top:14px;margin-top:14px;font-size:23px}.qa-relation{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:24px}.qa-relation span{background:#fffdf6;padding:10px 16px;border-radius:10px}.qa-chain{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;font-size:30px}.presenting #steps button{font-size:15px;padding:7px 10px}.presenting .think-write{padding:18px 24px}.presenting .qa-answer{font-size:22px}
@media(max-width:700px){.think-write{flex-direction:column;padding:18px;gap:12px;align-items:stretch}.think-clock{min-width:0}.think-write h2{font-size:23px}.think-write p{font-size:18px}.qa-question{padding:16px}.qa-question .formula{font-size:28px;gap:6px}.qa-question .formula span{padding:5px 8px}.qa-question p{font-size:19px}.qa-controls button{font-size:17px;padding:10px 14px}.qa-answer{padding:16px;font-size:18px}.qa-parts{grid-template-columns:1fr;gap:10px}.qa-parts b{font-size:23px}.qa-relation,.qa-takeaway{font-size:20px}.qa-chain{font-size:25px;gap:12px}.qa-wait{font-size:20px;text-align:center}}

/* Small parentheses before the three no-parentheses discussions. */
.bracket-intro .card{padding:26px;text-align:left;box-shadow:none}.bracket-intro h2{font-size:38px;margin:18px 0}.bracket-intro p{font-size:22px}.bracket-focus{background:#f4e7c4;border-radius:8px;padding:6px}.bracket-lines{font-size:34px;font-variant-numeric:tabular-nums}.bracket-lines p{font-size:inherit;margin:10px 0;line-height:1.5}.bracket-rule{background:#edf2e3;border-radius:14px;padding:18px 24px;border:1px solid #b8c6a8;font-size:25px}.bracket-rule p{font-size:20px;margin:8px 0 0}.bracket-practice{padding:22px}.bracket-practice .hint{font-size:20px}.order-summary{margin-top:16px;padding:14px 20px;border:1px solid #aaba95;border-radius:12px;background:#fffdf6}.order-summary p{margin:5px 0}.practice-tabs{flex-wrap:wrap}.practice-tabs button{white-space:nowrap}
@media(max-width:700px){.bracket-intro{grid-template-columns:1fr}.bracket-intro .card{padding:18px}.bracket-intro h2{font-size:26px}.bracket-intro p{font-size:18px}.bracket-lines{font-size:25px}.bracket-rule{font-size:22px}.bracket-rule p{font-size:18px}.bracket-practice{padding:16px}.bracket-practice .hint{font-size:17px}}

.bracket-practice .bracket-lines{width:max-content;max-width:100%;margin:0 auto;text-align:left}.bracket-practice .bracket-lines p{display:grid;grid-template-columns:1.5em 1fr;align-items:baseline}.bracket-equals{white-space:pre}

/* Keep the lesson stage prominent; full navigation opens only on demand. */
#steps{position:relative;display:block;min-height:0;margin-bottom:14px;z-index:8}.lesson-directory{width:max-content;max-width:100%;position:relative}.lesson-directory>summary{display:flex;align-items:center;gap:22px;list-style:none;cursor:pointer;padding:9px 16px;border-radius:12px;background:var(--ink);color:#fff;font-size:18px;line-height:1.3;width:max-content;max-width:100%}.lesson-directory>summary::-webkit-details-marker{display:none}.lesson-directory>summary:focus-visible{outline:4px solid #d59644;outline-offset:3px}.directory-arrow{font-size:22px;line-height:1}.lesson-directory[open] .directory-arrow{transform:rotate(180deg)}.lesson-menu{position:absolute;top:calc(100% + 8px);left:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:640px;max-width:calc(100vw - 70px);max-height:65vh;overflow:auto;padding:14px;background:#fffdf6;border:2px solid var(--line);border-radius:16px;box-shadow:0 8px 24px #263e3525}.lesson-menu button{text-align:left;white-space:nowrap}.has-active-speaker>#steps{min-height:0}.qa-view>#eyebrow{display:none}.qa-wait{min-height:90px}.qa-question .formula{font-size:60px}.qa-question p{font-size:30px;line-height:1.6}.qa-answer{font-size:26px}.qa-parts h3{font-size:22px}.qa-parts b{font-size:34px}.qa-takeaway{font-size:27px}.qa-chain{font-size:36px}.qa-relation{font-size:28px}.qa-controls button{font-size:24px}
.presenting #lesson #steps{margin-bottom:12px}.presenting .lesson-directory>summary{font-size:19px}.presenting #lesson h1{font-size:50px}.presenting #lesson .subtitle{font-size:25px}.presenting #lesson .qa-answer{font-size:26px}.presenting .qa-question .formula{font-size:64px}.presenting .qa-question p{font-size:30px}
@media(max-width:700px){.lesson-directory>summary{font-size:16px}.lesson-menu{grid-template-columns:repeat(2,minmax(0,1fr));width:340px;padding:10px}.lesson-menu button{font-size:13px;padding:10px 7px}.qa-question .formula{font-size:30px}.qa-question p{font-size:21px}.qa-answer{font-size:20px}.qa-parts h3{font-size:19px}.qa-parts b{font-size:24px}.qa-takeaway{font-size:22px}.qa-chain{font-size:28px}.qa-relation{font-size:22px}.qa-controls button{font-size:18px}.qa-wait{min-height:70px}}

/* Meaning first; name the relationship only after children have explained it. */
.qa-parts p{font-size:23px;margin:8px 0 0}.meaning-panel{padding:26px 32px;border:2px solid var(--line);border-radius:20px;background:#fffdf6;font-size:27px}.meaning-panel h2{font-size:36px;margin:6px 0 24px}.meaning-panel>p{line-height:1.7}.meaning-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0}.meaning-pair>strong,.meaning-pair>section{background:#e7eedb;border-radius:14px;padding:24px;text-align:center}.meaning-pair>strong{font-size:48px}.meaning-pair>section:nth-child(2),.meaning-pair>strong:nth-child(2){background:#e2edf0}.meaning-pair b{font-size:30px}.meaning-pair p{font-size:24px}.meaning-links{padding:10px 22px;border-left:5px solid #87a56f;background:#edf2e3;border-radius:8px}.meaning-links p{margin:14px 0}.meaning-name{color:#245a44}.meaning-progress{align-self:center;font-size:20px;color:var(--muted)}.story-reason{padding:2px 20px;border-left:4px solid #87a56f}.story-answer h3{font-size:23px;margin:0 0 8px}.story-answer .hint{font-size:20px}.qa-question p br{line-height:1.65}
@media(max-width:700px){.meaning-panel{padding:18px;font-size:21px}.meaning-panel h2{font-size:27px}.meaning-pair{gap:12px}.meaning-pair>strong,.meaning-pair>section{padding:14px}.meaning-pair>strong{font-size:32px}.meaning-pair b{font-size:22px}.meaning-pair p,.qa-parts p{font-size:18px}.meaning-links{padding:8px 12px}.story-answer .hint{font-size:17px}}

/* After the class discussion, retain the title/formula and give explanation text the space. */
.qa-question.qa-answered>p{display:none}.qa-question.qa-answered .formula{margin:4px 0}

/* Keep exercise choices tucked away; project the mathematical work at large type. */
.practice-view .character,.exit-view .character,.practice-view .eyebrow,.exit-view .eyebrow{display:none}
.practice-directory{position:relative;width:max-content;margin:0 auto 16px;max-width:100%;z-index:6}
.practice-directory summary{display:flex;align-items:center;gap:28px;cursor:pointer;list-style:none;border:1.5px solid var(--line);border-radius:12px;background:var(--ink);color:white;padding:10px 18px;font-size:20px}
.practice-directory summary::-webkit-details-marker{display:none}
.practice-directory summary:focus-visible{outline:4px solid #d59644;outline-offset:3px}
.practice-menu{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);display:grid;gap:7px;padding:12px;min-width:230px;background:var(--paper);border:1.5px solid var(--line);border-radius:14px;box-shadow:0 8px 24px #263e3526}
.practice-menu button{font-size:19px;white-space:nowrap}.practice-menu button[aria-current="true"]{background:var(--ink);color:white}
.practice-view .practice-original{margin:10px 0 14px}.practice-view .practice-original>strong{font-size:36px}.practice-view .practice-original>span{font-size:17px}
.practice-view .practice-work{padding:20px 24px}.practice-view .practice-work .formula{font-size:64px;margin:10px 0}.practice-view .op{font-size:inherit!important;padding:4px 18px!important}
.practice-view .attempt-label{font-size:18px}.practice-view .practice-work .notice{font-size:22px;margin:12px 0;padding:12px 16px}
.practice-view .attempt-trail{max-width:1100px;gap:8px;margin-top:12px}.practice-view .attempt-trail li{padding:8px 18px;display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}.practice-view .attempt-trail strong{font-size:32px}.practice-view .attempt-step{font-size:18px}.practice-view .attempt-trail p{font-size:22px;margin:0}
.practice-view .bracket-lines{font-size:46px}.practice-view .bracket-lines p{margin:12px 0}.practice-view .bracket-practice .hint{font-size:24px}
.exit-view .exit{padding:30px}.exit-prompt{font-size:28px;margin:0 0 24px}.exit-view .exit-formula{font-size:76px;gap:20px;margin:28px 0}.exit-formula button{font-size:inherit;padding:4px 24px}.exit-formula button[aria-pressed="true"]{background:var(--ink);color:white;outline:4px solid #a8bd8e;outline-offset:4px}.exit-selection{font-size:27px;margin:24px 0}.exit-view .notice,.exit-rule{font-size:26px;line-height:1.6}.exit-rule{margin:18px 0 0}
@media(max-width:700px){.practice-view .practice-original>strong{font-size:25px}.practice-view .practice-work .formula{font-size:36px;gap:4px}.practice-view .op{padding:4px 9px!important}.practice-view .practice-work{padding:16px}.practice-view .practice-work .notice{font-size:18px}.practice-view .attempt-trail strong{font-size:24px}.practice-view .attempt-trail p{font-size:18px}.practice-view .bracket-lines{font-size:29px}.practice-view .bracket-practice .hint{font-size:19px}.exit-view .exit{padding:18px}.exit-view .exit-formula{font-size:40px;gap:6px}.exit-formula button{padding:4px 12px}.exit-prompt,.exit-selection{font-size:22px}.exit-view .notice,.exit-rule{font-size:20px}}

/* 2026-11-05: IP accompanies the task heading; no extra dialogue row. */
.lesson-intro{display:flex;align-items:center;gap:24px}
.lesson-intro-copy{flex:1;min-width:0}
.lesson-companions{display:flex;align-items:flex-end;justify-content:center;gap:12px;flex:none;padding:0 4px 8px}
.lesson-companions[hidden]{display:none}
.lesson-companion{margin:0;display:flex;flex-direction:column;align-items:center;gap:5px}
.lesson-companion figcaption{font-size:15px;line-height:1.25;color:var(--muted);font-weight:700;white-space:nowrap}
.lesson-companions .role-ge{--role-height:124px}
.lesson-companions .role-di{--role-height:62px}
.lesson-companions .role-chick{--role-height:64px;width:calc(var(--role-height) * .98)}
.lesson-companion:only-child .role-chick{--role-height:94px}
.lesson-companion:only-child .role-di{--role-height:86px}
.has-lesson-companions .character{display:none}
.has-active-speaker>.lesson-intro{padding-right:140px}
@media(max-width:700px){
 .lesson-intro{gap:12px;align-items:flex-start}
 .lesson-companions{gap:5px;padding-top:8px}
 .lesson-companions .role-ge{--role-height:76px}
 .lesson-companions .role-di{--role-height:38px}
 .lesson-companions .role-chick{--role-height:40px}
 .lesson-companion:only-child .role-chick{--role-height:58px}
 .lesson-companion:only-child .role-di{--role-height:54px}
 .lesson-companion figcaption{font-size:11px}
 .has-active-speaker>.lesson-intro{padding-right:104px;flex-wrap:wrap}
 .has-active-speaker .lesson-intro-copy{flex-basis:100%}
}
.presenting .lesson-intro{gap:24px}
.presenting .has-active-speaker>.lesson-intro{padding-right:140px}

.student-work-view .has-active-speaker>.lesson-intro{padding-right:0}

/* Opening quiz: a quiet, large countdown before the answer sheet. */
.pretest-timer-view .character{display:none}
.pretest-clock-card{border:2px solid var(--ink);border-radius:24px;background:#e7eedb;padding:32px 40px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.pretest-clock-label{font-size:24px;font-weight:700;letter-spacing:.12em}
#pretestTime{display:block;font-size:clamp(100px,14vw,200px);line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.03em}
#pretestProgress{display:block;width:min(100%,640px);height:14px;border:0;border-radius:20px;overflow:hidden;accent-color:#29483e;background:#d1ddc4}
#pretestProgress::-webkit-progress-bar{background:#d1ddc4;border-radius:20px}
#pretestProgress::-webkit-progress-value{background:#29483e;border-radius:20px}
#pretestProgress::-moz-progress-bar{background:#29483e;border-radius:20px}
#pretestStatus{font-size:28px;line-height:1.5;margin:4px 0;min-height:1.5em}
.pretest-clock-card .actions{justify-content:center;flex-wrap:wrap;margin:0}
.pretest-clock-card button{font-size:22px}
.pretest-time-up .pretest-clock-card{background:#f8ebd5}
.pretest-time-up #pretestTime,.pretest-time-up #pretestStatus{color:#94490f}
.presenting .pretest-clock-card{padding:24px 32px;gap:14px}
.presenting #pretestTime{font-size:190px}
@media(max-width:700px){.pretest-clock-card{padding:24px 14px;gap:14px}.pretest-clock-label{font-size:18px}#pretestStatus{font-size:22px}.pretest-clock-card button{font-size:18px}}

/* Shared classroom timer settings stay compact until the teacher opens them. */
.timer-settings{margin-top:10px;font-size:15px;color:var(--muted)}
.timer-settings summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.timer-fields{display:flex;align-items:flex-end;justify-content:center;gap:10px;flex-wrap:wrap;padding-top:10px}
.timer-fields label{display:flex;flex-direction:column;gap:4px;text-align:left;font-size:14px}
.timer-fields input{width:76px;padding:8px;font-size:18px;color:var(--ink)}
.timer-fields button,.pretest-clock-card .timer-fields button{font-size:16px;padding:10px 12px}
.timer-error{font-size:14px!important;color:#94490f;margin:6px 0 0;max-width:330px;line-height:1.4}
.timer-error:empty{display:none}
.think-clock>div:not(.timer-fields){display:flex;justify-content:center;gap:8px;flex-wrap:wrap}

/* Q2: move from the purchasing meaning to the shared reading convention. */
.qa-followup{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #b8c6a8;padding-top:14px;margin-top:14px}
.qa-followup b{font-size:18px;color:var(--muted)}.qa-followup p{margin:4px 0;font-size:25px}.qa-followup button{flex-shrink:0;font-size:20px}
.qa-convention-rule{text-align:center}.qa-convention-rule>p{margin:6px 0 14px;line-height:1.45}.qa-convention-rule>strong{display:block;font-size:32px;line-height:1.45}.qa-convention-rule>strong+p{margin-top:12px}
.qa-convention-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:16px;text-align:center}.qa-convention-pair section{border:1px solid #b8c6a8;border-radius:14px;padding:14px;background:#fffdf6}.qa-convention-pair b{display:block;font-size:38px;white-space:nowrap}.qa-convention-pair p{font-size:24px;line-height:1.45;margin:8px 0 0}
.qa-convention-prompt{text-align:center;font-size:26px;margin:16px 0!important}.qa-convention-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #b8c6a8;padding-top:12px}.qa-convention-footer span{font-size:20px}.qa-convention-footer button{font-size:18px;flex-shrink:0}
@media(max-width:700px){.qa-followup,.qa-convention-footer{flex-direction:column;align-items:stretch}.qa-followup p{font-size:21px}.qa-convention-rule>strong{font-size:25px}.qa-convention-pair{grid-template-columns:1fr}.qa-convention-pair b{font-size:28px}.qa-convention-pair p,.qa-convention-prompt{font-size:21px}.qa-convention-footer span{font-size:18px}}

/* 雪糕抽奖：普通课堂和放映都保留直接入口。 */
.lottery-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;text-decoration:none;font-size:14px;padding:9px 14px;border:1.5px solid var(--line);border-radius:11px;background:#fffdf6;color:var(--ink)}
.lottery-link:hover{background:#ecf2de}.lottery-link:focus-visible{outline:4px solid #d59644;outline-offset:3px}
#presentationIcecream{display:none}.presenting #presentationIcecream{display:inline-flex;padding:7px 14px;font-size:14px}
@media(max-width:700px){header{flex-wrap:wrap;gap:12px}.tools{flex-wrap:wrap}#presentationDock{flex-wrap:wrap;max-width:calc(100vw - 32px);justify-content:flex-end}}
