/* Versatile POD Studio Help Centre
   One stylesheet, no external fonts or libraries. Colours are tokens on :root. */

:root {
  --bg: #fbf9f6;
  --surface: #ffffff;
  --surface-2: #f4f0ea;
  --ink: #1d1a17;
  --ink-2: #4a443e;
  --muted: #716a62;
  --rule: #e6e0d7;
  --rule-strong: #d6cec2;
  --accent: #2f5b4c;
  --accent-ink: #ffffff;
  --accent-soft: #e7efeb;
  --link: #2a5546;
  --focus: #2f5b4c;
  --warn: #8a5a12;
  --warn-soft: #fbf2e1;
  --warn-rule: #ead3a6;
  --pending: #5a4a86;
  --pending-soft: #f0edf8;
  --pending-rule: #d7cfee;
  --code-bg: #f3efe8;
  --mark: #f6e7b8;
  --shadow: 0 1px 2px rgba(29, 26, 23, .05), 0 8px 24px rgba(29, 26, 23, .06);
  --shadow-lg: 0 24px 64px rgba(29, 26, 23, .18);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --topbar-h: 64px;
  --radius: 10px;
  --radius-sm: 6px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --surface: #1e1b18;
    --surface-2: #24211d;
    --ink: #f1ece5;
    --ink-2: #d2cbc1;
    --muted: #a39b90;
    --rule: #34302b;
    --rule-strong: #47413a;
    --accent: #8cc2ad;
    --accent-ink: #10201a;
    --accent-soft: #1f2c27;
    --link: #9fd0bd;
    --focus: #9fd0bd;
    --warn: #e6bd73;
    --warn-soft: #2a2215;
    --warn-rule: #4d3d20;
    --pending: #c2b5ee;
    --pending-soft: #231f30;
    --pending-rule: #3e3657;
    --code-bg: #262320;
    --mark: #5a4a1a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, .5);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--accent-soft); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
kbd {
  font: 500 12px/1 var(--mono); color: var(--muted);
  border: 1px solid var(--rule-strong); border-bottom-width: 2px; border-radius: 4px;
  padding: 3px 6px; background: var(--surface);
}

/* ---------- preview bar ---------- */
.preview-bar {
  background: var(--pending-soft); color: var(--pending); border-bottom: 1px solid var(--pending-rule);
  font-size: 14px; text-align: center; padding: 8px 16px;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .topbar { background: var(--bg); } }
.topbar__inner {
  height: var(--topbar-h); max-width: 1440px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
}
.topbar__menu {
  display: none; background: none; border: 0; color: var(--ink); padding: 8px; margin-left: -8px;
  border-radius: var(--radius-sm); cursor: pointer;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__name { font: 600 19px/1.1 var(--serif); letter-spacing: .005em; white-space: nowrap; }
.brand__tag {
  font-size: 13px; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--rule-strong);
  white-space: nowrap;
}
.search-trigger {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
  min-width: 260px; height: 40px; padding: 0 10px 0 12px;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--rule); border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.search-trigger:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.search-trigger__label { flex: 1; }
.version-pill {
  font: 500 13px/1 var(--mono); color: var(--ink-2); text-decoration: none;
  padding: 7px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface);
}
.version-pill:hover { border-color: var(--rule-strong); }

/* ---------- layout ---------- */
.layout {
  max-width: 1440px; margin: 0 auto; padding: 0 24px;
  display: grid; gap: 56px;
  grid-template-columns: 248px minmax(0, 1fr);
}
.layout--toc { grid-template-columns: 248px minmax(0, 1fr) 208px; }
.content { min-width: 0; padding: 48px 0 32px; outline: none; }
.prose { max-width: 740px; }
.page-home .prose { max-width: 960px; }

