@font-face {
  font-family: Satoshi;
  src: url("assets/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: JetBrains;
  src: url("assets/JetBrainsMono-Regular.woff2") format("woff2");
  font-display: swap;
}
:root {
  --bg: #f8fafc;
  --surface: #fff;
  --text: #1e293b;
  --muted: #526277;
  --border: #dce3ec;
  --teal: #167c91;
  --navy: #0c2962;
  --amber: #f7a619;
  --tint: #edf8fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 Satoshi,
    system-ui,
    sans-serif;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--teal);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: var(--tint);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.amber {
  background: var(--amber);
  color: var(--text);
  border-color: var(--amber);
}
.review {
  background: var(--navy);
  color: white;
  padding: 8px 32px;
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.review span {
  font-weight: 400;
  letter-spacing: 0;
}
.review a {
  margin-left: auto;
  color: white;
}
header {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 750;
  color: var(--navy);
  white-space: nowrap;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  color: var(--text);
  font-size: 14px;
}
.utility {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--teal);
}
.utility .eyebrow {
  width: 220px;
}
#search-open {
  color: var(--muted);
  font-weight: 400;
  justify-content: space-between;
  max-width: 520px;
  flex: 1;
}
.utility > a {
  margin-left: auto;
  font-size: 14px;
}
kbd {
  font: 12px Satoshi;
  background: var(--bg);
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
#menu {
  display: none;
}
.layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 40px;
  max-width: 1600px;
  margin: auto;
  padding: 32px;
}
aside {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100vh - 115px);
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
}
aside h3 {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 20px 12px 6px;
}
aside h3:first-child {
  margin-top: 0;
}
aside a {
  display: block;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
  border-radius: 7px;
  line-height: 1.5;
}
aside a.active {
  background: var(--tint);
  color: var(--teal);
  font-weight: 750;
}
aside a:hover {
  background: #eef2f6;
  text-decoration: none;
}
main {
  min-width: 0;
  max-width: 1180px;
  padding-bottom: 40px;
}
h1 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 16px 0;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 10px;
}
p {
  margin: 0 0 16px;
}
.intro {
  max-width: 850px;
  margin-bottom: 30px;
}
.intro p {
  color: var(--muted);
  font-size: 17px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.card p {
  color: var(--muted);
}
.card > a:last-child {
  display: inline-block;
  font-weight: 650;
  margin-top: 8px;
}
.callout {
  border: 1px solid #c4e6ec;
  border-left: 4px solid var(--teal);
  background: var(--tint);
  padding: 20px 24px;
  border-radius: 10px;
  margin: 24px 0;
}
.callout p:last-child {
  margin: 0;
}
.warning {
  background: #fffbf2;
  border-color: #f2dbad;
  border-left-color: var(--amber);
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 13px;
}
.endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    15px JetBrains,
    monospace;
  margin: 24px 0;
  overflow-wrap: anywhere;
}
.method {
  font: 700 12px Satoshi;
  padding: 4px 9px;
  background: #dcf7ed;
  color: #14634e;
  border-radius: 5px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.tabs button[aria-selected="true"],
.tabs a.active {
  background: var(--tint);
  border-color: var(--teal);
  color: var(--teal);
}
.config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.option {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: flex-start;
  cursor: pointer;
  background: white;
}
.option:has(input:checked) {
  border-color: var(--teal);
  background: #f4fbfc;
}
.option input {
  accent-color: var(--teal);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
}
.option strong,
.option small {
  display: block;
}
.option .price {
  font-weight: 700;
  color: var(--teal);
  font-size: 14px;
  margin-top: 6px;
}
.estimate {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.estimate h3 {
  font-size: 18px;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #eef2f6;
}
.cost-total {
  font-size: 30px;
  letter-spacing: -0.03em;
  font-weight: 750;
  margin: 12px 0 0;
}
.estimate input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  margin: 8px 0;
}
.sample-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  margin: 24px 0;
}
.codebox {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #eef2f6;
  overflow: hidden;
}
.codebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.codebar .tabs {
  margin: 0;
  gap: 2px;
}
.codebar button {
  font-size: 12px;
  min-height: 36px;
  padding: 6px 10px;
}
.codebar .tabs button {
  border-color: transparent;
  background: transparent;
}
.codebar .tabs button[aria-selected="true"] {
  color: var(--teal);
  background: white;
  border-color: var(--border);
}
pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  max-width: 100%;
  font:
    13px/1.7 JetBrains,
    monospace;
  tab-size: 2;
  white-space: pre;
}
code {
  font-family: JetBrains, monospace;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
pre code {
  font-size: inherit;
  overflow-wrap: normal;
}
.response {
  background: white;
}
.response small {
  display: block;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}
.fields {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}
.field {
  padding: 16px 20px;
  background: white;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}
.field:last-child {
  border-bottom: 0;
}
.field p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
details {
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
}
details[open] > summary {
  margin-bottom: 20px;
}
.all-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.page-link {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 8px;
  background: white;
}
.page-link small {
  display: block;
}
.reference {
  margin-top: 28px;
}
.reference :is(main, div, section) {
  max-width: 100%;
  min-width: 0;
}
.reference h1 {
  font-size: 28px;
}
.reference h2 {
  margin: 30px 0 16px;
}
.reference h3 {
  margin: 24px 0 12px;
}
.reference p,
.reference li {
  font-size: 15px;
}
.reference pre {
  background: #eef2f6;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 16px 0;
}
.reference table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.reference td,
.reference th {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.reference th {
  background: #eef2f6;
}
.table-scroll {
  overflow: auto;
  margin: 20px 0;
}
.reference ul,
.reference ol {
  padding-left: 24px;
}
.reference .api-console-widget,
.reference .api-console-container,
.reference .api-sidebar,
.reference .api-nav {
  display: none;
}
.source-note {
  font-size: 12px;
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  margin-top: 30px;
}
.page-toc {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.page-toc a {
  background: white;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 20px 0;
}
.step > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--tint);
  color: var(--teal);
  font-weight: 750;
  border-radius: 50%;
}
.step p {
  color: var(--muted);
}
footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  width: min(680px, calc(100% - 32px));
  max-height: 80vh;
  color: var(--text);
  box-shadow: 0 24px 100px #0c296226;
}
dialog::backdrop {
  background: #0c296266;
}
.search-head {
  display: flex;
  gap: 12px;
}
#search-input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
#search-results {
  margin: 20px 0;
  max-height: 50vh;
  overflow: auto;
}
#search-results a {
  display: block;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
