/* Mathematical typography belongs to the same navy/sage/ochre book palette. */
.katex{font-size:1.06em;color:inherit;text-rendering:optimizeLegibility}
.katex-display{margin:.48em 0;overflow-x:auto;overflow-y:hidden;padding:.25em .12em;max-width:100%}
.katex-display>.katex{white-space:nowrap}
.equation-chip{display:block;min-width:0;max-width:100%;overflow-x:auto;padding:14px 18px;color:#203F56}
.equation-chip[hidden]{display:none}
.equation-chip .katex-display{margin:0;font-size:1.03em}
.control label .katex,.presets .katex,.legend-item .katex{font-size:1em}
.numeric .katex{font-size:1.03em}
.math{font-family:inherit!important;min-width:0;max-width:100%;overflow-x:auto}
.controls-column,#details,#steps,.visual-column{min-width:0}
.control[hidden]{display:none!important}
#details .math{color:#203F56;background:#f0f4f2;border-left:2px solid #B18C4D;padding:8px 10px;margin:12px 0}
#details .math .katex-display{font-size:.92em}
.math-error{font-family:Georgia,serif;color:#A53441}
@media(max-width:760px){.equation-chip{padding:12px 10px;font-size:.91rem}.katex-display{font-size:.95em}#details .math{padding:8px 6px}.figure-caption .katex{font-size:1em}}
