.level-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.level-card{border:2px solid #d6e4dc;border-radius:20px;padding:23px;background:#edf6ef;min-width:0}.level-card.advanced{background:#f5f0ff;border-color:#e0d7ee}.level-card.is-active{border-color:#24755e;box-shadow:0 0 0 1px #24755e}.level-card h3{margin:0;font-size:1.14rem}.level-card p{font-size:.88rem;line-height:1.5}.level-card .level-status{font-weight:750;margin:8px 0}.level-exams{color:#51666c}.level-card.advanced .fill{background:#8270ad}.level-card button{margin-top:7px}.level-jump{display:inline-block;color:#246e59;font-weight:750;padding:8px 0}.topic-level-heading{grid-column:1/-1;margin:18px 0 1px;font-size:1.12rem}.math-figure{margin:18px 0;background:#fafcf9;border:1px solid #e0e9e3;border-radius:12px;padding:12px;max-width:720px;overflow-x:auto}.math-svg{display:block;width:100%;height:auto;min-width:500px}.math-figure figcaption{font-size:.84rem;line-height:1.5;color:#526a70;margin:8px 3px 2px}.math-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 20px}.math-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.93rem;font-weight:700;line-height:1.45}.math-field input,.math-field select{font:inherit;font-weight:500;color:#193c4c;min-width:0;width:100%;padding:11px 12px;background:#fff;border:1.5px solid #a8bfb3;border-radius:9px;min-height:46px}.math-field select{white-space:normal;text-overflow:ellipsis}.math-field:has(select){grid-column:1/-1}.math-field input:focus-visible,.math-field select:focus-visible{outline:3px solid #e5b34e;outline-offset:2px}.math-field input:disabled,.math-field select:disabled{color:#4b6158;background:#f0f4ee;opacity:1}.math-tally{width:100%;border-collapse:collapse}.math-tally caption{text-align:left;font-weight:750;padding-bottom:10px}.math-tally th,.math-tally td{padding:8px 12px;text-align:left;border-bottom:1px solid #dce5dd}.tally-groups{display:flex;gap:12px;flex-wrap:wrap}.tally-group{display:inline-flex;gap:6px;height:24px;min-width:3px;position:relative;align-items:center}.tally-group i{height:19px;border-left:2px solid #193c4c;display:block}.tally-group b{position:absolute;left:-3px;top:12px;width:31px;border-top:2px solid #193c4c;transform:rotate(-30deg)}.math-response{min-width:0}.math-live .math-figure{background:#fff}.math-response .helper{margin-top:4px}.quiz-card:has(.math-response){max-width:800px}.review-item .math-figure{max-width:550px}.review-item p{overflow-wrap:anywhere}@media(max-width:700px){.level-grid{grid-template-columns:1fr}.level-card{padding:19px}.math-fields{grid-template-columns:1fr}.math-figure{padding:6px}.math-svg{min-width:500px}.math-field input,.math-field select{font-size:16px}.quiz-card:has(.math-response){padding:15px}.math-tally th,.math-tally td{padding:7px}.topic-level-heading{font-size:1.05rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.math-scroll-hint{display:none;font-size:.8rem;color:#526a70;margin:8px 3px;max-width:280px;line-height:1.4}.math-selected-detail{font-weight:500;color:#53686d;line-height:1.5}@media(max-width:700px){.math-scroll-hint{display:block}}
