/* dabadata docs.
   Same family as the public site (www/site.css): Instrument Serif headings, JetBrains Mono code,
   the accent green and the dark #07140c bar. Light and dark follow prefers-color-scheme,
   unless the Theme control in the top bar pinned a choice (html[data-theme], docs.js;
   the site and the console share it).
   Code blocks are dark in both themes. */

:root {
  color-scheme: light;
  --bg: #f5f7f5;
  --bg-soft: #eef2ef;
  --card: #ffffff;
  --text: #13201a;
  --muted: #5d6a63;
  --faint: #98a39d;
  --line: #e2e8e4;
  --accent: #136c2e;
  --accent-ink: #ffffff;
  --bright: #3ccf6e;
  --bright-ink: #062611;
  --night: #07140c;
  --code-bg: #0b1911;
  --code-line: #1b2d22;
  --code-text: #dbe8df;
  --code-dim: #7f9488;
  --shadow: 0 1px 2px rgba(10, 30, 18, 0.04), 0 20px 50px -30px rgba(10, 30, 18, 0.45);
  --shadow-hover: 0 1px 2px rgba(10, 30, 18, 0.05), 0 30px 60px -28px rgba(10, 30, 18, 0.6);
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar: 56px;
  --sub: 0px;
  --side: 264px;
  --toc: 224px;
}

