/* v0.88: mobile drawer behaves as an accessible modal navigation surface.
   Keep page scrolling frozen while the independently scrollable drawer is open. */
@media (max-width: 830px) {
  html:has(#site-sidebar[aria-modal="true"]) { overflow: hidden; }
  #site-sidebar[aria-modal="true"] {
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
