.primary-math-page{--math-ink:#193f43;--math-teal:#267e78;--math-line:#d3e1df;max-width:1180px;color:var(--math-ink);margin:auto;padding:22px 26px 70px;font-size:17px;line-height:1.85}.primary-math-page *{box-sizing:border-box;min-width:0}.math-breadcrumb{color:#607576;flex-wrap:wrap;gap:10px;font-size:14px;display:flex}.math-breadcrumb a{text-underline-offset:4px;align-items:center;min-height:44px;text-decoration:underline;display:inline-flex}.math-breadcrumb span{align-items:center;display:inline-flex}.math-hero{border-bottom:1px solid var(--math-line);grid-template-columns:1fr 200px;align-items:center;gap:30px;padding:34px 0 38px;display:grid}.math-hero h1{letter-spacing:-.02em;margin:10px 0 16px;font-size:clamp(28px,4vw,43px);font-weight:750;line-height:1.45}.math-hero p:not(.math-kicker){color:#526b70}.math-hero img{filter:drop-shadow(0 14px 17px #143f4320);width:100%;height:auto}.math-kicker{color:#26716c;margin:0 0 9px;font-size:14px;font-weight:650}.math-hero-tags{color:#526b70;flex-wrap:wrap;gap:8px 16px;margin-top:22px;font-size:13px;display:flex}.math-hero-tags span{background:#e8f2eb;border-radius:7px;padding:4px 11px}.math-grade-picker{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:28px 0;display:grid}.math-grade-picker button{border:1px solid var(--math-line);min-height:83px;color:var(--math-ink);cursor:pointer;background:#fff;border-radius:12px;justify-content:center;align-items:center;gap:12px;font-size:15px;font-weight:650;display:flex}.math-grade-picker button span{color:#688d85;font-size:25px;font-weight:750}.math-grade-picker button[aria-pressed=true]{color:#fff;background:#195b56;border-color:#195b56;box-shadow:0 6px 15px #195b561b}.math-grade-picker button[aria-pressed=true] span{color:#fff}:is(.primary-math-page button:focus-visible,.primary-math-page a:focus-visible,.primary-math-page summary:focus-visible){outline-offset:4px;outline:3px solid #c47b31}.math-grade-story{border-left:4px solid #d59851;margin:32px 0;padding:12px 0 12px 24px}.math-grade-story h2{margin:0 0 12px;font-size:26px;font-weight:700}.math-grade-story>p:last-of-type{color:#526b70;max-width:760px}.primary-math-page details{margin-top:15px;font-size:15px}.primary-math-page summary{cursor:pointer;text-underline-offset:4px;align-content:center;min-height:44px;font-weight:650;line-height:1.7;text-decoration:underline}.primary-math-page details p{margin:12px 0}.math-workspace{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:28px;margin:36px 0;display:grid}.math-lessons{flex-direction:column;gap:13px;display:flex}.math-lessons button{border:1px solid var(--math-line);text-align:left;color:var(--math-ink);cursor:pointer;background:#fff;border-radius:12px;padding:18px;line-height:1.65}.math-lessons button span{color:#b07b42;font-size:13px;font-weight:650}.math-lessons button strong{margin:6px 0;font-size:18px;display:block}.math-lessons button small{color:#607576;font-size:14px}.math-lessons button[aria-pressed=true]{background:#edf5f0;border:2px solid #548b80;padding:17px}.math-small{color:#607576;padding:6px;font-size:14px;line-height:1.9}.math-lesson-panel{border:1px solid var(--math-line);background:#fff;border-radius:18px;padding:30px;box-shadow:0 12px 35px #193f4306}.math-panel-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.math-panel-heading>span{color:#607576;font-size:13px}.math-lesson-panel h2{margin:8px 0 15px;scroll-margin-top:150px;font-size:27px;font-weight:750;line-height:1.5}.math-method{color:#526b70}.math-steps{gap:13px;margin:24px 0;padding:0;list-style:none;display:grid}.math-steps li{align-items:baseline;gap:12px;display:flex}.math-steps li>span{text-align:center;background:#e8f2eb;border-radius:50%;flex:none;width:27px;height:27px;font-size:13px;font-weight:700;line-height:27px}.math-demo{border-top:1px solid var(--math-line);padding-top:15px}.math-demo h3{font-size:18px;font-weight:700}.math-demo>p{margin:12px 0}.math-picture{background:#f7f9f6;border:1px solid #e1e9e1;border-radius:13px;margin:19px 0 13px;padding:13px}.math-picture svg{width:100%;max-height:275px;margin:auto;display:block}.math-picture svg text{fill:#244d4a;font-size:18px;font-weight:600}.math-picture svg .math-svg-large{font-size:40px}.math-picture figcaption{color:#647979;margin:8px 5px 3px;font-size:12px;line-height:1.7}.math-explanation{background:#eaf4ee;border-radius:9px;padding:15px 18px;line-height:1.9}.math-trap{color:#6e644c;background:#fbf5e9;border-radius:8px;margin:20px 0;padding:15px;font-size:14px}.primary-math-page button.math-primary,.math-secondary{cursor:pointer;border-radius:9px;min-height:49px;padding:10px 23px;font-weight:650;line-height:1.7}.primary-math-page button.math-primary{color:#fff;background:#195b56;border:1px solid #195b56}.math-secondary{color:#195b56;background:#fff;border:1px solid #7c9e98}.math-text-button{color:#526b70;text-underline-offset:4px;cursor:pointer;background:0 0;border:0;min-height:48px;padding:7px 5px;text-decoration:underline}.math-practice-actions{flex-wrap:wrap;align-items:center;gap:12px 17px;margin:20px 0 5px;display:flex}.math-question{margin:21px 0 10px;font-size:21px;font-weight:650;line-height:1.8}.math-progress{accent-color:#267e78;background:#e5eeea;border-radius:10px;width:100%;height:7px;margin:22px 0;display:block;overflow:hidden}.math-choices{border:0;grid-template-columns:1fr 1fr;gap:13px;margin-top:22px;padding:0;display:grid}.math-choices button{text-align:left;color:#193f43;cursor:pointer;font-variant-numeric:tabular-nums;background:#fff;border:2px solid #d3e1df;border-radius:12px;align-items:center;gap:17px;min-height:67px;padding:12px 18px;font-size:23px;font-weight:700;display:flex}.math-choices button>span{color:#6b817d;font-size:13px}.math-choices button:hover:not(:disabled){background:#f0f6f2;border-color:#548b80}.math-choices button[aria-pressed=true]{background:#edf5f0;border-color:#267e78}.math-choices button:disabled{cursor:default;opacity:.75}.math-feedback{color:#805e2d;min-height:57px;padding:14px 0;font-size:16px;display:block}.math-feedback.is-correct{color:#195b56}.math-hint{background:#fbf5e9;border-left:3px solid #d59851;margin-top:15px;padding:13px 18px;font-size:15px}.math-finish{text-align:center;padding:30px 0}.math-finish-mark{color:#195b56;background:#e4f2ec;border-radius:50%;place-items:center;width:65px;height:65px;font-size:34px;display:inline-grid}.math-finish h3{margin:20px 0;font-size:26px;font-weight:700}.math-finish p{color:#526b70;margin:16px 0}.math-finish .math-practice-actions{justify-content:center}.math-parent-note{color:#526b70;background:#f1f4f4;border-radius:14px;margin-top:42px;padding:26px;font-size:14px}.math-parent-note h2{color:#193f43;font-size:19px;font-weight:700}.math-parent-note p{margin:15px 0}.math-parent-note a{text-underline-offset:4px;min-height:44px;text-decoration:underline;display:block}@media (max-width:760px){.primary-math-page{padding:18px 18px 45px;font-size:16px}.math-hero{grid-template-columns:1fr 100px;gap:13px;padding:24px 0 28px}.math-hero h1{font-size:28px}.math-hero-tags{gap:8px;font-size:12px}.math-grade-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.math-grade-picker button{gap:8px;min-height:65px;font-size:14px}.math-grade-picker button span{font-size:22px}.math-grade-story{padding-left:16px}.math-grade-story h2{font-size:23px}.math-workspace{grid-template-columns:1fr;gap:20px}.math-lessons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.math-lessons>.math-kicker,.math-lessons>.math-small{grid-column:1/-1}.math-lessons button{border-radius:9px;padding:11px}.math-lessons button[aria-pressed=true]{padding:10px}.math-lessons button strong{font-size:15px;line-height:1.65}.math-lessons button small{display:none}.math-lesson-panel{padding:20px 17px}.math-lesson-panel h2{scroll-margin-top:220px;font-size:24px}.math-picture{padding:7px}.math-question{font-size:19px}.math-choices{gap:10px}.math-choices button{gap:12px;min-height:64px;padding:12px;font-size:23px}.math-parent-note{padding:21px}.math-hero img{align-self:start;margin-top:15px}}@media (max-width:360px){.math-hero{grid-template-columns:1fr}.math-hero img{display:none}.math-choices button{gap:7px;font-size:20px}.math-practice-actions{align-items:stretch}.math-practice-actions>button{flex:auto}}@media print{.math-grade-picker,.math-lessons,.math-practice-actions,.math-hero img{display:none}.math-workspace{display:block}.math-lesson-panel,.math-parent-note{box-shadow:none;border:1px solid #ccc}.math-picture{break-inside:avoid}.primary-math-page{font-size:12pt}}
