.math-root{--bg:#f3f6f5;--surface:#fff;--surface-2:#edf2f0;--surface-3:#e3eae7;--ink:#14202b;--ink-2:#4b5a66;--ink-3:#6f7e89;--line:#d3ddda;--grid:#e4eae8;--accent:#1e5bc6;--accent-ink:#fff;--accent-soft:#e2ebfa;--mark:#e9b308;--mark-soft:#fff3c4;--ok:#17804f;--ok-soft:#ddf1e6;--bad:#c0392b;--bad-soft:#fbe4e0;--help:#98600a;--help-soft:#fbefd6;--shadow:0 1px 2px #14202b0d, 0 6px 20px #14202b0f;--r:10px;--f-display:var(--font-math-display), var(--font-math-body), system-ui, sans-serif;--f-body:var(--font-math-body), var(--font-noto-thai), system-ui, sans-serif;--f-mono:var(--font-math-mono), ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--f-hand:var(--font-math-hand), var(--font-math-body), cursive;width:100%;color:var(--ink);background-color:var(--bg);background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);font-family:var(--f-body);-webkit-font-smoothing:antialiased;background-size:26px 26px;flex:1;font-size:15.5px;line-height:1.7}.math-root .app{max-width:1200px;margin:0 auto;padding-block:18px 64px;padding-inline:16px}.math-root h1,.math-root h2,.math-root h3,.math-root h4{font-family:var(--f-display);text-wrap:balance;margin:0;line-height:1.3}.math-root p{margin:0}.math-root code,.math-root pre{font-family:var(--f-mono)}.math-root :focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}.math-root .katex{font-size:1.08em}.math-root .katex .text{font-family:var(--f-body), KaTeX_Main, serif}.math-root .katex-display{margin:.4em 0;padding-block:2px;overflow:auto hidden}.math-root .eyebrow{font-family:var(--f-display);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);font-size:12px;font-weight:600}.math-root .muted{color:var(--ink-3)}.math-root .tnum{font-variant-numeric:tabular-nums}.math-root .top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px 24px;margin-bottom:18px;display:flex}.math-root .brand{color:inherit;align-items:center;gap:12px;text-decoration:none;display:flex}.math-root .brand-logo{width:auto;height:120px;display:block}@media (max-width:560px){.math-root .brand-logo{height:84px}}.math-root .tabs{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;gap:4px;max-width:100%;padding:4px;display:flex;overflow-x:auto}.math-root .tab{cursor:pointer;white-space:nowrap;color:var(--ink-2);background:0 0;border:0;border-radius:9px;padding:8px 14px;font-weight:500;text-decoration:none}.math-root .tab[aria-current=page]{background:var(--ink);color:var(--bg)}.math-root .tab:hover:not([aria-current=page]){background:var(--surface-2)}@media (max-width:560px){.math-root .tabs{width:100%}.math-root .tab{white-space:normal;text-align:center;flex:1;padding:6px 8px;font-size:13.5px;line-height:1.3}}.math-root .btn{font:inherit;cursor:pointer;border:1.5px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:9px 16px;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s,transform .1s;display:inline-flex}.math-root .btn:active:not(:disabled){transform:translateY(1px)}.math-root .btn:disabled{opacity:.45;cursor:not-allowed}.math-root .btn-primary{background:var(--accent);color:var(--accent-ink)}.math-root .btn-primary:hover:not(:disabled){filter:brightness(1.06)}.math-root .btn-ghost{background:var(--surface);border-color:var(--line);color:var(--ink)}.math-root .btn-ghost:hover:not(:disabled){border-color:var(--ink-3)}.math-root .btn-text{color:var(--ink-2);text-underline-offset:3px;background:0 0;min-height:32px;padding-inline:8px;text-decoration:underline}.math-root .card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;align-content:start;gap:14px;padding:22px;display:grid}@media (max-width:520px){.math-root .card{padding:16px}}.math-root .card-title{margin:2px 0 4px;font-size:22px}.math-root .card p{max-width:62ch;font-size:14.5px}.math-root .hero{gap:6px;margin:6px 0 20px;display:grid}.math-root .hero h1{font-size:clamp(24px,4vw,32px)}.math-root .hero p{color:var(--ink-2);max-width:70ch}.math-root .grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.math-root .grid-2.align-start{align-items:start}.math-root .grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}@media (max-width:860px){.math-root .grid-3{grid-template-columns:minmax(0,1fr)}}@media (max-width:720px){.math-root .grid-2{grid-template-columns:minmax(0,1fr)}}.math-root .track-code{font-family:var(--f-mono);color:var(--ink-3);font-size:12.5px}.math-root .actions{flex-wrap:wrap;gap:8px;display:flex}.math-root .parts{gap:10px;margin:0;padding:0;list-style:none;display:grid}.math-root .part{background:var(--surface-2);border-radius:12px;gap:6px;padding:12px 14px;display:grid}.math-root .part-head{font-family:var(--f-display);flex-wrap:wrap;justify-content:space-between;gap:6px;font-weight:600;display:flex}.math-root .topics{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.math-root .topic{background:var(--surface);border:1px solid var(--line);color:var(--ink-2);border-radius:999px;padding:2px 10px;font-size:13px}.math-root .format{gap:4px;margin:0;padding-left:18px;font-size:14.5px;display:grid}.math-root .empty{border:1px dashed var(--line);color:var(--ink-3);text-align:center;background:var(--surface);border-radius:12px;padding:18px}.math-root .admin-badge{background:var(--help-soft);color:var(--help);border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:13px;font-weight:600;display:inline-flex}.math-root .topic-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.math-root .topic-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-content:start;gap:8px;min-width:0;padding:14px;display:grid}.math-root .topic-card .card-title{margin:0;font-size:16px}.math-root .topic-card .btn{justify-self:start}.math-root .topic-card.is-dev{background:var(--surface-2);color:var(--ink-3);border-style:dashed}.math-root .topic-card.is-dev .card-title{color:var(--ink-3)}.math-root .topic-card-head{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.math-root .weak-groups{gap:14px;display:grid}.math-root .weak-group{gap:6px;display:grid}.math-root .weak-group-title{font-family:var(--f-display);margin:0;font-size:14.5px;font-weight:600}.math-root .weak-group-title a{color:var(--accent);text-decoration:none}.math-root .weak-group-title a:hover{text-decoration:underline}.math-root .badge{letter-spacing:.04em;border-radius:999px;padding:2px 8px;font-size:11.5px;font-weight:700}.math-root .badge-new{background:var(--ok-soft);color:var(--ok)}.math-root .badge-dev{background:var(--surface);border:1px solid var(--line);color:var(--ink-3)}@media (max-width:520px){.math-root .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.math-root .topic-card{padding:10px}.math-root .topic-card .card-title{font-size:14.5px}}.math-root .stack{gap:16px;display:grid}.math-root .btn-small{background:var(--surface-2);border-color:var(--line);min-height:32px;padding:4px 10px;font-size:13px;font-weight:500}.math-root .btn-small.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.math-root [data-k]{transition:opacity .45s,transform .45s}.math-root .tl-hide{transform:translateY(6px);opacity:0!important}.math-root svg .tl-hide{transform:none}.math-root .g-curve{stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset 1.1s,opacity .3s}.math-root .g-curve.tl-hide{stroke-dashoffset:1px;opacity:1!important}@media (prefers-reduced-motion:reduce){.math-root [data-k],.math-root .g-curve{transition:none}.math-root .btn-hint.is-nudge{animation:none}}.math-root .mach{gap:12px;display:grid;container-type:inline-size}.math-root .mach-row{justify-content:center;align-items:center;gap:8px;display:flex}.math-root .mach-arrow{color:var(--ink-3);flex:none;font-size:20px}.math-root .mach-in{flex-direction:column;flex:none;align-items:center;gap:4px;display:flex}.math-root .mach-cap{color:var(--ink-3);font-size:12px}.math-root .chip-val{background:var(--surface-2);border:1.5px solid var(--line);text-align:center;min-width:46px;font-weight:600;font-family:var(--f-display);border-radius:10px;padding:6px 10px;transition:transform .2s,background .2s}.math-root .chip-val.pop{background:var(--mark-soft);border-color:var(--mark);transform:scale(1.15)}.math-root .chip-val.is-err{background:var(--bad-soft);border-color:var(--bad);color:var(--bad)}.math-root .mach-box{border:2px solid var(--ink);text-align:center;background:var(--surface);border-radius:12px;min-width:112px;padding:22px 12px 10px;transition:background .2s,border-color .2s;position:relative}.math-root .mach-box:before{content:"";background:var(--surface);border:2px solid var(--ink);border-bottom:0;border-radius:8px 8px 0 0;width:26px;height:14px;position:absolute;top:-9px;left:50%;transform:translate(-50%)}.math-root .mach-name{font-family:var(--f-display);color:var(--ink-3);font-size:13px;font-weight:700;position:absolute;top:4px;left:10px}.math-root .mach-rule{font-size:15px}.math-root .mach-out{min-height:24px;margin-top:6px;font-size:13.5px}.math-root .mach-box.working{background:var(--mark-soft);border-color:var(--mark)}.math-root .mach-box.broken{background:var(--bad-soft);border-color:var(--bad);animation:.4s math-shake}.math-root .mach-box.broken .mach-out{color:var(--bad);font-weight:600}@keyframes math-shake{25%{transform:translate(-4px)}75%{transform:translate(4px)}}.math-root .mach-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.math-root .mach-btn{border:1.5px solid var(--line);background:var(--surface);cursor:pointer;font-weight:600;font-family:var(--f-display);border-radius:8px;padding:5px 12px}.math-root .mach-btn[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.math-root .mach-msg{text-align:center;min-height:24px;font-size:14.5px}.math-root .mach-msg.is-err{color:var(--bad)}@container (max-width:430px){.math-root .mach-row{flex-direction:column;gap:4px}.math-root .mach-arrow{transform:rotate(90deg)}.math-root .mach-in{flex-direction:row;gap:8px}.math-root .mach-box{width:min(240px,100%)}}.math-root .tree{justify-items:center;gap:0;padding:6px 0;display:grid}.math-root .tree-node,.math-root .tree-root,.math-root .tree-kid,.math-root .tree-foot{background:var(--surface-2);border:1.5px solid var(--line);text-align:center;border-radius:10px;padding:8px 14px}.math-root .tree-root{border-color:var(--ink);font-size:18px}.math-root .tree-branches{width:100%;height:34px}.math-root .tree-branches svg{width:100%;height:100%;display:block}.math-root .tree-kids{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;width:100%;display:grid}.math-root .tree-kid{justify-items:center;gap:2px;display:grid}.math-root .tree-note{color:var(--ink-3);font-size:12px}.math-root .tree-op{font-family:var(--f-display);color:var(--ink-2);font-size:22px;font-weight:700}.math-root .tree-sub{background:var(--accent-soft);color:var(--accent);border-radius:6px;margin-top:4px;padding:0 8px}.math-root .tree-foot{border-color:var(--ok);background:var(--ok-soft);width:100%;margin-top:14px}.math-root .nl{--rowh:60px;--labw:92px;grid-template-columns:var(--labw) minmax(0,1fr);display:grid;position:relative}.math-root .nl-row{display:contents}.math-root .nl-label{height:var(--rowh);align-items:center;padding-right:6px;font-size:15px;display:flex}.math-root .nl-track{height:var(--rowh);position:relative}.math-root .nl-row.is-result .nl-label{font-weight:700}.math-root .nl-row.is-result .nl-track{background:var(--accent-soft);border-radius:8px}.math-root .nl-bar{background:var(--accent);border-radius:2px;height:4px;position:absolute;top:20px;left:2%;right:2%}.math-root .nl-row.is-result .nl-bar{height:6px;top:19px}.math-root .nl-bar:before,.math-root .nl-bar:after{content:"";border-block:6px solid #0000;width:0;height:0;position:absolute;top:50%;transform:translateY(-50%)}.math-root .nl-bar:before{border-right:9px solid var(--accent);left:-8px}.math-root .nl-bar:after{border-left:9px solid var(--accent);right:-8px}.math-root .nl-tick{background:var(--ink-3);width:2px;height:12px;position:absolute;top:16px;transform:translate(-1px)}.math-root .nl-num{color:var(--ink-2);font-size:12.5px;line-height:1.3;font-family:var(--f-display);white-space:nowrap;background:var(--surface);z-index:3;border-radius:3px;padding:0 3px;position:absolute;top:14px;left:50%;transform:translate(-50%)}.math-root .nl-row.is-result .nl-num{background:var(--accent-soft)}.math-root .nl-hole{background:var(--surface);border:2.5px solid var(--bad);z-index:2;border-radius:50%;width:16px;height:16px;position:absolute;top:22px;transform:translate(-50%,-50%)}.math-root .nl-row.is-result .nl-hole{background:var(--accent-soft)}.math-root .nl-proj{left:var(--labw);pointer-events:none;position:absolute;top:0;bottom:0;right:0}.math-root .nl-drop{top:calc(var(--from) * var(--rowh) + 30px);height:calc((var(--to) - var(--from)) * var(--rowh) - 16px);border-left:2px dashed var(--bad);transform-origin:top;transition:transform .6s,opacity .3s;position:absolute}.math-root .nl-proj.tl-hide{transform:none;opacity:1!important}.math-root .nl-proj.tl-hide .nl-drop{transform:scaleY(0)}@media (max-width:520px){.math-root .nl{--labw:74px;--rowh:56px}.math-root .nl-label{font-size:13.5px}}.math-root .g-wrap{width:100%;aspect-ratio:var(--ar);max-width:100%;position:relative}.math-root .g-wrap svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.math-root .g-grid{stroke:var(--grid);stroke-width:1px;fill:none}.math-root .g-axis{stroke:var(--ink-3);stroke-width:1.4px;fill:none}.math-root .g-arrow{fill:var(--ink-3)}.math-root .g-tick{fill:var(--ink-3);font-size:11.5px;font-family:var(--f-display)}.math-root .g-tick.hot{fill:var(--bad);font-size:13px;font-weight:700}.math-root .g-curve{fill:none;stroke:var(--accent);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.math-root .g-hline{stroke-width:2px;stroke-dasharray:6 5;fill:none}.math-root .g-tone-accent{stroke:var(--help)}.math-root .g-tone-bad{stroke:var(--bad)}.math-root .g-tone-ok{stroke:var(--ok)}.math-root .g-pt{stroke:var(--surface);stroke-width:2px}.math-root .g-pt.tone-bad{fill:var(--bad)}.math-root .g-pt.tone-accent,.math-root .g-pt.tone-default{fill:var(--ink)}.math-root .g-pt.tone-ok{fill:var(--ok)}.math-root .g-drop{stroke:var(--bad);stroke-width:1.6px;stroke-dasharray:4 4;fill:none}.math-root .g-band{fill:var(--mark);opacity:.8}.math-root .g-band-cap{fill:var(--mark);stroke:var(--surface);stroke-width:1.5px}.math-root .g-lab{white-space:nowrap;background:color-mix(in srgb, var(--surface) 88%, transparent);text-align:center;border-radius:5px;padding:1px 5px;font-size:13px;line-height:1.25;position:absolute}.math-root .g-lab.tone-accent{color:var(--help);font-weight:600}.math-root .g-lab.is-fn{color:var(--accent);font-weight:600}.math-root .g-lab.is-band{color:var(--help)}.math-root .vt{border-collapse:separate;border-spacing:0;width:100%;font-size:15px}.math-root .vt th,.math-root .vt td{border-bottom:1px solid var(--line);text-align:center;padding:8px 12px}.math-root .vt th{font-family:var(--f-display);color:var(--ink-2);background:var(--surface-2);font-weight:600}.math-root .vt th:first-child{border-top-left-radius:8px}.math-root .vt th:last-child{border-top-right-radius:8px}.math-root .vt tr.is-hot td{background:var(--bad-soft)}.math-root .vt tr.is-hit td{background:var(--ok-soft);font-weight:600}.math-root .vt .flag{color:var(--bad);font-size:12.5px;font-weight:600}.math-root .vt .flag.ok{color:var(--ok)}.math-root .vt-wrap{overflow-x:auto}.math-root .g-curve2{fill:none;stroke:var(--help);stroke-width:3px;stroke-dasharray:9 7;stroke-linecap:round;transition:opacity .5s}.math-root .g-lab.is-fn2{color:var(--help);font-weight:600}.math-root .g-lab.is-tick{color:var(--ink-3);background:0 0;padding:0 2px;font-size:12px}.math-root .geo .g-lab,.math-root .uc .g-lab{font-size:14px}.math-root .geo-poly{stroke:none;transition:opacity .5s}.math-root .geo-seg{fill:none;stroke-linecap:round}.math-root .geo-seg.is-dash{stroke-dasharray:6 5;transition:opacity .4s}.math-root .geo-draw{stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset .9s,opacity .3s}.math-root .geo-draw.tl-hide{stroke-dashoffset:1px;opacity:1!important}.math-root .geo-arc{fill:none;stroke:var(--accent);stroke-width:1.8px;stroke-dasharray:1}.math-root .geo-arc:not(.geo-draw){stroke-dasharray:5 4}.math-root .geo-tick{stroke:var(--ink);stroke-width:2px}.math-root .geo-angle{fill:none;stroke:var(--ink-2);stroke-width:1.8px}.math-root .geo-dot{fill:var(--ink);stroke:var(--surface);stroke-width:1.5px}.math-root .g-lab.tone-ink{color:var(--ink)}.math-root .g-lab.tone-ok{color:var(--ok);font-weight:600}.math-root .g-lab.tone-mark{color:var(--help);font-weight:600}.math-root .g-lab.tone-muted{color:var(--ink-3)}.math-root .g-lab.tone-bad{color:var(--bad);font-weight:600}.math-root .g-lab.is-name{font-family:var(--f-display);background:0 0;font-size:15px;font-weight:700}.math-root .g-lab.is-ang{background:0 0;padding:0}.math-root .g-lab.is-seg{font-weight:600}.math-root .g-tone-mark{stroke:var(--help)}.math-root .g-wrap{container-type:inline-size}.math-root .g-wrap>.g-lab{font-size:clamp(10px,2.46cqw,14px)}.math-root .g-wrap>.g-lab.is-tick{font-size:clamp(9px,2.27cqw,12px)}.math-root .g-wrap.geo>.g-lab,.math-root .uc .g-wrap>.g-lab{font-size:clamp(10.5px,2.65cqw,15px)}.math-root .g-wrap>.g-lab.is-name{font-size:clamp(11px,2.84cqw,16px)}.math-root .sc-fig .g-wrap{max-width:min(100%,560px)}@media (prefers-reduced-motion:reduce){.math-root .geo-draw,.math-root .geo-poly,.math-root .g-curve2{transition:none}}.math-root .uc{gap:10px;display:grid}.math-root .uc-circle{fill:none;stroke:var(--ink-3);stroke-width:1.6px}.math-root .uc-slice{fill:#0000;stroke:var(--line);stroke-width:1px}.math-root .uc-slice.is-hi{fill:var(--mark-soft);stroke:var(--help);stroke-width:1.6px}.math-root .uc-ray{stroke:var(--ink);stroke-width:2px;stroke-linecap:round}.math-root .uc-seg{stroke-width:4px;stroke-linecap:round}.math-root .uc-guide{stroke:var(--line);stroke-width:1.2px;stroke-dasharray:5 4}.math-root .uc-pt{fill:var(--ink);stroke:var(--surface);stroke-width:2px}.math-root .uc-sl{color:var(--ink-2);gap:4px;font-size:14px;display:grid}.math-root .uc-sl input{width:100%;accent-color:var(--accent);min-height:28px}.math-root .uc-ro{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;display:grid}.math-root .uc-r{background:var(--surface-2);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:14px;display:flex}.math-root .uc-r b{font-family:var(--f-mono);font-weight:500}.math-root .uc-note{color:var(--ink-2);margin:0;font-size:13.5px}.math-root .vt .flag.muted{color:var(--ink-3);font-weight:500}.math-root .has-focus [data-k]{transition:opacity .35s}.math-root .has-focus [data-k]:not(.is-focus){opacity:.3}.math-root .has-focus .is-focus{animation:.6s math-focus-in}@keyframes math-focus-in{0%{opacity:.3}to{opacity:1}}@media (prefers-reduced-motion:reduce){.math-root .has-focus .is-focus{animation:none}}.math-root .math-visual{justify-items:start;gap:8px;margin:0;display:grid}.math-root .math-visual>.vis-stage{width:100%}.math-root .vis-error{border:1.5px dashed var(--bad);color:var(--bad);border-radius:10px;margin:0;padding:12px 14px;font-size:14px}.math-root .err{color:var(--bad);min-height:20px;font-size:13.5px}.math-root .exam-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;gap:16px;padding:22px;display:grid}@media (max-width:520px){.math-root .exam-card{padding:16px}}.math-root .exam-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 20px;display:flex}.math-root .exam-title{margin:2px 0 4px;font-size:22px}.math-root .exam-head p{max-width:62ch;font-size:14px}.math-root .timer-box{background:var(--surface-2);border-radius:10px;justify-items:end;gap:0;padding:8px 14px;display:grid}.math-root .timer-box span{font-size:12px}.math-root .timer-box b{font-family:var(--f-mono);letter-spacing:.02em;font-size:22px;font-weight:500}.math-root .sheet{border:1px dashed var(--line);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.math-root .sheet-l{font-family:var(--f-display);color:var(--ink-2);margin-right:4px;font-size:13px;font-weight:600}.math-root .sheet-c{font-size:13px}.math-root .sheet .btn-submit{min-height:36px;margin-left:auto;padding:6px 14px}.math-root .sheet-n{border:1.5px solid var(--line);background:var(--surface);width:38px;height:38px;font-family:var(--f-display);cursor:pointer;border-radius:9px;font-weight:700}.math-root .sheet-n.is-answered{background:var(--ink);color:var(--bg);border-color:var(--ink)}.math-root .sheet-n.is-current{box-shadow:0 0 0 3px var(--accent-soft);border-color:var(--accent)}.math-root .sheet-n.is-answered.is-current{border-color:var(--accent)}.math-root .eq{gap:14px;display:grid}.math-root .eq-head{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.math-root .eq-no{font-family:var(--f-display);font-size:20px;font-weight:700}.math-root .fmt-chip{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:600}.math-root .eq-src{font-size:13px}.math-root .eq-stem{max-width:78ch;font-size:17px;line-height:1.95}.math-root .ech-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}@media (max-width:720px){.math-root .ech-list{grid-template-columns:minmax(0,1fr)}}.math-root .ech{text-align:left;border:1.5px solid var(--line);background:var(--surface);cursor:pointer;border-radius:12px;align-items:center;gap:14px;min-height:56px;padding:12px 14px;font-size:16px;display:flex}.math-root .ech:hover{border-color:var(--ink-3)}.math-root .ech>span:last-child{min-width:0}.math-root .ech-no{border:2px solid var(--ink-3);width:30px;height:30px;font-family:var(--f-display);color:var(--ink-2);border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:700;display:grid}.math-root .ech.is-sel{border-color:var(--accent);background:var(--accent-soft)}.math-root .ech.is-sel .ech-no{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.math-root .fill-l{font-family:var(--f-display);color:var(--ink-2);font-size:13px;font-weight:600}.math-root .fill-row{background:var(--surface-2);border-radius:12px;flex-wrap:wrap;align-items:center;gap:6px;padding:14px 16px;font-size:19px;display:flex}.math-root .fill-row input{font:inherit;font-family:var(--f-display);border:2px solid var(--ink-3);background:var(--surface);width:min(240px,100%);min-width:0;color:var(--ink);border-radius:8px;padding:6px 12px;font-size:18px}.math-root .fill-row input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.math-root .fill-help{color:var(--ink-3);font-size:13px}.math-root .eq-nav{border-top:1px solid var(--line);justify-content:space-between;gap:8px;padding-top:14px;display:flex}.math-root .confirm{background:var(--help-soft);border-radius:12px;gap:10px;padding:12px 14px;font-size:15px;display:grid}.math-root .confirm-a{flex-wrap:wrap;gap:8px;display:flex}.math-root .res-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:14px 24px;padding-bottom:14px;display:flex}.math-root .res-num b{font-family:var(--f-display);font-size:48px;line-height:1}.math-root .res-num span{font-family:var(--f-display);color:var(--ink-3);font-size:22px}.math-root .res-meta{flex:260px;gap:2px;font-size:15px;display:grid}.math-root .res-list{gap:14px;display:grid}.math-root .res-q{border:1px solid var(--line);border-radius:12px;gap:10px;padding:16px;display:grid}.math-root .res-q-head{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.math-root .res-q-head h3{font-size:18px}.math-root .res-stem{color:var(--ink-2);font-size:15px}.math-root .res-ans{flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:15px;display:flex}.math-root .pill{font-size:12.5px;font-weight:700;font-family:var(--f-display);border-radius:999px;padding:2px 10px;display:inline-block}.math-root .pill-ok{background:var(--ok-soft);color:var(--ok)}.math-root .pill-bad{background:var(--bad-soft);color:var(--bad)}.math-root .pill-blank{background:var(--surface-3);color:var(--ink-2)}.math-root .diag{background:var(--bad-soft);border-radius:10px;gap:4px;padding:10px 14px;font-size:15px;display:grid}.math-root .diag-l{font-family:var(--f-display);color:var(--bad);font-size:13px;font-weight:600}.math-root .diag-focus{color:var(--ink-2);font-size:13.5px}.math-root .okbox{background:var(--ok-soft);border-radius:10px;padding:10px 14px;font-size:15px}.math-root .res-actions{flex-wrap:wrap;gap:8px;display:flex}.math-root .quick{grid-template-columns:minmax(0,1fr) minmax(0,300px);align-items:center;gap:14px;display:grid}@media (max-width:720px){.math-root .quick{grid-template-columns:minmax(0,1fr)}}.math-root .quick-lines{gap:4px;min-width:0;display:grid}.math-root .ql{border-bottom:1px dashed var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:4px 0;display:grid}.math-root .ql:last-child{border-bottom:0}.math-root .ql-m{min-width:0;overflow-x:auto}.math-root .ql-m .katex-display{text-align:left;margin:4px 0}.math-root .ql-n{color:var(--ink-2);background:var(--surface-2);white-space:normal;border-radius:6px;max-width:24em;padding:2px 8px;font-size:13px}@media (max-width:520px){.math-root .ql{grid-template-columns:minmax(0,1fr)}.math-root .ql-n{justify-self:start;max-width:none}}.math-root .quick-fig{min-width:0}.math-root .quick-box{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 14px}.math-root .quick-box>summary{cursor:pointer;font-family:var(--f-display);color:var(--accent);padding:4px 0;font-weight:600}.math-root .quick-box[open]>summary{margin-bottom:6px}.math-root .board-box{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 14px}.math-root .board-box>summary{cursor:pointer;font-family:var(--f-display);color:var(--accent);padding:4px 0;font-weight:600}.math-root .board-box[open]>summary{margin-bottom:8px}.math-root .board{--chalk:#f4f1e6;--chalk-2:#cfe0d6;--chalk-y:#f7d774;--chalk-r:#ff9a85;--chalk-b:#9fd3f5;--slate:#1f3a2f;--slate-2:#27463a;background:var(--slate);color:var(--chalk);border:6px solid #6b4f35;border-radius:12px;min-width:0;padding:12px 16px 16px;box-shadow:inset 0 0 40px #00000059}.math-root .bd-bar{border-bottom:1px dashed #f4f1e640;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding-bottom:8px;display:flex}.math-root .bd-title{font-family:var(--f-hand);color:var(--chalk-y);font-size:18px}.math-root .bd-ctl{flex-wrap:wrap;gap:6px;display:flex}.math-root .bd-btn{font:inherit;color:var(--chalk);background:var(--slate-2);cursor:pointer;border:1px solid #f4f1e659;border-radius:999px;padding:3px 12px;font-size:13px}.math-root .bd-btn:hover{border-color:var(--chalk-y);color:var(--chalk-y)}.math-root .bd-btn:focus-visible{outline:2px solid var(--chalk-y);outline-offset:2px}.math-root .bd-body{gap:6px;min-width:0;display:grid}.math-root .bd{min-width:0}.math-root .bd-m{min-width:0;overflow:auto hidden}.math-root .board .katex-display{text-align:left;margin:2px 0}.math-root .board .katex-display>.katex{text-align:left}.math-root .board .katex{color:var(--chalk);font-size:1.12em}.math-root .bd-tag{font-family:var(--f-hand);color:var(--slate);background:var(--chalk-y);border-radius:4px;margin-right:6px;padding:0 8px;font-size:14px;display:inline-block}.math-root .bd-given{border-bottom:1px solid #f4f1e62e;align-items:flex-start;gap:8px;padding-bottom:6px;display:flex}.math-root .bd-gt{flex:1;min-width:0}.math-root .bd-step{font-family:var(--f-hand);color:var(--chalk-y);text-underline-offset:5px;margin-top:8px;font-size:19px;-webkit-text-decoration:underline #f7d77480;text-decoration:underline #f7d77480}.math-root .bd-line{grid-template-columns:minmax(0,max-content) minmax(0,1fr);align-items:center;gap:2px 18px;padding-left:6px;display:grid}.math-root .bd-line>.bd-more{grid-column:1/-1}.math-root .bd-note{font-family:var(--f-hand);color:var(--chalk-b);max-width:22em;font-size:15px;line-height:1.4}.math-root .bd-note:before{content:"← ";opacity:.8}.math-root .bd-text{color:var(--chalk-2);padding-left:6px;font-size:15px;line-height:1.6}.math-root .bd-formula{border:2px dashed var(--chalk-y);background:#f7d7740f;border-radius:10px;margin:6px 0;padding:8px 12px}.math-root .bd-ft{color:var(--chalk-y);font-size:14.5px;font-weight:600}.math-root .bd-fx{color:var(--chalk-2);font-size:14px;line-height:1.55}.math-root .bd-answer{border:2px solid var(--chalk-y);border-radius:10px;flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:8px;padding:6px 12px;display:flex}.math-root .bd-at{font-family:var(--f-hand);color:var(--chalk-y);font-size:19px}.math-root .bd-more{color:var(--chalk-2);margin:2px 0 4px 6px;font-size:14px}.math-root .bd-more>summary{cursor:pointer;color:var(--chalk-b);width:max-content;font-size:13px}.math-root .bd-more>div{border-left:2px solid #9fd3f580;margin-top:4px;padding:6px 10px;line-height:1.6}.math-root .board .katex svg line{stroke:var(--chalk-r);stroke-width:.09em}.math-root .board .cx-to{color:var(--chalk-r)}.math-root .board .hl{color:var(--chalk-y)}.math-root .cx-to{color:var(--bad)}.math-root .hl{background:var(--mark-soft);border-radius:3px}.math-root .board .hl{border-bottom:2px solid var(--chalk-y);background:0 0}.math-root .bd-hidden{display:none}.math-root .bd-write{animation:.45s ease-out both math-bd-write}@keyframes math-bd-write{0%{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0)}}.math-root .bd-next-wrap{margin-top:10px}.math-root .bd-next{background:var(--chalk-y);color:var(--slate);border-color:var(--chalk-y);font-weight:600}@media (max-width:560px){.math-root .board{border-width:4px;padding:10px 10px 12px}.math-root .board .katex{font-size:1em}.math-root .bd-line{grid-template-columns:minmax(0,1fr)}.math-root .bd-note{max-width:none;padding-left:10px}.math-root .bd-note:before{content:"↳ "}.math-root .bd-given{flex-direction:column;align-items:stretch}.math-root .bd-given>.bd-tag{align-self:flex-start}}@media (prefers-reduced-motion:reduce){.math-root .bd-write{animation:none}}.math-root .bd-figure{border-left:3px dotted #f4f1e659;padding:4px 6px 8px}.math-root .bd-fig-cap{font-family:var(--f-hand);color:var(--chalk-y);margin-bottom:4px;font-size:16px}.math-root .bd-fig-cap:empty{display:none}.math-root .bd-fig{--ink:var(--chalk);--ink-2:var(--chalk-2);--ink-3:var(--chalk-2);--grid:#f4f1e629;--accent:var(--chalk-b);--help:var(--chalk-y);--bad:var(--chalk-r);--ok:#a8e0b0;--surface:var(--slate);--accent-soft:#9fd3f58c;--ok-soft:#a8e0b0b3;--bad-soft:#ff806cbf;--surface-3:#f4f1e640;--mark:#f7d77461;--mark-soft:#f7d77440;--line:#f4f1e659;max-width:460px;color:var(--chalk);margin:2px auto 4px}.math-root .bd-fig .g-wrap svg{filter:var(--bd-rough,none)}.math-root .bd-fig .g-lab{color:var(--chalk);font-family:var(--f-hand);background:0 0}.math-root .bd-fig .g-tick,.math-root .bd-fig .geo-tick{font-family:var(--f-hand)}.math-root .bd-fig .g-curve,.math-root .bd-fig .geo-seg{stroke-width:2.6px}.math-root .bd-fig .g-lab .katex{color:inherit;font-size:1.05em}.math-root .bd-fig .geo-seg.is-dash{stroke-dasharray:.04 .03;stroke-dashoffset:0}.math-root .bd-defs{width:0;height:0;position:absolute;overflow:hidden}.math-root .bd-fig table{color:var(--chalk);border-color:#f4f1e666}.math-root .bd-fig th,.math-root .bd-fig td{color:var(--chalk);background:0 0!important;border-color:#f4f1e659!important}.math-root .bd-figure .bd-note{margin-top:2px}@media (prefers-reduced-motion:reduce){.math-root .bd-fig .g-wrap svg{filter:none}}.math-root .basics-note{background:var(--mark-soft);color:var(--ink);border-radius:10px;margin:0;padding:8px 12px;font-size:14px}.math-root .save-state{color:var(--ink-3);min-width:7em;font-size:12.5px}.math-root .save-state.is-err{color:var(--bad);font-weight:600}.math-root .res-q .math-visual{max-width:460px}.math-root .btn-hint.is-nudge{animation:1.2s 2 math-nudge}@keyframes math-nudge{0%,to{box-shadow:0 0 #0000}50%{box-shadow:0 0 0 5px var(--help-soft);border-color:var(--help)}}.math-root .problem{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);margin-bottom:14px}.math-root .problem summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:6px 12px;padding:12px 16px;list-style:none;display:flex}.math-root .problem summary::-webkit-details-marker{display:none}.math-root .problem summary:before{content:"▸";color:var(--ink-3);transition:transform .15s;display:inline-block}.math-root .problem[open] summary:before{transform:rotate(90deg)}.math-root .problem-title{font-family:var(--f-display);font-weight:600}.math-root .problem-body{gap:12px;padding:0 16px 16px;display:grid}.math-root .stem{font-size:16px}.math-root .choices{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.math-root .choices li{background:var(--surface-2);border-radius:8px;align-items:center;gap:10px;padding:6px 12px;display:flex}.math-root .choices .cno{font-family:var(--f-display);color:var(--ink-3);font-weight:700}.math-root .learn-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;margin-bottom:10px;display:flex}.math-root .seg{background:var(--surface);border:1px solid var(--line);border-radius:10px;gap:3px;padding:3px;display:inline-flex}.math-root .seg button{cursor:pointer;color:var(--ink-2);background:0 0;border:0;border-radius:8px;padding:7px 12px;font-size:14px;font-weight:500}.math-root .seg button[aria-checked=true]{background:var(--accent-soft);color:var(--accent);font-weight:600}.math-root .progress-text{color:var(--ink-2);font-size:13.5px}.math-root .progress-text b{font-family:var(--f-display)}.math-root .stepper-wrap{margin:0 -4px 6px;padding:4px 4px 8px;overflow-x:auto}.math-root .stepper{gap:6px;min-width:max-content;margin:0;padding:0;list-style:none;display:flex}.math-root .stp{border:1.5px solid var(--line);background:var(--surface);cursor:pointer;color:var(--ink-2);border-radius:999px;align-items:center;gap:8px;max-width:210px;padding:4px 12px 4px 4px;font-size:13px;display:flex}.math-root .stp:disabled{opacity:.45;cursor:not-allowed}.math-root .stp-n{width:26px;height:26px;font-family:var(--f-display);background:var(--surface-2);color:var(--ink-2);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.math-root .stp-t{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.math-root .stp.is-self .stp-n{background:var(--ok);color:var(--surface)}.math-root .stp.is-helped .stp-n{background:var(--help);color:var(--surface)}.math-root .stp.is-shown .stp-n{background:var(--ink-3);color:var(--surface)}.math-root .stp.is-current{border-color:var(--accent);color:var(--ink);background:var(--accent-soft)}.math-root .legend{color:var(--ink-3);flex-wrap:wrap;gap:4px 14px;margin-bottom:14px;font-size:12.5px;display:flex}.math-root .legend span{align-items:center;gap:6px;display:inline-flex}.math-root .legend i{border-radius:50%;width:10px;height:10px;display:inline-block}.math-root .learn-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}.math-root .learn-grid.is-summary{grid-template-columns:minmax(0,1fr)}@media (max-width:900px){.math-root .learn-grid{grid-template-columns:minmax(0,1fr)}.math-root .vis-panel{order:-1;position:static!important}}.math-root .step-card,.math-root .vis-panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:20px}.math-root .vis-panel{top:calc(env(safe-area-inset-top,0px) + 12px);position:sticky}@media (max-width:520px){.math-root .step-card,.math-root .vis-panel{padding:16px}}.math-root .sc-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.math-root .kc-chips{flex-wrap:wrap;gap:6px;display:flex}.math-root .kc{background:var(--surface-2);color:var(--ink-2);border:1px solid var(--line);border-radius:999px;padding:2px 9px;font-size:12px}.math-root .sc-title{margin-bottom:12px;font-size:25px;font-weight:700}.math-root .need{background:var(--surface-2);border-radius:10px;margin-bottom:14px;padding:12px 14px;font-size:15px}.math-root .need-label{font-family:var(--f-display);color:var(--ink-2);margin-bottom:2px;font-size:13px;font-weight:600}.math-root .prompt{margin-bottom:12px;font-size:16.5px;font-weight:600}.math-root .opts{gap:8px;display:grid}.math-root .opt{text-align:left;border:1.5px solid var(--line);background:var(--surface);cursor:pointer;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:48px;padding:11px 14px;display:flex}.math-root .opt:hover:not(:disabled){border-color:var(--ink-3)}.math-root .opt-dot{border:2px solid var(--ink-3);border-radius:50%;flex:none;place-items:center;width:18px;height:18px;display:grid}.math-root .opt.is-sel{border-color:var(--accent);background:var(--accent-soft)}.math-root .opt.is-sel .opt-dot{border-color:var(--accent)}.math-root .opt.is-sel .opt-dot:after{content:"";background:var(--accent);border-radius:50%;width:8px;height:8px}.math-root .opt.is-wrong{border-color:var(--bad);background:var(--bad-soft)}.math-root .opt.is-wrong .opt-dot{border-color:var(--bad)}.math-root .opt.is-wrong .opt-dot:after{background:var(--bad)}.math-root .opt.is-correct{border-color:var(--ok);background:var(--ok-soft);opacity:1}.math-root .opt.is-correct .opt-dot{border-color:var(--ok);background:var(--ok)}.math-root .opt:disabled{cursor:default}.math-root .opt:disabled:not(.is-correct){opacity:.6}.math-root .nlp{background:var(--surface-2);border-radius:12px;padding:14px 10px 6px}.math-root .nlp-track{height:74px;position:relative}.math-root .nlp .nl-bar{top:24px}.math-root .nlp-pt{cursor:pointer;background:0 0;border:0;border-radius:10px;flex-direction:column;align-items:center;width:44px;height:70px;padding:0;display:flex;position:absolute;top:0;transform:translate(-50%)}.math-root .nlp-pt:hover:not(:disabled) .nlp-dot{transform:scale(1.12)}.math-root .nlp-dot{background:var(--surface);border:2.5px solid var(--ink-3);border-radius:50%;width:20px;height:20px;margin-top:15px;transition:transform .12s,background .12s,border-color .12s}.math-root .nlp-num{font-family:var(--f-display);color:var(--ink-2);margin-top:6px;font-size:15px;font-weight:600}.math-root .nlp-pt.is-on .nlp-dot{border-color:var(--bad);background:var(--surface);box-shadow:0 0 0 4px var(--bad-soft)}.math-root .nlp-pt.is-on .nlp-num{color:var(--bad)}.math-root .nlp-pt.is-on .nlp-dot:after{content:""}.math-root .nlp-pt.is-ok .nlp-dot{border-color:var(--ok);box-shadow:0 0 0 4px var(--ok-soft)}.math-root .nlp-pt.is-ok .nlp-num{color:var(--ok)}.math-root .nlp-pt:disabled{cursor:default}.math-root .nlp-sum{color:var(--ink-2);min-height:30px;padding:4px 6px 6px;font-size:13.5px}.math-root .feedback:empty{display:none}.math-root .feedback{border-radius:10px;align-items:flex-start;gap:10px;margin-top:12px;padding:10px 14px;font-size:15px;display:flex}.math-root .feedback .fb-ic{font-family:var(--f-display);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;margin-top:2px;font-size:13px;font-weight:700;display:grid}.math-root .feedback.is-ok{background:var(--ok-soft)}.math-root .feedback.is-ok .fb-ic{background:var(--ok);color:var(--surface)}.math-root .feedback.is-bad{background:var(--bad-soft)}.math-root .feedback.is-bad .fb-ic{background:var(--bad);color:var(--surface)}.math-root .feedback.is-info{background:var(--surface-2)}.math-root .feedback.is-info .fb-ic{background:var(--ink-3);color:var(--surface)}.math-root .hints{gap:8px;margin-top:12px;display:grid}.math-root .hints:empty{display:none}.math-root .hint{background:var(--help-soft);border-radius:10px;padding:10px 14px;font-size:15px}.math-root .hint-l{font-family:var(--f-hand);color:var(--help);margin-bottom:1px;font-size:15px;display:block}.math-root .hints-title{font-family:var(--f-display);color:var(--ink-2);font-size:13px;font-weight:600}.math-root .reveal{border:1.5px solid var(--ok);background:var(--surface);border-radius:12px;margin-top:14px;padding:12px 16px}.math-root .reveal-l{font-family:var(--f-display);color:var(--ok);font-size:13px;font-weight:600}.math-root .reveal .katex-display{font-size:1.05em}.math-root .why{border-top:1px dashed var(--line);color:var(--ink-2);margin-top:8px;padding-top:8px;font-size:14.5px}.math-root .why b{font-family:var(--f-display);color:var(--ink)}.math-root .sc-nav{border-top:1px solid var(--line);justify-content:space-between;gap:8px;margin-top:18px;padding-top:14px;display:flex}.math-root .vp-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px;display:flex}.math-root .vp-title{font-size:18px;font-weight:600}.math-root .vp-head>.btn{white-space:nowrap;flex:none}.math-root .vp-chips{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.math-root .chip{border:1px solid var(--line);background:var(--surface);cursor:pointer;color:var(--ink-2);border-radius:999px;padding:3px 11px;font-size:13px}.math-root .chip.is-on{background:var(--ink);color:var(--bg);border-color:var(--ink)}.math-root .vp-stage{min-height:0}.math-root .vp-alt{color:var(--ink-3);margin-top:12px;font-size:13px}.math-root .vp-alt-l{color:var(--ink-2);margin-right:4px;font-weight:600}.math-root .vp-foot{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:8px;display:flex}.math-root .vp-empty{border:1.5px dashed var(--line);color:var(--ink-2);border-radius:12px;gap:8px;padding:22px 18px;font-size:14.5px;display:grid}.math-root .vp-empty ul{margin:0;padding-left:18px}.math-root .sum{gap:18px;display:grid}.math-root .sum h3{font-size:18px}.math-root .sum-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}@media (max-width:560px){.math-root .sum-stats{grid-template-columns:minmax(0,1fr)}}.math-root .stat{background:var(--surface-2);border-radius:12px;gap:2px;padding:12px 14px;display:grid}.math-root .stat b{font-family:var(--f-display);font-size:30px;line-height:1.1}.math-root .stat span{color:var(--ink-2);font-size:13.5px}.math-root .stat.is-self b{color:var(--ok)}.math-root .stat.is-helped b{color:var(--help)}.math-root .stat.is-shown b{color:var(--ink-3)}.math-root .rules{gap:8px;margin:0;padding-left:22px;display:grid}.math-root .mastery{gap:8px;display:grid}.math-root .mrow{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 54px;align-items:center;gap:10px;font-size:14px;display:grid}.math-root .mbar{background:var(--surface-3);border-radius:999px;height:10px;overflow:hidden}.math-root .mbar i{border-radius:999px;height:100%;display:block}.math-root .tutor-bar{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:12px;padding:10px 12px;display:flex}.math-root .tb-mid{flex:280px;gap:2px;display:grid}.math-root .tb-ans{flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14px;display:flex}.math-root .tb-q{gap:6px;display:flex}.math-root .blank-demo{font-size:18px}.math-root .stp.is-focus{border-style:dashed;border-color:var(--bad)}.math-root .stp.is-focus.is-current{border-style:solid;border-color:var(--accent)}.math-root .focus-ring{border:2px dashed var(--bad);background:0 0!important}.math-root .kc-focus{background:var(--bad-soft);color:var(--bad);border-color:#0000;font-weight:600}.math-root .final-ans{background:var(--ok-soft);border-radius:12px;padding:8px 16px;display:grid}.math-root .final-ans .muted{font-size:13px}.math-root .sum-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.math-root .ders{gap:10px;margin-top:12px;display:grid}.math-root .ders:empty{display:none}.math-root .der{border:1.5px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}.math-root .der-proof{border-color:color-mix(in srgb, var(--accent) 45%, var(--line))}.math-root .der-solution{border-color:color-mix(in srgb, var(--ok) 45%, var(--line))}.math-root .der-h{background:var(--surface-2);flex-wrap:wrap;align-items:center;gap:4px 10px;padding:10px 14px;display:flex}.math-root .der-h h4{flex:220px;font-size:15.5px}.math-root .der-role{font-family:var(--f-display);letter-spacing:.04em;color:var(--surface);background:var(--accent);border-radius:6px;padding:1px 8px;font-size:12px;font-weight:700}.math-root .der-solution .der-role{background:var(--ok)}.math-root .der-discover .der-role{background:var(--help)}.math-root .der-claim{color:var(--ink-2);border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:1px 9px;font-size:12px}.math-root .der-cols{font-family:var(--f-display);color:var(--ink-3);grid-template-columns:30px minmax(0,1fr) minmax(0,1.15fr);gap:10px;padding:6px 14px 0;font-size:12px;font-weight:600;display:grid}.math-root .der-lines{margin:0;padding:4px 0 6px;list-style:none}.math-root .der-line{border-top:1px dashed var(--line);grid-template-columns:30px minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:10px;padding:8px 14px;display:grid}.math-root .der-line:first-child{border-top:0}.math-root .der-line.is-new{animation:.5s math-der-in}@keyframes math-der-in{0%{background:var(--mark-soft)}to{background:0 0}}.math-root .der-n{font-family:var(--f-display);color:var(--ink-3);padding-top:3px;font-size:13px;font-weight:700}.math-root .der-st{flex-wrap:wrap;align-items:baseline;gap:8px;padding-bottom:2px;font-size:16px;display:flex;overflow:auto hidden}.math-root .der-rel{color:var(--accent);font-weight:600}.math-root .der-rs{color:var(--ink-2);gap:3px;font-size:14px;display:grid}.math-root .rule-chip{color:var(--ink);background:var(--surface-2);border:1px solid var(--line);border-radius:6px;justify-self:start;padding:0 7px;font-size:12px;font-weight:600}.math-root .der-concl{background:var(--ok-soft);margin:0;padding:10px 14px;font-size:14.5px}.math-root .der-given{background:var(--surface-2)}.math-root .der-fact{margin-right:1.2em;display:inline-block}.math-root .der-act{flex-wrap:wrap;gap:6px;padding:6px 14px 12px;display:flex}@media (max-width:560px){.math-root .der-cols{display:none}.math-root .der-line{grid-template-columns:24px minmax(0,1fr)}.math-root .der-rs{grid-column:2}}@media (prefers-reduced-motion:reduce){.math-root .der-line.is-new{animation:none}}.math-root .der-st{flex-wrap:nowrap}.math-root .tutor-bar .tier{flex:none}.math-root .tb-back{flex-wrap:wrap;gap:8px;display:flex}.math-root .why-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.math-root .why-l{font-family:var(--f-display);color:var(--help);font-size:13px;font-weight:700}.math-root .why-btn{border:1px dashed var(--help);background:var(--help-soft);color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;padding:5px 12px;font-size:13.5px}.math-root .why-btn:hover{border-style:solid}.math-root .why-btn:focus-visible,.math-root .der-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.math-root .why-n{color:var(--ink-3);margin-left:4px;font-size:12px}.math-root .der-close{padding:2px 6px;font-size:13px}.math-root .shortcuts{gap:10px;display:grid}.math-root .sc-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:6px;padding:12px 14px;display:grid}.math-root .sc-card h4{margin:0;font-size:15.5px}.math-root .sc-card p{margin:0}.math-root .sc-vis{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:6px;display:grid}.math-root .sc-fig{gap:6px;min-width:0;margin:0;display:grid}.math-root .sc-fig figcaption{color:var(--ink-2);font-size:13px;font-weight:600}.math-root .step-card .actions{margin-top:14px}.math-root .weak-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.math-root .weak-row{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:6px;padding:10px 14px;display:grid}.math-root .weak-meta{flex-wrap:wrap;align-items:center;gap:6px;font-size:13.5px;display:flex}.math-root .similar-list{gap:10px;display:grid}.math-root .similar{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:8px;padding:12px 14px;display:grid}.math-root .similar-head{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.math-root .similar-foot{flex-wrap:wrap;align-items:center;gap:6px;font-size:13.5px;display:flex}.math-root .similar-pick{margin-left:auto}.math-root .odds{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:6px 12px}.math-root .odds>summary{cursor:pointer;font-family:var(--f-display);color:var(--accent);padding:4px 0;font-size:14px;font-weight:600}.math-root .odds[open]>summary{margin-bottom:6px}.math-root .odds-nested{background:var(--surface)}.math-root .odds-body{gap:8px;min-width:0;font-size:14px;display:grid}.math-root .odds-body p{max-width:none;margin:0}.math-root .odds-note{justify-self:start}.math-root .similar-no{font-family:var(--f-display);color:var(--ink);font-size:15px}.math-root .odds-level{background:var(--mark-soft);color:var(--ink);border-radius:999px;justify-self:start;padding:2px 10px;font-size:12.5px;font-weight:700}.math-root .odds-pattern{font-weight:600}.math-root .odds-list{overflow-wrap:anywhere;gap:4px;margin:0;padding-left:1.2em;list-style:outside;display:grid}.math-root .odds-note{color:var(--help);background:var(--help-soft);border-radius:8px;padding:6px 10px;font-size:12.5px}.math-root .rules{list-style:decimal}.math-root .vp-empty ul{list-style:outside}.math-root .stack>*{min-width:0}.math-root .set-pick{border-top:1px dashed var(--line);gap:10px;margin-top:18px;padding-top:16px;display:grid}.math-root .set-pick h4{margin:0;font-size:1.02rem}.math-root .set-lead{color:var(--ink-3);max-width:62ch;margin:0;font-size:13.5px}.math-root .set-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.math-root .set-card{text-align:left;color:inherit;border:1.5px solid var(--line);background:var(--surface);border-radius:12px;align-content:start;gap:6px;min-width:0;padding:12px 14px;text-decoration:none;display:grid}.math-root .set-card b{font-size:15px}.math-root .set-card .set-desc{color:var(--ink-2);font-size:13.5px;line-height:1.55}.math-root .set-card .set-meta{color:var(--ink-3);font-variant-numeric:tabular-nums;font-size:12.5px}.math-root .set-card:hover{border-color:var(--accent)}.math-root .set-card[aria-current=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.math-root .set-card[aria-current=true] b:after{content:" ✓";color:var(--accent)}.math-root .set-card:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.math-root .set-switch{flex-wrap:wrap;align-items:center;gap:6px;font-size:13.5px;display:flex}.math-root .set-switch [aria-current=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.math-root .vn .vn-fill{fill:var(--vc);fill-opacity:0;transition:fill-opacity .35s}.math-root .vn .vn-reg.is-tint .vn-fill{fill-opacity:.13}.math-root .vn .vn-reg.is-shade .vn-fill,.math-root .has-focus .vn .vn-reg.is-focus .vn-fill{fill-opacity:.36}.math-root .vn .vn-set{fill:none;stroke:var(--ink-2);stroke-width:2.2px;transition:stroke .3s}.math-root .has-focus .vn .vn-set.is-focus{stroke:var(--accent);stroke-width:3.4px}.math-root .vn .vn-uni{fill:none;stroke:var(--ink-3);stroke-width:1.6px}.math-root .has-focus .vn .vn-uni.is-focus{stroke:var(--accent);stroke-width:2.6px}.math-root .vn .vn-tick{stroke:var(--ink);stroke-width:2.4px;stroke-linecap:round}.math-root .vn .vn-tick.is-miss{stroke:var(--bad);stroke-width:1.8px;stroke-dasharray:2 2.4}.math-root .vn .g-lab.vn-val{font-family:var(--f-display);background:0 0;font-size:16px;font-weight:700}.math-root .vn .g-lab.vn-set-l{font-family:var(--f-display);font-size:15px;font-weight:700}.math-root .vn .vn-tot{color:var(--ink-2);margin-left:4px;font-weight:600}.math-root .vn .g-lab.vn-badge{background:var(--help-soft);color:var(--help);border-radius:9px;padding:0 6px;font-size:11.5px;font-weight:600;line-height:1.35}.math-root .vn-legend{color:var(--ink-2);flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:13.5px;display:flex}.math-root .vn-legend span[data-k]{align-items:center;gap:6px;display:inline-flex}.math-root .vn-sw{background:color-mix(in srgb, var(--vc) 36%, transparent);border:1.5px solid var(--vc);border-radius:4px;flex:none;width:13px;height:13px}@media (prefers-reduced-motion:reduce){.math-root .vn .vn-fill,.math-root .vn .vn-set{transition:none}}.math-root .progress-chart{width:100%;height:auto;margin:8px 0 4px}.math-root .progress-chart .pc-label{font-family:var(--f-body);fill:var(--ink);font-size:14px}.math-root .progress-chart .pc-value{font-family:var(--f-display);fill:var(--ink-2);font-size:14px;font-weight:700}.math-root .progress-chart .pc-track{fill:var(--surface-3)}.math-root .progress-topics{gap:8px;margin-top:8px;display:grid}.math-root .progress-topic{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 14px}.math-root .progress-topic>summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.math-root .progress-h{margin:12px 0 6px;font-size:15px}.math-root .small{font-size:12.5px}.math-root .trend-up{color:var(--ok)}.math-root .trend-down{color:var(--bad)}.math-root .cheer{font-weight:600}.math-root .social{margin-top:18px}.math-root .social-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.math-root .reactions button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.math-root .comments{gap:8px;margin:10px 0;padding:0;list-style:none;display:grid}.math-root .comment{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:8px 12px}.math-root .comment.is-hidden{opacity:.7;border-style:dashed}.math-root .comment-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.math-root .comment-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}.math-root .comment-form{gap:6px;display:grid}.math-root .comment-form textarea{width:100%;font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:8px 10px}.math-root .comment-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.math-root .comment-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.math-root .comment-tools .btn-ghost[aria-pressed=true]{border-color:var(--bad);color:var(--bad)}.math-root .comment-images ul{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.math-root .comment-images li{position:relative}.math-root .comment-images img{object-fit:cover;border:1px solid var(--line);border-radius:10px;width:96px;height:96px;display:block}.math-root .comment-images li button{border:1px solid var(--line);background:var(--surface);width:24px;height:24px;color:var(--ink);cursor:pointer;border-radius:999px;line-height:1;position:absolute;top:-6px;right:-6px}.math-root .reactions button.needs-comment{opacity:.55;cursor:not-allowed}.math-root .social-dislike-hint{margin-top:2px}.math-root .q-marks{flex-wrap:wrap;align-items:center;gap:10px;margin:2px 0 4px;font-size:13px;display:flex}.math-root .q-bubble{font:inherit;border:1.5px solid var(--help);background:var(--surface);color:var(--help);cursor:pointer;border-radius:10px;padding:3px 9px;font-size:12px;line-height:1.2;position:relative}.math-root .q-bubble:after{content:"";background:inherit;border-right:1.5px solid var(--help);border-bottom:1.5px solid var(--help);width:8px;height:8px;position:absolute;bottom:-6px;left:10px;transform:rotate(45deg)skew(8deg,8deg)}.math-root .q-bubble.on{background:var(--help);color:#fff}.math-root .q-heart{color:var(--bad);cursor:pointer;background:0 0;border:0;align-items:center;padding:2px;line-height:0;display:inline-flex}.math-root .q-bubble:disabled,.math-root .q-heart:disabled{cursor:progress}.math-root .q-count{color:var(--ink-2);align-items:center;gap:3px;display:inline-flex}.math-root .progress-chart{max-width:720px}.math-root .progress-chart.is-stacked{max-width:560px}.math-root .bio-top{gap:10px}.math-root .bio-kicker{color:var(--accent);margin:0;font-size:14px;font-weight:600}.math-root .bio-title{font-family:var(--f-display);margin:0;font-size:clamp(24px,4.5vw,32px)}.math-root .bio-hook{margin:0;font-size:17.5px}.math-root .bio-chips{flex-wrap:wrap;gap:6px;display:flex}.math-root .bio-chips span{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:2px 12px;font-size:13.5px}.math-root .bio-chips.is-tags span{background:var(--surface-2);color:var(--ink-2)}.math-root .bio-meta{border-collapse:collapse;width:100%;font-size:14px}.math-root .bio-meta th{text-align:left;color:var(--ink-3);vertical-align:top;border-bottom:1px solid var(--line);width:36%;padding:6px 8px;font-weight:600}.math-root .bio-meta td{border-bottom:1px solid var(--line);padding:6px 8px}.math-root .bio-meta-box .bio-meta{margin-top:4px}.math-root .bio-warn{color:var(--bad)}.math-root .bio-opts{gap:4px;margin:4px 0;padding:0;list-style:none;display:grid}.math-root .bio-lab{color:var(--accent);margin-right:4px;font-weight:700}.math-root .bio-statements{background:var(--surface-2);border:1px solid var(--line);border-radius:10px;gap:6px;margin:4px 0;padding:10px 14px;list-style:none;display:grid}.math-root .bio-tf-row{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:8px;padding:12px 14px;display:grid}.math-root .bio-tf-text{margin:0}.math-root .bio-tf-btns{grid-template-columns:1fr 1fr;gap:8px;display:grid}.math-root .bio-answer{color:var(--accent);margin:6px 0 0;font-size:19px;font-weight:700}.math-root .bio-mine{margin:0;font-weight:600}.math-root .bio-mine.is-ok{color:var(--ok)}.math-root .bio-mine.is-bad{color:var(--bad)}.math-root .bio-reveal{justify-items:start;gap:6px;display:grid}.math-root .bio-pre{gap:8px;margin:0;display:grid}.math-root .bio-pre dt{font-weight:700}.math-root .bio-pre dd{color:var(--ink-2);margin:0}.math-root .bio-steps-head{z-index:5;background:var(--bg);border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;padding:10px 0;display:flex;position:sticky;top:0}.math-root .bio-steps-head .card-title,.math-root .bio-sol-head{margin:0}.math-root .bio-vsw{flex-wrap:wrap;gap:8px;display:flex}.math-root .bio-vsw button{border:2px solid var(--accent);background:var(--surface);color:var(--accent);font-family:var(--f-display);cursor:pointer;border-radius:12px;flex:200px;padding:8px 14px;font-size:16px;font-weight:700}.math-root .bio-vsw button[aria-selected=true]{background:var(--accent);color:var(--accent-ink)}.math-root .bio-vsw button:focus-visible{outline:3px solid var(--accent-soft);outline-offset:2px}@media (max-width:560px){.math-root .bio-vsw button{flex-basis:140px;font-size:14px}}.math-root .bio-steps-head [aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.math-root .bio-steps{gap:14px;margin:0;padding:0;list-style:none;display:grid}.math-root .bio-step{--c:var(--help);background:var(--surface);border:1px solid var(--line);border-left:6px solid var(--c);border-radius:14px;gap:10px;min-width:0;padding:16px 18px;display:grid}.math-root .bio-step.tone-1{--c:var(--ok)}.math-root .bio-step.tone-3{--c:var(--bad)}.math-root .bio-step-h{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.math-root .bio-step-h h3{font-family:var(--f-display);margin:0;font-size:18px}.math-root .bio-sno{background:var(--c);color:#fff;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:700;display:grid}.math-root .bio-lv{color:var(--c,var(--accent));border:1px solid;border-radius:999px;padding:0 10px;font-size:12.5px;font-weight:700}.math-root .bio-think{background:var(--accent-soft);border-radius:10px;padding:8px 12px}.math-root .bio-step-body{gap:10px;min-width:0;display:grid}.math-root .bio-step-body p{margin:0}.math-root .bio-look{border:2px dashed #e8590c;border-radius:10px;padding:8px 12px}.math-root .bio-look ol{margin:4px 0 0;padding-left:22px}.math-root .bio-key{color:var(--c);font-weight:700}.math-root .bio-media{gap:6px;min-width:0;margin:0;display:grid}.math-root .bio-media-frame{border:1px solid var(--line);background:#fff;border-radius:10px;position:relative;overflow:hidden}.math-root .bio-media-frame video,.math-root .bio-pinwrap canvas{width:100%;height:auto;display:block}.math-root .bio-media-frame{container-type:inline-size}.math-root .bio-expand{z-index:2;cursor:pointer;color:#fff;background:#00000073;border:0;border-radius:6px;justify-content:center;align-items:center;width:clamp(22px,3cqw,28px);height:clamp(22px,3cqw,28px);padding:0;display:inline-flex;position:absolute;bottom:calc(2.4cqw + 4px);right:calc(1cqw + 3px)}.math-root .bio-expand:hover{background:#000000b3}.math-root .bio-pinwrap{position:relative}.math-root .bio-vmark-stage{position:relative;container-type:inline-size}.math-root .bio-vmark{z-index:2;pointer-events:none;white-space:nowrap;color:#ffffffd9;text-shadow:0 0 1px #000000b3,0 0 2px #000000b3,0 1px 1px #00000080;-webkit-user-select:none;user-select:none;font-weight:600;line-height:1;position:absolute}.math-root .bio-vmark-box:fullscreen{background:#000;justify-content:center;align-items:center;display:flex}.math-root .bio-vmark-box:fullscreen .bio-vmark-stage{width:min(100vw, calc(100vh * var(--bio-vratio,1.7778)))}.math-root .bio-pinwrap,.math-root .bio-media video{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.math-root .bio-media-missing{background:var(--surface-3);border:1px dashed var(--line);min-height:120px;color:var(--ink-2);border-radius:10px;flex-direction:column;justify-content:center;gap:4px;padding:44px 16px 16px;font-size:14px;display:flex}.math-root .bio-pin,.math-root .bio-pin-n{color:#fff;background:#e8590c;border:2px solid #fff;border-radius:50%;place-items:center;width:28px;height:28px;font-size:15px;font-weight:700;display:inline-grid;box-shadow:0 1px 4px #00000080}.math-root .bio-pin{pointer-events:none;position:absolute;transform:translate(-50%,-50%)}.math-root .bio-legend{gap:4px;margin:0;padding:0;font-size:14.5px;list-style:none;display:grid}.math-root .bio-legend li{align-items:baseline;gap:8px;display:flex}.math-root .bio-pin-n{flex:none;width:24px;height:24px;font-size:13px}.math-root .bio-caption{color:var(--ink-2);margin:0;font-size:14.5px}.math-root .bio-table-wrap{overflow-x:auto}.math-root .bio-oa{border-collapse:collapse;width:100%;font-size:14.5px}.math-root .bio-oa th,.math-root .bio-oa td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:6px}.math-root .bio-oa tr.is-ok td{background:var(--ok-soft)}.math-root .bio-oa tr.is-no td:nth-child(2){color:var(--bad);font-weight:700}.math-root .bio-mis{gap:10px;margin:0;padding:0;list-style:none;display:grid}.math-root .bio-mis li{gap:2px;display:grid}.math-root .bio-mis .x{color:var(--bad)}.math-root .bio-mis .y{color:var(--ok)}.math-root .bio-tip{background:var(--accent-soft);border-radius:10px;margin:0;padding:8px 12px}.math-root .bio-practice{gap:12px;margin:0;padding-left:22px;display:grid}.math-root .bio-practice li{justify-items:start;gap:6px;display:grid}.math-root .bio-lines{white-space:pre-line;margin:0}.math-root .q-fit .bio-lines,.math-root .q-fit .bio-stem-line{max-width:none;font-size:18px;line-height:1.7}.math-root .q-fit .opt,.math-root .q-fit .bio-statements,.math-root .q-fit .bio-tf-text{font-size:16.5px}.math-root .q-fit .opts{gap:6px}.math-root .q-fit .opt{min-height:44px;padding:8px 14px}.math-root .q-fit .bio-stem-figure>.bio-media-frame .bio-pinwrap canvas{object-fit:contain;max-height:clamp(260px,100vh - 560px,640px)}.math-root .bio-footer{color:var(--ink-3);text-align:center;font-size:13px}.math-root .bio-footer details{text-align:left;margin-top:6px}.math-root .bio-lightbox{z-index:1000;color:#f2f5f4;background:#0c1210;outline:none;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:10px 12px;display:grid;position:fixed;inset:0}.math-root .bio-lb-bar{justify-content:space-between;align-items:center;gap:10px;display:flex}.math-root .bio-lb-stage{place-items:center;min-height:0;display:grid;overflow:auto}.math-root .bio-lb-stage video{max-width:100%;max-height:100%}.math-root .bio-lb-image{display:inline-block;position:relative}.math-root .bio-lb-image canvas{background:#fff;border-radius:8px;width:auto;max-width:100%;max-height:calc(70dvh - 70px)}.math-root .bio-lb-notes{gap:6px;max-height:30dvh;display:grid;overflow:auto}.math-root .bio-lb-notes .bio-legend,.math-root .bio-lb-notes .bio-caption{color:#d9e2df}@media (max-width:560px){.math-root .bio-step{padding:12px}.math-root .bio-meta th{width:40%}}.math-root .bio-topic-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.math-root .bio-topic-grid .topics{gap:4px}.math-root .bio-topic-grid .bio-topic-link{color:var(--ink);border-color:var(--accent);background:var(--accent-soft);text-decoration:none;display:inline-block}.math-root .bio-topic-grid .bio-topic-link:hover{border-color:var(--accent-ink);color:var(--accent-ink)}.math-root .bio-topic-grid .bio-topic-count{color:var(--ink-3);font-size:12px}.math-root .bio-topic-grid .topic.is-empty{opacity:.55}.math-root .bio-crumbs{align-items:center;gap:6px}.math-root .bio-stem-line{margin:0}.math-root .bio-text-table-wrap{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);border-radius:10px;width:0;min-width:100%;margin:12px 0}.math-root .bio-text-table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.5}.math-root .bio-text-table th,.math-root .bio-text-table td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;vertical-align:middle;white-space:normal;min-width:64px;padding:9px 12px}.math-root .bio-text-table thead th{background:var(--accent-soft);color:var(--ink);border-bottom:2px solid var(--accent);font-weight:700}.math-root .bio-text-table tbody th{font-weight:600}.math-root .bio-text-table tbody tr:nth-child(2n) th,.math-root .bio-text-table tbody tr:nth-child(2n) td{background:var(--surface-3)}.math-root .bio-text-table tr>:last-child{border-right:0}.math-root .bio-text-table tbody tr:last-child th,.math-root .bio-text-table tbody tr:last-child td{border-bottom:0}.math-root .bio-text-table .is-center{text-align:center}.math-root .bio-text-table thead th:first-child{border-top-left-radius:9px}.math-root .bio-text-table thead th:last-child{border-top-right-radius:9px}.math-root .similar-stem .bio-text-table-wrap{margin:8px 0}@media (max-width:560px){.math-root .bio-text-table{font-size:14px}.math-root .bio-text-table th,.math-root .bio-text-table td{min-width:44px;padding:7px 8px}}.math-root .bio-ok{color:var(--ok)}.math-root .bio-bad{color:var(--bad)}.math-root .bio-solution p,.math-root .bio-solution dd,.math-root .bio-solution td,.math-root .bio-solution li,.math-root .bio-solution figcaption{white-space:pre-line}.math-root .bio-runner-bar{z-index:5;flex-wrap:wrap;align-items:center;gap:14px;display:flex;position:sticky;top:8px}.math-root .bio-clock{font-family:var(--f-mono);font-size:16px;font-weight:600}.math-root .bio-clock.is-low{color:var(--bad)}.math-root .bio-qnav{flex-wrap:wrap;gap:6px;display:flex}.math-root .bio-run-question{scroll-margin-top:96px}@media (max-width:720px){.math-root .bio-run-question{scroll-margin-top:130px}}.math-root .bio-score{font-size:18px}.math-root .phy-wrap{--phy-paper:#fffdf7;--phy-rule:#dbe4f0;--phy-margin:#f3b4b4;--phy-ink:#1d4ed8;--phy-red:#dc2626;--phy-green:#15803d;--phy-orange:#ea580c;--phy-accent:#1f3764;gap:12px;min-width:0;display:grid}.math-root .phy-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.math-root .phy-qno{font-family:var(--f-display);color:var(--phy-accent);margin-right:6px;font-size:26px;font-weight:700}.math-root .phy-chip{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px 10px;font-size:14px}.math-root .phy-diff{color:#fff;border:0}.math-root .phy-lvl{color:#991b1b;background:#fee2e2;border:0}.math-root .phy-qcard{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px 20px}.math-root .phy-stem{white-space:pre-line;margin:0 0 10px}.math-root .phy-choices{gap:4px;margin:0;padding:0;list-style:none;display:grid}.math-root .phy-choices li{border-radius:10px;padding:4px 10px}.math-root .phy-choices li.correct{outline:3px solid var(--phy-red);outline-offset:-2px;border-radius:999px;font-weight:700}.math-root .phy-choices li.correct:after{content:"#";color:var(--phy-red);font-family:var(--f-hand);margin-left:10px;font-size:22px}.math-root .phy-toolbar{z-index:5;background:linear-gradient(var(--bg) 75%, transparent);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;display:flex;position:sticky;top:0}.math-root .phy-btn{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:999px;padding:7px 14px;font-size:15px}.math-root .phy-btn:hover{border-color:var(--phy-ink)}.math-root .phy-btn.primary{background:var(--phy-ink);border-color:var(--phy-ink);color:#fff}.math-root .phy-aids{flex-wrap:wrap;gap:8px;margin:2px 0 10px;display:flex}.math-root .phy-aid{color:var(--phy-ink);background:var(--surface);border:1.5px dashed var(--phy-ink);border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.math-root .phy-aid:hover{background:var(--phy-ink);color:#fff;border-style:solid}.math-root .phy-aid-frame{border:1px solid var(--line);background:#fff;border-radius:14px;width:100%;height:calc(100vh - 200px);min-height:640px;display:block}.math-root .phy-progress{gap:6px;margin-left:auto;display:flex}.math-root .phy-progress span{background:var(--line);border-radius:50%;width:12px;height:12px}.math-root .phy-progress span.done{background:var(--phy-green)}.math-root .phy-progress span.now{background:var(--phy-ink)}.math-root .phy-sheet{background:var(--phy-paper);color:#1f2937;background-image:linear-gradient(transparent 33px, var(--phy-rule) 34px);background-size:100% 34px;border-radius:6px;min-width:0;padding:26px 26px 30px 70px;position:relative}.math-root .phy-sheet:before{content:"";background:var(--phy-margin);width:2px;position:absolute;top:0;bottom:0;left:52px}.math-root .phy-given{color:var(--phy-ink);flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:6px 0 12px;display:flex}.math-root .phy-lab{font-family:var(--f-hand);color:var(--phy-green);margin-right:4px;font-size:16px}.math-root .phy-figure{text-align:center;margin:4px 0 10px}.math-root .phy-figure .bio-media{max-width:640px;margin:0 auto}.math-root .phy-figure figcaption{color:var(--ink-3);font-size:14px}.math-root .phy-step{margin:14px 0}.math-root .phy-step-head{align-items:center;gap:10px;display:flex}.math-root .phy-num{background:var(--phy-ink);color:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;margin-left:-46px;font-size:16px;font-weight:700;display:grid}.math-root .phy-step-title{color:var(--phy-accent);font-weight:700}.math-root .phy-think{color:#1e3a8a;background:#eff6ff;border:1px dashed #93c5fd;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:6px 0 0;padding:10px 14px;display:flex}.math-root .phy-think b{font-family:var(--f-hand);color:var(--phy-ink);font-weight:400}.math-root .phy-step.revealed .phy-think{opacity:.75}.math-root .phy-board{margin:8px 0 0}.math-root .phy-lines{display:grid}.math-root .phy-line{min-height:34px;color:var(--phy-ink);flex-wrap:wrap;align-items:baseline;gap:4px 16px;font-size:20px;display:flex;overflow-x:auto}.math-root .phy-line .katex{color:var(--phy-ink);font-size:1.12em}.math-root .phy-n{font-family:var(--f-hand);color:var(--phy-green);font-size:17px}.math-root .phy-line.anim{animation:.7s ease-out both math-phy-write}@keyframes math-phy-write{0%{clip-path:inset(0 100% 0 0);opacity:.2}to{clip-path:inset(0);opacity:1}}.math-root .phy-tip{font-family:var(--f-hand);color:var(--phy-orange);margin-top:2px;font-size:17px}.math-root .phy-detail{border:1px solid var(--line);background:#f8fafc;border-radius:12px;margin-top:8px}.math-root .phy-detail summary{cursor:pointer;color:var(--phy-accent);padding:8px 14px;font-size:15px;font-weight:700;list-style:none}.math-root .phy-detail summary::-webkit-details-marker{display:none}.math-root .phy-detail summary:before{content:"▸ "}.math-root .phy-detail[open] summary:before{content:"▾ "}.math-root .phy-detail-body{color:#1f2937;padding:0 16px 14px;font-size:17px}.math-root .phy-detail-body p{white-space:pre-line;margin:6px 0}.math-root .phy-detail-body .bio-media{max-width:640px;margin:10px auto 4px}.math-root .phy-next-row{margin-top:10px}.math-root .phy-final{border-top:2px dashed var(--phy-margin);margin-top:18px;padding-top:10px}.math-root .phy-answer{font-family:var(--f-hand);color:var(--phy-red);font-size:24px}.math-root .phy-theory{margin-top:14px}.math-root .phy-theory h2{color:var(--phy-accent);margin:0 0 10px;font-size:20px}.math-root .phy-ladder{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.math-root .phy-rung{background:var(--surface);border:1px solid var(--line);border-radius:14px;min-width:0;padding:14px}.math-root .phy-lv{color:#fff;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:700}.math-root .phy-rung h3{margin:8px 0 4px;font-size:17px}.math-root .phy-rung p{white-space:pre-line;margin:0 0 6px;font-size:16px}.math-root .phy-rung .phy-detail{background:0 0}.math-root .phy-rung .phy-detail-body{color:var(--ink)}.math-root .phy-info-wrap{background:var(--surface)}.math-root .phy-info-wrap .phy-detail-body{color:var(--ink)}.math-root .phy-info-wrap h3{color:var(--phy-accent);margin:12px 0 6px;font-size:16px}.math-root .phy-info{gap:6px;margin:0;display:grid}.math-root .phy-info-row{border-bottom:1px solid var(--line);grid-template-columns:220px 1fr;gap:10px;padding:6px 0;display:grid}.math-root .phy-info dt{font-size:15px;font-weight:700}.math-root .phy-info dd{white-space:pre-wrap;max-height:260px;margin:0;font-size:15px;overflow:auto}.math-root .phy-sheet.onepage .phy-think,.math-root .phy-sheet.onepage .phy-detail,.math-root .phy-sheet.onepage .phy-next-row{display:none}.math-root .phy-sheet.onepage .phy-figure .bio-media{max-width:420px}.math-root .phy-sheet.onepage .phy-step{break-inside:avoid;margin:4px 0}.math-root .phy-sheet.onepage .phy-board{margin-top:2px}.math-root .phy-sheet.onepage .phy-line{min-height:30px;font-size:18px}.math-root .phy-sheet.onepage .phy-tip{font-size:15px}@media (min-width:900px){.math-root .phy-sheet.onepage .phy-steps-flow{column-count:2;column-rule:1px dashed var(--phy-rule);column-gap:34px}}@media (max-width:720px){.math-root .phy-sheet{padding:20px 14px 24px 46px}.math-root .phy-sheet:before{left:32px}.math-root .phy-num{width:26px;height:26px;margin-left:-38px;font-size:14px}.math-root .phy-line{font-size:18px}.math-root .phy-ladder{grid-template-columns:1fr}.math-root .phy-progress{margin-left:0}.math-root .phy-info-row{grid-template-columns:1fr;gap:2px}}.math-root .phy-sheet{flex-wrap:wrap;gap:6px;display:flex}.math-root .sheet-n.is-failed{border-color:var(--bad)}.math-root .phy-submit{justify-content:flex-end}.math-root .phy-ans{border:1px dashed var(--line);border-radius:12px;padding:12px}.math-root .phy-ans-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.math-root .phy-ans-hint{font-size:13px}.math-root .phy-ans-grid{border:1.5px solid var(--ink);border-radius:8px;justify-content:start;gap:4px;width:max-content;max-width:100%;padding:8px;display:grid}.math-root .phy-ans-examples{gap:2px;margin:0;padding-left:20px;font-size:13px;display:grid}.math-root .phy-ans-box.is-dot{background:0 0;border:none;font-size:22px}.math-root .phy-ans-box{border:1.5px solid var(--ink);height:34px;font-family:var(--f-mono);background:var(--surface);border-radius:6px;justify-content:center;align-items:center;font-size:17px;font-weight:700;display:flex}.math-root .phy-ans-box.is-filled{background:var(--accent-soft)}.math-root .phy-ans-gap{height:30px}.math-root .phy-ans-dot{border:1.5px solid var(--line);background:var(--surface);width:30px;min-width:0;height:30px;font-family:var(--f-mono);color:var(--ink-2);cursor:pointer;border-radius:999px;justify-self:center;padding:0;font-size:13px}.math-root .phy-ans-dot.is-on{background:var(--ink);border-color:var(--ink);color:var(--bg);font-weight:700}.math-root .phy-ans-dot:disabled{cursor:default;opacity:.6}.math-root .phy-cover{text-align:center}.math-root .phy-cover p{margin-inline:auto}.math-root .phy-cover-subject{font-family:var(--f-display);margin:4px 0;font-size:clamp(24px,6vw,36px);font-weight:700}.math-root .phy-cover-by{color:var(--accent);font-weight:600}.math-root .phy-rules{gap:6px;margin:0;padding-left:22px;list-style:decimal;display:grid}.math-root .phy-trig{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13.5px}.math-root .phy-trig th{background:var(--surface-2)}.math-root .phy-trig th,.math-root .phy-trig td{border:1px solid var(--line);text-align:center;overflow-wrap:anywhere;padding:6px 4px}.math-root .phy-parts{gap:4px;display:grid}.math-root .phy-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.math-root .phy-stat{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;gap:2px;padding:12px;display:grid}.math-root .phy-stat-num{font-family:var(--f-display);font-size:30px;line-height:1.1}.math-root .phy-src{flex-wrap:wrap;gap:6px;display:flex}.math-root .phy-src a{border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:999px;padding:6px 12px;font-size:14px;text-decoration:none}.math-root .phy-src a.is-on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}.math-root .chem-sol{--ch-paper:var(--bg);--ch-sheet:var(--surface);--ch-ink:var(--ink);--ch-ink-2:var(--ink-2);--ch-rule:var(--line);--ch-cut:#c2255c;--ch-cut-soft:#fbe7ee;--ch-acyl:#2f6fdb;--ch-acyl-soft:#e6eefc;--ch-alkoxy:#b4531a;--ch-alkoxy-soft:#fceee3;--ch-water:#167784;--ch-gold:#8a6100;--ch-gold-soft:#fff1c2;--ch-ok:#2b8a3e;--ch-ok-soft:#e3f4e6;--ch-no:#c92a2a;--ch-no-soft:#fce6e6;--ch-think:#fff7db;--ch-think-ink:#5c4a00;--ch-fig:#fff;--ch-s-1:.875rem;--ch-s0:1.0625rem;--ch-s1:1.25rem;--ch-s2:1.6rem;--ch-s3:2.1rem;--ch-r:10px;background:var(--ch-paper);min-width:0;color:var(--ch-ink);font-family:var(--f-body);font-size:var(--ch-s0);line-height:1.7}.math-root .chem-sol [hidden]{display:none!important}.math-root .chem-sol h1,.math-root .chem-sol h2,.math-root .chem-sol h3,.math-root .chem-sol h4{font-family:var(--f-display);text-wrap:balance;margin:0;line-height:1.3}.math-root .chem-sol h1{font-size:var(--ch-s3);font-weight:700}.math-root .chem-sol h2{font-size:var(--ch-s2);font-weight:700}.math-root .chem-sol h3{font-size:var(--ch-s1);font-weight:600}.math-root .chem-sol p{margin:0}.math-root .chem-sol sub{vertical-align:sub;font-size:smaller;line-height:0;position:static}.math-root .chem-sol sup{vertical-align:super;font-size:smaller;line-height:0;position:static}.math-root .chem-sol small{color:var(--ch-ink-2);font-size:smaller}.math-root .chem-sol ol{margin:0;padding-left:40px;list-style:decimal}.math-root .chem-sol .rules{gap:8px;margin:0;padding-left:22px;list-style:decimal;display:grid}.math-root .chem-sol .steps3{gap:6px;margin:0;padding-left:22px;list-style:decimal;display:grid}.math-root :where(.chem-sol) button{font:inherit;cursor:pointer}.math-root .chem-sol :focus-visible{outline:3px solid var(--ch-cut);outline-offset:2px}.math-root .chem-aids{flex-wrap:wrap;gap:8px;margin:2px 0;display:flex}.math-root .chem-aid-btn{color:var(--ch-cut);background:var(--surface);border:1.5px dashed var(--ch-cut);border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.math-root .chem-aid-btn:hover{background:var(--ch-cut);color:#fff;border-style:solid}.math-root .chem-bar{top:env(safe-area-inset-top,0px);z-index:5;background:var(--ch-sheet);border-bottom:1px solid var(--ch-rule);padding:10px 16px;position:sticky}.math-root .chem-bar-in{flex-wrap:wrap;align-items:center;gap:12px;max-width:780px;margin:0 auto;display:flex}.math-root .chem-bar-title{font-family:var(--f-display);flex:200px;min-width:0;font-weight:600}.math-root .chem-btn{border:1.5px solid var(--ch-cut);color:var(--ch-cut);font-weight:600;font-size:var(--ch-s-1);background:0 0;border-radius:99px;padding:4px 14px}.math-root .chem-btn:hover{background:var(--ch-cut-soft)}.math-root .chem-wrap{flex-direction:column;gap:28px;min-width:0;max-width:780px;margin:0 auto;padding-block:20px 32px;display:flex}.math-root .chem-head{flex-direction:column;gap:10px;display:flex}.math-root .chem-eyebrow{font-family:var(--f-display);font-size:var(--ch-s-1);letter-spacing:.06em;color:var(--ch-cut);font-weight:600}.math-root .chem-lede{color:var(--ch-ink-2);max-width:62ch}.math-root .chem-chips{flex-wrap:wrap;gap:6px;display:flex}.math-root .chem-chip{font-size:var(--ch-s-1);border:1px solid var(--ch-rule);color:var(--ch-ink-2);background:var(--ch-sheet);border-radius:99px;padding:1px 10px}.math-root .chem-q{background:var(--ch-sheet);border:1px solid var(--ch-rule);border-radius:var(--ch-r);flex-direction:column;gap:14px;min-width:0;padding:20px;display:flex}.math-root .chem-sol figure{flex-direction:column;gap:6px;min-width:0;margin:0;display:flex}.math-root .chem-img{background:var(--ch-fig);border:1px solid var(--ch-rule);border-radius:8px;justify-content:center;align-items:center;min-width:0;padding:8px;display:flex}.math-root .chem-zoom{cursor:zoom-in;background:0 0;border:0;min-width:0;max-width:100%;padding:0;display:block}.math-root .chem-img canvas{border-radius:4px;max-width:100%;height:auto;display:block}.math-root .chem-img video{border-radius:4px;width:100%;max-width:100%;height:auto;display:block}.math-root .chem-img .bio-vmark-box{width:100%;min-width:0}.math-root .chem-nw{white-space:nowrap}.math-root .chem-sol figcaption{font-size:var(--ch-s-1);color:var(--ch-ink-2)}.math-root .chem-q .chem-img canvas{width:auto;max-height:300px}.math-root .chem-q p.chem-q-stem{min-width:0;font-size:var(--ch-s0);color:var(--ch-ink);margin:0;line-height:1.7}.math-root .chem-q-eq{min-width:0;max-width:100%}.math-root .chem-q p.chem-q-ask{font-size:var(--ch-s0);color:var(--ch-ink);margin:0;font-weight:600;line-height:1.7}.math-root .chem-q-statements{flex-direction:column;gap:6px;min-width:0;display:flex}.math-root .chem-q-statement-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.math-root .chem-q-statement{align-items:baseline;gap:10px;min-width:0;display:flex}.math-root .chem-q-statement b{font-family:var(--f-display);min-width:1.6em}.math-root .chem-q-choice-h{font-family:var(--f-display);margin:8px 0 0;font-size:1.25rem;font-weight:600;line-height:1.3}.math-root .chem-missing{background:var(--ch-paper);border:1px dashed var(--ch-rule);color:var(--ch-ink-2);font-size:var(--ch-s-1);border-radius:8px;gap:4px;padding:14px;display:grid}.math-root .chem-stmts{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.math-root .chem-stmts li{align-items:baseline;gap:10px;min-width:0;display:flex}.math-root .chem-stmts b{font-family:var(--f-display);min-width:1.6em}.math-root .chem-res{font-weight:700;font-size:var(--ch-s-1);white-space:nowrap;flex:none;margin-left:auto}.math-root .chem-res.ok{color:var(--ch-ok)}.math-root .chem-res.no{color:var(--ch-no)}.math-root .chem-choices{grid-template-columns:repeat(auto-fit,minmax(min(128px,100%),1fr));gap:8px;display:grid}.math-root .chem-choice{border:1.5px solid var(--ch-rule);background:var(--ch-sheet);color:var(--ch-ink);text-align:left;border-radius:8px;min-width:0;padding:8px 12px}.math-root .chem-opts .chem-choice:hover{border-color:var(--ch-cut)}.math-root .chem-choice[aria-pressed=true]{border-color:var(--ch-cut);background:var(--ch-cut-soft)}.math-root .chem-choice.correct{border-color:var(--ch-ok);background:var(--ch-ok-soft)}.math-root .chem-choice.wrong{border-color:var(--ch-no);background:var(--ch-no-soft)}.math-root .chem-choice.correct .chem-ca{color:var(--ch-ok);font-size:var(--ch-s-1);display:block}.math-root .chem-sol .ask{font-weight:600}.math-root .chem-numans{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.math-root .chem-numans-lbl{font-family:var(--f-display);color:var(--ch-ink-2);font-weight:600}.math-root .chem-numans-val{font-family:var(--f-display);font-weight:700;font-size:var(--ch-s1);color:var(--ch-ok);background:var(--ch-ok-soft);border-radius:8px;padding:2px 14px}.math-root .chem-lvl{font-size:var(--ch-s-1);color:var(--ch-ink-2);font-family:var(--f-display);letter-spacing:.04em}.math-root .chem-lvl em{color:var(--ch-cut);font-style:normal}.math-root .chem-think{background:var(--ch-think);color:var(--ch-think-ink);border-radius:8px;gap:10px;padding:10px 14px;display:flex}.math-root .chem-think:before{content:"คำถามนำ";font-family:var(--f-display);font-weight:700;font-size:var(--ch-s-1);white-space:nowrap;padding-top:2px}.math-root .chem-body{z-index:1;background:var(--ch-sheet);border:1px solid var(--ch-rule);border-radius:var(--ch-r);flex-direction:column;gap:12px;min-width:0;padding:18px;display:flex;position:relative}.math-root .chem-rich{flex-direction:column;gap:12px;min-width:0;display:flex}.math-root .chem-sol .chem-body ol,.math-root .chem-sol .chem-body ul{flex-direction:column;gap:4px;margin:0;padding-left:1.4em;display:flex}.math-root .chem-sol .chem-body ul{list-style:outside}.math-root .chem-media{flex-direction:column;gap:16px;min-width:0;display:flex}.math-root .chem-key{border-top:1px dashed var(--ch-rule);padding-top:10px;font-weight:600}.math-root .chem-key:before{content:"จำ: ";color:var(--ch-cut);font-family:var(--f-display)}.math-root .chem-sol .tbl{border-collapse:collapse;width:100%;font-size:.95em}.math-root .chem-sol .tblwrap{max-width:100%;overflow-x:auto}.math-root .chem-sol .tbl th,.math-root .chem-sol .tbl td{border-bottom:1px solid var(--ch-rule);text-align:left;vertical-align:top;padding:6px 8px}.math-root .chem-sol .tbl th{font-family:var(--f-display);color:var(--ch-ink-2);font-weight:600;font-size:var(--ch-s-1)}.math-root .chem-sol .tbl.tnum td:not(:first-child){font-variant-numeric:tabular-nums}.math-root .chem-sol .tbl tr.sum{display:table-row}.math-root .chem-sol .tbl tr.sum td{border-top:2px solid var(--ch-ink-2);font-weight:700}.math-root .chem-sol .tbl td.ok{color:var(--ch-ok);white-space:nowrap;font-weight:700}.math-root .chem-sol .tbl td.no{color:var(--ch-no);white-space:nowrap;font-weight:700}.math-root .chem-sol .f,.math-root .chem-sol .eq{font-family:var(--f-mono);font-size:.95em}.math-root .chem-sol .eq{background:var(--ch-paper);border-radius:8px;gap:0;padding:10px 14px;line-height:1.9;display:block;overflow-x:auto}.math-root .chem-sol .split,.math-root .chem-sol .mn{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px;display:grid}.math-root .chem-sol .tag-acyl,.math-root .chem-sol .tag-alkoxy,.math-root .chem-sol .tag-ox,.math-root .chem-sol .tag-red{border-radius:8px;min-width:0;padding:10px 12px}.math-root .chem-sol .tag-red{background:var(--ch-acyl-soft);border-left:4px solid var(--ch-acyl)}.math-root .chem-sol .tag-ox{background:var(--ch-alkoxy-soft);border-left:4px solid var(--ch-alkoxy)}.math-root .chem-sol .tag-acyl{background:var(--ch-acyl-soft);border-left:4px solid var(--ch-acyl)}.math-root .chem-sol .tag-alkoxy{background:var(--ch-alkoxy-soft);border-left:4px solid var(--ch-alkoxy)}.math-root .chem-sol .c-red,.math-root .chem-sol .c-acyl,.math-root .chem-sol .c-o2{color:var(--ch-acyl);font-weight:600}.math-root .chem-sol .c-ox,.math-root .chem-sol .c-alkoxy{color:var(--ch-alkoxy);font-weight:600}.math-root .chem-sol .c-au{color:var(--ch-gold);font-weight:600}.math-root .chem-sol .c-th{color:var(--ch-cut);font-weight:600}.math-root .chem-sol .c-w{color:var(--ch-water);font-weight:600}.math-root .chem-sol .hl-r{color:var(--ch-acyl)}.math-root .chem-sol .hl-w{color:var(--ch-water)}.math-root .chem-sol .hl-h{color:var(--ch-cut)}.math-root .chem-sol .hl-e{color:var(--ch-gold);background:var(--ch-gold-soft);border-radius:4px;padding:0 3px}.math-root .chem-sol .eqbig{font-family:var(--f-mono);background:var(--ch-paper);border-radius:8px;margin-block:8px;padding:12px 14px;font-size:1.15em;display:block;overflow-x:auto}.math-root .chem-sol .nw{white-space:nowrap}.math-root .chem-sol .arr{color:var(--h-blue);margin:0 3px;font-weight:700}.math-root .chem-sol .plan,.math-root .chem-sol .rule{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.math-root .chem-sol .plan span,.math-root .chem-sol .rule span{font-family:var(--f-display);font-weight:700;font-size:var(--ch-s-1);color:var(--ch-sheet);background:var(--ch-cut);border-radius:4px;padding:0 8px}.math-root .chem-sol .note,.math-root .chem-sol .tip{color:var(--ch-ink-2);font-size:.95em}.math-root .chem-sol .tip:before{content:"ลองทำ: ";color:var(--ch-cut);font-weight:700}.math-root .chem-sol .verdict{font-family:var(--f-display);font-weight:700;font-size:var(--ch-s1);border-radius:8px;align-self:flex-start;padding:6px 14px}.math-root .chem-sol .verdict.ok{background:var(--ch-ok-soft);color:var(--ch-ok)}.math-root .chem-sol .verdict.ok:before{content:"✓ "}.math-root .chem-sol .verdict.no{background:var(--ch-no-soft);color:var(--ch-no)}.math-root .chem-sol .verdict.no:before{content:"✗ "}.math-root .chem-sol .answer{font-family:var(--f-display);font-weight:700;font-size:var(--ch-s2);color:var(--ch-cut)}.math-root .chem-v3d{background:var(--ch-fig);border:1px solid var(--ch-rule);border-radius:8px;position:relative;overflow:hidden}.math-root .chem-v3d canvas{aspect-ratio:16/10;touch-action:none;cursor:grab;width:100%;max-width:100%;display:block}.math-root .chem-v3d canvas:active{cursor:grabbing}.math-root .chem-v3d-tools{background:#f7f8fa;border-top:1px solid #e3e6ec;flex-wrap:wrap;gap:6px;padding:8px;display:flex}.math-root .chem-v3d-tools button{color:#1f2733;font-size:var(--ch-s-1);background:#fff;border:1px solid #c9ced8;border-radius:99px;padding:2px 12px}.math-root .chem-v3d-tools button[aria-pressed=true]{color:#fff;background:#1f2733;border-color:#1f2733}.math-root .chem-v3d-legend{color:#4a5466;font-size:12px;font-family:var(--f-body);pointer-events:none;flex-wrap:wrap;gap:10px;display:flex;position:absolute;top:8px;left:10px}.math-root .chem-v3d-legend i{vertical-align:-1px;border-radius:50%;width:10px;height:10px;margin-right:4px;display:inline-block}.math-root .chem-traps{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:12px;display:grid}.math-root .chem-trap{background:var(--ch-sheet);border:1px solid var(--ch-rule);border-radius:var(--ch-r);flex-direction:column;gap:8px;min-width:0;padding:14px;display:flex}.math-root .chem-trap.wide{grid-column:1/-1}.math-root .chem-sol .chem-trap h3{font-size:var(--ch-s0)}.math-root .chem-terms{grid-template-columns:minmax(120px,max-content) minmax(0,1fr);gap:6px 16px;margin:0;display:grid}.math-root .chem-terms dt{font-weight:700}.math-root .chem-terms dd{color:var(--ch-ink-2);margin:0}.math-root .chem-quiz{flex-direction:column;gap:14px;display:flex}.math-root .chem-qq{background:var(--ch-sheet);border:1px solid var(--ch-rule);border-radius:var(--ch-r);flex-direction:column;gap:8px;min-width:0;padding:14px;display:flex}.math-root .chem-opts{grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:6px;display:grid}.math-root .chem-fb{font-size:.95em}.math-root .chem-fb-ok{color:var(--ch-ok)}.math-root .chem-fb-no{color:var(--ch-no)}.math-root .chem-canva-list{flex-direction:column;gap:8px;margin:0;padding-left:1.2em;list-style:outside;display:flex}.math-root .chem-canva-list a{color:var(--ch-cut);font-weight:600;text-decoration:underline}.math-root .chem-foot{font-size:var(--ch-s-1);color:var(--ch-ink-2);border-top:1px solid var(--ch-rule);padding-top:12px}.math-root .chem-foot strong{color:var(--ch-ink);font-weight:700}.math-root .chem-sol{--h-green:#2b8a3e;--h-red:#d6336c;--h-blue:#1c64c8;--h-mark:#fff08a;--nb-bg:#fffef8;--nb-line:#dce7f3;--nb-margin:#f1b8b8;--f-chem-hand:var(--font-chem-hand), var(--font-math-hand), var(--f-body)}.math-root .chem-sol .ans{flex-direction:column;align-self:center;gap:14px;width:min(1060px,100vw - 32px);min-width:0;display:flex}.math-root .chem-sol .vsw{flex-wrap:wrap;gap:8px;display:flex}.math-root .chem-sol .vsw button{border:2px solid var(--ch-cut);background:var(--ch-sheet);color:var(--ch-cut);font-family:var(--f-display);font-weight:700;font-size:var(--ch-s0);border-radius:12px;flex:200px;padding:8px 14px}.math-root .chem-sol .vsw button[aria-selected=true]{background:var(--ch-cut);color:var(--ch-sheet)}.math-root .chem-sol .nb{background-color:var(--nb-bg);border:1px solid var(--ch-rule);background-image:linear-gradient(90deg, transparent 38px, var(--nb-margin) 38px, var(--nb-margin) 40px, transparent 40px), repeating-linear-gradient(180deg, transparent 0 31px, var(--nb-line) 31px 32px);font-family:var(--f-body);border-radius:6px;min-width:0;padding:18px 18px 22px 52px;line-height:32px;position:relative;box-shadow:0 1px 3px #0000000f}.math-root .chem-sol .nb[hidden],.math-root .chem-sol .sv[hidden],.math-root .chem-sol .svi[hidden]{display:none}.math-root .chem-sol .nb .hn{font-family:var(--f-chem-hand);font-style:normal;line-height:1.35}.math-root .chem-sol .hn.green{color:var(--h-green)}.math-root .chem-sol .hn.red{color:var(--h-red)}.math-root .chem-sol .hn.blue{color:var(--h-blue)}.math-root .chem-sol .cr{color:var(--h-red);font-weight:600}.math-root .chem-sol .cg{color:var(--h-green);font-weight:600}.math-root .chem-sol .cb{color:var(--h-blue);font-weight:600}.math-root .chem-sol .nbgiven{flex-direction:column;gap:2px;margin-bottom:10px;display:flex}.math-root .chem-sol .nbgiven p{margin:0}.math-root .chem-sol .nbgiven .lab{margin-right:6px;font-size:1.15em}.math-root .chem-sol .nbidea{font-size:1.06em}.math-root .chem-sol .nbgrid{z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 34px;display:grid;position:relative}.math-root .chem-sol .nbs{flex-direction:column;min-width:0;display:flex}.math-root .chem-sol .nbh{font-family:var(--f-display);align-items:center;gap:10px;margin:4px 0;font-size:1.08rem;font-weight:700;line-height:1.35;display:flex}.math-root .chem-sol .cn{border:2px solid var(--h-red);width:30px;height:30px;color:var(--h-red);font-family:var(--f-chem-hand);border-radius:50%;flex:none;place-items:center;font-size:1.05rem;line-height:1;display:grid;transform:rotate(-4deg)}.math-root .chem-sol .nbbody{flex-direction:column;min-width:0;display:flex}.math-root .chem-sol .nbl{overflow-wrap:anywhere;min-width:0}.math-root .chem-sol .nbl .side{margin-left:10px;font-size:.95em;display:inline-block}.math-root .chem-sol .nbnote{transform-origin:0;margin:2px 0 0 6px;font-size:1.02em;transform:rotate(-.6deg)}.math-root .chem-sol .fromtag{border-bottom:1.5px dashed var(--h-green);align-self:flex-start;margin:0 0 2px;font-size:.95em}.math-root .chem-sol .totag{align-self:flex-end;margin:4px 0 0;font-size:.95em}.math-root .chem-sol .sk{margin-top:.5em;display:inline-block;position:relative}.math-root .chem-sol .sk s{text-decoration:none;position:relative}.math-root .chem-sol .sk s:after{content:"";border-top:2px solid var(--h-red);position:absolute;top:52%;left:-2px;right:-2px;transform:rotate(-14deg)}.math-root .chem-sol .skn{font-family:var(--f-chem-hand);color:var(--h-red);white-space:nowrap;font-size:.78em;line-height:1;position:absolute;bottom:72%;left:50%;transform:translate(-50%)}.math-root .chem-sol .bx{border:2px solid var(--h-red);border-radius:255px 15px 225px/15px 225px 15px 255px;margin:2px 0;padding:0 8px;line-height:1.6;display:inline-block}.math-root .chem-sol .bx.red{color:var(--h-red);font-family:var(--f-chem-hand);border-width:2.5px;padding:2px 14px;font-size:1.25em}.math-root .chem-sol .hlm{background:linear-gradient(transparent 38%, var(--h-mark) 38%, var(--h-mark) 88%, transparent 88%);color:inherit;padding:0 2px}.math-root .chem-sol .ov{border:2px solid var(--h-red);border-radius:50% 45% 52% 48%/55% 50% 50% 45%;padding:0 6px;line-height:1.4;display:inline-block}.math-root .chem-sol .uw{-webkit-text-decoration:underline wavy var(--h-red);text-decoration:underline wavy var(--h-red);text-underline-offset:4px}.math-root .chem-sol .fr{vertical-align:middle;text-align:center;flex-direction:column;margin:0 3px;line-height:1.25;display:inline-flex}.math-root .chem-sol .fr>span:first-child{border-bottom:1.5px solid;padding:0 4px}.math-root .chem-sol .big{font-size:1.2em;font-weight:700}.math-root .chem-sol .ar{color:var(--h-blue);margin:0 3px;font-weight:700}.math-root .chem-sol .mk{font-family:var(--f-chem-hand);font-size:1.3em;font-weight:700;line-height:1}.math-root .chem-sol .mk.ok{color:var(--h-green)}.math-root .chem-sol .mk.bad{color:var(--h-red)}.math-root .chem-sol .nbfig{--ink:var(--ch-ink);flex-direction:column;align-items:flex-start;gap:0;margin:6px 0;display:flex}.math-root .chem-sol .nbfig-box{max-width:100%;position:relative}.math-root .chem-sol .nbfig svg{background:0 0;max-width:100%;height:auto;display:block}.math-root .chem-sol .nbfig-box.fluid,.math-root .chem-sol .nbfig-box.fluid svg{width:100%}.math-root .chem-sol .nbfig canvas{background:0 0;max-width:100%;height:auto;display:block}.math-root .chem-sol .nbmq{gap:4px;margin:0 0 14px}.math-root .chem-sol .nbmq .img{background:#fff;border-radius:6px;padding:4px}.math-root .chem-sol .nbmq .img .chem-zoom{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.math-root .chem-sol .nbmq canvas{width:100%;max-width:100%;height:auto;display:block}.math-root .chem-sol .nbmq figcaption{font-size:.98em;line-height:1.4}.math-root .chem-sol .nbf{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;max-width:100%;margin:2px 0 6px;display:flex}.math-root .chem-sol .fder{border-left:2px solid var(--h-blue);flex-direction:column;gap:0;min-width:0;padding-left:4px;font-size:.98em;line-height:1.55;display:flex}.math-root .chem-sol .fder .fd{overflow-wrap:anywhere}.math-root .chem-sol .fbox{border:2.5px solid var(--h-red);background:#fff08a2e;border-radius:255px 18px 225px/18px 225px 18px 255px;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin-top:4px;padding:2px 14px;display:inline-flex;transform:rotate(-.4deg)}.math-root .chem-sol .fbox .flab{color:var(--h-red);font-size:.95em}.math-root .chem-sol .fbox .fmain{overflow-wrap:anywhere;min-width:0;font-size:1.08em;font-weight:700}.math-root .chem-sol .nbf .fnote{margin-left:6px;font-size:.95em}.math-root .chem-sol .chem-fig-mark{font-family:var(--f-body);color:#1f273380;white-space:nowrap;pointer-events:none;-webkit-user-select:none;user-select:none;font-size:10px;line-height:1.2;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.math-root .chem-sol .nbchoices{z-index:1;margin-top:20px;position:relative}.math-root .chem-sol .nbchoices ul{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.math-root .chem-sol .nbc{grid-template-columns:1.3em 2.4em minmax(0,1fr);align-items:baseline;column-gap:4px;min-width:0;display:grid}.math-root .chem-sol .nbc .cno{justify-self:start;font-weight:700}.math-root .chem-sol .nbc .cno.ov{color:var(--h-red)}.math-root .chem-sol .nbc .ct{overflow-wrap:anywhere;min-width:0}.math-root .chem-sol .nbc.bad .ct{color:var(--ch-ink-2)}.math-root .chem-sol .nbc .cnote{grid-column:3;margin-top:-6px;font-size:1em}.math-root .chem-sol .nbfinal{z-index:1;margin:16px 0 0;position:relative}.math-root .chem-sol .nblinks{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.math-root .chem-sol .nblinks path{fill:none;stroke:var(--h-green);stroke-width:1.8px;stroke-dasharray:5 4}.math-root .chem-sol .nblinks .ah{fill:var(--h-green)}.math-root .chem-dn.sub{font-family:var(--f-display);border-style:dashed;border-radius:6px}.math-root .chem-sol .sv{flex-direction:column;gap:14px;min-width:0;display:flex}.math-root .chem-sol .svtop{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.math-root .chem-sol .svdots{flex-wrap:wrap;gap:8px;display:flex}.math-root .chem-sol .svd{border:2px solid var(--ch-rule);background:var(--ch-sheet);width:30px;height:30px;color:var(--ch-ink-2);font-family:var(--f-mono);font-size:var(--ch-s-1);border-radius:50%;padding:0}.math-root .chem-sol .svd.on{border-color:var(--ch-cut);background:var(--ch-cut);color:var(--ch-sheet)}.math-root .chem-sol .svd.cur{box-shadow:0 0 0 3px var(--ch-cut-soft)}.math-root .chem-sol .svd:disabled{cursor:default;opacity:.7}.math-root .chem-sol .svcount{font-size:var(--ch-s-1);color:var(--ch-ink-2)}.math-root .chem-sol .svlist{flex-direction:column;gap:18px;margin:0;padding:0;list-style:none;display:flex}.math-root .chem-sol .svi{flex-direction:column;gap:10px;min-width:0;display:flex}.math-root .chem-sol .think2{background:var(--ch-think);color:var(--ch-think-ink);border-radius:8px;margin:0;padding:8px 14px}.math-root .chem-sol .nb.nbone{padding-top:12px;padding-bottom:14px}.math-root .chem-sol .svctl{z-index:3;padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent, var(--ch-paper) 30%);flex-wrap:wrap;gap:10px;display:flex;position:sticky;bottom:0}.math-root .chem-sol .svctl .chem-btn{font-size:var(--ch-s0);background:var(--ch-sheet);padding:8px 18px;box-shadow:0 2px 6px #0000001f}.math-root .chem-sol .svctl .chem-btn.solid{background:var(--ch-cut);color:var(--ch-sheet)}.math-root .chem-sol .svctl .chem-btn:disabled{opacity:.5;cursor:default}.math-root .chem-sol .ans-media{flex-direction:column;gap:14px;display:flex}.math-root .chem-sol .svstory{border:1px solid var(--ch-rule);border-left:4px solid var(--ch-cut);background:var(--ch-sheet);border-radius:10px;flex-direction:column;gap:8px;min-width:0;padding:12px 14px;display:flex}.math-root .chem-sol .svsh{font-family:var(--f-display);color:var(--ch-cut);margin:0;font-size:1.08rem;font-weight:700}.math-root .chem-sol .svstory .note{margin:0}.math-root .chem-v3d-stage{position:relative}.math-root .chem-v3da .chem-v3d-slab{font-size:var(--ch-s-1);color:#1f2733;background:#fff;border-top:1px solid #e3e6ec;min-height:2.6em;margin:0;padding:6px 10px;line-height:1.5}.math-root .chem-v3da .chem-v3d-slab b{color:#c2255c;font-family:var(--f-mono);margin-right:4px}.math-root .chem-v3da .chem-v3d-anim{background:#f7f8fa;border-top:1px solid #e3e6ec;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;display:flex}.math-root .chem-v3da .chem-v3d-anim button{color:#1f2733;font-size:var(--ch-s-1);background:#fff;border:1px solid #c9ced8;border-radius:99px;padding:2px 12px}.math-root .chem-v3da .chem-v3d-anim button[data-act=play]{color:#c2255c;border-color:#c2255c;min-width:6.5em;font-weight:600}.math-root .chem-v3da .chem-v3d-anim button[aria-pressed=true]{color:#fff;background:#c2255c}.math-root .chem-v3da input[type=range]{accent-color:#c2255c;flex:120px;min-width:0;margin:0}.math-root .chem-v3da .chem-v3d-tools{border-top:0}.math-root .chem-v3d-legend i.chem-v3d-dash{vertical-align:3px;border-radius:2px;width:14px;height:3px}.math-root .chem-v3d-mark{font-family:var(--f-body);color:#3a4352;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 2px #fff;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.9;font-size:11px;position:absolute;bottom:22px;left:8px}.math-root .chem-v3dk{background:#fff;border:1px solid #dce0e7;border-radius:10px;position:relative;overflow:hidden}.math-root .chem-v3dk-bar{background:#eef2f7;border-bottom:1px solid #dce0e7;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;display:flex}.math-root .chem-v3dk-title{min-width:140px;font-family:var(--f-display);color:#18202c;flex:1;font-size:.9rem;font-weight:600}.math-root .chem-v3dk-bar button{color:#18202c;cursor:pointer;background:#fff;border:1px solid #c9d2de;border-radius:8px;min-width:34px;height:30px;font-size:.95rem}.math-root .chem-v3dk-canvas{touch-action:none;cursor:grab;width:100%;display:block}.math-root .chem-v3dk-cap{color:#17324d;background:#fff;min-height:1.6em;padding:4px 10px 8px;font-size:.95rem;font-weight:600}.math-root .chem-v3d-wm{font-family:var(--f-body);color:#3a4352;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 2px #fff;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.9;font-size:11px;position:absolute;bottom:6px;right:8px}@media (max-width:760px){.math-root .chem-sol .nbgrid{grid-template-columns:minmax(0,1fr);gap:16px}.math-root .chem-sol .nblinks{display:none}}@media (max-width:480px){.math-root .chem-sol .nb{background-image:linear-gradient(90deg, transparent 20px, var(--nb-margin) 20px, var(--nb-margin) 21px, transparent 21px), repeating-linear-gradient(180deg, transparent 0 31px, var(--nb-line) 31px 32px);padding:12px 10px 16px 30px}.math-root .chem-sol .vsw button{font-size:var(--ch-s-1);flex-basis:140px}}.math-root .chem-extra{border-top:1px solid var(--ch-rule);flex-direction:column;gap:14px;min-width:0;padding-top:14px;display:flex}.math-root .chem-extra>summary{cursor:pointer;align-items:center;gap:10px;list-style:none;display:flex}.math-root .chem-extra>summary::-webkit-details-marker{display:none}.math-root .chem-extra>summary:after{content:"▾";color:var(--ch-cut);transition:transform .2s}.math-root .chem-extra[open]>summary:after{transform:rotate(180deg)}.math-root .chem-extra[open]>summary{margin-bottom:14px}.math-root .chem-lb{z-index:1000;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:#0a0e14eb;flex-direction:column;display:flex;position:fixed;inset:0}.math-root .chem-lb-bar{color:#e7eaf0;font-size:var(--ch-s-1);align-items:center;gap:8px;padding:10px 16px;display:flex}.math-root .chem-lb-bar span{flex:1;min-width:0}.math-root .chem-lb-bar button{color:#e7eaf0;background:0 0;border:1px solid #e7eaf0;border-radius:99px;padding:4px 14px}.math-root .chem-lb-view{-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding:0 12px 16px;overflow:auto}.math-root .chem-lb-view canvas{background:#fff;border-radius:6px;width:100%;max-width:none;height:auto;margin:0 auto;display:block}.math-root .chem-lb-view.full canvas{width:1200px}.math-root .chem-op{background:var(--ch-sheet);border:2px solid var(--ch-cut);border-radius:14px;flex-direction:column;gap:18px;min-width:0;padding:20px;display:flex}.math-root .chem-op-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.math-root .chem-op-ans{font-family:var(--f-display);color:var(--ch-sheet);background:var(--ch-cut);border-radius:99px;padding:2px 14px;font-weight:700}.math-root .chem-core{background:var(--ch-cut-soft);border-radius:8px;padding:10px 14px}.math-root .chem-sol .chem-core span{font-family:var(--f-display);color:var(--ch-cut);margin-right:8px;font-weight:700}.math-root .chem-core-html{display:inline}.math-root .chem-opblock{flex-direction:column;gap:10px;min-width:0;display:flex}.math-root .chem-sol .chem-opblock h3{align-items:center;gap:10px;display:flex}.math-root .chem-opn{background:var(--ch-ink);width:28px;height:28px;color:var(--ch-sheet);font-family:var(--f-mono);font-size:var(--ch-s-1);border-radius:50%;flex:none;place-items:center;display:grid}.math-root .chem-vlist{flex-direction:column;gap:10px;display:flex}.math-root .chem-vrow{border:1px solid var(--ch-rule);border-radius:10px;flex-direction:column;gap:6px;min-width:0;padding:12px;display:flex}.math-root .chem-vrow.ok{border-left:5px solid var(--ch-ok)}.math-root .chem-vrow.no{border-left:5px solid var(--ch-no)}.math-root .chem-vtop{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.math-root .chem-k{font-family:var(--f-display)}.math-root .chem-vs{flex:200px;min-width:0}.math-root .chem-badge{font-family:var(--f-display);font-weight:700;font-size:var(--ch-s-1);white-space:nowrap;border-radius:99px;padding:0 10px}.math-root .chem-badge.ok{background:var(--ch-ok-soft);color:var(--ch-ok)}.math-root .chem-badge.no{background:var(--ch-no-soft);color:var(--ch-no)}.math-root .chem-vwhy{color:var(--ch-ink-2)}.math-root .chem-xbtn{border:1.5px solid var(--ch-cut);color:var(--ch-cut);font-weight:600;font-size:var(--ch-s-1);text-align:left;background:0 0;border-radius:14px;flex-wrap:wrap;align-self:flex-start;align-items:center;gap:6px;padding:3px 14px;display:inline-flex}.math-root .chem-xbtn:hover{background:var(--ch-cut-soft)}.math-root .chem-xa{transition:transform .2s;display:inline-block}.math-root .chem-xbtn[aria-expanded=true] .chem-xa{transform:rotate(180deg)}.math-root .chem-xs{color:var(--ch-ink-2);font-weight:400}.math-root .chem-xl{white-space:nowrap}.math-root .chem-xclose{align-self:center}.math-root .chem-xp{border-left:3px solid var(--ch-cut-soft);flex-direction:column;gap:18px;min-width:0;padding-left:14px;display:flex}.math-root .chem-dcard{flex-direction:column;gap:10px;min-width:0;display:flex}.math-root .chem-dcard .chem-lvl{align-items:center;gap:8px;display:flex}.math-root .chem-dn{border:2px solid var(--ch-cut);width:26px;height:26px;color:var(--ch-cut);font-family:var(--f-mono);font-size:var(--ch-s-1);border-radius:50%;flex:none;place-items:center;display:grid}.math-root .chem-sol .chem-dcard h4{font-family:var(--f-display);font-size:var(--ch-s1);text-wrap:balance;margin:0;font-weight:600}.math-root .chem-hero{flex-direction:column;gap:6px;min-width:0;display:flex}.math-root .chem-hero-tag{font-family:var(--f-display);font-weight:700;font-size:var(--ch-s-1);color:var(--ch-cut);letter-spacing:.04em}.math-root .chem-hero .chem-img{padding:0;overflow:hidden}.math-root .chem-narr-btn{border:1.5px solid var(--ch-cut);background:var(--ch-sheet);color:var(--ch-cut);font-size:var(--ch-s-1);border-radius:99px;align-items:center;gap:4px;margin:0 8px 4px 0;padding:2px 12px;font-weight:600;display:inline-flex}.math-root .chem-narr-btn[aria-pressed=true]{background:var(--ch-cut);color:var(--ch-sheet)}.math-root .chem-remember{background:var(--ch-paper);border-radius:8px;padding:12px 16px}.math-root .chem-sol .chem-remember ol{flex-direction:column;gap:2px;margin:6px 0 0;padding-left:1.3em;display:flex}.math-root .chem-sol.try .chem-spoil{filter:blur(7px);-webkit-user-select:none;user-select:none;pointer-events:none}.math-root .chem-sol.try .chem-q .chem-choice.correct{border-color:var(--ch-rule);background:var(--ch-sheet)}.math-root .chem-sol.try .chem-extra{filter:blur(7px);-webkit-user-select:none;user-select:none;pointer-events:none}.math-root .chem-sol.try .chem-res,.math-root .chem-sol.try .chem-badge{visibility:hidden}.math-root .chem-sol .chem-choices.long{grid-template-columns:1fr}.math-root .chem-sol .chem-exm{border:1px solid var(--ch-rule);border-left:4px solid var(--ch-gold);background:var(--ch-sheet);border-radius:10px;flex-direction:column;gap:10px;min-width:0;padding:12px 14px;display:flex}.math-root .chem-sol .chem-exm-h{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:2px 12px;list-style:none;display:flex}.math-root .chem-sol .chem-exm-h::-webkit-details-marker{display:none}.math-root .chem-sol .chem-exm-t{font-family:var(--f-display);font-weight:600}.math-root .chem-sol .chem-exm-t:after{content:" ▾";color:var(--ch-cut)}.math-root .chem-sol details.chem-exm[open] .chem-exm-t:after{content:" ▴"}.math-root .chem-sol .chem-exm-h small{font-size:var(--ch-s-1)}.math-root .chem-sol .chem-exm-chips{font-size:var(--ch-s-1);color:var(--ch-ink-2);flex-wrap:wrap;flex-basis:100%;gap:4px 14px;display:flex}.math-root .chem-sol details.chem-exm[open]>.chem-exm-h{margin-bottom:4px}.math-root .chem-sol .chem-exm-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:8px 18px;margin:0;display:grid}.math-root .chem-sol .chem-exm-grid>div{min-width:0}.math-root .chem-sol .chem-exm-grid .wide{grid-column:1/-1}.math-root .chem-sol .chem-exm-grid dt{font-family:var(--f-display);font-size:var(--ch-s-1);color:var(--ch-ink-2);font-weight:600}.math-root .chem-sol .chem-exm-grid dd{overflow-wrap:anywhere;margin:0}.math-root .chem-sol .chem-exm-pct{font-family:var(--f-display);font-variant-numeric:tabular-nums;font-weight:700}.math-root .chem-sol .chem-exm-bar{vertical-align:middle;background:var(--ch-rule);border-radius:99px;width:min(160px,45%);height:8px;margin-left:10px;display:inline-block;overflow:hidden}.math-root .chem-sol .chem-exm-bar i{background:var(--ch-cut);height:100%;display:block}.math-root .chem-sol .chem-lvb{font-family:var(--f-display);font-weight:700;font-size:var(--ch-s-1);white-space:nowrap;border-radius:99px;margin-right:6px;padding:0 10px;display:inline-block}.math-root .chem-sol .chem-lvb.l4{background:var(--ch-no-soft);color:var(--ch-no)}.math-root .chem-sol .chem-lvb.l3{background:var(--ch-alkoxy-soft);color:var(--ch-alkoxy)}.math-root .chem-sol .chem-lvb.l2{background:var(--ch-gold-soft);color:var(--ch-gold)}.math-root .chem-sol .chem-lvb.l1{background:var(--ch-ok-soft);color:var(--ch-ok)}.math-root .chem-sol .chem-exm-why{color:var(--ch-ink-2);font-size:.95em}.math-root .chem-sol .chem-exm-ok{color:var(--ch-ok);font-size:var(--ch-s-1);margin-left:6px;font-weight:600}.math-root .chem-sol .chem-exm-warn{color:var(--ch-no);font-size:var(--ch-s-1);margin-left:6px;font-weight:600}.math-root .chem-sol details.chem-exm-imgs>summary{cursor:pointer;border:1.5px solid var(--ch-cut);color:var(--ch-cut);font-weight:600;font-size:var(--ch-s-1);border-radius:99px;align-items:center;gap:6px;padding:3px 14px;list-style:none;display:inline-flex}.math-root .chem-sol details.chem-exm-imgs>summary::-webkit-details-marker{display:none}.math-root .chem-sol details.chem-exm-imgs>summary:after{content:"▾";transition:transform .2s}.math-root .chem-sol details.chem-exm-imgs[open]>summary:after{transform:rotate(180deg)}.math-root .chem-sol .chem-exm-media{flex-direction:column;gap:12px;margin-top:10px;display:flex}.math-root .chem-sol.try .chem-vrow.ok,.math-root .chem-sol.try .chem-vrow.no{border-left-color:var(--ch-rule)}.math-root .chem-sol.try .chem-toggle-all{opacity:.4;pointer-events:none}.math-root .chem-sol.try .chem-ca{visibility:hidden}.math-root .chem-sol.try .chem-numans-val{filter:blur(7px)}@media (prefers-reduced-motion:reduce){.math-root .chem-sol *{transition:none!important}}@media (max-width:480px){.math-root .chem-xs{flex-basis:100%;order:3}.math-root .chem-xdot{display:none}.math-root .chem-terms{grid-template-columns:minmax(0,1fr);gap:2px}.math-root .chem-terms dd{margin-bottom:8px}.math-root .chem-q,.math-root .chem-op{padding:14px}.math-root .chem-xp{padding-left:8px}.math-root .chem-body{padding:12px 10px}.math-root .chem-img{padding:2px}.math-root .chem-sol .tip,.math-root .chem-sol .chem-zoomhint{font-size:var(--ch-s-1)}}.math-root .chem-sol .chem-exm-note{font-size:var(--ch-s-1);color:var(--ch-ink-2)}@media (max-width:480px){.math-root .chem-sol h1 .nw{white-space:normal}}.math-root .mvid{outline:none;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;min-width:0;margin:10px 0 4px;display:grid}@media (max-width:900px){.math-root .mvid{grid-template-columns:minmax(0,1fr)}}.math-root .mvid-left{flex-direction:column;gap:10px;min-width:0;display:flex}.math-root .mvid-frame{background:#000;border-radius:12px;width:100%;position:relative;overflow:hidden}.math-root .mvid-frame video{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#000;width:100%;height:auto;display:block}.math-root .mvid-missing{color:#fff;text-align:center;justify-content:center;align-items:center;min-height:120px;padding:16px;display:flex}.math-root .mvid-cap{color:#fff;text-align:center;background:#14181f;border-radius:10px;justify-content:center;align-items:center;min-height:3.1em;padding:6px 14px;font-size:clamp(14px,1.5vw,18px);line-height:1.45;display:flex}.math-root .mvid-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px}.math-root .mvid-card h3{color:var(--ink-3);margin:0 0 8px;font-size:14px;font-weight:600}.math-root .mvid-chips{flex-wrap:wrap;gap:6px;display:flex}.math-root .mvid-tips{color:var(--ink-2);margin:0;padding-left:18px;font-size:13.5px;line-height:1.7;list-style:outside}.math-root .mvid-chip{font:inherit;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:999px;padding:5px 11px;font-size:13.5px}.math-root .mvid-chip small{opacity:.7;margin-left:6px}.math-root .mvid-chip:hover{border-color:var(--accent)}.math-root .mvid-chip.is-on{background:var(--accent);color:var(--accent-ink);border-color:#0000}.math-root .mvid-right{background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;min-width:0;height:min(78vh,760px);display:flex;overflow:hidden}.math-root .mvid-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;display:flex}.math-root .mvid-lbl{color:var(--ink-3);margin-right:2px;font-size:13.5px}.math-root .mvid-sp{flex:1}.math-root .mvid-rightwrap{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.math-root .mvid-scroller{overscroll-behavior:contain;background:#f6f7f8;outline:none;flex:1;padding-bottom:30px;position:relative;overflow-y:auto}.math-root .mvid-boardbox{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#f6f7f8;width:100%;position:relative}.math-root .mvid-boardbox canvas{width:100%;height:100%;position:absolute;top:0;left:0}.math-root .mvid-boardbox canvas.is-live{width:auto;height:auto}.math-root .mvid-boardbox.is-clickable{cursor:pointer}.math-root .mvid-vp{pointer-events:none;background:#ff9f001a;border:3px solid #ff9f00;border-radius:6px;position:absolute;left:0;right:0}.math-root .mvid-back{z-index:5;font:inherit;background:var(--accent);color:var(--accent-ink);cursor:pointer;border:0;border-radius:999px;padding:6px 12px;font-size:13.5px;position:absolute;bottom:34px;right:16px;box-shadow:0 4px 14px #00000040}.math-root .mvid-hint{z-index:4;color:#fff;text-align:center;pointer-events:none;background:#1d2433e0;border-radius:10px;width:max-content;max-width:90%;padding:10px 16px;font-size:14px;position:absolute;top:40px;left:50%;transform:translate(-50%)}.math-root .mvid-boardmark{z-index:3;pointer-events:none;white-space:nowrap;color:#ffffffd9;text-shadow:0 0 1px #000000b3,0 0 2px #000000b3,0 1px 1px #00000080;-webkit-user-select:none;user-select:none;flex-wrap:wrap;justify-content:flex-end;gap:3px .8em;font-size:12px;font-weight:600;line-height:1;display:flex;position:absolute;bottom:6px;left:10px;right:10px}
