:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #171d25;
  --ink: #f1f3f6;
  --muted: #abb8c9;
  --accent: #008aff;
  --focus: #3d8fc4;
  --line: #2e3b4b;
  --font: "Switzer", sans-serif;
  --button-bg: #006dcc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font: 16px/1.7 var(--font);
  background: var(--bg);
  color: var(--ink);
}
a {
  color: var(--focus);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
button,
input {
  font: inherit;
}
.docs-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-200%);
  padding: 8px 16px;
  background: var(--button-bg);
  color: #ffffff;
  z-index: 10;
}
.docs-skip:focus {
  transform: none;
}
.docs-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: #11161d;
  position: sticky;
  top: 0;
  z-index: 4;
}
.docs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.docs-brand svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}
.docs-brand > span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  color: var(--muted);
}
.docs-home {
  font-size: 14px;
  color: #dce7f5;
  white-space: nowrap;
}
.docs-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  max-width: 1440px;
  margin-inline: auto;
}
.docs-sidebar {
  padding: 40px 24px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.docs-nav-title {
  font-size: 13px;
  color: #8799b0;
  margin: 0 12px 20px;
}
.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.docs-sidebar nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: #bcc9d9;
  font-size: 14px;
}
.docs-sidebar nav a:hover {
  background: #1b2532;
  text-decoration: none;
}
.docs-sidebar nav a[aria-current="page"] {
  background: #15212d;
  color: var(--focus);
}
.docs-sidebar-note {
  margin-top: auto;
  font-size: 14px;
  color: #a8d9bd;
  padding: 24px 12px 0;
}
.docs-sidebar-note > span {
  color: var(--muted);
  font-size: 13px;
}
.docs-content {
  padding: 56px min(6vw, 80px) 32px;
  min-width: 0;
  max-width: 1096px;
}
.docs-content > h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 800px;
  text-wrap: balance;
}
.docs-content h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 48px 0 16px;
  scroll-margin-top: 110px;
}
.docs-content p {
  color: #bfccdc;
  max-width: 76ch;
  margin: 16px 0;
}
.docs-content .docs-lead {
  font-size: 20px;
  line-height: 1.6;
  color: #dce6f3;
  max-width: 65ch;
  margin-bottom: 32px;
}
.docs-content p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.docs-note {
  background: #172536;
  border: 1px solid #324a66;
  border-radius: 10px;
  padding: 18px 20px;
  color: #c7d6e9;
  font-size: 14px;
  margin: 24px 0;
  max-width: 80ch;
}
.docs-content code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  background: #202b39;
  padding: 2px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.docs-content pre {
  margin: 20px 0;
  background: #111a25;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  overflow: auto;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.7;
}
.docs-content pre code {
  font-size: 13px;
  color: #c8def9;
  background: none;
  padding: 0;
  border-radius: 0;
  overflow-wrap: normal;
  white-space: pre;
}
.code-shell {
  position: relative;
}
.code-shell pre {
  padding-top: 44px;
}
.copy-code {
  position: absolute;
  right: 12px;
  top: 10px;
  background: #151a21;
  color: var(--focus);
  border: 1px solid #334c6d;
  border-radius: 5px;
  cursor: pointer;
  padding: 4px 10px;
  font-size: 12px;
  min-height: 30px;
}
.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 20px;
}
.docs-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 500px;
}
.docs-content th,
.docs-content td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.docs-content th {
  background: #1b2532;
  font-weight: 500;
  color: #dfebfa;
}
.docs-content td {
  color: #bdcada;
}
.docs-content tr:last-child td {
  border-bottom: 0;
}
.docs-search {
  position: relative;
  width: min(400px, 40vw);
}
.docs-search input {
  width: 100%;
  height: 40px;
  padding: 8px 14px;
  background: #1a2431;
  color: var(--ink);
  border: 1px solid #35465c;
  border-radius: 8px;
  font-size: 14px;
}
.docs-search input::placeholder {
  color: #95a8bf;
}
.docs-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  min-width: 280px;
  max-height: 400px;
  overflow: auto;
  background: #192433;
  border: 1px solid #435d7b;
  border-radius: 10px;
  box-shadow: 0 14px 40px #0007;
  padding: 8px;
}
.docs-results[hidden] {
  display: none;
}
.docs-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-results a {
  display: block;
  padding: 12px;
  color: var(--ink);
  border-radius: 6px;
}
.docs-results a:hover {
  background: #233750;
  text-decoration: none;
}
.docs-results strong {
  font-size: 14px;
  font-weight: 500;
}
.docs-results p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.5;
}
.docs-no-results {
  font-size: 14px;
  color: var(--muted);
  padding: 12px;
}
.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;
}
.docs-hero {
  position: relative;
  padding: 0 0 32px;
}
.docs-kicker {
  font-size: 14px;
  color: var(--focus);
}
.docs-hero h1 {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 600;
  max-width: 650px;
  margin: 20px 0;
}
.docs-hero p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 620px;
}
.docs-primary {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  background: var(--button-bg);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}
.docs-primary:hover {
  text-decoration: none;
  background: #005fb5;
}
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.docs-card {
  display: block;
  position: relative;
  padding: 24px;
  background:
    radial-gradient(ellipse closest-side at 10% 10%, #008aff0d, transparent),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.docs-card:hover {
  text-decoration: none;
  border-color: #456c9d;
  transform: translateY(-3px);
}
.docs-card-mark {
  display: grid;
  place-items: center;
  color: var(--focus);
  width: 28px;
  height: 28px;
  font-size: 24px;
}
.docs-card h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin: 18px 0 12px;
  letter-spacing: -0.02em;
}
.docs-card p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.docs-summary {
  margin-top: 48px;
  padding: 24px;
  background: #172536;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.docs-summary h2 {
  margin-top: 0;
}
.docs-source {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 14px;
}
.docs-source span {
  color: var(--muted);
}
.docs-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1000px) {
  .docs-layout {
    grid-template-columns: 208px minmax(0, 1fr);
  }
  .docs-content {
    padding: 40px 32px;
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .docs-hero h1 {
    font-size: 42px;
  }
  .docs-content > h1 {
    font-size: 40px;
  }
  .docs-header {
    padding-inline: 24px;
  }
}
@media (max-width: 700px) {
  .docs-header {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding: 16px 20px;
    gap: 16px;
  }
  .docs-brand {
    font-size: 22px;
  }
  .docs-search {
    order: 3;
    width: 100%;
  }
  .docs-home {
    margin-left: auto;
  }
  .docs-layout {
    display: block;
  }
  .docs-sidebar {
    position: static;
    height: auto;
    display: block;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .docs-nav-title,
  .docs-sidebar-note {
    display: none;
  }
  .docs-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .docs-sidebar nav a {
    padding: 6px 10px;
    font-size: 12px;
  }
  .docs-content {
    padding: 36px 20px;
  }
  .docs-content > h1,
  .docs-hero h1 {
    font-size: 36px;
  }
  .docs-content .docs-lead,
  .docs-hero p {
    font-size: 18px;
  }
  .docs-content h2 {
    font-size: 24px;
  }
  .docs-footer {
    flex-direction: column;
    gap: 8px;
  }
  .docs-results {
    min-width: 0;
  }
  .docs-card {
    padding: 20px;
  }
  .docs-source span {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.setup-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.setup-choices a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.setup-choices a:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.setup-choices strong {
  color: var(--ink);
  font-size: 18px;
}
.setup-choices span {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 600px) {
  .setup-choices {
    grid-template-columns: 1fr;
  }
}
