/* How LaTeX drawn by mathtex.js sits on a page (packs and dashboard). KaTeX's own CSS (vendor/katex/katex.min.css)
   comes first. One line = one line: math never wraps.
   Arabic (.rtl): the container is mirrored (.mtm), then every glyph leaf is turned back in place (.mtl). Leaves whose
   meaning is mirrored (< > <= >= brackets, arrows: .mtk) and the SVG / stretchy parts stay mirrored.
   Naskh and SheetLatin are the sheets' bundled fonts (printing/linefit.FACES); the dashboard falls back to its own. */
.mtex { white-space: nowrap; unicode-bidi: isolate; }
.mtex.rtl { display: inline-block; direction: ltr; }
.mtex .mtm { display: inline-block; transform: scaleX(-1); }
.mtex .mtl, .mtex .mtk { display: inline-block; line-height: 1; }
.mtex .mtl { transform: scaleX(-1); }
.mtex .mta { font-style: normal; }
.katex { direction: ltr; font-family: KaTeX_Main, Naskh, SheetLatin, 'Noto Naskh Arabic', 'Times New Roman', serif; }
