/* Loaded after the book theme, including its original 48px site-bar offsets. */
:root { --docs-site-height: 126px; }
body { padding-top: var(--docs-site-height) !important; }
#site-nav { display: none !important; }
#docs-site-header { position: fixed; inset: 0 0 auto; z-index: 10000; background: rgba(10,10,10,.97); color: #e0e0e0; border-bottom: 1px solid #1e1e1e; font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; line-height: 1.6; }
#sitenav { box-sizing: border-box; max-width: 1128px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 16px; }
#sitenav .wm { display: flex; align-items: center; gap: 10px; color: #f0f0f0; font-size: 20px; font-weight: 600; white-space: nowrap; }
#sitenav img { width: 42px; height: 42px; flex-shrink: 0; }
#sitenav .nav-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
#sitenav a { color: #b0b0b0; text-decoration: none; font-size: 16px; }
#sitenav a:hover { color: #f0f0f0; text-decoration: underline; }
#sitenav a[aria-current] { color: #38bdf8; text-decoration: underline; text-underline-offset: 6px; }
#sitenav .cta-sm { color: #38bdf8; border: 1px solid #38bdf8; border-radius: 9999px; padding: 6px 18px; font-size: 15px; }
#docs-site-header :focus-visible { outline: 2px solid #38bdf8; outline-offset: 4px; }
.docs-version-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 24px; max-width: 1080px; margin: auto; border-top: 1px solid #1e1e1e; font-size: 14px; }
#docs-version { max-width: 100%; padding: 5px 8px; border: 1px solid #3a3a3a; border-radius: 4px; background: #141414; color: #f0f0f0; font: inherit; }
#docs-version-help { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sidebar { top: var(--docs-site-height) !important; height: calc(100vh - var(--docs-site-height)) !important; }
body .menu-bar.sticky, body #menu-bar.sticky, body #mdbook-menu-bar.sticky,
body #mdbook-menu-bar-hover-placeholder:hover + #mdbook-menu-bar,
body #mdbook-menu-bar:hover, html.sidebar-visible body #mdbook-menu-bar,
body #menu-bar-hover-placeholder, body #mdbook-menu-bar-hover-placeholder { top: var(--docs-site-height) !important; }
.content main [id] { scroll-margin-top: calc(var(--docs-site-height) + var(--menu-bar-height, 50px) + 12px); }
@media(max-width:900px) {
  :root { --docs-site-height: 168px; }
  #sitenav { flex-wrap: wrap; gap: 8px; }
  #sitenav .nav-right { width: 100%; gap: 8px 20px; justify-content: flex-start; }
}
@media(max-width:599px) {
  :root { --docs-site-height: 206px; }
  #sitenav { padding: 12px 16px; }
  #sitenav .wm { font-size: 18px; }
  #sitenav img { width: 32px; height: 32px; }
  #sitenav .nav-right { gap: 8px 16px; }
  #sitenav a { font-size: 14px; }
  .docs-version-bar { padding: 8px 16px; }
}
@media print {
  #docs-site-header { display: none; }
  body { padding-top: 0 !important; }
}
