:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-content: var(--font-sans);
  --font-display: Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --paper: #f7f8f2;
  --paper-raised: #ffffff;
  --paper-subtle: #f0f4e8;
  --paper-sunken: #f3f5ed;
  --ink: #172c27;
  --ink-muted: #68736c;
  --ink-subtle: #68736c;
  --line: #e0e5dc;
  --line-strong: #cbd5c5;
  --brand: #183e35;
  --brand-readable: #183e35;
  --brand-hover: #244f43;
  --brand-fg: #ffffff;
  --brand-subtle: #eef3e4;
  --brand-line: #d3ddc8;
  --brand-deep: #183e35;
  --brand-accent: #d8f36a;
  --forest: #183e35;
  --forest-ink: #f7f8f2;
  --forest-muted: #c4d4bf;
  --forest-line: #47685c;
  --citron: #d8f36a;
  --ok-fg: #356049;
  --ok-bg: #edf4e8;
  --warn-fg: #946228;
  --warn-bg: #fcf4e6;
  --warn-line: #ead9b7;
  --error-fg: #9a513d;
  --error-bg: #fff4ee;
  --error-line: #eadbd4;
  --get-fg: #35668a;
  --get-bg: #edf3f7;
  --shadow: 0 14px 34px -18px rgb(24 62 53 / 0.15);
  --header-h: 5rem;
}

html.dark {
  --paper: #14251f;
  --paper-raised: #1c3229;
  --paper-subtle: #253c30;
  --paper-sunken: #17241c;
  --ink: #edf4ee;
  --ink-muted: #b4c4b8;
  --ink-subtle: #a5b9aa;
  --line: #304236;
  --line-strong: #4a6552;
  --brand: #d8f36a;
  --brand-readable: #d8f36a;
  --brand-hover: #e0f790;
  --brand-fg: #183e35;
  --brand-subtle: #243c29;
  --brand-line: #3d6945;
  --brand-deep: #c3d5c8;
  --brand-accent: #d8f36a;
  --ok-fg: #5fd08b;
  --ok-bg: #0f2a1b;
  --warn-fg: #f0b24a;
  --warn-bg: #2e2109;
  --warn-line: #4d3811;
  --error-fg: #f58a84;
  --error-bg: #33120f;
  --error-line: #57201c;
  --get-fg: #7aa9fb;
  --get-bg: #10203c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
html.dark { color-scheme: dark; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-readable); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand-line); color: var(--ink); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 80;
  padding: .65rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: var(--paper-raised);
  color: var(--ink);
}
.skip:focus { top: .75rem; }

