:root {
  --bg: #0d0f0d;
  --panel: #131513;
  --line: #3a352e;
  --line-bright: #5f594f;
  --text: #ece9df;
  --muted: #a6a195;
  --dim: #6c665b;
  --green: #72d06c;
  --purple: #d06cff;
  --gold: #e1c241;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, "Cascadia Code", "Roboto Mono", monospace;
  font-size: var(--fs-body, 10px);
  line-height: 1.6;
  padding: 16px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }

.top {
  max-width: 980px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 0.5px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-nav, 11px);
}
.top a {
  color: var(--green);
  letter-spacing: 0.04em;
  transition: color 0.12s ease;
}
.top a:first-child:hover,
.top a:first-child:active { color: var(--gold); }
.top a:hover,
.top a:active,
.top a[aria-current="page"] { color: var(--purple); }
.top .nr-theme-switch { margin-left: auto; }

main {
  max-width: 980px;
  margin: 0 auto;
}

h1, h2, h3, p { margin: 0; }
h1 {
  color: var(--gold);
  font-size: var(--fs-h1, 24px);
  font-weight: 500;
  margin-bottom: 16px;
}
h2 {
  color: var(--purple);
  font-size: var(--fs-h2, 11px);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.lead {
  color: var(--muted);
  font-size: var(--fs-lead, 12px);
  margin-bottom: 20px;
  max-width: 720px;
}

.article {
  max-width: 720px;
}
.article section {
  padding: 14px 0;
  border-top: 0.5px solid var(--line);
}
.article p {
  color: var(--muted);
}
.article p + p {
  margin-top: 9px;
}
.article strong {
  color: var(--green);
  font-weight: 500;
}
/* inline code reads as greentext (matches docs `code`), not the muted body grey */
code {
  color: var(--green);
}
.article a {
  color: var(--gold);
  text-decoration: none;
}
.article a:hover {
  color: var(--purple);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  font-size: var(--fs-body, 10px);
}
.article th,
.article td {
  text-align: left;
  padding: 6px 10px 6px 0;
  border-bottom: 0.5px solid var(--line);
  vertical-align: top;
}
.article th {
  color: var(--dim);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 9px;
}
.article td {
  color: var(--muted);
}
.article td:first-child {
  color: var(--gold);
  width: 34%;
}
.seealso {
  padding-top: 14px;
  color: var(--dim);
}

@media (max-width: 640px) {
  body { padding: 14px; }
  .article td:first-child { width: auto; }
}
