@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("./fonts/figtree-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --bg: #fff;
  --sidebar: #fafbf9;
  --text: #202722;
  --muted: #647169;
  --body-copy: #4b5951;
  --line: #e5eae5;
  --soft: #f5f7f4;
  --accent: #13764d;
  --accent-soft: #eaf4ed;
  --code: #f6f8f6;
  --shadow: 0 20px 90px #182e2429;
  --sidebar-width: 252px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101113;
  --sidebar: #111214;
  --text: #eceef0;
  --muted: #a0a5ab;
  --body-copy: #bdc2c8;
  --line: #282b2f;
  --soft: #191b1e;
  --accent: #81d5a3;
  --accent-soft: #192b22;
  --code: #15171a;
  --shadow: 0 20px 90px #0009;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px / 1.65 Figtree,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: -3px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button {
  border: 0;
}
[hidden] {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -60px;
  left: 16px;
  padding: 10px 18px;
  background: var(--text);
  color: var(--bg);
}
.skip-link:focus {
  top: 8px;
}
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 30;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 232px;
  flex: 0 0 auto;
  font-size: 16px;
  color: var(--muted);
}
.brand strong {
  color: var(--text);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.brand-mark {
  width: 31px;
  height: 31px;
  line-height: 29px;
  text-align: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -2px;
}
.brand-divider {
  height: 20px;
  width: 1px;
  background: var(--line);
  margin: 0 3px 0 8px;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  width: 370px;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
}
.search-trigger kbd {
  margin-left: auto;
  font:
    11px Figtree,
    sans-serif;
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
}
.header-actions {
  display: flex;
  height: 100%;
  gap: 22px;
  align-items: center;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}
.header-actions :where(a) .icon {
  color: var(--muted);
  margin-left: 5px;
  width: 14px;
  height: 14px;
}
.header-nav {
  height: 100%;
}
.header-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.header-tab:hover,
.header-tab[aria-current="page"] {
  color: var(--accent);
}
.header-tab[aria-current="page"] {
  border-bottom-color: var(--accent);
}
.header-tab .icon {
  width: 16px;
  height: 16px;
  margin: 0;
  color: inherit;
}
.theme-toggle,
.menu-toggle {
  background: transparent;
  color: var(--muted);
  padding: 4px;
  font-size: 22px;
  line-height: 1;
}
.theme-toggle .icon,
.menu-toggle .icon {
  width: 20px;
  height: 20px;
}
.theme-sun,
[data-theme="dark"] .theme-moon {
  display: none;
}
[data-theme="dark"] .theme-sun {
  display: inline-block;
}
.menu-toggle {
  display: none;
}
.sidebar {
  position: fixed;
  z-index: 25;
  top: 72px;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
}
.sidebar nav {
  overflow: auto;
  padding: 25px 18px 36px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.nav-group {
  margin-bottom: 24px;
}
.nav-group h2 {
  color: var(--text);
  margin: 0 12px 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.nav-group a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 2px 0;
}
.nav-group a:hover {
  color: var(--text);
  background: var(--soft);
}
.nav-group a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.nav-resource summary {
  list-style: none;
  cursor: pointer;
  padding: 7px 12px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-resource summary::-webkit-details-marker {
  display: none;
}
.nav-resource summary:hover {
  color: var(--text);
}
.chevron {
  width: 14px;
  height: 14px;
  margin-left: auto;
}
.nav-resource[open] .chevron {
  transform: rotate(90deg);
}
.nav-resource > div {
  border-left: 1px solid var(--line);
  margin: 3px 0 10px 12px;
}
.nav-resource a {
  padding: 5px 8px;
  font-size: 12px;
  gap: 7px;
  margin-left: 6px;
}
.nav-resource a > span:last-child {
  min-width: 0;
}
.sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.sidebar-footer a {
  margin-left: auto;
}
.sidebar-footer .icon {
  width: 11px;
  height: 11px;
  vertical-align: -1px;
}
.version-dot {
  background: var(--accent);
  height: 5px;
  width: 5px;
  border-radius: 50%;
}
.page-layout {
  margin: 72px 0 0 var(--sidebar-width);
  display: grid;
  grid-template-columns: minmax(0, 780px) 174px;
  gap: 64px;
  padding: 46px 48px 0 58px;
  justify-content: center;
}
main {
  min-width: 0;
}
.page-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 17px;
}
.page-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  color: var(--muted);
}
.copy-page {
  display: flex;
  gap: 7px;
  align-items: center;
  background: transparent;
  font-size: 12px;
  padding: 3px 0;
}
.copy-page:hover,
.page-actions a:hover {
  color: var(--accent);
}
.prose {
  overflow-wrap: break-word;
  font-size: 16px;
  line-height: 1.75;
}
.prose h1 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -1.25px;
  font-weight: 650;
  margin: 0 0 23px;
}
.prose h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin: 42px 0 15px;
  scroll-margin-top: 96px;
}
.prose h3 {
  font-size: 17px;
  margin: 26px 0 10px;
  font-weight: 600;
}
.prose h4 {
  margin: 22px 0 8px;
  font-size: 15px;
}
.prose p {
  color: var(--body-copy);
  margin: 0 0 18px;
}
.prose .lead {
  font-size: 19px;
  line-height: 1.6;
  max-width: 570px;
  margin-bottom: 25px;
}
.prose strong {
  font-weight: 600;
  color: var(--text);
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent) 30%, transparent);
}
.prose a:hover {
  text-decoration-color: var(--accent);
}
.prose ul,
.prose ol {
  padding-left: 23px;
  margin: 16px 0 24px;
  color: var(--body-copy);
}
.prose li {
  padding-left: 3px;
  margin: 7px 0;
}
.prose li::marker {
  color: var(--accent);
}
.intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 25px 0 36px;
  font-size: 13px;
  font-weight: 550;
}
.intro-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.intro-actions a.primary-link {
  padding: 9px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
}
.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 25px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 500;
  font-size: 13px;
}
.flow b {
  font:
    10px ui-monospace,
    monospace;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.flow > .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
code {
  font:
    13px / 1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text);
  overflow-wrap: anywhere;
}
pre.sample,
pre {
  position: relative;
  margin: 20px 0 25px;
  padding: 23px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--code);
  color: var(--text);
  overflow: auto;
  font:
    13px / 1.8 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  tab-size: 2;
}
pre code {
  font: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow-wrap: normal;
}
.code-wrap {
  position: relative;
}
.copy-code {
  position: absolute;
  right: 7px;
  top: 7px;
  z-index: 1;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.5;
  padding: 3px 7px;
}
.callout {
  background: var(--accent-soft);
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  margin: 25px 0;
  font-size: 14px;
}
.callout p {
  margin: 0;
  color: var(--text);
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0 26px;
  font-size: 14px;
}
.prose th {
  text-align: left;
  color: var(--text);
  font-weight: 600;
}
.prose th,
.prose td {
  padding: 12px 15px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose td {
  color: var(--body-copy);
}
.toc {
  align-self: start;
  position: sticky;
  top: 116px;
  font-size: 12px;
  padding-left: 17px;
  border-left: 1px solid var(--line);
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.toc p {
  font-weight: 600;
  margin: 0 0 14px;
}
.toc a {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  margin: 9px 0;
}
.toc a:hover,
.toc a[aria-current="location"] {
  color: var(--accent);
}
.toc-resources {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 10px;
  font-size: 11px;
}
.toc-resources a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.toc-resources .icon {
  width: 14px;
  height: 14px;
}
.page-pagination {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 55px 0 0;
  padding: 22px 0;
  gap: 20px;
}
.page-step {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.page-step:last-child {
  text-align: right;
}
.page-step span {
  font-size: 11px;
  color: var(--muted);
}
.page-step strong {
  font-size: 14px;
  font-weight: 550;
}
.page-step:where(:hover) strong {
  color: var(--accent);
}
.page-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  padding: 24px 0 32px;
}
.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font:
    650 9px / 1.4 Figtree,
    sans-serif;
  min-width: 34px;
  text-align: center;
  padding: 2px 4px;
  border-radius: 5px;
  letter-spacing: 0.025em;
  white-space: nowrap;
  background: #f1f5f9;
  color: #475569;
}
.method--get {
  color: #15803d;
  background: #22c55e14;
}
.method--post {
  color: #2563eb;
  background: #3b82f614;
}
.method--delete {
  color: #b91c1c;
  background: #ef444414;
}
.method--patch {
  color: #a16207;
  background: #eab3081a;
}
.method--put {
  color: #c2410c;
  background: #f9731617;
}
.method--head {
  color: #7c3aed;
  background: #8b5cf614;
}
[data-theme="dark"] .method {
  color: #cbd5e1;
  background: #94a3b81a;
}
[data-theme="dark"] .method--get {
  color: #4ade80;
  background: #4ade8020;
}
[data-theme="dark"] .method--post {
  color: #60a5fa;
  background: #60a5fa20;
}
[data-theme="dark"] .method--delete {
  color: #f87171;
  background: #f8717120;
}
[data-theme="dark"] .method--patch {
  color: #facc15;
  background: #facc151c;
}
[data-theme="dark"] .method--put {
  color: #fb923c;
  background: #fb923c20;
}
[data-theme="dark"] .method--head {
  color: #c4b5fd;
  background: #c4b5fd20;
}
.endpoint-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 7px;
  margin: 22px 0;
  overflow-wrap: anywhere;
}
.endpoint-bar code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
}
.endpoint-bar .method {
  padding: 3px 7px;
  font-size: 11px;
}
.field-list {
  border-top: 1px solid var(--line);
}
.field-row {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.field-row > p {
  font-size: 14px;
  margin: 9px 0 0;
}
.field-name {
  font:
    12px ui-monospace,
    monospace;
  color: var(--text);
  font-weight: 600;
}
.field-type {
  color: var(--muted);
  font:
    11px ui-monospace,
    monospace;
  margin-left: 9px;
  overflow-wrap: anywhere;
}
.field-required {
  color: var(--accent);
  font-size: 10px;
  margin-left: 9px;
}
.schema-children {
  margin-top: 12px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.schema-children summary {
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.schema-children .field-row:last-child {
  border: 0;
}
.response {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 10px 0;
  padding: 0 16px;
}
.response > summary {
  cursor: pointer;
  padding: 13px 0;
  font-size: 13px;
  font-weight: 550;
}
.response > summary code {
  margin-right: 9px;
}
.response .field-list {
  margin-bottom: 15px;
}
.search-dialog {
  position: fixed;
  top: 15vh;
  padding: 0;
  width: min(640px, calc(100% - 32px));
  max-height: 70vh;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-dialog::backdrop {
  background: #18282066;
  backdrop-filter: blur(3px);
}
.search-input-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.search-input-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 15px;
}
.search-close {
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}
.search-status {
  color: var(--muted);
  padding: 12px 20px 5px;
  margin: 0;
  font-size: 12px;
}
.search-results {
  max-height: 45vh;
  overflow-y: auto;
  padding: 5px 8px 12px;
}
.search-results a {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  padding: 10px 12px;
  gap: 2px;
}
.search-results a:hover,
.search-results a:focus {
  background: var(--accent-soft);
  outline: 0;
}
.search-results span {
  color: var(--accent);
  font-size: 10px;
}
.search-results strong {
  font-size: 14px;
  font-weight: 550;
}
.search-results p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.search-footer {
  display: flex;
  gap: 20px;
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
  font-size: 10px;
  padding: 10px 20px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  padding: 9px 18px;
  box-shadow: var(--shadow);
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
}
.toast[data-visible] {
  opacity: 1;
}
@media (min-width: 1600px) {
  .page-layout {
    gap: 80px;
    padding-top: 60px;
  }
}
@media (max-width: 1200px) {
  .page-layout {
    grid-template-columns: minmax(0, 760px);
    padding: 40px 42px 0;
  }
  .toc {
    display: none;
  }
  .brand {
    width: 202px;
  }
  .site-header {
    gap: 20px;
  }
  .search-trigger {
    width: 310px;
  }
}
@media (max-width: 800px) {
  :root {
    --sidebar-width: 226px;
  }
  .page-layout {
    padding: 35px 26px 0;
  }
  .header-actions .start-building {
    display: none;
  }
  .site-header {
    padding: 0 20px;
  }
  .brand {
    width: 186px;
  }
  .search-trigger {
    width: min(310px, 100%);
  }
  .prose h1 {
    font-size: 32px;
  }
}
@media (max-width: 640px) {
  .site-header {
    height: 62px;
    gap: 16px;
    padding: 0 18px;
  }
  .brand {
    width: auto;
  }
  .brand strong {
    font-size: 23px;
  }
  .brand > span:last-child,
  .brand-divider {
    display: none;
  }
  .search-trigger {
    width: auto;
    flex: 1;
    padding: 6px 9px;
  }
  .search-trigger > span:nth-child(2) {
    font-size: 0;
  }
  .search-trigger > span:nth-child(2)::after {
    content: "Search";
    font-size: 12px;
  }
  .search-trigger kbd {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
  .menu-toggle {
    display: block;
  }
  .sidebar {
    top: 62px;
    transform: translateX(-100%);
    visibility: hidden;
    width: 280px;
  }
  body[data-nav-open] .sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  body[data-nav-open] {
    overflow: hidden;
  }
  .nav-scrim {
    position: fixed;
    inset: 62px 0 0;
    background: #10251955;
    z-index: 20;
  }
  .page-layout {
    margin: 62px 0 0;
    padding: 28px 22px 0;
  }
  .page-meta {
    font-size: 11px;
  }
  .copy-page {
    font-size: 11px;
  }
  .prose h1 {
    font-size: 32px;
  }
  .prose .lead {
    font-size: 17px;
  }
  .prose h2 {
    font-size: 21px;
  }
  .prose p {
    font-size: 15px;
  }
  pre,
  pre.sample {
    padding: 21px 15px;
    font-size: 12px;
  }
  .flow {
    gap: 5px;
  }
  .flow span {
    font-size: 11px;
  }
  .page-footer {
    flex-direction: column;
    gap: 4px;
  }
  .intro-actions {
    gap: 18px;
  }
}
@media (max-width: 380px) {
  .search-trigger > span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .toast {
    transition: opacity 0.15s;
  }
}
.field-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.schema-constraints {
  color: var(--muted);
  font-size: 11px;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}
.schema-constraints summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
}
.schema-constraints dl {
  margin: 10px 0 0;
}
.schema-constraints dl > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 6px 0;
}
.schema-constraints dt {
  font-weight: 500;
}
.schema-constraints dd {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.media-type {
  display: block;
  color: var(--muted);
  font:
    11px ui-monospace,
    monospace;
  margin: 14px 0;
}
.response-status {
  font:
    12px ui-monospace,
    monospace;
  color: var(--accent);
  margin-right: 10px;
}
.complete-schema {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.complete-schema > summary {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
