/* MathJax is rendered at build time; these rules also serve standalone previews. */
mjx-container.mym-math[jax="SVG"] {
  position: relative;
  direction: ltr;
  white-space: nowrap;
}
mjx-container.mym-math[jax="SVG"]:not([display]) { display: inline; }
mjx-container.mym-math[jax="SVG"][display] {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 1.25em 0;
  padding: .4em 2px .65em;
  text-align: center;
}
mjx-container.mym-math[jax="SVG"] > svg {
  display: inline-block;
  margin: 0;
  padding: 0;
  max-width: none;
  min-height: 1px;
  min-width: 1px;
  overflow: visible;
}
/* Keep MathML available to assistive technology without duplicating the visual equation. */
mjx-container.mym-math > mjx-assistive-mml {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  white-space: nowrap;
}
mjx-container.mym-math g[data-mml-node="mtable"] > line[data-line],
mjx-container.mym-math g[data-mml-node="mtable"] > rect[data-frame] { stroke-width: 70px; fill: none; }
mjx-container.mym-math g[data-mml-node="mtable"] > g > svg { overflow: visible; }
mjx-container.mym-math path[data-c] { stroke-width: 3; }
@media print {
  mjx-container.mym-math[jax="SVG"][display] { overflow: visible; break-inside: avoid; }
}

@media(max-width:620px){.formula mjx-container.mym-math[jax="SVG"]{min-width:0!important;overflow:visible}.formula mjx-container.mym-math[jax="SVG"]>svg{max-width:100%;height:auto!important}.table-wrap table:has(tr>th:nth-child(2):last-child){min-width:0}}
