@font-face{font-family:Calculator Math;src:url('/assets/fonts/dejavu-math-tex-gyre.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
.calc-math{font-family:Calculator Math,STIX Two Math,Cambria Math,math;font-size:1.04em;color:inherit;line-height:1.5;font-weight:400;white-space:normal}
.calc-math--display{display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:.55em .15em;margin:.7em 0;text-align:left;math-style:normal}
.calculator-workspace [class*="formula"]{font-family:inherit;line-height:1.8;font-weight:400;overflow-x:auto;max-width:100%}
/* A single symbol keeps native inline baselines. Compound inline expressions
   form their own bounded scroll box instead of widening a mobile article. */
.calc-math:not(.calc-math--display):has(>mrow>:nth-child(2)),
.calc-math:not(.calc-math--display):has(mfrac,msqrt,mroot,mtable){display:inline-block;box-sizing:border-box;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;padding-block:.08em}
.calculator-workspace [class*="reading"] :is(p,li){line-height:1.85}
@media(max-width:600px){.calc-math--display{font-size:1em;padding-block:.7em}}
.calc-math--display:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
