:root {
  --docs-blue: #2463eb;
  --docs-blue-dark: #153e8a;
  --docs-blue-soft: #eef4ff;
  --docs-green: #0f9f77;
  --docs-amber: #d97706;
  --docs-red: #dc4c4c;
  --docs-ink: #111827;
  --docs-text: #334155;
  --docs-muted: #64748b;
  --docs-faint: #94a3b8;
  --docs-border: #e2e8f0;
  --docs-border-strong: #cbd5e1;
  --docs-surface: #ffffff;
  --docs-subtle: #f8fafc;
  --docs-code: #0f172a;
  --docs-header-height: 64px;
  --docs-sidebar-width: 274px;
  --docs-radius-sm: 6px;
  --docs-radius-md: 8px;
  --docs-radius-lg: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--docs-text);
  background: var(--docs-surface);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--docs-blue-dark);
  border-radius: var(--docs-radius-sm);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.docs-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(260px, 520px) minmax(240px, 1fr);
  column-gap: 24px;
  align-items: center;
  height: var(--docs-header-height);
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--docs-border);
}

.docs-brand,
.brand-link,
.header-primary-nav,
.header-actions,
.status-link,
.header-button {
  display: flex;
  align-items: center;
}

.header-primary-nav {
  gap: 20px;
}

