/* Evita que fórmulas longas alarguem os cartões ou a página no celular. */
.q-text, .option-text, .explain-text, [data-question-math] { min-width: 0; overflow-wrap: anywhere; }
.question-math-inline { display: inline-block; max-width: 100%; overflow-x: auto; overflow-y: hidden; vertical-align: middle; padding: .18em .05em; white-space: normal; scrollbar-width: none; -ms-overflow-style: none; }
.question-math-display { display: block; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: .25em 0; white-space: normal; scrollbar-width: none; -ms-overflow-style: none; }
.question-math-inline::-webkit-scrollbar, .question-math-display::-webkit-scrollbar { display: none; width: 0; height: 0; }
.question-math-display .katex-display { margin: .5em 0; }
.question-math-display .katex-display > .katex { min-width: min-content; text-align: center; }
.question-math-inline .katex, .question-math-display .katex { font-size: 1.08em; text-align: initial; }
.q-opts > li { min-width: 0; }
