:root{font-family:'Trebuchet MS',system-ui,sans-serif;color:#17252e;background:#f3f5f7;font-synthesis:none;--ink:#17252e;--gold:#f7c747;--teal:#076c6a;--line:#d7e0e6;--muted:#556673;--paper:#fff;--red:#a42333;--green:#08694c}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);padding:10px 15px;font-weight:700;min-height:44px}button:hover{background:#eaf1f4}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #0c8085;outline-offset:3px}.primary{background:var(--gold);border-color:var(--gold);color:#17252e}.primary:hover{background:#efb82a}.topbar{height:82px;padding:14px 4%;display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:#fff;gap:16px}.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;font-weight:800;letter-spacing:1px;line-height:1.05}.brand-mark{background:var(--gold);color:var(--ink);height:43px;width:43px;border-radius:12px;display:grid;place-items:center;font-size:30px;font-weight:800}.brand-small{display:block;font-size:11px;letter-spacing:2px;margin-top:6px}.grade{font-size:13px;letter-spacing:1px;color:#d4e0e6}.home{max-width:1180px;margin:auto;padding:28px 30px;display:grid;grid-template-columns:1.25fr 1fr;gap:30px}.welcome{display:flex;align-items:center;position:relative;min-height:260px}.welcome h1{font-size:clamp(30px,3.4vw,47px);line-height:1.08;margin:10px 0 14px;letter-spacing:-1.5px}.welcome p{color:var(--muted);font-size:17px}.eyebrow{font-size:12px!important;letter-spacing:1.5px;font-weight:800;color:var(--teal)!important;margin:0 0 12px}.sunny{width:150px;max-height:210px;object-fit:contain;margin-left:auto}.preview-model{background:white;border-radius:18px;padding:25px;border:1px solid var(--line)}.preview-model h2{font-size:22px}.ratio{display:grid;grid-template-columns:1fr .8fr 1fr;gap:12px;align-items:center;text-align:center}.ratio b{font-size:30px;display:block}.ratio span{font-size:15px;color:var(--muted)}.ratio>div:not(.arrow){background:#eff6f6;padding:10px;border-radius:10px}.arrow{font-size:21px;font-weight:800;color:var(--teal)}.model-caption{color:var(--teal);font-size:15px;text-align:center}@media(max-width:700px){.home{grid-template-columns:1fr;padding:20px}.grade{display:none}.sunny{width:115px}.topbar{height:72px}}
/* Learning workspace */
.brand-button{border:0;background:transparent;padding:0;text-align:left;border-radius:0}.brand-button:hover{background:transparent}.top-actions{display:flex;gap:14px;align-items:center}.top-control{background:#233642;border-color:#42545f;color:#fff;font-size:14px}.top-control:hover{background:#344f5d}.home-actions{display:flex;flex-wrap:wrap;gap:10px}.save-note{font-size:13px!important;margin-bottom:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading>span{font-size:13px;color:var(--muted)}.section-heading .eyebrow{margin:0}.path-preview{display:flex;justify-content:space-around;align-items:center;margin:26px 0;font-size:15px}.path-preview strong{font-size:25px;background:#e8f4f0;color:var(--teal);padding:17px;border-radius:14px}.path-preview i{font-style:normal;font-size:25px;color:var(--teal)}.progress-track{height:7px;border-radius:5px;background:#e8edf0}.progress-track>div{height:100%;background:var(--teal);border-radius:5px}.lessons-section{grid-column:1/-1}.lessons-section h2{font-size:21px}.lesson-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lesson-card{text-align:left;display:flex;align-items:center;gap:14px;padding:15px 17px;border-radius:13px;font-weight:400}.lesson-number{width:38px;height:38px;border-radius:10px;background:#eef3f5;color:var(--muted);display:grid;place-items:center;font-weight:700;flex-shrink:0}.lesson-title{font-size:16px;font-weight:700;display:block}.lesson-desc{font-size:13px;display:block;color:var(--muted);margin-top:4px}.lesson-chevron{margin-left:auto;color:var(--teal);font-size:20px}.lesson-card.complete .lesson-number{background:#e0f2e9;color:var(--green)}.quiet{border:0;background:transparent;padding:7px 10px;color:var(--teal);font-size:14px}.quiet:hover{background:#e7f0f1}.lesson-screen{max-width:1240px;margin:auto;padding:12px 26px 20px}.lesson-nav{display:flex;align-items:center;gap:18px;margin-bottom:12px;min-height:58px}.lesson-nav h1{font-size:23px;margin:4px 0 0;letter-spacing:-.5px}.lesson-kicker{font-size:11px;font-weight:800;color:var(--muted);letter-spacing:1.2px}.stars{margin-left:auto;display:flex;gap:7px;font-size:29px;color:#c8d1d7}.stars .earned,.big-stars .earned{color:#ad7700}.question-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--gold);border-radius:12px;padding:15px 20px;margin-bottom:16px}.question-strip p{font-size:17px;margin:0 0 5px;line-height:1.45}.question-strip h2{font-size:19px;margin:0;line-height:1.35}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.13fr);gap:20px;align-items:start}.model-panel,.work-panel{border:1px solid var(--line);border-radius:16px;background:#fff;padding:20px;min-width:0}.model-panel{background:#edf4f4}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;margin-bottom:15px}.panel-heading .eyebrow{margin:0}.panel-heading>span:not(.eyebrow){font-size:12px;color:var(--muted)}.visual-caption{font-size:15px;color:#36575d;line-height:1.5;text-align:center;margin:18px 0 0}.ratio-head{display:grid;grid-template-columns:1fr .8fr 1fr;gap:12px;text-align:center;font-size:10px;letter-spacing:1.3px;font-weight:800;color:#47646a;margin-bottom:10px}.ratio>div:not(.arrow){background:#fff;padding:12px 5px}.ratio .target{background:#dbeeee!important}.ratio .revealed{box-shadow:inset 0 0 0 2px #70a7a2}.ratio b{font-family:'Paper Hand','Comic Sans MS',cursive;font-size:31px;line-height:1.2;font-weight:700}.ratio span{display:block;font-size:14px}.ratio .fraction{display:inline-flex;font-size:26px}.ratio .fraction span{font-size:inherit;color:inherit}.ratio .arrow{font-family:'Paper Hand',cursive;font-size:23px;color:#54777c}.ratio .arrow.shown{color:var(--teal)}.fraction{display:inline-flex;vertical-align:middle;flex-direction:column;text-align:center;line-height:1.05;margin:0 .12em;min-width:.7em;font-size:.85em}.fraction>span{padding:.1em .14em}.fraction>span:first-child{border-bottom:1.7px solid currentColor}.groups-model{margin-bottom:18px;color:#47646a;font-size:13px}.group-strip{display:flex;gap:4px;margin-top:8px}.group{flex:1;background:#cfe1e1;min-height:31px;display:grid;place-items:center;border-radius:4px;font-weight:700}.group.selected{background:var(--teal);color:white}.fraction-model{margin-bottom:22px}.bar-label{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:10px;gap:12px}.fraction-strip{display:flex;gap:4px}.fraction-part{height:66px;background:#d9e6e6;flex:1;display:flex;align-items:center;justify-content:center;color:#4a666a;transition:background .8s,color .8s}.fraction-part:first-child{border-radius:8px 0 0 8px}.fraction-part:last-child{border-radius:0 8px 8px 0}.fraction-part.given{background:var(--teal);color:white}.fraction-part.filled{background:#91c4bc;color:#173d37}.fraction-part .fraction{font-size:21px}.target-price{border-top:1px solid #bfd5d5;margin-top:17px;padding-top:13px}.target-price>span{font-size:11px;letter-spacing:1px;color:#426067;font-weight:700}.target-price>div{display:flex;justify-content:space-between;align-items:center;font-family:'Paper Hand',cursive;font-size:24px;margin-top:7px}.target-price b span{font-size:20px}.target-price strong{background:#fff;border-radius:8px;padding:5px 12px}.currency-change{font-family:'Paper Hand',cursive;font-size:24px;text-align:center;margin-top:18px}.currency-change span{font-size:19px;color:var(--teal);margin:0 5px}.compare-visual{display:grid;grid-template-columns:1fr 1fr;gap:14px}.package-rate{background:#fff;border-radius:12px;padding:17px 13px;text-align:center;position:relative}.bag-label{font-size:12px;letter-spacing:1px;font-weight:800;color:var(--muted)}.package-given{display:flex;flex-direction:column;margin-top:15px;gap:4px}.package-given b{font-size:27px}.package-given span{font-size:14px;color:var(--muted)}.normalize-arrow{padding:14px 0;font-family:'Paper Hand',cursive;color:var(--teal);font-size:24px}.one-unit{display:flex;flex-direction:column;background:#e3f1ec;border-radius:10px;padding:12px;gap:6px}.one-unit span{font-size:13px}.one-unit b{font-family:'Paper Hand',cursive;font-size:30px}.best-label{display:block;font-size:12px;color:var(--green);font-weight:700;margin-top:12px}.package-rate.winner{box-shadow:inset 0 0 0 2px #4c977d}.speed-tracks{margin-bottom:20px}.journey{margin-bottom:17px}.track-label{display:flex;justify-content:space-between;align-items:center;font-size:15px;margin-bottom:9px}.distance-track{height:21px;background:#d4e3e5;border-radius:5px;overflow:hidden}.distance-fill{height:100%;background:var(--teal);border-radius:5px;transition:width 1.6s ease}.distance-fill.second{background:#91650a}.distance-label{font-size:16px;margin-top:6px;font-weight:700}.distance-label span{font-weight:400;font-size:13px;color:var(--muted)}.track-scale{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.work-panel{background:linear-gradient(#fff,#fff);padding-bottom:18px}.work-panel h2{font-size:20px;line-height:1.3;margin:6px 0 10px}.demo-work{display:flex;flex-direction:column;min-height:340px}.demo-math{font-family:'Paper Hand','Comic Sans MS',cursive;font-size:30px;line-height:1.9;margin:16px 0 28px;min-height:106px}.read-cue{font-family:'Trebuchet MS',sans-serif;font-size:19px;color:var(--muted);display:block;line-height:1.5}.demo-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.demo-controls button{padding:9px 12px;font-size:14px}.demo-controls .primary{margin-left:auto}.speed-control{font-size:13px;color:var(--muted);margin-top:18px;display:flex;align-items:center;gap:10px}select{border:1px solid var(--line);border-radius:7px;padding:6px;background:#fff;color:var(--ink);min-height:36px}.work-history{font-family:'Paper Hand','Comic Sans MS',cursive;font-size:25px;line-height:1.4;max-height:146px;overflow:auto;scrollbar-width:thin}.work-history:empty{display:none}.work-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 7px;padding-bottom:5px;border-bottom:1px solid #edf0f1}.work-row small{font-family:'Trebuchet MS',sans-serif;font-size:12px;color:var(--muted);margin-left:auto}.step-tick{font-size:15px;color:var(--green)}.choice-row{font-family:'Trebuchet MS',sans-serif;font-size:16px;color:var(--teal)}.current-work{border-top:0;padding-top:2px}.work-history:not(:empty)+.current-work{margin-top:8px}.guided-expression{font-family:'Paper Hand',cursive;font-size:26px;line-height:1.4;margin:8px 0;color:#385458}.guided-expression>span:last-child{color:var(--teal)}.feedback{font-size:14px;line-height:1.35;margin:0;min-height:0}.feedback:not(:empty){padding:8px 11px;border-radius:7px;margin:8px 0}.feedback.error{background:#fff0ee;color:#922c36}.feedback.notice{background:#fff4d5;color:#725209}.feedback.success{background:#eaf6ee;color:var(--green)}.answer-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.answer-field{border:2px solid #8aabae;min-height:58px;flex:1;min-width:150px;border-radius:10px;padding:7px 13px;font-family:'Paper Hand',cursive;font-size:27px;background:#fbfdfd;overflow-wrap:anywhere}.answer-field .placeholder{font-family:'Trebuchet MS',sans-serif;font-size:16px;color:#5b7078}.answer-unit{font-size:13px;color:var(--muted);max-width:100px;line-height:1.35}.keypad{display:grid;grid-template-columns:1fr 1fr;gap:12px}.digit-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.keypad button{min-height:43px;padding:5px;font-size:21px;border-radius:8px}.operation-keys{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:stretch}.operation-keys .edit-key{font-size:14px;background:#eef2f4}.operation-keys:not(:has([data-key="÷"])){grid-template-columns:1fr;align-content:start}.fraction-key .fraction{font-size:16px}.check-button{width:100%;display:flex;justify-content:center;gap:15px;margin-top:10px;min-height:45px}.check-button span{font-weight:400}.editable-fraction button{border:0;border-radius:0;min-height:25px;padding:0 10px;font-size:22px;background:#eef4f4}.editable-fraction button:first-child{border-bottom:2px solid var(--ink)}.editable-fraction .focused{background:#f8d56e}.insert-fraction{font-size:13px}.choices{display:grid;gap:10px;margin-top:16px}.choices button{text-align:left;padding:14px;font-size:17px}.coach-cue{display:flex;gap:12px;background:#fff;border-radius:10px;padding:13px;margin-top:17px;font-size:14px;line-height:1.4}.coach-cue strong{white-space:nowrap;color:var(--teal)}.problem-done{text-align:center;padding:15px 0 5px}.done-check{font-size:26px;display:inline-grid;place-items:center;border-radius:50%;width:45px;height:45px;background:#e0f3e8;color:var(--green)}.problem-done p{font-size:15px;color:var(--muted);line-height:1.5}.big-stars{font-size:35px;color:#c8d1d7;letter-spacing:9px;margin:10px 0}.modal-backdrop{position:fixed;inset:0;background:#10212ec2;display:flex;align-items:center;justify-content:center;padding:22px;z-index:10}.modal{background:#fff;border-radius:18px;padding:25px;width:min(620px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 80px #0003}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:14px}.modal-head h2{margin:0;font-size:23px}.modal p{line-height:1.6}.modal .visual-stage{background:#edf4f4;padding:18px;border-radius:12px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.setting-row input{width:22px;height:22px;accent-color:var(--teal)}.file-button{border:1px solid var(--line);border-radius:10px;padding:11px 15px;font-weight:700;cursor:pointer}.small-note{font-size:13px;color:var(--muted)}.example-work{font-family:'Paper Hand',cursive;font-size:25px;line-height:1.7;padding:20px 0}.example-work small{font-family:'Trebuchet MS',sans-serif;font-size:12px}.report-screen{max-width:920px;margin:auto;padding:36px 25px}.report-screen h1{font-size:34px;margin:8px 0}.report-intro{font-size:18px;color:var(--muted)}.readiness-band{background:#fff;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;gap:24px;padding:22px;margin:22px 0}.readiness-band>strong{font-size:58px;line-height:1;color:var(--teal)}.readiness-band small{color:var(--muted);font-size:13px}.report-skills>div{display:flex;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.report-skills>div>span{flex:1}.report-skills strong{font-size:14px}.good{color:var(--green)}.needs{color:#8a5418}details{margin:24px 0}summary{cursor:pointer;padding:10px 0;font-weight:700}.report-screen details section{border-top:1px solid var(--line);padding:12px 0}.report-screen details p{font-size:14px}.reduce-motion *{transition:none!important;animation:none!important}.current-work,.demo-math,.work-row{animation:work-in .35s ease both}@keyframes work-in{from{transform:translateY(6px);opacity:.4}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:850px) and (max-height:800px){.topbar{height:65px;padding-top:8px;padding-bottom:8px}.brand-mark{height:38px;width:38px;font-size:27px}.lesson-screen{padding-top:7px}.lesson-nav{min-height:48px;margin-bottom:8px}.lesson-nav h1{font-size:21px}.question-strip{padding:10px 15px;margin-bottom:11px}.question-strip p{font-size:16px}.question-strip h2{font-size:18px}.model-panel,.work-panel{padding:14px 17px}.panel-heading{margin-bottom:9px;min-height:24px}.panel-heading .quiet{min-height:32px}.keypad button{min-height:36px;padding:3px;font-size:20px}.operation-keys .edit-key{font-size:14px}.answer-field{min-height:48px;font-size:25px}.answer-wrap{margin:8px 0}.check-button{min-height:40px;margin-top:8px;padding:7px}.work-panel h2{font-size:18px;margin:3px 0 7px}.work-history{max-height:102px;font-size:22px}.work-row{margin-bottom:4px;padding-bottom:3px}.guided-expression{font-size:23px;margin:5px 0}.feedback:not(:empty){padding:6px 9px;margin:6px 0}.ratio b{font-size:27px}.fraction-strip .fraction-part{height:52px}.demo-work{min-height:315px}.demo-math{font-size:28px}.visual-caption{margin-top:13px}.coach-cue{margin-top:12px;padding:10px}.problem-done{padding-top:8px}.question-strip .quiet{min-height:35px}}
@media(max-width:1000px){.lesson-screen{padding-left:18px;padding-right:18px}.lesson-layout{gap:13px;grid-template-columns:1fr 1.08fr}.model-panel,.work-panel{padding-left:13px;padding-right:13px}.top-actions{gap:8px}.grade{display:none}.ratio b{font-size:26px}.ratio{gap:8px}.ratio .arrow{font-size:20px}.coach-cue{flex-direction:column;gap:4px}.home{gap:22px}.sunny{width:125px}}
@media(max-width:760px){.lesson-layout{grid-template-columns:1fr}.topbar{padding:10px 16px}.top-control{font-size:12px;padding:7px;min-height:38px}.brand{font-size:13px;gap:7px}.brand-small{font-size:8px}.brand-mark{height:34px;width:34px;font-size:25px}.lesson-screen{padding:10px 14px}.lesson-nav{gap:8px}.lesson-nav h1{font-size:19px}.lesson-nav .quiet{padding:5px}.stars{font-size:23px;gap:3px}.question-strip p{font-size:16px}.question-strip h2{font-size:18px}.model-panel .visual-stage{max-width:440px;margin:auto}.model-panel .ratio b{font-size:26px}.model-panel{padding:14px}.lesson-grid{grid-template-columns:1fr}.full-home{padding:22px 18px}.welcome{min-height:220px}.lesson-desc{font-size:13px}.section-heading>span{max-width:130px;text-align:right}.report-skills>div{gap:10px;flex-wrap:wrap}.report-skills>div>span{min-width:50%}.keypad button{min-height:45px}.work-history{max-height:none}.demo-work{min-height:280px}.sunny{width:110px}.welcome h1{font-size:35px}.welcome p{font-size:15px}.home-actions button{font-size:14px}.report-screen h1{font-size:28px}}
@media(min-width:761px) and (max-width:1100px){.keypad button{min-height:44px}.lesson-nav{min-height:44px}.work-panel .panel-heading{margin-bottom:7px}.question-strip{margin-bottom:10px}.work-history{max-height:83px}}
@media(min-width:761px) and (max-height:850px){.keypad{grid-template-columns:1.5fr 1fr}.digit-keys{grid-template-columns:repeat(4,1fr)}.keypad button{min-height:40px}.work-history{max-height:80px}.work-row{line-height:1.3}.feedback:not(:empty){font-size:13px}.current-work h2{font-size:18px}}
@media(min-width:761px) and (max-width:1100px){.keypad button{min-height:44px}}
.inline-example>p{font-size:15px;line-height:1.5}.inline-example>strong{font-size:16px}.inline-example .example-work{font-size:25px;padding:15px 0;line-height:1.6}.inline-example .example-work>div{margin-bottom:8px}.inline-example .example-work small{display:block;font-size:13px;color:var(--muted)}.inline-example .example-answer{font-family:'Trebuchet MS',sans-serif;font-size:18px;color:var(--teal);font-weight:700}
