.mth-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mth-center{text-align:center}.mth-small{color:#7a6552;font-size:.92rem}.mth-left{justify-content:flex-start}.mth-box{background:var(--surface,#fff);border:2px solid #f1e3d0;border-radius:20px;margin:16px 0;padding:16px 18px}.mth-card{max-width:700px;margin-inline:auto}.mth-score{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 14px;font-weight:700;display:flex}.mth-score h2{margin:0;font-size:1.3rem}.mth-ex{text-align:center;border-radius:14px;margin-top:10px;padding:6px 4px;transition:background .2s}.mth-ex.flash-ok{background:#e7f8e4}.mth-ex.flash-no{background:#ffefe6}.mth-q{margin:4px 0 6px;font-size:1.2rem;font-weight:700;line-height:1.5}.mth-expr{overflow-wrap:anywhere;color:#5b3416;margin:6px 0 10px;font-family:Fredoka,Nunito,sans-serif;font-size:clamp(28px,8vw,48px);font-weight:700;line-height:1.15}.mth-expr.is-small{margin:2px 0 6px;font-size:1.35rem}.mth-svg{color:#2b1608;justify-content:center;max-width:100%;margin:6px auto 10px;display:flex}.mth-svg svg{background:#fff;border-radius:12px;max-width:min(100%,320px);height:auto;max-height:240px}.mth-input-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:6px;display:flex}.mth-input{width:min(100%,220px);font:inherit;text-align:center;color:#2b1608;background:#fff;border:3px solid #5b3416;border-radius:14px;min-height:56px;padding:8px 10px;font-size:28px;font-weight:800}.mth-input:focus-visible{outline-offset:2px;outline:3px solid #f28c28}.mth-input.is-right{background:#e7f8e4;border-color:#11806b}.mth-input.is-wrong{background:#ffefe6;border-color:#c0392b}.mth-unit{font-size:1.2rem;font-weight:700}.mth-hint{color:#7a6552;flex-basis:100%}.mth-keys{gap:6px;display:inline-flex}.mth-keys button{color:#2b1608;cursor:pointer;background:#fff;border:2px solid #5b3416;border-radius:12px;min-width:44px;min-height:44px;font-size:22px;font-weight:900}.mth-choices{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;max-width:560px;margin:8px auto 0;display:grid}.mth-choice{min-height:52px;font:inherit;color:#2b1608;cursor:pointer;background:#fff;border:2px solid #5b3416;border-radius:14px;padding:8px 12px;font-size:1.15rem;font-weight:800;box-shadow:2px 2px #5b3416}.mth-choice.is-picked{background:#fff3df}.mth-choice.is-right{background:#d6f5d1;border-color:#11806b}.mth-choice.is-wrong{background:#ffe0d6;border-color:#c0392b}.mth-choice:disabled{cursor:default}.mth-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px;display:flex}.mth-actions .btn:disabled,.mth-island .btn:disabled{opacity:.5;cursor:not-allowed}.mth-feedback{text-align:center;border-radius:14px;margin-top:12px;padding:12px}.mth-feedback.right{background:#e7f8e4}.mth-feedback.wrong{background:#fff3e0}.mth-verdict{margin:0 0 4px;font-size:1.2rem;font-weight:900}.mth-explain{margin:4px 0 10px;line-height:1.6}.mth-ans{white-space:nowrap}.mth-result{text-align:center;margin:4px 0;font-size:1.8rem}.mth-bar{background:#f1e3d0;border-radius:99px;height:8px;margin:8px 0;overflow:hidden}.mth-bar i{background:#f28c28;height:100%;transition:width .2s;display:block}.mth-dots{flex-wrap:wrap;justify-content:center;gap:5px;margin:6px 0 4px;display:flex}.mth-dots button{color:#2b1608;cursor:pointer;background:#fff;border:2px solid #e3d3bd;border-radius:50%;width:34px;height:34px;font-size:13px;font-weight:800}.mth-dots .is-done{background:#d9f0ea;border-color:#11806b}.mth-dots .is-on{background:#ffd9a8;border-color:#5b3416}.mth-tag{color:#5b3416;background:#fff3df;border-radius:99px;padding:2px 10px;font-weight:700;display:inline-block}.mth-review{gap:10px;margin:0;padding:0;list-style:none;display:grid}.mth-review li{text-align:center;background:var(--surface,#fff);border:2px solid #f1e3d0;border-radius:14px;padding:10px}.mth-review li p{margin:4px 0}.mth-review li.ok{background:#f1fbf6;border-color:#11806b}.mth-review li.no{background:#fff6f2;border-color:#c0392b}.mth-review .mth-svg svg{max-height:150px}.mth-link{font:inherit;color:#11806b;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.mth-controls{gap:10px;margin:20px 0 6px;display:grid}.mth-chips{flex-wrap:wrap;justify-content:center;gap:8px;margin:8px 0;display:flex}.mth-chip{font:inherit;background:var(--surface,#fff);min-height:44px;color:inherit;cursor:pointer;border:2px solid #5b3416;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-weight:700;display:inline-flex}.mth-chip[aria-pressed=true]{color:#fff;background:#5b3416}.mth-check input{width:18px;height:18px}.mth-pick{border:2px dashed #e3d3bd;border-radius:14px;margin:0 0 10px;padding:10px 14px}.mth-pick-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px 14px;display:grid}.mth-pick-grid label{cursor:pointer;align-items:center;gap:8px;display:flex}.mth-pick-grid input{flex:none;width:18px;height:18px}.mth-tips{margin:10px 0;padding-left:0;line-height:1.7;list-style:none}.mth-tips li:before{content:"✔️ "}.mth-example{background:#fffaf2;border:2px dashed #e3c9a4;border-radius:14px;padding:10px 16px}.mth-example ol{margin:6px 0;padding-left:22px;line-height:1.7}.mth-example h3{margin:0 0 4px}.mth-grade-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.mth-grade-card{text-align:center;background:var(--surface,#fff);color:inherit;border:2px solid #f1e3d0;border-radius:18px;flex-direction:column;align-items:center;gap:2px;padding:14px 10px;text-decoration:none;display:flex}.mth-grade-card:hover,.mth-grade-card:focus-visible{border-color:#f28c28}.mth-grade-card .e{font-size:2rem}.mth-grade-card b{color:#5b3416;font-family:Fredoka,Nunito,sans-serif;font-size:1.2rem}.mth-grade-card small{color:#7a6552}.mth-topics{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;display:grid}.mth-topic{background:var(--surface,#fff);color:inherit;border:2px solid #f1e3d0;border-radius:16px;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;display:flex}.mth-topic:hover,.mth-topic:focus-visible{border-color:#f28c28}.mth-topic .e{flex:none;font-size:1.8rem}.mth-topic b{line-height:1.3;display:block}.mth-topic small{color:#7a6552;display:block}.mth-pills{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.mth-pills a{background:var(--surface,#fff);color:inherit;border:2px solid #f1e3d0;border-radius:999px;padding:7px 13px;font-weight:700;text-decoration:none}.mth-pills a:hover{border-color:#f28c28}.mth-search{width:100%;min-height:50px;font:inherit;background:var(--surface,#fff);color:inherit;border:2px solid #5b3416;border-radius:999px;padding:10px 16px;font-size:1.1rem}.mth-hits{flex-wrap:wrap;justify-content:center;gap:6px;margin:10px 0 0;padding:0;list-style:none;display:flex}.mth-hits a{background:var(--surface,#fff);color:inherit;border:2px solid #f1e3d0;border-radius:999px;padding:6px 12px;font-weight:700;text-decoration:none}.mth-hub-topics summary{cursor:pointer;color:#5b3416;padding:6px 0;font-family:Fredoka,Nunito,sans-serif;font-weight:800}.mth-hub-topics ul{columns:2 260px;margin:4px 0 10px}.mth-sec{margin-top:28px}.mth-preview{background:#efe6d8;border-radius:20px;margin:18px 0;padding:14px}.mth-print-area{max-width:8.5in;margin:10px auto 0}.mth-print{color:#111;background:#fff;border-radius:4px;margin:0 auto 14px;padding:.45in .5in;box-shadow:0 4px 18px #5b34162e}.mth-print h2{text-align:center;color:#111;margin:0 0 6px;font-family:Fredoka,Nunito,sans-serif;font-size:19pt}.mth-pmeta{flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin:0 0 4px;font-size:11.5pt;display:flex}.mth-psub{text-align:center;color:#555;margin:0 0 10px;font-size:10.5pt}.mth-plist{counter-reset:q;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin:0;padding:0;list-style:none;display:grid}.mth-plist>li{counter-increment:q;break-inside:avoid;page-break-inside:avoid;padding-left:24px;font-size:11.5pt;position:relative}.mth-plist>li:before,.mth-pkey>li:before{content:counter(q) ".";font-weight:800;position:absolute;left:0}.mth-pitem p{margin:0 0 2px;line-height:1.35}.mth-pq{font-weight:600}.mth-pexpr{font-size:13.5pt;font-weight:800}.mth-blank{vertical-align:baseline;border-bottom:1.5px solid #555;width:80px;height:1em;margin:0 4px;display:inline-block}.mth-psvg{color:#111}.mth-psvg svg{width:auto;max-width:100%;height:auto;max-height:74px;display:block}.mth-pchoices{flex-wrap:wrap;gap:4px 14px;display:flex}.mth-pline{align-items:flex-end;gap:6px;display:flex}.mth-pline span{border-bottom:1px solid #777;flex:1;max-width:130px;height:1.2em}.mth-pfoot{text-align:center;color:#777;margin:14px 0 0;font-size:9pt}.mth-pkey{columns:3;counter-reset:q;margin:0;padding:0;font-size:12pt;list-style:none}.mth-pkey>li{counter-increment:q;break-inside:avoid;margin-bottom:4px;padding-left:30px;position:relative}@media (width<=560px){.mth-plist{grid-template-columns:1fr}.mth-print{padding:16px}.mth-pkey{columns:2}}@media (width<=420px){.mth-q{font-size:1.05rem}.mth-input{font-size:24px}}@media (prefers-reduced-motion:reduce){.mth-ex,.mth-bar i{transition:none}}html[data-theme=dark] .mth-input,html[data-theme=dark] .mth-choice,html[data-theme=dark] .mth-keys button{background:#fffaf2}html[data-theme=dark] .mth-expr,html[data-theme=dark] .mth-grade-card b,html[data-theme=dark] .mth-hub-topics summary{color:#ffcf99}html[data-theme=dark] .mth-feedback,html[data-theme=dark] .mth-ex.flash-ok,html[data-theme=dark] .mth-ex.flash-no,html[data-theme=dark] .mth-review li,html[data-theme=dark] .mth-example{color:#2a1d12}@page{size:letter;margin:.5in}@media print{.mth-noprint,body.mth-printing>:not(.mth-print-path),body.mth-printing .mth-print-path>:not(.mth-print-path):not(.mth-print-area){display:none!important}body.mth-printing .mth-print-path{box-shadow:none!important;background:#fff!important;border:0!important;max-width:none!important;margin:0!important;padding:0!important}.mth-print-area{max-width:none;margin:0}.mth-print{box-shadow:none;border-radius:0;margin:0;padding:0}.mth-key{break-before:page;page-break-before:always}.mth-plist>li{font-size:11pt}}