.header-primary-nav a {
  color: var(--docs-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-primary-nav a:hover,
.header-primary-nav a.is-active {
  color: var(--docs-ink);
}

.brand-link {
  width: fit-content;
  gap: 9px;
  color: var(--docs-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.brand-link img {
  display: block;
  border-radius: var(--docs-radius-sm);
}

.brand-divider {
  width: 1px;
  height: 20px;
  margin: 0 2px;
  background: var(--docs-border-strong);
}

.brand-product {
  color: var(--docs-muted);
  font-weight: 500;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--docs-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--docs-radius-md);
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  margin-right: 8px;
}

.docs-search-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 10px 0 13px;
  color: var(--docs-muted);
  background: var(--docs-subtle);
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius-md);
  cursor: pointer;
}

.docs-search-trigger:hover {
  border-color: var(--docs-border-strong);
}

.docs-search-trigger i {
  margin-right: 10px;
}

.docs-search-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-search-trigger kbd {
  margin-left: auto;
  padding: 3px 6px;
  color: var(--docs-faint);
  background: #fff;
  border: 1px solid var(--docs-border);
  border-bottom-color: var(--docs-border-strong);
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.header-link,
.status-link {
  color: var(--docs-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.header-link:hover,
.status-link:hover {
  color: var(--docs-ink);
}

.status-link {
  gap: 7px;
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--docs-green);
  border-radius: 50%;
}

.header-button {
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  color: #fff;
  background: var(--docs-ink);
  border-radius: var(--docs-radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.header-button:hover {
  background: #273449;
}

.header-button i {
  font-size: 10px;
}

.docs-layout {
  min-height: 100vh;
  padding-top: var(--docs-header-height);
}

.docs-sidebar {
  position: fixed;
  z-index: 80;
  top: var(--docs-header-height);
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: var(--docs-sidebar-width);
  padding: 22px 18px 18px;
  background: #fff;
  border-right: 1px solid var(--docs-border);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.version-select {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 10px;
  background: var(--docs-subtle);
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius-md);
}

.version-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--docs-blue);
  border-radius: var(--docs-radius-sm);
  font-size: 12px;
  font-weight: 700;
}

.version-select strong,
.version-select small {
  display: block;
}

.version-select strong {
  color: var(--docs-ink);
  font-size: 12px;
  font-weight: 600;
}

.version-select small {
  margin-top: 2px;
  color: var(--docs-faint);
  font-size: 10px;
}

.version-select > i {
  color: var(--docs-faint);
  font-size: 10px;
}

.sidebar-nav {
  padding: 6px 0 24px;
}

.nav-group {
  margin-top: 23px;
}

.nav-group h2 {
  margin: 0 10px 8px;
  color: var(--docs-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-group > a,
.nav-group summary,
.nav-subgroup a {
  text-decoration: none;
}

.nav-group > a,
.nav-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--docs-muted);
  border-radius: var(--docs-radius-sm);
  font-size: 12px;
  font-weight: 500;
}

.nav-group > a:hover,
.nav-group > a.is-active,
.nav-subgroup a:hover,
.nav-subgroup a.is-active {
  color: var(--docs-blue-dark);
  background: var(--docs-blue-soft);
}

.nav-group > a.is-active {
  font-weight: 600;
}

.nav-group > a i,
.nav-group summary span > i {
  width: 15px;
  color: var(--docs-faint);
  text-align: center;
}

.nav-group > a.is-active i,
.nav-group > a:hover i {
  color: var(--docs-blue);
}

.nav-group details {
  margin-top: 2px;
}

.nav-group summary {
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group summary span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-group summary > i {
  color: var(--docs-faint);
  font-size: 9px;
  transition: transform 160ms ease;
}

.nav-group details:not([open]) summary > i {
  transform: rotate(-90deg);
}

.nav-subgroup {
  padding: 3px 0 5px 18px;
}

.nav-subgroup a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 33px;
  padding: 6px 8px;
  color: var(--docs-muted);
  border-radius: var(--docs-radius-sm);
  font-size: 11px;
}

.method {
  flex: 0 0 34px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.method-get { color: #0b8a67; }
.method-post { color: #2563eb; }
.method-patch { color: #b45309; }
.method-delete { color: #dc2626; }

.sidebar-footer {
  margin-top: auto;
  padding: 15px 10px 0;
  border-top: 1px solid var(--docs-border);
}

.sidebar-footer p {
  margin: 0 0 5px;
  color: var(--docs-faint);
  font-size: 10px;
}

.sidebar-footer a {
  color: var(--docs-blue);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-footer i {
  margin-left: 4px;
  font-size: 9px;
}

.docs-main {
  min-width: 0;
  margin-left: var(--docs-sidebar-width);
}

.doc-page {
  display: none;
  min-height: calc(100vh - var(--docs-header-height));
  padding: 58px clamp(32px, 5vw, 82px) 100px;
}

.doc-page.is-visible {
  display: block;
  animation: doc-page-in 180ms ease-out;
}

@keyframes doc-page-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(150px, 210px);
  justify-content: center;
  gap: clamp(42px, 6vw, 90px);
  max-width: 1130px;
  margin: 0 auto;
}

.landing-grid {
  grid-template-columns: minmax(0, 680px) minmax(360px, 480px);
  align-items: start;
  max-width: 1240px;
}

.doc-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--docs-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.doc-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--docs-ink);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.doc-copy .lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--docs-muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: var(--docs-radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.primary-action {
  gap: 9px;
  color: #fff;
  background: var(--docs-blue);
  border: 1px solid var(--docs-blue);
}

.primary-action:hover {
  background: #1d55d0;
}

.secondary-action {
  color: var(--docs-text);
  background: #fff;
  border: 1px solid var(--docs-border-strong);
}

.secondary-action:hover {
  border-color: var(--docs-muted);
}

.availability-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 30px;
  padding: 13px 15px;
  background: #f0fdf8;
  border: 1px solid #bbf0de;
  border-radius: var(--docs-radius-md);
}

.availability-note > i {
  margin-top: 2px;
  color: var(--docs-green);
}

.availability-note strong,
.availability-note span {
  display: block;
}

.availability-note strong {
  color: #0f5e4b;
  font-size: 12px;
}

.availability-note span {
  margin-top: 3px;
  color: #397565;
  font-size: 11px;
  line-height: 1.5;
}

.content-section {
  margin-top: 52px;
  scroll-margin-top: 90px;
}

.content-section h2,
.step-list h2 {
  margin: 0 0 11px;
  color: var(--docs-ink);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.3;
}

.content-section > p,
.step-list p {
  margin: 0;
  color: var(--docs-muted);
  font-size: 14px;
  line-height: 1.75;
}

.content-section code,
.step-list code,
.event-list code,
.table-wrap code {
  padding: 2px 5px;
  color: #164ea7;
  background: var(--docs-blue-soft);
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.path-list {
  margin-top: 22px;
  border-top: 1px solid var(--docs-border);
}

.path-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--docs-border);
  text-decoration: none;
}

.path-list a:hover strong {
  color: var(--docs-blue);
}

.path-list a > i {
  color: var(--docs-faint);
  font-size: 11px;
  transition: transform 160ms ease;
}

.path-list a:hover > i {
  color: var(--docs-blue);
  transform: translateX(3px);
}

.path-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--docs-blue);
  background: var(--docs-blue-soft);
  border-radius: var(--docs-radius-md);
}

.path-list strong,
.path-list small {
  display: block;
}

.path-list strong {
  color: var(--docs-ink);
  font-size: 13px;
  font-weight: 600;
}

.path-list small {
  margin-top: 5px;
  color: var(--docs-muted);
  font-size: 11px;
  line-height: 1.5;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 24px;
}

.principle-grid div {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
}

.principle-grid i {
  grid-row: span 2;
  padding-top: 2px;
  color: var(--docs-blue);
}

.principle-grid strong {
  color: var(--docs-ink);
  font-size: 12px;
}

.principle-grid p {
  margin: 5px 0 0;
  color: var(--docs-muted);
  font-size: 11px;
  line-height: 1.55;
}

.code-rail {
  min-width: 0;
}

.sticky-code {
  position: sticky;
  top: calc(var(--docs-header-height) + 34px);
}

.code-window {
  color: #dbeafe;
  background: var(--docs-code);
  border: 1px solid #26364f;
  border-radius: var(--docs-radius-lg);
  overflow: hidden;
}

.code-window + .code-window {
  margin-top: 14px;
}

.code-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  color: #cbd5e1;
  border-bottom: 1px solid #26364f;
  font-size: 11px;
  font-weight: 600;
}

.copy-button,
.inline-code-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 34px;
  min-height: 32px;
  padding: 0 8px;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--docs-radius-sm);
  cursor: pointer;
}

.copy-button:hover {
  color: #fff;
  background: #1e293b;
}

.code-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  border-bottom: 1px solid #26364f;
}

