:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #363342;
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
  font-synthesis: none;
  --ink: #252232;
  --muted: #706b7d;
  --line: #e7e4ed;
  --accent: #6542ba;
  --tint: #f1edfb;
  --sidebar: #faf9fc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #8d6bd1;
  outline-offset: 4px;
}
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  vertical-align: middle;
}
header {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  height: 76px;
  padding: 0 max(0px, calc((100vw - 1680px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 24px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.brand:hover {
  text-decoration: none;
}
.brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}
.header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(28px, 3.6vw, 56px);
  gap: 24px;
  font-size: 0.875rem;
}
.docs-label {
  color: var(--muted);
}
.version {
  font-size: 0.75rem;
  padding: 3px 6px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.header-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  max-width: 1680px;
  margin: 0 auto;
}
nav {
  padding: 30px 16px 24px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  height: calc(100vh - 76px);
  position: sticky;
  top: 76px;
  overflow-y: auto;
}
.nav-section {
  margin-bottom: 27px;
}
.nav-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8b8598;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0 12px;
  margin: 0 0 9px;
}
.nav-label span {
  font-weight: 400;
}
nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  margin: 3px 0;
  color: #625c70;
  font-size: 0.875rem;
  border-radius: 7px;
  line-height: 1.5;
}
nav a:hover {
  text-decoration: none;
  background: #f0edf5;
}
nav a[aria-current='page'] {
  background: #ece5fa;
  color: #5832a5;
  font-weight: 650;
}
.nav-text {
  flex: 1;
}
.nav-count {
  color: var(--muted);
  font-size: 0.75rem;
}
.operation-nav {
  margin: 6px 4px 10px 20px;
  border-left: 1px solid #d9d1e7;
  padding-left: 9px;
}
.operation-nav a {
  font-size: 0.75rem;
  gap: 8px;
  padding: 7px 6px;
  align-items: baseline;
}
.operation-nav .method {
  font-size: 0.75rem;
}
.nav-note {
  padding: 20px 12px 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: #655b77;
}
.nav-note > span:last-child {
  display: block;
  margin-top: 6px;
  color: #8a8296;
  line-height: 1.65;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #8f71c5;
  border-radius: 50%;
  margin-right: 6px;
}
main {
  min-width: 0;
  padding: 32px clamp(28px, 3.6vw, 56px) 0;
}
.breadcrumb {
  color: #8a8395;
  font-size: 0.8125rem;
  margin-bottom: 36px;
}
.breadcrumb span {
  margin: 0 11px;
  color: #c2baca;
}
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.3;
  font-weight: 650;
}
h1 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  letter-spacing: -0.04em;
  margin: 8px 0 14px;
}
h2 {
  font-size: 1.375rem;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
h3 {
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
}
p {
  margin: 12px 0 20px;
  max-width: 860px;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  margin: 0 0 7px;
}
.lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #625b71;
  max-width: 780px;
  margin: 12px 0 15px;
}
.intro {
  color: #777083;
  font-size: 0.9375rem;
  max-width: 900px;
}
.page-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.page-heading h1 {
  margin: 0;
}
.page-heading .badge {
  margin-left: auto;
}
.platform-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: var(--accent);
  background: var(--tint);
  border: 1px solid #e7dff6;
  flex-shrink: 0;
}
.platform-symbol .icon {
  width: 21px;
  height: 21px;
}
.badge {
  display: inline-flex;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  color: #746583;
  border: 1px solid #e6dfec;
  border-radius: 5px;
  background: #faf8fd;
  white-space: normal;
}
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  margin: 27px 0 36px;
  background: #faf8fe;
  border: 1px solid #e5dff2;
  border-radius: 8px;
  font-size: 0.875rem;
}
.callout > div {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  flex-shrink: 0;
}
.callout-label {
  font-size: 0.75rem;
  font-weight: 650;
  color: #8d7ba6;
}
.callout p {
  color: #80738f;
  margin: 0;
  font-size: 0.8125rem;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 42px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: inherit;
  background: #fff;
  box-shadow: 0 2px 4px #29203a04;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.platform-card:hover {
  text-decoration: none;
  border-color: #b9a5db;
  box-shadow: 0 4px 18px #5d3c9410;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.card-top > .icon {
  color: #b4a8c4;
}
.platform-card h2 {
  margin: 4px 0 10px;
}
.platform-card p {
  color: #736b80;
  font-size: 0.875rem;
  margin: 0 0 24px;
  line-height: 1.7;
}
.category {
  font-size: 0.75rem;
  color: #9a8eaa;
}
.availability {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0edf5;
  color: #766486;
  font-size: 0.75rem;
}
section {
  border-top: 1px solid var(--line);
  padding: 32px 0 36px;
  scroll-margin-top: 100px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-heading h2 {
  margin: 0;
}
.endpoint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 11px;
  background: #fcfbfe;
  flex-shrink: 0;
}
.method {
  color: #387e67;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.method.post {
  color: #95662a;
}
.operation-description {
  font-size: 0.9375rem;
  color: #766d83;
  margin-bottom: 26px;
}
.operation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 30px;
  align-items: start;
}
.operation-grid article,
.examples {
  min-width: 0;
}
.examples {
  position: sticky;
  top: 100px;
}
.language-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #a296b2;
}
code,
pre {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
code {
  font-size: 0.875em;
  overflow-wrap: anywhere;
}
.code {
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #30293e;
  color: #e2d9ee;
  background: #262131;
}
.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  border-bottom: 1px solid #3c344c;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: #b8a9cc;
  background: #2e273c;
}
.code pre {
  margin: 0;
  padding: 20px;
  overflow: auto;
  max-height: 610px;
  font-size: 0.8125rem;
  line-height: 1.85;
  tab-size: 2;
  scrollbar-color: #675678 #262131;
}
.code pre code {
  font-size: inherit;
  overflow-wrap: normal;
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: #d4c8e3;
  cursor: pointer;
  padding: 2px 4px;
  font: inherit;
}
.copy .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}
.copy:hover {
  color: #fff;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.6;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
thead th {
  font-size: 0.75rem;
  color: #8a7e99;
  font-weight: 550;
  background: #faf8fd;
}
/* Give identifiers and types room without breaking short words into letters. */
.operation-grid table {
  table-layout: fixed;
}
.operation-grid th:first-child {
  width: 30%;
}
.operation-grid th:nth-child(2) {
  width: 20%;
}
.operation-grid tbody th,
.operation-grid tbody td:nth-child(2) {
  overflow-wrap: break-word;
}
tbody th {
  font-family: 'SFMono-Regular', Consolas, monospace;
  color: #65527f;
  font-size: 0.8125rem;
  font-weight: 500;
}
tbody td {
  color: #777080;
}
tbody td:nth-child(2) {
  color: #876344;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.75rem;
}
tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}
.muted {
  font-size: 0.8125rem;
  color: #7a6d87;
}
.contract-note {
  padding: 8px 20px;
  background: #f8f5fc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #756880;
  font-size: 0.875rem;
}
.limits {
  padding-left: 21px;
  margin: 0;
  max-width: 940px;
}
.limits li {
  padding: 5px 0 8px 5px;
  color: #736a80;
  font-size: 0.9375rem;
}
.limits li::marker {
  color: #b5a4ca;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.result-grid h3 {
  margin: 6px 0 10px;
}
.result-grid p {
  margin: 0;
  color: #7b7187;
  font-size: 0.9375rem;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  color: #a295ae;
  font-size: 0.75rem;
}
footer a {
  color: #9383a6;
}
footer .icon {
  width: 14px;
  height: 14px;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  padding: 10px 16px;
  background: #fff;
  z-index: 20;
}
.skip:focus {
  top: 5px;
}
@media (max-width: 1240px) {
  .operation-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .examples {
    position: static;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .platform-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 18px;
    padding: 20px;
  }
  .card-top {
    grid-row: 1 / 5;
    margin: 0;
    align-items: start;
  }
  .card-top > .icon {
    display: none;
  }
  .platform-card p {
    margin-bottom: 16px;
  }
  .page-heading .badge {
    margin-left: 0;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .callout {
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (max-width: 800px) {
  header {
    height: 70px;
    grid-template-columns: 1fr auto;
  }
  .brand {
    padding: 0 20px;
  }
  .header-meta {
    padding: 0 20px 0 0;
  }
  .docs-label {
    display: none;
  }
  .shell {
    grid-template-columns: 1fr;
  }
  nav {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-section {
    display: contents;
  }
  nav a {
    font-size: 0.8125rem;
    padding: 7px 9px;
  }
  nav .icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
  .nav-label,
  .nav-note,
  .nav-count,
  .operation-nav {
    display: none;
  }
  main {
    padding: 26px 22px 0;
  }
  .breadcrumb {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 2rem;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading .badge {
    width: fit-content;
    margin: 3px 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .result-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .operation-grid {
    margin-top: 24px;
  }
  .callout > div {
    flex-wrap: wrap;
    flex-shrink: 1;
  }
  .code pre {
    padding: 16px;
    max-height: 470px;
  }
  th,
  td {
    padding: 11px;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.nested-heading {
  margin-top: 28px;
}
