.imo-reader{max-width:960px;margin:auto;padding:2rem 1rem 5rem}.imo-gate{padding:3rem 1.5rem;text-align:center;border:1px solid #cbd5e1;border-radius:1.5rem}.imo-gate h2{font-size:1.5rem;font-weight:800;margin:.75rem 0}.imo-gate p{margin:.75rem auto 1.5rem;max-width:36rem}.imo-eyebrow{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#4f46e5}.imo-question-nav{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0}.imo-question-nav a{padding:.55rem .85rem;border:1px solid #cbd5e1;border-radius:.65rem;font-weight:700}.imo-question-nav [data-progress-count]{margin-left:auto;font-size:.8rem;color:#64748b}.imo-problem{padding:clamp(1rem,3vw,2rem);margin:1.8rem 0;border:1px solid #dbe2ea;border-radius:1.3rem;background:#fff;scroll-margin-top:6rem}.imo-problem-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem}.imo-problem h2{font-size:clamp(1.2rem,3vw,1.7rem);line-height:1.3;font-weight:800;margin-top:.4rem}.imo-permalink{align-self:start;color:#64748b;font-weight:700}.imo-statement{font-size:1.07rem;line-height:1.95;overflow-wrap:anywhere}.imo-problem math{font-size:1.12em}.imo-problem math[display=block]{display:block;overflow-x:auto;padding:.8rem 0;text-align:center}.imo-prerequisites{font-size:.83rem;color:#64748b;margin:1rem 0}.imo-problem summary{cursor:pointer;padding:.9rem .2rem;font-weight:700;line-height:1.5}.imo-problem details{border-top:1px solid #e2e8f0;margin-top:.7rem}.imo-problem details p{line-height:1.9;margin:.5rem 0 1rem}.imo-hints{display:grid;gap:.4rem;margin-top:1rem}.imo-hints details{background:#f8fafc;padding:0 .8rem;border:1px solid #e2e8f0;border-radius:.65rem;margin:0}.imo-proof{counter-reset:step;margin:.5rem 0 1.2rem;list-style:none;padding:0}.imo-proof>li{position:relative;padding:.7rem .3rem .7rem 2.7rem;line-height:1.95;counter-increment:step}.imo-proof>li:before{content:counter(step);position:absolute;left:0;top:.85rem;background:#eef2ff;color:#4338ca;border-radius:50%;width:1.8rem;height:1.8rem;text-align:center;line-height:1.8rem;font-size:.8rem;font-weight:800}.imo-proof>li[hidden]{display:none}.imo-proof-controls,.imo-lab-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.imo-proof-controls button,.imo-lab-actions button,.imo-study-state button{border:1px solid #cbd5e1;padding:.55rem .8rem;border-radius:.6rem;font-size:.82rem;font-weight:650;min-height:44px}.imo-proof-controls button:disabled{opacity:.4;cursor:default}.imo-proof-controls [data-step-label]{font-size:.8rem;color:#64748b}.imo-insight{margin:1.2rem 0;padding:1rem 1.2rem;background:#ecfdf5;border-left:3px solid #10b981;border-radius:.5rem}.imo-insight h3{font-weight:800;margin-bottom:.5rem}.imo-insight p{line-height:1.9}.imo-mistakes ul{list-style:disc;padding:0 1.5rem 1rem;line-height:1.9}.imo-note,.imo-coverage-note{font-size:.8rem;color:#64748b;line-height:1.6;margin:1rem 0}.imo-coverage-note{padding:.8rem;background:#f8fafc;border-radius:.6rem}.imo-study-state{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;border-top:1px solid #e2e8f0;margin-top:1.4rem;padding-top:1rem;font-size:.8rem}.imo-study-state label{display:flex;gap:.5rem;align-items:center}.imo-study-state select{background:0 0;border:1px solid #cbd5e1;padding:.5rem;border-radius:.6rem;min-height:44px}.imo-study-state [data-save-status]{color:#64748b}.imo-study-state [aria-pressed=true]{color:#4338ca;background:#eef2ff}.imo-source{margin:1rem 0}.imo-source figcaption{font-size:.7rem;font-weight:700;letter-spacing:.02em;color:#64748b;margin-bottom:.5rem}.imo-source figcaption span{font-weight:400}.imo-source-scroll{overflow-x:auto;background:#fff;border-radius:.5rem;border:1px solid #e2e8f0;padding:.7rem}.imo-source img{display:block;max-width:100%;height:auto;background:#fff}.imo-lab{margin:1.5rem 0;padding:clamp(1rem,2.5vw,1.5rem);background:#f8faff;border:1px solid #c7d2fe;border-radius:1rem}.imo-lab-head{display:flex;justify-content:space-between;align-items:start;gap:1rem}.imo-lab h3{font-size:1.1rem;font-weight:800;margin:.3rem 0}.imo-lab-head p{font-size:.85rem;line-height:1.7;color:#475569;max-width:38rem}.imo-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin:1.2rem 0}.imo-control{display:grid;grid-template-columns:1fr 5.5rem;gap:.5rem;align-items:center}.imo-control label{font-size:.8rem;font-weight:650}.imo-control input[type=number]{width:100%;padding:.5rem;border:1px solid #cbd5e1;border-radius:.5rem;background:#fff;color:#0f172a}.imo-control input[type=range]{grid-column:1/-1;width:100%;accent-color:#4f46e5;min-height:30px}.imo-diagram{width:100%;height:auto;background:#fff;border:1px solid #e2e8f0;border-radius:.7rem;touch-action:pan-y}.imo-diagram:has(.imo-drag-point){touch-action:none}.imo-drag-point{cursor:grab;outline:none}.imo-drag-point:focus{stroke:#f59e0b;stroke-width:4}.imo-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.6rem;margin:1rem 0}.imo-metrics>div{padding:.8rem;border-radius:.6rem;background:#fff;border:1px solid #e2e8f0}.imo-metrics dt{font-size:.7rem;color:#64748b;line-height:1.5}.imo-metrics dd{font-size:1.2rem;font-weight:800;color:#4338ca;margin-top:.3rem;font-variant-numeric:tabular-nums}.imo-live-steps{list-style:decimal;padding-left:1.3rem;font-size:.87rem;line-height:1.9}.imo-lab-note{font-size:.73rem;color:#64748b;line-height:1.6;margin-top:1rem}.imo-lab-error{background:#fff7ed;color:#9a3412;border:1px solid #fdba74;border-radius:.6rem;padding:.8rem;margin:1rem 0}.imo-legend{display:flex;gap:1rem;flex-wrap:wrap;font-size:.75rem;margin:.5rem 0}.imo-year-tools{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap;margin:1.5rem 0}.imo-year-tools label{display:grid;gap:.35rem;font-size:.8rem;font-weight:700}.imo-year-tools input,.imo-year-tools select{padding:.7rem 1rem;border:1px solid #cbd5e1;border-radius:.7rem;background:0 0}.imo-year-tools [data-year-count]{font-size:.8rem;color:#64748b;padding:.7rem}.imo-year-card[hidden]{display:none}.imo-lab [hidden],.imo-reader [hidden]{display:none!important}.imo-math-error{color:#b91c1c}.dark .imo-problem{background:#0f172a;border-color:#334155}.dark .imo-problem details,.dark .imo-study-state{border-color:#334155}.dark .imo-lab{background:#172033;border-color:#373f77}.dark .imo-lab-head p,.dark .imo-prerequisites,.dark .imo-note,.dark .imo-coverage-note{color:#cbd5e1}.dark .imo-hints details,.dark .imo-coverage-note{background:#172033;border-color:#334155}.dark .imo-eyebrow{color:#a5b4fc}.dark .imo-insight{background:#063b32}.dark .imo-metrics>div{background:#0f172a;border-color:#334155}.dark .imo-metrics dd{color:#a5b4fc}.dark .imo-study-state select option{background:#0f172a}.dark .imo-proof>li:before{background:#312e81;color:#e0e7ff}@media(max-width:600px){.imo-lab-head{display:block}.imo-lab-actions{margin-top:.7rem}.imo-question-nav [data-progress-count]{width:100%;margin:0}.imo-source img{max-width:none;min-width:100%;width:700px}.imo-source-scroll{padding:.4rem}.imo-study-state{gap:.6rem}.imo-study-state label{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.imo-reader *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media print{.imo-controls,.imo-lab-actions,.imo-study-state,.imo-proof-controls{display:none}.imo-problem{break-inside:avoid}.imo-source img{max-width:100%;width:auto}}.imo-edge-control{cursor:pointer;outline:none}.imo-edge-control:focus-visible{stroke-width:9;filter:drop-shadow(0 0 2px #0f172a)}.imo-problem .katex{display:inline-block;max-width:100%;overflow-x:auto;vertical-align:middle;padding:.15em 0}.imo-problem .katex math{white-space:nowrap}.imo-metrics>div{min-width:0}.imo-metrics dd{margin-left:0;overflow-wrap:anywhere}.imo-proof,.imo-note,.imo-insight{overflow-wrap:anywhere}