.article-math{display:flex;justify-content:center;max-width:100%;margin:1.5rem auto;padding:.8rem 1rem;overflow:visible;font-size:clamp(1.15rem,2.4vw,1.55rem);color:var(--article-ink,#10243d)}
.article-math--steps mtable{max-width:100%}.article-math--steps mtd{padding:.18em .2em}.formula-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.25rem 0}.formula-grid>div{display:flex;align-items:center;min-height:5rem;padding:1rem 1.25rem;box-sizing:border-box;border:1px solid #9ab5aa;border-radius:12px;background:#f1f7f4}.formula-grid .article-math{margin:auto}
.article-explorer{margin:2rem 0;padding:clamp(1rem,3vw,1.5rem);border:1px solid #7fa596;border-radius:18px;background:#f2f7f5;color:#10243d}.article-explorer-heading h2{margin:0 0 .5rem;color:#10243d}.article-explorer-heading p{margin:0 0 1.25rem;color:#27415e}.article-explorer-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(15rem,.8fr);gap:1.25rem;align-items:start}.article-explorer-stage{min-width:0}.article-explorer-stage svg{display:block;width:100%;height:auto;aspect-ratio:640/380;border:2px solid #557d6f;border-radius:16px;background:#e7f0ec}.article-explorer-result{min-height:3.25rem;margin-top:.75rem;padding:.8rem 1rem;border-left:5px solid #1f7a58;border-radius:8px;background:#dcece5;font-weight:700;line-height:1.55}.article-explorer-controls{display:grid;gap:1.2rem;padding:.5rem 0}.article-explorer-control{display:grid;gap:.55rem;font-weight:700}.article-explorer-control span{display:flex;justify-content:space-between;gap:1rem}.article-explorer-control output{font-variant-numeric:tabular-nums}.article-explorer-control input,.article-explorer-control select{width:100%;min-height:44px;accent-color:#1f7a58}.article-explorer-control select{padding:.55rem;border:1px solid #557d6f;border-radius:8px;background:#fff;color:#10243d}
.viz-bg{fill:#e7f0ec}.shape-fill{fill:#bad8cb;stroke:#183f34;stroke-width:4}.shape-emphasis{stroke:#175cab;stroke-width:6}.shape-line,.axis-line,.tick-line{stroke:#183f34;stroke-width:4;fill:none;stroke-linecap:round;stroke-linejoin:round}.axis-line{stroke-width:5}.tick-line{stroke-width:3}.measure-dash{stroke:#175cab;stroke-width:4;stroke-dasharray:9 7;fill:none}.hidden-edge{stroke:#557d6f;stroke-width:4;stroke-dasharray:9 7;fill:none;stroke-linecap:round}.accent-line{stroke:#175cab;stroke-width:7;stroke-linecap:round}.angle-line,.slant-line{stroke:#b65d13;stroke-width:4;fill:none}.slant-line{stroke-width:5}.prism-face{stroke:none}.prism-face--back{fill:#d6e8e0}.prism-face--side{fill:#91c2ad}.prism-face--side-alt{fill:#a7cebd}.prism-face--front{fill:#bad8cb}.viz-label{fill:#10243d;font:700 20px system-ui,sans-serif}.point{fill:#b65d13;stroke:#fff;stroke-width:3}.bar-positive{fill:#2a8565}.bar-negative{fill:#b65d13}
html.dark .article-math,body.dark-mode .article-math,[data-theme="dark"] .article-math{color:#eef7f3}
html.dark .article-explorer,body.dark-mode .article-explorer,[data-theme="dark"] .article-explorer{border-color:#6fae95;background:#102c25;color:#f3faf7}
html.dark .article-explorer .article-explorer-heading h2,html.dark .article-explorer .article-explorer-heading p,body.dark-mode .article-explorer .article-explorer-heading h2,body.dark-mode .article-explorer .article-explorer-heading p,[data-theme="dark"] .article-explorer .article-explorer-heading h2,[data-theme="dark"] .article-explorer .article-explorer-heading p{color:#f3faf7}
html.dark .article-explorer .article-explorer-stage svg,body.dark-mode .article-explorer .article-explorer-stage svg,[data-theme="dark"] .article-explorer .article-explorer-stage svg{border-color:#74a995;background:#17382f}
html.dark .article-explorer .article-explorer-result,body.dark-mode .article-explorer .article-explorer-result,[data-theme="dark"] .article-explorer .article-explorer-result{background:#194b3c;color:#fff}
html.dark .article-explorer .article-explorer-control select,body.dark-mode .article-explorer .article-explorer-control select,[data-theme="dark"] .article-explorer .article-explorer-control select{border-color:#78a895;background:#132f28;color:#fff}
html.dark .article-explorer .viz-bg,body.dark-mode .article-explorer .viz-bg,[data-theme="dark"] .article-explorer .viz-bg{fill:#17382f}
html.dark .article-explorer .shape-fill,body.dark-mode .article-explorer .shape-fill,[data-theme="dark"] .article-explorer .shape-fill{fill:#315f51;stroke:#d7eee5}
html.dark .article-explorer .shape-line,html.dark .article-explorer .axis-line,html.dark .article-explorer .tick-line,body.dark-mode .article-explorer .shape-line,body.dark-mode .article-explorer .axis-line,body.dark-mode .article-explorer .tick-line,[data-theme="dark"] .article-explorer .shape-line,[data-theme="dark"] .article-explorer .axis-line,[data-theme="dark"] .article-explorer .tick-line{stroke:#d7eee5}
html.dark .article-explorer .hidden-edge,body.dark-mode .article-explorer .hidden-edge,[data-theme="dark"] .article-explorer .hidden-edge{stroke:#8bbcac}
html.dark .article-explorer .prism-face--back,body.dark-mode .article-explorer .prism-face--back,[data-theme="dark"] .article-explorer .prism-face--back{fill:#244b40}
html.dark .article-explorer .prism-face--side,body.dark-mode .article-explorer .prism-face--side,[data-theme="dark"] .article-explorer .prism-face--side{fill:#39705f}
html.dark .article-explorer .prism-face--side-alt,body.dark-mode .article-explorer .prism-face--side-alt,[data-theme="dark"] .article-explorer .prism-face--side-alt{fill:#315f51}
html.dark .article-explorer .prism-face--front,body.dark-mode .article-explorer .prism-face--front,[data-theme="dark"] .article-explorer .prism-face--front{fill:#315f51}
html.dark .article-explorer .viz-label,body.dark-mode .article-explorer .viz-label,[data-theme="dark"] .article-explorer .viz-label{fill:#f7fbf9}
html.dark .formula-grid>div,body.dark-mode .formula-grid>div,[data-theme="dark"] .formula-grid>div{border-color:#557d6f;background:#17382f}
@media (max-width:760px){.article-explorer-layout{grid-template-columns:1fr}.article-explorer-stage svg{aspect-ratio:4/3}.formula-grid{grid-template-columns:1fr}}
@media (max-width:480px){.article-explorer{padding:.75rem}.article-math{font-size:1.05rem;padding:.65rem .25rem}.article-math--steps mtable{font-size:.92em}.viz-label{font-size:26px}.article-explorer-result{font-size:.95rem}}
@media (forced-colors:active){.article-explorer,.article-explorer-stage svg,.formula-grid>div{border:2px solid CanvasText}.shape-fill,.prism-face{fill:Canvas;stroke:CanvasText}.shape-line,.axis-line,.tick-line,.measure-dash,.hidden-edge,.accent-line,.angle-line,.slant-line{stroke:CanvasText}.viz-label{fill:CanvasText}}