.code-tabs button {
  min-height: 32px;
  padding: 0 9px;
  color: #94a3b8;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.code-tabs button.is-active {
  color: #fff;
  border-bottom-color: #60a5fa;
}

.code-window pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #dbeafe;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.7;
  tab-size: 2;
}

.code-window pre[hidden] {
  display: none;
}

.response-label {
  padding: 11px 15px;
  color: #94a3b8;
  background: #111d31;
  border-top: 1px solid #26364f;
  border-bottom: 1px solid #26364f;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.response-code {
  max-height: 350px;
}

.token-keyword,
.token-command { color: #7dd3fc; }
.token-string { color: #a7f3d0; }
.token-key { color: #93c5fd; }
.token-number { color: #fcd34d; }
.token-boolean { color: #c4b5fd; }

.compact {
  margin-top: 18px;
}

.compact .code-window-header {
  min-height: 40px;
}

.compact pre {
  padding: 15px 16px;
}

.page-toc {
  position: sticky;
  top: calc(var(--docs-header-height) + 40px);
  align-self: start;
  padding-left: 16px;
  border-left: 1px solid var(--docs-border);
}

.page-toc strong {
  display: block;
  margin-bottom: 9px;
  color: var(--docs-ink);
  font-size: 10px;
  font-weight: 600;
}

.page-toc a {
  display: block;
  padding: 5px 0;
  color: var(--docs-faint);
  font-size: 10px;
  line-height: 1.4;
  text-decoration: none;
}

.page-toc a:hover {
  color: var(--docs-blue);
}

.step-list {
  margin-top: 50px;
}

.step-list > section {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding-bottom: 42px;
  scroll-margin-top: 90px;
}

.step-list > section:not(:last-child) .step-number::after {
  content: "";
  position: absolute;
  top: 33px;
  bottom: -42px;
  left: 50%;
  width: 1px;
  background: var(--docs-border);
}

.step-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--docs-blue);
  background: var(--docs-blue-soft);
  border: 1px solid #c7dcff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.inline-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 11px 12px 11px 15px;
  background: var(--docs-subtle);
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius-md);
}

.inline-code-row code {
  overflow: hidden;
  color: var(--docs-blue-dark);
  background: transparent;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-code-row button {
  flex: 0 0 auto;
  color: var(--docs-muted);
}

.next-page {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--docs-border);
}

.next-page span {
  color: var(--docs-faint);
  font-size: 10px;
}

.next-page a {
  margin-top: 5px;
  color: var(--docs-blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 15px;
  border-radius: var(--docs-radius-md);
}

.callout-warning {
  color: #854d0e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.callout-info {
  color: #1e4f91;
  background: var(--docs-blue-soft);
  border: 1px solid #c7dcff;
}

.callout > i {
  margin-top: 2px;
}

.callout strong,
.callout p {
  display: block;
}

.callout strong {
  font-size: 12px;
}

.callout p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.55;
}

.table-wrap {
  margin-top: 20px;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius-md);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--docs-border);
  vertical-align: top;
}

