/* Keep documentation tools below the shared site navigation. */
.public-guide-page { --site-header-height: 78px; }
.public-guide-page .site-header, .public-guide-page .modern-footer { font-size: 16px; line-height: normal; }
.public-guide-page .guide-header { top: var(--site-header-height); }
.public-guide-page .guide-sidebar, .public-guide-page .guide-toc { top: calc(var(--site-header-height) + var(--guide-header)); max-height: calc(100dvh - var(--site-header-height) - var(--guide-header)); }
.public-guide-page .guide-sidebar { height: calc(100dvh - var(--site-header-height) - var(--guide-header)); }
.public-guide-page .guide-intro, .public-guide-page .guide-section, .public-guide-page .guide-chapter-header { scroll-margin-top: calc(var(--site-header-height) + var(--guide-header) + 24px); }
.public-guide-page .guide-brand-group { min-width: auto; }
.public-guide-page .guide-main { min-width: 0; }
@media (max-width: 760px) {
  .public-guide-page .guide-sidebar { top: 0; height: 100dvh; max-height: none; z-index: 91; }
  .public-guide-page .guide-sidebar-backdrop { z-index: 90; }
  .public-guide-page .guide-search-results { top: calc(var(--site-header-height) + var(--guide-header) + 8px); }
}
@media (max-width: 640px) { .public-guide-page { --site-header-height: 68px; } }
@media print {
  .public-guide-page .status-bar, .public-guide-page .site-header, .public-guide-page .modern-footer, .public-guide-page .skip-link, .public-guide-page .mega-overlay { display: none !important; }
}
