.mt-card{background:var(--mt-card-bg,#fff);border:1px solid rgba(0,0,0,8%);border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px rgba(0,0,0,6%)}.dark .mt-card{--mt-card-bg:#0f172a;border-color:rgba(255,255,255,8%)}.mt-topic{font-size:.8rem;font-weight:700;letter-spacing:.03em;color:#6366f1;margin-bottom:.35rem}.mt-bookref{display:inline-block;font-size:.72rem;font-weight:600;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:.5rem;padding:.12rem .5rem;margin-bottom:.6rem}.dark .mt-bookref{color:#cbd5e1;background:#1e293b;border-color:#334155}.mt-insight{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1px solid #fbbf24;border-radius:.85rem;padding:.9rem 1.1rem;margin-bottom:1rem}.dark .mt-insight{background:linear-gradient(135deg,#451a03,#3a1503);border-color:#92400e}.mt-insight-title{font-weight:800;color:#92400e;font-size:.95rem;margin-bottom:.3rem}.dark .mt-insight-title{color:#fbbf24}.mt-insight-body{font-size:.88rem;line-height:1.75;color:#78350f}.dark .mt-insight-body{color:#fde68a}.mt-note{background:#f8fafc;border-left:3px solid #94a3b8;border-radius:.45rem;padding:.6rem .85rem;margin:.6rem 0;font-size:.88rem;line-height:1.75;color:#475569}.dark .mt-note{background:#1e293b;border-left-color:#64748b;color:#cbd5e1}.mt-motivate{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #34d399;border-radius:.85rem;padding:.9rem 1.1rem;margin-bottom:1rem}.dark .mt-motivate{background:linear-gradient(135deg,#022c22,#052e26);border-color:#047857}.mt-motivate-title{font-weight:800;color:#047857;font-size:.95rem;margin-bottom:.3rem}.dark .mt-motivate-title{color:#34d399}.mt-motivate-body{font-size:.88rem;line-height:1.75;color:#065f46}.dark .mt-motivate-body{color:#a7f3d0}.mt-concept{background:linear-gradient(135deg,#f0fdfa 0%,#e6fffa 100%);border:1px solid #5eead4;border-radius:1rem;padding:1.2rem 1.4rem;margin-bottom:1.5rem;box-shadow:0 4px 16px -2px rgba(13,148,136,8%)}.dark .mt-concept{background:linear-gradient(135deg,#042f2e 0%,#064e3b 100%);border-color:#0d9488;box-shadow:0 4px 16px -2px rgba(0,0,0,.4)}.mt-concept-title{font-weight:800;color:#0f766e;font-size:1.12rem;margin-bottom:.6rem;letter-spacing:-.01em}.dark .mt-concept-title{color:#5eead4}.mt-concept-body{font-size:.95rem;line-height:1.8;color:#134e4a}.dark .mt-concept-body{color:#ccfbf1}.mt-concept-block{background:rgba(255,255,255,.85);border:1px solid rgba(13,148,136,.22);border-radius:.75rem;padding:.85rem 1rem;margin:.85rem 0;box-shadow:0 1px 4px rgba(0,0,0,3%)}.dark .mt-concept-block{background:rgba(15,23,42,.65);border-color:rgba(45,212,191,.22)}.mt-concept-block-title{font-weight:700;font-size:.98rem;color:#0f766e;margin-bottom:.5rem;display:flex;align-items:center;gap:.4rem}.dark .mt-concept-block-title{color:#5eead4}.mt-concept-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.65rem;margin:.5rem 0}.mt-concept-item{background:rgba(255,255,255,.95);border:1px solid rgba(13,148,136,.16);border-radius:.55rem;padding:.6rem .75rem;display:flex;flex-direction:column;gap:.3rem;transition:transform .15s ease,border-color .15s ease}.dark .mt-concept-item{background:rgba(15,23,42,.8);border-color:rgba(45,212,191,.16)}.mt-concept-item:hover{border-color:#14b8a6}.mt-badge-term{font-weight:700;color:#0f766e;font-size:.92rem;display:inline-flex;align-items:center;gap:.3rem}.dark .mt-badge-term{color:#2dd4bf}.mt-badge-cond{display:inline-block;background:#ccfbf1;color:#115e59;font-size:.8rem;font-weight:600;padding:.1rem .45rem;border-radius:.35rem;border:1px solid #99f6e4;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;width:fit-content}.dark .mt-badge-cond{background:#134e4a;color:#99f6e4;border-color:#2dd4bf}.mt-item-desc{font-size:.86rem;color:#334155;line-height:1.55}.dark .mt-item-desc{color:#cbd5e1}.mt-concept-callout{background:linear-gradient(135deg,#fef9c3 0%,#fef08a 100%);border:1px solid #fde047;border-left:4px solid #f59e0b;border-radius:.65rem;padding:.75rem 1rem;margin:.85rem 0;color:#78350f;font-size:.9rem;line-height:1.6}.dark .mt-concept-callout{background:linear-gradient(135deg,#451a03 0%,#78350f 100%);border-color:#b45309;border-left-color:#f59e0b;color:#fef3c7}.mt-concept-callout-title{font-weight:700;color:#b45309;margin-bottom:.3rem;display:flex;align-items:center;gap:.35rem;font-size:.94rem}.dark .mt-concept-callout-title{color:#fde047}.mt-concept-chain{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:.4rem 0;font-size:.86rem;font-weight:600}.mt-chain-node{background:rgba(255,255,255,.95);border:1px solid rgba(0,0,0,.12);padding:.2rem .55rem;border-radius:.4rem;color:inherit}.dark .mt-chain-node{background:rgba(0,0,0,.35);border-color:rgba(255,255,255,.15)}.mt-chain-arrow{color:#f59e0b;font-weight:800}.mt-concept-explorer{margin-top:.75rem}.mt-concept-explorer>summary{cursor:pointer;font-weight:700;color:#0f766e;padding:.6rem 0}.dark .mt-concept-explorer>summary{color:#5eead4}.mt-concept-explorer-card{min-width:0}.mt-chapter[data-book=math-teacher-higher-math-hsc] :is(.mt-card,.mt-concept){overflow-wrap:anywhere}.mt-chapter[data-book=chemistry-hsc] :is(.mt-card,.mt-concept){overflow-wrap:anywhere}.mt-chapter[data-book=physics-hsc] :is(.mt-card,.mt-concept){overflow-wrap:anywhere}.mt-chapter,:is(.mt-card,.mt-concept,.mt-boardqa-card,.mt-boardqa,.mt-step,.mt-exam-sol,.mt-statement,.mt-formula-vars,[data-learn-exam]){font-family:Inter,noto sans bengali,segoe ui symbol,"noto sans symbols 2",cambria math,stix two math,noto sans math,dejavu sans,ui-sans-serif,system-ui,sans-serif}.mt-chapter[data-book=math-teacher-higher-math-hsc] :is(.mt-answer,.mt-exam-ask,.mt-exam-sol-ans){max-width:100%;overflow-x:auto}.mt-chapter[data-book=chemistry-hsc] .mt-boardqa{max-width:100%;overflow-x:auto;overflow-wrap:anywhere;overscroll-behavior-inline:contain}.mt-chapter[data-book=physics-hsc] .mt-boardqa{max-width:100%;overflow-x:auto;overflow-wrap:anywhere;overscroll-behavior-inline:contain}.mt-chapter[data-book=chemistry-hsc] .mt-statement{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) p+p,:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) p+div,:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) div+p{margin-top:.6rem}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) table{border-collapse:collapse;margin:.6rem 0;font-size:.85rem;display:block;overflow-x:auto;max-width:100%}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) :is(td,th){border:1px solid rgba(14,116,144,.3);padding:.25rem .5rem;vertical-align:top}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) th{font-weight:700;background:rgba(14,116,144,8%)}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) :is(ul,ol){margin:.4rem 0 .4rem 1.25rem;list-style:disc}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) ol{list-style:decimal}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) label{display:flex;gap:.5rem;align-items:flex-start;margin-top:.35rem}:is(.mt-concept-body,.mt-insight-body,.mt-motivate-body) label input{margin-top:.45rem;flex-shrink:0}.mt-formula-vars{background:rgba(14,116,144,6%);border:1px solid rgba(14,116,144,.25);border-radius:.6rem;padding:.65rem .95rem;margin-top:.75rem;font-size:.88rem;line-height:1.65}.dark .mt-formula-vars{background:rgba(103,232,249,6%);border-color:rgba(103,232,249,.25)}.mt-formula-vars strong,.mt-formula-vars-title{color:#0e7490;font-weight:700;margin-bottom:.4rem;display:block}.dark .mt-formula-vars strong,.dark .mt-formula-vars-title{color:#67e8f9}.mt-formula-vars ul{margin:.35rem 0 .2rem 1.15rem!important}.mt-formula-var-row{display:flex;gap:.75rem;padding:.25rem 0;align-items:baseline;border-bottom:1px dashed rgba(14,116,144,.12)}.mt-formula-var-row:last-child{border-bottom:none}.dark .mt-formula-var-row{border-bottom-color:rgba(103,232,249,.15)}.mt-formula-var-sym{font-weight:700;color:#4338ca;min-width:4.5rem;flex-shrink:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,courier new,monospace}.dark .mt-formula-var-sym{color:#a5b4fc}.mt-formula-var-desc{color:inherit;flex:1}:is(.mt-concept,.mt-concept-body) section{margin:.85rem 0;padding:.75rem 1rem;background:rgba(255,255,255,.75);border:1px solid rgba(13,148,136,.22);border-radius:.75rem}.dark :is(.mt-concept,.mt-concept-body) section{background:rgba(15,23,42,.6);border-color:rgba(45,212,191,.22)}:is(.mt-concept,.mt-concept-body) section h3{font-size:.95rem;font-weight:700;color:#0f766e;margin:0 0 .4rem}.dark :is(.mt-concept,.mt-concept-body) section h3{color:#5eead4}.mt-board-prerequisite-group{margin:.45rem 0;padding:.5rem .75rem;background:rgba(248,250,252,.85);border:1px solid #cbd5e1;border-radius:.55rem;font-size:.88rem}.dark .mt-board-prerequisite-group{background:rgba(30,41,59,.75);border-color:#475569}.mt-board-prerequisite-group summary{font-weight:700;cursor:pointer;color:#0369a1;outline:none}.dark .mt-board-prerequisite-group summary{color:#38bdf8}.mt-board-prerequisite-group p{margin:.35rem 0 .25rem;font-size:.85rem;color:#475569}.dark .mt-board-prerequisite-group p{color:#94a3b8}.mt-board-prerequisite-group ul{margin:.25rem 0 .25rem 1.2rem!important;font-size:.85rem}.mt-board-prerequisite-group li{margin:.2rem 0}.mt-board-prerequisite-group a{color:#2563eb;text-decoration:underline;text-underline-offset:2px}.dark .mt-board-prerequisite-group a{color:#60a5fa}.mt-statement{font-size:1.15rem;line-height:2.2;margin-bottom:1rem}.mt-var-input{display:inline-block;width:4.5rem;text-align:center;border:1px solid #a5b4fc;border-radius:.5rem;padding:.15rem .4rem;font-weight:700;font-size:1.05rem;background:#eef2ff;color:#3730a3;margin:0 .15rem}.dark .mt-var-input{background:#1e1b4b;color:#c7d2fe;border-color:#4338ca}select.mt-var-input{width:auto}.mt-var-row{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.4rem;max-width:100%;margin-top:.5rem}.mt-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.mt-tab{padding:.4rem .9rem;border-radius:999px;border:1px solid #d1d5db;font-size:.85rem;font-weight:600;background:0 0;cursor:pointer}.dark .mt-tab{border-color:#374151;color:#d1d5db}.mt-tab.active{background:#4f46e5;border-color:#4f46e5;color:#fff}.mt-explain{font-size:.9rem;color:#6b7280;margin-bottom:.75rem;background:#f9fafb;border-radius:.5rem;padding:.6rem .8rem}.dark .mt-explain{color:#94a3b8;background:#1e293b}.mt-steps{margin:0 0 1rem}.mt-step{margin:0 0 .55rem;line-height:1.9}.mt-brief .mt-step-explain{display:none}.mt-brief .mt-step-detail{display:none}.mt-step-detail{color:#475569;font-size:.95em;padding-left:1.1rem;border-left:2px solid #e2e8f0}.dark .mt-step-detail{color:#94a3b8;border-color:#334155}.mt-solution-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.6rem;flex-wrap:wrap}.mt-solution-label{font-weight:800;font-size:1.05rem;color:#4f46e5}.dark .mt-solution-label{color:#a5b4fc}.mt-brief-btn{border:1px dashed #a5b4fc;background:0 0;color:#4338ca;font-size:.8rem;font-weight:700;padding:.3rem .75rem;border-radius:.6rem;cursor:pointer}.mt-brief-btn:hover{background:#eef2ff}.dark .mt-brief-btn{border-color:#4338ca;color:#c7d2fe}.dark .mt-brief-btn:hover{background:#1e1b4b}.mt-answer{font-weight:800;font-size:1.1rem;color:#059669;background:#ecfdf5;border-radius:.5rem;padding:.6rem .9rem;display:inline-block}.dark .mt-answer{color:#34d399;background:#052e21}.mt-figure{margin:.9rem 0 1.1rem}.mt-fig{display:block;max-width:100%;height:auto}.mt-fig-cap{font-size:11px;font-weight:600;fill:#4338ca}.dark .mt-fig-cap{fill:#a5b4fc}.mt-fig-row{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:flex-start}.mt-fig-col{display:flex;flex-direction:column;gap:.2rem}.mt-figure-hint{margin-top:.35rem;font-size:.78rem;color:#64748b}.dark .mt-figure-hint{color:#94a3b8}.mt-fig-note{font-size:.78rem;color:#64748b}.dark .mt-fig-note{fill:#94a3b8;color:#94a3b8}.mt-fig-verdict{font-size:.88rem;font-weight:700;color:#4338ca}.dark .mt-fig-verdict{color:#a5b4fc}.mt-fig-yes{color:#059669}.dark .mt-fig-yes{color:#34d399}.mt-fig-no{color:#dc2626}.dark .mt-fig-no{color:#f87171}.mt-bar-cell{fill:#eef2ff;stroke:#6366f1;stroke-width:1.5}.dark .mt-bar-cell{fill:#1e1b4b;stroke:#818cf8}.mt-bar-on{fill:#6366f1}.dark .mt-bar-on{fill:#818cf8}.mt-drag{cursor:grab;touch-action:none}.mt-drag:focus{outline:none}.mt-drag:focus .mt-drag-knob{stroke:#4338ca;stroke-width:4}body.mt-dragging,body.mt-dragging .mt-drag{cursor:grabbing;user-select:none}.mt-drag-rail{stroke:#cbd5e1;stroke-width:6;stroke-linecap:round}.dark .mt-drag-rail{stroke:#334155}.mt-drag-fill{stroke:#6366f1;stroke-width:6;stroke-linecap:round}.mt-drag-knob{fill:#fff;stroke:#6366f1;stroke-width:3}.dark .mt-drag-knob{fill:#1e293b;stroke:#818cf8}.mt-drag-label{font-size:10px;fill:#64748b}.dark .mt-drag-label{fill:#94a3b8}.mt-nl-axis{stroke:#475569;stroke-width:2}.dark .mt-nl-axis{stroke:#94a3b8}.mt-nl-tick{stroke:#94a3b8;stroke-width:1.5}.mt-nl-num{font-size:10px;fill:#64748b;text-anchor:middle}.dark .mt-nl-num{fill:#94a3b8}.mt-nl-band{stroke:#4f46e5;stroke-width:5;stroke-linecap:butt}.dark .mt-nl-band{stroke:#a5b4fc}.mt-nl-fill{fill:#4f46e5;stroke:#4f46e5;stroke-width:2}.dark .mt-nl-fill{fill:#a5b4fc;stroke:#a5b4fc}.mt-nl-open{fill:#fff;stroke:#4f46e5;stroke-width:2.5}.dark .mt-nl-open{fill:#0f172a;stroke:#a5b4fc}.mt-ineq-shade{fill:#6366f1;fill-opacity:.18;stroke:none}.dark .mt-ineq-shade{fill:#818cf8;fill-opacity:.28}.mt-nl-dot{fill:#6366f1}.mt-nl-value{font-size:12px;font-weight:700;fill:#4338ca}.dark .mt-nl-value{fill:#a5b4fc}.mt-nl-lead{stroke:#94a3b8;stroke-width:1;stroke-dasharray:3 3}.dark .mt-nl-lead{stroke:#64748b}.mt-nl-plabel{font-size:11px;font-weight:700;fill:#4338ca}.dark .mt-nl-plabel{fill:#a5b4fc}.mt-nl-irr{fill:#dc2626;stroke:#dc2626;stroke-width:2}.dark .mt-nl-irr{fill:#fca5a5;stroke:#fca5a5}.mt-nl-ilabel{font-size:11px;font-weight:700;fill:#b91c1c}.dark .mt-nl-ilabel{fill:#fca5a5}.mt-d-box{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1}.dark .mt-d-box{fill:#1e293b;stroke:#475569}.mt-d-box-rec{fill:#e0e7ff;stroke:#6366f1;stroke-width:1.4}.dark .mt-d-box-rec{fill:#312e81;stroke:#818cf8}.mt-d-int{font-size:15px;font-weight:700;fill:#0f172a}.dark .mt-d-int{fill:#e2e8f0}.mt-d-pt{font-size:18px;font-weight:700;fill:#0f172a}.dark .mt-d-pt{fill:#e2e8f0}.mt-d-plain{font-size:15px;fill:#334155}.dark .mt-d-plain{fill:#cbd5e1}.mt-d-rec{font-size:15px;font-weight:700;fill:#4338ca}.dark .mt-d-rec{fill:#c7d2fe}.mt-d-dot{fill:#4f46e5}.dark .mt-d-dot{fill:#a5b4fc}.mt-fig-svg.mt-fig-wide{max-width:100%;width:min(100%,40rem)}.mt-formula-card{fill:#eef2ff;stroke:#6366f1;stroke-width:1.4}.dark .mt-formula-card{fill:#312e81;stroke:#818cf8}.mt-formula-text{font-size:15px;font-weight:700;fill:#3730a3}.dark .mt-formula-text{fill:#c7d2fe}.mt-formula-note{font-size:11px;fill:#4f46e5}.dark .mt-formula-note{fill:#a5b4fc}.mt-tree-box{fill:#f8fafc;stroke:#94a3b8;stroke-width:1}.dark .mt-tree-box{fill:#1e293b;stroke:#475569}.mt-tree-box-hi{fill:#e0e7ff;stroke:#4f46e5;stroke-width:1.6}.dark .mt-tree-box-hi{fill:#312e81;stroke:#a5b4fc}.mt-tree-t{font-size:9px;fill:#334155}.dark .mt-tree-t{fill:#cbd5e1}.mt-tree-t-hi{font-size:9px;font-weight:700;fill:#3730a3}.dark .mt-tree-t-hi{fill:#c7d2fe}.mt-tree-edge{stroke:#cbd5e1;stroke-width:1}.dark .mt-tree-edge{stroke:#475569}.mt-tree-edge-hi{stroke:#4f46e5;stroke-width:2}.dark .mt-tree-edge-hi{stroke:#a5b4fc}.mt-bal-post{stroke:#475569;stroke-width:3}.dark .mt-bal-post{stroke:#94a3b8}.mt-bal-beam{stroke:#475569;stroke-width:3;stroke-linecap:round}.dark .mt-bal-beam{stroke:#94a3b8}.mt-bal-base{fill:#475569}.dark .mt-bal-base{fill:#94a3b8}.mt-bal-pan{fill:#e0e7ff;stroke:#4f46e5;stroke-width:1.4}.dark .mt-bal-pan{fill:#312e81;stroke:#a5b4fc}.mt-bal-t{font-size:11px;font-weight:700;fill:#3730a3}.dark .mt-bal-t{fill:#c7d2fe}.mt-longdiv{font-family:noto sans bengali,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.95rem;line-height:1.5;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:.75rem 1rem;overflow-x:auto;margin:.5rem 0;white-space:pre}.dark .mt-longdiv{background:#0f172a;border-color:#334155;color:#e2e8f0}.mt-coladd{font-family:noto sans bengali,ui-monospace,SFMono-Regular,Menlo,monospace;display:inline-block;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:.6rem .9rem;margin:.5rem 0;overflow-x:auto}.dark .mt-coladd{background:#0f172a;border-color:#334155;color:#e2e8f0}.mt-col-row{white-space:pre;line-height:1.55}.mt-col-num{letter-spacing:.04em}.mt-col-note{margin-inline-start:.9rem;font-size:.8rem;color:#64748b;letter-spacing:0}.dark .mt-col-note{color:#94a3b8}.mt-col-rule{border-top:1px solid #64748b;margin:.2rem 0}.dark .mt-col-rule{border-color:#94a3b8}.mt-col-fix{color:#b91c1c;font-weight:700}.dark .mt-col-fix{color:#fca5a5}.mt-col-total{font-weight:700;color:#3730a3}.dark .mt-col-total{color:#c7d2fe}.mt-ser-bar{stroke:#6366f1;stroke-width:6;stroke-linecap:butt;opacity:.55}.dark .mt-ser-bar{stroke:#818cf8;opacity:.6}.mt-ser-path{stroke:#4f46e5;stroke-width:1.6}.dark .mt-ser-path{stroke:#a5b4fc}.mt-ser-limit{stroke:#db2777;stroke-width:1.6;stroke-dasharray:6 4}.dark .mt-ser-limit{stroke:#f472b6}.mt-chase-poly{fill:none;stroke:#6366f1;stroke-width:1.4}.dark .mt-chase-poly{stroke:#818cf8}.mt-chase-trail{stroke:#db2777;stroke-width:2}.dark .mt-chase-trail{stroke:#f472b6}.mt-ch8-ray{stroke:#4f46e5;stroke-width:2.2}.dark .mt-ch8-ray{stroke:#a5b4fc}.mt-ch8-ray2{stroke:#059669;stroke-width:2;stroke-dasharray:5 3}.dark .mt-ch8-ray2{stroke:#34d399}.mt-ch8-spiral{stroke:#db2777;stroke-width:1.4}.dark .mt-ch8-spiral{stroke:#f472b6}.mt-ch8-quad{font-size:10px;fill:#64748b}.dark .mt-ch8-quad{fill:#94a3b8}.mt-ch8-arc{stroke:#db2777;stroke-width:3}.dark .mt-ch8-arc{stroke:#f472b6}.mt-geo-marklabel{font-size:11px;font-weight:600;fill:#334155}.dark .mt-geo-marklabel{fill:#cbd5e1}.mt-bal-post,.mt-bal-beam{stroke:#475569;stroke-width:5;stroke-linecap:round}.dark .mt-bal-post,.dark .mt-bal-beam{stroke:#94a3b8}.mt-bal-base{fill:#475569}.dark .mt-bal-base{fill:#64748b}.mt-bal-pivot{fill:#6366f1}.mt-bal-string{stroke:#94a3b8;stroke-width:2}.mt-bal-pan{fill:#e0e7ff;stroke:#6366f1;stroke-width:2}.dark .mt-bal-pan{fill:#312e81;stroke:#818cf8}.mt-bal-val{font-size:14px;font-weight:800;fill:#3730a3}.dark .mt-bal-val{fill:#c7d2fe}.mt-bal-label{font-size:10px;fill:#64748b}.dark .mt-bal-label{fill:#94a3b8}.mt-bal-state{font-size:12px;font-weight:700}.mt-bal-weight{fill:#6366f1;stroke:#4338ca;stroke-width:1}.dark .mt-bal-weight{fill:#818cf8;stroke:#c7d2fe}.mt-bal-weight-neg{fill:#f87171;stroke:#dc2626}.mt-bal-more{font-size:9px;fill:#64748b}.dark .mt-bal-more{fill:#94a3b8}.mt-bal-ok{fill:#059669}.dark .mt-bal-ok{fill:#34d399}.mt-bal-off{fill:#d97706}.dark .mt-bal-off{fill:#fbbf24}@media(prefers-reduced-motion:reduce){.mt-bal-beam,.mt-bal-pan,.mt-bal-string{transition:none}}.mt-var-sep{font-weight:700;opacity:.7;margin:0 .15rem}.mt-var-echo{font-weight:700;color:#4338ca;margin-left:.35rem}.dark .mt-var-echo{color:#a5b4fc}.mt-ai{margin-top:1rem}.mt-ai-btn{background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff;border:none}.mt-ai-btn:hover{filter:brightness(1.08)}.mt-ai-open{border:1px solid #ddd6fe;border-radius:.85rem;padding:.9rem 1.1rem;background:linear-gradient(135deg,#faf5ff,#eef2ff)}.dark .mt-ai-open{border-color:#4c1d95;background:linear-gradient(135deg,#1e1b4b,#2e1065)}.mt-ai-head{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.55rem}.mt-ai-badge{font-weight:800;font-size:.85rem;color:#6d28d9}.dark .mt-ai-badge{color:#c4b5fd}.mt-ai-angle{font-size:.78rem;font-weight:700;color:#4338ca;background:#e0e7ff;border-radius:999px;padding:.15rem .65rem}.dark .mt-ai-angle{color:#c7d2fe;background:#312e81}.mt-ai-line{font-size:.9rem;line-height:1.9;color:#3730a3;margin-bottom:.45rem}.dark .mt-ai-line{color:#ddd6fe}.mt-ai-more{margin-top:.35rem;background:0 0;border:1px dashed #a78bfa;color:#6d28d9}.mt-ai-more:hover{background:#f5f3ff}.dark .mt-ai-more{border-color:#6d28d9;color:#ddd6fe}.dark .mt-ai-more:hover{background:#2e1065}.mt-ai-thinking{display:flex;gap:.3rem;padding:.4rem 0}.mt-ai-thinking span{width:.5rem;height:.5rem;border-radius:50%;background:#a78bfa;animation:mt-ai-bounce 1.2s infinite ease-in-out}.mt-ai-thinking span:nth-child(2){animation-delay:.18s}.mt-ai-thinking span:nth-child(3){animation-delay:.36s}@keyframes mt-ai-bounce{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-.35rem);opacity:1}}@media(prefers-reduced-motion:reduce){.mt-ai-thinking span{animation:none}}.mt-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.1rem}:is(.mt-figure,.mt-concept-diagram,figure){position:relative}.mt-actions[data-physics-animation-controls]{position:absolute;top:8px;right:8px;margin:0!important;padding:2px 6px!important;display:inline-flex!important;align-items:center;gap:3px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(15,23,42,.14);border-radius:9999px;box-shadow:0 1px 4px rgba(0,0,0,8%);z-index:10;pointer-events:auto}.dark .mt-actions[data-physics-animation-controls]{background:rgba(30,41,59,.92);border-color:rgba(255,255,255,.16);box-shadow:0 1px 4px rgba(0,0,0,.35)}.mt-actions[data-physics-animation-controls] .mt-btn{padding:2px 7px!important;font-size:.72rem!important;line-height:1.2!important;min-height:22px!important;height:22px!important;border-radius:9999px!important;display:inline-flex!important;align-items:center;gap:3px;border:none!important;background:0 0!important;color:#1e293b!important;font-weight:600!important;cursor:pointer;transition:background-color .15s ease,color .15s ease}.mt-actions[data-physics-animation-controls] .mt-btn:hover{background:rgba(0,0,0,7%)!important}.dark .mt-actions[data-physics-animation-controls] .mt-btn{color:#e2e8f0!important}.dark .mt-actions[data-physics-animation-controls] .mt-btn:hover{background:rgba(255,255,255,.12)!important}.mt-actions[data-physics-animation-controls] .mt-btn svg{width:12px;height:12px}.mt-actions[data-physics-animation-controls] .mt-fig-note{display:none!important}.mt-btn{padding:.55rem 1.1rem;border-radius:.6rem;font-weight:700;font-size:.88rem;cursor:pointer;border:1px solid transparent}.mt-generate-btn{background:#4f46e5;color:#fff}.mt-generate-btn:hover{background:#4338ca}.mt-reset-btn{background:0 0;border-color:#d1d5db;color:#374151}.dark .mt-reset-btn{border-color:#4b5563;color:#d1d5db}.mt-show-answer-btn{background:#059669;color:#fff;padding:.55rem 1.1rem;border-radius:.6rem;font-weight:700;border:none;cursor:pointer}.mfrac{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;margin:0 .2rem;font-weight:700;line-height:1.15}.mfrac-n{border-bottom:2px solid;padding:0 .2rem}.mfrac-d{padding:0 .2rem}.mfrac-d::before{content:"/";position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.mnum{font-weight:700;margin:0 .1rem}.mt-card sup{vertical-align:super!important;font-size:.7em!important}.mt-card input.mt-var-input[type=number]{vertical-align:baseline}.mt-card input.mt-var-input.mt-exp-input[type=number]{vertical-align:super!important;font-size:.68em!important;width:2.3rem;min-width:2.3rem;padding:.05rem .25rem;margin:0 1px}.mt-loading,.mt-error{text-align:center;padding:3rem 1rem;color:#6b7280}.mt-geo-hint{font-size:.9rem;font-weight:600;color:#4f46e5;margin-bottom:.75rem}.dark .mt-geo-hint{color:#a5b4fc}.mt-geo-canvas-wrap{display:flex;justify-content:center;margin-bottom:1rem}.mt-geo-svg{width:100%;max-width:380px;height:auto;aspect-ratio:320/260;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;touch-action:none}.dark .mt-geo-svg{background:#0f172a;border-color:#1e293b}.mt-geo-poly{fill:rgba(99,102,241,.15);stroke:#4f46e5;stroke-width:2.5}.dark .mt-geo-poly{fill:rgba(129,140,248,.18);stroke:#818cf8}.mt-geo-handle{fill:#4f46e5;stroke:#fff;stroke-width:2;cursor:grab}.mt-geo-handle:active{cursor:grabbing;fill:#dc2626}.dark .mt-geo-handle{fill:#818cf8;stroke:#0f172a}.mt-geo-vertex-name{font-size:13px;font-weight:700;fill:#374151}.dark .mt-geo-vertex-name{fill:#d1d5db}.mt-geo-edge-label{font-size:12px;font-weight:700;fill:#4338ca;text-anchor:middle;dominant-baseline:middle}.dark .mt-geo-edge-label{fill:#c7d2fe}.mt-geo-angle-label{font-size:11px;font-weight:700;fill:#b45309;text-anchor:middle;dominant-baseline:middle}.dark .mt-geo-angle-label{fill:#fbbf24}.mt-geo-circle-a{fill:rgba(79,70,229,.28);stroke:#4f46e5;stroke-width:2.5;mix-blend-mode:multiply}.mt-geo-circle-b{fill:rgba(220,38,38,.28);stroke:#dc2626;stroke-width:2.5;mix-blend-mode:multiply}.dark .mt-geo-circle-a{fill:rgba(129,140,248,.35);stroke:#818cf8}.dark .mt-geo-circle-b{fill:rgba(248,113,113,.35);stroke:#f87171}.mt-geo-circle-outline{fill:none;stroke:#4f46e5;stroke-width:2}.dark .mt-geo-circle-outline{stroke:#818cf8}.mt-pd-svg{display:block;width:100%;max-width:480px;height:auto;margin:.5rem 0}.mt-compact-work-svg{width:auto;max-width:100%}.mt-pd-digit{font-size:22px;font-weight:700;fill:#111827;text-anchor:middle}.dark .mt-pd-digit{fill:#f3f4f6}.mt-pd-digit-end{text-anchor:end}.mt-pd-line{stroke:#9ca3af;stroke-width:1.5;stroke-dasharray:3 3}.dark .mt-pd-line{stroke:#6b7280}.mt-pd-line-solid{stroke-dasharray:none;stroke:#64748b}.dark .mt-pd-line-solid{stroke:#94a3b8}.mt-pd-text{font-size:12px;fill:#374151}.dark .mt-pd-text{fill:#d1d5db}.mt-pd-cell{fill:#fff;stroke:#cbd5e1;stroke-width:1}.dark .mt-pd-cell{fill:#1e293b;stroke:#334155}.mt-pd-cell-shaded{fill:#a5b4fc;stroke:#4f46e5;stroke-width:1}.dark .mt-pd-cell-shaded{fill:#4338ca;stroke:#818cf8}.mt-pd-arc{stroke:#4f46e5;stroke-width:1.75}.dark .mt-pd-arc{stroke:#818cf8}.mt-pd-arrowhead{fill:#4f46e5}.dark .mt-pd-arrowhead{fill:#818cf8}.mt-concept-diagram{display:flex;justify-content:center;margin-top:.75rem}.mt-stack-table{border-collapse:collapse;margin:.5rem auto;font-size:1rem;font-weight:700}.mt-stack-cell{padding:.2rem .9rem;text-align:right;color:#1e293b}.dark .mt-stack-cell{color:#e2e8f0}.mt-stack-rule-row td{border-top:2px solid #4f46e5;padding:0}.dark .mt-stack-rule-row td{border-color:#818cf8}.mt-stack-sum-row .mt-stack-cell{color:#4f46e5}.dark .mt-stack-sum-row .mt-stack-cell{color:#a5b4fc}.mt-proof-chain{font-size:.9rem;line-height:2}.mt-proof-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;border-bottom:1px dashed #67e8f9;padding:.2rem 0}.dark .mt-proof-line{border-color:#0e7490}.mt-proof-stmt{font-weight:700;color:#0e7490}.dark .mt-proof-stmt{color:#67e8f9}.mt-proof-reason{color:#0891b2;font-style:italic;font-size:.85rem}.dark .mt-proof-reason{color:#22d3ee}.mt-proof-qed{text-align:right;font-weight:700;margin-top:.4rem;color:#0e7490}.dark .mt-proof-qed{color:#67e8f9}.mt-sqrt-table{border-collapse:collapse;margin:.5rem 0;font-size:1rem;font-weight:700;font-family:monospace,sans-serif}.mt-sqrt-cell{padding:.15rem .6rem;text-align:right;color:#1e293b;letter-spacing:.1em}.dark .mt-sqrt-cell{color:#e2e8f0}.mt-sqrt-pairs{border-bottom:2px solid #4f46e5}.dark .mt-sqrt-pairs{border-color:#818cf8}.mt-sqrt-quotient{border-left:2px solid #4f46e5;padding:0 1rem;text-align:center;vertical-align:top;font-size:1.3rem;color:#4f46e5}.dark .mt-sqrt-quotient{border-color:#818cf8;color:#a5b4fc}.mt-geo-stats{margin-bottom:.5rem}.mt-geo-badges{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:.6rem}.mt-geo-badge{background:#eef2ff;color:#4338ca;font-size:.85rem;font-weight:700;padding:.4rem .8rem;border-radius:.6rem}.dark .mt-geo-badge{background:#1e1b4b;color:#c7d2fe}.mt-geo-fact{font-size:.85rem;color:#6b7280}.dark .mt-geo-fact{color:#9ca3af}.mt-geo-fixed-ray{stroke:#64748b;stroke-width:2.5}.dark .mt-geo-fixed-ray{stroke:#94a3b8}.mt-colmul{font-family:inherit;line-height:2;padding:.5rem .8rem;background:#f8fafc;border-radius:.5rem;display:inline-block}.dark .mt-colmul{background:#1e293b}.mt-colmul hr{border:none;border-top:1.5px solid #64748b;margin:.3rem 0}.mt-colmul-op{display:inline-block}.mt-mulgrid{border-collapse:collapse;margin:.5rem 0}.mt-concept-diagram{max-width:100%;overflow-x:auto;justify-content:safe center}.mt-concept-diagram.mt-concept-diagram-prose{display:block}.mt-mulgrid td{border:1px solid #94a3b8;padding:.35rem .7rem;text-align:center}.mt-mulgrid tr:first-child td,.mt-mulgrid td:first-child{background:#eef2ff;font-weight:700;border:none}.dark .mt-mulgrid tr:first-child td,.dark .mt-mulgrid td:first-child{background:#1e1b4b}:is(.mt-concept-diagram,.mt-concept-body) :is(table:not([class]),table.mt-table){border-collapse:collapse;margin:.5rem auto;font-size:.92em}:is(.mt-concept-diagram,.mt-concept-body) :is(table:not([class]),table.mt-table) :is(th,td){border:1px solid #94a3b8;padding:.3rem .6rem;text-align:left;vertical-align:top}:is(.mt-concept-diagram,.mt-concept-body) :is(table:not([class]),table.mt-table) th{background:#eef2ff;font-weight:700}.dark :is(.mt-concept-diagram,.mt-concept-body) :is(table:not([class]),table.mt-table) th{background:#1e1b4b}.mt-boardrefs{display:inline-block;margin:.15rem 0 .5rem;padding:.3rem .65rem;font-size:.8rem;font-weight:700;color:#92400e;background:#fef3c7;border:1px solid #fcd34d;border-radius:.55rem;line-height:1.7}.dark .mt-boardrefs{color:#fcd34d;background:#451a03;border-color:#92400e}.mt-fig-svg{width:100%;max-width:340px;height:auto;margin:.75rem auto;display:block}.mt-figure-svg{width:100%;max-width:340px;height:auto;margin:.75rem auto;display:block}.mt-geo-label{font-size:11px;font-weight:700;fill:#4338ca}.dark .mt-geo-label{fill:#a5b4fc}.mt-fig-shape{fill:#eef2ff;stroke:#4f46e5;stroke-width:2}.dark .mt-fig-shape{fill:#1e1b4b;stroke:#818cf8}.mt-c17-cell{fill:#fff;stroke:#cbd5e1;stroke-width:1}.dark .mt-c17-cell{fill:#0f172a;stroke:#334155}.mt-c17-bar{fill:#c7d2fe;stroke:#4f46e5;stroke-width:1.5}.dark .mt-c17-bar{fill:#312e81;stroke:#818cf8}.mt-fig-inner{fill:#fff}.dark .mt-fig-inner{fill:#0f172a}.mt-fig-height{stroke:#dc2626;stroke-width:2;stroke-dasharray:5 3}.dark .mt-fig-height{stroke:#f87171}.mt-geo-seg{stroke:#334155;stroke-width:1.8;fill:none;stroke-linecap:round}.dark .mt-geo-seg{stroke:#cbd5e1}.mt-geo-baseline{stroke:#0f172a;stroke-width:2.2;fill:none}.dark .mt-geo-baseline{stroke:#f1f5f9}.mt-geo-drop{stroke:#dc2626;stroke-width:1.7;fill:none}.dark .mt-geo-drop{stroke:#f87171}.mt-geo-proj{stroke:#059669;stroke-width:3.2;fill:none}.dark .mt-geo-proj{stroke:#34d399}.mt-geo-median{stroke:#7c3aed;stroke-width:1.7;fill:none}.dark .mt-geo-median{stroke:#a78bfa}.mt-geo-euler{stroke:#ea580c;stroke-width:2.4;fill:none}.dark .mt-geo-euler{stroke:#fb923c}.mt-geo-circle{fill:none;stroke:#64748b;stroke-width:1.6}.dark .mt-geo-circle{stroke:#94a3b8}.mt-geo-dashcircle{stroke-dasharray:4 4}.mt-geo-fill{fill:#eef2ff;stroke:none}.dark .mt-geo-fill{fill:#1e1b4b}.mt-geo-fill2{fill:#ecfdf5;stroke:none}.dark .mt-geo-fill2{fill:#052e2b}.mt-geo-right{stroke:#dc2626;stroke-width:1.7;fill:none}.dark .mt-geo-right{stroke:#f87171}.mt-geo-arc{stroke:#b45309;stroke-width:1.5;fill:none}.dark .mt-geo-arc{stroke:#fbbf24}.mt-geo-anglabel{font-size:11px;font-weight:700;fill:#b45309}.dark .mt-geo-anglabel{fill:#fbbf24}.mt-grid-line{stroke:#e2e8f0;stroke-width:1}.dark .mt-grid-line{stroke:#1e293b}.mt-geo-line{stroke:#4f46e5;stroke-width:2.2;fill:none;stroke-linecap:round}.dark .mt-geo-line{stroke:#818cf8}.mt-geo-line2{stroke:#dc2626;stroke-width:2.2;fill:none;stroke-linecap:round}.dark .mt-geo-line2{stroke:#f87171}.mt-bal-stand{stroke:#94a3b8;stroke-width:5;stroke-linecap:round}.dark .mt-bal-stand{stroke:#64748b}.mt-bal-base{fill:#cbd5e1;stroke:#94a3b8;stroke-width:1.5}.dark .mt-bal-base{fill:#475569;stroke:#64748b}.mt-bal-beam{stroke:#475569;stroke-width:4;stroke-linecap:round}.dark .mt-bal-beam{stroke:#cbd5e1}.mt-bal-pivot{fill:#475569}.dark .mt-bal-pivot{fill:#cbd5e1}.mt-bal-wire{stroke:#94a3b8;stroke-width:1.5}.dark .mt-bal-wire{stroke:#64748b}.mt-bal-pan{fill:#dbeafe;stroke:#3b82f6;stroke-width:1.5}.dark .mt-bal-pan{fill:#1e3a8a;stroke:#60a5fa}.mt-bal-label{font-size:11px;font-weight:700;fill:#1e40af}.dark .mt-bal-label{fill:#93c5fd}.mt-bal-val{font-size:12px;font-weight:700;fill:#0f172a}.dark .mt-bal-val{fill:#e2e8f0}.mt-geo-dot{fill:#1e293b}.dark .mt-geo-dot{fill:#e2e8f0}.mt-geo-grid-dot{fill:#1e293b}.dark .mt-geo-grid-dot{fill:#e2e8f0}.mt-geo-subtick{stroke:#f59e0b;stroke-width:1.5}.dark .mt-geo-subtick{stroke:#fbbf24}.mt-geo-tick-label{font-size:13px;fill:#334155}.dark .mt-geo-tick-label{fill:#cbd5e1}.mt-geo-stat-line{font-size:.92rem;line-height:1.8;color:#1e293b}.dark .mt-geo-stat-line{color:#e2e8f0}.mt-graph-svg{width:100%;max-width:320px;height:auto;margin:.75rem auto;display:block}.mt-graph-axis{stroke:#64748b;stroke-width:1.5}.dark .mt-graph-axis{stroke:#94a3b8}.mt-graph-line{fill:none;stroke:#4f46e5;stroke-width:2}.dark .mt-graph-line{stroke:#818cf8}.mt-graph-dot{fill:#4f46e5}.dark .mt-graph-dot{fill:#a5b4fc}.mt-graph-intercept{fill:#059669}.dark .mt-graph-intercept{fill:#34d399}.mt-graph-pt-label{font-size:8px;fill:#374151;font-weight:700}.dark .mt-graph-pt-label{fill:#d1d5db}.mt-graph-intercept-label{fill:#059669}.dark .mt-graph-intercept-label{fill:#34d399}.mt-graph-axis-label{font-size:9px;fill:#6b7280;font-weight:700}.mt-graph-grid{stroke:#e2e8f0;stroke-width:.5}.dark .mt-graph-grid{stroke:#334155}.mt-graph-line2{fill:none;stroke:#db2777;stroke-width:2}.mt-venn-svg{width:100%;max-width:340px;height:auto;margin:.75rem auto;display:block}.mt-venn-universe{fill:none;stroke:#94a3b8;stroke-width:1.5}.dark .mt-venn-universe{stroke:#64748b}.mt-venn-circle{fill:none;stroke:#4f46e5;stroke-width:2}.dark .mt-venn-circle{stroke:#818cf8}.mt-venn-fill{fill:#4f46e5;fill-opacity:.07}.dark .mt-venn-fill{fill:#818cf8;fill-opacity:.12}.mt-venn-label{font-size:12px;font-weight:700;fill:#4338ca}.dark .mt-venn-label{fill:#a5b4fc}.mt-venn-items{font-size:10px;fill:#374151;font-weight:600}.dark .mt-venn-items{fill:#e5e7eb}.mt-pie-slice{stroke:#fff;stroke-width:1.5}.dark .mt-pie-slice{stroke:#0f172a}.mt-pie-0{fill:#6366f1}.mt-pie-1{fill:#ec4899}.mt-pie-2{fill:#f59e0b}.mt-pie-3{fill:#10b981}.mt-pie-4{fill:#0ea5e9}.mt-pie-5{fill:#a855f7}.mt-venn-hot{fill:#059669}.dark .mt-venn-hot{fill:#34d399}.mt-map-arrow{fill:none;stroke:#4f46e5;stroke-width:1.3}.dark .mt-map-arrow{stroke:#818cf8}.mt-map-head{fill:#4f46e5}.dark .mt-map-head{fill:#818cf8}.mt-graph-testline{stroke:#db2777;stroke-width:1.4;stroke-dasharray:5 3}.dark .mt-graph-testline{stroke:#f472b6}.mt-graph-mirror{fill:none;stroke:#94a3b8;stroke-width:1.2}.dark .mt-graph-mirror{stroke:#64748b}.mt-ld-text{font-family:ui-monospace,courier new,monospace;font-size:13px;fill:#1f2937}.dark .mt-ld-text{fill:#e5e7eb}.mt-ld-quot{font-weight:700;fill:#4338ca}.dark .mt-ld-quot{fill:#a5b4fc}.mt-ld-rule{stroke:#64748b;stroke-width:1.2}.dark .mt-ld-rule{stroke:#94a3b8}.mt-term-box{fill:#eef2ff;stroke:#a5b4fc;stroke-width:1.2}.dark .mt-term-box{fill:#1e1b4b;stroke:#4338ca}.mt-term-lead{fill:#ddd6fe;stroke:#7c3aed}.dark .mt-term-lead{fill:#2e1065;stroke:#a78bfa}.mt-term-const{fill:#fef3c7;stroke:#f59e0b}.dark .mt-term-const{fill:#451a03;stroke:#d97706}.mt-fig-note-svg{font-size:9px;fill:#64748b}.dark .mt-fig-note-svg{fill:#94a3b8}.mt-vec{fill:#4f46e5;stroke:#4f46e5;stroke-width:2}.dark .mt-vec{fill:#818cf8;stroke:#818cf8}.mt-vec2{fill:#db2777;stroke:#db2777;stroke-width:2}.dark .mt-vec2{fill:#f472b6;stroke:#f472b6}.mt-vec3{fill:#059669;stroke:#059669;stroke-width:2}.dark .mt-vec3{fill:#34d399;stroke:#34d399}.mt-vec-ghost{fill:#94a3b8;stroke:#94a3b8;stroke-width:1.4}.dark .mt-vec-ghost{fill:#64748b;stroke:#64748b}.mt-chapter[data-book=physics-hsc] svg [fill=none]:is(.mt-vec,.mt-vec2,.mt-vec3,.mt-vec-ghost){fill:none}.mt-vec-label{font-size:11px;font-weight:600;fill:#334155}.dark .mt-vec-label{fill:#cbd5e1}.mt-die{fill:#f8fafc;stroke:#334155;stroke-width:1.6}.dark .mt-die{fill:#1e293b;stroke:#94a3b8}.mt-die-hi{fill:#dbeafe;stroke:#2563eb;stroke-width:2.2}.dark .mt-die-hi{fill:#1e3a8a;stroke:#60a5fa}.mt-die-pip{fill:#334155}.dark .mt-die-pip{fill:#cbd5e1}.mt-die-pip-hi{fill:#1d4ed8}.dark .mt-die-pip-hi{fill:#93c5fd}.mt-die-label{font-size:12px;fill:#64748b}.dark .mt-die-label{fill:#94a3b8}.mt-die-label-hi{fill:#1d4ed8;font-weight:700}.dark .mt-die-label-hi{fill:#93c5fd}.mt-bag{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.4}.dark .mt-bag{fill:#1e293b;stroke:#64748b}.mt-bag-mouth{fill:none;stroke:#94a3b8;stroke-width:1.6}.dark .mt-bag-mouth{stroke:#64748b}.mt-ball{stroke:#475569;stroke-width:1.1}.dark .mt-ball{stroke:#cbd5e1}.mt-ball-off{opacity:.22}.mt-ball-red{fill:#ef4444}.mt-ball-white{fill:#fff}.dark .mt-ball-white{fill:#f1f5f9}.mt-ball-black{fill:#334155}.dark .mt-ball-black{fill:#0f172a}.mt-ball-blue{fill:#3b82f6}.mt-ball-green{fill:#22c55e}.mt-tick{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}.dark .mt-tick{fill:#1e293b;stroke:#475569}.mt-tick-hi{fill:#dbeafe;stroke:#2563eb;stroke-width:1.8}.dark .mt-tick-hi{fill:#1e3a8a;stroke:#60a5fa}.mt-tick-num{font-size:12px;fill:#475569}.dark .mt-tick-num{fill:#cbd5e1}.mt-tick-num-hi{fill:#1d4ed8;font-weight:700}.dark .mt-tick-num-hi{fill:#93c5fd}.mt-bar{fill:#cbd5e1}.dark .mt-bar{fill:#475569}.mt-bar-hi{fill:#3b82f6}.dark .mt-bar-hi{fill:#60a5fa}.mt-bar-label{font-size:12px;fill:#334155}.dark .mt-bar-label{fill:#cbd5e1}.mt-bar-val{font-size:11px;fill:#64748b}.dark .mt-bar-val{fill:#94a3b8}.mt-bar-val-hi{fill:#1d4ed8;font-weight:700}.dark .mt-bar-val-hi{fill:#93c5fd}.mt-scale{fill:#e2e8f0}.dark .mt-scale{fill:#334155}.mt-scale-fill{fill:#93c5fd}.dark .mt-scale-fill{fill:#1d4ed8}.mt-scale-mark{fill:#1d4ed8;stroke:#fff;stroke-width:2}.dark .mt-scale-mark{fill:#60a5fa;stroke:#0f172a}.mt-scale-tick{stroke:#94a3b8;stroke-width:1.2}.dark .mt-scale-tick{stroke:#64748b}.mt-scale-tnum{font-size:11px;fill:#64748b}.dark .mt-scale-tnum{fill:#94a3b8}.mt-scale-end{font-size:11px;fill:#64748b}.dark .mt-scale-end{fill:#94a3b8}.mt-scale-val{font-size:13px;fill:#1d4ed8;font-weight:700}.dark .mt-scale-val{fill:#93c5fd}.mt-prob-node{fill:#f8fafc;stroke:#475569;stroke-width:1.3}.dark .mt-prob-node{fill:#1e293b;stroke:#94a3b8}.mt-prob-ntext{font-size:11px;fill:#1e293b}.dark .mt-prob-ntext{fill:#e2e8f0}.mt-prob-edge{stroke:#94a3b8;stroke-width:1.3;fill:none}.dark .mt-prob-edge{stroke:#64748b}.mt-prob-elabel{font-size:11.5px;fill:#334155;font-style:italic}.dark .mt-prob-elabel{fill:#cbd5e1}.mt-prob-plabel{font-size:10px;fill:#b91c1c}.dark .mt-prob-plabel{fill:#fca5a5}.mt-prob-leaf{fill:#fff;stroke:#475569;stroke-width:1.3}.dark .mt-prob-leaf{fill:#0f172a;stroke:#94a3b8}.mt-prob-leaf-hi{fill:#dbeafe;stroke:#2563eb;stroke-width:2}.dark .mt-prob-leaf-hi{fill:#1e3a8a;stroke:#60a5fa}.mt-prob-ltext{font-size:11.5px;fill:#1e293b}.dark .mt-prob-ltext{fill:#e2e8f0}.mt-prob-ltext-hi{fill:#1d4ed8;font-weight:700}.dark .mt-prob-ltext-hi{fill:#93c5fd}.mt-sol-edge{fill:none;stroke:#1e293b;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.dark .mt-sol-edge{stroke:#e2e8f0}.mt-sol-hidden{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:5 4}.dark .mt-sol-hidden{stroke:#64748b}.mt-sol-face{fill:#dbeafe;opacity:.55;stroke:none}.dark .mt-sol-face{fill:#1e3a8a;opacity:.45}.mt-sol-face2{fill:#bfdbfe;opacity:.5;stroke:none}.dark .mt-sol-face2{fill:#1d4ed8;opacity:.38}.mt-sol-plane{fill:#e2e8f0;opacity:.65;stroke:none}.dark .mt-sol-plane{fill:#334155;opacity:.6}.mt-sol-plane2{fill:#fde68a;opacity:.55;stroke:none}.dark .mt-sol-plane2{fill:#78350f;opacity:.55}.mt-sol-dim{fill:none;stroke:#dc2626;stroke-width:1.3}.dark .mt-sol-dim{stroke:#f87171}.mt-sol-dim2{fill:none;stroke:#16a34a;stroke-width:1.7}.dark .mt-sol-dim2{stroke:#4ade80}.mt-sol-diag{fill:none;stroke:#2563eb;stroke-width:1.6;stroke-dasharray:6 4}.dark .mt-sol-diag{stroke:#60a5fa}.mt-sol-inner{fill:none;stroke:#7c3aed;stroke-width:1.4}.dark .mt-sol-inner{stroke:#a78bfa}.mt-sol-line{fill:none;stroke:#0f172a;stroke-width:1.7}.dark .mt-sol-line{stroke:#f1f5f9}.mt-sol-dot{fill:#0f172a}.dark .mt-sol-dot{fill:#f1f5f9}.mt-sol-label{font-size:13px;font-style:italic;fill:#0f172a}.dark .mt-sol-label{fill:#f1f5f9}.mt-sol-name{font-size:12.5px;font-weight:600;fill:#334155}.dark .mt-sol-name{fill:#cbd5e1}.mt-sol-dimlabel{font-size:11.5px;font-weight:600;fill:#b91c1c}.dark .mt-sol-dimlabel{fill:#fca5a5}.mt-pascal-cell{font-size:11px;fill:#334155}.dark .mt-pascal-cell{fill:#cbd5e1}.mt-pascal-on{font-size:11px;font-weight:700;fill:#4f46e5}.dark .mt-pascal-on{fill:#a5b4fc}.mt-pascal-band{fill:#eef2ff}.dark .mt-pascal-band{fill:#312e81}.mt-pascal-nlabel{font-size:9px;fill:#64748b}.dark .mt-pascal-nlabel{fill:#94a3b8}.mt-pascal-arrow{stroke:#94a3b8;stroke-width:1}.dark .mt-pascal-arrow{stroke:#64748b}.mt-grid-cell{fill:none;stroke:#cbd5e1;stroke-width:1}.dark .mt-grid-cell{stroke:#475569}.mt-grid-hot{fill:#4f46e5;fill-opacity:.14}.dark .mt-grid-hot{fill:#a5b4fc;fill-opacity:.2}.mt-venn-shade{fill:#4f46e5;fill-opacity:.22;stroke:none}.dark .mt-venn-shade{fill:#a5b4fc;fill-opacity:.3}.mt-fig-pair{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;align-items:flex-start}.mt-fig-pair>svg{flex:1 1 240px;max-width:300px}.dark .mt-graph-line2{stroke:#f472b6}.dark .mt-graph-axis-label{fill:#9ca3af}.mt-fig-ray{stroke:#475569;stroke-width:2;stroke-linecap:round}.dark .mt-fig-ray{stroke:#cbd5e1}.mt-fig-circle{stroke:#334155;stroke-width:2;fill:none}.dark .mt-fig-circle{stroke:#e2e8f0}.mt-fig-base{stroke:#334155;stroke-width:2.2;stroke-linecap:round}.dark .mt-fig-base{stroke:#e2e8f0}.mt-fig-seg{stroke:#475569;stroke-width:1.8}.dark .mt-fig-seg{stroke:#cbd5e1}.mt-fig-move{stroke:#4f46e5;stroke-width:2.5}.dark .mt-fig-move{stroke:#818cf8}.mt-fig-arc{stroke:#dc2626;stroke-width:1.8;fill:none}.mt-fig-carc{stroke:#94a3b8;stroke-width:1.3;stroke-dasharray:4 3;fill:none}.mt-chart-grid{stroke:#e2e8f0;stroke-width:1}.dark .mt-chart-grid{stroke:#334155}.mt-chart-axis{stroke:#475569;stroke-width:1.6}.dark .mt-chart-axis{stroke:#cbd5e1}.mt-chart-line{stroke:#4f46e5;stroke-width:2.2}.dark .mt-chart-line{stroke:#818cf8}.mt-chart-dot{fill:#4f46e5}.dark .mt-chart-dot{fill:#818cf8}.mt-chart-tick{font-size:10px;fill:#64748b}.dark .mt-chart-tick{fill:#94a3b8}.mt-chart-val{font-size:10px;font-weight:700;fill:#b91c1c}.dark .mt-chart-val{fill:#fca5a5}.mt-chart-title{font-size:11px;font-weight:700;fill:#475569}.dark .mt-chart-title{fill:#cbd5e1}.mt-tally{border-collapse:collapse;margin:.4rem 0;font-size:.95em}.mt-tally th,.mt-tally td{border:1px solid #cbd5e1;padding:.18rem .6rem;text-align:center}.dark .mt-tally th,.dark .mt-tally td{border-color:#475569}.dark .mt-fig-carc{stroke:#64748b}.dark .mt-fig-arc{stroke:#f87171}.mt-fig-vlabel{font-size:13px;font-weight:700;fill:#334155}.dark .mt-fig-vlabel{fill:#e2e8f0}.mt-fig-alabel{font-size:12px;font-weight:700;fill:#b91c1c}.dark .mt-fig-alabel{fill:#fca5a5}.mt-fig-vertex{fill:#4f46e5}.dark .mt-fig-vertex{fill:#818cf8}.mt-fig-poly{fill:rgba(99,102,241,.13);stroke:#4f46e5;stroke-width:2.2}.dark .mt-fig-poly{fill:rgba(129,140,248,.16);stroke:#818cf8}.mt-fig-diag,.mt-geo-diag{fill:none;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:5 4}.dark .mt-fig-diag,.dark .mt-geo-diag{stroke:#64748b}.mt-fig-right{fill:none;stroke:#4f46e5;stroke-width:1.6}.dark .mt-fig-right{stroke:#818cf8}.mt-geo-drag-ray{stroke:#4f46e5;stroke-width:2.5}.dark .mt-geo-drag-ray{stroke:#818cf8}.mt-geo-arc{stroke:none}.mt-geo-arc-1{fill:rgba(79,70,229,.18)}.mt-geo-arc-2{fill:rgba(220,38,38,.14)}.dark .mt-geo-arc-1{fill:rgba(129,140,248,.25)}.dark .mt-geo-arc-2{fill:rgba(248,113,113,.2)}.mt-geo-target-ray{stroke:#059669;stroke-width:2;stroke-dasharray:5 4}.dark .mt-geo-target-ray{stroke:#34d399}.mt-geo-fixed-point{fill:#64748b;stroke:#fff;stroke-width:1.5}.dark .mt-geo-fixed-point{fill:#94a3b8;stroke:#0f172a}.mt-geo-success{color:#059669!important;font-weight:700;background:#ecfdf5;border-radius:.5rem;padding:.5rem .8rem}.dark .mt-geo-success{color:#34d399!important;background:#052e21}.mt-line-graph-line{fill:none;stroke:#4f46e5;stroke-width:2.5}.dark .mt-line-graph-line{stroke:#818cf8}.mt-streak-badge{position:sticky;top:.75rem;z-index:20;display:inline-block;margin-bottom:1rem;padding:.5rem 1rem;border-radius:999px;background:linear-gradient(90deg,#f59e0b,#ef4444);color:#fff;font-weight:800;font-size:.9rem;box-shadow:0 4px 12px rgba(239,68,68,.3);animation:mtPop .3s ease}.mt-fact-banner{margin-bottom:1.25rem;padding:.75rem 1rem;border-radius:.75rem;background:#fef3c7;color:#92400e;font-weight:600;font-size:.9rem;border:1px dashed #f59e0b;animation:mtPop .3s ease}.dark .mt-fact-banner{background:#451a03;color:#fcd34d}.mt-free-banner{background:#dcfce7;color:#14532d;border-color:#22c55e}.mt-free-banner a{text-decoration:underline;font-weight:700}.dark .mt-free-banner{background:#052e16;color:#86efac}.mt-gate-sample{margin-top:.5rem;font-weight:600}.mt-gate-sample a{text-decoration:underline}.mt-practice-prompt{font-weight:700;color:#4338ca;margin-bottom:.6rem;font-size:.95rem}.dark .mt-practice-prompt{color:#a5b4fc}.mt-choice-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:.75rem}.mt-choice-btn{padding:.6rem 1.1rem;border-radius:.75rem;border:2px solid #c7d2fe;background:#fff;font-weight:700;font-size:.95rem;cursor:pointer;transition:transform .15s ease}.dark .mt-choice-btn{background:#1e1b4b;border-color:#4338ca;color:#e0e7ff}.mt-choice-btn:hover{transform:translateY(-2px);border-color:#6366f1}.mt-choice-correct{background:#059669!important;border-color:#059669!important;color:#fff!important}.mt-choice-wrong{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}.mt-choice-hint{border-color:#059669!important;box-shadow:0 0 0 3px rgba(5,150,105,.25)}.mt-check-row{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:.75rem}.mt-check-input{width:6rem;text-align:center;border:2px solid #c7d2fe;border-radius:.5rem;padding:.4rem;font-weight:700;font-size:1rem}.dark .mt-check-input{background:#1e1b4b;border-color:#4338ca;color:#e0e7ff}.mt-check-field{display:flex;flex-direction:column;gap:.25rem;font-size:.78rem;font-weight:600;color:#6b7280}.mt-check-unit{font-weight:600;color:#6b7280}.mt-check-btn{background:#4338ca;color:#fff}.mt-check-btn:hover{background:#3730a3}.mt-feedback{font-weight:700;font-size:.95rem;padding:.5rem .8rem;border-radius:.5rem;margin:.5rem 0}.mt-feedback-correct{background:#ecfdf5;color:#059669}.dark .mt-feedback-correct{background:#052e21;color:#34d399}.mt-feedback-incorrect{background:#fef2f2;color:#dc2626}.dark .mt-feedback-incorrect{background:#450a0a;color:#f87171}.mt-hint-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.5rem}.mt-hint-btn{background:0 0;border:1px dashed #f59e0b;color:#b45309;padding:.5rem 1rem;border-radius:.6rem;font-weight:700;font-size:.85rem;cursor:pointer}.dark .mt-hint-btn{color:#fbbf24}.mt-hint-text{font-size:.88rem;color:#b45309;background:#fffbeb;border-radius:.5rem;padding:.5rem .8rem;margin:.5rem 0}.dark .mt-hint-text{background:#451a03;color:#fcd34d}.mt-celebrate{animation:mtCelebrate .5s ease}@keyframes mtPop{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@keyframes mtCelebrate{0%{transform:scale(1)}30%{transform:scale(1.03)}60%{transform:scale(.99)}100%{transform:scale(1)}}@media(max-width:640px){.mt-card{padding:1rem;margin-bottom:1rem;border-radius:.85rem}.mt-concept{padding:.9rem 1rem;margin-bottom:1rem;border-radius:.85rem}.mt-insight,.mt-motivate{padding:.75rem .85rem}.mt-statement{font-size:1rem;line-height:1.85;margin-bottom:.8rem;overflow-wrap:anywhere}.mt-var-row{display:flex;width:100%;gap:.35rem;margin-top:.55rem}.mt-var-input{width:3.5rem;max-width:100%;min-height:2.35rem;margin:0;padding:.2rem .3rem;font-size:1rem}select.mt-var-input{max-width:100%}.mt-tabs{gap:.35rem;margin-bottom:.75rem}.mt-tab{padding:.38rem .65rem;font-size:.8rem}.mt-steps{max-width:100%;margin-bottom:.8rem;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;padding-bottom:.15rem}.mt-step{font-size:.94rem;line-height:1.75;overflow-wrap:anywhere}.mt-step-detail{padding-left:.75rem;font-size:.92em}.mt-solution-head{gap:.5rem}.mt-solution-label{font-size:1rem}.mt-answer{display:block;max-width:100%;box-sizing:border-box;padding:.55rem .7rem;font-size:1rem;line-height:1.65;overflow-wrap:anywhere}.mt-actions{gap:.45rem;margin-top:.85rem}.mt-btn,.mt-show-answer-btn{min-height:2.5rem;padding:.5rem .75rem;font-size:.84rem}.mt-choice-row,.mt-check-row,.mt-hint-row{gap:.45rem}.mt-choice-btn{min-height:2.6rem;padding:.5rem .7rem;font-size:.9rem}.mt-check-input{width:5.25rem;min-height:2.5rem}.mt-stack-table,.mt-sqrt-table,.mt-tally{font-size:.9rem}.mt-stack-cell{padding:.18rem .55rem}.mt-sqrt-cell{padding:.12rem .4rem;letter-spacing:.04em}.mt-sqrt-quotient{padding:0 .55rem;font-size:1.1rem}.mt-tally th,.mt-tally td{padding:.18rem .38rem}.mt-proof-chain{font-size:.86rem;line-height:1.75}.mt-proof-line{align-items:flex-start;gap:.25rem}.mt-figure{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;padding-bottom:.15rem}.mt-geo-svg,.mt-pd-svg{max-width:100%}}article[data-book=physics-hsc] #mt-chapter-root[data-chapter-slug=chapter-1] :is(button,select,input:not([type]),input[type=text],input[type=number]):not(.mt-exp-input){min-height:44px;box-sizing:border-box}.mt-vector-symbol,:is(.mt-card,[data-learn-exam] [data-q],.mt-boardqa,.mt-boardqa-card,.mt-concept,.mt-step,#mt-chapter-root) .mt-vector-symbol{display:inline-block;position:relative;padding-top:.27em;line-height:1;white-space:nowrap}.mt-vector-raw,:is(.mt-card,[data-learn-exam] [data-q],.mt-boardqa,.mt-boardqa-card,.mt-concept,.mt-step,#mt-chapter-root) .mt-vector-raw{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mt-vector-symbol::before,:is(.mt-card,[data-learn-exam] [data-q],.mt-boardqa,.mt-boardqa-card,.mt-concept,.mt-step,#mt-chapter-root) .mt-vector-symbol::before{content:attr(data-vector-base)}.mt-vector-cross::before,:is(.mt-card,[data-learn-exam] [data-q],.mt-boardqa,.mt-boardqa-card,.mt-concept,.mt-step,#mt-chapter-root) .mt-vector-cross::before{content:none}.mt-vector-symbol::after,:is(.mt-card,[data-learn-exam] [data-q],.mt-boardqa,.mt-boardqa-card,.mt-concept,.mt-step,#mt-chapter-root) .mt-vector-symbol::after{content:"";position:absolute;top:.06em;left:.02em;right:.02em;height:.15em;background:currentColor;clip-path:polygon(0 40%,78% 40%,78% 0,100% 50%,78% 100%,78% 60%,0 60%)}:is(.mt-card,[data-learn-exam] [data-q]) svg text.mt-reviewed-svg-vector-text{font-family:cambria math,stix two math,dejavu sans,noto sans math,sans-serif}:is(.mt-card,[data-learn-exam] [data-q]) .mt-source-svg-redraw-caption{display:block;margin:.25rem 0 .5rem;font-size:.75rem;line-height:1.4}.mt-card.mt-reviewed-figure-choices .mt-choice-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr))}.mt-card.mt-reviewed-figure-choices .mt-choice-btn{display:flex;flex-direction:column;align-items:center;gap:.35rem;min-width:0;min-height:10rem;width:100%;padding:.5rem}.mt-card.mt-reviewed-figure-choices .mt-choice-btn svg{display:block;width:100%;max-width:150px;height:8rem;flex:none}.mt-card.mt-reviewed-figure-choices .mt-svg-choice-letter{align-self:flex-start}.mt-chapter .mt-boardqa-prerequisite-link>a,.mt-chapter .mt-boardqa-prereq-note>a,.mt-chapter .mt-boardqa-canonical-link>a,.mt-chapter .mt-prerequisite-sources li>a{display:block;box-sizing:border-box;min-height:44px;padding:.5rem 0}