/* The same mark, green palette, and compact controls as the public site. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
}
.site-header-inner, .layout, .site-footer-inner {
  width: min(80rem, calc(100% - 4rem));
  margin: 0 auto;
}
.site-header-inner { display: flex; align-items: center; gap: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img { flex: 0 0 auto; width: 34px; height: 34px; }
.brand .brand-section {
  margin-left: .55rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-muted);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.header-site { display: inline-flex; align-items: center; gap: .4rem; margin-right: .25rem; color: var(--ink-muted); font-size: .8rem; text-decoration: none; }
.header-site svg { width: 15px; height: 15px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding: .65rem 1.15rem;
  border-radius: .625rem;
  border: 1px solid var(--line-strong);
  background: var(--paper-raised);
  color: var(--ink);
  font: inherit;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.btn:hover { background: var(--paper-subtle); border-color: var(--brand-line); color: var(--ink); }
.btn svg { flex: 0 0 auto; width: 16px; height: 16px; }
.btn-brand { background: var(--brand-readable); border-color: var(--brand-readable); color: var(--brand-fg); }
.btn-brand:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--brand-fg); }
.icon-btn { width: 2.5rem; height: 2.5rem; padding: 0; }
.theme-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
}
html[data-enhanced] .theme-btn { display: inline-flex; }
.theme-btn:hover { background: var(--paper-subtle); color: var(--ink); }
.theme-btn svg { display: none; }
html[data-theme="light"] .theme-btn .icon-light,
html[data-theme="dark"] .theme-btn .icon-dark,
html:not([data-theme="light"]):not([data-theme="dark"]) .theme-btn .icon-system { display: block; }
.menu-btn, .menu-close-icon { display: none; }

/* Keep the reading column wide; the outline yields first on smaller screens. */
.layout {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr) 10.5rem;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0 4rem;
}
.nav, .page-outline {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  max-height: calc(100dvh - var(--header-h) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
}
.nav { padding: 1.35rem 1rem; border-radius: 1.25rem; background: var(--forest); color: var(--forest-ink); }
.nav-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 0 .55rem .3rem; font-size: .8rem; font-weight: 600; }
.version { padding: .1rem .45rem; border: 1px solid var(--line); border-radius: .625rem; background: var(--paper-sunken); color: var(--ink-muted); font: .65rem/1.5 var(--font-mono); }
.nav-label { margin: 1.45rem 0 .55rem; padding: 0 .55rem; color: var(--ink-subtle); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav .nav-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.6rem;
  margin: .2rem 0;
  padding: .5rem .55rem;
  border: 1px solid transparent;
  border-radius: 1.125rem;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: .8rem;
  line-height: 1.5;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-link svg { flex: 0 0 auto; width: 17px; height: 17px; }
.nav .nav-link:hover { background: var(--paper-sunken); color: var(--ink); }
.nav .nav-link[aria-current="page"] { border-color: var(--brand-line); background: var(--brand-subtle); color: var(--brand-readable); font-weight: 500; }
.nav-help { margin-top: 2rem; padding: 1.15rem 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper-sunken); }
.nav-help > svg { display: block; margin-bottom: .7rem; color: var(--brand); }
.nav-help strong { font-size: .8rem; font-weight: 600; }
.nav-help p { margin: .3rem 0 .85rem; font-size: .75rem; line-height: 1.6; }
.nav-help a { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 500; text-decoration: none; }
.nav-help a svg { width: 14px; height: 14px; }
.nav-meta { display: flex; align-items: center; gap: .4rem; padding: 1rem .55rem 0; color: var(--ink-subtle); font-size: .65rem; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--brand); }
main { min-width: 0; }
main:focus { outline: none; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .2rem 0 1.1rem; font-size: .7rem; line-height: 1.5; color: var(--ink-subtle); }
.breadcrumb a { color: var(--ink-subtle); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-readable); }
.breadcrumb svg { width: 12px; height: 12px; color: var(--line-strong); }
.breadcrumb span { color: var(--ink); }
.page-intro { padding: 1.25rem 0 1.75rem; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; color: var(--brand-readable); font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: .85rem 0 1rem; font-family: var(--font-display); font-size: clamp(2.35rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
h1 em { font-style: italic; color: var(--brand); }
p, li { color: var(--ink-muted); }
.lead { max-width: 40rem; margin: 0; font-size: .92rem; line-height: 1.75; }
.intro-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.intro-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .7rem; color: var(--ink-muted); }
.intro-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.intro-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.doc-body { margin-top: 2rem; }
h2 { margin: 2.75rem 0 .75rem; color: var(--ink); font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.4; }
h3 { margin: 2rem 0 .65rem; color: var(--ink); font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.doc-body > h2:first-child, .doc-body > .endpoint:first-child { margin-top: 0; }
.doc-body > p { margin: .7rem 0 1.2rem; }
.heading-anchor { display: inline-flex; vertical-align: middle; margin-left: .5rem; color: var(--ink-subtle); opacity: 0; transition: opacity 160ms ease; }
.heading-anchor svg { width: 15px; height: 15px; }
h2:hover .heading-anchor, h3:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: 2.75rem 0 .85rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 1.125rem; background: var(--paper-sunken); }
.endpoint h2 { min-width: 0; margin: 0; font-family: var(--font-mono); font-size: .875rem; font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
.method { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 1.5rem; padding: .15rem .45rem; border-radius: .625rem; font-family: var(--font-mono); font-size: .65rem; font-weight: 600; line-height: 1.5; letter-spacing: .03em; }
.method-post { background: var(--brand-subtle); color: var(--brand-readable); }
.method-get { background: var(--get-bg); color: var(--get-fg); }
.method-delete { background: var(--error-bg); color: var(--error-fg); }

/* Code stays intact and scrolls inside its own frame, including without JS. */
.code-block {
  --code-bg: var(--forest);
  --code-header: #14372e;
  --code-line: var(--forest-line);
  --code-ink: var(--forest-ink);
  margin: 1rem 0 1.4rem;
  overflow: hidden;
  border: 1px solid var(--code-line);
  border-radius: 1rem;
  background: var(--code-bg);
  color: var(--code-ink);
}
html.dark .code-block { --code-bg: #0f1b14; --code-header: #0d1711; --code-line: #304236; }
.code-block figcaption { display: flex; align-items: center; gap: .7rem; min-height: 3rem; padding: .4rem 1.15rem; border-bottom: 1px solid var(--code-line); background: var(--code-header); font-size: .7rem; line-height: 1.5; }
.code-label { display: flex; align-items: center; gap: .5rem; min-width: 0; margin-right: auto; overflow: hidden; white-space: nowrap; }
.code-label svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--citron); }
.code-language { flex: 0 0 auto; color: #a3b6ab; font-family: var(--font-mono); font-size: .65rem; }
pre { margin: 0; max-width: 100%; padding: 1.2rem 1.3rem; overflow: auto; font-family: var(--font-mono); font-size: .75rem; line-height: 1.85; tab-size: 4; scrollbar-width: thin; scrollbar-color: #658374 transparent; }
pre:focus-visible { outline-color: #8ed495; outline-offset: -3px; }
pre code { font-family: inherit; }
pre::selection, pre code::selection, pre code *::selection { background: #506e59; color: #fff; }
.copy { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; flex: 0 0 auto; min-width: 4.75rem; min-height: 2rem; padding: .25rem .55rem; border: 1px solid var(--code-line); border-radius: .625rem; background: transparent; color: #cfddd3; font: inherit; font-size: .65rem; cursor: pointer; transition: background-color 160ms ease; }
.copy svg { width: 13px; height: 13px; }
.copy:hover { background: #31463a; color: #fff; }
.copy:focus-visible { outline-color: #8ed495; }
.copy[data-copied] { color: var(--citron); border-color: var(--forest-line); }

.table-scroll { max-width: 100%; margin: 1rem 0 1.4rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; font-size: .8rem; line-height: 1.65; }
th, td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--paper-sunken); color: var(--ink); font-size: .7rem; font-weight: 500; }
td { color: var(--ink-muted); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--ink); }
td code, p code, li code, .callout code { padding: .15rem .3rem; border: 1px solid var(--line); border-radius: .625rem; background: var(--paper-sunken); color: var(--ink); font-family: var(--font-mono); font-size: .82em; overflow-wrap: anywhere; }
td code { white-space: nowrap; }
.callout { position: relative; margin: 1.5rem 0; padding: 1.15rem 1.3rem; border: 1px solid var(--brand-line); border-left: 3px solid var(--brand); border-radius: 1.125rem; background: var(--brand-subtle); color: var(--ink); font-size: .85rem; line-height: 1.75; }
.callout strong { color: var(--ink); font-weight: 600; }
.callout p { margin: .3rem 0 0; color: var(--ink-muted); }
.callout p:first-child { margin-top: 0; }
.callout.warn { border-color: var(--warn-line); border-left-color: var(--warn-fg); background: var(--warn-bg); }
.callout code { background: transparent; border-color: transparent; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 2rem; }
.card { display: block; min-width: 0; padding: 1.3rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper-raised); color: inherit; text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.card:hover { transform: translateY(-2px); border-color: var(--brand-line); color: inherit; box-shadow: 0 6px 18px rgb(38 50 56 / .06); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.card .card-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 1.125rem; background: var(--brand-subtle); color: var(--brand); }
.card .card-icon svg { width: 19px; height: 19px; }
.card-arrow { color: var(--ink-subtle); }
.card > span { color: var(--brand-readable); font-size: .6rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.card strong { display: block; margin: .3rem 0 .4rem; color: var(--ink); font-size: .95rem; font-weight: 600; letter-spacing: -.02em; }
.card p { margin: 0; font-size: .78rem; line-height: 1.7; }
.steps { margin: 1rem 0 1.3rem; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 1.2rem 2.8rem; font-size: .875rem; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--brand-line); border-radius: 1.125rem; background: var(--brand-subtle); color: var(--brand-readable); font-family: var(--font-mono); font-size: .7rem; font-weight: 500; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1rem; top: 2.1rem; bottom: .15rem; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: .25rem; }

.page-outline { margin-top: .15rem; padding: .1rem .25rem .4rem; }
.page-outline > p { margin: 0 0 .7rem; font-size: .7rem; font-weight: 600; color: var(--ink); }
.page-outline nav { border-left: 1px solid var(--line); }
.page-outline nav a, .inline-outline nav a { display: block; padding: .4rem 0 .4rem .9rem; border-left: 2px solid transparent; margin-left: -1px; color: var(--ink-subtle); font-size: .7rem; line-height: 1.55; text-decoration: none; }
.page-outline nav a:hover, .inline-outline nav a:hover { color: var(--brand-readable); }
.page-outline nav a[aria-current="location"], .inline-outline nav a[aria-current="location"] { border-left-color: var(--brand); color: var(--brand-readable); }
.page-outline nav .outline-nested, .inline-outline nav .outline-nested { padding-left: 1.5rem; }
.outline-help { display: grid; gap: .8rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.outline-help a { display: flex; align-items: center; gap: .4rem; color: var(--ink-subtle); font-size: .65rem; line-height: 1.5; text-decoration: none; }
.outline-help svg { flex: 0 0 auto; width: 12px; height: 12px; }
.outline-help .back-top-icon { transform: rotate(90deg); }
.inline-outline { display: none; }
.page-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.page-pagination a { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; }
.page-pagination a:hover { border-color: var(--brand-line); background: var(--brand-subtle); }
.page-pagination svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--brand); }
.page-pagination small { display: block; color: var(--ink-subtle); font-size: .65rem; }
.page-pagination strong { display: block; font-size: .8rem; line-height: 1.5; font-weight: 500; }
.page-pagination .page-next { grid-column: 2; justify-content: flex-end; text-align: right; }
.site-footer { padding: 2.8rem 0; background: var(--forest); color: var(--forest-muted); }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2rem; }
.footer-brand .brand { color: #edf4ee; font-size: .9rem; }
.footer-brand .brand img { width: 30px; height: 30px; }
.footer-brand p { margin: .6rem 0 0; color: #b4c4b8; font-size: .75rem; }
.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
.site-footer nav a { display: inline-flex; align-items: center; gap: .3rem; color: #d5e2d9; font-size: .75rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--citron); }
.site-footer nav svg { width: 13px; height: 13px; }

@media (max-width: 1199px) {
  .layout { grid-template-columns: 12rem minmax(0, 1fr); gap: 2rem; }
  .page-outline { display: none; }
  .inline-outline { display: block; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 1.125rem; }
  .inline-outline summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; font-size: .8rem; font-weight: 500; cursor: pointer; list-style: none; }
  .inline-outline summary::-webkit-details-marker { display: none; }
  .inline-outline summary svg { width: 15px; height: 15px; transition: transform 160ms ease; }
  .inline-outline[open] summary svg { transform: rotate(180deg); }
  .inline-outline nav { padding: 0 1rem .75rem; }
  .inline-outline nav a { min-height: 2.5rem; padding-top: .6rem; padding-bottom: .6rem; font-size: .8rem; }
}
@media (max-width: 860px) {
  .site-header-inner, .layout, .site-footer-inner { width: min(46rem, calc(100% - 2.5rem)); }
  .brand .brand-section, .header-site { display: none; }
  .header-actions { gap: .4rem; }
  html[data-enhanced] .menu-btn { display: inline-flex; border-color: transparent; background: transparent; color: var(--ink-muted); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 1.5rem; }
  .nav { position: static; max-height: none; margin-bottom: 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper-raised); }
  html[data-enhanced] .nav { display: none; }
  html[data-enhanced] body.nav-open .nav { display: block; animation: menu-in 180ms ease; }
  body.nav-open .menu-open-icon { display: none; }
  body.nav-open .menu-close-icon { display: block; }
  .nav-help { margin-top: 1.25rem; }
  .nav-help > svg, .nav-help p, .nav-meta { display: none; }
  .nav-help { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem; padding: .9rem; }
  .nav .nav-label { margin-top: 1rem; }
  .nav .nav-link { min-height: 2.75rem; font-size: .875rem; }
  .page-intro { padding: 2rem; }
  .heading-anchor { opacity: 1; }
}
@media (max-width: 600px) {
  :root { --header-h: 4.5rem; }
  .site-header-inner, .layout, .site-footer-inner { width: calc(100% - 2.5rem); }
  .header-app { display: none; }
  .brand { font-size: .95rem; }
  .brand img { width: 30px; height: 30px; }
  .page-intro { padding: 1.5rem 1.25rem; border-radius: 1rem; }
  h1 { font-size: 2rem; }
  .lead { font-size: .875rem; }
  .intro-actions { gap: .5rem; }
  .intro-actions .btn { flex: 1 1 auto; }
  .intro-meta { gap: .5rem .85rem; font-size: .65rem; }
  .cards { gap: .8rem; }
  .card { padding: 1.1rem; }
  .table-scroll table { min-width: 32rem; }
  .code-block figcaption { padding: .4rem .85rem; gap: .5rem; }
  pre { padding: 1rem; font-size: .72rem; }
  h2 { font-size: 1.25rem; }
  .callout { padding: 1rem; }
  .page-pagination { gap: .65rem; }
  .page-pagination a { gap: .4rem; padding: .8rem .65rem; }
  .page-pagination strong { font-size: .75rem; }
  .site-footer { padding: 2rem 0; }
}
@media (max-width: 440px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .code-language { display: none; }
  .endpoint { gap: .5rem; padding: .8rem; }
  .endpoint h2 { font-size: .78rem; }
}
@media (max-width: 360px) {
  .site-header-inner, .layout, .site-footer-inner { width: calc(100% - 2rem); }
  .brand { gap: .5rem; font-size: .9rem; }
  .header-actions { gap: .15rem; }
  h1 { font-size: 1.8rem; }
  .page-intro { padding: 1.3rem 1rem; }
  .code-label svg { display: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover { transform: none; }
}

/* The same evergreen workspace and editorial type as the application. */
.nav .nav-heading { color: var(--forest-ink); }
.nav .version { border-color: var(--forest-line); background: transparent; color: var(--forest-muted); }
.nav .nav-label, .nav .nav-meta { color: var(--forest-muted); }
.nav .nav-link { color: var(--forest-muted); }
.nav .nav-link:hover { background: rgb(247 248 242 / .08); color: var(--forest-ink); }
.nav .nav-link[aria-current="page"] { border-color: var(--forest-line); background: rgb(247 248 242 / .1); color: var(--citron); }
.nav .nav-help { background: rgb(247 248 242 / .06); border-color: var(--forest-line); }
.nav .nav-help strong { color: var(--forest-ink); }
.nav .nav-help p { color: var(--forest-muted); }
.nav .nav-help a, .nav .nav-help > svg, .nav .status-dot { color: var(--citron); }
.nav .status-dot { background: var(--citron); }
.doc-body .cards { gap: 1.25rem; }
.doc-body .card { padding: 1.6rem; border-radius: 1.25rem; }
.doc-body .card .card-icon { width: 2.6rem; height: 2.6rem; }
.doc-body .card strong { margin-top: .6rem; font-size: 1rem; }
.table-scroll { background: var(--paper-raised); }
th { background: var(--paper-raised); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .nav { background: var(--forest); border-color: var(--forest-line); border-radius: 1.25rem; }
  .page-intro { padding: 1.5rem 0; }
}
@media (max-width: 600px) {
  .page-intro { padding: 1.5rem 0; }
  h1 { font-size: 2.35rem; }
  .doc-body .card { padding: 1.25rem; }
}