/* ---------- side navigation ---------- */
.sidenav {
  position: sticky; top: var(--topbar-h); align-self: start;
  max-height: calc(100vh - var(--topbar-h)); overflow-y: auto;
  padding: 40px 4px 32px 0; font-size: 14.5px;
}
.sidenav__head { display: none; }
.sidenav__list, .sidenav__sub { list-style: none; margin: 0; padding: 0; }
.sidenav__item + .sidenav__item { margin-top: 2px; }
.sidenav__link {
  display: block; padding: 7px 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-weight: 500;
}
.sidenav__link:hover { background: var(--surface-2); color: var(--ink); }
.sidenav__item.is-current > .sidenav__link { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.sidenav__sub { display: none; margin: 4px 0 10px 12px; border-left: 1px solid var(--rule); }
.sidenav__item.is-current .sidenav__sub { display: block; }
.sidenav__sub a {
  display: block; padding: 5px 12px; margin-left: -1px; border-left: 1px solid transparent;
  color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4;
}
.sidenav__sub a:hover { color: var(--ink); border-left-color: var(--rule-strong); }
.sidenav__sub a.is-active { color: var(--accent); border-left-color: var(--accent); }
.sidenav__foot { margin-top: 24px; padding: 16px 12px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.sidenav__foot a { color: var(--muted); }

/* ---------- on this page ---------- */
.toc {
  position: sticky; top: var(--topbar-h); align-self: start;
  max-height: calc(100vh - var(--topbar-h)); overflow-y: auto;
  padding: 48px 0 32px; font-size: 13.5px;
}
.toc__title { margin: 0 0 10px; font-weight: 600; color: var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a {
  display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent;
  color: var(--muted); text-decoration: none; line-height: 1.4;
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--accent); border-left-color: var(--accent); }

/* ---------- typography ---------- */
.prose > :first-child { margin-top: 0; }
.eyebrow {
  margin: 0 0 12px; color: var(--accent); font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.prose h1 {
  font: 500 clamp(34px, 4.4vw, 46px)/1.1 var(--serif); letter-spacing: -.012em;
  margin: 0 0 16px; text-wrap: balance;
}
.prose h2 {
  font: 500 28px/1.2 var(--serif); letter-spacing: -.005em;
  margin: 64px 0 16px; padding-top: 28px; border-top: 1px solid var(--rule);
  text-wrap: balance;
}
.prose h3 { font: 600 18.5px/1.35 var(--sans); margin: 36px 0 10px; }
.prose h4 { font: 600 16px/1.4 var(--sans); margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 6px; }
.prose li > ul, .prose li > ol { margin: 6px 0 0; }
.prose strong { font-weight: 650; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 640px; margin-bottom: 28px !important; }
.prose code {
  font: .88em/1.4 var(--mono); background: var(--code-bg); padding: .15em .4em; border-radius: 4px;
  overflow-wrap: anywhere;
}
.prose pre {
  font: 14px/1.6 var(--mono); background: var(--code-bg); padding: 16px 18px; border-radius: var(--radius-sm);
  overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--rule);
}
.prose pre code { background: none; padding: 0; font-size: inherit; }
.heading-anchor {
  margin-left: .4em; color: var(--rule-strong); text-decoration: none; font-weight: 400;
  opacity: 0; transition: opacity .15s;
}
h2:hover .heading-anchor, h3:hover .heading-anchor, .heading-anchor:focus { opacity: 1; }
.heading-anchor:hover { color: var(--accent); }

/* steps & menus written as "A → B" */
.path { font-weight: 600; color: var(--ink); white-space: normal; }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--surface);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.prose th { font-weight: 600; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- callouts & badges ---------- */
.callout {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  margin: 24px 0; padding: 16px 18px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-size: 15px;
}
.callout > svg { color: var(--accent); margin-top: 2px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout__title { display: block; font-weight: 650; margin-bottom: 4px; color: var(--ink); }
.callout--important { background: var(--warn-soft); border-color: var(--warn-rule); }
.callout--important > svg { color: var(--warn); }
.callout--pending { background: var(--pending-soft); border-color: var(--pending-rule); }
.callout--pending > svg { color: var(--pending); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font: 600 11.5px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 999px; white-space: nowrap;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--rule);
}
.badge--pending { background: var(--pending-soft); color: var(--pending); border-color: var(--pending-rule); }
.badge--manual { background: var(--warn-soft); color: var(--warn); border-color: var(--warn-rule); }
.badge--ok { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }

/* ---------- step lists ---------- */
.steps { list-style: none; padding: 0 !important; counter-reset: step; margin: 20px 0 24px !important; }
.steps > li {
  position: relative; counter-increment: step; padding: 0 0 18px 48px; margin: 0 !important;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 14px/1 var(--sans); color: var(--accent); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.steps > li::after {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--rule);
}
.steps > li:last-child::after { display: none; }
.steps > li > strong:first-child { display: block; margin-bottom: 2px; }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border: 1.5px solid var(--rule-strong); border-radius: 5px; background: var(--surface);
}

/* ---------- definition rows (FAQ) ---------- */
.faq { border-top: 1px solid var(--rule); margin: 8px 0 24px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative;
  font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--accent); }
