@font-face {
  font-display: swap;
  font-family: "Lexend Deca";
  font-style: normal;
  font-weight: 100 900;
  src: url("/assets/fonts/LexendDeca-VariableFont_wght.ttf") format("truetype");
}

:root {
  --sm-navy: #07285a;
  --sm-navy-900: #041a3d;
  --sm-magenta: #d83483;
  --sm-teal: #09ae9a;
  --sm-yellow: #f6c705;
  --sm-ink: #191715;
  --sm-paper: #fdfdfd;
  --sm-line: rgba(7, 40, 90, 0.12);
  --sm-muted: #667085;
  --docs-header-height: 58px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sm-paper);
  color: var(--sm-ink);
  font-family:
    "Lexend Deca",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--docs-header-height) + 16px);
}

.docs-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.docs-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 8px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(7, 40, 90, 0.09);
  background: rgba(253, 253, 253, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  display: block;
  width: auto;
  max-width: min(184px, 42vw);
  height: 34px;
  object-fit: contain;
}

.docs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--sm-navy);
  font-size: 12.5px;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
}

.docs-nav a {
  color: inherit;
  text-decoration: none;
  padding: 8px 9px;
  border-radius: 8px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.docs-nav a:hover {
  background: rgba(7, 40, 90, 0.08);
}

.docs-nav-external-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(7, 40, 90, 0.12);
}

.docs-nav-external {
  border: 1px solid rgba(7, 40, 90, 0.14);
  background: rgba(253, 253, 253, 0.72);
}

.docs-nav-external:hover {
  border-color: rgba(9, 174, 154, 0.34);
  background: rgba(9, 174, 154, 0.08);
}

.docs-mobile-menu {
  display: none;
  position: relative;
  flex: 0 0 auto;
}

.docs-mobile-menu summary {
  display: inline-grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 40, 90, 0.14);
  border-radius: 10px;
  background: #ffffff;
  color: var(--sm-navy);
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 20px rgba(7, 40, 90, 0.08);
}

.docs-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.docs-mobile-menu summary span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.docs-mobile-menu[open] summary span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.docs-mobile-menu[open] summary span:nth-child(2) {
  opacity: 0;
}

.docs-mobile-menu[open] summary span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.docs-mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  width: min(320px, calc(100vw - 40px));
  padding: 8px;
  border: 1px solid rgba(7, 40, 90, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(7, 40, 90, 0.14);
}

.docs-mobile-nav a {
  color: var(--sm-navy);
  font-size: 14px;
  font-weight: 740;
  padding: 11px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.docs-mobile-nav a:hover,
.docs-mobile-nav a:focus-visible {
  background: rgba(7, 40, 90, 0.08);
  outline: none;
}

#scalar-reference,
[id="api-reference"],
[id="mcp-docs"],
[id^="api-1/tag/"] {
  scroll-margin-top: calc(var(--docs-header-height) + 16px);
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 68px) clamp(20px, 5vw, 56px) clamp(30px, 4vw, 50px);
  border-bottom: 1px solid var(--sm-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(253, 253, 253, 0.35)),
    linear-gradient(90deg, rgba(7, 40, 90, 0.03), rgba(9, 174, 154, 0.03));
}

.docs-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 36px;
  padding: 7px 10px;
  border: 1px solid rgba(7, 40, 90, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--sm-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.docs-hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--sm-navy-900);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 740;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.docs-hero p:not(.docs-kicker) {
  max-width: 620px;
  margin: 18px 0 0;
  color: #344054;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 430;
  line-height: 1.55;
}

.docs-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.docs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 660;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.docs-cta-primary {
  border: 1px solid var(--sm-navy);
  background: var(--sm-navy);
  color: #ffffff;
}

.docs-cta-primary:hover,
.docs-cta-primary:focus-visible {
  background: #d83483;
  border-color: #d83483;
  color: #fdfdfd;
  outline: none;
  transform: translateY(-1px);
}

.docs-cta-secondary {
  border: 1px solid rgba(7, 40, 90, 0.16);
  background: rgba(253, 253, 253, 0.72);
  color: var(--sm-navy);
}

