/* Documentation shell: independent navigation and content scroll on desktop. */
body.docs-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.docs-shell #page-header, .docs-shell #page-footer { flex: 0 0 auto; }
.docs-shell .docs-container {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
}
.docs-shell .docs-sidebar {
  flex: 0 0 280px;
  max-width: 30vw;
  min-height: 0;
  border-right: 1px solid #dfe5eb !important;
}
body.docs-shell .docs-sidebar-inner {
  position: static;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: .75rem .65rem 1.25rem;
}
.docs-shell .docs-content {
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  scroll-behavior: auto;
  scroll-padding-top: 24px;
  scrollbar-gutter: stable;
}
.docs-shell .docs-content::after { content: none; }
.docs-shell .docs-content :is(h3,h4,h5)[id] { scroll-margin-top: 24px; }
/* Group labels are distinct from links. All topic links use the same scale. */
.docs-shell .docs-sidebar-inner > h5 { margin: .25rem .55rem .75rem; font-size: 1rem; }
.docs-shell .docs-sidebar .docs-section {
  margin: 1.1rem .5rem .35rem;
  padding-top: .85rem;
  border-top: 1px solid #dfe5eb;
  color: #647180;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.4;
  text-transform: uppercase;
}
.docs-shell .docs-sidebar a[data-page] {
  display: block;
  margin: .1rem 0;
  padding: .4rem .55rem;
  border-radius: .35rem;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.45;
  color: #344b63;
  text-decoration: none;
}
.docs-shell .docs-sidebar a[data-page].active { background: #e3edf6; color: #234f78; font-weight: 600; }
.docs-shell .docs-sidebar a:hover { background: #edf1f5; }
.docs-shell .docs-sub-generated {
  margin: .2rem .1rem .75rem .65rem;
  padding-left: .5rem;
  border-left: 1px solid #d7e0e8;
}
.docs-shell .docs-sub a {
  padding: .3rem .45rem;
  border-radius: .3rem;
  color: #506176;
  font-size: .83rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}
.docs-shell .docs-sub .sub-level-1 { margin-left: 0; }
.docs-shell .docs-sub .sub-level-2 { margin-left: .7rem; }
.docs-shell .docs-sub a.active-sub { background: #e9eff5; color: #234f78; font-weight: 600; }
.docs-shell .docs-sidebar a:focus-visible { outline: 2px solid #567ea4; outline-offset: 1px; }
.docs-shell .docs-content [tabindex="-1"]:focus { outline: none; }
@media (max-width: 800px) {
  body.docs-shell { display: block; height: auto; min-height: 100dvh; overflow: auto; }
  .docs-shell .docs-container { display: block; overflow: visible; padding-bottom: 2rem; }
  .docs-shell .docs-sidebar { max-width: none; width: 100%; border-right: 0 !important; }
  body.docs-shell .docs-sidebar-inner { height: auto; max-height: 38vh; max-height: 38dvh; overflow-y: auto; }
  .docs-shell .docs-content { height: auto; overflow: visible; }
}