.faq .faq__body { padding: 0 0 16px; color: var(--ink-2); }
.faq .faq__body > :last-child { margin-bottom: 0; }

/* ---------- home ---------- */
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px) !important; max-width: 12em; }
.hero-search { position: relative; max-width: 640px; margin: 8px 0 12px; }
.hero-search .search-box {
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 14px; box-shadow: var(--shadow);
  padding: 0 16px; height: 58px;
}
.hero-search .search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.hero-search .search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow-lg);
  max-height: min(60vh, 460px); overflow-y: auto; padding: 6px;
}
.hero-search .search-results:empty { display: none; }
.hero-suggest { font-size: 14px; color: var(--muted); margin: 0 0 8px !important; }
.hero-suggest a { color: var(--ink-2); margin-right: 4px; }

.section-title {
  font: 500 24px/1.25 var(--serif) !important; border: 0 !important; padding: 0 !important;
  margin: 56px 0 18px !important;
}
.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 8px; }
.card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.card__icon {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 8px;
}
.card__title { font-weight: 650; font-size: 16px; }
.card__text { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.quickstart {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
  counter-reset: qs; padding: 0 !important; list-style: none;
}
.quickstart li { counter-increment: qs; padding: 22px 20px; margin: 0 !important; border-left: 1px solid var(--rule); }
.quickstart li:first-child { border-left: 0; }
.quickstart li::before {
  content: "0" counter(qs); display: block; font: 500 13px/1 var(--mono); color: var(--accent); margin-bottom: 12px;
}
.quickstart strong { display: block; margin-bottom: 4px; }
.quickstart span { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: block; }

.link-list { list-style: none; padding: 0 !important; columns: 2; column-gap: 32px; }
.link-list li { break-inside: avoid; margin: 0 !important; border-bottom: 1px solid var(--rule); }
.link-list a {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.link-list a::after { content: "→"; color: var(--muted); transition: transform .15s; }
.link-list a:hover { color: var(--accent); }
.link-list a:hover::after { transform: translateX(3px); color: var(--accent); }

/* ---------- search ---------- */
.search-box { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.search-box__input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 17px; outline: none; -webkit-appearance: none; appearance: none;
}
.search-box__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-box__input::placeholder { color: var(--muted); }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-result a {
  display: block; padding: 12px 14px; border-radius: 9px; color: var(--ink); text-decoration: none;
}
.search-result a:hover, .search-result a:focus-visible, .search-result a.is-selected {
  background: var(--accent-soft); outline: none;
}
.search-result__crumb { display: block; font-size: 12px; color: var(--muted); letter-spacing: .02em; margin-bottom: 2px; }
.search-result__title { display: block; font-weight: 600; }
.search-result__snippet { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }
.search-result mark { background: var(--mark); color: inherit; border-radius: 2px; padding: 0 1px; }
.search-empty { padding: 20px 14px; color: var(--muted); font-size: 15px; }
.search-empty a { color: var(--link); }

.search-dialog {
  width: min(680px, calc(100vw - 32px)); max-height: min(78vh, 680px); padding: 0; margin: 10vh auto auto;
  border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.search-dialog::backdrop { background: rgba(20, 17, 14, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.search-dialog__panel { display: flex; flex-direction: column; max-height: inherit; }
.search-dialog .search-box { height: 60px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--rule); flex: none; }
.search-dialog__close {
  font: inherit; font-size: 13px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--rule);
  border-radius: 6px; padding: 5px 9px; cursor: pointer;
}
.search-dialog .search-results { overflow-y: auto; padding: 8px; flex: 1; }
.search-dialog .search-results:empty { padding: 0; }
.search-dialog__hint {
  flex: none; margin: 0; padding: 10px 18px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--muted);
  display: flex; gap: 6px; align-items: center;
}

/* ---------- pager & footer ---------- */
.pager { max-width: 740px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 64px 0 0; }
.pager__link {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px;
  border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; background: var(--surface);
}
.pager__link:hover { border-color: var(--accent); }
.pager__link--next { grid-column: 2; text-align: right; }
.pager__dir { font-size: 13px; color: var(--muted); }
.pager__title { font-weight: 600; color: var(--ink); }
.site-footer {
  max-width: 740px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
}
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--muted); }
.page-home .pager, .page-home .site-footer { max-width: 960px; }

