.docs-surface {
  --docs-ink: #101828;
  --docs-muted: #526077;
  --docs-line: #e5e9f2;
  --docs-brand: #2563eb;
  position: relative;
}

.docs-surface::before {
  display: none;
}

.docs-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
}

.docs-live-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #10b981;
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.docs-sidebar-panel {
  border: 1px solid var(--docs-line);
  border-radius: 0.65rem;
  background: #fff;
}

.docs-search-wrap {
  position: relative;
}

.docs-search-wrap svg {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: #8490a5;
  pointer-events: none;
}

.docs-search {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.62rem 2.25rem 0.62rem 2.25rem;
  border: 1px solid #d8deea;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: var(--docs-ink);
  font-size: 0.84rem;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.docs-search:focus {
  border-color: #60a5fa;
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.docs-search-key {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  color: #98a2b3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.docs-nav-heading {
  margin: 1.15rem 0 0.35rem;
  color: #667085;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-nav-link {
  position: relative;
  display: flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.52rem;
  margin: 0.08rem 0;
  padding: 0.38rem 0.55rem;
  border-radius: 0.55rem;
  color: #344054;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.docs-nav-link:hover {
  color: #1d4ed8;
  background: #f8fafc;
}

.docs-nav-link[aria-current='page'] {
  color: #1d4ed8;
  background: #eaf2ff;
  font-weight: 650;
}

.docs-nav-link[aria-current='page']::before {
  position: absolute;
  top: 0.42rem;
  bottom: 0.42rem;
  left: -0.75rem;
  width: 0.18rem;
  border-radius: 99px;
  content: '';
  background: var(--docs-brand);
}

.docs-method {
  display: inline-grid;
  min-width: 2.65rem;
  place-items: center;
  padding: 0.18rem 0.38rem;
  border: 1px solid;
  border-radius: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.docs-method-get {
  border-color: #0284c7;
  color: #fff;
  background: #0284c7;
}

.docs-method-post {
  border-color: #059669;
  color: #fff;
  background: #059669;
}

.docs-content {
  min-width: 0;
}

.docs-article {
  max-width: 49rem;
}

.docs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-kicker::before {
  display: none;
}

.docs-title {
  max-width: 48rem;
  color: var(--docs-ink);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.docs-lead {
  max-width: 45rem;
  margin-top: 0.9rem;
  color: var(--docs-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.65;
}

.docs-section-title {
  position: relative;
  margin-top: 2.8rem;
  color: var(--docs-ink);
  font-size: 1.22rem;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.docs-section-title::before {
  display: none;
}

.docs-card {
  border: 1px solid var(--docs-line);
  border-radius: 0.65rem;
  background: #fff;
  transition: border-color 160ms ease, background 160ms ease;
}

.docs-card:hover {
  border-color: #bfdbfe;
  background: #fdfefe;
}

.docs-endpoint-bar {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid #d8dee9;
  border-radius: 0.65rem;
  background: #f8fafc;
}

.docs-endpoint-bar::after {
  display: none;
}

.docs-prose .docs-endpoint-path {
  padding: 0;
  border: 0;
  color: #1d4ed8;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 600;
}

.docs-endpoint-bar .docs-copy {
  border-color: #cbd5e1;
  color: #344054;
  background: #fff;
}

.docs-endpoint-bar .docs-copy:hover {
  border-color: #94a3b8;
  color: #101828;
  background: #f8fafc;
}

.docs-table-wrap {
  overflow: hidden;
  margin-top: 1.15rem;
  border: 1px solid var(--docs-line);
  border-radius: 0.6rem;
  background: #fff;
}

.docs-table-wrap > div {
  overflow-x: auto;
}

.docs-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.83rem;
}

.docs-table-wrap thead {
  border-bottom: 1px solid var(--docs-line);
  background: #f7f8fb;
}

.docs-table-wrap th {
  padding: 0.72rem 0.9rem;
  color: #344054;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.docs-table-wrap td {
  padding: 0.78rem 0.9rem;
  color: #526077;
  vertical-align: top;
}

.docs-table-wrap tbody tr + tr {
  border-top: 1px solid #edf0f5;
}

.docs-table-wrap tbody tr:hover {
  background: #fafaff;
}

.docs-code-figure {
  margin-top: 1.25rem;
}

.docs-code {
  overflow: hidden;
  margin-top: 0.5rem;
  border: 1px solid #222d45;
  border-radius: 0.65rem;
  background: #0a1020;
}

.docs-code-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.docs-code-label {
  color: #475467;
  font-size: 0.78rem;
  font-weight: 600;
}

.docs-code-label::before {
  display: none;
}

.docs-code pre {
  overflow-x: auto;
  margin: 0;
  padding: 1.15rem 1.2rem 1.3rem;
  tab-size: 2;
  color: #c8d3e6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.79rem;
  line-height: 1.75;
}

.docs-copy {
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.5rem;
  color: #c1ccdc;
  background: rgb(255 255 255 / 0.04);
  font-size: 0.7rem;
  font-weight: 650;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.docs-copy:hover {
  border-color: rgb(255 255 255 / 0.2);
  color: #fff;
  background: rgb(255 255 255 / 0.09);
}

.docs-code-caption .docs-copy {
  border-color: #d0d5dd;
  color: #344054;
  background: #fff;
}

.docs-code-caption .docs-copy:hover {
  border-color: #98a2b3;
  color: #101828;
  background: #f9fafb;
}

.docs-param-name {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.docs-prose .docs-param-name code {
  padding: 0;
  border: 0;
  color: #1d4ed8;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 650;
}

.docs-param-required {
  color: #b42318;
  font-size: 0.68rem;
  font-weight: 600;
}

.docs-param-location {
  display: block;
  margin-top: 0.2rem;
  color: #667085;
  font-size: 0.68rem;
}

.tok-key { color: #7dd3fc; }
.tok-string { color: #86efac; }
.tok-number { color: #c4b5fd; }
.tok-bool { color: #f9a8d4; }
.tok-null { color: #fda4af; }
.tok-comment { color: #70819c; font-style: italic; }
.tok-command { color: #c4b5fd; }
.tok-option { color: #67e8f9; }
.tok-variable { color: #fcd34d; }
.tok-keyword { color: #f0abfc; }
.tok-function { color: #93c5fd; }
.tok-punctuation { color: #7f8da6; }

.docs-callout {
  position: relative;
  overflow: hidden;
  margin-top: 1.25rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px solid;
  border-radius: 0.55rem;
  font-size: 0.86rem;
}

.docs-callout-info { border-color: #bae6fd; background: #f0f9ff; color: #0c4a6e; }
.docs-callout-warn { border-color: #fde68a; background: #fffbeb; color: #78350f; }
.docs-callout-danger { border-color: #fecdd3; background: #fff1f2; color: #881337; }

.docs-toc {
  display: none;
}

.docs-toc-link {
  display: block;
  margin: 0.15rem 0;
  padding: 0.34rem 0.55rem;
  border-left: 2px solid transparent;
  color: #7a8699;
  font-size: 0.73rem;
  line-height: 1.35;
  transition: color 140ms ease, border-color 140ms ease;
}

.docs-toc-link:hover,
.docs-toc-link.is-active {
  border-left-color: #2563eb;
  color: #1d4ed8;
}

.docs-prose p,
.docs-prose li {
  color: #526077;
}

.docs-prose code:not(pre code) {
  padding: 0.13rem 0.34rem;
  border: 1px solid #e2e6ef;
  border-radius: 0.35rem;
  color: #1d4ed8;
  background: #eff6ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84em;
}

.docs-prose a:not(.docs-card):not(.docs-nav-link) {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (min-width: 64rem) {
  .docs-layout {
    grid-template-columns: 16.5rem minmax(0, 1fr);
    gap: 2.25rem;
  }

  .docs-sidebar-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

@media (min-width: 78rem) {
  .docs-layout {
    grid-template-columns: 16rem minmax(0, 1fr) 11.5rem;
    gap: 2.1rem;
  }

  .docs-toc {
    display: block;
  }
}

@media (max-width: 63.999rem) {
  .docs-topbar-links {
    display: none;
  }

  .docs-sidebar-panel[open] {
    box-shadow: none;
  }
}

@media (max-width: 40rem) {
  .docs-title {
    font-size: 2rem;
  }

  .docs-endpoint-bar {
    padding: 0.85rem;
  }

  .docs-code pre {
    padding: 1rem;
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .docs-card,
  .docs-nav-link,
  .docs-copy {
    transition: none;
  }
}
