.interactive-math-tile.xyz-roadmap-card{--step-face:var(--roadmap-color,#58cc02);--step-edge:var(--roadmap-dark,#439b00);--step-text:#fff;--step-shine:#ffffff6b}.interactive-math-tile-label{color:var(--roadmap-ink,#376f06);margin:10px -12px 0;font-size:12px;font-weight:900;line-height:1.3;display:block}.interactive-math-backdrop{z-index:100;background:#fff;position:fixed;inset:0}.interactive-math-lesson{--control-radius:16px;z-index:101;color:#3c3c3c;background:#fff;border:0;border-radius:0;flex-direction:column;width:100%;height:100dvh;min-height:0;margin:0;padding:0;font-family:Nunito,sans-serif;animation:.18s ease-out interactive-math-appear;display:flex;position:fixed;inset:0;overflow:hidden}.interactive-math-lesson button,.interactive-math-lesson input{font:inherit}.interactive-math-lesson button{cursor:pointer}.interactive-math-lesson button:disabled{cursor:default}.interactive-math-lesson button:focus-visible,.interactive-math-lesson input:focus-visible,.interactive-math-tile:focus-visible{outline-offset:4px;outline:3px solid #2583cd}.interactive-math-lesson h1:focus{outline:none}.interactive-math-header{flex:none;align-items:center;gap:20px;width:min(1500px,100% - 96px);margin:clamp(20px,8.5dvh,72px) auto 0;display:flex}.interactive-math-close,.interactive-math-settings-trigger{color:#afafaf;background:0 0;border:0;border-radius:10px;flex-shrink:0;place-items:center;width:44px;height:44px;padding:0;display:grid}.interactive-math-close:hover,.interactive-math-settings-trigger:hover{color:#777;background:#f5f5f5}.interactive-math-settings{z-index:120;color:#3c3c3c;border:2px solid #e5e5e5;border-radius:16px;font-family:Nunito,sans-serif}.interactive-math-settings h2{margin:0 0 16px;font-size:18px;font-weight:900}.interactive-math-motion-setting{justify-content:space-between;align-items:center;gap:12px;font-weight:800;display:flex}.interactive-math-motion-setting+.interactive-math-motion-setting{margin-top:16px}.interactive-math-motion-setting small{color:#999;margin-top:4px;font-size:12px;font-weight:600;display:block}.interactive-math-progress-area{flex:1;min-width:0}.interactive-math-hearts{color:#ff4b4b;flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;min-width:76px;font-size:22px;font-weight:900;display:flex}.interactive-math-exercise{flex-direction:column;flex:1;gap:24px;min-height:0;display:flex}.interactive-math-heading{flex:none;width:min(900px,100% - 48px);margin:clamp(24px,5dvh,44px) auto 0}.interactive-math-eyebrow{color:#ce82ff;letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:12px;margin:0 0 16px;font-size:18px;font-weight:900;display:flex}.interactive-math-format-icon{color:#fff;background:#ce82ff;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.interactive-math-lesson h1{margin:0;font-size:clamp(28px,3.3vw,40px);font-weight:900;line-height:1.2}.interactive-math-heading>p:last-child{color:#777;max-width:800px;margin:12px 0 0;font-size:17px;line-height:1.5}.interactive-math-panel{flex:1;width:min(900px,100% - 48px);min-height:0;margin-inline:auto;display:flex;overflow:hidden}.interactive-math-question{flex:1;min-width:0;min-height:0;position:relative}.interactive-math-work{overscroll-behavior:contain;justify-content:center;align-items:center;height:100%;padding:8px 4px;display:flex;overflow-y:auto}.interactive-math-work>div{width:100%;max-width:900px;margin:auto}.interactive-math-footer{width:min(900px,100% - 48px);padding:0 0 max(28px, env(safe-area-inset-bottom));flex:none;justify-content:space-between;align-items:center;gap:16px;margin-inline:auto;display:flex}.interactive-math-footer[data-feedback-open=true]{visibility:hidden;pointer-events:none}.interactive-math-footer>p{color:#999;margin:0;font-size:13px}.interactive-math-primary{color:#fff;background:#58cc02;border:2px solid #58b806;border-radius:15px;justify-content:center;align-items:center;gap:10px;min-width:190px;min-height:52px;padding:12px 24px;transition:transform .12s,box-shadow .12s;display:flex;box-shadow:0 4px #419700;font-weight:900!important}.interactive-math-primary:hover{filter:brightness(1.04)}.interactive-math-primary:active{transform:translateY(3px);box-shadow:0 1px #419700}.interactive-math-primary:disabled{color:#afafaf;filter:none;background:#e5e5e5;border-color:#e5e5e5;box-shadow:0 3px #d3d3d3}.interactive-math-footer>.interactive-math-check{color:#fff;letter-spacing:.06em;text-transform:uppercase;background:#f7931e;border:2px solid #f7931e;border-radius:16px;flex-shrink:0;width:auto;min-width:176px;max-width:100%;margin-left:auto;font-size:15px;transition:transform 50ms,box-shadow 50ms,background-color .1s;box-shadow:0 4px #d2700a;font-weight:800!important}.interactive-math-check:hover:enabled{filter:none;background:#fa9f33}.interactive-math-check:active:enabled{transform:translateY(3px);box-shadow:0 1px #d2700a}.interactive-math-check:disabled{opacity:.45}.interactive-math-choice{color:#4b4b4b;background:#fff;border:3px solid #e5e5e5;border-radius:18px;justify-content:center;align-items:center;gap:12px;min-height:80px;padding:14px 18px;transition:border-color .12s,background .12s,transform .12s;display:flex;box-shadow:0 3px #e5e5e5;font-size:30px!important}.interactive-math-choice:hover:not(:disabled){background:#f7fdef;border-color:#afde8c}.interactive-math-choice:active:not(:disabled){transform:translateY(2px)}.interactive-math-choice[data-selected=true],.interactive-math-choice[data-matched=true]{color:#58a700;background:#d7ffb8;border-color:#a2e968;box-shadow:0 3px #a2e968}.interactive-math-match .interactive-math-choice[data-selected=true]{color:#74379c;background:#f9f1ff;border-color:#bc79e9;box-shadow:0 3px #bc79e9}.interactive-math-match .interactive-math-choice[data-matched=true]{color:#285c17;opacity:1;background:#eaf8df;border-color:#79bc50;box-shadow:0 3px #79bc50}.interactive-math-match .interactive-math-choice[data-match-feedback=wrong]{color:#842c29;background:#fff0ee;border-color:#d76661;box-shadow:0 3px #d76661}.interactive-math-match{max-width:640px!important}.interactive-math-match-columns{grid-template-columns:1fr 1fr;gap:18px;display:grid}.interactive-math-match-columns>div{gap:14px;display:grid}.interactive-math-match .interactive-math-choice{min-height:clamp(44px,33.3333dvh - 126.667px,88px);padding:8px 14px;font-size:26px!important}.interactive-math-lesson[data-exercise-type=match] .interactive-math-exercise{gap:20px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading{margin-top:clamp(16px,4dvh,32px)}.interactive-math-lesson[data-exercise-type=match] .interactive-math-eyebrow{gap:10px;margin-bottom:12px;font-size:15px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-format-icon{width:28px;height:28px}.interactive-math-lesson[data-exercise-type=match] h1{font-size:clamp(24px,3vw,34px)}.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading>p:last-child{margin-top:8px;font-size:15px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-work{padding-block:4px}.interactive-math-hint{color:#999;text-align:center;margin:18px 0 0;font-size:14px;display:block}.interactive-math-prompt{margin:0 0 24px;font-size:24px;font-weight:800;line-height:1.5}.interactive-math-number{max-width:760px!important}.interactive-math-equation{flex-wrap:wrap;justify-content:center;align-items:center;gap:18px;margin-top:20px;font-size:clamp(26px,3vw,36px);display:flex}.interactive-math-equation input{text-align:center;color:#4b4b4b;background:#f7fdef;border:3px solid #a2e968;border-radius:18px;width:150px;min-height:86px;padding:14px;font-weight:900}.interactive-math-model{grid-template-rows:auto minmax(0,1fr);height:min(100%,360px);min-height:0;display:grid;max-width:420px!important}.interactive-math-model-values{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.interactive-math-model-values>strong{color:#58a700;font-size:36px;font-weight:900}.interactive-math-model-values>span{color:#777;font-size:22px}.interactive-math-model-values b{color:#4b4b4b}.interactive-math-percent-stage{cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:10px;width:100%;max-width:380px;height:100%;max-height:260px;margin:auto;position:relative}.interactive-math-percent-stage[data-disabled=true]{cursor:default}.interactive-math-percent-stage[data-focused=true]{outline-offset:6px;outline:3px solid #2583cd}.interactive-math-percent-grid{grid-template-rows:repeat(10,minmax(0,1fr));grid-template-columns:repeat(10,1fr);grid-auto-flow:column;gap:5px;width:100%;height:100%;min-height:0;display:grid}.interactive-math-percent-grid>span{background:#edf2e8;border:1px solid #dbe6d2;border-radius:4px;min-height:0;transition:background .1s}.interactive-math-percent-grid>span[data-filled=true]{background:#89e219;border-color:#58b806}.interactive-math-percent-handle{pointer-events:none;background:#58b806;border:3px solid #fff;border-radius:999px;width:14px;height:40px;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #00000038}.interactive-math-percent-input{opacity:0;pointer-events:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.interactive-math-build{max-width:760px!important}.interactive-math-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:28px;display:grid}.interactive-math-slots .interactive-math-choice{min-width:0;padding-inline:2px;font-size:clamp(20px,2.7vw,32px)!important}.interactive-math-slots [data-filled=false]{box-shadow:none;color:#afafaf;background:#fafafa;border-style:dashed}.interactive-math-blocks{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}.interactive-math-blocks .interactive-math-choice{min-width:88px;min-height:64px;font-size:26px!important}.interactive-math-blocks .interactive-math-choice:disabled{opacity:.35;box-shadow:none}.interactive-math-reset{color:#999;justify-content:center;align-items:center;gap:6px;min-height:44px;margin:16px auto 0;display:flex;font-size:14px!important;font-weight:800!important}.interactive-math-reset:disabled{opacity:.45}.interactive-math-error .interactive-math-prompt{margin-bottom:14px;font-size:21px}.interactive-math-error blockquote{color:#765a27;background:#fff8e9;border-left:4px solid #efbb58;border-radius:0 12px 12px 0;margin:0 0 24px;padding:14px 18px;font-size:17px;line-height:1.5}.interactive-math-error fieldset{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;min-width:0;display:grid}.interactive-math-option{cursor:pointer;border:3px solid #e5e5e5;border-radius:18px;flex-direction:column;align-items:flex-start;gap:16px;min-height:160px;padding:20px;font-size:17px;font-weight:700;line-height:1.45;display:flex;box-shadow:0 3px #e5e5e5}.interactive-math-option[data-selected=true]{color:#58a700;background:#d7ffb8;border-color:#a2e968;box-shadow:0 3px #a2e968}.interactive-math-option input{accent-color:#58a700;flex-shrink:0;width:24px;height:24px}.interactive-math-lesson .answer-feedback--docked{border-top-color:#85c854}.interactive-math-lesson .answer-feedback--docked:has(.text-destructive){border-top-color:#ef9292}.interactive-math-lesson .answer-feedback-continue{color:#fff;background:#58cc02;border-color:#58b806;min-height:44px;font-weight:900;box-shadow:0 3px #419700}.interactive-math-complete{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;padding:24px;display:flex;overflow-y:auto}.interactive-math-complete-icon{color:#58b806;background:#edfadf;border:3px solid #a1dc70;border-radius:36px;flex-shrink:0;place-items:center;width:112px;height:112px;margin-bottom:26px;display:grid;box-shadow:0 6px #c3e7a5}.interactive-math-complete>p:not(.interactive-math-eyebrow){color:#777;max-width:480px;margin:16px 0;font-size:17px;line-height:1.6}.interactive-math-skills{flex-wrap:wrap;justify-content:center;gap:10px;margin:4px 0 28px;display:flex}.interactive-math-skills>span{color:#58a700;background:#f0f8e9;border-radius:12px;align-items:center;gap:6px;padding:8px 12px;font-size:14px;font-weight:800;display:flex}@keyframes interactive-math-appear{0%{opacity:0}to{opacity:1}}.interactive-math-lesson[data-reduced-motion=true],.interactive-math-lesson[data-reduced-motion=true] *,.interactive-math-lesson[data-reduced-motion=true] :before{transition:none!important;animation:none!important}@media (width<=700px){.interactive-math-header{width:calc(100% - 24px);margin-top:max(16px, env(safe-area-inset-top));gap:8px}.interactive-math-close,.interactive-math-settings-trigger{width:36px;height:40px}.interactive-math-close svg,.interactive-math-settings-trigger svg{width:26px;height:26px}.interactive-math-hearts{gap:5px;min-width:44px;font-size:17px}.interactive-math-hearts svg{width:26px;height:26px}.interactive-math-exercise{gap:16px}.interactive-math-heading,.interactive-math-panel,.interactive-math-footer{width:calc(100% - 32px)}.interactive-math-heading{margin-top:24px}.interactive-math-eyebrow{gap:8px;margin-bottom:10px;font-size:13px}.interactive-math-format-icon{width:28px;height:28px}.interactive-math-format-icon svg{width:16px;height:16px}.interactive-math-lesson h1{font-size:27px}.interactive-math-heading>p:last-child{margin-top:8px;font-size:14px}.interactive-math-work{padding:6px 4px}.interactive-math-footer{padding-bottom:max(20px, env(safe-area-inset-bottom));flex-direction:row;gap:12px}.interactive-math-footer>p{min-width:0;font-size:11px}.interactive-math-primary{width:100%}.interactive-math-match-columns{gap:12px}.interactive-math-match-columns>div{gap:10px}.interactive-math-match .interactive-math-choice{min-height:clamp(44px,33.3333dvh - 126.667px,64px);padding:8px;font-size:22px!important}.interactive-math-lesson[data-exercise-type=match] .interactive-math-exercise{gap:12px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading{margin-top:16px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-eyebrow{margin-bottom:8px;font-size:12px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-format-icon{width:24px;height:24px}.interactive-math-lesson[data-exercise-type=match] h1{font-size:24px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading>p:last-child{font-size:13px}.interactive-math-hint{margin-top:14px;font-size:13px}.interactive-math-prompt{font-size:18px}.interactive-math-equation{gap:10px;font-size:25px}.interactive-math-equation input{width:102px;min-height:68px;padding:10px}.interactive-math-model{max-width:360px!important}.interactive-math-model-values>strong{font-size:30px}.interactive-math-model-values>span{font-size:18px}.interactive-math-percent-stage{max-width:300px}.interactive-math-percent-grid{gap:4px}.interactive-math-slots{gap:6px;margin-bottom:22px}.interactive-math-slots .interactive-math-choice{min-height:60px;font-size:20px!important}.interactive-math-blocks{gap:10px}.interactive-math-blocks .interactive-math-choice{min-width:56px;min-height:52px;padding:10px;font-size:21px!important}.interactive-math-error .interactive-math-prompt{font-size:16px}.interactive-math-error blockquote{margin-bottom:16px;padding:10px 12px;font-size:14px}.interactive-math-error fieldset{grid-template-columns:1fr;gap:10px}.interactive-math-option{flex-direction:row;align-items:center;gap:10px;min-height:64px;padding:10px 12px;font-size:14px}.interactive-math-option input{width:20px;height:20px}}@media (height<=500px) and (width>=701px){.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading{margin-top:12px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-exercise{gap:12px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-eyebrow{margin-bottom:8px;font-size:12px}.interactive-math-lesson[data-exercise-type=match] h1{font-size:24px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading>p:last-child{font-size:13px}.interactive-math-match-columns{grid-template-columns:1fr;gap:10px}.interactive-math-match-columns>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.interactive-math-match .interactive-math-choice{padding:4px 8px;font-size:22px!important}.interactive-math-match .interactive-math-hint{margin-top:8px;font-size:12px}}@media (height<=700px){.interactive-math-header{margin-top:max(12px, env(safe-area-inset-top))}.interactive-math-heading{margin-top:16px}.interactive-math-heading>p:last-child{font-size:13px}.interactive-math-exercise{gap:12px}.interactive-math-lesson h1{font-size:25px}.interactive-math-footer{padding-bottom:max(16px, env(safe-area-inset-bottom))}.interactive-math-footer>p{display:none}}@media (height<=580px){.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading{margin-top:12px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-eyebrow{margin-bottom:6px;font-size:11px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-format-icon{width:20px;height:20px}.interactive-math-lesson[data-exercise-type=match] h1{font-size:22px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-heading>p:last-child{font-size:12px}.interactive-math-match .interactive-math-choice{min-height:44px;padding:2px 8px;font-size:20px!important}.interactive-math-match .interactive-math-hint{margin-top:8px;font-size:12px}.interactive-math-lesson[data-exercise-type=match] .interactive-math-work{padding-block:2px}}@media (prefers-reduced-motion:reduce){.interactive-math-lesson{animation:none}.interactive-math-lesson *,.interactive-math-lesson :before{transition:none!important}}
