
:root{--navy:#132943;--muted:#596c80;--teal:#087f80;--lime:#dafa82;--cream:#f5f6ef;--line:#dce5e8;--purple:#7760c4}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--navy);font:16px/1.5 'Trebuchet MS',Arial,sans-serif;overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:14px;padding:11px 17px;background:#e8eef0;color:var(--navy);font-weight:700;transition:transform .16s,background .16s}button:hover{transform:translateY(-2px);background:#d9e6e8}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ee9a3e;outline-offset:3px}button:disabled{cursor:default;opacity:.45;transform:none}.primary{background:var(--teal);color:white}.primary:hover{background:#086c6d}.pill{border-radius:30px}.small{padding:7px 12px;font-size:13px}.app{height:100vh;height:100dvh;min-height:590px;display:grid;grid-template-rows:75px 1fr 32px;max-width:1800px;margin:auto}header{display:flex;align-items:center;gap:18px;padding:12px 30px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;min-width:245px}.brandmark{font-size:29px;background:var(--navy);color:var(--lime);border-radius:16px;width:44px;height:44px;text-align:center}.brand b{font-size:22px;letter-spacing:2px}.brand small{display:block;font-size:11px;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted)}.topmsg{flex:1;color:var(--muted);font-size:14px}.score{background:#e5edda;padding:8px 15px;border-radius:25px;font-size:14px}.layout{display:grid;grid-template-columns:215px minmax(0,1fr);min-height:0}.sidebar{padding:22px 15px 12px 22px;display:flex;flex-direction:column;border-right:1px solid var(--line);gap:7px}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:1.8px;color:var(--muted);text-transform:uppercase;margin:0 0 10px}.unit{display:flex;align-items:center;text-align:left;gap:10px;background:transparent;padding:11px 12px;font-size:14px;line-height:1.25;border-radius:13px;min-height:48px}.unit.active{background:var(--navy);color:white}.unit .icon{font-size:21px;width:25px}.unit .tick{margin-left:auto;color:var(--teal)}.unit.active .tick{color:var(--lime)}.sidebottom{margin-top:auto;padding:10px 8px}.sidebottom p{font-size:12px;color:var(--muted);margin:6px 0}.track{height:7px;background:#dce5e5;border-radius:8px;overflow:hidden}.track span{display:block;height:100%;background:var(--teal);transition:width .5s}.main{padding:22px 28px 14px;display:grid;grid-template-rows:auto auto 1fr;min-height:0;gap:15px}.heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.heading h1{font-size:clamp(23px,2.4vw,35px);line-height:1.1;letter-spacing:-1px;margin:3px 0 0}.heading .eyebrow{margin:0}.modes{display:flex;gap:5px;border-bottom:1px solid var(--line);padding-bottom:10px}.mode{background:transparent;border-radius:10px;padding:8px 17px;font-size:14px}.mode.active{background:white;box-shadow:0 3px 10px #182d4010;color:var(--teal)}.view{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:20px;min-height:0}.workspace{background:white;border:1px solid var(--line);border-radius:25px;display:flex;flex-direction:column;min-height:0;overflow:hidden;box-shadow:0 12px 35px #172d4007}.tutor{background:#dcebf0;border-radius:25px;overflow:hidden;display:flex;flex-direction:column;position:relative;min-height:0}.robot{height:clamp(135px,24vh,255px);width:100%;object-fit:cover;object-position:center 44%;mix-blend-mode:multiply;animation:float 5s ease-in-out infinite}.tutorbody{padding:0 20px 20px;display:flex;flex-direction:column;flex:1;min-height:0}.tutor h2{margin:0;font-size:21px}.tutor .label{color:#40777d;font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:bold}.bubble{background:#ffffffcf;border-radius:17px;padding:14px;font-size:14px;line-height:1.5;margin:12px 0}.tutor .listen{margin-top:auto;align-self:stretch;background:#fff9}.contenttop{display:flex;justify-content:space-between;align-items:center;padding:17px 24px 0;gap:12px}.tag{font-size:12px;background:#eef2e7;padding:5px 10px;border-radius:20px;color:#4e6c36}.pagecount{color:var(--muted);font-size:12px}.lesson{display:grid;grid-template-columns:45% 55%;flex:1;min-height:0;padding:18px 24px;gap:0;align-items:center}.visual{height:100%;max-height:320px;min-height:180px;background:#edf6f4;border-radius:21px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.visual svg{width:100%;height:100%;max-height:310px}.lessontext{padding:4px 0 4px 24px}.lessontext h2{font-size:clamp(21px,2vw,29px);line-height:1.16;margin:0 0 15px;letter-spacing:-.6px}.lessontext p{font-size:clamp(15px,1.3vw,19px);line-height:1.65;margin:0}.lessontext strong{color:#057f80}.remember{margin-top:17px;padding:12px 15px;background:#f2f2fd;border-radius:13px;font-size:14px;color:#5c4d8a}.bottom{padding:13px 24px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f1}.dots{display:flex;gap:5px}.dots button{width:9px;height:9px;min-width:9px;padding:0;border-radius:50%;background:#dbe3e5}.dots button.active{background:var(--teal)}.complete{font-size:13px}.lab{flex:1;padding:16px 24px;display:grid;grid-template-rows:auto 1fr auto;gap:12px;min-height:0}.lab h2,.quiz h2,.notebook h2{font-size:24px;line-height:1.2;margin:0 0 6px}.hintline{font-size:14px;margin:0;color:var(--muted)}.labstage{background:linear-gradient(135deg,#edf6f4,#e6edf9);border-radius:18px;position:relative;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.labstage svg{width:100%;height:100%;max-height:290px}.labcontrols{display:flex;justify-content:center;gap:7px;align-items:center;flex-wrap:wrap}.labcontrols button{font-size:13px;padding:8px 12px}.labcontrols button.selected{background:var(--teal);color:white}.labread{font-size:14px;text-align:center;background:#f5f7ed;padding:9px 14px;border-radius:12px;min-height:42px}.quiz{flex:1;display:flex;flex-direction:column;justify-content:center;padding:22px 35px;min-height:0}.questionlabel{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:var(--teal);font-weight:bold;margin-bottom:13px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:22px 0 12px}.answer{background:#f1f5f6;border:2px solid transparent;min-height:58px;text-align:left;font-size:16px}.answer.correct{background:#e4f5d6;border-color:#72a74b}.answer.wrong{background:#fff0e9;border-color:#e5a278}.feedback{font-size:15px;min-height:58px;padding:9px 0;line-height:1.4}.feedback.good{color:#3d6d28}.feedback.try{color:#9a552e}.quizfooter{display:flex;align-items:center;justify-content:space-between;gap:15px}.notebook{padding:20px 28px;flex:1;display:flex;flex-direction:column;min-height:0;gap:10px}.notebook textarea{resize:none;border:2px solid #dfe8e9;border-radius:14px;padding:14px;width:100%;flex:1;min-height:65px;line-height:1.6;background:repeating-linear-gradient(white 0px,white 30px,#edf2f4 31px)}.model{font-size:14px;background:#edf6eb;padding:12px;border-radius:12px}.notebook label{font-size:14px;color:var(--muted)}footer{display:flex;justify-content:space-between;align-items:center;padding:0 28px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}footer button{padding:2px 8px;background:transparent;font-size:11px;color:var(--muted)}dialog{border:0;border-radius:25px;padding:25px;width:min(650px,92vw);color:var(--navy);box-shadow:0 30px 90px #0004;max-height:85vh;overflow:auto}dialog::backdrop{background:#10253db0;backdrop-filter:blur(4px)}dialog h2{margin:0 0 15px;font-size:25px}dialog p,dialog li{font-size:15px}dialog .bottom{padding:14px 0 0;margin-top:15px}dialog:has(.modalgrid) p{margin:10px 0}.dialoghead{display:flex;justify-content:space-between;align-items:center;gap:20px}.modalgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{background:#f1f6f3;border-radius:16px;padding:15px}.stat b{font-size:25px;display:block}.gloss{display:grid;grid-template-columns:130px 1fr;gap:8px;font-size:14px}.gloss b{color:var(--teal)}.toast{position:fixed;bottom:50px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border-radius:15px;padding:12px 22px;z-index:10;font-size:14px;box-shadow:0 8px 35px #0003}.hidden{display:none!important}.tiny{font-size:12px;color:var(--muted)}.confetti{font-size:55px;text-align:center}.finish{text-align:center}.finish h2{font-size:29px}.finish p{margin:10px 0 20px}.bigicon{font-size:120px;filter:drop-shadow(0 12px 12px #203c3f22);animation:float 6s ease-in-out infinite}.space{background:radial-gradient(ellipse at 40% 40%,#294760,#111e3b);color:white}.legendrow{display:flex;gap:12px;justify-content:center;font-size:12px}.compassbutton{position:absolute;border:2px solid white;border-radius:50%;width:45px;height:45px;padding:0;background:#fff;color:var(--navy)}input[type=range]{accent-color:var(--teal);width:180px}.saved{color:var(--teal);font-size:12px}.shake{animation:shake .5s}.pulse{animation:pulse 1.5s infinite}.rotate{transform-origin:180px 150px;animation:orbit 12s linear infinite}.svglabel{font-size:15px;fill:var(--navy);font-family:'Trebuchet MS',Arial,sans-serif;font-weight:bold}.vlabel{position:absolute;bottom:12px;left:12px;right:12px;background:#ffffffe8;border-radius:10px;text-align:center;padding:7px;font-size:13px}.pause *{animation-play-state:paused!important}@keyframes float{50%{transform:translateY(-9px) rotate(1deg)}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes shake{25%,75%{transform:translateX(-5px)}50%{transform:translateX(5px)}}@keyframes pulse{50%{opacity:.6}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}@media(max-height:720px){.app{grid-template-rows:64px 1fr 27px}.main{padding:13px 22px 10px;gap:11px}.sidebar{padding-top:12px;gap:3px}.unit{min-height:42px;padding:9px}.robot{height:148px}.bubble{font-size:13px;padding:11px;margin:8px 0}.lesson{padding:12px 20px}.lessontext p{font-size:15px}.lessontext h2{font-size:23px;margin-bottom:10px}.remember{margin-top:10px;padding:9px;font-size:13px}.visual{max-height:260px}.bottom{padding:10px 20px}.quiz{padding:18px 27px}.answers{margin:14px 0 8px}.answer{min-height:48px}.feedback{min-height:48px}.lab{padding:12px 20px;gap:8px}.tutorbody{padding:0 16px 15px}}@media(max-width:1150px){.view{grid-template-columns:minmax(0,1fr) 190px;gap:14px}.layout{grid-template-columns:185px 1fr}.sidebar{padding-left:12px}.main{padding-left:20px;padding-right:20px}.lesson{grid-template-columns:40% 60%;padding-left:18px;padding-right:18px}.lessontext{padding-left:18px}.tutorbody{padding-left:13px;padding-right:13px}.heading h1{font-size:26px}.brand{min-width:185px}.topmsg{display:none}.tutor h2{font-size:19px}}@media(max-width:850px){.layout{grid-template-columns:75px 1fr}.sidebar{padding:12px 7px}.unit{justify-content:center;padding:10px 5px}.unit .unitname,.unit .tick,.sidebar>.eyebrow,.sidebottom{display:none}.main{padding:13px;gap:10px}.view{grid-template-columns:1fr}.tutor{display:none}.heading h1{font-size:25px}.mode{padding:8px 12px}.heading>.small{display:none}.topmsg{display:none}header{padding:9px 16px;gap:9px}.brand{min-width:0;flex:1}.brand small{font-size:9px}.brand b{font-size:18px}.score{font-size:12px;padding:7px 10px}.headerlabel{display:none}.lessontext h2{font-size:22px}.lessontext p{font-size:15px}.lesson{padding:12px;grid-template-columns:38% 62%}.lessontext{padding-left:15px}.contenttop{padding-left:15px;padding-right:15px}footer{padding:0 12px;font-size:10px}.modalgrid{grid-template-columns:1fr 1fr}}@media(max-width:580px){.lesson{grid-template-columns:1fr;grid-template-rows:130px 1fr;gap:10px}.visual{min-height:120px;max-height:135px}.lessontext{padding:0 5px}.lessontext h2{font-size:19px;margin-bottom:5px}.lessontext p{font-size:14px;line-height:1.45}.remember{font-size:12px;margin-top:7px}.answers{grid-template-columns:1fr;gap:6px}.answer{min-height:38px;font-size:14px;padding:8px 12px}.quiz{padding:15px}.quiz h2{font-size:20px}.modes{gap:0}.mode{padding:7px;font-size:12px}.heading h1{font-size:21px}.bottom{padding:10px}.bottom button{padding:8px;font-size:12px}.brand small{display:none}.brandmark{width:35px;height:35px;font-size:23px}.brand b{font-size:16px}.headerbtn{padding:7px}.tag{font-size:10px}.app{min-height:600px}footer .footnote{display:none}}

/* NOVA Spatial · original companion and floating glass interface */
:root{--navy:#183049;--muted:#5b7086;--teal:#087e88;--line:#dae5ee;--cream:#eef4fb;--lime:#bbfff0;--purple:#7660c9}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Arial,sans-serif;background:radial-gradient(ellipse at 92% 0%,#e0dafa 0,transparent 42%),radial-gradient(ellipse at 15% 85%,#d5f5f2 0,transparent 40%),linear-gradient(145deg,#f2f7fd,#eaf1fa);color:var(--navy);-webkit-font-smoothing:antialiased}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#789bb31c .7px,transparent .7px);background-size:22px 22px;mask-image:linear-gradient(transparent,#0005);z-index:-1}
.app{height:100vh;height:100dvh;min-height:0;grid-template-rows:76px minmax(0,1fr) 116px;max-width:1760px;padding:0 16px 12px;gap:0}
header{padding:12px 18px;border-bottom:1px solid #ffffff9c;gap:16px;background:#ffffff35;backdrop-filter:blur(25px);border-radius:0 0 26px 26px}
.brand{min-width:226px;gap:13px}.brand b{letter-spacing:4px;font-size:21px;font-weight:800}.brand small{letter-spacing:2px;color:#657e95;font-size:9px;margin-top:1px}
.brandmark{position:relative;width:43px;height:43px;border-radius:15px;background:linear-gradient(145deg,#254c67,#112c44);color:#9ff2ed;border:1px solid #ffffff9c;box-shadow:0 5px 14px #203e5830,inset 0 1px 2px #ffffff4d;text-shadow:0 0 14px #a6fff8;font-size:28px}
.topmsg{font-size:13px;letter-spacing:.1px;color:#59738d}.score{border:1px solid #fff;background:#ffffffe6;box-shadow:0 4px 12px #51799f13,inset 0 1px 0 white;padding:8px 16px;color:#47647c}
button{border:1px solid #ffffffba;border-radius:18px;background:linear-gradient(160deg,#fff,#eaf1f8);box-shadow:0 3px 6px #36536c0c,0 8px 18px #36536c0b,inset 0 1px 0 #fff;transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s,background .22s;color:#27465e;font-weight:650}
button:hover{background:linear-gradient(145deg,#fff,#e1eef5);box-shadow:0 8px 20px #426b8b1d,inset 0 1px 0 white;transform:translateY(-2px)}button:active{transform:translateY(1px) scale(.975);box-shadow:inset 0 2px 5px #31547415}
button:disabled{box-shadow:none}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #38c3c8;outline-offset:4px}
.primary{color:white;background:linear-gradient(140deg,#139fa7,#087d8d);border-color:#77dddb66;box-shadow:0 7px 17px #078c942b,inset 0 1px 0 #aaffff59}.primary:hover{background:linear-gradient(140deg,#16aab1,#087583);box-shadow:0 10px 21px #078c9440}
.small{border-radius:15px;font-size:12px;padding:8px 13px}.headerbtn{background:#ffffffb3}.layout{grid-template-columns:208px minmax(0,1fr);gap:0;padding-top:12px;min-height:0}
.sidebar{margin:0 0 14px 0;padding:20px 12px 12px;border:1px solid #ffffff4d;border-radius:26px;background:linear-gradient(155deg,#24445a 0%,#132d45 65%,#173b50 100%);box-shadow:0 16px 35px #214b6a25,inset 0 1px 1px #ffffff26;color:#edf8ff;position:relative;overflow:hidden}
.sidebar:after{content:"";position:absolute;bottom:-75px;left:-40px;width:170px;height:170px;border:1px solid #7ed8db19;border-radius:50%;box-shadow:0 0 0 24px #7ed8db06,0 0 0 47px #7ed8db04;pointer-events:none}.sidebar>.eyebrow{font-size:9px;color:#a9c4d3;margin-left:11px;margin-bottom:15px;letter-spacing:2px}.unit{border:1px solid transparent;background:transparent;box-shadow:none;color:#d1e3ef;border-radius:17px;font-size:13px;min-height:46px;padding:10px 11px;position:relative;z-index:1;width:100%;gap:10px}.unit .icon{width:27px;height:28px;font-size:20px;display:flex;align-items:center;justify-content:center;color:#a2d9dc}.unit:hover{background:#ffffff0f;box-shadow:none}.unit.active{background:linear-gradient(120deg,#efffff,#d8f1f4);color:#134651;border-color:#ffffffaa;box-shadow:0 7px 18px #0002,inset 0 1px 0 white}.unit.active .icon{color:#087781}.unit.active .tick{color:#11848b}.sidebottom{padding:10px 10px;position:relative;z-index:1}.sidebottom p{color:#adc7d8;font-size:11px}.sidebottom .track{background:#89c1d426;height:5px}.track span{background:linear-gradient(90deg,#80e7de,#b9f0fb)}.sidebottom button{background:#ffffff0c;box-shadow:none;border-color:#ffffff15;color:#d5f2f4;font-size:11px}
.main{padding:12px 20px 14px 24px;gap:13px;grid-template-rows:auto auto minmax(0,1fr)}.heading h1{font-size:clamp(23px,2.2vw,33px);letter-spacing:-1.15px;font-weight:760;margin-top:6px}.heading .eyebrow{font-size:10px;letter-spacing:2px;color:#678198}.heading>.small{background:#ffffff80;color:#536e86;border-color:#ffffffb3;box-shadow:0 3px 8px #36536c09}
.modes{border:1px solid #ffffffb5;box-shadow:0 4px 14px #2d5f8910,inset 0 1px 0 white;backdrop-filter:blur(15px);background:#e7eef773;border-radius:19px;padding:5px;gap:5px;align-self:start;justify-self:start}.mode{font-size:13px;background:transparent;border-color:transparent;box-shadow:none;border-radius:14px;padding:9px 19px;color:#57718a}.mode.active{background:linear-gradient(150deg,#fff,#f6faff);box-shadow:0 3px 7px #25476912,0 6px 13px #2547690b;color:#087f8d;border-color:#ffffff}
.view{display:block;min-height:0}.workspace{height:100%;border:1px solid #fffffffa;border-radius:28px;background:#ffffffb8;backdrop-filter:blur(24px);box-shadow:0 14px 34px #3b638514,0 2px 6px #2c587a06,inset 0 1px 0 white;position:relative}.contenttop{padding:18px 26px 0}.tag{background:linear-gradient(100deg,#dff6f4,#edf8fa);color:#347b83;letter-spacing:1px;font-size:10px;font-weight:750;padding:6px 12px;border:1px solid #fff}.pagecount{font-size:12px;color:#698399}
.lesson{grid-template-columns:46% 54%;padding:16px 26px;gap:0}.visual{min-height:140px;border-radius:25px;background:radial-gradient(ellipse at 35% 20%,#fff9,transparent 65%),linear-gradient(135deg,#e1f2f2,#e7eefb);border:1px solid #fff;box-shadow:inset 0 2px 15px #6e98b010,0 9px 20px #4a779c0c;max-height:330px}.visual.space{background:radial-gradient(ellipse at 25% 20%,#41647c,#132442 77%);border-color:#ffffff3d;box-shadow:0 9px 22px #1b365826,inset 0 1px 1px #ffffff55}.visual svg{filter:drop-shadow(0 9px 12px #26475c13)}
.lessontext{padding-left:30px;max-width:670px}.lessontext h2{font-size:clamp(23px,2.1vw,31px);letter-spacing:-.7px;line-height:1.12;font-weight:750;margin-bottom:16px}.lessontext p{font-size:clamp(16px,1.35vw,20px);line-height:1.65;color:#3f586d}.lessontext strong{font-weight:750;color:#076e7d}.remember{background:linear-gradient(115deg,#f0edfb,#f5f6ff);border:1px solid #fff;box-shadow:0 4px 12px #7867ae08;color:#615688;border-radius:17px;padding:13px 15px;font-size:14px;line-height:1.5}
.bottom{border-top:1px solid #dbe6ed99;padding:12px 26px 16px}.dots button{border:0;box-shadow:none}.dots button.active{background:#148d97;box-shadow:0 0 0 3px #def4f3}.complete{border-radius:17px;font-size:13px}.lab{padding:18px 27px;gap:12px}.labstage{border-radius:22px;border:1px solid #fff;background:radial-gradient(at 18% 0%,#ffffffcb,transparent),linear-gradient(140deg,#e1f3f2,#e9edfb);box-shadow:inset 0 1px 12px #6389ae09}.lab h2,.quiz h2,.notebook h2{letter-spacing:-.65px;font-weight:750;font-size:26px}.hintline{color:#607a90;font-size:14px}.labcontrols button{border-radius:14px;min-height:35px}.labcontrols button.selected{background:linear-gradient(140deg,#119ba4,#0a7b88);box-shadow:0 4px 10px #0a829326,inset 0 1px 0 #c7ffff55;color:white;border-color:#8ce3e766}.labread{background:#f7fbfdcc;border:1px solid white;border-radius:15px;color:#49677d;font-size:14px;margin:10px 0 0;min-height:42px;padding:10px 15px}
.quiz{padding:22px 42px}.quiz h2{font-size:clamp(23px,2vw,29px);max-width:860px;line-height:1.25}.questionlabel{font-size:10px;letter-spacing:1.8px}.answer:last-child:nth-child(odd){grid-column:1/-1}.answers{gap:13px;margin:22px 0 14px}.answer{background:linear-gradient(140deg,#fff,#edf4fa);border:1px solid #dce8f0;border-radius:20px;box-shadow:0 5px 13px #3864870b,inset 0 1px 0 white;min-height:60px;font-size:17px;padding:13px 19px}.answer.correct{border-color:#8acdb8;background:linear-gradient(135deg,#e0f8ec,#f0fcf7);box-shadow:0 5px 15px #1c9d6220}.answer.wrong{border-color:#dbc8a3;background:linear-gradient(135deg,#f9f1df,#fff9ed);color:#86663c}.feedback{font-size:15px;line-height:1.5;max-width:900px}.feedback.good{color:#267454}.feedback.try{color:#927044}.notebook{padding:19px 28px}.notebook textarea{border:1px solid #d9e7f0;box-shadow:inset 0 3px 9px #46617f07,0 3px 6px #43668106;border-radius:18px;background-color:#fff9;font-size:16px}.model{background:#e9f6f0;color:#365d50;border:1px solid white;border-radius:15px;font-size:14px}.toast{bottom:137px;border:1px solid #ffffff45;border-radius:18px;background:#21495bed;backdrop-filter:blur(20px);box-shadow:0 15px 40px #213f5e30}
/* The companion is part of the footer, never an overlay over study controls. */
footer.companion-dock{margin:0 4px 0 8px;padding:0 18px 0 5px;display:flex;align-items:center;gap:14px;border:1px solid #ffffffeb;border-radius:27px;background:linear-gradient(120deg,#ffffffce,#f4fbffba 65%,#f2f0ffbf);box-shadow:0 10px 28px #315f8420,inset 0 1px 0 white;backdrop-filter:blur(30px);position:relative;color:var(--navy);min-height:0}
.buddy{--sprite-pos:0%;flex:0 0 140px;width:140px;height:124px;align-self:flex-end;padding:0;border:0;background:none;box-shadow:none;border-radius:25px;position:relative;overflow:visible;isolation:isolate;margin-bottom:1px}.buddy:hover{background:none;box-shadow:none;transform:none}.buddy:active{transform:scale(.96)}.buddy-sprite{display:block;position:absolute;inset:0;background-image:url('nova-sprite.png');background-size:300% 100%;background-position:var(--sprite-pos) 50%;background-repeat:no-repeat;filter:drop-shadow(0 6px 6px #0a465c18);animation:buddy-hover 4.4s ease-in-out infinite;transform-origin:50% 70%;z-index:2}.buddy-aura{position:absolute;left:17%;right:17%;bottom:14%;height:65%;border-radius:50%;background:radial-gradient(ellipse,#7fe9df50,transparent 70%);filter:blur(6px);z-index:0}.buddy-shadow{position:absolute;width:62px;height:9px;background:#176d7d22;filter:blur(4px);border-radius:50%;bottom:1px;left:40px;animation:buddy-shadow 4.4s ease-in-out infinite}.buddy-particles{position:absolute;inset:18px -5px auto;white-space:pre;color:#6dcdc2;text-shadow:0 0 10px #95eedb;font-size:22px;letter-spacing:35px;opacity:0;pointer-events:none;z-index:3}.buddy.celebrate{--sprite-pos:50%}.buddy.thinking{--sprite-pos:100%}.buddy.celebrate .buddy-sprite{animation:buddy-yay 1.1s ease-in-out 4}.buddy.celebrate .buddy-particles{animation:buddy-sparkle 1.3s ease-out 4}.buddy.celebrate .buddy-aura{background:radial-gradient(ellipse,#9fe6a280,transparent 70%)}.buddy.thinking .buddy-sprite{animation:buddy-think 2.4s ease-in-out infinite}.buddy.thinking .buddy-aura{background:radial-gradient(ellipse,#b6adfa66,transparent 70%)}.buddy.greeting .buddy-sprite{animation:buddy-greet .6s ease-in-out 3}.buddy.attentive .buddy-sprite{animation:buddy-nod .7s ease-out 2}
.companion-message{flex:1;min-width:0;align-self:center;padding:11px 0 11px;max-width:1100px}.buddy-meta{display:flex;gap:9px;align-items:center;line-height:1;margin:0 0 8px;font-size:10px;color:#7890a3;letter-spacing:.6px}.buddy-meta b{color:#2c6974;letter-spacing:2px;font-size:11px}.buddy-meta span:last-child{font-size:10px;letter-spacing:.3px}.status-light{width:5px;height:5px;background:#40baaf;border-radius:50%;box-shadow:0 0 0 4px #40baaf12}.companion-message p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:break-word;font-size:14px;line-height:1.5;margin:0;color:#4a667b;max-width:1000px}.dock-tools{display:flex;gap:8px;margin-left:12px;align-self:center}.dock-tools button{font-size:12px;white-space:nowrap;color:#56748c;padding:10px 13px;border-radius:15px;box-shadow:0 3px 8px #3c648310;background:linear-gradient(145deg,#fff,#edf4fc);border:1px solid white}
dialog{background:linear-gradient(155deg,#fcfeff,#f1f7fc);border:1px solid white;border-radius:30px;box-shadow:0 25px 90px #1a354858;backdrop-filter:blur(30px)}dialog::backdrop{background:#16364b77;backdrop-filter:blur(10px)}dialog h2{letter-spacing:-.6px}.stat{background:#e9f3f8;border:1px solid white;box-shadow:inset 0 1px 0 white;border-radius:20px}
@keyframes buddy-hover{0%,100%{transform:translateY(-2px) rotate(-1deg)}50%{transform:translateY(-8px) rotate(1deg)}}@keyframes buddy-shadow{50%{transform:scale(.77);opacity:.55}}@keyframes buddy-yay{0%,100%{transform:translateY(-1px) rotate(-4deg) scale(1)}35%{transform:translateY(-13px) rotate(5deg) scale(1.055)}70%{transform:translateY(-4px) rotate(-3deg)}}@keyframes buddy-think{0%,100%{transform:translateY(-2px) rotate(-2deg)}50%{transform:translateY(-5px) rotate(3deg)}}@keyframes buddy-greet{0%,100%{transform:rotate(-5deg) translateY(-2px)}50%{transform:rotate(6deg) translateY(-9px)}}@keyframes buddy-nod{0%,100%{transform:translateY(-2px)}45%{transform:translateY(2px) rotate(3deg)}75%{transform:translateY(-4px)}}@keyframes buddy-sparkle{0%{opacity:0;transform:translateY(5px) scale(.7)}35%{opacity:1}100%{opacity:0;transform:translateY(-22px) scale(1.2)}}
.pause .buddy-sprite,.pause .buddy-shadow,.pause .buddy-particles{animation:none!important}
@media(min-width:1500px){.app{grid-template-rows:84px minmax(0,1fr) 126px;padding-bottom:16px}.main{padding:20px 30px 20px}.sidebar{padding:26px 16px}.unit{font-size:15px;min-height:55px}.companion-message p{font-size:16px}.buddy{width:151px;height:140px;flex-basis:151px}.dock-tools button{font-size:14px}}
@media(max-height:760px){.app{grid-template-rows:66px minmax(0,1fr) 106px;padding-bottom:9px}.main{padding-top:8px;padding-bottom:12px;gap:10px}.layout{padding-top:8px}.sidebar{padding-top:15px;margin-bottom:12px}.sidebar>.eyebrow{margin-bottom:10px}.unit{min-height:41px;padding:8px 9px;font-size:12px}.heading h1{font-size:27px}.modes{padding:4px}.mode{padding:7px 15px}.lesson{padding-top:10px;padding-bottom:10px}.lessontext h2{font-size:25px;margin-bottom:11px}.lessontext p{font-size:16px;line-height:1.55}.remember{font-size:13px;line-height:1.4;padding:10px 12px;margin-top:12px}.contenttop{padding-top:13px}.bottom{padding-top:10px;padding-bottom:11px}.lab{padding:14px 23px;gap:9px}.lab h2,.quiz h2,.notebook h2{font-size:24px}.hintline{font-size:13px}.labcontrols button{font-size:12px;padding:7px 11px;min-height:31px}.labread{font-size:13px;padding:8px 12px;min-height:38px;margin-top:9px}.quiz{padding:17px 32px}.answers{margin:16px 0 10px}.answer{min-height:52px;font-size:16px;padding:11px 16px}.feedback{font-size:14px;min-height:48px}.notebook{padding:15px 25px;gap:8px}.notebook .model{font-size:13px;padding:10px}.buddy{height:114px;width:130px;flex-basis:130px}.companion-message p{font-size:13px;line-height:1.45}.buddy-meta{margin-bottom:6px}.dock-tools button{padding:9px 11px}.toast{bottom:124px}}
@media(max-height:650px) and (min-width:851px){.app{grid-template-rows:58px minmax(0,1fr) 94px}.layout{padding-top:6px}.sidebar{padding-top:11px}.sidebar>.eyebrow{margin-bottom:8px}.unit{min-height:36px;font-size:12px;padding:6px 8px}.sidebottom{padding:5px 8px}.main{padding-top:6px;gap:8px}.heading h1{font-size:23px;margin-top:4px}.heading .eyebrow{font-size:9px}.mode{padding:6px 14px;font-size:12px}.lessontext h2{font-size:22px}.lessontext p{font-size:15px;line-height:1.5}.remember{margin-top:9px;font-size:12px}.buddy{height:102px;width:116px;flex-basis:116px}.companion-message p{font-size:12px}.buddy-meta{margin-bottom:5px}.lab h2,.quiz h2,.notebook h2{font-size:22px}.lab{padding:10px 20px;gap:7px}.labread{margin-top:6px;padding:7px 11px;font-size:12px}.labcontrols button{padding:6px 10px;font-size:12px;min-height:28px}.labstage svg{max-height:210px}.notebook textarea{min-height:45px}.quiz{padding:14px 28px}.answers{margin:12px 0 8px;gap:9px}.answer{min-height:45px;font-size:15px;padding:9px 13px}.feedback{font-size:13px;min-height:43px}.bottom{padding:8px 20px 10px}.toast{bottom:112px}}
@media(max-width:1150px){.app{padding-left:10px;padding-right:10px}.layout{grid-template-columns:182px minmax(0,1fr)}.brand{min-width:185px}.main{padding-left:18px;padding-right:12px}.view{display:block}.lesson{grid-template-columns:43% 57%;padding-left:21px;padding-right:21px}.lessontext{padding-left:23px}.lessontext h2{font-size:25px}.lessontext p{font-size:16px}.dock-tools{flex-direction:column;gap:6px;margin-left:0}.dock-tools button{font-size:11px;padding:7px 10px}.companion-message p{font-size:13px}.buddy{flex-basis:120px;width:120px;height:112px}.companion-dock{gap:9px!important}}
@media(max-width:850px){.app{padding:0 8px 8px;grid-template-rows:65px minmax(0,1fr) 112px}.layout{grid-template-columns:69px minmax(0,1fr);padding-top:8px}.sidebar{margin-bottom:10px;border-radius:23px;padding:12px 6px}.sidebar>.eyebrow,.sidebottom{display:none}.unit{padding:9px 4px;min-height:45px}.unit .unitname,.unit .tick{display:none}.unit .icon{width:31px;font-size:22px}.main{padding:6px 8px 10px 12px;gap:9px}.heading h1{font-size:23px}.heading .eyebrow{font-size:9px}.mode{padding:8px 10px;font-size:12px}.modes{gap:2px;justify-self:stretch;justify-content:space-between}.view{display:block}.lesson{grid-template-columns:39% 61%;padding:11px 16px}.lessontext{padding-left:17px}.lessontext h2{font-size:22px}.lessontext p{font-size:15px;line-height:1.5}.remember{font-size:12px;padding:9px 11px}.contenttop{padding:12px 17px 0}.visual{min-height:120px}.topmsg{display:none}.brand{min-width:0}.brand b{font-size:18px}.brand small{font-size:9px}.score{font-size:11px;padding:7px 11px}header{padding:9px 10px;gap:8px}.headerbtn{padding:7px 10px}.brandmark{height:37px;width:37px;font-size:25px}.companion-message p{font-size:12px}.buddy-meta span:last-child{display:none}.buddy{height:105px;width:110px;flex-basis:110px}.companion-dock{margin-left:0!important;margin-right:0!important;padding-right:10px!important}.dock-tools button span{display:none}.dock-tools button{width:31px;height:31px;padding:5px}.dock-tools{margin-left:4px}.answers{gap:9px}.answer{font-size:15px;min-height:48px}.quiz{padding:17px 23px}.quiz h2{font-size:23px}.lab{padding:13px 17px}.notebook{padding:15px 18px}.notebook h2{font-size:22px}.bottom{padding:10px 17px}.labstage svg{max-height:250px}}
@media(max-width:580px){.app{grid-template-rows:58px minmax(0,1fr) 112px;padding:0 5px 5px;min-height:0}.layout{grid-template-columns:53px minmax(0,1fr);padding-top:6px}.sidebar{padding:9px 4px;border-radius:18px}.unit{min-height:40px}.unit .icon{font-size:19px}.main{padding-left:8px;padding-right:3px;gap:7px}.heading h1{font-size:19px}.heading .eyebrow{font-size:8px;letter-spacing:1px}.brandmark{height:33px;width:33px;font-size:23px}.brand b{font-size:16px;letter-spacing:2px}.brand{gap:8px}.brand small{display:none}.score{padding:5px 8px;font-size:10px}header{gap:5px;padding:7px 5px}.headerbtn{font-size:10px;padding:6px 8px;border-radius:12px}.mode{font-size:10px;padding:7px 6px}.workspace{border-radius:22px}.lesson{grid-template-columns:1fr;grid-template-rows:minmax(70px,26%) minmax(0,1fr);gap:8px;padding:8px 12px;align-items:center}.visual{min-height:70px;max-height:none;height:100%;border-radius:16px}.visual svg{max-height:110px}.lessontext{padding:0}.lessontext h2{font-size:18px;margin-bottom:6px}.lessontext p{font-size:13px;line-height:1.45}.remember{font-size:11px;line-height:1.35;margin-top:8px;padding:7px 9px;border-radius:12px}.contenttop{padding:10px 12px 0}.tag{font-size:8px;padding:4px 8px}.pagecount{font-size:10px}.bottom{padding:8px 12px}.bottom button{font-size:11px;padding:8px 10px}.dots{gap:4px}.dots button{width:6px;height:6px;min-width:6px;padding:0}.quiz{padding:12px 15px}.quiz h2{font-size:19px}.answers{grid-template-columns:1fr;gap:7px;margin:12px 0 8px}.answer{min-height:36px;padding:8px 11px;font-size:13px;border-radius:14px}.feedback{font-size:12px;min-height:45px}.questionlabel{font-size:9px;margin-bottom:9px}.quizfooter button{font-size:11px;padding:8px 10px}.quizfooter{gap:7px}.buddy{height:90px;width:86px;flex-basis:86px}.companion-message p{font-size:11px;line-height:1.4;-webkit-line-clamp:4}.companion-message{padding:8px 0}.buddy-meta{margin-bottom:5px;gap:7px}.buddy-meta b{font-size:10px}.dock-tools{gap:5px}.dock-tools button{height:28px;width:28px;font-size:11px}.buddy-shadow{width:39px;left:25px}.lab{padding:10px 12px;gap:7px}.lab h2,.notebook h2{font-size:19px}.hintline{font-size:11px}.labcontrols{gap:5px}.labcontrols button{font-size:10px;padding:5px 7px;border-radius:11px;min-height:27px}.labread{font-size:11px;padding:7px 9px;margin-top:7px}.notebook{padding:11px 14px;gap:7px}.notebook textarea{font-size:13px;min-height:40px;padding:9px}.notebook .model{font-size:11px;padding:8px}.notebook label{font-size:11px}.notebook .tiny,.bottom .tiny{font-size:10px}.saved{font-size:10px}.toast{bottom:122px;max-width:90vw;width:max-content;font-size:12px}.modalgrid{gap:8px}dialog{padding:20px}.gloss{grid-template-columns:100px 1fr;font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}


/* Editorial nature dioramas: original vectors with depth, light and dedicated motion. */
.nature-scene{position:relative;margin:0;width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.nature-scene>svg{display:block;width:100%;height:calc(100% - 37px);min-height:80px;max-height:340px;filter:none}.nature-scene figcaption{display:flex;align-items:center;justify-content:center;gap:12px;padding:3px 15px 8px;min-height:35px;flex-wrap:wrap;color:#37596f;line-height:1.3}.nature-scene figcaption>span{font-size:14px;font-weight:750;letter-spacing:-.25px}.nature-scene figcaption>small{font-size:11px;color:#688092;border-left:1px solid #b7cbd6;padding-left:12px}.nature-compare{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px;width:100%;height:100%;padding:5px}.nature-compare .nature-scene{background:#f4f9fb;border:1px solid #ffffffcf;border-radius:18px;box-shadow:0 4px 15px #375e7d0b}.nature-compare .nature-scene figcaption{display:block;text-align:center;padding:2px 5px 7px}.nature-compare .nature-scene figcaption span{font-size:12px}.nature-compare .nature-scene figcaption small{display:none}.nature-compare .nature-scene>svg{height:calc(100% - 28px);min-height:60px}.labstage:has(.nature-scene){background:linear-gradient(130deg,#e7f1f5,#edf4f9);padding:2px 10px;border-color:#faffff}.nature-quake{animation:nature-tremor 1.8s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}.nature-trace{stroke-dasharray:270;animation:nature-record 3s linear infinite}.nature-lava{animation:nature-warm 2.8s ease-in-out infinite}.nature-smoke{animation:nature-vapour 4.5s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}.nature-water{animation:nature-ripple 3.8s ease-in-out infinite}.nature-flood-glint{animation:nature-glint 3s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.nature-cyclone{transform-origin:287px 128px;animation:nature-swirl 16s ease-in-out infinite}.nature-palm{animation:nature-wind 2.3s ease-in-out infinite;transform-box:fill-box;transform-origin:bottom right}.nature-rain{animation:nature-drizzle 1.2s linear infinite}.nature-heat{animation:nature-shimmer 3s ease-in-out infinite}.nature-fire{animation:nature-flicker 1.4s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}
@keyframes nature-tremor{0%,35%,65%,100%{transform:translateX(0)}40%,50%,60%{transform:translateX(-1.4px)}45%,55%{transform:translateX(1.4px)}}@keyframes nature-record{from{stroke-dashoffset:270}to{stroke-dashoffset:0}}@keyframes nature-warm{50%{opacity:.78}}@keyframes nature-vapour{50%{transform:translate(2px,-5px) scale(1.035);opacity:.68}}@keyframes nature-ripple{50%{transform:translateX(3px);opacity:.4}}@keyframes nature-glint{50%{transform:scale(1.07);opacity:.5}}@keyframes nature-swirl{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}@keyframes nature-wind{50%{transform:skewX(-4deg)}}@keyframes nature-drizzle{0%{transform:translate(0,-2px);opacity:.25}50%{opacity:.7}100%{transform:translate(-3px,4px);opacity:.25}}@keyframes nature-shimmer{50%{transform:translateY(-4px);opacity:.2}}@keyframes nature-flicker{50%{transform:scaleY(1.04) skewX(2deg);opacity:.85}}
@media(max-height:650px) and (min-width:851px){.nature-scene>svg{max-height:205px}.nature-scene figcaption{min-height:28px;padding-bottom:4px}.nature-scene figcaption>span{font-size:12px}.nature-scene figcaption>small{font-size:10px}}
@media(max-width:580px){.nature-scene figcaption{min-height:28px;padding:1px 5px 5px;gap:5px}.nature-scene figcaption>span{font-size:11px}.nature-scene figcaption>small{font-size:9px;padding-left:6px}.nature-scene>svg{height:calc(100% - 29px);min-height:50px}.nature-compare{gap:4px}.nature-compare .nature-scene figcaption>span{font-size:9px}.nature-compare .nature-scene figcaption{min-height:19px;padding:0 3px 3px}.nature-compare .nature-scene>svg{height:calc(100% - 19px);min-height:40px}.labstage:has(.nature-scene){padding:2px}}
.pause .nature-scene *{animation:none!important}@media(prefers-reduced-motion:reduce){.nature-scene *{animation:none!important}}

/* Portrait-first mobile navigation: mission picker + bottom activity rail. */
.mobile-menu,.mobile-mission{display:none}.mode{display:flex;align-items:center;justify-content:center;gap:7px}.mode-icon{font-size:14px;line-height:1}.mobile-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-options button{min-height:48px;padding:12px;font-size:14px;line-height:1.35}button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}
@media(max-width:850px),(max-width:1100px) and (orientation:portrait){
 .app{height:100vh;height:100svh;height:100dvh;min-height:0;max-height:100dvh;grid-template-rows:56px minmax(0,1fr) 80px;padding:env(safe-area-inset-top,0px) 10px max(8px,env(safe-area-inset-bottom,0px));gap:0}
 header{padding:6px 4px;gap:9px;border-radius:0;background:transparent;backdrop-filter:none;min-width:0}.brand{flex:1;min-width:0;gap:9px}.brand b{font-size:18px;letter-spacing:3px}.brand small{display:block;font-size:8px;letter-spacing:1.3px}.brandmark{width:35px;height:35px;font-size:24px;border-radius:13px}.score{font-size:12px;padding:8px 12px;border-radius:16px;white-space:nowrap}.topmsg,header #sound,header #motion,header #progress{display:none}.mobile-menu{display:block;width:44px;min-width:44px;height:44px;padding:0;font-size:26px;line-height:1;border-radius:15px;box-shadow:0 4px 12px #254a6f16}
 .layout{display:block;min-height:0;padding:0}.sidebar{display:none}.main{height:100%;min-height:0;padding:4px 0 8px;gap:9px;grid-template-columns:minmax(0,1fr);grid-template-rows:58px minmax(0,1fr) 62px}.heading{grid-row:1;gap:10px;min-width:0;padding:0 2px}.heading .desktop-heading{display:none}.mobile-mission{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.mobile-mission label{font-size:9px;line-height:1;font-weight:750;letter-spacing:1.8px;color:#678399;padding-left:3px}.mobile-mission select{display:block;width:100%;min-width:0;max-width:100%;height:43px;border:1px solid white;border-radius:15px;padding:9px 36px 9px 12px;font-size:16px;font-weight:650;line-height:1.2;color:#25495e;background:#ffffffd9;box-shadow:0 4px 12px #315c8012;appearance:auto;-webkit-appearance:menulist}.heading>#help{display:block;flex:0 0 44px;width:44px;height:44px;margin-top:9px;font-size:0;padding:0;border-radius:15px}.heading>#help:before{content:'?';font-size:19px;font-weight:750}
 .view{grid-row:2;display:block;min-width:0;min-height:0}.workspace{height:100%;min-height:0;border-radius:23px;overflow:hidden;display:flex;flex-direction:column;background:#ffffffd9;backdrop-filter:blur(15px)}
 .modes{grid-row:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-self:stretch;align-self:stretch;align-items:stretch;gap:5px;border-radius:20px;padding:4px;background:#e3edf5b8;border:1px solid #ffffffdd;box-shadow:0 5px 13px #355b7d0d;margin:0;min-width:0}.mode{display:flex;flex-direction:column;gap:5px;min-height:52px;min-width:0;padding:6px 3px;border-radius:15px;font-weight:650;font-size:11px;line-height:1.1;box-shadow:none;color:#658195}.mode-icon{font-size:19px;line-height:1}.mode-name{display:block;white-space:normal;overflow-wrap:normal;text-align:center}.mode.active{border-color:white;color:#087984;background:linear-gradient(140deg,#fff,#eafcfb);box-shadow:0 3px 8px #315c801c,inset 0 1px 0 white}.mode.active .mode-icon{color:#087984}
 .contenttop{flex:0 0 auto;padding:12px 15px 5px;min-height:35px}.tag{font-size:9px;padding:5px 9px;letter-spacing:.7px}.pagecount{font-size:11px}.lesson{flex:1;min-height:0;display:block;padding:7px 16px 16px;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.lesson .visual{width:100%;height:150px;min-height:150px;max-height:none;margin:0 0 14px;border-radius:18px}.lesson .visual>svg{height:100%;max-height:145px;width:100%}.lesson .visual .nature-scene>svg{height:calc(100% - 28px);max-height:125px}.lesson .visual .nature-scene figcaption small{display:none}.lessontext{padding:0;max-width:none}.lessontext h2{font-size:22px;line-height:1.18;margin-bottom:10px;letter-spacing:-.65px}.lessontext p{font-size:16px;line-height:1.6;color:#405c72}.remember{font-size:13px;line-height:1.45;margin-top:13px;padding:11px 13px;border-radius:15px}
 .bottom{flex:0 0 auto;min-height:60px;padding:8px 12px;gap:8px;align-items:center;background:#f8fcffed;border-top:1px solid #dce7ef}.bottom button{min-height:44px;padding:10px 12px;font-size:12px;border-radius:14px;line-height:1.2}.bottom .complete{font-size:12px;max-width:57%}.dots{gap:5px;flex-wrap:wrap;justify-content:center;max-width:65px}.dots button{width:7px;height:7px;min-height:7px;min-width:7px;border-radius:50%;padding:0}.bottom .tiny{font-size:10px;line-height:1.25}
 .lab{flex:1;min-height:0;display:block;padding:15px;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.lab>div:first-child{margin-bottom:12px}.lab h2{font-size:22px;line-height:1.2;margin-bottom:7px}.hintline{font-size:14px;line-height:1.5}.labstage{height:clamp(154px,25vh,218px);min-height:154px;border-radius:18px;margin-bottom:13px}.labstage>svg{max-height:100%;height:100%;width:100%}.labstage .nature-scene>svg{max-height:calc(100% - 30px);height:calc(100% - 30px)}.nature-scene figcaption{gap:7px;min-height:28px;padding:2px 5px 5px;flex-wrap:nowrap}.nature-scene figcaption>span{font-size:12px}.nature-scene figcaption>small{font-size:10px;padding-left:7px;max-width:57%;line-height:1.2}.labstage:has(.nature-scene){padding:0 2px}.labcontrols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;justify-content:stretch;margin-bottom:11px}.labcontrols button{width:100%;min-width:0;min-height:46px;padding:10px 8px;border-radius:15px;font-size:13px;line-height:1.3;overflow-wrap:break-word}.labcontrols input[type=range]{grid-column:1/-1;width:100%;min-height:44px;margin:0}.labcontrols label{grid-column:1/-1;font-size:12px;text-align:center}.labread{font-size:13px;line-height:1.5;padding:11px 12px;border-radius:14px;min-height:0;margin:0}
 .quiz{flex:1;min-height:0;display:block;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:18px 17px 12px}.quiz h2{font-size:22px;line-height:1.3;letter-spacing:-.5px}.questionlabel{display:block;font-size:10px;line-height:1.4;margin-bottom:12px}.answers{grid-template-columns:minmax(0,1fr);gap:10px;margin:18px 0 12px}.answer{min-height:50px;padding:12px 14px;font-size:16px;line-height:1.35;border-radius:17px;text-align:left}.feedback{font-size:14px;line-height:1.55;min-height:0;padding:9px 0 14px}.quizfooter{position:sticky;bottom:-12px;background:linear-gradient(#fafffff5,#faffff);border-top:1px solid #e2edf2;min-height:58px;padding:8px 0 10px;gap:9px;z-index:1}.quizfooter button{min-height:44px;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.25}.finish .labcontrols{margin-top:18px;grid-template-columns:1fr}.finish .confetti{font-size:45px;margin:6px 0}.finish p{font-size:15px;line-height:1.5}
 .notebook{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:16px;gap:12px}.notebook h2{font-size:22px;line-height:1.2}.notebook .hintline{font-size:14px}.notebook label{font-size:13px;line-height:1.3}.saved{font-size:10px}.notebook textarea{flex:1 0 130px;min-height:130px;resize:vertical;font-size:16px;line-height:1.6;padding:12px;border-radius:16px}.notebook .model{font-size:13px;line-height:1.5;flex-shrink:0;padding:12px}.notebook .quizfooter{flex:0 0 auto;position:static;min-height:44px;padding:0;border:0;background:none}.notebook .quizfooter button{font-size:12px;text-align:left}.notebook .quizfooter>.tiny{display:none}
 footer.companion-dock{min-height:0;margin:0;padding:0 9px 0 1px;gap:7px;border-radius:20px;box-shadow:0 6px 18px #254e7020}.buddy{flex:0 0 78px;width:78px;height:80px;margin-bottom:0;align-self:center}.buddy-shadow{width:38px;height:6px;left:22px;bottom:2px}.buddy-particles{font-size:15px;letter-spacing:20px;inset:10px -2px auto}.companion-message{padding:7px 0;min-width:0}.buddy-meta{font-size:9px;gap:7px;margin-bottom:5px}.buddy-meta b{font-size:10px;letter-spacing:1.5px}.buddy-meta span:last-child{display:none}.companion-message p{font-size:12px;line-height:1.4;-webkit-line-clamp:3}.dock-tools{display:none}
 dialog{width:calc(100% - 20px);max-width:620px;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);padding:20px;border-radius:24px;overscroll-behavior-y:contain}dialog .dialoghead{gap:12px;margin-bottom:8px}dialog h2{font-size:23px;line-height:1.2;margin-bottom:8px}dialog #closemodal{width:44px;height:44px;min-width:44px;padding:0;border-radius:15px}dialog p,dialog li{font-size:14px;line-height:1.55}dialog .bottom{padding:12px 0 0;min-height:60px;background:transparent}dialog .bottom button{min-height:44px;font-size:13px}.gloss{grid-template-columns:105px 1fr;gap:12px 9px;font-size:13px;line-height:1.45}.mobile-options{gap:10px}.mobile-options button{min-height:54px;font-size:14px;border-radius:17px}.stat{padding:13px;border-radius:18px}.stat b{font-size:24px}.toast{bottom:calc(155px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 28px);font-size:13px;padding:11px 15px;border-radius:15px}
}
@media(min-width:650px) and (max-width:1100px) and (orientation:portrait){
 .app{grid-template-rows:68px minmax(0,1fr) 96px;padding-left:22px;padding-right:22px;padding-bottom:max(14px,env(safe-area-inset-bottom,0px))}.main{grid-template-rows:64px minmax(0,1fr) 66px;gap:12px;padding-bottom:13px}.brand b{font-size:22px}.brand small{font-size:10px}.score{font-size:14px;padding:10px 16px}.mobile-mission select{font-size:18px;height:47px}.mobile-mission label{font-size:10px}.heading>#help{height:48px;width:48px;flex-basis:48px}.mode{font-size:14px;flex-direction:row;gap:10px}.mode-icon{font-size:22px}.lesson .visual{height:260px;min-height:260px;margin-bottom:20px}.lesson .visual>svg{max-height:250px}.lesson .visual .nature-scene>svg{max-height:225px}.lesson{padding:10px 25px 22px}.lessontext h2{font-size:28px}.lessontext p{font-size:19px;line-height:1.7}.remember{font-size:16px;padding:15px}.bottom{padding:12px 20px;min-height:68px}.bottom button{min-height:46px;font-size:15px;padding:12px 18px}.bottom .complete{font-size:15px}.lab{padding:22px}.labstage{height:clamp(260px,30vh,370px);min-height:260px}.labcontrols{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.labcontrols button{font-size:16px;min-height:50px}.lab h2,.quiz h2,.notebook h2{font-size:28px}.hintline{font-size:16px}.labread{font-size:16px;padding:14px}.nature-scene figcaption>span{font-size:15px}.nature-scene figcaption>small{font-size:12px}.quiz{padding:26px}.answer{min-height:60px;font-size:19px}.feedback{font-size:17px}.quizfooter button{font-size:16px;min-height:48px}.notebook{padding:24px;gap:16px}.notebook .hintline{font-size:17px}.notebook textarea{font-size:18px;flex-basis:200px}.notebook .model{font-size:16px}.buddy{width:96px;flex-basis:96px;height:103px}.buddy-shadow{left:27px;width:46px}.companion-message p{font-size:15px}.buddy-meta b{font-size:12px}.buddy-meta span:last-child{display:inline;font-size:11px}.buddy-meta{margin-bottom:7px}.dock-tools{display:flex;flex-direction:row}.dock-tools button{min-height:44px;min-width:44px}.dock-tools button span{display:none}
}
@media(max-width:370px){.app{padding-left:7px;padding-right:7px;grid-template-rows:52px minmax(0,1fr) 74px}.brand small{display:none}.brand b{font-size:16px}.brandmark{height:32px;width:32px;font-size:22px}.score{font-size:10px;padding:8px}.main{grid-template-rows:56px minmax(0,1fr) 60px;gap:7px}.mode{font-size:10px}.mode-icon{font-size:18px}.mobile-mission select{font-size:15px}.buddy{width:68px;height:74px;flex-basis:68px}.companion-message p{font-size:11px}.lessontext h2,.quiz h2,.lab h2,.notebook h2{font-size:20px}.lessontext p{font-size:15px}.lesson .visual{height:125px;min-height:125px}.labstage{height:150px;min-height:150px}.labcontrols button{font-size:12px}.bottom .complete{font-size:11px}.bottom{padding-left:9px;padding-right:9px}}
@media(max-height:500px) and (max-width:850px) and (orientation:landscape){.app{grid-template-rows:48px minmax(0,1fr) 58px;padding-bottom:max(4px,env(safe-area-inset-bottom,0px))}.main{grid-template-rows:50px minmax(0,1fr) 52px;gap:5px;padding-top:0;padding-bottom:5px}.mobile-mission label{display:none}.mobile-mission select{height:40px}.heading>#help{margin-top:0;height:40px}.modes{padding:3px}.mode{flex-direction:row;gap:6px;min-height:42px;font-size:11px}.mode-icon{font-size:16px}.buddy{height:60px;flex-basis:62px;width:62px}.companion-message p{font-size:11px;-webkit-line-clamp:2}.buddy-meta{margin-bottom:3px}.buddy-meta b{font-size:9px}.lesson .visual{height:130px;min-height:130px}.labstage{height:155px}.sidebar{display:none}.layout{display:block}.main{padding-left:0;padding-right:0}}
/* Three activities, with screen-by-screen learning on mobile. */
[hidden]{display:none!important}.compact-counter{font-size:11px;color:#668298;white-space:nowrap}.lab-control-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}.lab-control-pager button{padding:5px 12px;min-width:40px;min-height:30px;border-radius:11px;font-size:14px}.lab-control-pager span{font-size:10px;color:#668298}.description-nav{display:flex;align-items:center;gap:4px;font-size:10px}.description-nav button{padding:2px 7px;border-radius:9px;font-size:17px;min-height:28px;min-width:28px}
@media(max-width:850px),(max-width:1100px) and (orientation:portrait){
 html,body{height:100%;width:100%;overflow:hidden;overscroll-behavior:none}.app{grid-template-rows:52px minmax(0,1fr) 72px;padding-left:8px;padding-right:8px;padding-bottom:max(6px,env(safe-area-inset-bottom,0px));min-height:0;overflow:hidden}.layout{display:grid;grid-template-columns:46px minmax(0,1fr);gap:7px;min-height:0;padding:0}.sidebar{display:flex;flex-direction:column;justify-content:flex-start;min-height:0;border-radius:18px;margin:4px 0 6px;padding:5px 3px;overflow:hidden;background:linear-gradient(160deg,#25485b,#153249)}.sidebar:after,.sidebar>.eyebrow,.sidebottom{display:none}.sidebar #units{display:flex;flex-direction:column;gap:4px}.unit{min-height:42px;height:42px;min-width:0;width:100%;margin:0;padding:0;border-radius:13px;justify-content:center}.unit .icon{width:27px;height:27px;font-size:19px}.unit .unitname,.unit .tick{display:none}.main{height:100%;min-width:0;min-height:0;grid-template-rows:54px minmax(0,1fr) 54px;gap:7px;padding:2px 0 6px}.heading{padding:0;gap:6px}.mobile-mission label{font-size:8px;letter-spacing:1.1px}.mobile-mission select{height:39px;font-size:14px;border-radius:12px;padding:8px 20px 8px 9px}.heading>#help{width:36px;height:38px;flex-basis:36px;margin-top:10px;border-radius:12px}.heading>#help:before{font-size:16px}.workspace{overflow:hidden!important;border-radius:20px;min-height:0}.modes{grid-template-columns:repeat(3,minmax(0,1fr));height:54px;gap:3px;padding:3px;border-radius:16px;min-height:0}.mode{min-height:46px;height:46px;padding:5px 2px;gap:4px;font-size:10px;border-radius:12px}.mode-icon{font-size:17px}.mode[data-mode=quiz] .mode-name{font-size:0}.mode[data-mode=quiz] .mode-name:after{content:'Retos';font-size:10px}.view{overflow:hidden;min-height:0}.contenttop{min-height:31px;padding:9px 10px 4px}.tag{font-size:7px;letter-spacing:.4px;padding:4px 6px}.pagecount{font-size:9px;white-space:nowrap}.bottom{min-height:51px;height:51px;gap:5px;padding:6px 9px;flex-shrink:0}.bottom button{min-height:38px;height:38px;padding:7px 9px;font-size:11px;border-radius:12px}.bottom .complete{font-size:11px;max-width:63%}.compact-counter{font-size:9px}.compact-lesson{flex:1;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:9px;padding:9px 13px 12px}.compact-lesson h2{font-size:20px;line-height:1.18;letter-spacing:-.6px;margin:0;color:#244a61;font-weight:750;overflow-wrap:break-word}.compact-lesson.text,.compact-lesson.memory{grid-template-rows:auto minmax(0,1fr)}.compact-visual{min-height:0;width:100%;height:100%;overflow:hidden;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#e2f3f1,#e5edfa);border:1px solid white}.compact-visual.space{background:radial-gradient(ellipse at 30% 30%,#355771,#142542)}.compact-visual>svg{height:100%;width:100%;max-height:100%}.compact-caption{font-size:11px;line-height:1.4;margin:0;text-align:center;color:#69849a}.compact-reading{min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.compact-reading p{font-size:17px;line-height:1.65;margin:0;color:#415f74;overflow-wrap:break-word}.compact-reading strong{color:#087885;font-weight:750}.memory-card{border-radius:17px;padding:12px;background:linear-gradient(135deg,#f2eefa,#edf7fb);box-shadow:inset 0 1px 0 white}.memory-card p{font-size:17px;color:#615587}.compact-visual .nature-scene{width:100%;height:100%}.compact-visual .nature-scene>svg{height:calc(100% - 23px);max-height:none;min-height:0}.compact-visual .nature-scene figcaption{min-height:23px;padding:2px 4px 4px}.compact-visual .nature-scene figcaption span{font-size:10px}.compact-visual .nature-scene figcaption small{display:none}.compact-visual .nature-compare{gap:3px}.compact-visual .nature-compare .nature-scene figcaption span{font-size:9px}
 .lab{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;flex:1;min-height:0;height:100%;padding:12px 10px;gap:7px;overflow:hidden!important}.lab>div:first-child{margin:0}.lab h2{font-size:18px;line-height:1.18;letter-spacing:-.5px;margin:0}.lab .hintline{display:none}.labstage{height:auto!important;min-height:0!important;max-height:none;margin:0;border-radius:16px;overflow:hidden}.labstage>svg{height:100%;width:100%;max-height:100%;min-height:0}.labstage .nature-scene>svg{height:calc(100% - 24px);max-height:calc(100% - 24px);min-height:0}.nature-scene figcaption{min-height:23px;padding:2px 3px 3px}.labstage .nature-scene figcaption span{font-size:10px}.labstage .nature-scene figcaption small{display:none}.labcontrols{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 6px;min-height:0}.labcontrols button{min-height:40px;padding:7px 5px;font-size:11px;line-height:1.25;border-radius:12px;min-width:0}.lab-control-pager{margin:0 0 6px;height:28px;min-height:28px;gap:5px}.lab-control-pager button{min-height:28px;height:28px;min-width:36px;padding:3px 9px;font-size:14px;border-radius:10px}.lab-control-pager span{font-size:9px}.labread{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 9px;font-size:12px;line-height:1.5;border-radius:13px;margin:0;overflow:hidden}.lab-description-text{flex:1;min-width:0;overflow-wrap:break-word}.description-nav{flex:0 0 27px;display:flex;flex-direction:column;gap:1px}.description-nav button{padding:0;min-width:27px;width:27px;min-height:25px;height:25px;font-size:18px;border-radius:8px}.description-nav span{font-size:8px;line-height:1}.labcontrols:has(#labslider){grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px;grid-template-rows:38px 28px;gap:5px;margin-bottom:6px}.labcontrols:has(#labslider) button{height:38px;min-height:38px;font-size:10px;padding:5px 4px}.labcontrols:has(#labslider) label{display:none}.labcontrols:has(#labslider) input[type=range]{grid-column:1/-1;grid-row:2;min-height:28px;height:28px;width:100%;margin:0}.labcontrols #playlab{font-size:0}.labcontrols #playlab:before{content:'▶';font-size:13px}.labcontrols #playlab[data-playing=true]:before{content:'Ⅱ'}
 .quiz{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;flex:1;min-height:0;height:100%;gap:9px;padding:14px 12px 10px;overflow:hidden!important}.questionlabel{font-size:8px;letter-spacing:1px;line-height:1.25;margin:0}.quiz h2{font-size:20px;line-height:1.25;margin:0;letter-spacing:-.5px;overflow-wrap:break-word}.answers{display:grid;grid-template-columns:1fr;align-content:center;gap:8px;margin:0;min-height:0}.answer{min-height:42px;padding:9px 10px;font-size:14px;line-height:1.3;border-radius:14px}.quiz>.feedback{display:none}.quizfooter{position:static;min-height:40px;padding:0;border:0;gap:5px;background:none}.quizfooter button{min-height:39px;padding:8px 10px;font-size:11px;border-radius:12px;line-height:1.25}.quiz.compact-feedback{display:flex;flex-direction:column;gap:11px;padding:17px 13px 11px}.compact-feedback h2{font-size:24px;line-height:1.1;flex:0 0 auto}.detail-reading{flex:1;min-height:0;display:flex;align-items:center;overflow:hidden}.detail-reading p{font-size:17px;line-height:1.6;color:#4a687c;margin:0;overflow-wrap:break-word}.compact-feedback.success .detail-reading p{color:#36745c}.detail-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:0 0 43px}.detail-footer>span{font-size:10px;color:#6a8397}.detail-footer button{min-height:40px;padding:8px 10px;border-radius:13px;font-size:11px}.detail-footer>button:first-child{width:37px;padding:5px}.quiz.finish{display:flex;flex-direction:column;justify-content:center;gap:12px}.finish .confetti{display:none}.finish h2{font-size:24px;line-height:1.2}.finish p{font-size:14px;line-height:1.5;margin:0}.finish .labcontrols{display:grid;grid-template-columns:1fr;gap:8px;margin:0}.finish .labcontrols button{min-height:40px;font-size:12px}
 footer.companion-dock{min-height:0;border-radius:18px;padding:0 7px 0 0;gap:5px}.buddy{width:66px;height:72px;flex-basis:66px}.buddy-shadow{width:32px;left:18px;bottom:1px}.buddy-meta{margin-bottom:4px}.buddy-meta b{font-size:9px}.companion-message{padding:5px 0}.companion-message p{font-size:11px;line-height:1.4;-webkit-line-clamp:3}.dock-tools{display:none}.toast{bottom:calc(141px + env(safe-area-inset-bottom,0px));font-size:12px;line-height:1.3}
 dialog{overflow:hidden!important;max-height:calc(100dvh - 24px);padding:17px;width:calc(100% - 20px);border-radius:22px}dialog .dialoghead{margin:0 0 8px;gap:8px}dialog h2{font-size:21px;line-height:1.2}dialog #closemodal{height:38px;min-width:38px;width:38px;border-radius:12px}dialog p{font-size:14px;line-height:1.5;margin:10px 0}dialog .bottom{min-height:45px;height:45px;margin-top:12px;padding-top:7px}dialog .bottom button{height:37px;min-height:37px;font-size:12px;padding:7px 11px}dialog .gloss{grid-template-columns:92px 1fr;font-size:14px;line-height:1.5;gap:14px 10px}dialog .modalgrid{gap:9px}dialog .stat{font-size:12px;padding:11px}dialog .stat b{font-size:24px}.mobile-options{gap:8px}.mobile-options button{font-size:12px;min-height:46px;padding:9px;border-radius:14px}
}
@media(max-width:850px) and (max-height:660px){.app{grid-template-rows:46px minmax(0,1fr) 58px}.brandmark{width:30px;height:30px;font-size:21px}.brand b{font-size:16px}.brand small{display:none}.score{font-size:10px;padding:7px 9px}.mobile-menu{width:38px;min-width:38px;height:38px;font-size:24px}.main{grid-template-rows:48px minmax(0,1fr) 50px;gap:6px;padding-top:1px;padding-bottom:5px}.mobile-mission select{height:35px;font-size:13px}.mobile-mission label{font-size:7px;letter-spacing:.8px}.heading>#help{height:34px;width:32px;flex-basis:32px;margin-top:9px}.modes{height:50px}.mode{height:42px;min-height:42px;font-size:9px;gap:3px}.mode-icon{font-size:16px}.mode[data-mode=quiz] .mode-name:after{font-size:9px}.sidebar #units{gap:3px}.unit{height:39px;min-height:39px}.compact-lesson{padding:8px 11px 10px;gap:7px}.compact-lesson h2{font-size:18px;line-height:1.15}.compact-reading p,.memory-card p{font-size:16px;line-height:1.55}.compact-caption{font-size:10px;line-height:1.3}.lab{padding:10px 9px;gap:6px}.lab h2{font-size:17px}.labcontrols button{font-size:10px;min-height:38px;padding:6px 4px}.labread{font-size:11px;line-height:1.45;padding:7px 8px}.quiz{gap:7px;padding:12px 10px 9px}.quiz h2{font-size:18px;line-height:1.2}.answer{font-size:13px;min-height:40px;padding:8px 9px;line-height:1.3}.answers{gap:7px}.quizfooter button{min-height:37px;font-size:10px}.compact-feedback h2{font-size:22px}.detail-reading p{font-size:16px;line-height:1.55}.detail-footer button{font-size:10px;min-height:37px;padding:7px 9px}.buddy{height:58px;flex-basis:54px;width:54px}.buddy-shadow{left:15px;width:26px}.buddy-meta{margin-bottom:2px}.buddy-meta b{font-size:8px}.companion-message p{font-size:10px;line-height:1.35;-webkit-line-clamp:2}.companion-message{padding:3px 0}footer.companion-dock{gap:4px}.gloss{font-size:13px}dialog p{font-size:13px;line-height:1.45}dialog h2{font-size:19px}}
@media(min-width:650px) and (max-width:1100px) and (orientation:portrait){.app{grid-template-rows:66px minmax(0,1fr) 90px;padding-left:17px;padding-right:17px;padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}.layout{grid-template-columns:64px minmax(0,1fr);gap:13px}.sidebar{border-radius:23px;padding:10px 7px}.sidebar #units{gap:9px}.unit{min-height:54px;height:54px;border-radius:17px}.unit .icon{font-size:25px}.main{grid-template-rows:64px minmax(0,1fr) 62px;gap:12px;padding-bottom:12px}.mobile-mission label{font-size:9px}.mobile-mission select{height:46px;font-size:17px}.heading>#help{height:46px;width:46px;flex-basis:46px}.modes{height:62px;padding:4px}.mode{height:52px;min-height:52px;flex-direction:row;font-size:14px;gap:9px}.mode-icon{font-size:22px}.mode[data-mode=quiz] .mode-name:after{font-size:14px}.compact-lesson{padding:18px 25px 22px;gap:16px}.compact-lesson h2{font-size:30px}.compact-reading p,.memory-card p{font-size:23px;line-height:1.7}.compact-caption{font-size:15px}.memory-card{padding:23px;border-radius:23px}.contenttop{padding:15px 21px 8px;min-height:43px}.tag{font-size:10px;padding:6px 10px}.pagecount{font-size:12px}.bottom{height:65px;min-height:65px;padding:10px 20px}.bottom button,.bottom .complete{height:45px;min-height:45px;font-size:15px;padding:10px 18px}.compact-counter{font-size:12px}.lab{padding:20px;gap:14px}.lab h2{font-size:27px}.labcontrols{gap:10px;margin-bottom:10px}.labcontrols button{font-size:16px;min-height:48px;padding:11px 14px}.lab-control-pager{height:36px;min-height:36px;margin-bottom:10px}.lab-control-pager button{height:35px;min-height:35px;min-width:48px}.lab-control-pager span{font-size:12px}.labread{font-size:17px;padding:15px;line-height:1.6;gap:12px}.description-nav{flex-basis:36px;gap:4px}.description-nav button{height:34px;min-height:34px;width:36px}.description-nav span{font-size:11px}.labcontrols:has(#labslider){grid-template-columns:1fr 1fr 54px;grid-template-rows:47px 35px;gap:9px}.labcontrols:has(#labslider) button{height:47px;min-height:47px;font-size:14px}.labcontrols:has(#labslider) input[type=range]{height:35px;min-height:35px}.labcontrols #playlab:before{font-size:17px}.quiz{padding:25px;gap:15px}.quiz h2{font-size:29px}.questionlabel{font-size:11px}.answers{gap:13px}.answer{min-height:60px;font-size:20px;padding:16px 18px}.quizfooter{min-height:48px}.quizfooter button{font-size:15px;min-height:46px}.quiz.compact-feedback{padding:28px;gap:20px}.compact-feedback h2{font-size:35px}.detail-reading p{font-size:24px;line-height:1.7}.detail-footer{flex-basis:52px;gap:12px}.detail-footer button{min-height:48px;padding:12px 18px;font-size:16px}.detail-footer>span{font-size:13px}.detail-footer>button:first-child{width:48px}.finish .labcontrols button{font-size:17px;min-height:48px}.finish h2{font-size:32px}.finish p{font-size:19px}.buddy{height:94px;width:90px;flex-basis:90px}.companion-message p{font-size:14px}.buddy-meta b{font-size:11px}.buddy-shadow{left:25px;width:42px}}
