:root{--ink:#202b3b;--blue:#294ec8;--slate:#546070;--paper:#faf9f4;--line:#d5d6cf;--white:#fffefa;--muted:#636d79;--grid:#dce4ec;--shadow:0 2px 0 #262e4211;font-family:"DM Sans","Avenir Next",Avenir,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #4368dd;outline-offset:3px}svg{display:block}.wrap{width:min(1192px,calc(100% - 80px));margin:auto}header{height:72px;background:#fffefa;border-bottom:1px solid var(--line)}.bar{height:100%;display:flex;align-items:center;gap:64px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:27px;letter-spacing:-1.7px;font-weight:800}.brand>span{color:var(--blue);margin-left:-11px}.brand svg{width:31px;height:34px}.bar nav{display:flex;height:100%;align-items:center;gap:27px}.bar nav a,.grade,.text-btn,.secondary,.primary,.link-btn,.progress-note a,.chip,.p-meta,.eyebrow,.row-title{display:inline-flex;align-items:center;gap:8px}.bar nav a{font-weight:650;font-size:14px;height:100%;border-block:3px solid transparent;padding:0 2px;color:#586170}.bar nav a.active{border-bottom-color:var(--blue);color:var(--blue)}.grade{margin-left:auto;font-size:14px;font-weight:650;border:1px solid #ccd1d6;border-radius:20px;padding:6px 12px;background:#f5f6f2;gap:6px}.grade sup,.eyebrow sup{margin-left:-6px;align-self:flex-start;font-size:.7em}.grade sup{margin-top:1px}.ic{width:19px;height:19px;flex-shrink:0;vertical-align:middle}i[data-icon]{display:inline-flex;font-style:normal}sup{line-height:1}.hero{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:209px;padding:19px 0 10px;position:relative}.eyebrow,.label,.p-meta,.scene-tag,.tag{font-family:"IBM Plex Mono","SFMono-Regular",Consolas,monospace}.eyebrow,.label{font-size:11.5px;font-weight:700;letter-spacing:1.4px}.eyebrow{color:var(--blue);gap:8px}.eyebrow sup{font-size:8px;margin-left:-7px}.line{width:25px;height:2px;background:var(--blue)}h1,h2,h3,p{margin:0}.hero h1{font-size:clamp(44px,5vw,72px);line-height:1.13;font-weight:740;letter-spacing:-4px;margin:10px 0 8px}.hero h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:500;color:var(--blue);letter-spacing:-4px;position:relative;white-space:nowrap}.hero h1 em:after{content:"";position:absolute;left:1%;right:7%;bottom:-3px;height:5px;background:#ee8d78;border-radius:60%;transform:rotate(-2deg)}.hero p{font-size:17px;color:#56606c}.hero #hero-art{width:32%;max-width:350px;height:166px;flex:none;margin-right:12px}.hero #hero-art svg{width:100%;height:100%}.section-head{display:flex;align-items:center;gap:17px;margin:8px 0 19px}.section-head h2{font-weight:720;font-size:25px;letter-spacing:-1px}.section-head>span{height:1px;background:var(--line);flex:1}.text-btn,.link-btn{background:transparent;border:0;color:var(--blue);font-weight:650;font-size:14px;padding:7px 0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 287px;gap:23px;align-items:start}.panel,.progress-note,.problem-card{background:var(--white);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.problem-card{overflow:hidden}.card-body{padding:24px 26px 22px}.problem-top,.note-top,.dialog-head,.answer-footer,.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.p-meta{color:var(--blue);font-size:11.5px;letter-spacing:1.2px;font-weight:750;gap:7px}.p-meta svg{width:16px;height:16px}.level{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13px}.level i{display:flex;gap:2px;align-items:end}.level b{width:4px;border-radius:1px;background:#d0d6d5}.level b:nth-child(1){height:5px;background:#6c907c}.level b:nth-child(2){height:8px}.level b:nth-child(3){height:11px}.level.two b:nth-child(2){background:#6c907c}.problem-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(150px,.75fr);gap:24px;align-items:center;margin:19px 0 18px}.problem-layout h2,.dialog-head h2,.progress-page h2{font-size:clamp(25px,2.6vw,36px);line-height:1.12;letter-spacing:-1.7px;font-weight:720}.story{font-size:16px;line-height:1.56;color:#404955;margin-top:12px}.story b{color:var(--ink);font-weight:700}.scene{height:166px;border-radius:8px;overflow:hidden;background-color:#f0f4fa;background-image:linear-gradient(#dce4ed99 1px,transparent 1px),linear-gradient(90deg,#dce4ed99 1px,transparent 1px);background-size:14px 14px;border:1px solid #d7e0e9;display:flex;align-items:center;justify-content:center}.scene svg{height:100%;width:100%;max-width:340px}.question{display:flex;align-items:center;gap:13px;background:#eef2ff;border:1px solid #dce3ff;border-left:3px solid var(--blue);border-radius:5px;padding:12px 15px;font-size:16px;font-weight:650;line-height:1.44}.question .q{font-family:Georgia,serif;font-weight:bold;color:var(--blue);font-size:25px;line-height:1}.problem-bottom{display:flex;align-items:center;justify-content:space-between;padding:10px 26px;background:#fafaf7;border-top:1px solid #e0e1da}.chip{font-size:12px;font-weight:650;color:#526071;gap:6px}.chip svg{width:16px}.hint-btn{font-size:13px;font-weight:650;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#705315;padding:5px 1px}.hint-btn svg{width:16px}.hint{border-top:1px solid #dfd6b8;background:#fff8df;padding:14px 26px;font-size:15px;line-height:1.48}.topics{padding:21px 17px 12px}.topics h2,.progress-note h2,.solutionbox h2,.work h2{font-size:21px;letter-spacing:-.8px;font-weight:720}.topics h2{display:flex;align-items:center;gap:9px;padding:0 5px 14px}.topics h2 .ic{width:19px}.theme-btn{width:100%;text-align:left;display:flex;gap:10px;align-items:center;border:1px solid transparent;border-radius:7px;padding:9px 8px;background:transparent;font-size:14px;font-weight:600;margin:2px 0}.theme-btn:hover,.theme-btn:focus-visible{background:#f1f3f6}.theme-btn.selected{background:#edf1ff;border-color:#d6dffc;color:#2647ac}.theme-swatch{display:inline-grid;place-items:center;width:31px;height:31px;flex:none;border-radius:6px;color:#304dc6;background:#dce4ff}.theme-swatch .ic{width:19px}.fr{color:#ac493c;background:#fbe0d5}.de{color:#84611b;background:#f7edbd}.ge{color:#287268;background:#d9ece4}.theme-btn small{font-size:12px;margin-left:auto;color:#677183;font-weight:500}.progress-note{margin-top:16px;padding:18px 21px;position:relative;overflow:hidden;background-color:#fff4cc;background-image:linear-gradient(90deg,#dcc98235 1px,transparent 1px),linear-gradient(#dcc98235 1px,transparent 1px);background-size:16px 16px;border-color:#dfd09e}.note-top{color:#846b20}.progress-note .label{font-size:10.5px}.progress-note h2{margin-top:5px}.note-count{display:flex;align-items:baseline;gap:5px;margin-top:12px}.note-count strong{font-family:Georgia,serif;font-style:italic;font-size:38px;font-weight:500;line-height:1}.note-count span{color:#655f4f;font-size:16px}.meter{height:7px;border-radius:9px;background:#e7dab1;overflow:hidden;margin:10px 0 7px}.meter span{display:block;height:100%;background:var(--blue);border-radius:inherit}.progress-note p{font-size:13px;color:#635c48}.progress-note a{font-size:13px;font-weight:650;margin-top:15px}.progress-note a svg{width:16px}.work{margin-top:17px;padding:23px 26px}.row-title{gap:11px}.pencil-icon{color:var(--blue);background:#edf1ff;border-radius:7px;display:grid;place-items:center;width:32px;height:32px}.work label,.answer-footer label{display:block;font-size:14px;font-weight:650;margin:14px 0 6px}.work p.instruction{color:var(--slate);font-size:14px;line-height:1.5;margin:7px 0 13px}.work textarea,.work input{width:100%;border-radius:7px;border:1px solid #bfc5cd;color:var(--ink);background:#fff;outline-offset:1px}.work textarea{resize:vertical;padding:11px 13px;min-height:95px;line-height:1.65;background:repeating-linear-gradient(to bottom,#fff 0,#fff 25px,#e3e8ee 26px,#fff 27px);background-position-y:13px}.work textarea::placeholder,.work input::placeholder{color:#717b87}.answer-footer>div:first-child{width:min(45%,280px)}.answer-footer{align-items:flex-end;flex-wrap:wrap}.input-unit{position:relative;display:flex;align-items:center}.input-unit input{padding:10px 12px;min-width:0}.input-unit span{padding:0 8px;font-size:14px;color:var(--slate)}.primary,.secondary{border-radius:7px;font-weight:650;font-size:14px;padding:12px 16px;justify-content:center}.primary{color:white;background:var(--blue);border:1px solid #2448bc;box-shadow:0 2px 0 #15368e}.primary:hover{background:#203da7}.secondary{background:white;border:1px solid #c0c7d0}.feedback{margin-top:15px;border-top:1px solid var(--line);padding-top:15px;line-height:1.55}.feedback h3{font-size:18px}.good{color:#26714d}.retry{color:#96511e}.feedback p{margin:6px 0}.feedback details{margin:11px 0}.feedback summary{cursor:pointer;font-weight:600}.feedback .secondary{margin:7px 6px 0 0}.error{color:#873b26;margin-top:12px}.icon-btn{background:transparent;border:1px solid var(--line);border-radius:50%;height:36px;width:36px;font-size:24px}.list-row{width:100%;background:#fffefa;border:1px solid var(--line);padding:12px;display:flex;align-items:center;gap:11px;border-radius:7px;text-align:left;margin:6px 0;font-weight:600}.list-row:hover{border-color:var(--blue);background:#f2f5fd}.list-row small{margin-left:auto;font-weight:500;color:var(--muted)}dialog{border:1px solid #c7cbd5;border-radius:14px;padding:22px 26px;color:var(--ink);width:min(550px,calc(100% - 25px));max-height:82dvh;background:var(--white);box-shadow:0 20px 90px #25304435}dialog::backdrop{background:#17213961}.dialog-head{margin-bottom:15px}.dialog-head .label{font-size:11px;color:var(--blue)}.dialog-head h2{font-size:27px;margin-top:4px}.progress-page{padding:24px}.progress-page>p,.progress-page h3{margin:12px 0}.progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.progress-grid article{border:1px solid var(--line);border-radius:9px;padding:14px}.progress-grid .meter{background:#e3e7ee}footer{border-top:1px solid var(--line);margin-top:36px!important;display:flex;align-items:center;justify-content:space-between;padding:18px 0 22px;color:#66707d}footer>span{font-weight:750;letter-spacing:-.7px}footer small{font-size:12px}.blue{color:var(--blue)}[hidden]{display:none!important}
@media(min-width:1450px){.hero{min-height:230px}.hero #hero-art{height:186px}}@media(max-width:1050px){.wrap{width:calc(100% - 56px)}.workspace{grid-template-columns:minmax(0,1fr) 247px;gap:16px}.problem-layout{gap:14px;grid-template-columns:1.15fr .8fr}.card-body,.work{padding:19px}.scene{height:153px}.theme-btn{padding:7px 4px}.bar{gap:40px}}@media(max-width:820px){.wrap{width:calc(100% - 36px)}.workspace{grid-template-columns:minmax(0,1fr)}aside{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.progress-note{margin:0}.hero{min-height:180px}.hero p{font-size:15px}.hero #hero-art{width:29%;margin:0}.grade{font-size:12px}.section-head{margin-top:6px}.bar{gap:24px}.bar nav{gap:15px}.problem-layout{grid-template-columns:1.35fr 1fr}.scene{height:155px}}@media(max-width:580px){header{height:auto}.bar{flex-wrap:wrap;column-gap:10px;row-gap:0;padding-top:10px}.brand{font-size:24px}.brand svg{height:28px;width:26px}.grade{order:1}.bar nav{order:2;width:100%;height:40px;gap:20px}.bar nav a{font-size:13px}.bar nav svg{width:16px}.hero{min-height:145px;padding:16px 0 10px;gap:0}.hero>div:first-child{z-index:1;max-width:100%}.hero h1{font-size:clamp(36px,8.7vw,50px);letter-spacing:-2.7px;margin:8px 0}.hero h1 em{letter-spacing:-2.5px}.hero p{max-width:72%;font-size:14px;line-height:1.4}.hero #hero-art{width:92px;height:72px;position:absolute;right:-5px;bottom:3px;opacity:.92}.eyebrow{font-size:9px}.section-head{gap:8px;margin:8px 0 12px}.section-head h2{font-size:21px}.text-btn{font-size:12px;gap:5px}.text-btn svg{width:14px}.card-body,.work{padding:16px}.problem-layout{grid-template-columns:1fr;gap:10px;margin:13px 0}.problem-layout h2{font-size:29px}.story{font-size:15px;margin-top:7px}.scene{height:112px}.question{font-size:14px;padding:10px}.problem-bottom{padding:6px 15px}.work,.progress-note{border-radius:10px}.answer-footer{align-items:stretch;gap:13px}.answer-footer>div:first-child{width:100%}.answer-footer .primary{width:100%}.answer-footer input{max-width:188px}.work textarea{font-size:16px}.p-meta,.label{letter-spacing:1px}.level{font-size:12px}aside{grid-template-columns:1fr}.progress-grid{grid-template-columns:1fr}.wrap{width:calc(100% - 28px)}footer{gap:11px;align-items:start}footer small{text-align:right}}
.grid-tool{padding:12px 14px;background:#f1f4fc;border-radius:7px;margin:12px 0}.grid-tool summary{cursor:pointer;color:var(--blue);font-size:14px;font-weight:650}.grid-tool select{font:inherit}.grid-tool #fraction-grid{display:grid;max-width:300px;gap:2px;margin:10px 0}.grid-tool #fraction-grid button{min-height:24px;border:1px solid #8194b4;background:white;border-radius:3px}.grid-tool #fraction-grid button[aria-pressed=true]{background:#5075d8}
.pad-tools,.pad-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pad-tools{margin:12px 0 10px}.pad-tools button{border:1px solid #cbd2da;border-radius:6px;background:#fffefa;padding:7px 10px;font-size:14px;font-weight:600}.pad-tools button[aria-pressed=true]{color:#294ec8;background:#edf1ff;border-color:#8aa2ea}.pad-tools button:disabled,.pad-action button:disabled{cursor:default;opacity:.52}.pad-paper{border:1px solid #c5cfdc;border-radius:8px;overflow:hidden;background-color:white;background-image:linear-gradient(90deg,transparent 5%,#efb6b6 5%,#efb6b6 calc(5% + 1px),transparent calc(5% + 1px)),linear-gradient(#dfe7f2 1px,transparent 1px),linear-gradient(90deg,#dfe7f2 1px,transparent 1px);background-size:100% 100%,20px 20px,20px 20px}.pad-paper canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}.pad-paper canvas.erasing{cursor:cell}.pad-action{margin-top:12px}.pad-action span,.pad-action span a{font-size:14px}.pad-action span a{text-decoration:underline;color:var(--blue)}.scratch [data-review] textarea{white-space:pre-wrap;font-family:ui-monospace,monospace}.scratch [data-accept]{margin-top:6px}.accountbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:13px;padding:5px 0;flex-wrap:wrap}.accountbar button{margin:0}.accountbar [role=status]{color:var(--slate)}@media(max-width:580px){.pad-tools{gap:4px}.pad-tools button{font-size:12px;padding:7px}.pad-paper canvas{aspect-ratio:20/9}.accountbar{justify-content:flex-start}}

.auth-dialog{max-width:440px}.auth-dialog form{display:grid;gap:0}.auth-dialog #signin-help{color:var(--slate);font-size:15px;line-height:1.45}.auth-dialog label{display:block;margin:15px 0 5px;font-size:14px;font-weight:650}.auth-dialog input{display:block;width:100%;padding:10px 12px;border:1px solid #adb9c9;border-radius:7px;background:white;color:var(--ink)}.auth-dialog input:focus-visible{outline:3px solid #4368dd;outline-offset:2px}.auth-dialog #signin-message{color:#983921;margin:13px 0 0;font-size:14px}.auth-dialog .primary{margin:18px 0 2px;min-height:42px}.auth-dialog #signin-attributes:empty{display:none}

.step-help{margin:14px 0 22px}.step-help .secondary{display:inline-flex;align-items:center;gap:8px}.step-help .secondary svg{width:17px;height:17px}.step-help .instruction{margin:7px 0;font-size:.9rem}.step-help [role=status],.feedback .growth{margin:12px 0;padding:12px 15px;background:#f1f5ff;border-left:3px solid #4868bf;border-radius:4px;line-height:1.5}.feedback .growth p{margin:.3em 0 0}