.docs-cta-secondary:hover,
.docs-cta-secondary:focus-visible {
  border-color: rgba(216, 52, 131, 0.45);
  color: #d83483;
  background: rgba(216, 52, 131, 0.08);
  outline: none;
  transform: translateY(-1px);
}

/* Press settles from the hover lift; placed after hover so it wins on equal specificity. */
.docs-cta:active {
  transform: translateY(0);
}

.docs-cta:focus-visible {
  box-shadow: 0 0 0 3px rgba(9, 174, 154, 0.22);
}

.docs-hero-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.docs-hero-mcp {
  display: grid;
  gap: 10px;
}

.docs-hero-mcp-label {
  color: var(--sm-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-hero-facts {
  margin: 0;
  color: var(--sm-muted);
  font-size: 13px;
  font-weight: 600;
}

.docs-hero-facts b {
  color: var(--sm-navy-900);
  font-weight: 740;
}

.docs-hero-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-hero-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.docs-hero-step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--sm-navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.docs-hero-steps li > span:last-child {
  display: grid;
  gap: 2px;
  color: var(--sm-muted);
  font-size: 13px;
  line-height: 1.4;
}

.docs-hero-steps strong {
  color: var(--sm-navy-900);
  font-size: 14px;
  font-weight: 660;
}

.docs-mark-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(7, 40, 90, 0.1);
}

.docs-mark-lockup img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.docs-mark-lockup strong {
  display: block;
  color: var(--sm-navy);
  font-size: 15px;
  line-height: 1.2;
}

.docs-mark-lockup span {
  display: block;
  margin-top: 3px;
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 700;
}

.docs-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.docs-status-item {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.docs-status-item b {
  display: block;
  color: var(--sm-navy-900);
  font-size: 20px;
  line-height: 1;
}

.docs-status-item span {
  display: block;
  margin-top: 8px;
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.docs-mcp-section {
  display: grid;
  gap: 24px;
  padding: clamp(40px, 6vw, 78px) clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--sm-line);
  background: #ffffff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.docs-section-heading {
  max-width: 880px;
  min-width: 0;
}

.docs-section-heading h2 {
  margin: 0;
  color: var(--sm-navy-900);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: 0;
}

.docs-section-heading p:not(.docs-kicker) {
  margin: 16px 0 0;
  color: #344054;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 430;
  line-height: 1.6;
}

.docs-client-strip {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.docs-client-strip > span {
  color: #475467;
  font-size: 12px;
  font-weight: 620;
}

.docs-client-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-client-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(7, 40, 90, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--sm-navy);
  font-size: 13px;
  font-weight: 560;
  padding: 6px 11px 6px 7px;
}

.docs-client-strip a {
  color: inherit;
  text-decoration: none;
}

.docs-client-strip a:hover,
.docs-client-strip a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-client-strip img,
.docs-client-icon {
  width: 21px;
  height: 21px;
}

.docs-client-strip img {
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.docs-card-label {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(216, 52, 131, 0.1);
  color: var(--sm-magenta);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.docs-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.docs-copy-row code {
  min-width: 0;
}

.docs-copy-row button,
.docs-prompt-head button {
  min-width: 62px;
  border: 1px solid rgba(7, 40, 90, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--sm-navy);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  line-height: 1;
  padding: 9px 10px;
}

.docs-copy-row button:hover,
.docs-copy-row button:focus-visible,
.docs-prompt-head button:hover,
.docs-prompt-head button:focus-visible {
  background: #d83483;
  border-color: #d83483;
  color: #fdfdfd;
  outline: none;
}

.docs-copy-row button:focus-visible,
.docs-prompt-head button:focus-visible,
.docs-tab-list button:focus-visible,
.docs-mcp-disclosure summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(9, 174, 154, 0.18);
}

.docs-code-snippet {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.docs-code-snippet pre {
  overflow-x: auto;
  margin: 0;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--sm-navy-900);
}

.docs-code-snippet code {
  display: block;
  padding: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  white-space: pre;
}

.docs-mcp-prompts {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.docs-mcp-prompts h3 {
  margin: 0;
  color: var(--sm-navy-900);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 720;
  line-height: 1.12;
}

.docs-mcp-prompts > div:first-child {
  max-width: 820px;
}

.docs-mcp-prompts > div:first-child p:not(.docs-kicker) {
  margin: 12px 0 0;
  color: #344054;
  font-size: 16px;
  font-weight: 430;
  line-height: 1.6;
}

.docs-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.docs-prompt-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(7, 40, 90, 0.12);
  border-radius: 10px;
  background: #ffffff;
  padding: 18px;
  box-shadow: none;
}

.docs-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.docs-prompt-card h4 {
  margin: 0;
  color: var(--sm-navy);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.25;
}

.docs-prompt-card pre {
  overflow-x: hidden;
  min-height: 148px;
  margin: 0;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 8px;
  background: #f7f9fc;
  white-space: pre-wrap;
  max-width: 100%;
}

.docs-prompt-card pre code {
  display: block;
  min-width: 0;
  padding: 14px;
  color: #243b53;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 430;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs-prompt-card p {
  margin: 0;
  color: var(--sm-muted);
  font-size: 13px;
  font-weight: 430;
  line-height: 1.6;
}

.docs-prompt-card p code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 5px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--sm-navy-900);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 520;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs-mcp-section [hidden] {
  display: none !important;
}

.docs-mcp-section > *,
.docs-mcp-layout > *,
.docs-mcp-panel > * {
  min-width: 0;
  max-width: 100%;
}

.docs-mcp-console,
.docs-mcp-panel,
.docs-mcp-prompts,
.docs-prompt-card {
  border: 1px solid rgba(7, 40, 90, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.docs-mcp-console {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  background: #ffffff;
}

.docs-endpoint-head {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(7, 40, 90, 0.1);
}

.docs-endpoint-head h3,
.docs-mcp-panel h3 {
  margin: 12px 0 0;
  color: var(--sm-navy-900);
  font-size: clamp(22px, 2.7vw, 31px);
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: 0;
}

.docs-endpoint-head p,
.docs-endpoint-option p,
.docs-mcp-panel p,
.docs-tab-panel li {
  margin: 0;
  color: #344054;
  font-size: 15px;
  font-weight: 430;
  line-height: 1.6;
}

.docs-endpoint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.docs-endpoint-option {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 8px;
  background: #fbfcfe;
}

.docs-endpoint-option-primary {
  background:
    linear-gradient(135deg, rgba(9, 174, 154, 0.08), transparent 24rem),
    #ffffff;
  border-color: rgba(9, 174, 154, 0.22);
}

.docs-endpoint-copy {
  display: grid;
  gap: 7px;
}

.docs-endpoint-label {
  width: fit-content;
  color: var(--sm-navy);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.docs-endpoint-option h4 {
  margin: 0;
  color: var(--sm-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.docs-endpoint-note {
  grid-column: 2;
  margin-top: -8px !important;
  color: var(--sm-muted) !important;
  font-size: 12.5px !important;
}

.docs-endpoint-note code {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  margin-top: 4px;
  padding: 2px 5px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 7px;
  background: #ffffff;
  color: var(--sm-navy-900);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 520;
  overflow-wrap: anywhere;
}

.docs-copy-row-large {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* Grid items default to min-width:auto, which lets a nowrap URL force the
   endpoint card wider than its track and spill out of the box on mobile.
   Allow these items to shrink so the URL scrolls inside its own field. */
.docs-endpoint-option > *,
.docs-copy-row-large,
.docs-copy-row-large > * {
  min-width: 0;
}

.docs-copy-row-large code,
.docs-copy-row-compact code {
  display: block;
  min-height: 48px;
  overflow-x: auto;
  white-space: nowrap;
  border-color: rgba(7, 40, 90, 0.14);
  background: #f8fbff;
  font-size: clamp(12.5px, 1.25vw, 15px);
  line-height: 1.5;
  padding: 13px 14px;
  white-space: nowrap;
  scrollbar-width: thin;
}

.docs-copy-row-large button,
.docs-copy-row-compact button {
  min-width: 96px;
  background: var(--sm-navy);
  color: #ffffff;
}

.docs-copy-row-compact {
  grid-template-columns: 1fr;
}

.docs-copy-row-compact button {
  width: fit-content;
}

/* Copy buttons flip the label to "Copied" via JS (.is-copied): the box turns
   white with a pink border and pink text — the inverse of the pink hover. */
.docs-copy-row button.is-copied,
.docs-prompt-head button.is-copied,
.docs-prompt-card button.is-copied,
.docs-code-snippet button.is-copied {
  background: #fdfdfd;
  border-color: #d83483;
  color: #d83483;
}

.docs-mcp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  align-items: stretch;
}

.docs-mcp-panel,
.docs-mcp-prompts {
  padding: clamp(20px, 3vw, 28px);
}

.docs-panel-heading {
  display: grid;
  gap: 4px;
  max-width: 760px;
}

.docs-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 4px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 10px;
  background: #f7f9fc;
}

.docs-tab-list button {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  padding: 9px 12px;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.docs-tab-list button:hover,
.docs-tab-list button:focus-visible {
  color: var(--sm-navy);
  outline: none;
}

.docs-tab-list button.is-active {
  background: #ffffff;
  color: var(--sm-navy);
  box-shadow: 0 1px 2px rgba(7, 40, 90, 0.08);
}

.docs-tab-panels {
  margin-top: 18px;
}

.docs-tab-panel {
  display: grid;
  gap: 10px;
  max-width: 780px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 10px;
  background: #ffffff;
}

.docs-tab-panel h4 {
  margin: 0;
  color: var(--sm-navy);
  font-size: 19px;
  font-weight: 680;
  line-height: 1.25;
}

.docs-tab-panel code,
.docs-mcp-safety code {
  padding: 2px 5px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 7px;
  background: #f7f9fc;
  color: var(--sm-navy-900);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 520;
}

.docs-path-badge {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(9, 174, 154, 0.1);
  color: #087d70;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.docs-mcp-disclosure {
  margin-top: 8px;
  border-top: 1px solid rgba(7, 40, 90, 0.1);
  padding-top: 12px;
}

.docs-mcp-disclosure summary {
  color: var(--sm-navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
}

.docs-mcp-safety ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.docs-mcp-safety li {
  position: relative;
  padding-left: 28px;
  color: #344054;
  font-size: 14px;
  font-weight: 430;
  line-height: 1.55;
}

.docs-mcp-safety li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(9, 174, 154, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, transparent 45%, #09ae9a 45% 55%, transparent 55%),
    linear-gradient(45deg, transparent 48%, #09ae9a 48% 58%, transparent 58%);
}

.docs-prompt-context {
  display: grid;
  gap: 6px;
  max-width: 620px;
  justify-self: start;
  border-left: 2px solid rgba(9, 174, 154, 0.4);
  padding-left: 14px;
}

.docs-prompt-context span {
  display: block;
  color: var(--sm-magenta);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: uppercase;
}

.docs-prompt-context p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 430;
  line-height: 1.55;
}

.docs-prompts-heading {
  display: grid;
  gap: 16px;
}

.docs-mcp-prompts .docs-prompts-heading {
  max-width: none;
}

.docs-mcp-prompts > .docs-prompts-heading:first-child {
  max-width: none;
}

.docs-mcp-prompts .docs-prompts-heading p:not(.docs-kicker) {
  max-width: 620px;
}

.docs-mcp-prompts > .docs-prompts-heading:first-child p:not(.docs-kicker) {
  margin: 12px 0 0;
  max-width: 620px;
}

.docs-prompt-tabs {
  margin-top: 20px;
}

.docs-prompt-panels {
  display: grid;
  gap: 16px;
}

.docs-prompt-card {
  min-height: 0;
  box-shadow: none;
}

.docs-prompt-card pre {
  min-height: 104px;
}

.docs-reference-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 56px) 18px;
  border-bottom: 1px solid var(--sm-line);
  background: #ffffff;
}

.docs-reference-head h2 {
  margin: 0;
  color: var(--sm-navy-900);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.docs-reference-head p {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--sm-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.docs-reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.docs-reference-links a {
  color: var(--sm-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-env-pill {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(9, 174, 154, 0.24);
  border-radius: 999px;
  background: rgba(9, 174, 154, 0.08);
  color: #047a6d;
  font-size: 12px;
  font-weight: 800;
}

.docs-accent {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sm-navy) 0%, var(--sm-magenta) 62%, var(--sm-teal) 100%);
}

.api-reference-wrap {
  --scalar-font: "Lexend Deca", Inter, ui-sans-serif, system-ui, sans-serif;
  --scalar-color-1: var(--sm-ink);
  --scalar-color-2: #27364c;
  --scalar-color-3: #5a6678;
  --scalar-color-accent: var(--sm-magenta);
  --scalar-background-1: var(--sm-paper);
  --scalar-background-2: #ffffff;
  --scalar-background-3: #f7f9fc;
  --scalar-background-accent: rgba(216, 52, 131, 0.1);
  --scalar-border-color: rgba(7, 40, 90, 0.12);
  min-height: 900px;
  background: #ffffff;
}

.api-reference-wrap .darklight,
.api-reference-wrap [aria-label="Download OpenAPI Document"],
.api-reference-wrap [aria-label="Download OpenAPI document"],
.api-reference-wrap [aria-label="Share"],
.api-reference-wrap [aria-label="Deploy"],
.api-reference-wrap a[href*="scalar.com"],
.api-reference-wrap a[href*="vscode:"],
.api-reference-wrap a[href*="cursor:"],
.api-reference-wrap button:has(svg + span) {
  border-radius: 8px;
}

.api-reference-wrap a[href*="scalar.com"],
.api-reference-wrap a[href*="vscode:"],
.api-reference-wrap a[href*="cursor:"] {
  display: none !important;
}

.api-reference-wrap .references-developer-tools,
.api-reference-wrap .scalar-mcp-layer {
  display: none !important;
}

.api-reference-wrap .scalar-app {
  background: #ffffff;
}

.api-reference-wrap .references-layout {
  --refs-header-height: 0px;
}

.api-reference-wrap .references-developer-tools,
.api-reference-wrap .scalar-mcp-layer {
  display: none !important;
}

.api-reference-wrap .t-doc__sidebar,
.api-reference-wrap .sidebar {
  border-right: 1px solid rgba(7, 40, 90, 0.1);
  background: #fbfcfe;
}

.api-reference-wrap .sidebar-heading,
.api-reference-wrap .section-flare,
.api-reference-wrap .introduction-card {
  color: #07285a;
}

.api-reference-wrap .scalar-card,
.api-reference-wrap .endpoint,
.api-reference-wrap .request-card,
.api-reference-wrap .response-card,
.api-reference-wrap .model-card {
  border-color: rgba(7, 40, 90, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(7, 40, 90, 0.06);
}

.api-reference-wrap .method,
.api-reference-wrap .badge {
  border-radius: 999px;
  font-weight: 800;
}

.api-reference-wrap .search-button,
.api-reference-wrap .scalar-button,
.api-reference-wrap button {
  border-radius: 8px;
}

.api-reference-wrap {
  overflow-x: hidden;
}

.api-reference-wrap code,
.api-reference-wrap pre,
.api-reference-wrap .property,
.api-reference-wrap .property-name,
.api-reference-wrap .property-description,
.api-reference-wrap .schema-card,
.api-reference-wrap .model-card,
.api-reference-wrap .request-card,
.api-reference-wrap .response-card {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.static-doc-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.static-doc {
  display: grid;
  gap: 22px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 56px) 72px;
}

.static-hero,
.static-section,
.static-note,
.static-operation {
  min-width: 0;
}

.static-hero {
  display: grid;
  gap: 14px;
  padding: 8px 0 12px;
}

.static-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--sm-navy-900);
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
}

.static-hero p,
.static-section p,
.static-note p,
.static-operation p,
.static-section li {
  color: #344054;
  font-size: 16px;
  font-weight: 430;
  line-height: 1.65;
}

.static-hero p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
}

.static-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.static-link-row a,
.static-doc a {
  color: var(--sm-navy);
  font-weight: 700;
  text-underline-offset: 3px;
}

.static-section,
.static-note {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--sm-line);
  border-radius: 10px;
  background: #ffffff;
}

.static-section h2,
.static-note h2 {
  margin: 0;
  color: var(--sm-navy-900);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.16;
}

.static-section h3,
.static-operation h3 {
  margin: 0;
  color: var(--sm-navy-900);
  font-size: 20px;
  line-height: 1.3;
}

.static-operation h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.static-operation h3 span {
  display: inline-flex;
  border-radius: 7px;
  background: rgba(7, 40, 90, 0.08);
  color: var(--sm-navy);
  font-size: 12px;
  padding: 4px 7px;
}

.static-operation h3 code,
.static-doc code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.static-operation-list {
  display: grid;
  gap: 14px;
}

.static-operation {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(7, 40, 90, 0.1);
  border-radius: 8px;
  background: #fbfcff;
}

.static-definition-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.static-definition-list div {
  display: grid;
  gap: 4px;
}

.static-definition-list dt {
  color: #667085;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.static-definition-list dd {
  margin: 0;
}

.static-doc pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: #f6f8fb;
  color: #202939;
  white-space: pre-wrap;
}

.static-doc table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.static-doc th,
.static-doc td {
  border-bottom: 1px solid var(--sm-line);
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.static-doc th {
  color: var(--sm-navy);
  font-weight: 760;
}

.static-muted {
  color: #667085;
  font-size: 13px;
}

.static-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.static-code {
  display: grid;
  gap: 8px;
}

.static-code-bar {
  display: flex;
  justify-content: flex-end;
}

.static-copy {
  border: 1px solid rgba(7, 40, 90, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--sm-navy);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  line-height: 1;
  padding: 9px 12px;
}

.static-copy-inline {
  padding: 4px 8px;
  font-size: 11px;
  vertical-align: baseline;
}

.static-copy:hover,
.static-copy:focus-visible {
  background: #d83483;
  border-color: #d83483;
  color: #fdfdfd;
  outline: none;
}

.static-copy:focus-visible {
  box-shadow: 0 0 0 3px rgba(9, 174, 154, 0.18);
}

.static-copy.is-copied {
  background: #fdfdfd;
  border-color: #d83483;
  color: #d83483;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes docsFadeUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .docs-hero > div > *,
  .docs-hero-panel {
    animation: docsFadeUp 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .docs-hero > div > *:nth-child(1) {
    animation-delay: 0.02s;
  }

  .docs-hero > div > *:nth-child(2) {
    animation-delay: 0.1s;
  }

  .docs-hero > div > *:nth-child(3) {
    animation-delay: 0.18s;
  }

  .docs-hero > div > *:nth-child(4) {
    animation-delay: 0.26s;
  }

  .docs-hero-panel {
    animation-delay: 0.2s;
  }

  .is-revealable {
    opacity: 0;
    transform: translateY(14px);
  }

  .is-revealable.is-revealed {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.5s ease,
      transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

/* Hero ambient glow: two soft brand-colored blobs behind the hero content. */
.docs-hero {
  position: relative;
  overflow: hidden;
}

.docs-hero > div,
.docs-hero-panel {
  position: relative;
  z-index: 1;
}

.docs-hero::before,
.docs-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.55;
  pointer-events: none;
}

.docs-hero::before {
  width: 440px;
  height: 440px;
  top: -130px;
  right: -90px;
  background: radial-gradient(circle, rgba(216, 52, 131, 0.18), rgba(216, 52, 131, 0) 70%);
}

.docs-hero::after {
  width: 380px;
  height: 380px;
  bottom: -150px;
  left: -110px;
  background: radial-gradient(circle, rgba(9, 174, 154, 0.16), rgba(9, 174, 154, 0) 70%);
}

/* Sliding "thumb" behind the active segmented tab (added by app.js as .has-thumb). */
.docs-tab-list.has-thumb {
  position: relative;
}

.docs-tab-list button {
  position: relative;
  z-index: 1;
}

.docs-tab-list.has-thumb button.is-active {
  background: transparent;
  box-shadow: none;
}

.docs-tab-thumb {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(7, 40, 90, 0.08);
  pointer-events: none;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .docs-tab-thumb {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes docsGlowA {
    from {
      transform: translate(0, 0) scale(1);
    }
    to {
      transform: translate(-38px, 30px) scale(1.12);
    }
  }

  @keyframes docsGlowB {
    from {
      transform: translate(0, 0) scale(1);
    }
    to {
      transform: translate(38px, -26px) scale(1.1);
    }
  }

  .docs-hero::before {
    animation: docsGlowA 18s ease-in-out infinite alternate;
  }

  .docs-hero::after {
    animation: docsGlowB 22s ease-in-out infinite alternate;
  }

  @keyframes docsTabFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .docs-tab-panel.is-active,
  .docs-prompt-grid.is-active {
    animation: docsTabFade 0.22s ease;
  }

  .docs-client-strip li {
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease;
  }

  .docs-client-strip li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(7, 40, 90, 0.1);
    border-color: rgba(216, 52, 131, 0.35);
  }

  .docs-prompt-card {
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }

  .docs-prompt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(7, 40, 90, 0.1);
    border-color: rgba(216, 52, 131, 0.28);
  }

  @keyframes docsCopyPulse {
    0% {
      transform: scale(1);
    }
    45% {
      transform: scale(0.9);
    }
    100% {
      transform: scale(1);
    }
  }

  .docs-copy-row button.is-copied,
  .docs-prompt-head button.is-copied,
  .docs-prompt-card button.is-copied,
  .docs-code-snippet button.is-copied,
  .static-copy.is-copied {
    animation: docsCopyPulse 0.3s ease;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Mobile nav dropdown: fade + slide in from the hamburger instead of snapping. */
  @keyframes docsMenuIn {
    from {
      opacity: 0;
      transform: translateY(-6px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .docs-mobile-menu[open] .docs-mobile-nav {
    transform-origin: top right;
    animation: docsMenuIn 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  /* MCP config accordion: reveal its content with a soft fade-up on open. */
  .docs-mcp-disclosure[open] > :not(summary) {
    animation: docsFadeUp 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

@media (max-width: 1120px) {
  .docs-header {
    gap: 16px;
  }

  .brand img {
    height: 34px;
    max-width: min(184px, 36vw);
  }

  .docs-nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .docs-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --docs-header-height: 58px;
  }

  .docs-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    min-height: 58px;
    padding: 8px 20px;
  }

  .brand img {
    max-width: min(184px, 58vw);
    height: 34px;
  }

  .docs-nav {
    display: none;
  }

  .docs-mobile-menu {
    display: block;
  }

  .docs-hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .docs-hero .docs-kicker {
    margin-bottom: 32px;
  }

  .docs-hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .docs-hero-panel {
    padding: 16px;
  }

  .docs-reference-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .docs-prompt-grid {
    grid-template-columns: 1fr;
  }

  .docs-copy-row {
    grid-template-columns: 1fr;
  }

  .docs-prompt-card pre {
    min-height: 0;
  }

  .docs-prompt-card {
    padding: 14px;
  }

  .docs-prompt-card p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }

  .docs-prompt-card p code {
    flex: 0 1 auto;
  }

  .docs-mcp-console,
  .docs-mcp-layout,
  .docs-prompts-heading,
  .docs-endpoint-head,
  .docs-endpoint-grid {
    grid-template-columns: 1fr;
  }

  .docs-endpoint-head {
    align-items: start;
  }

  .docs-endpoint-option {
    grid-template-columns: 1fr;
  }

  .docs-endpoint-note {
    grid-column: auto;
    margin-top: -4px !important;
  }

  .docs-copy-row-large {
    grid-template-columns: 1fr;
  }

  .docs-copy-row-large code {
    overflow-x: auto;
    white-space: nowrap;
  }

  .docs-copy-row-large button,
  .docs-copy-row-compact button {
    width: fit-content;
  }

  .docs-tab-list {
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .docs-setup-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .docs-setup-tabs::-webkit-scrollbar {
    display: none;
  }

  .docs-tab-list button {
    flex: 0 0 auto;
  }

  .docs-setup-tabs button {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .docs-prompt-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .docs-prompt-tabs::-webkit-scrollbar {
    display: none;
  }

  .docs-prompt-context {
    justify-self: start;
    border-left: 0;
    padding-left: 0;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .docs-prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
