/* Math presentation only; inherits the host application's colours. */
.math-inline, .math-display { position: relative; text-transform: none; letter-spacing: normal; }
.math-display { display: block; margin: 1rem 0; overflow-x: auto; text-align: center; }
.math-inline { white-space: nowrap; }
.math-inline .katex, .math-display .katex { white-space: normal; }
.math-error { color: var(--ink-muted, #777); font-size: 0.9em; white-space: normal; }
.math-error code { overflow-wrap: anywhere; white-space: pre-wrap; }
.msg-body pre { overflow-x: auto; white-space: pre; }
