/* Static, accessible equations. Reuse the site's pinned, same-origin KaTeX fonts. */
.formula-spec { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.formula-spec > div, .method article { min-width: 0; }
.atlas-math {
  min-width: 0;
  padding: 1rem .25rem 1.75rem;
  overflow-x: auto;
  line-height: 3.2;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: 0;
  scrollbar-width: thin;
  scrollbar-color: #777 #1b1b1b;
}
.atlas-sampling { font-size: 14px; }
.atlas-math .katex-display { margin: 0; text-align: left; }
.atlas-math .katex-display > .katex,
.atlas-math .katex-display > .katex > .katex-html {
  white-space: normal;
  text-align: left;
}
.atlas-math .katex-display > .katex > .katex-html { line-height: 2.4; }
.atlas-math:focus-visible { outline: 1px solid var(--acid); outline-offset: 3px; }
.atlas-math-hint, .method .atlas-math-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font: 10px/1.6 var(--sans);
}
.atlas-math-hint[hidden] { display: none; }
.method .atlas-math { margin-bottom: 1rem; }
@media (max-width: 980px) {
  .formula-spec { grid-template-columns: minmax(0, 1fr); }
  .formula-spec > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .formula-spec > div:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .formula-spec > div { padding: 16px; }
  .atlas-math { font-size: 15px; }
  .atlas-sampling { font-size: 13px; }
}
@media (max-width: 360px) {
  .atlas-equation { font-size: 14px; }
}
