:root{font-family:system-ui,-apple-system,'Malgun Gothic',sans-serif;color:#172b3a;background:#f6f8fb;font-size:18px;line-height:1.65}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{min-height:52px;padding:10px 20px;border:1px solid #ccd5e1;border-radius:12px;background:#fff;color:inherit;cursor:pointer;font-weight:650}button:hover{background:#f1f5fa}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #205ec1;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}.primary{background:#176dcc;color:#fff;border-color:#176dcc}.primary:hover{background:#1058a6}.danger{border-color:#a44831;color:#923c28}header{max-width:1160px;margin:auto;display:flex;gap:20px;align-items:center;padding:20px 24px;border-bottom:1px solid #e0e6ee}.brand{font-size:26px;font-weight:800;color:inherit;text-decoration:none;white-space:nowrap}nav{margin-left:auto;display:flex;gap:8px}nav button{background:transparent;border-color:transparent}nav .settings{background:#fff;border-color:#ccd5e1;font-size:21px;min-width:96px}main{max-width:1100px;margin:0 auto;padding:20px 24px 60px}h1{font-size:28px;line-height:1.4;margin:0 0 14px}h2{font-size:21px;line-height:1.5;margin:0 0 14px}p{margin:10px 0}.muted{color:#5d6c7d}.card{background:#fff;padding:24px;border:1px solid #e0e6ee;border-radius:16px;margin-bottom:18px}.hero{max-width:720px;padding:30px}.hero .primary{margin-top:20px;min-width:220px;font-size:21px}#notice{max-width:1100px;padding:0 24px;margin:10px auto;color:#9b361e;white-space:pre-wrap}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}.unit{font-weight:700;margin-bottom:10px}.topic{color:#5d6c7d;font-size:16px}.prompt{font-size:30px;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere;margin:24px 0;line-height:1.65}.study-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.85fr);gap:20px;align-items:start}.answers{display:grid;gap:14px}.answer-label{display:block}.answers input{width:100%;padding:12px;border:2px solid #bac9da;border-radius:10px;font-size:26px;background:#fff;min-height:60px}.choices{display:grid;gap:10px}.choices button{white-space:pre-wrap;text-align:left;font-size:22px}.choices .selected{border:3px solid #176dcc;background:#edf4ff}.feedback{font-weight:700;color:#176dcc;min-height:30px;white-space:pre-wrap}.paper{position:sticky;top:20px}canvas{display:block;width:100%;height:420px;border:1px solid #ccd8c9;background:repeating-linear-gradient(#fff 0 27px,#e6ece4 28px);touch-action:none;border-radius:10px}.paper summary{font-size:20px;font-weight:700;cursor:pointer;margin-bottom:12px}.paper .toolbar button{flex:1}.profile-row{display:flex;gap:16px;flex-wrap:wrap}.profile-row label{display:grid;gap:6px;flex:1;min-width:180px}select{padding:12px;border:1px solid #ccd6e2;border-radius:10px;background:white;min-height:56px}.unit-check{display:flex;align-items:start;gap:14px;border-bottom:1px solid #e1e7dc;padding:14px 0}.unit-check input{width:25px;height:25px;flex:none;margin-top:4px}.progress-row{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #e3e8ef}.progress-row strong{max-width:650px}.progress-row span{color:#5d6c7d}dialog{width:min(660px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:26px;border:1px solid #d1dbe7;border-radius:16px;color:inherit;background:#ffffff;overflow:auto}dialog::backdrop{background:#101b2b66}.explanation{font-size:21px;white-space:pre-wrap;overflow-wrap:anywhere}.example{background:white;border-left:4px solid #8da6c1;padding:16px;line-height:1.8;font-size:23px;white-space:pre-wrap}.why{white-space:pre-wrap;font-size:20px}.diagram{width:100%;max-height:320px}.warning{color:#943b28;border-left:4px solid #b4613e;padding:12px}.full{width:100%}.setting-actions{display:grid;gap:14px;max-width:640px}.clock{font-variant-numeric:tabular-nums;font-size:19px;font-weight:700}fieldset{border:0;padding:0;margin:20px 0}legend{font-size:21px;font-weight:700;margin-bottom:10px}@media(max-width:800px){.study-grid{grid-template-columns:1fr}.paper{position:static}header{padding:14px 16px;gap:8px}.brand{font-size:22px}nav{gap:0}nav button{padding:8px 12px}nav .settings{min-width:80px;font-size:20px}main{padding:18px 16px 45px}.card{padding:20px}.prompt{font-size:27px}canvas{height:340px}}@media(max-width:390px){header{flex-wrap:wrap}.brand{width:100%;font-size:23px}nav{margin:0;width:100%}nav button{flex:1}.hero{padding:22px}.hero .primary{min-width:0;width:100%}.toolbar button{flex:1}dialog{padding:20px}.prompt{font-size:25px}}
#lesson[open]{display:flex;flex-direction:column;overflow:hidden}#lesson .lesson-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:4px}#lesson .lesson-actions{flex:none;padding-top:16px;border-top:1px solid #e0e6ee}#lesson .lesson-actions button{width:100%}
.fraction{display:inline-grid;grid-template-rows:1fr 1fr;vertical-align:middle;text-align:center;line-height:1.2;margin:0 .12em;min-width:.65em}.fraction>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .12em .1em}.fraction>span:last-child{padding:.1em .12em 0}
.endpoint-label{display:grid;gap:8px;margin-top:20px}.endpoint-label select{width:100%;min-width:0}
.choices button .diagram{display:block;max-height:240px;margin-top:10px}.choices button[aria-pressed="true"]{border:3px solid #176dcc;background:#edf4ff}.net-editor{display:grid;gap:14px}.net-editor label{display:grid;gap:6px}.net-editor select{width:100%;min-width:0}.net-preview{border:1px solid #e0e6ee;border-radius:10px;padding:8px}.net-preview p{font-size:18px}.net-preview .diagram{display:block;max-height:400px}
.math-drawing{margin:0 0 18px}.math-drawing .diagram{display:block}.graph-legend{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-around;font-size:18px}.graph-legend>span{display:flex;align-items:center;gap:7px}.graph-legend i{width:15px;height:15px;border:1px solid #5d6c7d;flex:none}
@media(max-width:390px){.toolbar button{flex:1 1 110px;white-space:nowrap;padding-inline:12px}}
.diagram-caption{font-size:18px;margin:8px 0}.choices.pattern-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.choices.pattern-choices button{font-size:18px;text-align:center;padding:8px 4px}.choices.pattern-choices button .diagram{margin-top:8px;max-height:82px}.prompt,.explanation,.why,.example,.unit{word-break:keep-all;overflow-wrap:anywhere}
.givens{font-size:19px;line-height:1.7;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;margin:12px 0}
.choices.geometry-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.choices.geometry-choices button{min-width:0;text-align:center;font-size:18px;padding:10px}.choices.geometry-choices button .diagram{max-height:260px}@media(max-width:600px){.choices.geometry-choices{grid-template-columns:1fr}}
.lesson-motion{padding:18px 0;border-block:1px solid #e0e6ee;margin:20px 0}.lesson-motion>svg{display:block;width:100%;max-height:240px;background:#fff;border:1px solid #e0e6ee;border-radius:10px}.motion-piece{transition:transform .65s ease,opacity .4s ease}.motion-caption{font-size:20px;min-height:3.3em;word-break:keep-all;overflow-wrap:anywhere}.motion-equation{font-size:27px;font-weight:750;text-align:center;min-height:2.2em}.motion-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.motion-controls button{flex:1;padding:8px 6px;font-size:18px;white-space:nowrap}.motion-controls span{font-size:16px;white-space:nowrap}.motion-controls button:disabled{cursor:default}@media(prefers-reduced-motion:reduce){.motion-piece{transition:none}}@media(max-width:420px){.motion-controls span{width:100%;text-align:center}.motion-equation{font-size:23px}.lesson-motion{padding-block:14px}}

/* The native math-orbit preparation picture, adapted to the web's study surface. */
.math-art{display:block;width:100%;height:auto;aspect-ratio:9/7;overflow:visible}.math-orbiting{transform-origin:180px 141px;animation:math-orbit 4.8s ease-in-out 1}.math-tile{animation:math-bob 3.2s ease-in-out 1}.math-tile-two{animation-delay:.25s}.math-tile-three{animation-delay:.45s}@keyframes math-orbit{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes math-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
.loading-state{min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:28px 16px}.loading-state h1{margin:0;font-size:30px}.loading-state p{margin:0;color:#5d6c7d}.loading-art{width:250px;max-width:65vw}
.hero{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:center;padding:32px;border-color:#e0e6ee;box-shadow:0 5px 20px #1a2c4508}.hero-copy{min-width:0}.hero-art{width:100%;max-width:260px;justify-self:end}.hero .unit{font-size:22px;line-height:1.55}.hero .topic{display:inline-block;padding:3px 11px;margin:0 0 10px;background:#edf3fb;border-radius:8px;color:#385779}.hero .study-count{color:#5d6c7d;font-size:17px}.hero .primary{min-height:60px;width:min(100%,320px);box-shadow:0 3px 0 #234733}.hero .primary:active{transform:translateY(1px);box-shadow:0 2px 0 #234733}nav button[aria-current=page]{background:#eaf2fd;color:#185a9c;border-color:#d6e5f7}.profile-row select{font-size:21px;font-weight:650}.card form{min-width:0}form.card>button{margin-top:12px}form.card>button.primary{display:block;width:100%;min-height:60px}form.card>button:not(.primary){width:100%;background:transparent}
@media(max-width:650px){.hero{display:flex;flex-direction:column-reverse;gap:6px;padding:22px}.hero-art{max-width:150px;align-self:center}.hero-copy{width:100%}.hero-copy h1{font-size:27px}.hero .unit{font-size:21px}.hero .primary{width:100%;margin-top:14px}.loading-state{min-height:390px}}@media(max-height:600px){.loading-art{width:180px}.loading-state{min-height:260px}.hero-art{max-width:130px}}@media(prefers-reduced-motion:reduce){.math-art *{animation:none!important}}

.duration-options{display:grid;gap:10px;margin-top:18px}.duration-options button{width:100%;min-height:60px;font-size:23px;border:2px solid #d5dfea;border-radius:12px;background:#fff;color:#174c85}.duration-options button:hover{background:#f1f6fd;border-color:#7998bb}.duration-options button:active{background:#176dcc;color:white;border-color:#176dcc}#confirm .toolbar{justify-content:flex-end}#confirm .toolbar button{min-width:100px}

.math-scene{position:relative;width:100%;aspect-ratio:1.4;border-radius:18px;overflow:hidden;background:#f6edce}.math-scene>img{display:block;width:100%;height:100%;object-fit:cover}.scene-orbit{position:absolute;width:52%;left:24%;top:24%}.hero{grid-template-columns:minmax(0,1fr) 360px}.hero-art{max-width:360px}@media(max-width:650px){.hero{display:flex}.hero-art{max-width:none}.math-scene{aspect-ratio:2.4}.scene-orbit{width:110px;left:calc(50% - 55px);top:10%}}@media(max-height:600px){.hero-art{max-width:220px}}
@media(min-width:700px) and (max-width:800px){.study-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.85fr)}.paper{position:sticky;top:20px}.paper .toolbar button{padding-inline:10px;white-space:nowrap}}

.fraction-answer{margin:8px 0 12px;min-width:0}.fraction-format{display:flex;gap:8px;margin-bottom:12px}.fraction-format button{flex:1;min-height:48px}.fraction-format [aria-pressed=true]{background:#eaf2fd;border-color:#176dcc;color:#174c85}.fraction-fields,.fraction-frame{display:flex;gap:14px;align-items:center;justify-content:center}.fraction-part{min-width:0!important;width:100%!important;min-height:56px;font-size:28px!important;text-align:center;padding:8px!important}.fraction-fields>.fraction-part,.fraction-frame>.fraction-part{flex:1;max-width:150px}.stacked-fraction{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1;max-width:180px}.fraction-bar{display:block;height:2px;background:#233b52;margin:0 8px}.fraction-part.active-part{border:2px solid #176dcc;background:#f2f7ff}.given-denominator{text-align:center;font-size:28px;min-height:48px}.fraction-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px;max-width:390px;margin-inline:auto}.fraction-keypad button{min-width:0;min-height:48px;font-size:24px;padding:6px}.fraction-frame{flex-wrap:wrap}.fraction-frame .stacked-fraction{min-width:70px}.fraction-equals{font-size:26px}@media(max-width:480px){.fraction-fields{gap:10px}.fraction-part{font-size:24px!important}.fraction-keypad button{min-height:50px}.fraction-frame>.fraction-part{max-width:90px}.fraction-frame .stacked-fraction{max-width:100px}}

@media(max-width:480px){header .brand{width:auto;min-width:0;font-size:22px}header nav{width:100%;margin-left:0}header{flex-wrap:wrap}.studying header{padding-block:8px}.studying main{padding-top:12px}.studying .card{padding:16px}.studying .unit{font-size:17px;margin-bottom:4px}.studying .clock{font-size:16px}.studying .prompt{margin:14px 0;font-size:24px}.studying .fraction-answer{margin:10px 0}.studying .fraction-answer legend{margin-bottom:6px}.studying .fraction-part{min-height:52px;height:52px;padding:6px}.studying .fraction-keypad{margin-top:12px;gap:6px}.studying .fraction-keypad button{min-height:50px}.studying .feedback:empty{display:none}.studying .toolbar{margin-top:12px}}

#lesson .lesson-actions{display:grid;gap:10px}.help-question{font-size:24px;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.help-progress{font-size:16px;color:#5d6c7d}.help-instruction{font-size:21px;line-height:1.55;margin:14px 0;word-break:keep-all;overflow-wrap:anywhere}.help-equation{font-size:24px;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f6fb;border-left:4px solid #8da6c1;padding:12px}.help-number{width:100%;min-height:56px;border:2px solid #8da6c1;border-radius:10px;background:white;text-align:center;font-size:28px;padding:8px}.help-editor{max-width:440px;margin:auto}.help-editor .fraction-answer{border:0}.help-extra{margin-top:8px;gap:8px}.help-extra button{flex:1;font-size:17px;min-height:48px;padding:6px}.help-secondary{display:flex;gap:8px}.help-secondary button{flex:1;min-width:0;padding-inline:10px;font-size:18px}.help-history{border-top:1px solid #e0e6ee;margin-top:18px;padding-top:12px}.help-history summary{font-weight:700;cursor:pointer;min-height:44px}.help-history-value{font-size:19px;overflow-wrap:anywhere;white-space:pre-wrap;border-bottom:1px solid #e3e8ef;padding:8px 0}.help-objects{display:grid;grid-template-columns:repeat(5,minmax(48px,1fr));gap:8px;margin:16px 0}.help-object{font-size:30px;padding:4px;min-height:56px;background:white}.help-object.group-0{color:#245e9a}.help-object.group-1{color:#91621b}.help-object[aria-pressed=true]{background:#edf4ff;border:2px solid #176dcc;font-size:24px;color:#1058a6}.help-error{color:#9b361e}@media(max-width:480px){.help-question{font-size:21px}.help-instruction{font-size:20px}.help-equation{font-size:21px;padding:10px}.help-editor .fraction-keypad{gap:6px;margin-top:10px}.help-editor .fraction-keypad button{min-height:48px}.help-secondary button{font-size:17px}.help-objects{gap:5px}.help-object{min-height:50px}.step-help .feedback{font-size:17px}}

.step-help h2{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.help-progress{white-space:nowrap;font-weight:500}.help-context{font-size:15px;line-height:1.5;margin:4px 0}.help-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.help-work .help-instruction{margin-top:4px}.help-work .help-editor{width:100%;min-width:0}.help-number-keys{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}.help-number-keys button{font-size:21px;min-height:48px}.help-number-keys .help-zero{grid-column:span 3}.help-editor>.fraction-format{margin:12px 0 0}.help-editor>.fraction-format button{font-size:17px;padding:6px}.help-guidance .feedback:empty{display:none}@media(max-width:600px){.help-work{display:block}.help-question{margin:8px 0;line-height:1.4}.step-help h2{font-size:21px}.help-guidance .feedback{margin:8px 0;line-height:1.5}.help-instruction{margin:10px 0}.help-equation{margin:8px 0}.help-number{min-height:52px;font-size:26px}}

.help-number-keys button{white-space:nowrap}.help-number-keys .help-clear{font-size:16px;padding-inline:2px}

.number-answer{min-width:0}.number-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px}.number-caption{display:grid;gap:6px}.number-field{display:block;min-width:0;width:100%;min-height:56px;padding:8px;border:2px solid #bac9da;border-radius:10px;background:white;font-size:28px;text-align:center}.number-field.active-input{border-color:#176dcc;background:#f2f7ff}.number-keypad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:440px;margin:14px auto 0}.number-keypad button{min-height:50px;min-width:0;padding:6px;font-size:23px;white-space:nowrap}.number-keypad .number-clear{font-size:16px;padding-inline:2px}.number-format{margin-top:10px;text-align:center}.number-format button{min-height:48px;font-size:17px}.number-input-message{font-size:17px;color:#9b361e}.number-keypad[hidden],.number-format[hidden]{display:none}.help-editor .number-keypad{gap:6px;margin-top:10px}.help-editor .number-keypad button{min-height:48px;font-size:21px}.help-editor .number-keypad .number-clear{font-size:16px}.help-editor .number-format button{width:100%}.number-slot .fraction-answer{margin:0}.number-slot .fraction-keypad{margin-top:12px}@media(max-width:480px){.studying .number-caption{font-size:17px}.studying .number-field{min-height:52px;height:52px;padding:6px}.number-keypad{gap:6px;margin-top:12px}.number-keypad button{min-height:50px;font-size:23px}.help-editor .number-field{min-height:52px;height:52px}.number-format{margin-top:8px}}

.feedback[data-feedback-status=INPUT_NEEDED]{color:#815719}.feedback[data-feedback-status=WRONG_ANSWER],.feedback[data-feedback-status=WRONG_STEP]{color:#9b361e}

.studying #notice:empty{display:none}

.number-answer-pair .number-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}

.help-input-needed{color:#815719}.help-references{border-left:3px solid #bac9da;padding-left:10px;margin:10px 0}.help-reference{font-size:18px;margin:4px 0;overflow-wrap:anywhere}.help-drawing{max-width:360px;margin:8px auto}.help-drawing summary{min-height:44px;display:list-item;cursor:pointer;font-size:17px;line-height:44px}.help-drawing svg{width:100%;height:auto}

/* A quiet study surface: one accent, clear controls, immediate optional-motion feedback. */
button{transition:background-color .12s ease,border-color .12s ease,transform .1s ease;letter-spacing:0}button:active:not(:disabled){transform:scale(.985)}.hero .primary{box-shadow:0 2px 7px #19385814}.hero .primary:active{transform:scale(.985);box-shadow:none}h1{letter-spacing:-.025em}.card{box-shadow:0 2px 10px #19385804}dialog{box-shadow:0 16px 56px #132d4626}.toolbar>.primary{flex:1}.toolbar>button:not(.primary){background:transparent}.lesson-actions>.primary{min-height:56px}.number-keypad button,.fraction-keypad button{background:#f7f9fc;border-color:#dce4ee;font-weight:550}.number-keypad button:hover,.fraction-keypad button:hover{background:#edf3fb}.number-field.active-input,.fraction-part.active-part{box-shadow:0 0 0 3px #176dcc12}nav button[aria-current=page]{font-weight:700}@media(prefers-reduced-motion:reduce){button{transition:none}button:active:not(:disabled),.hero .primary:active{transform:none}}

.study-time{display:flex;align-items:center;gap:14px;margin-top:12px;font-size:16px;color:#5d6c7d}.study-time button{min-height:44px;padding:6px 10px;background:transparent;border-color:transparent;color:#176dcc;font-size:16px}button[hidden]{display:none!important}

.profile-card{max-width:720px;margin-inline:auto}.profile-card>.muted{margin-bottom:24px}.manual-units{margin-top:18px;border-top:1px solid #e0e6ee;padding-top:8px}.manual-units>summary{min-height:44px;cursor:pointer;color:#5d6c7d;font-size:16px;padding-block:10px}.manual-units fieldset{margin-bottom:0}.selection-summary{font-size:16px;color:#5d6c7d;margin:14px 0 4px}button:disabled{cursor:default}

@media(max-width:480px){.profile-card .profile-row{gap:12px;flex-wrap:nowrap}.profile-card .profile-row label{min-width:0}.profile-card h1{font-size:25px}.profile-card .endpoint-label{font-size:17px}}

.clock:empty{display:none}

.lesson-context{font-size:15px;color:#5d6c7d;margin:6px 0 12px}.lesson-actions .quiet-action{min-height:44px;background:transparent;border-color:transparent;color:#5d6c7d;font-size:16px}@media(max-width:480px){.studying header{flex-wrap:nowrap}.studying header nav{width:auto;margin-left:auto}.studying header .brand{font-size:20px;white-space:nowrap}.studying #today,.studying #progress{display:none}.studying header nav .settings{min-width:76px;padding-inline:10px}.studying .toolbar{gap:8px;flex-wrap:nowrap}.studying .toolbar button{flex:0 0 auto;min-width:0;padding-inline:12px;font-size:17px}.studying .toolbar>.primary{flex:1}.studying .unit{line-height:1.5}.studying .topic{font-size:15px}}
@media(max-width:480px){header .gg-auth-quick-admin{display:none!important}}

.feedback:empty{display:none}

.course-transition{margin:0 0 16px;padding:14px 18px;border-left:4px solid #2464ad;border-radius:8px;background:#edf5fc;color:#18344c;line-height:1.6;font-weight:600}

/* Study actions remain reachable on narrow windows and enlarged text. */
.studying .study-grid .toolbar{flex-wrap:wrap}
.studying .study-grid .toolbar button{max-width:100%;white-space:normal}

/* Study completion stays separate from answering, at the top right. */
.study-top-actions,.lesson-top-actions{display:flex;justify-content:flex-end;gap:12px;margin:0 0 14px;min-width:0}
.study-top-actions button,.lesson-top-actions button{font-size:16px;min-height:44px;max-width:100%;white-space:normal;background:#fff;color:#34483f;border:1px solid #b9c8bf}
.result-feedback{font-size:20px;font-weight:700;line-height:1.55;border-radius:12px;margin:16px 0;padding:14px 16px}
.result-feedback:empty{display:none}
.result-feedback[data-feedback-status="CORRECT"]{color:#15543b;background:#e7f4ec;border:1px solid #8bc3a2}
.result-feedback[data-feedback-status^="WRONG_"]{color:#8a2f20;background:#fff0e9;border:1px solid #d59d89}
.result-feedback[data-feedback-status="INPUT_NEEDED"]{color:#56492c;background:#fcf6e8;border:1px solid #d5c798}
@media(max-width:480px){.study-top-actions{margin-bottom:10px}.result-feedback{font-size:18px;padding:12px}}

/* Keep declared learning scope separate from observed checks. */
.progress-current{margin-block:20px}.progress-current h2{font-size:22px;overflow-wrap:anywhere}.progress-current .primary{margin-top:10px;min-height:52px}
.progress-row{display:block}.progress-row h2{font-size:19px;margin:0 0 14px;overflow-wrap:anywhere}.progress-row.current-unit{border-left:4px solid #176dcc}
.progress-facts{display:grid;grid-template-columns:minmax(9rem,.8fr) minmax(0,1.5fr);gap:8px 16px;margin:0}.progress-facts dt{font-size:15px;color:#5d6c7d}.progress-facts dd{margin:0;font-size:17px;overflow-wrap:anywhere}
@media(max-width:600px){.progress-facts{grid-template-columns:minmax(0,1fr);gap:4px}.progress-facts dd+dt{margin-top:10px}.progress-current .primary{width:100%}}

.progress-current h2,.progress-row h2{word-break:keep-all}

/* The learning approach is the first student choice, before grade/curriculum. */
body.choosing-approach header nav,body.choosing-approach #settings{display:none}
.approach-setup{max-width:760px;margin:24px auto 48px}.approach-setup h1{margin:0 0 24px}.approach-options{display:grid;gap:20px}.approach-choice{padding:28px}.approach-choice p{font-size:clamp(18px,2vw,22px);margin:0 0 20px;word-break:keep-all}.approach-choice button{width:100%;min-height:76px;font-size:clamp(19px,2.2vw,25px);white-space:normal;line-height:1.4;word-break:keep-all}
@media(max-width:480px){.approach-setup{margin:16px auto 32px}.approach-choice{padding:22px 18px}.approach-choice button{min-height:80px}}
