.timer-submit{display:none!important}
.math-lab-disclosure>summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;border-radius:12px}
.math-lab-disclosure>summary::-webkit-details-marker{display:none}
.math-lab-disclosure>summary h2{margin:0;font-size:clamp(22px,3vw,30px)}
.math-lab-hint{color:var(--ui-muted,#b7bdd9);font-size:12px;margin-inline-start:auto}
.math-lab-chevron{font-size:26px;color:#b77cf0;transition:transform .2s}
.math-lab-disclosure[open] .math-lab-chevron{transform:rotate(180deg)}
.math-lab-disclosure>summary:focus-visible{outline:3px solid #b77cf0;outline-offset:6px}
.math-lab-content{padding-top:20px}
.math-lab-grid small{display:block;text-align:center;color:var(--ui-muted,#b7bdd9);font-size:12px;margin-top:10px}
.math-bar{fill:#b77cf0}.math-mean{stroke:#f4c77c;stroke-width:2;stroke-dasharray:5 4}
.math-lab svg text{fill:currentColor;font:12px Arial;text-anchor:middle}
@media(max-width:650px){.math-lab-disclosure>summary{flex-wrap:wrap}.math-lab-hint{order:3;flex-basis:100%;margin:0}.math-lab-chevron{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){.math-lab-chevron{transition:none}}
html[data-visual-motion=reduced] .math-lab-chevron{transition:none}
html body .practice-timer[data-timed-exam]{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 20px;border:1px solid var(--ui-line,#484065);border-radius:22px;background:var(--ui-surface,#111c36);color:var(--ui-ink,#f5f5ff)}
.exam-clock{position:relative;display:grid;place-items:center;width:96px;height:96px;flex:0 0 96px}
.exam-clock svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.exam-clock circle{fill:none;stroke-width:5}.clock-track{stroke:#a782d726}.clock-value{stroke:#b77cf0;stroke-linecap:round;transition:stroke-dashoffset .25s linear,stroke .3s}
html body .exam-clock b{font-size:20px;font-variant-numeric:tabular-nums;line-height:1}
.timer-low .clock-value{stroke:#ff6b8d}.timer-low .exam-clock b{color:#ff8ea8}.practice-timer .timer-note{max-width:210px}
html body .quiz-progress{width:100%;height:12px;accent-color:#ad77df;border-radius:12px;overflow:hidden}
html body :is(.quiz-progress,.result-breakdown progress,#plan-result>progress,.progress-chart progress){appearance:none;border:0;background:#a782d726;border-radius:12px;overflow:hidden}
html body :is(.quiz-progress,.result-breakdown progress,#plan-result>progress,.progress-chart progress)::-webkit-progress-bar{background:#a782d726;border-radius:12px}
html body :is(.quiz-progress,.result-breakdown progress,#plan-result>progress,.progress-chart progress)::-webkit-progress-value{background:linear-gradient(90deg,#7926b7,#bc8bed);border-radius:12px}
html body :is(.quiz-progress,.result-breakdown progress,#plan-result>progress,.progress-chart progress)::-moz-progress-bar{background:#ad77df;border-radius:12px}
html body .answer-list li{transition:background .2s,border-color .2s,box-shadow .2s;border-radius:14px}
html body .answer-list li:has(input:checked){border-color:#b77cf0;box-shadow:0 0 0 2px #b77cf035;background:#8c45c51a}
html body .feedback{border-radius:16px;padding:20px;border-inline-start:4px solid #b77cf0}
html body .feedback.is-correct{border-color:#42cf96;background:#42cf9614}
html body .feedback.is-correct::before{content:"";display:inline-block;width:17px;height:10px;margin-inline-end:12px;border-left:3px solid #42cf96;border-bottom:3px solid #42cf96;transform:rotate(-45deg);animation:answer-check .4s ease-out}
@keyframes answer-check{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
html body .feedback.is-incorrect{border-color:#ffb45c;background:#ffb45c14}
.learning-achievement{display:table;margin:18px auto;padding:12px 20px;border-radius:30px;border:1px solid #b77cf080;background:#9f5cda18;color:var(--ui-ink,#fff);font-weight:700}
.result-breakdown{display:grid;gap:10px;max-width:500px;margin:24px auto}.result-breakdown progress{width:100%;height:14px;accent-color:#ac75e8}
.plan-check{display:flex;align-items:center;gap:10px;padding:14px 0;margin-top:12px;border-top:1px solid var(--ui-line,#484065);cursor:pointer}.plan-check input{accent-color:#7926b7;width:18px;height:18px}
html body .feature-card.task-done{border-color:#42cf96;box-shadow:inset 0 0 0 1px #42cf9630}
#plan-result>progress{width:100%;height:12px;accent-color:#9b65df}
html body .math-lab{max-width:1112px;margin:32px auto;padding:28px;text-align:start}.math-lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.math-lab article{padding:18px;border:1px solid var(--ui-line,#484065);border-radius:18px;background:var(--ui-soft,#242a49)}.math-lab label{display:flex;align-items:center;gap:14px}.math-lab input{flex:1;min-width:60px;accent-color:#ad77df}.math-lab svg{display:block;width:100%;height:200px}.math-axis{stroke:#9da3bc;stroke-width:1}.math-curve{stroke:#b77cf0;stroke-width:3;fill:none}.math-triangle{stroke:#b77cf0;stroke-width:3;fill:#b77cf020}.math-lab output{display:block;text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:650px){.math-lab-grid{grid-template-columns:1fr}html body .math-lab{margin:24px 16px;padding:18px}.practice-timer .timer-note{font-size:11px;max-width:150px}}
html[data-visual-motion=reduced] .clock-value,html[data-visual-motion=reduced] .answer-list li{transition:none}
html[data-visual-motion=reduced] .feedback.is-correct::before{animation:none}
@media(prefers-reduced-motion:reduce){.feedback.is-correct::before{animation:none!important}}
@media(prefers-reduced-motion:reduce){.clock-value,.answer-list li{transition:none!important}}
/* Math exploration studio */
html body .math-lab{--lab-ink:#edfaff;--lab-muted:#a6c2d0;--lab-surface:#102638;--lab-line:#739db32e;background:radial-gradient(ellipse at 90% 0%,#176c7538,transparent 60%),#0c1d2d;border:1px solid #59c9cf40;border-radius:26px;padding:28px;color:var(--lab-ink);box-shadow:0 18px 55px #00000018;overflow:hidden}
.math-lab .lab-heading{display:grid;gap:9px;flex:1}.math-lab .lab-eyebrow{font-size:12px;letter-spacing:.5px;color:#5eead4;font-weight:700}.math-lab-disclosure>summary h2{color:var(--lab-ink);font-size:clamp(25px,3vw,34px)}.math-lab .math-lab-hint{margin:0;color:var(--lab-muted);font-size:13px}.math-lab .lab-illustration{width:230px;height:130px;flex:0 0 230px;color:#9de8ed}.math-lab .math-lab-chevron{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:#5eead418;border:1px solid #5eead445;color:#5eead4}.math-lab-disclosure>summary:focus-visible{outline-color:#5eead4}
.math-lab .math-lab-content{border-top:1px solid var(--lab-line);margin-top:22px;padding-top:18px}.math-lab-content>p{color:var(--lab-muted);margin:0 0 20px}.math-lab .math-lab-grid{gap:18px}.math-lab article{--chart:#5eead4;background:var(--lab-surface);border-color:var(--lab-line);padding:22px;border-radius:20px;min-width:0;transition:transform .2s,border-color .2s,box-shadow .2s}.math-lab article:nth-child(2){--chart:#fbbf24}.math-lab article:nth-child(3){--chart:#60a5fa}.math-lab article:nth-child(4){--chart:#fb91b2}.math-lab article:nth-child(5){--chart:#a5b4fc}.math-lab article:nth-child(6){--chart:#4ade80}.math-lab article:hover{transform:translateY(-3px);border-color:var(--chart);box-shadow:0 12px 24px #00000016}.math-lab article h3{display:flex;align-items:center;gap:12px;color:var(--lab-ink);font-size:17px;margin:0 0 22px;line-height:1.6}.math-lab .lab-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:color-mix(in srgb,var(--chart) 12%,transparent);color:var(--chart)}.math-lab .lab-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.math-lab label{font-size:13px;color:var(--lab-muted);gap:12px}.math-lab .lab-slider-value{min-width:36px;text-align:center;border-radius:8px;padding:5px;background:#ffffff08;color:var(--chart);font-variant-numeric:tabular-nums}.math-lab input[type=range]{direction:ltr;appearance:none;height:6px;border-radius:12px;background:linear-gradient(to right,var(--chart) var(--range-fill),#7891a440 var(--range-fill));cursor:pointer;width:100%;margin:0}.math-lab input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border:3px solid var(--lab-surface);border-radius:50%;background:var(--chart);box-shadow:0 0 0 2px var(--chart)}.math-lab input[type=range]::-moz-range-thumb{width:12px;height:12px;border:2px solid var(--lab-surface);border-radius:50%;background:var(--chart)}.math-lab input:focus-visible{outline:2px solid var(--chart);outline-offset:7px}
.math-lab .math-chart{height:230px;margin:18px 0 12px;background:linear-gradient(145deg,#ffffff03,#ffffff00);border-radius:14px;overflow:hidden}.math-lab .lab-grid-lines{fill:none;stroke:var(--lab-line);stroke-width:.5}.math-lab .math-axis{stroke:#8ca9b9;stroke-width:.8}.math-lab .math-curve,.math-lab .math-triangle{stroke:var(--chart);stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}.math-lab .math-curve{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--chart) 25%,transparent))}.math-lab .math-triangle{fill:color-mix(in srgb,var(--chart) 14%,transparent)}.math-lab .math-bar{fill:var(--chart)}.math-lab .math-bar:nth-of-type(2){opacity:.65}.math-lab .math-mean{stroke:#fbbf24}.math-lab .lab-axis-label{fill:var(--lab-muted);font-size:8px}.math-lab output{font-size:14px;line-height:1.7;padding:12px 6px;border:1px solid var(--lab-line);border-radius:12px;background:#00000012;color:var(--chart);overflow-wrap:anywhere}.math-lab-grid small{color:var(--lab-muted);line-height:1.7}
html[data-theme=light] body .math-lab{--lab-ink:#12364a;--lab-muted:#476779;--lab-surface:#fff;--lab-line:#235c7526;background:radial-gradient(ellipse at 90% 0%,#b9f3e7,transparent 65%),#f0f8fc;box-shadow:0 15px 40px #184e6910}html[data-theme=light] .math-lab article{--chart:#087f78}html[data-theme=light] .math-lab article:nth-child(2){--chart:#a96708}html[data-theme=light] .math-lab article:nth-child(3){--chart:#2563c5}html[data-theme=light] .math-lab article:nth-child(4){--chart:#bf3865}html[data-theme=light] .math-lab article:nth-child(5){--chart:#6251bd}html[data-theme=light] .math-lab article:nth-child(6){--chart:#198347}html[data-theme=light] .math-lab .lab-eyebrow,html[data-theme=light] .math-lab .math-lab-chevron{color:#087f78}html[data-theme=light] .math-lab .lab-illustration{color:#176e80}
@media(max-width:650px){html body .math-lab{padding:18px;margin:24px 12px}.math-lab-disclosure>summary{gap:10px;flex-wrap:nowrap}.math-lab .lab-illustration{display:none}.math-lab .math-lab-hint{font-size:11px}.math-lab .lab-eyebrow{font-size:10px}.math-lab article{padding:16px}.math-lab article h3{font-size:16px}.math-lab .math-chart{height:210px}.math-lab label{gap:9px}}
@media(prefers-reduced-motion:reduce){.math-lab article{transition:none}.math-lab article:hover{transform:none}}html[data-visual-motion=reduced] .math-lab article{transition:none}html[data-visual-motion=reduced] .math-lab article:hover{transform:none}
.math-lab .math-axis,.math-lab .math-mean{fill:none}
/* Center the vector chevron independently of font metrics. */
.math-lab .math-lab-chevron{width:44px;height:44px;flex-basis:44px;border-radius:14px;line-height:1;transition:background .2s,border-color .2s;transform:none}
.math-lab .math-lab-chevron svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.math-lab-disclosure[open] .math-lab-chevron{transform:none}
.math-lab-disclosure.is-expanded .math-lab-chevron svg{transform:rotate(180deg)}
.math-lab-disclosure>summary:hover .math-lab-chevron{background:#5eead42b;border-color:#5eead480}
@media(prefers-reduced-motion:reduce){.math-lab .math-lab-chevron,.math-lab .math-lab-chevron svg{transition:none}}
html[data-visual-motion=reduced] .math-lab .math-lab-chevron,html[data-visual-motion=reduced] .math-lab .math-lab-chevron svg{transition:none}
