/* When the docs are embedded in an iframe, mkdocs' JS-driven sidebar
   height calculation can resolve to ~0, leaving the nav uncontained
   and unscrollable. Force the sticky sidebars to fill the viewport
   so their internal scrollwrap (overflow-y: auto) actually scrolls. */
.md-sidebar--primary,
.md-sidebar--secondary {
  height: calc(100vh - 3.6rem) !important;
}
.md-sidebar__scrollwrap {
  max-height: 100% !important;
  overflow-y: auto !important;
}

/* The docs theme is driven by the dashboard (see js/theme-sync.js), so hide the palette
   toggle that the configured light/dark schemes would otherwise render in the header. */
[data-md-component="palette"] {
  display: none !important;
}