th {
  color: var(--docs-muted);
  background: var(--docs-subtle);
  font-size: 10px;
  font-weight: 600;
}

td {
  color: var(--docs-text);
  line-height: 1.55;
}

tr:last-child td {
  border-bottom: 0;
}

.event-list {
  margin-top: 20px;
  border-top: 1px solid var(--docs-border);
}

.event-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) 1.5fr;
  gap: 18px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--docs-border);
}

.event-list span {
  color: var(--docs-muted);
  font-size: 11px;
  line-height: 1.5;
}

.status-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 18px;
  background: #f0fdf8;
  border: 1px solid #bbf0de;
  border-radius: var(--docs-radius-md);
}

.status-panel .status-dot {
  width: 10px;
  height: 10px;
}

.status-panel strong,
.status-panel span {
  display: block;
}

.status-panel strong {
  color: #0f5e4b;
  font-size: 13px;
}

.status-panel span {
  margin-top: 4px;
  color: #397565;
  font-size: 11px;
}

.endpoint-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.endpoint-heading .method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-basis: auto;
  min-width: 46px;
  height: 24px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 9px;
}

.endpoint-heading .method-get { background: #e8faf4; }
.endpoint-heading .method-post { background: var(--docs-blue-soft); }
.endpoint-heading .method-patch { background: #fff7e6; }
.endpoint-heading .method-delete { background: #fef2f2; }

.endpoint-heading code {
  color: var(--docs-text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.parameter-list {
  margin-top: 20px;
  border-top: 1px solid var(--docs-border);
}

.parameter-row {
  display: grid;
  grid-template-columns: minmax(145px, 0.65fr) 1.35fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--docs-border);
}

.parameter-name strong,
.parameter-name span {
  display: block;
}

.parameter-name strong {
  color: var(--docs-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.parameter-name span {
  margin-top: 5px;
  color: var(--docs-faint);
  font-size: 9px;
}

.parameter-name em {
  margin-left: 5px;
  color: var(--docs-red);
  font-family: Inter, sans-serif;
  font-size: 8px;
  font-style: normal;
  text-transform: uppercase;
}

.parameter-row p {
  margin: 0;
  color: var(--docs-muted);
  font-size: 11px;
  line-height: 1.65;
}

.search-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 80px));
  padding: 0;
  background: #fff;
  border: 1px solid var(--docs-border-strong);
  border-radius: var(--docs-radius-lg);
  overflow: hidden;
}

.search-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--docs-border);
}

.search-box > i {
  color: var(--docs-faint);
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0;
  color: var(--docs-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.search-box button {
  padding: 4px 7px;
  color: var(--docs-faint);
  background: var(--docs-subtle);
  border: 1px solid var(--docs-border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
}

.search-results {
  max-height: 480px;
  padding: 9px;
  overflow-y: auto;
}

.search-hint,
.search-empty {
  margin: 0;
  padding: 22px 14px;
  color: var(--docs-faint);
  font-size: 12px;
  text-align: center;
}

.search-result {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  color: var(--docs-text);
  border-radius: var(--docs-radius-md);
  text-decoration: none;
}

.search-result:hover,
.search-result:focus {
  background: var(--docs-blue-soft);
  outline: 0;
}

.search-result > i:first-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--docs-blue);
  background: #fff;
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius-sm);
}

.search-result strong,
.search-result small {
  display: block;
}

.search-result strong {
  color: var(--docs-ink);
  font-size: 12px;
}

.search-result small {
  margin-top: 3px;
  color: var(--docs-faint);
  font-size: 10px;
}

.search-result > i:last-child {
  color: var(--docs-faint);
  font-size: 9px;
}

.copy-toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  padding: 10px 13px;
  color: #fff;
  background: var(--docs-ink);
  border-radius: var(--docs-radius-sm);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sidebar-scrim {
  position: fixed;
  z-index: 70;
  inset: var(--docs-header-height) 0 0;
  background: rgba(15, 23, 42, 0.36);
}

@media (min-width: 1181px) and (max-width: 1340px) {
  .doc-page {
    padding-inline: 38px;
  }

  .landing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 42px;
  }

  .landing-grid .doc-copy h1 {
    font-size: 44px;
  }
}

