:root {
  color-scheme: light;
  --base3: #fdf6e3;
  --base2: #eee8d5;
  --base1: #93a1a1;
  --base00: #657b83;
  --base01: #586e75;
  --base02: #073642;
  --base03: #002b36;
  --blue: #268bd2;
  --cyan: #2aa198;
  --green: #859900;
  --orange: #cb4b16;
  --bg: var(--base3);
  --surface: #fffaf0;
  --surface-strong: #faf3da;
  --line: #ded7be;
  --line-soft: #e8e1c8;
  --ink: var(--base02);
  --muted: var(--base01);
  --accent: #1a6b63;
  --code: #f4edd8;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(7,54,66,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,54,66,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
}
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--base02); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; padding: .55rem .85rem; background: var(--base02); color: var(--base3); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(253,246,227,.94);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1120px, calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; }
.brand span { display: flex; align-items: baseline; gap: .45rem; }
.brand strong { font-family: var(--mono); font-size: 1rem; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .82rem; }
.product-link { color: var(--muted); font-family: var(--mono); font-size: .76rem; text-decoration: none; }
.product-link:hover { color: var(--accent); }
.docs-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 800px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.sidebar { position: sticky; top: 104px; padding: 3.2rem 0 2rem; }
.sidebar nav { display: flex; flex-direction: column; gap: .15rem; }
.nav-label { margin: 0 0 .65rem; color: var(--base00); font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sidebar nav a { padding: .42rem .65rem; border-left: 2px solid transparent; color: var(--muted); font-size: .9rem; text-decoration: none; }
.sidebar nav a:hover { color: var(--ink); background: rgba(238,232,213,.58); }
.sidebar nav a[aria-current="page"] { border-left-color: var(--cyan); background: var(--surface-strong); color: var(--ink); font-weight: 650; }
.version { margin: 1.2rem .65rem 0; color: var(--base00); font-family: var(--mono); font-size: .68rem; }
.docs-content { min-width: 0; padding-bottom: 2rem; }
.page-intro { max-width: 720px; padding: 3.8rem 0 2.6rem; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 .65rem; color: var(--accent); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--mono); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.12; letter-spacing: -.045em; }
.lede { max-width: 680px; margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
section { margin: 3.5rem 0; }
section > h2 { margin: 0 0 1rem; font-family: var(--mono); font-size: 1.42rem; line-height: 1.3; letter-spacing: -.025em; }
h3 { margin: 2rem 0 .65rem; font-size: 1.05rem; }
h4 { margin: 1rem 0 .5rem; color: var(--muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
p, ul, ol { max-width: 74ch; }
code { font-family: var(--mono); font-size: .9em; }
p code, li code, td code, th code { padding: .1em .3em; border: 1px solid var(--line-soft); border-radius: .25em; background: var(--code); }
pre { max-width: 100%; overflow: auto; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--base03); color: var(--base2); line-height: 1.55; }
pre code { font-size: .8rem; }
.topic-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.topic-list li { border-bottom: 1px solid var(--line); }
.topic-list a { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem .25rem; color: var(--ink); text-decoration: none; }
.topic-list a:hover { background: rgba(238,232,213,.45); }
.topic-list code { color: var(--accent); font-weight: 700; }
.topic-list span { color: var(--muted); }
.steps { display: grid; gap: .65rem; padding-left: 1.35rem; }
.steps li { padding-left: .35rem; color: var(--muted); }
.steps strong { color: var(--ink); }
.reference-card { padding: 1.5rem 0; margin: 0; border-top: 1px solid var(--line); }
.reference-card:last-child { border-bottom: 1px solid var(--line); }
.reference-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reference-heading h3 { margin: 0; font-size: 1.15rem; }
.reference-card > p { color: var(--muted); }
.badge { display: inline-block; padding: .18rem .5rem; border: 1px solid #abcfc8; border-radius: 99px; background: #edf7f3; color: var(--accent); font-family: var(--mono); font-size: .68rem; white-space: nowrap; }
.schema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.schema-grid > div { min-width: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .4rem; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface-strong); color: var(--muted); font-family: var(--mono); font-size: .7rem; letter-spacing: .055em; text-transform: uppercase; }
tr:last-child > * { border-bottom: 0; }
.note { max-width: 74ch; padding: .9rem 1rem; border-left: 3px solid var(--cyan); background: var(--surface-strong); color: var(--muted); }
.note strong { color: var(--ink); }
footer { margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid var(--line); color: var(--base00); font-size: .78rem; }
footer p { margin: 0; }
@media (max-width: 780px) {
  .header-inner, .docs-shell { width: min(100% - 1.25rem, 1120px); }
  .brand small { display: none; }
  .docs-shell { display: block; }
  .sidebar { position: static; padding: .8rem 0 0; border-bottom: 1px solid var(--line); }
  .sidebar nav { width: 100%; flex-direction: row; overflow-x: auto; scrollbar-width: thin; }
  .nav-label, .version { display: none; }
  .sidebar nav a { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .sidebar nav a[aria-current="page"] { border-bottom-color: var(--cyan); }
  .page-intro { padding: 2.8rem 0 2rem; }
  .schema-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .product-link { display: none; }
  .topic-list a { grid-template-columns: 1fr; gap: .25rem; }
  .reference-heading { align-items: flex-start; flex-direction: column; }
}