.math-trainer{color:var(--studio-ink,var(--text));padding:clamp(.8rem,2vw,1.6rem);border:1px solid var(--studio-line);border-radius:18px;background:var(--studio-card,var(--white))}.math-trainer h1{font-size:clamp(1.7rem,4vw,2.6rem);margin:.2rem 0}.math-intro{max-width:75ch;line-height:1.6}.math-guided{padding:1rem;margin-bottom:1rem;border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-soft)}.math-guided h2{margin:.3rem 0;font-size:1.2rem}.math-guided p{line-height:1.5}.math-set-actions{display:flex;flex-wrap:wrap;gap:.6rem}.math-set-actions button{padding:.7rem 1rem;border:1px solid var(--studio-line);border-radius:8px;background:var(--studio-card);color:inherit;font:inherit;font-weight:700;cursor:pointer}#math-start{background:var(--studio-primary);color:var(--studio-card)}#math-session{margin-bottom:0;font-size:.85rem;font-weight:700}.math-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:1rem;align-items:start}.math-workspace .journey-map{padding:.7rem;box-shadow:none;background:var(--studio-soft)}.math-workspace .journey-head{display:block}.math-workspace .journey-head>span{display:none}.math-workspace .journey-track{display:grid;grid-template-columns:1fr;gap:.4rem}.math-workspace .journey-track::before{display:none}.math-workspace .journey-stop{display:grid;grid-template-columns:2rem 1fr;justify-items:start;align-items:center;text-align:left;font-size:.78rem;padding:.5rem;border:1px solid transparent;border-radius:8px;min-width:0}.math-workspace .journey-dot{grid-row:1/3;width:1.8rem;box-shadow:none}.math-activity-score{font-size:.68rem;font-weight:400;opacity:.8}.journey-stop[aria-current]{background:var(--studio-card);border-color:var(--studio-primary)!important}.math-workspace .station-grid{display:block}.math-workspace .station[hidden]{display:none!important}.math-workspace .station{min-height:0;box-shadow:none!important;transform:none!important}.math-workspace .problem{font-size:1.2rem!important;padding-block:.8rem;line-height:1.6}.math-workspace .station-head h2{font-size:1.25rem}.math-workspace .station-head small{text-transform:none}.math-workspace .model{min-height:200px}.math-workspace .response{margin-top:1rem}.math-workspace .response input{font-size:1rem;padding:.8rem}.math-workspace button:disabled{opacity:.5;cursor:default}.math-workspace .reasoning{border-top:1px solid var(--studio-line);padding-top:1rem}#pathway-focus-bar{display:none!important}.worksheet-tools{box-shadow:none!important}.learning-route{box-shadow:none}@media(max-width:760px){.math-workspace{grid-template-columns:1fr}.math-workspace .journey-track{grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px;overflow:auto}.math-workspace .journey-head span{display:none}.math-workspace .response{grid-template-columns:1fr 1fr}.math-workspace .response input{grid-column:1/-1;grid-row:auto}.math-workspace .new-btn{grid-column:auto}}@media print{.math-guided,.math-workspace .journey-map{display:none}.math-workspace{display:block}}@media screen{.math-trainer{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto minmax(0,1fr);gap:.4rem .65rem;align-items:center;height:var(--app-h,calc(100dvh - 7rem));min-height:0;overflow:auto;padding:.5rem}.math-activity-anchors{position:absolute;inset:0 auto auto 0;pointer-events:none}.math-trainer>.eyebrow,.math-trainer>.math-intro{display:none}.math-trainer>h1{grid-area:1/1;margin:0;padding-inline-end:6.5rem;max-width:none;letter-spacing:normal;min-height:44px;align-content:center;line-height:1.15}.math-trainer:where(:fullscreen,.creation-app-expanded)>h1{padding-inline-end:0}.math-trainer>.creation-app-toolbar{grid-area:1/2}.math-trainer .creation-app-fullscreen{padding:.35rem .65rem;white-space:nowrap}.math-trainer>.worksheet-tools{grid-area:2/1/auto/-1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.35rem .75rem;margin:0;padding:.25rem .45rem}.math-trainer .level-picker{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:.25rem .45rem;min-width:0}.math-trainer .level-picker select{min-width:0;max-width:11rem;min-height:36px}.math-trainer .scoreboard{padding:.2rem .4rem}.math-trainer .scoreboard small{display:none}.math-trainer .score-ring{width:1.6rem}.math-trainer>.math-guided{grid-area:3/1/auto/-1;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem;margin:0;padding:.25rem .45rem}.math-guided .eyebrow,.math-guided h2{display:none}.math-guided p{margin:0;font-size:.8rem}.math-trainer .math-guided button{min-height:36px;padding:.3rem .6rem}.math-trainer>.math-workspace{grid-area:4/1/auto/-1;align-self:stretch;align-items:stretch;grid-template-columns:clamp(9rem,17vw,13rem) minmax(0,1fr);gap:.4rem;min-height:min(8rem,30dvh)}.math-workspace>.journey-map,.math-workspace>.station-grid{min-width:0;min-height:0;margin:0;overflow:auto}.math-workspace>.journey-map{padding:.25rem}.math-workspace .journey-track{gap:.2rem;max-height:none;overflow:visible}.math-workspace .journey-head{display:none}.math-workspace .journey-stop{min-height:44px}.math-workspace .station-head{padding:.4rem .6rem .2rem}.math-workspace .station-head h2{font-size:1.1rem}.math-workspace .station-openmoji{width:2rem;height:2rem}.math-workspace .problem{padding:.25rem .6rem;font-size:1rem!important;line-height:1.4}.math-workspace .model{min-height:0;margin:0 .6rem .35rem;padding:.4rem}.math-workspace .foundation-svg,.math-workspace .math-viz-svg{width:100%;height:auto;min-height:0;max-height:clamp(5rem,24dvh,10rem)}.math-workspace .model-toggle{margin:.15rem .6rem .35rem;min-height:36px;line-height:1.2}.math-workspace .answer-format{margin:.1rem .6rem .35rem;font-size:.72rem}.math-workspace .response{grid-template-columns:minmax(0,1fr) auto auto;margin:0;padding:0 .6rem .35rem}.math-workspace .response input{grid-area:auto;padding:.45rem}.math-workspace .new-btn{grid-column:auto}.math-workspace :is(.response input,.check-btn,.new-btn,.hint-btn){min-height:44px}.math-workspace .wb-live-badge{max-width:calc(100% - 1.1rem)}@media (min-width:900px),(min-width:540px) and (max-height:550px){.math-trainer>h1{grid-area:1/1/auto/-1}.math-trainer>.worksheet-tools{flex-wrap:nowrap}.math-workspace .workbench{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}.math-workspace .problem,.math-workspace .reasoning{grid-column:1/-1}.math-workspace .model-toggle{grid-area:2/1;justify-self:start}.math-workspace .model{grid-area:3/1/span 2}.math-workspace .answer-format{grid-area:2/2}.math-workspace .response{grid-area:3/2}}@media (max-width:899px) and (min-height:551px),(max-width:539px){.math-trainer>.math-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.math-workspace .journey-track{display:flex;max-height:none;overflow:auto}.math-workspace .journey-stop{display:flex;flex:0 0 auto;gap:.35rem;align-items:center}.math-guided #math-recommendation,.math-workspace .math-activity-score{display:none}}@media (max-width:480px){.math-trainer .level-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.math-trainer .level-picker label[for=practice-mode]{grid-area:1/2}.math-trainer .level-picker select{width:100%;max-width:none}.math-trainer .scoreboard{flex-shrink:0}}@media (min-width:540px) and (max-height:550px){.math-trainer{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto minmax(0,1fr)}.math-trainer>h1{grid-area:1/1;min-width:0;padding-inline-end:0}.math-trainer>.worksheet-tools{grid-area:1/2}.math-trainer>.math-guided{grid-row:2}.math-trainer>.math-workspace{grid-row:3}.math-trainer>.creation-app-toolbar,.math-trainer[data-creation-fit]:not(:fullscreen,.creation-app-expanded)>.creation-app-toolbar{position:static;grid-area:1/3}.math-guided #math-recommendation,.math-trainer .scoreboard{display:none}.math-trainer .level-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.math-trainer .level-picker label[for=practice-mode]{grid-area:1/2}.math-trainer .level-picker select{width:100%}}.math-lesson .ll-sim .worksheet{padding-block-start:.5rem}.math-activity-anchors span{position:absolute;inset:0 auto auto 0}.math-trainer .station-head{margin-bottom:0}.math-trainer .worksheet-tools{grid-template-columns:minmax(0,1fr)}.theme-liquid-woodland .math-workspace .model{min-height:0}.math-workspace .foundation-svg{max-height:clamp(4.5rem,22dvh,9rem)}.math-workspace .journey-track{grid-template-columns:minmax(0,1fr)}.math-workspace .journey-stop{overflow-wrap:anywhere}.math-trainer>h1{font-size:clamp(1rem, 2vw, 1.5rem)}.math-trainer .math-set-actions button{min-height:38px;font-size:.83rem}@media (max-width:480px){.math-trainer>.worksheet-tools{display:grid;gap:.2rem}.math-trainer .scoreboard{justify-self:start}.math-trainer .score-ring{display:none}.math-trainer .scoreboard strong{font-size:.72rem}.math-trainer>.math-guided{gap:.15rem .5rem}.math-trainer .math-set-actions{gap:.25rem}.math-trainer .math-set-actions button{padding-inline:.4rem}}@media (max-height:550px){.math-lesson .site-header .nav-wrap{padding-block:.2rem}.math-trainer .math-guided #math-session{margin:0}.math-lesson~.site-footer{display:none}.math-trainer>h1{min-height:40px}.math-trainer .math-guided p{font-size:.72rem}.math-workspace .station-head{padding-block:.25rem}.math-workspace .station-head small{display:none}}@media (min-width:540px) and (max-height:550px){.math-trainer .level-picker select{max-width:8rem;padding:.25rem}.math-workspace .problem{padding-block:.15rem}.math-workspace :is(.check-btn,.new-btn){padding-inline:.4rem}.math-workspace .foundation-svg{max-height:4.5rem}.math-workspace .model{grid-area:2/1/span 2}.math-workspace .model-toggle{grid-area:4/1}.math-workspace .response{gap:.25rem;grid-template-columns:minmax(3.5rem,1fr) auto auto;grid-area:2/2}.math-workspace .answer-format{grid-area:3/2/span 2}}}