@media (max-width: 1180px) {
  .docs-header {
    grid-template-columns: minmax(245px, 1fr) minmax(250px, 450px) minmax(210px, 1fr);
  }

  .header-primary-nav {
    display: none;
  }

  .header-actions .status-link {
    display: none;
  }

  .doc-page {
    padding-inline: 38px;
  }

  .landing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
    gap: 44px;
  }

  .doc-grid {
    grid-template-columns: minmax(0, 740px) 170px;
    gap: 45px;
  }
}

@media (max-width: 980px) {
  :root {
    --docs-sidebar-width: 258px;
  }

  .docs-header {
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 420px) auto;
  }

  .header-link {
    display: none;
  }

  .landing-grid,
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }

  .code-rail {
    order: -1;
  }

  .landing-grid .code-rail {
    order: initial;
  }

  .sticky-code {
    position: static;
  }

  .page-toc {
    display: none;
  }
}

@media (max-width: 760px) {
  .docs-header {
    grid-template-columns: 1fr auto;
    height: 58px;
    padding: 0 14px;
  }

  :root {
    --docs-header-height: 58px;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .docs-search-trigger {
    grid-column: 2;
    width: 40px;
    padding: 0;
    justify-content: center;
    background: transparent;
    border-color: transparent;
  }

  .docs-search-trigger i {
    margin: 0;
  }

  .docs-search-trigger span,
  .docs-search-trigger kbd,
  .header-actions {
    display: none;
  }

  .brand-link {
    font-size: 13px;
  }

  .brand-product,
  .brand-divider {
    display: none;
  }

  .docs-sidebar {
    width: min(86vw, 300px);
    transform: translateX(-105%);
    transition: transform 190ms ease;
  }

  .docs-sidebar.is-open {
    transform: translateX(0);
  }

  .docs-main {
    margin-left: 0;
  }

  .doc-page {
    padding: 38px 20px 80px;
  }

  .doc-copy h1 {
    font-size: 34px;
  }

  .doc-copy .lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .landing-grid {
    gap: 38px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .event-list div,
  .parameter-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .code-window pre {
    font-size: 10px;
  }

  .copy-button {
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  .doc-page {
    padding-inline: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    min-height: 46px;
  }

  .path-list a {
    grid-template-columns: auto 1fr;
  }

  .path-list a > i {
    display: none;
  }

  .step-list > section {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
  }

  .code-window-header {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
