@layer reset,base,layout,components,responsive;
@layer reset{*{box-sizing:border-box}body,h1,h2,h3,p{margin:0}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}svg{display:block;width:100%}button{color:inherit}button:disabled{cursor:default}img{max-width:100%}}
@layer base{
:root{--bg:#f7f7ef;--paper:#fffef9;--ink:#243e36;--muted:#66796f;--green:#216b54;--line:#dde2d5;--mint:#e5eedf;--peach:#f4e6d9;--lavender:#eae7ef;--sand:#efeacf;--accent:#cb6542;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}body{font-size:15px;line-height:1.55}button,a,input,summary{touch-action:manipulation}a{text-decoration:none}button{border:0}a,button,summary,input{outline-offset:5px}:focus-visible{outline:3px solid var(--accent)}h1,h2,h3{font-weight:600;letter-spacing:-.035em;line-height:1.18}h1{font-size:clamp(36px,4.5vw,59px)}h2{font-size:30px}h3{font-size:23px}p{color:var(--muted)}::selection{background:#c9dfbd}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:700;text-transform:uppercase;color:var(--green)}.mint{background:var(--mint)}.peach{background:var(--peach)}.lavender{background:var(--lavender)}.sand{background:var(--sand)}.heading-dot{color:var(--accent)}.skip-link{position:fixed;opacity:0;pointer-events:none;top:10px;left:20px;background:var(--ink);color:white;padding:15px;z-index:10}.skip-link:focus{opacity:1;pointer-events:auto;top:10px}#main:focus,#step-content:focus{outline:none}
}
@layer layout{
.header{height:96px;max-width:1280px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;font-size:24px;font-weight:750;letter-spacing:-1px;gap:10px}.brand-light{font-weight:400}.brand-mark{width:37px;height:37px;border-radius:11px;background:var(--green);color:#fffef4;display:flex;align-items:center;justify-content:center;font-size:30px;font-family:Georgia,serif;font-style:italic;position:relative;padding-right:8px}.brand-mark span{font:18px sans-serif;position:absolute;right:4px;bottom:3px}.header nav{display:flex;gap:35px;align-items:center;font-size:12px;font-weight:500}.header nav a{padding:12px 0;position:relative;color:var(--muted)}.header nav a[aria-current=page]{color:var(--ink)}.header nav a[aria-current=page]:after{content:'';position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--green)}.nav-count{font-size:10px;padding:4px 7px;background:#e5eadc;border-radius:5px;margin-left:5px}.school-label{font-size:10px;font-weight:700;letter-spacing:.12em;line-height:1.6}.school-label span{display:block;font-size:9px;font-weight:400;color:var(--muted)}main{max-width:1184px;margin:auto;padding:0 0 48px}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:35px;padding:66px 0 45px;align-items:center}.hero h1{margin:23px 0 22px;letter-spacing:-.055em}.hero h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--green);letter-spacing:-.045em}.hero-copy>p{font-size:14px;line-height:1.8}.hero-actions{display:flex;gap:20px;align-items:center;margin-top:29px}.hero-small{font-size:10px;color:var(--muted);line-height:1.5}.hero-facts{display:flex;gap:25px;margin-top:35px;color:var(--muted);font-size:10px}.hero-facts i{font-style:normal;font-size:13px;color:var(--ink);font-weight:650;margin-right:5px}.hero-art{background:#e9eedb;border-radius:50% 45% 35% 40%;padding:8px 0 15px;transform:rotate(-2deg)}.hero-art svg{transform:rotate(2deg)}.art-caption{text-align:center;font-size:10px;color:#5d7663;transform:rotate(2deg);margin-top:-10px}.tiny-plus{margin-right:8px;color:var(--green)}.journey{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px;border:1px solid var(--line);border-radius:13px;background:#f2f3e9}.journey>div{display:flex;align-items:center;gap:14px}.journey strong{display:block;font-size:12px;font-weight:600}.journey small{font-size:10px;color:var(--muted)}.journey-number{font-family:Georgia,serif;font-size:24px;color:#82997a}.journey-arrow{color:#a1ad94}.lesson-section{margin-top:52px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.section-heading h2{font-size:27px;margin-top:8px}.section-aside{font-size:10px;color:var(--muted)}.section-aside>span{margin-left:8px;font-size:15px}.lesson-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.lesson-card{display:flex;flex-direction:column;min-height:295px;padding:24px 23px 17px;border:1px solid #00000006;border-radius:13px;transition:transform .2s,box-shadow .2s}.lesson-card:hover{transform:translateY(-4px);box-shadow:0 8px 22px #263d380a}.card-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.lesson-icon{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:12px;flex-shrink:0;color:#48674d}.lesson-icon svg{width:36px;height:36px}.card-number{font-size:11px;color:#758170}.card-tag{font-size:8px;letter-spacing:.09em;margin-bottom:9px;color:#6a7868}.lesson-card h3{font-size:20px;letter-spacing:-.04em;max-width:200px}.lesson-card p{font-size:11px;line-height:1.75;margin-top:12px;margin-bottom:23px;color:#687364}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;border-top:1px solid #344d3417;padding-top:14px;font-size:9px;color:#66745d}.card-bottom span span{margin:0 6px}.card-arrow{border:1px solid #344d3427;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:15px}.curiosity{display:flex;align-items:center;gap:30px;padding:34px 40px;background:#e9eddf;border-radius:13px;margin-top:34px}.curiosity-symbol{font-family:Georgia,serif;font-style:italic;font-size:83px;line-height:1;color:#aabca0;width:75px;text-align:center;transform:rotate(-10deg)}.curiosity h2{font-size:25px;margin:8px 0}.curiosity p:not(.eyebrow){font-size:11px}.curiosity .button{margin-left:auto}.source-note{font-size:10px;line-height:1.8;color:#768377;margin:24px 0 0}.source-note a{text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.source-note span{margin-left:10px}.footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);max-width:1184px;margin:auto;padding:24px 0 30px;color:var(--muted);font-size:9px}.footer .brand{font-size:15px;gap:0}.footer-motto{font-size:9px;letter-spacing:0;font-weight:400}.footer-dot{margin:0 14px;font-size:10px}
}
@layer components{
.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #d7dfcb;background:#f0f3e7;padding:6px 10px;border-radius:5px;font-size:8px;letter-spacing:.12em;color:#58734f;font-weight:650}.live-dot{display:inline-block;width:6px;height:6px;background:#658c52;border-radius:50%}.button{display:inline-flex;align-items:center;justify-content:center;gap:21px;padding:13px 19px;border-radius:7px;font-size:12px;font-weight:550;line-height:1.4;min-height:44px;text-align:center;transition:background .15s}.button.primary{color:#fffef6;background:var(--green);border:1px solid var(--green)}.button.primary:hover{background:#15563f}.button.secondary{background:transparent;border:1px solid #bdcbb6}.button.secondary:hover{background:#dfe8d5}.text-button{background:none;padding-left:0;color:var(--muted)}.button:disabled{opacity:.4}.small-button{font-size:11px;padding:9px 13px;min-height:38px}.lesson-page{padding-top:27px}.breadcrumb{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.breadcrumb a{color:var(--green)}.lesson-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:38px 0 30px}.lesson-heading h1{font-size:37px;margin-top:11px}.lesson-heading>.lesson-icon{width:65px;height:65px}.lesson-heading .eyebrow span{font-size:9px;color:var(--muted);margin-left:8px}.stages{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--line);margin-bottom:32px;scroll-margin-top:15px}.stages button{display:flex;align-items:center;justify-content:center;gap:10px;background:none;color:var(--muted);font-size:12px;padding:14px 8px;border-bottom:2px solid transparent}.stages button span{width:24px;height:24px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:10px}.stages button.active{border-bottom-color:var(--green);color:var(--green);font-weight:650}.stages button.active span{color:white;background:var(--green);border-color:var(--green)}.prediction-layout{display:grid;grid-template-columns:1.65fr 1fr;gap:34px;min-height:440px}.question-panel{padding:28px 35px;background:var(--paper);border:1px solid var(--line);border-radius:14px}.question-panel h2{font-size:26px;margin:13px 0 14px;line-height:1.3;max-width:640px}.question-panel>.muted{font-size:12px;margin-bottom:24px}.options{display:grid;gap:11px}.option{border:1px solid var(--line);background:#fdfdf8;border-radius:8px;display:flex;align-items:center;gap:13px;padding:13px 15px;text-align:left;font-size:13px;min-height:55px}.option>span:last-child{margin-left:auto;color:#869487}.option:hover{border-color:#8ba183;background:#f4f7eb}.option-letter{border-radius:5px;background:#eef1e6;display:grid;place-items:center;width:25px;height:25px;font-size:10px;flex-shrink:0}.option.correct{border-color:#69976a;background:#eef6e8}.option.incorrect{border-color:#cd9571;background:#fff3e9}.feedback{margin-top:18px;border-radius:8px;padding:17px;font-size:12px;border-left:3px solid #78a06d;background:#eef4e6}.feedback p{margin-top:5px;color:#4c6650}.feedback.try-again{background:#fcf1e5;border-color:#ce956a}.earned{display:block;font-size:11px;color:var(--green);margin-top:9px}.thinking-card{padding:35px;border-radius:14px;align-self:start}.thinking-icon{display:block;width:72px;height:72px;margin:5px 0 30px;color:#6f8d63}.thinking-card h3{font-size:29px;margin:12px 0 20px}.thinking-card p{font-size:13px;line-height:1.8}.thinking-card .small{font-size:11px}.thinking-card strong{font-weight:500;color:var(--ink)}.mini-rule{height:1px;background:#748c6c33;margin:27px 0}.lesson-nav{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:32px;padding-top:20px}.lesson-nav>span{font-size:11px;color:var(--muted)}.lab{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.lab-main{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.lab-title{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;font-size:10px;color:var(--muted);border-bottom:1px solid #e9ebdf}.lab-title .live-dot{margin-right:6px}.lab-main #scene{background-image:radial-gradient(#ccd8c7 0.7px,transparent 0.7px);background-size:20px 20px;background-color:#f8faf1}.lab-main svg{min-height:240px;max-height:430px}.lab-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 22px;border-top:1px solid var(--line)}.reset-button{background:none;font-size:10px;color:var(--muted);min-height:38px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:0 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:19px 0;gap:8px}.metrics>div{padding:0 13px;border-right:1px solid var(--line)}.metrics>div:first-child{padding-left:0}.metrics>div:last-child{border:0}.metrics span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.metrics strong{display:block;font-size:25px;font-weight:550;letter-spacing:-.04em;color:var(--green);line-height:1.2}.metrics small{font-size:12px;font-weight:400;letter-spacing:0}.lab-insight{font-size:12px;line-height:1.8;padding:16px 22px;color:#4d6952}.model-note{margin:0 22px 19px;font-size:11px;color:var(--muted)}summary{cursor:pointer}details p{margin:10px 0}.lab-controls{background:#ebefdf;border-radius:14px;padding:25px;align-self:start}.lab-controls h2{font-family:Georgia,serif;font-style:italic;font-size:29px;font-weight:400;margin:5px 0 25px}.control{margin:24px 0}.control label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#4b624e}.control output{font-weight:650;color:var(--ink);white-space:nowrap}input[type=range]{width:100%;accent-color:var(--green);margin:14px 0 3px;height:22px;cursor:pointer}.range-limits{display:flex;justify-content:space-between;font-size:9px;color:#7b8871}.challenge{border-top:1px solid #ced9c2;padding-top:20px;margin-top:25px}.challenge span{font-size:9px;font-weight:650;letter-spacing:.09em;color:var(--green)}.challenge p{font-size:12px;line-height:1.8;margin-top:8px}.shape-options{border:0;padding:0;margin:15px 0;font-size:11px}.shape-options legend{margin-bottom:10px}.shape-options label{display:inline-flex;gap:4px;margin-right:5px;align-items:center}.shape-options input{accent-color:var(--green)}.formula-card{background:#e8efde;border:1px solid #d4dfc9;border-radius:13px;padding:28px 35px}.formula{font-family:Georgia,serif;font-size:36px;white-space:pre-wrap;margin:15px 0 12px;color:#2a634a;line-height:1.5}.formula-card>p:last-child{font-size:12px;line-height:1.8}.explain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:32px 0}.explain-grid article{padding:10px}.explain-number{font:22px Georgia,serif;color:#89a077;display:block;margin-bottom:15px}.explain-grid h2{font-size:22px;line-height:1.3;margin-bottom:13px}.explain-grid p{font-size:13px;line-height:1.9}.misconception{display:flex;gap:20px;padding:22px 26px;border-radius:10px;background:#f4e9db}.misconception>span{display:grid;place-items:center;border:1px solid #c69366;width:28px;height:28px;border-radius:50%;color:#956d4c;flex-shrink:0}.misconception strong{font-size:13px}.misconception p{font-size:12px;line-height:1.8;margin-top:5px}.math-help{margin:25px 0 10px;font-size:12px;color:var(--muted)}.worked{max-width:800px;margin:auto;border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:35px 40px}.worked>h2{font-size:25px;line-height:1.4;margin:15px 0}.worked>.muted{font-size:12px}.worked-steps{margin:27px 0}.worked-step{display:flex;gap:18px;padding:21px 0;border-top:1px solid var(--line)}.worked-step>span{display:grid;place-items:center;width:29px;height:29px;background:var(--mint);border-radius:50%;font-size:12px;flex-shrink:0}.worked-step h3{font-size:17px;margin:2px 0 9px}.worked-step p{font-size:14px;line-height:1.9}.example-done{font-size:12px;color:var(--green)}.hint-button{background:none;margin-top:18px;padding:5px 0;color:var(--green);font-size:12px;min-height:35px}.hint{padding:12px 15px;background:var(--sand);border-radius:6px;font-size:12px}.side-formula{font:23px/1.7 Georgia,serif;margin-bottom:20px}.thinking-card .button{margin-top:25px;font-size:11px}.utility-page{padding-top:48px}.utility-page>h1{font-size:43px;margin:15px 0}.page-intro{font-size:14px;max-width:660px;line-height:1.8}.formula-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:35px}.formula-tile{background:var(--paper);border:1px solid var(--line);padding:25px;border-radius:12px}.tile-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.formula-tile h2{font:26px/1.6 Georgia,serif;color:var(--green);margin:15px 0}.formula-tile p{font-size:12px;line-height:1.8}.formula-tile details{font-size:11px;color:var(--muted);margin:15px 0}.formula-tile>a{font-size:12px;color:var(--green)}.progress-summary{display:flex;align-items:center;gap:30px;background:var(--mint);padding:32px;border-radius:14px;margin:32px 0}.progress-ring{display:grid;place-items:center;width:115px;height:115px;flex-shrink:0;background:conic-gradient(var(--green) var(--progress),#ceddc4 0);border-radius:50%;position:relative}.progress-ring:before{content:'';position:absolute;inset:8px;background:var(--mint);border-radius:50%}.progress-ring strong{font-size:32px;position:relative;font-weight:500}.progress-ring small{font-size:15px;color:var(--muted)}.progress-summary h2{font-size:25px;margin-bottom:7px}.progress-summary p{font-size:13px}.progress-summary small{color:var(--muted);font-size:10px}.progress-list{display:grid;gap:10px}.progress-list>a{display:flex;align-items:center;gap:20px;background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:16px 20px}.progress-list strong{font-size:14px;font-weight:550;display:block}.progress-list small{font-size:11px;color:var(--muted)}.progress-list .status{margin-left:auto;font-size:10px;color:var(--muted)}.progress-list .done{color:var(--green)}.reset-progress{margin-top:28px;font-size:11px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:15px;padding:38px;max-width:600px;width:calc(100% - 32px);background:var(--paper);color:var(--ink);line-height:1.8}dialog::backdrop{background:#18372db0;backdrop-filter:blur(4px)}dialog h2{margin:15px 0}dialog p:not(.eyebrow){font-size:13px;margin-top:15px}.dialog-close{position:absolute;right:15px;top:10px;background:none;font-size:28px;width:36px;height:36px}
}
@layer responsive{
@media(min-width:1440px){main,.footer{max-width:1184px}.header{max-width:1280px}.hero{padding-top:75px;padding-bottom:58px}.hero h1{font-size:62px}.hero-copy>p{font-size:15px}.lesson-card{min-height:310px}}
@media(max-width:1280px){main,.footer{margin-left:48px;margin-right:48px}.hero{gap:20px}.hero h1{font-size:50px}.lesson-card{padding:21px 19px}.lesson-card h3{font-size:19px}}
@media(max-width:1000px){.header{padding:0 30px}.header nav{gap:24px}main,.footer{margin-left:30px;margin-right:30px}.hero h1{font-size:43px}.hero{padding-top:45px;gap:0;grid-template-columns:1.2fr 1fr}.hero-copy>p{font-size:13px}.hero-art{margin-left:-10px}.hero-facts{gap:15px}.hero-actions{gap:12px}.hero .button{font-size:11px;padding:13px}.hero-small{font-size:9px}.journey{gap:10px;padding:18px}.journey>div{gap:10px}.journey small{font-size:9px}.journey strong{font-size:11px}.journey-number{font-size:20px}.section-heading h2{font-size:25px}.lesson-grid{grid-template-columns:repeat(2,1fr)}.lesson-card{min-height:270px;padding:24px}.lesson-card h3{max-width:none;font-size:23px}.lesson-card p{font-size:12px;max-width:300px}.card-tag{font-size:9px}.card-top{margin-bottom:20px}.card-bottom{font-size:10px}.lab{grid-template-columns:minmax(0,1fr) 255px;gap:15px}.lab-controls{padding:20px}.metrics strong{font-size:21px}.lab-toolbar{padding:10px 15px}.reset-button{font-size:9px}.prediction-layout{grid-template-columns:1.6fr 1fr;gap:20px}.question-panel{padding:25px}.thinking-card{padding:26px}.thinking-card h3{font-size:25px}.thinking-card p{font-size:12px}.lesson-heading h1{font-size:32px}.explain-grid{gap:15px}.explain-grid h2{font-size:20px}.explain-grid p{font-size:12px}}
@media(max-width:760px){.header{height:auto;min-height:100px;flex-wrap:wrap;padding:18px 22px 0;gap:10px}.brand{font-size:23px}.school-label{margin-left:auto;font-size:9px}.header nav{order:3;width:100%;justify-content:space-between;gap:8px;font-size:11px}.header nav a{padding:12px 4px}.nav-count{font-size:9px}.header nav a[aria-current=page]:after{bottom:0}.hero{grid-template-columns:1fr;padding:34px 0 30px}.hero h1{font-size:47px;margin:20px 0}.hero-copy>p{font-size:13px}.hero-art{margin:28px 10px 0;max-width:450px;justify-self:center;width:100%;padding-top:0}.hero-art svg{max-height:265px}.art-caption{margin-top:-7px}.hero-facts{gap:24px;margin-top:25px;font-size:10px}.hero .button{font-size:12px;padding:14px 17px}.hero-actions{gap:20px}.hero-small{font-size:10px}main,.footer{margin-left:22px;margin-right:22px}.journey{flex-direction:column;align-items:stretch;gap:16px;padding:23px}.journey>div{gap:18px}.journey strong{font-size:12px}.journey small{font-size:11px}.journey-number{font-size:23px}.journey-arrow{display:none}.section-heading{align-items:start;flex-direction:column;gap:12px}.section-heading h2{font-size:26px}.lesson-section{margin-top:35px}.section-aside{font-size:11px}.lesson-grid{gap:12px}.lesson-card{padding:20px 17px;min-height:290px}.lesson-card h3{font-size:21px}.lesson-card p{font-size:11px}.card-top{margin-bottom:20px}.card-tag{font-size:7px}.card-bottom{font-size:9px}.card-bottom span span{margin:0 3px}.card-arrow{width:23px;height:23px;flex-shrink:0}.curiosity{flex-wrap:wrap;padding:25px;gap:18px;margin-top:25px}.curiosity-symbol{display:none}.curiosity h2{font-size:26px}.curiosity .button{margin-left:0;margin-top:6px}.footer{flex-direction:column;align-items:start;gap:12px}.footer .brand{flex-wrap:wrap}.footer-motto{font-size:8px}.footer-dot{margin:0 8px}.source-note{font-size:10px}.source-note span{display:block;margin-left:0}.lesson-page{padding-top:22px}.breadcrumb{font-size:10px}.breadcrumb>span{max-width:50%;text-align:right}.lesson-heading{margin:28px 0 20px;align-items:start}.lesson-heading h1{font-size:32px}.lesson-heading>.lesson-icon{width:44px;height:44px}.lesson-heading .eyebrow{font-size:9px}.lesson-heading .eyebrow span{display:block;margin:5px 0 0}.stages{margin-bottom:25px}.stages button{flex-direction:column;gap:6px;padding:10px 2px;font-size:9px}.stages button span{width:23px;height:23px}.prediction-layout{grid-template-columns:1fr;gap:18px}.question-panel{padding:23px 20px}.question-panel h2{font-size:23px}.option{font-size:12px;padding:12px;gap:10px}.thinking-card{padding:24px}.thinking-icon{display:none}.thinking-card h3{font-size:23px;margin:10px 0}.thinking-card p{font-size:12px}.mini-rule{margin:16px 0}.thinking-card .button{margin-top:18px}.lesson-nav{flex-wrap:wrap;gap:8px}.lesson-nav .button{font-size:11px;gap:8px;padding:12px}.lesson-nav .text-button{padding-left:0}.lesson-nav>span{display:none}.lab{grid-template-columns:1fr}.lab-controls{order:-1;padding:20px}.lab-controls h2{font-size:23px;display:none}.lab-controls>.eyebrow{margin-bottom:12px}.control{margin:15px 0}.control label{font-size:12px}.control input{margin:7px 0 0}.range-limits{font-size:9px}.challenge{margin-top:18px;padding-top:14px}.challenge p{font-size:11px}.lab-title{padding:16px;font-size:9px}.lab-title .eyebrow{font-size:8px}.lab-main svg{min-height:0}.lab-toolbar{padding:12px;gap:6px}.lab-toolbar .button{font-size:10px;padding:9px}.reset-button{font-size:9px}.metrics{margin:0 15px;padding:18px 0;gap:5px}.metrics>div{padding:0 8px}.metrics strong{font-size:21px}.metrics span{font-size:9px;line-height:1.5}.metrics small{font-size:10px}.lab-insight{font-size:11px;padding:15px}.model-note{margin:0 15px 15px;font-size:10px}.formula-card{padding:24px}.formula{font-size:26px}.formula-card>p:last-child{font-size:11px}.explain-grid{grid-template-columns:1fr;gap:17px;margin:24px 0}.explain-grid article{padding:0}.explain-number{font-size:18px;margin-bottom:8px}.explain-grid h2{font-size:23px;margin-bottom:8px}.explain-grid p{font-size:13px}.misconception{padding:20px;gap:13px}.misconception p{font-size:12px}.worked{padding:25px 22px}.worked>h2{font-size:23px}.worked-step{gap:13px}.worked-step p{font-size:13px}.worked-step h3{font-size:16px}.utility-page{padding-top:32px}.utility-page>h1{font-size:34px}.page-intro{font-size:13px}.formula-grid{grid-template-columns:1fr;gap:16px}.formula-tile{padding:23px}.formula-tile h2{font-size:25px}.progress-summary{padding:22px;gap:20px}.progress-ring{width:85px;height:85px}.progress-summary h2{font-size:22px}.progress-summary p{font-size:11px}.progress-summary small{font-size:9px;display:block;margin-top:5px}.progress-list>a{padding:15px 12px;gap:12px}.progress-list strong{font-size:12px}.progress-list small{font-size:9px}.progress-list .status{font-size:8px;white-space:nowrap}.progress-list .lesson-icon{width:32px;height:32px}.progress-list .lesson-icon svg{width:27px;height:27px}.progress-list>a>span:last-child{display:none}dialog{padding:30px 24px}}
@media(max-width:380px){.hero h1{font-size:41px}.hero-actions{gap:12px}.hero .button{font-size:11px}.lesson-grid{grid-template-columns:1fr}.lesson-card{min-height:240px}.card-tag{font-size:9px}.lesson-card h3{font-size:23px}.lesson-card p{font-size:12px}.lesson-card .card-bottom{font-size:10px}.hero-facts{gap:12px}.lesson-nav .button{font-size:10px}.progress-list .status{white-space:normal;max-width:55px}.metrics strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.header nav,.lesson-nav,.stages,.footer,.hero-art,.lab-controls,.lab-toolbar{display:none}main{margin:0}body{background:white}.formula-grid,.explain-grid{grid-template-columns:1fr}a{text-decoration:underline}}
}

@layer responsive {
@media(max-width:760px){
 .lab{display:flex;flex-direction:column;gap:12px}
 .lab-main{display:contents}
 .lab-title{order:-1;border:0;padding:8px 2px}
 .lab-main #scene{order:0;position:sticky;top:0;z-index:2;border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 14px #263d3810;overflow:hidden}
 .lab-controls{order:1;width:100%}
 .lab-toolbar{order:2;border:0}
 .metrics{order:3;margin:0;padding:20px 8px}
 .lab-insight{order:4;padding:5px 8px;font-size:13px}
 .model-note{order:5;margin:0 8px 12px;font-size:12px}
 .thinking-card p,.question-panel>.muted,.feedback,.hint,.challenge p{font-size:13px}
 .option,.explain-grid p,.worked-step p{font-size:14px}
 .misconception p{font-size:13px}
}
}
