.ma-wrap{--ma-L:#dba3f4;--ma-omega:#70d7ec;--ma-axis:#8b9eaf;--ma-velocity:#e4bc65;--ma-ball:#67d8ad;--ma-ball-light:#dcffef;--ma-ball-edge:#245e4b;--ma-hub:#7994aa;--ma-hub-side:#3a5268;--ma-rail:#678097}.ma-scene{display:block;width:100%;min-width:0;aspect-ratio:850/500;touch-action:none;cursor:grab;user-select:none}.ma-scene[data-dragging=true]{cursor:grabbing}.ma-mass-handle{cursor:ew-resize}.ma-scene text,.ma-plot text{fill:var(--text);font-family:system-ui,sans-serif;font-size:17px}.ma-scene .ma-small{font-size:14px;fill:var(--muted)}.ma-scene .ma-mass-label{font-size:16px}.ma-axis-label{fill:var(--ma-axis)!important}.ma-grid{fill:none;stroke:var(--line);stroke-width:1}.ma-reference{fill:none;stroke:var(--muted);stroke-width:1.5;stroke-dasharray:4 6;opacity:.7}.ma-orbit{fill:none;stroke:var(--ma-omega);stroke-width:1.5;opacity:.35}.ma-axis{fill:none;stroke:var(--ma-axis);stroke-width:1.5}.ma-rail{fill:none;stroke:var(--ma-rail);stroke-width:8;stroke-linecap:round}.ma-hub{fill:var(--ma-hub);stroke:var(--text);stroke-width:1}.ma-hub-side{fill:var(--ma-hub-side);stroke:var(--line)}.ma-L{fill:none;stroke:var(--ma-L);stroke-width:5}.ma-omega{fill:none;stroke:var(--ma-omega);stroke-width:4}.ma-velocity{fill:none;stroke:var(--ma-velocity);stroke-width:2.5}.ma-L-label{fill:var(--ma-L)!important;font-weight:700;font-size:24px!important}.ma-omega-label{fill:var(--ma-omega)!important;font-weight:700;font-size:24px!important}.ma-scene-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--bg)}.ma-caption{font-size:.83rem;line-height:1.6;color:var(--muted)}.ma-controls button{width:100%;margin:5px 0}.ma-readouts{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-readouts strong{font-variant-numeric:tabular-nums}.ma-plots{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ma-plots>div{min-width:0}.ma-plots h3{font-size:1rem}.ma-plot{display:block;width:100%;aspect-ratio:500/245}.ma-plot text{font-size:13px}.ma-equation{overflow:auto;padding:8px 0}.ma-equation .katex{font-size:1.07em}.ma-explanation{padding:16px;border-left:3px solid var(--ma-L);line-height:1.7;background:var(--panel)}.ma-timebar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0}.ma-timebar span{font-size:.86rem;color:var(--muted)}.ma-wrap [hidden]{display:none!important}.ma-wrap .optics-controls{width:auto}.ma-wrap .optics-intro{max-width:980px}
html[data-theme=light] .ma-wrap{--ma-L:#8941a7;--ma-omega:#087a95;--ma-axis:#607689;--ma-velocity:#96661d;--ma-ball:#26865f;--ma-ball-light:#dbffec;--ma-ball-edge:#135738;--ma-hub:#a1bbc9;--ma-hub-side:#68879a;--ma-rail:#6b8295}
@media(max-width:900px){.ma-plots{grid-template-columns:1fr}.ma-readouts{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-wrap .optics-toolbar{position:static}.ma-wrap .optics-intro h1{font-size:2rem}.ma-controls button{margin:0}.ma-controls p{grid-column:1/-1}}