#search-results a:hover {
  background: var(--tint);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 30;
  display: none;
}
.catalog-filter {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
}
.cost-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0;
}
.hidden {
  display: none !important;
}
.flow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.flow a {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  flex: 1;
  font-weight: 700;
}
@media (min-width: 1600px) {
  main {
    padding-right: 20px;
  }
}
@media (max-width: 1100px) {
  .layout {
    display: block;
    padding: 28px;
  }
  .utility .eyebrow {
    display: none;
  }
  #menu {
    display: inline-flex;
  }
  aside {
    display: none;
  }
  aside.open {
    display: block;
    position: fixed;
    inset: 190px 0 0 0;
    max-height: none;
    background: white;
    z-index: 20;
    padding: 24px;
    box-shadow: 0 20px 40px #0c296233;
  }
  header nav {
    gap: 16px;
  }
  .config-grid {
    grid-template-columns: 1fr 280px;
  }
}
@media (max-width: 767px) {
  .review {
    padding: 8px 20px;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .review span {
    display: none;
  }
  header {
    padding: 16px 20px;
  }
  .brand {
    font-size: 18px;
  }
  header nav {
    display: none;
  }
  header > .button {
    font-size: 12px;
    padding: 8px 12px;
  }
  .utility {
    padding: 12px 20px;
    gap: 8px;
  }
  .utility > a {
    display: none;
  }
  #search-open {
    font-size: 12px;
  }
  kbd {
    display: none;
  }
  #menu {
    font-size: 12px;
    padding: 8px 10px;
  }
  .layout {
    padding: 24px 20px;
  }
  .grid,
  .two,
  .config-grid,
  .sample-grid,
  .all-pages {
    grid-template-columns: 1fr;
  }
  .options {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 22px;
  }
  .intro p {
    font-size: 16px;
  }
  .card {
    padding: 20px;
  }
  .field {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .reference table {
    min-width: 580px;
  }
  pre {
    font-size: 12px;
    padding: 16px;
  }
  .codebar {
    padding: 10px;
    flex-wrap: wrap;
  }
  .codebar .tabs {
    flex-wrap: nowrap;
  }
  .codebar button {
    padding: 6px 8px;
  }
  .endpoint {
    font-size: 13px;
  }
  .estimate {
    padding: 20px;
  }
  aside.open {
    top: 167px;
  }
  footer {
    padding: 20px;
    display: block;
  }
  footer span {
    display: block;
  }
  .page-toc {
    max-height: 160px;
    overflow: auto;
  }
}
/* Keep example panes compact while preserving every response field. */
.sample-grid {
  align-items: start;
}
.sample-grid pre {
  max-height: 470px;
  overflow: auto;
}
#sidebar h3 {
  font-size: 11px;
}
.estimate h3 {
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  margin: 0 0 12px;
}
.estimate a {
  display: inline;
  color: var(--teal);
  padding: 0;
  font-size: 14px;
}
.estimate {
  padding-right: 22px;
  overflow: visible;
}

.docs-breadcrumb{padding:12px 32px;font-size:13px;color:var(--muted)}
.documentation-answers{margin-top:24px}.documentation-answers pre{overflow-x:auto;white-space:pre;max-width:100%;padding:16px;background:var(--bg)}
