/* Typography follows Multidensity Fusion; Bento owns navigation and scaling. */
.math-tex { position: relative; white-space: nowrap; letter-spacing: 0; }
.math-inline { display: inline-block; vertical-align: -.14em; line-height: 1; }
.math-display { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; line-height: 1; }
.math-tex mjx-container { color: inherit !important; margin: 0 !important; }
.math-inline mjx-container { display: inline-block !important; }
.math-display mjx-container[display="true"] { display: block !important; width: 100%; margin: 0 !important; text-align: center; }
.math-tex mjx-container[jax="SVG"] > svg { overflow: visible; }
.math-display mjx-container[jax="SVG"] > svg { max-width: 100%; max-height: 100%; width: auto; height: auto; }
mjx-assistive-mml {
  position: absolute !important; top: 0 !important; left: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important; clip-path: inset(50%) !important;
  padding: 0 !important; border: 0 !important; display: block !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important; white-space: nowrap !important;
}
@media (prefers-reduced-motion: reduce) {
  .bento-slide * { animation: none !important; transition: none !important; }
}
/* ?print-pdf is a dedicated static layout, including its screen preview.
   Head.html prevents the runtime from putting this layout in fullscreen. */
html.print-pdf, html.print-pdf body {
  height: auto !important;
  overflow: visible !important;
}
html.print-pdf .bento-present-overlay {
  display: block !important;
  position: static !important;
  width: 1280px !important;
  height: auto !important;
}
html.print-pdf .bento-present-overlay .reveal { overflow: visible !important; }
html.print-pdf #app, html.print-pdf #bento-splash, html.print-pdf .ed-toast,
html.print-pdf .companion-demo-stage, html.print-pdf .companion-demo-source { display: none !important; }
html.print-pdf .companion-demo-slide > .bento-el { visibility: visible !important; }
