html.lenis { scroll-behavior: auto !important; }
/* Keep the document behind a modal stationary; its own contents scroll natively. */
body:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
