/* Native MathML keeps formulas crisp, accessible and available offline. */
.exam-math{font-family:"STIX Two Math","Cambria Math","Latin Modern Math",math,serif;font-size:1.12em;line-height:normal;margin-inline:.12em;vertical-align:baseline;max-width:100%;color:inherit;overflow-x:auto;overflow-y:hidden;padding-block:.18em;scrollbar-width:thin}
.exam-math annotation{display:none}
.exam-display{display:block;max-width:100%;overflow-x:auto;text-align:center;margin:1rem 0;padding:.35rem .15rem}
.exam-display .exam-math{font-size:1.25em;math-style:normal}
.question,.mw-stem{font-size:clamp(18px,2.3vw,23px);font-weight:450;line-height:1.9;letter-spacing:0;overflow-wrap:anywhere}
.question .exam-math,.mw-stem .exam-math{math-style:normal}
.answers button,.mw-answers button{min-height:64px;line-height:1.6;padding:14px 16px;overflow-wrap:anywhere}
.answers button .exam-math,.mw-answers button .exam-math{font-size:1.2em;math-style:normal;max-width:100%}
.question-table td,.mw-table td{line-height:1.7}
.mw-feedback,.notice[data-exam-math],#academy-result,#math-result{line-height:1.85;overflow-wrap:anywhere}
.mw-feedback li,#academy-result li,#math-result li{padding-block:.35rem}
@media(max-width:600px){.answers,.mw-answers{gap:10px}.answers button,.mw-answers button{padding:12px 10px}.exam-math{font-size:1.08em}.question,.mw-stem{line-height:1.9}.exam-display{text-align:left}}
@media print{.exam-math{color:#000}.question,.mw-stem{font-size:12pt}}
.exam-input-preview{margin:12px 0;padding:12px 16px;background:rgba(155,131,255,.09);border:1px solid rgba(155,131,255,.35);border-radius:12px;line-height:1.9;overflow-wrap:anywhere}
.exam-input-preview small{display:block;color:var(--muted,#a5afc7);font-size:12px;margin-bottom:5px}
.exam-input-preview[hidden]{display:none}
