/* Research figures, tables and mathematics follow the existing reading theme. */
.article { min-width: 0; }
.prose figure { margin: 2em 0; }
.prose img { max-width: 100%; height: auto; vertical-align: middle; border-radius: 12px; }
.prose figure img { display: block; width: 100%; border: 1px solid var(--line); }
.prose figcaption { margin-top: 12px; color: var(--muted); font: 12px/1.9 var(--sans, sans-serif); text-align: center; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 2em 0; border: 1px solid var(--line); border-radius: 10px; }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.prose table { width: 100%; border-collapse: collapse; font: 13px/1.8 var(--sans, sans-serif); white-space: nowrap; }
.prose th, .prose td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--accent-light); color: var(--accent); font-weight: 500; }
.prose tr:last-child td { border-bottom: 0; }
.prose .math { letter-spacing: 0; }
.prose .math.block { max-width: 100%; overflow-x: auto; padding: 12px 2px; margin: 1.8em 0; }
.prose .katex { font-size: 1.08em; }
.prose .katex-display { margin: .5em 0; }
.prose .katex-display > .katex { white-space: nowrap; }
.prose ol { padding-left: 1.5em; }
@media (max-width: 600px) {
  .prose th, .prose td { padding: 11px 14px; }
  .prose table { font-size: 12px; }
}
