:root {
  color-scheme: light;
  --bg: #ffffff;
  --sidebar: #f3f7fb;
  --surface: #edf3f8;
  --text: #18324c;
  --muted: #536b82;
  --line: #dce6ef;
  --primary: #002c55;
  --accent: var(--primary);
  --active: #e5eef6;
  --notice: #edf5fb;
  --notice-line: #81a71e;
  --get-bg: #eef4dc;
  --get-text: #506716;
  --post-bg: #fff0d9;
  --post-text: #85500a;
  --code-bg: var(--primary);
  --code-surface: #0a3a69;
  --code-text: #e2ecf7;
  --code-muted: #a7bcd0;
  --code-line: #295176;
  --code-accent: #b8d66c;
  --header-height: 64px;
  --toolbar-height: 56px;
  --example-toolbar-height: var(--toolbar-height);
  --examples-padding-top: 40px;
  --sidebar-width: 232px;
  --columns: minmax(0, 1fr) minmax(360px, 40%);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #061a2e;
    --sidebar: #08213a;
    --surface: #0c2c4b;
    --text: #e7f0fa;
    --muted: #adc0d4;
    --line: #244462;
    --primary: #002c55;
    --accent: #b4cee8;
    --active: #12395d;
    --notice: #0b3150;
    --notice-line: #81a71e;
    --get-bg: #293716;
    --get-text: #c4db81;
    --post-bg: #403222;
    --post-text: #f8ce87;
    --code-bg: var(--primary);
    --code-surface: #0a3a69;
    --code-text: #e2ecf7;
    --code-muted: #b4c7d9;
    --code-line: #295176;
    --code-accent: #b8d66c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061a2e;
  --sidebar: #08213a;
  --surface: #0c2c4b;
  --text: #e7f0fa;
  --muted: #adc0d4;
  --line: #244462;
  --primary: #002c55;
  --accent: #b4cee8;
  --active: #12395d;
  --notice: #0b3150;
  --notice-line: #81a71e;
  --get-bg: #293716;
  --get-text: #c4db81;
  --post-bg: #403222;
  --post-text: #f8ce87;
  --code-bg: var(--primary);
  --code-surface: #0a3a69;
  --code-text: #e2ecf7;
  --code-muted: #b4c7d9;
  --code-line: #295176;
  --code-accent: #b8d66c;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--doc-scroll-offset, var(--header-height));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  padding: 8px 16px;
  background: var(--bg);
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.topbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  flex: none;
  align-items: center;
  padding: 3px 5px;
  border-radius: 4px;
  background: #ffffff;
}
.brand img {
  width: 132px;
  height: auto;
}
:root[data-theme="dark"] .brand {
  background: transparent;
}
:root[data-theme="dark"] .brand img {
  filter: brightness(0) invert(1);
}
.header-divider {
  height: 22px;
  width: 1px;
  background: var(--line);
}
.header-title {
  font-size: 13px;
  color: var(--muted);
}
.version {
  font-size: 11px;
  font-weight: 650;
  color: var(--accent);
  background: var(--notice);
  border: 1px solid var(--notice-line);
  padding: 0 8px;
  border-radius: 5px;
}
.theme-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  flex: none;
}
.theme-toggle:hover {
  background: var(--active);
}
.theme-toggle .theme-icon-light {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .theme-icon-dark {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .theme-icon-light {
  display: inline-block;
}
.sidebar {
  position: fixed;
  left: 0;
  top: var(--header-height);
  bottom: 0;
  width: var(--sidebar-width);
  overflow-y: auto;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 28px 14px;
  z-index: 9;
}
.navigation summary {
  display: none;
}
.nav-label {
  margin: 0 12px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 5px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.65;
}
.nav-link:hover {
  background: var(--active);
  color: var(--text);
}
.nav-link.active {
  background: var(--active);
  color: var(--text);
  font-weight: 650;
}
.nav-group {
  margin: 22px 12px 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}
.nav-children {
  margin-left: 12px;
  border-left: 1px solid var(--line);
  padding-left: 6px;
}
.nav-children .nav-link {
  padding: 7px 8px;
  font-size: 11px;
}
.nav-method {
  font:
    700 8px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  flex: 0 0 28px;
}
.nav-method.get {
  color: var(--get-text);
}
.nav-method.post {
  color: var(--post-text);
}
.documentation {
  margin-left: var(--sidebar-width);
}
.docs-toolbar {
  display: grid;
  grid-template-columns: var(--columns);
  position: sticky;
  top: var(--header-height);
  z-index: 8;
  min-height: var(--toolbar-height);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  padding: 12px 36px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
}
.breadcrumb strong {
  font-weight: 500;
  color: var(--text);
}
.breadcrumb span {
  opacity: 0.55;
}
.example-toolbar {
  grid-column: 2;
  display: flex;
  align-items: center;
  padding: 10px 22px;
  gap: 14px;
  background: var(--code-bg);
  color: var(--code-muted);
  border-bottom: 1px solid var(--code-line);
}
.example-toolbar-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.language-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.language-tabs button {
  background: transparent;
  border: 1px solid transparent;
  color: var(--code-muted);
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.6;
  border-radius: 4px;
}
.language-tabs button:hover {
  color: white;
  background: var(--code-surface);
}
.language-tabs button[aria-pressed="true"] {
  color: white;
  background: var(--code-surface);
  border-color: var(--code-line);
}
.doc-row {
  display: grid;
  grid-template-columns: var(--columns);
}
#quickstart .quickstart-empty {
  padding: 0;
}
.doc-content {
  padding: 40px 36px 44px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}
.doc-content > :first-child {
  margin-top: 0;
}
.doc-content > :last-child {
  margin-bottom: 0;
}
.examples {
  padding: 40px 24px;
  min-width: 0;
  background: var(--code-bg);
  border-bottom: 1px solid var(--code-line);
  color: var(--code-text);
}
h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 {
  font-size: clamp(28px, 2.4vw, 40px);
  margin: 12px 0 14px;
}
h2 {
  font-size: 23px;
  margin: 0 0 18px;
}
h3 {
  font-size: 15px;
  margin: 30px 0 12px;
}
p {
  margin: 14px 0;
  color: var(--muted);
}
.lead {
  color: var(--text);
  font-size: 17px;
  margin-top: 0;
}
.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
code {
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.doc-content code {
  color: var(--text);
  background: var(--surface);
  padding: 2px 4px;
  border-radius: 3px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 24px 0 18px;
}
.small-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.info-card code {
  padding: 0;
  font-size: 12px;
}
.notice {
  margin: 22px 0;
  background: var(--notice);
  border: 1px solid var(--line);
  border-left: 3px solid var(--notice-line);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
}
.notice strong {
  color: var(--text);
}
.notice p {
  margin: 5px 0 0;
}
.notice p:first-child {
  margin-top: 0;
}
.steps {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 24px 0;
}
.steps li {
  position: relative;
  counter-increment: steps;
  padding: 0 0 20px 42px;
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.steps strong {
  font-size: 13px;
}
.steps p {
  margin: 4px 0 0;
  font-size: 12px;
}
.endpoint-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.endpoint-head code {
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}
.method {
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.03em;
  flex: none;
}
.method.get {
  background: var(--get-bg);
  color: var(--get-text);
}
.method.post {
  background: var(--post-bg);
  color: var(--post-text);
}
.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 12px;
  line-height: 1.65;
}
#products table,
#errors table {
  min-width: 620px;
}
th,
td {
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 650;
  background: var(--surface);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
td {
  color: var(--muted);
}
th:first-child,
td:first-child {
  padding-left: 10px;
}
td:first-child {
  color: var(--text);
}
td code {
  font-size: 11px;
  white-space: nowrap;
}
.code-block {
  margin: 0 0 24px;
  border: 1px solid var(--code-line);
  background: var(--code-surface);
  border-radius: 6px;
  overflow: hidden;
}
.code-block:last-child {
  margin-bottom: 0;
}
.code-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--code-line);
  font-size: 10px;
  line-height: 1.5;
  color: var(--code-muted);
}
.code-heading > span:first-child {
  margin-right: auto;
}
.copy-button {
  flex: none;
  padding: 2px 6px;
  background: transparent;
  border: 1px solid var(--code-line);
  border-radius: 3px;
  color: var(--code-muted);
  font-size: 10px;
}
.copy-button:hover {
  color: white;
  border-color: var(--code-muted);
}
.examples :focus-visible,
.example-toolbar :focus-visible {
  outline-color: var(--code-accent);
}
.response-status {
  color: var(--code-accent);
  font-size: 9px;
}
pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-size: 11px;
  line-height: 1.85;
  tab-size: 2;
}
.examples pre {
  scrollbar-color: var(--code-line) var(--code-surface);
  scrollbar-width: thin;
}
.examples pre::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.examples pre::-webkit-scrollbar-track {
  background: var(--code-surface);
}
.examples pre::-webkit-scrollbar-thumb {
  background: var(--code-line);
  border: 2px solid var(--code-surface);
  border-radius: 8px;
}
.examples pre::-webkit-scrollbar-thumb:hover {
  background: var(--code-muted);
}
pre code {
  font: inherit;
  color: var(--code-text);
  overflow-wrap: normal;
  white-space: pre;
}
.example-intro {
  font-size: 12px;
  color: var(--code-muted);
  line-height: 1.7;
  margin: 0 0 26px;
}
.examples > p code {
  color: var(--code-text);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  :root {
    --columns: minmax(0, 1fr) minmax(460px, 36%);
  }
  .doc-content {
    padding-left: 48px;
    padding-right: 60px;
  }
  .breadcrumb {
    padding-left: 48px;
  }
  .doc-content > p,
  .doc-content > .notice,
  .doc-content > .info-card,
  .doc-content > .steps {
    max-width: 780px;
  }
  .examples {
    padding: 40px 30px;
  }
  pre {
    font-size: 12px;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar-width: 208px;
    --columns: minmax(0, 1fr) minmax(330px, 42%);
  }
  .doc-content {
    padding: 32px 24px;
  }
  .breadcrumb {
    padding-left: 24px;
  }
  .example-toolbar-label {
    display: none;
  }
  .example-toolbar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .examples {
    padding: 32px 16px;
  }
  :root {
    --examples-padding-top: 32px;
  }
}
@media (max-width: 1050px) {
  :root {
    --columns: minmax(0, 1fr);
  }
  html {
    scroll-padding-top: var(--doc-scroll-offset, calc(var(--header-height) + var(--toolbar-height)));
  }
  .docs-toolbar {
    display: flex;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .breadcrumb {
    border: 0;
    flex: 1;
  }
  .example-toolbar {
    border: 0;
  }
  .examples {
    padding: 24px;
  }
  #quickstart .quickstart-empty {
    display: none;
  }
  .doc-content {
    border-bottom: 0;
    padding-bottom: 30px;
  }
  .examples .code-block {
    max-width: 100%;
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 56px;
    --toolbar-height: 52px;
  }
  .topbar {
    gap: 12px;
    padding: 0 16px;
  }
  .brand img {
    width: 110px;
  }
  .header-divider {
    display: none;
  }
  .header-title {
    font-size: 12px;
  }

  .sidebar {
    position: static;
    width: auto;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .navigation summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
  }
  .navigation summary::-webkit-details-marker {
    display: none;
  }
  .navigation[open] summary span {
    transform: rotate(180deg);
  }
  .navigation nav {
    padding: 14px;
  }
  .documentation {
    margin-left: 0;
  }
  .breadcrumb {
    display: none;
  }
  .example-toolbar {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
  }
  .language-tabs {
    justify-content: center;
  }
  .language-tabs button {
    padding: 5px 9px;
  }
  .doc-content {
    padding: 30px 20px;
  }
  .examples {
    padding: 24px 20px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 22px;
  }
  table {
    min-width: 420px;
  }
}
@media (max-width: 480px) {
  .header-title {
    display: none;
  }
}
@media (min-width: 1051px) {
  #introduction {
    margin-top: calc(-1 * var(--example-toolbar-height));
  }
  .examples {
    padding-top: calc(var(--example-toolbar-height) + var(--examples-padding-top));
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  :root,
  :root[data-theme] {
    color-scheme: light;
    --bg: white;
    --text: black;
    --muted: #444;
    --surface: #f5f5f5;
    --line: #ddd;
    --primary: #002c55;
    --accent: var(--primary);
    --notice: #f5f5f5;
    --code-bg: #f5f5f5;
    --code-surface: #f5f5f5;
    --code-text: black;
    --code-muted: #444;
    --code-line: #ddd;
    --code-accent: #146c60;
  }
  .sidebar,
  .docs-toolbar,
  .copy-button,
  .theme-toggle,
  .skip-link {
    display: none !important;
  }
  .topbar {
    position: static;
  }
  .brand img {
    filter: none;
  }
  .documentation {
    margin-left: 0;
  }
  .doc-row {
    display: block;
    break-inside: avoid;
  }
  .doc-content,
  .examples {
    padding: 20px 0;
  }
  pre {
    white-space: pre-wrap;
    overflow: visible;
  }
  pre code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .table-wrap {
    overflow: visible;
  }
}
