/* Minimal overrides on top of latex.css (Computer Modern, paper look). */

/* force a true-white page so the white-background figures blend in
   (latex.css defaults to a faint blue-grey, and we never want dark mode) */
:root { --body-bg-color: #fff; }

body { max-width: 760px; }

/* acknowledgments: smaller text, tighter leading */
p.ack { font-size: 0.8rem; line-height: 1.3; color: #333; }

/* underline for emphasised key phrases */
u { text-decoration-thickness: 1px; text-underline-offset: 2px; }

header.paper { text-align: center; margin: 1.5rem 0 2.5rem; }
header.paper h1 { margin-bottom: 0.4rem; line-height: 1.2; }
header.paper .subtitle { font-style: italic; color: #333; margin: 0 0 1rem; font-size: 1.25rem; }
.authors { margin: 0.3rem 0; }
.affil { font-size: 0.9rem; color: #444; margin: 0.3rem 0 1rem; }
.links { font-size: 0.95rem; }
.links a { margin: 0 0.35rem; white-space: nowrap; }

figure { text-align: center; margin: 1.6rem 0; }
figure img { max-width: 100%; height: auto; background: #fff; }
figcaption { font-size: 0.85rem; color: #333; text-align: left; margin-top: 0.5rem; }

table { font-size: 0.9rem; }
caption { font-size: 0.82rem; color: #333; caption-side: top; text-align: left; margin-bottom: 0.4rem; }

/* keep equations from overflowing on narrow screens */
mjx-container { overflow-x: auto; overflow-y: hidden; max-width: 100%; }
