:root{--bg:#f7f7f2;--paper:#fff;--ink:#292d27;--muted:#797d73;--line:#e7e8df;--purple:#7054c9;--purple-dark:#5d42b3;--lavender:#f0ebfa;--green:#537a50;--green-bg:#edf4e9;--amber:#896126;--amber-bg:#fbf5e9;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #b8a5ef}input:focus-visible{outline:none;border-color:var(--purple);box-shadow:0 0 0 3px #7054c915}button{transition:background .16s,color .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
.site-header{height:90px;max-width:1320px;margin:auto;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:750;letter-spacing:-.8px}.brand-dot{color:var(--purple)}.header-right{display:flex;align-items:center;gap:26px}.grade{font-size:12px;border:1px solid #dedfd6;border-radius:6px;padding:7px 10px;font-weight:600}.help-button{border:0;background:none;display:flex;align-items:center;gap:8px;font-size:12px;color:#60665b;padding:8px 0}.help-icon{border:1.4px solid #848a7e;display:grid;place-items:center;border-radius:50%;width:17px;height:17px;font-size:11px;font-weight:600}
main{max-width:1232px;margin:0 auto;padding:0 0 26px}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:43px 0 36px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;display:flex;align-items:center;gap:7px;margin:0 0 12px;color:#747b6a}.tiny-dot{height:6px;width:6px;background:#9eb191;border-radius:50%}h1{font-size:36px;line-height:1.2;letter-spacing:-1.6px;font-weight:650;margin:0 0 11px}h1 span{color:#868d7c}.intro-copy{font-size:13px;margin:0;color:#777d70}.total-progress{display:flex;gap:17px;align-items:center;padding-right:2px}.progress-symbol{font-size:37px;background:#eaf0e2;color:#7c9866;display:grid;place-items:center;width:67px;height:67px;border-radius:50%;font-weight:300}.progress-caption{font-size:9px;font-weight:700;letter-spacing:1.2px;color:#7c8274;margin:0 0 5px}.progress-value{font-size:23px;margin:0 0 8px;line-height:1}.progress-value strong{font-weight:600}.progress-value span{font-size:15px;color:#989e90}.total-bars{display:flex;gap:4px}.total-bars span{width:13px;height:4px;border-radius:3px;background:#e2e5d9}.total-bars span.filled{background:#7c9866}
.workspace{display:grid;grid-template-columns:286px 1fr;gap:28px;align-items:start}.level-panel{border:1px solid var(--line);border-radius:15px;background:#fbfbf7;overflow:hidden;padding:24px 15px 0}.level-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px}.level-heading h2{font-size:16px;font-weight:650;margin:0}.level-heading>span{font-size:9px;font-weight:700;letter-spacing:1px;color:#919687}.level-intro{font-size:11px;color:#898f80;margin:10px 8px 21px}.level-list-group{font-size:8px;letter-spacing:1.4px;font-weight:700;color:#929786;margin:16px 8px 8px}.level-list-group:first-child{margin-top:0}.level-button{border:1px solid transparent;display:flex;align-items:center;gap:12px;width:100%;min-height:41px;padding:6px 9px;border-radius:9px;color:#69705f;background:transparent;text-align:left;margin:3px 0;position:relative}.level-button:hover{background:#f0f1e9}.level-button.active{background:var(--lavender);border-color:#e6ddf8;color:#6148a9}.step-number{display:grid;place-items:center;height:25px;width:25px;flex-shrink:0;border:1px solid #e1e4d9;border-radius:7px;background:#f3f5ec;font-size:11px;font-weight:600;color:#818a70}.active .step-number{background:var(--purple);border-color:var(--purple);color:#fff}.level-button.done:not(.active) .step-number{background:#e7efdf;border-color:#dce7d2;color:#5c7b42}.step-title{font-size:11.5px;font-weight:550}.step-arrow{margin-left:auto;font-size:17px}.step-done{margin-left:auto;color:#66864e;font-size:14px}.level-footer{margin:21px -15px 0;padding:15px 20px;border-top:1px solid var(--line);font-size:9px;color:#8a9280;display:flex;gap:8px;align-items:center}.level-footer span{color:#9fac8e;font-size:15px}
.practice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:1px 0 19px;min-height:30px}.topic-info{display:flex;gap:12px;align-items:center}.level-badge{background:#e9eedf;color:#708454;letter-spacing:1px;padding:6px 9px;font-size:9px;font-weight:750;border-radius:5px;white-space:nowrap}.practice-heading h2{font-size:17px;font-weight:600;letter-spacing:-.2px;margin:0}.pace{font-size:10px;color:#8b9380;display:flex;gap:7px;align-items:center;white-space:nowrap}.pace span{width:5px;height:5px;background:#9eae8b;border-radius:50%}.exercise-card{background:var(--paper);border:1px solid #e3e5dd;border-radius:16px;box-shadow:0 4px 18px #28331703;padding:26px 32px 23px;min-height:430px}.round-header{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#979c91}.round-dots{display:flex;gap:6px}.round-dots span{height:6px;width:22px;background:#edf0e8;border-radius:4px}.round-dots span.current{background:#bbaaec}.round-dots span.correct{background:#8baa77}.round-dots span.revealed{background:#d8bc83}.question-area{text-align:center;padding:44px 0 35px}.question-area>p:first-child{font-size:12px;color:#7e8378;margin:0 0 23px}.equation{font-family:"Cambria Math",Cambria,"Times New Roman",serif;font-size:46px;line-height:1.3;letter-spacing:1px;font-weight:400;overflow-wrap:anywhere}.question-note{font-size:11px;color:#9ba092;margin:15px 0 0}.answer-row{display:flex;gap:10px;margin-top:9px}label{font-size:11px;font-weight:600;color:#6f7566}#answer{min-width:0;flex:1;height:48px;border:1px solid #dbdfd2;background:#fcfdf9;border-radius:8px;padding:10px 14px;font-size:16px;color:#343a2d}#answer::placeholder{font-size:12px;color:#a6ac9d}#answer:disabled{color:#777e6b;background:#f5f7f0}.primary-button{border:1px solid transparent;background:var(--purple);color:white;border-radius:8px;min-height:46px;padding:12px 19px;font-size:12px;font-weight:550;display:inline-flex;justify-content:center;align-items:center;gap:20px;white-space:nowrap}.primary-button:hover{background:var(--purple-dark)}.primary-button>span{font-size:18px;line-height:1}.primary-button:disabled{opacity:.6}.input-help{font-size:10px;color:#969e8b;margin:9px 0 0}.question-actions{display:flex;align-items:center;gap:13px;border-top:1px solid #eef0e8;margin-top:25px;padding-top:18px}.hint-button{padding:0;border:0;background:none;font-size:11px;display:flex;align-items:center;gap:7px;color:#787060;min-height:25px}.hint-button>span{font-size:20px;color:#ad975e}.hint-button:disabled{color:#a9ad9f}.reveal-button{border:0;border-left:1px solid var(--line);background:none;color:#8a8e80;font-size:10px;padding:5px 0 5px 13px;text-decoration:underline;text-underline-offset:3px}.reveal-button:hover{color:var(--purple)}.enter-tip{margin-left:auto;font-size:9px;color:#abb19f;display:flex;align-items:center;gap:7px}kbd{border:1px solid #e5e8dd;background:#f9faf5;border-radius:4px;padding:1px 5px;font-family:inherit;font-size:12px}.feedback{padding:12px 14px;font-size:12px;line-height:1.5;border-radius:8px;margin-top:15px;background:var(--amber-bg);color:var(--amber)}.feedback.correct{background:var(--green-bg);color:var(--green)}.hint-box{border:1px solid #e9dfc6;background:#fffcf4;color:#7e6c45;padding:13px 14px;margin-top:13px;border-radius:8px;font-size:12px;line-height:1.55}.hint-box strong{display:block;font-size:9px;letter-spacing:1px;margin-bottom:5px}.solution-box{padding:17px;background:#f7f8f3;border:1px solid #e9ebdf;border-radius:9px;margin-top:15px}.solution-label{font-size:9px;letter-spacing:1.4px;font-weight:650;color:#879775}.solution-box p{font-size:12px;line-height:1.6;margin:7px 0 0;color:#666e5c}.solution-box .final-answer{font-family:Cambria,serif;font-size:22px;color:#465b35;margin:10px 0 1px}.next-row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:18px}.next-row>span{font-size:10px;line-height:1.5;color:#8a927f}.under-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 1px}.encouragement{font-size:10px;color:#8a927e;display:flex;align-items:center;gap:7px}.encouragement>span{font-size:16px;color:#95a47f}.save-note{font-size:9px;color:#9ca491;text-align:right}.method-note{display:flex;align-items:center;gap:14px;padding:21px 23px;border:1px solid #e8eade;background:#eff2e7;border-radius:11px;margin-top:11px}.method-icon{width:37px;height:37px;border:1px solid #d6deca;border-radius:9px;color:#7c9166;display:grid;place-items:center;font-family:Cambria,serif;font-size:23px;font-style:italic;flex-shrink:0}.method-note h3{font-size:11px;font-weight:650;color:#707f5c;margin:0 0 6px}.method-note p{font-size:10px;line-height:1.6;color:#8a947c;margin:0}.site-footer{max-width:1232px;margin:16px auto 0;padding:20px 0 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#a2a996}.site-footer>span:first-child{font-weight:650}
.round-complete{text-align:center;padding:35px 12px 17px}.round-complete .completion-mark{display:grid;place-items:center;background:#eef4e7;width:62px;height:62px;border-radius:50%;font-size:28px;color:#7d9d5d;margin:0 auto 18px}.round-complete h3{font-size:25px;letter-spacing:-.7px;font-weight:600;margin:0 0 10px}.round-complete>p{font-size:12px;line-height:1.65;color:#868e7a;max-width:360px;margin:0 auto 22px}.round-stats{display:flex;justify-content:center;gap:35px;margin:25px 0}.round-stat strong{display:block;font-size:26px;font-weight:500;color:#677f4d;margin-bottom:5px}.round-stat span{font-size:10px;color:#929a85}.complete-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:25px}.secondary-button{border:1px solid #dce1d3;background:#fafbf6;color:#747f66;border-radius:8px;padding:12px 18px;font-size:12px;min-height:46px}.secondary-button:hover{background:#eff2e7}
dialog{max-width:480px;width:calc(100% - 32px);border:1px solid #e1e6d8;border-radius:17px;padding:34px;color:var(--ink);box-shadow:0 15px 60px #20281422}dialog::backdrop{background:#252b2345;backdrop-filter:blur(3px)}dialog h2{font-size:24px;letter-spacing:-.8px;line-height:1.2;margin:10px 0 20px}dialog p,dialog li{font-size:12px;color:#7b8571;line-height:1.75}dialog ul{padding-left:17px}dialog li{margin-bottom:10px}dialog strong{color:#606e52}dialog .dialog-note{font-size:10px;border-top:1px solid var(--line);padding-top:15px;margin:18px 0}.close-dialog{position:absolute;right:16px;top:10px;font-size:25px;background:none;border:0;color:#8d9781;padding:4px 7px}
@media(min-width:1450px){.site-header{height:98px}.intro{padding-top:53px;padding-bottom:43px}.exercise-card{min-height:460px}.question-area{padding-top:55px;padding-bottom:42px}.level-button{min-height:43px}}
@media(max-width:1320px){main,.site-footer{margin-left:44px;margin-right:44px}}
@media(max-width:1000px){.workspace{grid-template-columns:239px 1fr;gap:21px}.exercise-card{padding:23px}.intro{padding:34px 0 31px}h1{font-size:31px}.total-progress{gap:10px}.progress-symbol{width:50px;height:50px;font-size:30px}.step-title{font-size:10.5px}.level-button{gap:9px;padding-left:6px}.level-panel{padding-left:10px;padding-right:10px}.level-footer{margin-left:-10px;margin-right:-10px;font-size:8px;padding-left:16px}.under-card{align-items:flex-start}.encouragement{font-size:9px}.save-note{max-width:110px;font-size:8px}.pace{display:none}.answer-row{gap:8px}.primary-button{padding-left:14px;padding-right:14px;gap:12px}}
@media(max-width:760px){.site-header{height:73px;padding:0 22px}.brand{font-size:20px;gap:9px}.brand img{width:31px;height:31px}.header-right{gap:16px}.help-label{display:none}.grade{font-size:10px;padding:6px 8px}main,.site-footer{margin-left:22px;margin-right:22px}.intro{padding:31px 0 26px;gap:10px}.eyebrow{font-size:8px;letter-spacing:1.3px}h1{font-size:28px;line-height:1.25;letter-spacing:-1px;max-width:280px}.intro-copy{font-size:11px;line-height:1.6;max-width:255px}.total-progress{align-self:flex-start;padding-top:18px}.progress-symbol,.progress-caption{display:none}.progress-value{text-align:right;font-size:24px}.progress-value span{font-size:12px}.total-bars{gap:2px}.total-bars span{width:5px;height:4px}.workspace{display:flex;flex-direction:column;gap:25px}.level-panel{width:100%;padding:17px 14px 13px;border-radius:12px}.level-heading{padding:0}.level-heading h2{font-size:13px}.level-heading>span{font-size:8px}.level-intro{margin:7px 0 14px;font-size:10px}#level-list{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.level-list-group,.step-title,.step-arrow,.step-done,.level-footer{display:none}.level-button{padding:0;min-height:34px;justify-content:center;border-radius:7px;margin:0}.step-number{height:32px;width:100%;border-radius:6px;font-size:11px}.level-button.active{border-color:transparent;background:none}.level-button.done:not(.active) .step-number{border-bottom:3px solid #90aa75}.practice{width:100%}.practice-heading{margin-bottom:13px}.practice-heading h2{font-size:15px}.level-badge{font-size:8px}.exercise-card{padding:22px 20px 20px;min-height:400px;border-radius:13px}.question-area{padding:36px 0 29px}.equation{font-size:36px;letter-spacing:.5px}.question-area>p:first-child{font-size:11px;margin-bottom:20px}.question-note{font-size:10px}.answer-row{flex-direction:column;gap:10px}#answer{width:100%;min-height:48px}.answer-row .primary-button{width:100%;height:46px}.input-help{font-size:9px;line-height:1.6}.question-actions{margin-top:20px;padding-top:13px}.enter-tip{display:none}.reveal-button{margin-left:auto}.hint-button{min-height:32px;font-size:11px}.reveal-button{min-height:32px}.under-card{padding:14px 0;gap:9px}.encouragement{font-size:9px;max-width:200px;line-height:1.6}.save-note{font-size:8px;max-width:90px;line-height:1.6}.method-note{padding:16px;gap:12px;margin-top:2px}.method-note p{font-size:10px}.site-footer{margin-top:6px;font-size:8px;padding-bottom:22px}.next-row{flex-direction:column;align-items:stretch}.next-row .primary-button{width:100%}.next-row>span{text-align:center}.round-complete{padding:29px 0 14px}.round-complete h3{font-size:23px}.round-complete>p{font-size:11px}.complete-actions{flex-direction:column}.round-stats{gap:25px}.round-stat strong{font-size:23px}dialog{padding:29px 25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Reading, lesson and exercise layouts for the complete ladder. */
:root{--muted:#646c5d}body{font-size:15px;line-height:1.5}.intro-copy{font-size:14px;color:#626c59}.eyebrow{font-size:11px;color:#5e6d54}.progress-caption{font-size:10px;color:#65755a}.level-intro{font-size:12px;color:#637158}.step-title{font-size:12px;line-height:1.45}.level-button{min-height:49px;padding:9px;align-items:center}.step-number{font-size:12px}.level-footer{font-size:11px;line-height:1.6;color:#606d54;display:block}.level-heading>span{font-size:10px;color:#6c785f}.practice-heading{justify-content:flex-start;align-items:flex-start}.practice-heading h2{font-size:19px;line-height:1.5}.level-badge{font-size:10px;color:#4c6634;margin-top:4px}.practice{min-width:0}.sublevel-list{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:8px}.sublevel{border:1px solid #e0e3d9;border-radius:10px;background:#fafbf6;color:#68725e;text-align:left;padding:12px 13px;min-height:69px}.sublevel strong{display:block;font-size:13px;font-weight:650}.sublevel span{display:block;font-size:10px;margin-top:4px}.sublevel:hover{background:#f0f1e9}.sublevel.active{background:var(--lavender);border-color:#bdaae8;color:#6044ab}.path-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 1px 12px;font-size:11px;color:#65715b}.text-button{border:0;background:none;color:#67538f;padding:7px 2px;font-size:12px;min-height:34px;text-decoration:underline;text-underline-offset:3px}.text-button:hover{color:#452787}.exercise-card{padding:25px 30px;min-height:440px;outline:none}.exercise-card:focus-visible{outline:2px solid #baa9dd;outline-offset:4px}.round-header{font-size:12px;color:#67725e}.round-header>span:last-child{font-size:10px;letter-spacing:1px;color:#797b86}.path-bar{height:4px;background:#edf0e7;border-radius:9px;margin-top:13px;overflow:hidden}#path-fill{height:100%;background:#a894d6;border-radius:9px}.task-title{font-size:19px;font-weight:600;line-height:1.5;margin:29px 0 16px}.task-copy,.lesson-copy{font-size:15px;line-height:1.8;color:#505b47;margin:13px 0}.lesson-title{font-size:25px;font-weight:620;letter-spacing:-.5px;margin:29px 0 16px;line-height:1.3}.lesson-copy{max-width:650px}.question-math{font-size:30px;text-align:center;margin:29px 0 32px;overflow-x:auto;padding:7px 0 12px}.math-line{font-size:23px;overflow-x:auto;padding:8px 3px 13px}.math-line math,.question-math math{width:max-content;min-width:min-content;max-width:none;margin:0 auto}math{font-family:'Cambria Math',Cambria,'STIX Two Math','Times New Roman',serif}.example-box{background:#f5f5ef;border:1px solid #e5e9dd;border-radius:11px;padding:20px 23px;margin:23px 0}.example-box .eyebrow{font-size:10px;margin-bottom:12px}.worked-step p{font-size:14px;line-height:1.7;margin:6px 0 2px;color:#526048}.worked-step+.worked-step{margin-top:13px}.source-blocks{background:#f9faf5;border-left:3px solid #dce2cf;padding:12px 17px;margin:20px 0;max-height:420px;overflow:auto}.source-blocks .worked-step p{font-size:12px}.source-blocks .math-line{font-size:21px}.source-blocks .math-line math{margin-left:0}.adaptation-note{font-size:11px;color:#697361;font-style:italic}.answer-form{margin-top:25px}label{font-size:13px;color:#546147}button,input,textarea{font:inherit}input,textarea{outline-offset:3px}textarea:focus-visible{outline:2px solid #b7a0e4}.answer-row{margin-top:9px}#answer{height:51px;font-size:18px;padding:11px 14px;background:#fcfdf9}#answer::placeholder{font-size:14px;color:#7f8875}#answer:disabled{color:#5b6551}.long-answer{display:block}textarea#answer{height:auto;display:block;width:100%;line-height:1.7;resize:vertical}.primary-button,.secondary-button{font-size:13px;font-weight:550;min-height:45px;padding:12px 20px;white-space:normal}.primary-button:disabled{opacity:.55}.secondary-button{color:#566745}.check-button{margin-top:16px}.input-help{font-size:11px;line-height:1.7;color:#6a755e}.answer-preview:empty{display:none}.answer-preview{background:#faf9fd;border-radius:7px;margin-top:12px;padding:10px 13px;overflow-x:auto;min-height:45px}.preview-label{font-size:10px;color:#807489}.preview-math{font-size:22px;margin:7px 0;overflow-x:auto}.preview-math math{margin-left:0;width:max-content}.scratchpad{margin-top:22px;font-size:12px;color:#667458}.scratchpad summary{cursor:pointer;padding:6px 0}.scratchpad label{font-size:11px;display:block;margin:10px 0}.scratchpad textarea{display:block;width:100%;border:1px solid #dfe4d7;border-radius:7px;padding:10px;color:#425039;resize:vertical;background:#fafbf7;font-size:15px}.question-actions{margin-top:19px;gap:20px}.hint-button{font-size:13px;color:#796134;min-height:38px}.reveal-button{font-size:12px;color:#695e7c;min-height:38px;padding-left:20px}.feedback{font-size:14px;line-height:1.7;padding:14px 17px}.hint-box{font-size:14px;line-height:1.75;padding:16px 19px}.hint-box strong{font-size:10px}.solution-box{padding:21px;margin-top:22px;background:#f4f7f0}.solution-label{font-size:11px;letter-spacing:1.1px;margin:0 0 13px;color:#62774f}.solution-box p{font-size:14px;color:#526447}.solution-box .final-answer{font-size:27px;overflow-x:auto;padding:10px 2px}.solution-box .final-answer math{margin-left:0;width:max-content}.solution-box .answer-caption{font-size:12px;font-weight:600;margin-top:20px}.domain-note{border-top:1px solid #dbe3d1;padding-top:12px;margin-top:18px;font-size:12px;color:#5c6d51}.domain-note .math-line{font-size:18px;display:inline-block;margin-right:15px}.solution-box .source-note{font-size:11px;color:#6c6656;border-top:1px solid #dbe3d1;padding-top:10px;margin-top:14px}.next-row{margin-top:23px}.next-row>span{font-size:12px;color:#6d775f}.task-bottom{display:flex;justify-content:space-between;gap:14px;margin-top:23px;border-top:1px solid #edf0e6;padding-top:12px}.task-bottom:empty{display:none}.task-bottom>button:only-child{margin-left:auto}.encouragement{font-size:11px;color:#6c795e;line-height:1.6}.save-note{font-size:10px;color:#6c785e;max-width:180px;line-height:1.6}.method-note h3{font-size:13px;color:#50683e}.method-note p{font-size:12px;line-height:1.7;color:#61714f}.method-note{align-items:flex-start}.site-footer{font-size:10px;color:#758367}.round-complete>p{font-size:14px;color:#607450;max-width:480px}.round-complete .mastered{font-weight:600;color:#487237}.round-complete h3{font-size:25px}.choices{border:0;padding:0;margin:0;display:grid;gap:10px}.choice{display:flex;gap:12px;align-items:center;border:1px solid #dfe4d7;border-radius:8px;background:#fcfdf9;padding:13px;cursor:pointer;flex-wrap:wrap;font-size:14px}.choice:has(input:checked){background:#f3effb;border-color:#bda9e5}.choice input{accent-color:var(--purple);width:18px;height:18px;flex-shrink:0}.choice math{font-size:21px;max-width:100%;overflow-x:auto}.review-controls{border:1px solid #dfe4d6;border-radius:10px;padding:18px 20px;margin-top:18px}.review-controls h4{font-size:15px;margin:0 0 12px}.review-controls>p{font-size:13px}.review-check{display:flex;gap:10px;align-items:flex-start;margin:15px 0;font-size:13px;font-weight:400}.review-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--purple)}.review-controls .next-row{align-items:stretch;flex-wrap:wrap}.figure{margin:25px auto;max-width:500px}.figure figcaption{text-align:center;font-size:11px;line-height:1.7;color:#707c62;margin-top:17px}.balance-pans{display:flex;justify-content:space-between;gap:25px;align-items:flex-end;padding:0 10px}.balance-pan{width:45%;border:1px solid #b1bea0;border-bottom:5px solid #81946e;border-radius:4px 4px 30px 30px;background:#f1f5e9;min-height:69px;display:grid;place-items:center;font-size:23px;padding:15px 10px;overflow-x:auto}.balance-beam{height:5px;background:#927aa6;margin-top:16px;border-radius:4px}.balance-foot{margin:0 auto;width:45px;height:26px;background:#b3a1c4;clip-path:polygon(50% 0,100% 100%,0 100%)}.area-rect{display:flex;position:relative;margin:32px auto 35px;width:85%;height:130px;border:2px solid #7d9564}.area-part{width:60%;display:grid;place-items:center;position:relative;background:#e2edd4;font-size:26px}.area-other{width:40%;background:#eee4fa;border-left:2px solid #7d9564}.area-height{position:absolute;left:-24px;top:42%;font:italic 21px Cambria,serif}.area-width{position:absolute;bottom:-31px;font:italic 21px Cambria,serif}.pyramid{max-width:540px}.pyramid-row{display:flex;justify-content:center;gap:7px;margin-top:7px}.pyramid-cell{display:grid;place-items:center;min-width:0;width:31%;height:62px;border:1px solid #d8dfcb;border-radius:7px;background:#f4f7ed;font-size:22px;overflow-x:auto}.pyramid-input{height:100%;width:100%;min-width:0;border:1px solid #bfaee0;border-radius:6px;background:#faf8fe;text-align:center;font-size:16px;padding:5px}.pyramid-input:focus{border-color:var(--purple)}.pyramid-input.field-correct{border:2px solid #648b4e}.pyramid-input.field-wrong{border:2px solid #b9904f}.fraction-list{display:flex;gap:20px;align-items:center;flex-wrap:wrap;justify-content:center;margin:22px 0}.fraction-list .math-line{font-size:28px}.fraction-list>span{font-size:13px;color:#6b765f}.map-dialog{max-width:690px}.map-dialog>p{font-size:12px}#task-map{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:21px}.map-item{padding:12px;border:1px solid #dfe5d6;border-radius:8px;background:#fbfcf7;color:#657857;display:flex;justify-content:space-between;gap:8px;text-align:left;font-size:13px;min-height:46px}.map-item.current{border-color:#ad95d4;background:#f5effd;color:#624999}.map-item.done{color:#427234}.map-item:hover{background:#eff3e8}dialog{max-height:88vh;overflow-y:auto;max-width:600px}dialog p,dialog li{font-size:14px;color:#617253}dialog .dialog-note{font-size:11px;color:#738065}.close-dialog{color:#617253;min-height:40px;min-width:40px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.workspace{grid-template-columns:230px minmax(0,1fr)}.sublevel{padding:11px 8px}.sublevel span{font-size:9px}.practice-heading h2{font-size:17px}.exercise-card{padding:23px}.question-math{font-size:27px}}
@media(max-width:760px){.site-header{padding:0 20px}.help-icon{width:23px;height:23px;font-size:14px}.intro{padding-top:27px;padding-bottom:25px}.intro-copy{font-size:12px;max-width:240px}h1{font-size:29px;max-width:290px}.workspace{display:flex;gap:23px}main,.site-footer{margin-left:18px;margin-right:18px}.level-panel{padding:15px 12px 13px}.level-intro{font-size:11px;margin-top:6px}.level-button{padding:0;min-height:34px}.level-footer,.step-title,.step-done{display:none}.step-number{height:34px;font-size:12px}.level-heading h2{font-size:14px}.level-heading>span{font-size:9px}.practice-heading h2{font-size:17px}.level-badge{font-size:9px}.sublevel-list{gap:5px;grid-template-columns:1.38fr 1fr 1fr 1fr}.sublevel{padding:11px 7px;min-height:61px;border-radius:8px}.sublevel strong{font-size:11px;letter-spacing:-.15px}.sublevel span{font-size:9px;line-height:1.4}.path-meta{font-size:10px;margin-top:11px;gap:6px}.text-button{font-size:11px}.exercise-card{padding:20px 16px;min-height:400px}.round-header{font-size:11px}.round-header>span:last-child{font-size:9px}.task-title{font-size:18px;margin-top:25px}.question-math{font-size:26px;margin:23px 0}.lesson-title{font-size:23px}.lesson-copy,.task-copy{font-size:14px}.example-box{padding:16px;margin:19px 0}.worked-step p{font-size:13px}.math-line{font-size:23px}.source-blocks{padding:10px 11px}.source-blocks .math-line{font-size:20px}.input-help{font-size:10px}#answer{font-size:17px}.check-button{width:100%}.answer-form{margin-top:22px}.question-actions{gap:12px}.hint-button,.reveal-button{font-size:12px}.hint-box,.feedback{font-size:13px;padding:14px}.solution-box{padding:16px}.solution-box p{font-size:13px}.solution-box .final-answer{font-size:25px}.next-row{gap:10px}.next-row>span{font-size:11px}.under-card{padding-top:12px}.encouragement{font-size:10px;max-width:210px}.save-note{font-size:9px;max-width:120px}.method-note h3{font-size:12px}.method-note p{font-size:11px}.method-note{padding:15px}.site-footer{font-size:9px;line-height:1.6}.site-footer>span{max-width:48%}.round-complete>p{font-size:13px}.review-controls{padding:15px}.review-controls .next-row{flex-wrap:nowrap}.choice{padding:12px;font-size:13px}.choice math{font-size:19px}.balance-pan{font-size:21px;padding:10px 6px}.pyramid-cell{height:54px;font-size:18px;width:32%}.pyramid-input{font-size:14px}.pyramid-row{gap:5px}.figure figcaption{font-size:10px}.fraction-list{gap:13px}.fraction-list .math-line{font-size:25px}#task-map{grid-template-columns:repeat(2,1fr)}dialog p,dialog li{font-size:13px}dialog{padding:28px 22px}}
.celebration{display:flex;gap:16px;align-items:center;background:linear-gradient(110deg,#efe8fd,#eff6e5);border:1px solid #d4c4ec;border-radius:11px;padding:20px;margin:23px 0 18px}.celebration-star{font-size:37px;color:#8263c5;flex-shrink:0}.celebration h3{font-size:21px;margin:0 0 4px;color:#594285}.celebration p{font-size:13px;margin:0;line-height:1.65;color:#6a5b7c}.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:1000}.confetti i{position:absolute;top:-25px;width:8px;height:14px;border-radius:2px;animation:confetti-fall 3s ease-in both}@keyframes confetti-fall{from{transform:translate3d(0,-25px,0) rotate(0);opacity:1}to{transform:translate3d(var(--drift),110vh,0) rotate(var(--spin));opacity:0}}@media(prefers-reduced-motion:reduce){.confetti{display:none}}@media(max-width:760px){.celebration{padding:16px;gap:12px}.celebration h3{font-size:19px}.celebration p{font-size:12px}.celebration-star{font-size:30px}}
.overflows::after{content:'Rull sidelengs for å se hele utregningen →';display:block;position:sticky;left:0;text-align:left;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:10px;letter-spacing:0;color:#726384;margin-top:7px;line-height:1.6;width:max-content;max-width:100%}.overflows:focus-visible{outline:2px solid #baa9dd;outline-offset:2px}
.round-complete .restart-note{font-size:12px;line-height:1.7;margin:18px auto 0;max-width:440px;color:#6b765f}
.source-math{max-width:none;margin:20px 0 25px}.source-math-image{display:block;width:310px;max-width:100%;height:auto}

.source-math-image{width:auto;max-width:100%;height:auto}

.path-meta[hidden]{display:none}.welcome-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:25px}.welcome-levels .sublevel{min-height:90px;padding:18px}.welcome-levels .sublevel strong{font-size:16px}.welcome-levels .sublevel span{font-size:12px;line-height:1.5}
@media(max-width:420px){.welcome-levels{grid-template-columns:1fr}.welcome-levels .sublevel{min-height:75px;padding:14px 16px}}

.reset-button{font:inherit;font-size:12px;color:#65715b;background:#f4f6ed;border:1px solid #dce2d1;border-radius:999px;padding:8px 14px;min-height:36px;cursor:pointer}.reset-button:hover{background:#e9eede;border-color:#bac8a7}.reset-button:focus-visible{outline:2px solid #8e78bd;outline-offset:3px}.level-legend{font-size:11px;line-height:1.65;color:#68725e;margin:12px 0}.level-legend[hidden]{display:none}.sublevel.completed{border-color:#b1c69a;background:#eff5e8}.sublevel.covered{border:1px dashed #9bac88;background:transparent}.sublevel.active{border-color:#bdaae8;background:var(--lavender)}
@media(max-width:760px){.level-button.done{position:relative}.level-button.done .step-done{display:block;position:absolute;right:0;top:-6px;font-size:10px;background:#f4f6ed;border-radius:50%;padding:0 2px}.reset-button{font-size:11px;padding:7px 11px}}

.brand img{object-fit:contain;flex-shrink:0;width:44px;height:44px}@media(max-width:760px){.brand img{width:36px;height:36px}}

.math-tools{margin:8px 0 16px}.math-toolbar,.math-insert-actions{display:flex;gap:8px;flex-wrap:wrap}.math-tool-button{font:inherit;font-size:14px;border:1px solid #c9bddf;border-radius:8px;background:#fff;color:#6044ab;padding:9px 14px;min-height:44px;cursor:pointer}.math-tool-button:disabled{opacity:.45;cursor:default}.math-tool-button:focus-visible{outline:3px solid #7654ce;outline-offset:2px}.math-insert-panel{margin-top:10px;padding:16px;border:1px solid #d2c6e9;border-radius:10px;background:#faf8ff}.math-insert-panel[hidden],.math-input-preview[hidden]{display:none}.math-insert-panel label{display:block;font-size:14px;margin-bottom:10px}.math-insert-panel input{display:block;box-sizing:border-box;width:100%;max-width:420px;padding:10px;font:inherit;font-size:18px;border:1px solid #c9bddf;border-radius:6px;margin-top:4px}.math-insert-preview,.math-input-preview{font-size:24px;overflow-x:auto;padding:8px 0}.math-input-preview:empty{display:none}.pyramid-tools{max-width:520px}.pyramid-tools .math-tools{margin-top:0}

input[hidden],textarea[hidden]{display:none!important}.visual-math-editor{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:56px;border:1px solid #b9b1c9;border-radius:9px;background:#fff;color:#292d27;padding:10px 12px;font-size:24px;--selection-background-color:#ddd1f4;--caret-color:#654aa4}.visual-math-editor:focus-within{outline:2px solid #7654ce;outline-offset:2px}.visual-math-editor::part(menu-toggle),.rich-math-editor math-field::part(menu-toggle){display:none}.rich-math-editor{min-height:120px;white-space:pre-wrap;font-family:inherit;font-size:18px;line-height:1.7;overflow-wrap:anywhere}.rich-math-editor math-field{display:inline-block;vertical-align:middle;max-width:100%;border:0;background:transparent;font-size:24px;padding:2px}.pyramid-cell .visual-math-editor{font-size:20px;padding:4px;min-height:44px}.answer-row .visual-math-editor{flex:1}.visual-math-editor[readonly]{background:#f5f4f7}

.site-legal-footer{max-width:1120px;margin:32px auto;padding:20px 24px;border-top:1px solid #dce0d4;font-size:14px;color:#535d4b}.legal-links{display:flex;gap:12px 24px;flex-wrap:wrap}.site-legal-footer a{text-decoration:underline;text-underline-offset:3px}.site-legal-footer p{margin-top:14px}.registration-legal{font-size:14px;line-height:1.6}.registration-legal a{text-decoration:underline}
/* Task-specific hints keep equations readable on narrow screens. */
.hint-box{font-size:1rem;min-width:0}
.hint-box .worked-step{min-width:0}
.hint-box .worked-step p{font-size:1rem;margin:6px 0;line-height:1.65}
.hint-box .math-line{font-size:1.2rem;max-width:100%;overflow-x:auto;padding:8px 0}