/* Dark: the same block twice - for the system setting and for a pinned choice. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #08100b;
    --bg-soft: #0c1611;
    --card: #0f1a14;
    --text: #e7eee9;
    --muted: #9aa7a0;
    --faint: #5f6c65;
    --line: #1f2c25;
    --accent: #3ccf6e;
    --accent-ink: #062611;
    --code-bg: #050d08;
    --code-line: #18281e;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
    --shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.35), 0 30px 60px -28px rgba(0, 0, 0, 1);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08100b;
  --bg-soft: #0c1611;
  --card: #0f1a14;
  --text: #e7eee9;
  --muted: #9aa7a0;
  --faint: #5f6c65;
  --line: #1f2c25;
  --accent: #3ccf6e;
  --accent-ink: #062611;
  --code-bg: #050d08;
  --code-line: #18281e;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  --shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.35), 0 30px 60px -28px rgba(0, 0, 0, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.7 var(--sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.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: absolute; left: 16px; top: -48px; z-index: 60;
  padding: 8px 14px; border-radius: 8px; background: var(--bright); color: var(--bright-ink);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 10px; }

/* ---- top bar (always dark) ---- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--bar); background: var(--night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex-shrink: 0; text-decoration: none; }
.wordmark { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.wordmark span { color: var(--bright); }
.brand-tag { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.topnav { display: flex; align-items: center; gap: 2px; }
.topnav a {
  color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 11px; border-radius: 8px; white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.topnav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.topnav a.login { margin-left: 8px; color: rgba(255, 255, 255, 0.85); }
.topnav a.login + a.run { margin-left: 4px; }
.topnav a.run {
  margin-left: 8px; color: var(--bright-ink); background: var(--bright); font-weight: 600;
}
.topnav a.run:hover { background: #5ee08a; color: var(--bright-ink); }
.topnav a.console-link { display: none; align-items: center; gap: 6px; }
.topnav a.console-link svg { width: 15px; height: 15px; }
.topnav a.console-link .short { display: none; }
/* Signed in to the console (docs.js reads the console's hint): one button instead of Log in / Start free. */
.signed-in .topnav a.login, .signed-in .topnav a.run { display: none; }
.signed-in .topnav a.run.console-link { display: inline-flex; margin-left: 8px; }
.topbar :focus-visible { outline-color: var(--bright); }
.theme-seg {
  display: inline-flex; flex: none; gap: 0; padding: 2px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
}
.theme-seg button {
  display: grid; place-items: center; width: 24px; height: 22px; padding: 0; border: 0; border-radius: 7px;
  background: none; color: rgba(255, 255, 255, 0.6); cursor: pointer;
}
.theme-seg button:hover { color: #fff; }
.theme-seg svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The chosen one follows the page (html[data-theme]), so it is right before the script runs. */
.topnav .theme-seg { margin-left: 6px; }
:root:not([data-theme]) .theme-seg [data-theme-set="system"],
:root[data-theme="light"] .theme-seg [data-theme-set="light"],
:root[data-theme="dark"] .theme-seg [data-theme-set="dark"] { color: var(--bright); background: rgba(255, 255, 255, 0.12); }

/* ---- phone sub bar with the Menu button ---- */
.subbar { display: none; }

/* ---- layout ---- */
.layout {
  display: grid; grid-template-columns: var(--side) minmax(0, 1fr);
  max-width: 1480px; margin: 0 auto;
}

.sidebar {
  position: sticky; top: var(--bar); align-self: start;
  height: calc(100vh - var(--bar)); overflow-y: auto; overscroll-behavior: contain;
  padding: 28px 16px 48px 24px;
  border-right: 1px solid var(--line);
}
.drawer-head { display: none; }
.nav-group + .nav-group { margin-top: 22px; }
.nav-title {
  margin: 0 0 6px; padding: 0 10px;
  font: 600 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 10px; border-radius: 8px;
  font-size: 14.5px; line-height: 1.45; color: var(--muted); text-decoration: none;
  transition: color 150ms, background 150ms;
}
.nav-group a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
.nav-group a[aria-current="page"] {
  color: var(--accent); font-weight: 600;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.nav-group a[aria-current="page"]::before {
  content: ""; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 3px;
  background: var(--accent);
}
.nav-group .ext { width: 13px; height: 13px; flex: none; opacity: 0.7; }
/* The pointers for AI assistants at the foot of the sidebar (build-docs.ts): small, quiet text. */
.nav-ai { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.nav-ai p:not(.nav-title) { margin: 0; padding: 0 10px; font-size: 12.5px; line-height: 1.55; color: var(--faint); }
.nav-ai a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.nav-ai a:hover { color: var(--text); text-decoration-color: currentColor; }

.content { min-width: 0; padding: 48px 56px 96px; }
.article { max-width: 760px; margin: 0 auto; }

.toc { display: none; }

/* ---- article typography ---- */
.eyebrow {
  margin: 0 0 12px;
  font: 500 12px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.article h1 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em;
}
.lede { margin: 18px 0 0; font-size: 18px; line-height: 1.65; color: var(--muted); }
.article h2 {
  margin: 56px 0 0; padding-top: 4px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.015em;
  scroll-margin-top: calc(var(--bar) + var(--sub) + 20px);
}
.article h3 {
  margin: 32px 0 0; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--bar) + var(--sub) + 20px);
}
.article h2 + p, .article h3 + p { margin-top: 12px; }
.article p, .article ul, .article ol { margin: 16px 0 0; }
.article li + li { margin-top: 6px; }
.article ul, .article ol { padding-left: 22px; }
.article strong { font-weight: 650; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0 0; }

/* Endpoint headings on the API page: the verb as a pill, the path in mono. */
.article h2.endpoint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font: 600 clamp(1.05rem, 2.6vw, 1.3rem)/1.3 var(--mono); letter-spacing: -0.01em;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.article h2.endpoint .path { overflow-wrap: anywhere; }
.verb {
  display: inline-block; padding: 3px 9px; border-radius: 6px;
  font: 600 12px/1.4 var(--mono); letter-spacing: 0.04em;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.verb.post { color: #b25e09; background: color-mix(in srgb, #e8890c 15%, transparent); }
.verb.ws { color: #4b5bd6; background: color-mix(in srgb, #6573f0 15%, transparent); }
.verb.put { color: #0f766e; background: color-mix(in srgb, #14b8a6 15%, transparent); }
.verb.patch { color: #7c3aed; background: color-mix(in srgb, #8b5cf6 15%, transparent); }
.verb.delete { color: #b91c1c; background: color-mix(in srgb, #ef4444 13%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .verb.post { color: #f2a64a; }
  :root:not([data-theme="light"]) .verb.ws { color: #9aa5ff; }
  :root:not([data-theme="light"]) .verb.put { color: #5eead4; }
  :root:not([data-theme="light"]) .verb.patch { color: #c4b5fd; }
  :root:not([data-theme="light"]) .verb.delete { color: #fca5a5; }
}
:root[data-theme="dark"] .verb.post { color: #f2a64a; }
:root[data-theme="dark"] .verb.ws { color: #9aa5ff; }
:root[data-theme="dark"] .verb.put { color: #5eead4; }
:root[data-theme="dark"] .verb.patch { color: #c4b5fd; }
:root[data-theme="dark"] .verb.delete { color: #fca5a5; }
.who {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline;
  margin: 14px 0 0; font-size: 14.5px; color: var(--muted);
}
.who b { font: 600 11px/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

/* inline code */
.article :not(pre) > code {
  font: 0.86em/1.5 var(--mono);
  padding: 0.12em 0.38em; border-radius: 5px;
  background: color-mix(in srgb, var(--text) 7%, transparent);
  overflow-wrap: anywhere;
}
.article a code { color: inherit; }

/* ---- code blocks (dark in both themes) ---- */
.code {
  margin: 20px 0 0; border-radius: 12px; overflow: hidden;
  background: var(--code-bg); border: 1px solid var(--code-line);
}
.code-bar {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  height: 34px; padding: 0 8px 0 14px;
}
.code-lang { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--code-dim); }
.copy {
  font: 500 11px/1 var(--mono); letter-spacing: 0.04em; cursor: pointer;
  padding: 6px 9px; border-radius: 6px;
  color: rgba(255, 255, 255, 0.72); background: transparent; border: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 150ms, background 150ms, border-color 150ms;
}
.copy:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.copy.copied { color: var(--bright); border-color: rgba(60, 207, 110, 0.45); }
.copy:focus-visible { outline-color: var(--bright); }
.code pre {
  margin: 0; padding: 0 18px 18px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  font: 13.5px/1.65 var(--mono); color: var(--code-text); tab-size: 2;
}
.code pre:focus-visible { outline-color: var(--bright); outline-offset: -2px; }
.code code { font: inherit; }
.code .c { color: var(--code-dim); font-style: italic; }

/* ---- tables ---- */
.table-wrap {
  margin: 20px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.table-wrap thead th {
  border-top: 0; background: var(--bg-soft); white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.table-wrap td:first-child code, .table-wrap th[scope="row"] code { white-space: nowrap; overflow-wrap: normal; }
.table-wrap tbody th { font-weight: 600; }
/* Vendor marks (server/src/vendor-marks.ts): a provider's logo before its name. */
.vendor { white-space: nowrap; }
.vendor-mark { display: inline-block; flex: none; vertical-align: -3px; margin-right: 7px; }
.vendor-head { display: flex; align-items: center; gap: 12px; }
.vendor-head .vendor-mark { margin-right: 0; }
.table-wrap .y { color: var(--accent); font-weight: 800; }
.table-wrap .n { color: var(--faint); }
.table-wrap.matrix td { text-align: center; }
.table-wrap.matrix td:first-child { text-align: left; }
.table-wrap.matrix thead th:not(:first-child) { text-align: center; }

/* ---- callouts ---- */
.callout {
  margin: 24px 0 0; padding: 14px 18px 16px;
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
}
.callout-title {
  display: flex; align-items: center; gap: 8px; margin: 0 !important;
  font: 600 12px/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.callout-title svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.callout > :nth-child(2) { margin-top: 6px; }
.callout > :first-child { margin-top: 0; }
blockquote.callout p + p { margin-top: 12px; }
.callout p, .callout ul { font-size: 15px; }
.callout.security { border-left-color: #c2410c; background: color-mix(in srgb, #ea580c 7%, var(--card)); }
.callout.security .callout-title { color: #c2410c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .callout.security { border-left-color: #fb923c; }
  :root:not([data-theme="light"]) .callout.security .callout-title { color: #fb923c; }
}
:root[data-theme="dark"] .callout.security { border-left-color: #fb923c; }
:root[data-theme="dark"] .callout.security .callout-title { color: #fb923c; }

/* ---- steps ---- */
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step;
  padding: 0 0 0 48px; min-height: 32px;
}
.steps li + li { margin-top: 16px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font: 600 13px/1 var(--mono); color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; }
.card {
  display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card-kicker { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: 10px 0 0 !important; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.card p { margin: 8px 0 0 !important; font-size: 14.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.card .go { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---- pager + footer ---- */
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 72px 0 0; }
.pager a {
  display: block; padding: 14px 16px; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  transition: border-color 150ms, background 150ms;
}
.pager a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pager span { display: block; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.pager b { display: block; margin-top: 2px; font-weight: 600; color: var(--accent); }
.pager .next { grid-column: 2; text-align: right; }
.doc-footer {
  margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* ---- on this page (wide screens only) ---- */
@media (min-width: 1280px) {
  .layout { grid-template-columns: var(--side) minmax(0, 1fr) var(--toc); }
  .toc {
    display: block; position: sticky; top: var(--bar); align-self: start;
    max-height: calc(100vh - var(--bar)); overflow-y: auto;
    padding: 52px 24px 48px 8px; font-size: 13.5px;
  }
  .toc-title {
    margin: 0 0 10px; font: 600 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
  }
  .toc ul { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 1px solid var(--line); }
  .toc li + li { margin-top: 7px; }
  .toc li > ul { margin-top: 7px; }
  .toc a { color: var(--muted); text-decoration: none; line-height: 1.4; display: block; }
  .toc a:hover { color: var(--accent); }
}

/* ---- tablet and phone: the sidebar becomes a drawer ---- */
@media (max-width: 959px) {
  :root { --sub: 48px; }
  .layout { display: block; }
  .subbar {
    position: sticky; top: var(--bar); z-index: 20;
    display: flex; align-items: center; gap: 12px; height: var(--sub); padding: 0 16px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    font: 600 14px var(--sans); color: var(--text); cursor: pointer; text-decoration: none;
    padding: 6px 12px 6px 10px; border-radius: 8px;
    background: var(--card); border: 1px solid var(--line);
  }
  .menu-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .crumb { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--muted); }
  .crumb b { color: var(--text); font-weight: 600; }

  .sidebar {
    /* align-self resets the desktop "start": Chrome applies it to fixed boxes,
       which then size to their content and never scroll. */
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; align-self: stretch;
    width: min(300px, 86vw); height: auto;
    padding: 0 16px 40px; border-right: 0;
    background: var(--bg); box-shadow: 0 0 60px rgba(0, 0, 0, 0.35);
    transform: translateX(-102%); visibility: hidden;
    transition: transform 240ms ease, visibility 0s linear 240ms;
  }
  .nav-open .sidebar, .sidebar:target { transform: none; visibility: visible; transition: transform 240ms ease; }
  .drawer-head {
    position: sticky; top: 0; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--bar); margin: 0 -16px 18px; padding: 0 12px 0 20px;
    background: var(--night);
  }
  .drawer-close {
    font: 600 13px var(--sans); cursor: pointer; text-decoration: none; padding: 6px 10px; border-radius: 8px;
    color: rgba(255, 255, 255, 0.8); background: transparent; border: 1px solid rgba(255, 255, 255, 0.16);
  }
  .drawer-close:focus-visible { outline-color: var(--bright); }
  .nav-group a[aria-current="page"]::before { left: -6px; }

  .scrim {
    position: fixed; inset: 0; z-index: 45; background: rgba(4, 12, 7, 0.5);
    opacity: 0; pointer-events: none; transition: opacity 240ms ease;
  }
  .nav-open .scrim { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }

  .content { padding: 36px 32px 72px; }
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* The site links do not fit beside the brand on a phone: keep the current page and the account link. */
  .topnav a:not(.login):not(.run):not([aria-current]) { display: none; }
}

@media (max-width: 640px) {
  .topbar-row { padding: 0 16px; }
  .brand-tag { display: none; }
  .topnav a { padding: 6px 8px; }
  .topnav a.run { display: none; }
  .signed-in .topnav a.run.console-link { margin-left: 4px; padding: 6px 10px; }
  .topnav a.console-link .long { display: none; }
  .topnav a.console-link .short { display: inline; }
  .content { padding: 28px 16px 64px; }
  .lede { font-size: 17px; }
  .article h2 { margin-top: 44px; }
  .code pre { padding: 0 14px 16px; font-size: 13px; }
  .table-wrap th, .table-wrap td { padding: 9px 12px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: auto; }
}

/* Phones: the wordmark and the four top links share one row. */
@media (max-width: 420px) {
  .topbar-row { gap: 10px; }
  .topnav a { padding: 6px 5px; font-size: 13px; }
}
@media (max-width: 380px) {
  .topnav a:first-child { display: none; }
  /* Room for the theme control: the reader is in the docs already. */
  .topnav a[aria-current] { display: none; }
  .theme-seg button { width: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
