.mth-ltr{white-space:nowrap;vertical-align:bottom;direction:ltr;unicode-bidi:isolate;max-width:100%;display:inline-block;overflow-x:auto}.mth-card{max-width:680px;margin-inline:auto}.mth-score{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 14px;font-weight:700;display:flex}.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:#ffecec}.mth-q{margin:4px 0 6px;font-size:20px;font-weight:700;line-height:1.5}.mth-expr{overflow-wrap:anywhere;direction:ltr;margin:6px 0 10px;font-size:clamp(30px,9vw,52px);font-weight:900;line-height:1.15}.mth-expr.is-small{margin:2px 0 6px;font-size:22px}.mth-svg{color:#1d2233;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{text-align:center;border:3px solid var(--border,#1d2233);color:#1d2233;background:#fff;border-radius:14px;width:min(100%,220px);min-height:56px;padding:8px 10px;font-size:30px;font-weight:800}.mth-input:focus-visible{outline-offset:2px;outline:3px solid #19b9d3}.mth-input.is-right{background:#e7f8e4;border-color:#2e9e2b}.mth-input.is-wrong{background:#ffecec;border-color:#d33}.mth-unit{font-size:20px;font-weight:700}.mth-hint{color:var(--muted-foreground,#666);flex-basis:100%}.mth-keys{direction:ltr;gap:6px;display:inline-flex}.mth-keys button{border:2px solid var(--border,#1d2233);color:#1d2233;background:#fff;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{border:2px solid var(--border,#1d2233);color:#1d2233;min-height:52px;box-shadow:2px 2px 0 var(--border,#1d2233);background:#fff;border-radius:14px;padding:8px 12px;font-size:20px;font-weight:800}.mth-choice.is-picked{background:#fff6d1}.mth-choice.is-right{background:#d6f5d1;border-color:#2e9e2b}.mth-choice.is-wrong{background:#ffe0e0;border-color:#d33}.mth-choice:disabled{cursor:default}.mth-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px;display:flex}.mth-actions .ln-btn{justify-content:center;align-items:center;display:inline-flex}.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:20px;font-weight:900}.mth-explain{margin:4px 0 10px;line-height:1.6}.mth-dots{flex-wrap:wrap;justify-content:center;gap:5px;margin:6px 0 4px;display:flex}.mth-dots button{color:#1d2233;background:#fff;border:2px solid #cfd3e0;border-radius:50%;width:34px;height:34px;font-size:13px;font-weight:800}.mth-dots .is-done{background:#e9e4ff;border-color:#7548b3}.mth-dots .is-on{border-color:var(--border,#1d2233);background:var(--yellow,#ffd23f)}.mth-tag{color:#1d2233;background:#eef0f6;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;border:2px solid #cfd3e0;border-radius:14px;padding:10px}.mth-review li.ok{background:#f3fbf1;border-color:#2e9e2b}.mth-review li.no{background:#fff6f6;border-color:#d33}.mth-review .mth-svg svg{max-height:150px}.mth-explainer h2{margin:0 0 8px}.mth-tips{margin:10px 0;padding-inline-start:22px;line-height:1.7;list-style:"✔️ "}.mth-example{color:#1d2233;background:#fffdf3;border:2px dashed #b9bfd0;border-radius:14px;padding:10px 14px}.mth-example ol{margin:6px 0;padding-inline-start:22px;line-height:1.7}.mth-search{border:2px solid var(--border,#1d2233);background:var(--card,#fff);border-radius:999px;width:100%;min-height:52px;padding:10px 16px;font-size:18px}.mth-hits{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px;display:flex}.mth-grade-card{flex-direction:column;align-items:center;gap:2px;display:flex}.mth-topic-card{align-items:center;gap:12px;display:flex}.mth-grade-nav{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.mth-print h2{text-align:center;margin:0 0 4px;font-size:20pt}.mth-pmeta{flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin:0 0 4px;font-size:12pt;display:flex}.mth-psub{text-align:center;color:#555;margin:0 0 8px;font-size:11pt}.mth-plist{counter-reset:q;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0;padding:0;list-style:none;display:grid}.mth-plist>li{counter-increment:q;break-inside:avoid;page-break-inside:avoid;padding-inline-start:24px;font-size:12pt;position:relative}.mth-plist>li:before,.mth-pkey>li:before{content:counter(q) ".";font-weight:800;position:absolute;inset-inline-start:0}.mth-pitem p{margin:0 0 3px}.mth-pq{font-weight:600}.mth-pexpr{text-align:right;direction:ltr;font-size:15pt;font-weight:800}.mth-psvg{color:#111}.mth-psvg svg{width:auto;max-width:100%;height:auto;max-height:105px;margin-inline:auto;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:120px;height:1.2em}.mth-pkey{columns:3;counter-reset:q;margin:0;padding:0;font-size:13pt;list-style:none}.mth-pkey>li{counter-increment:q;break-inside:avoid;margin-bottom:3px;padding-inline-start:30px;position:relative}@media (width<=420px){.mth-q{font-size:18px}.mth-input{font-size:26px}}@media (prefers-reduced-motion:reduce){.mth-ex{transition:none}}
