html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height, 80px) + 20px); }
html { scrollbar-gutter: stable; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: #65758a #edf1f5; scrollbar-width: auto; } }
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: #edf1f5; }
::-webkit-scrollbar-thumb { min-height: 48px; min-width: 48px; border: 3px solid #edf1f5; border-radius: 8px; background: #65758a; }
::-webkit-scrollbar-thumb:hover { background: #394b63; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.masthead {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding-block: 17px; border-bottom: 1px solid #e3ecf2;
  background: #fffffff2; color: #223347; backdrop-filter: blur(16px);
  box-shadow: 0 0 0 100vmax #fffffff2; clip-path: inset(0 -100vmax);
  font: 16px/1.6 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.masthead a { color: inherit; text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.masthead .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 23px; letter-spacing: -.05em; }
.masthead .brand-icon { width: 29px; height: 29px; flex: none; color: #223347; }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; color: #223347; }
.masthead nav a:hover, .masthead nav a[aria-current="page"] { color: #1769b1; text-decoration: underline; }
.masthead nav .nav-github { gap: 8px; padding: 7px 14px; border: 1.5px solid #223347; border-radius: 8px; box-shadow: 3px 4px 0 #2233471a; }
.masthead nav .nav-github:hover { text-decoration: none; background: #eef4fb; }
.gh-icon { width: 18px; height: 18px; flex: none; }
.masthead .link-icon { width: 16px; height: 16px; flex: none; }
.masthead a:focus-visible { outline: 3px solid #2a94fa; outline-offset: 4px; border-radius: 2px; }
.skip { position: fixed; left: 20px; top: -100px; padding: 8px 16px; background: #fff; z-index: 6; }
.skip:focus { top: 12px; }
@media (min-width: 641px) { html[data-help-embedded] .masthead { padding-right: 64px; } }
@media (max-width: 900px) {
  .masthead { gap: 18px; }
}
.nav-menu { display: none; }
@media (max-width: 720px) {
  html { --header-height: 61px; }
  .masthead { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .masthead nav { display: contents; }
  .masthead .brand { flex: none; }
  .masthead nav a:not(.nav-github) { display: none; order: 3; flex-basis: 100%; min-height: 44px; padding-inline: 2px; border-top: 1px solid #e3ecf2; font-size: 16px; }
  html[data-menu-open] .masthead nav a:not(.nav-github) { display: flex; }
  .masthead nav .nav-github { order: 2; min-height: 40px; padding: 5px 12px; font-size: 14px; }
  .nav-menu { order: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; max-width: 46%; min-height: 34px; margin-inline: auto; padding: 4px 10px 4px 14px; border: 0; border-radius: 999px; background: #233447; color: #fff; font: 600 13.5px/1.2 Inter, system-ui, -apple-system, sans-serif; cursor: pointer; }
  .nav-menu span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-menu svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
  html[data-menu-open] .nav-menu svg { transform: scaleY(-1); }
  .nav-menu:focus-visible { outline: 3px solid #2a94fa; outline-offset: 4px; }
}
@media (max-width: 440px) {
  .masthead nav .nav-github { padding-inline: 9px; }
  .masthead nav .nav-github .gh-label { display: none; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .masthead .brand { font-size: 21px; }
  .masthead .brand-icon { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .shell { width: 100%; }
  .masthead { position: static; box-shadow: none; }
  .masthead nav, .skip { display: none; }
}