/* ---------- support page ---------- */
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px; margin: 8px 0 28px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.contact-card__label { font-size: 13px; color: var(--muted); margin: 0 0 4px !important; }
.contact-card__value { font: 500 20px/1.3 var(--serif); margin: 0 !important; overflow-wrap: anywhere; }
.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--accent);
}
.button:hover { filter: brightness(1.08); }
.button--ghost { background: transparent; color: var(--accent); }

/* ---------- version history ---------- */
.release { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); padding: 24px 24px 8px; margin: 0 0 24px; }
.release__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 8px; }
.release__version { font: 500 26px/1.1 var(--serif); margin: 0 !important; padding: 0 !important; border: 0 !important; }
.release__date { color: var(--muted); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .layout--toc { grid-template-columns: 236px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 960px) {
  :root { --topbar-h: 58px; }
  .topbar__inner { padding: 0 16px; gap: 10px; }
  .topbar__menu { display: inline-flex; }
  .brand__tag { display: none; }
  .search-trigger { min-width: 0; width: 40px; padding: 0; justify-content: center; }
  .search-trigger__label, .search-trigger__key { display: none; }
  .layout, .layout--toc { display: block; padding: 0 20px; }
  .sidenav {
    position: fixed; z-index: 50; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); align-self: stretch;
    max-height: none; padding: 0 16px 32px; background: var(--bg);
    border-right: 1px solid var(--rule); box-shadow: var(--shadow-lg);
    transform: translateX(-102%); transition: transform .25s ease; visibility: hidden;
  }
  .sidenav.is-open { transform: none; visibility: visible; }
  .sidenav__head {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--topbar-h); margin-bottom: 8px; border-bottom: 1px solid var(--rule);
    position: sticky; top: 0; background: var(--bg);
  }
  .sidenav__label { font-weight: 600; }
  .sidenav__close { background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; border-radius: 6px; }
  .sidenav-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(20, 17, 14, .35); }
  .content { padding-top: 32px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quickstart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quickstart li:nth-child(3) { border-left: 0; }
  .quickstart li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .layout, .layout--toc { padding: 0 16px; }
  .version-pill { display: none; }
  .brand__name { font-size: 17px; }
  .prose h2 { font-size: 24px; margin-top: 48px; }
  .lead { font-size: 17.5px; }
  .card-grid, .quickstart { grid-template-columns: 1fr; }
  .quickstart li { border-left: 0 !important; border-top: 1px solid var(--rule); }
  .quickstart li:first-child { border-top: 0; }
  .link-list { columns: 1; }
  .pager { grid-template-columns: 1fr; }
  .pager__link--next { grid-column: 1; }
  .search-dialog { margin-top: 12px; max-height: calc(100vh - 24px); }
  .search-dialog__hint { display: none; }
  .hero-search .search-box { height: 52px; }
  .contact-card { padding: 18px; }
  .prose th, .prose td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .sidenav, .toc, .pager, .preview-bar, .skip-link, .heading-anchor { display: none !important; }
  .layout, .layout--toc { display: block; }
  .faq details > * { display: block; }
}

/* On wide screens the "On this page" column replaces the sidebar's section links. */
@media (min-width: 1201px) {
  .layout--toc .sidenav__item.is-current .sidenav__sub { display: none; }
}
