/* Fixed viewport shell: navigation never participates in content scrolling. */
html, body { height:100%; overflow:hidden; overscroll-behavior:none; }
body { height:100dvh; display:flex; flex-direction:column; }
body > header { position:relative; flex:none; }
body > #app { flex:1 1 0; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
body > #app > .container { min-height:100%; }
body > footer, body.api-overview > footer { flex:none; width:calc(100% - 72px); margin:0 auto; padding-block:16px; }
.doc-content section { scroll-margin-top:24px; }
@media(min-width:981px) {
  .doc-nav { top:0; height:auto; max-height:calc(100dvh - 230px); }
}
@media(max-width:560px) {
  body > footer, body.api-overview > footer { width:calc(100% - 36px); gap:12px; padding-block:10px; }
  body > footer .brand { font-size:15px; }
  body > footer .brand-mark, body > footer .brand-mark img { width:24px; height:24px; }
}
