:root {
  --documentation-accent: #635bff;
  --documentation-accent-2: #24c8ff;
  --documentation-brand-bg: #f8fafc;
  --documentation-brand-bg-dark: #0c0e14;
  --documentation-font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --documentation-font-heading: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --documentation-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --documentation-bg: #fbfcfe;
  --documentation-surface: #ffffff;
  --documentation-surface-raised: #ffffff;
  --documentation-panel: #f4f6fa;
  --documentation-panel-strong: #edf0f6;
  --documentation-text: #11131a;
  --documentation-text-soft: #353a47;
  --documentation-muted: #5c6270;
  --documentation-faint: #646a78;
  --documentation-border: #e4e7ed;
  --documentation-border-strong: #d7dbe4;
  --documentation-code-bg: #11131a;
  --documentation-code-panel: #171a23;
  --documentation-code-text: #e8ebf5;
  --documentation-shadow-sm: 0 1px 2px rgba(15, 18, 28, .04), 0 2px 8px rgba(15, 18, 28, .03);
  --documentation-shadow-lg: 0 24px 80px rgba(15, 18, 28, .18), 0 6px 24px rgba(15, 18, 28, .08);
  --documentation-header-height: 66px;
  --documentation-sidebar-width: 292px;
  --documentation-assistant-width: 420px;
  /* Darkened against the light page; the dark theme lightens it instead. */
  --documentation-focus-ring: color-mix(in srgb, var(--documentation-accent) 82%, var(--documentation-text));
  color-scheme: light;
  font-family: var(--documentation-font-body);
}

:root[data-theme="dark"] {
  --documentation-brand-bg: var(--documentation-brand-bg-dark);
  --documentation-bg: var(--documentation-brand-bg-dark);
  --documentation-surface: #10131b;
  --documentation-surface-raised: #151923;
  --documentation-panel: #171b25;
  --documentation-panel-strong: #1e2330;
  --documentation-text: #f2f4fa;
  --documentation-text-soft: #cbd0dc;
  --documentation-muted: #999fad;
  --documentation-faint: #808797;
  --documentation-border: #252a36;
  --documentation-border-strong: #343a49;
  --documentation-code-bg: #080a0f;
  --documentation-code-panel: #10131a;
  --documentation-code-text: #eef0f7;
  --documentation-shadow-sm: 0 1px 2px rgba(0, 0, 0, .24);
  --documentation-shadow-lg: 0 28px 90px rgba(0, 0, 0, .55), 0 8px 24px rgba(0, 0, 0, .35);
  --documentation-focus-ring: color-mix(in srgb, var(--documentation-accent) 74%, white);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--documentation-brand-bg); color: var(--documentation-text); font-family: var(--documentation-font-body); font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:root[data-background-decoration="gradient"] body { background-image: radial-gradient(circle at 58% 7%, color-mix(in srgb, var(--documentation-accent) 7%, transparent), transparent 32%); background-attachment: fixed; }
:root[data-background-decoration="grid"] body { background-image: linear-gradient(color-mix(in srgb, var(--documentation-border) 26%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--documentation-border) 26%, transparent) 1px, transparent 1px); background-attachment: fixed; background-size: 32px 32px; }
body:has(.documentation-modal-layer), body:has(.documentation-mobile-nav) { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--documentation-focus-ring); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--documentation-accent) 24%, transparent); }

.documentation-skip-link { position: fixed; z-index: 200; top: -64px; left: 16px; padding: 9px 13px; border-radius: 8px; background: var(--documentation-text); color: var(--documentation-bg); font-weight: 650; text-decoration: none; }
.documentation-skip-link:focus { top: 12px; }
.documentation-app.is-navigating::before { content: ""; position: fixed; z-index: 240; inset: 0 auto auto 0; width: 42%; height: 2px; background: linear-gradient(90deg, var(--documentation-accent), var(--documentation-accent-2)); box-shadow: 0 0 14px color-mix(in srgb, var(--documentation-accent-2) 48%, transparent); animation: documentation-navigation-progress .8s ease-in-out infinite alternate; }
::view-transition-old(documentation-article) { animation: documentation-page-out .11s ease-in both; }
::view-transition-new(documentation-article) { animation: documentation-page-in .16s ease-out both; }
/* Only the article animates. Without these, the browser's default root
 * cross-fade snapshots the whole viewport and visibly fades over the fixed
 * assistant launcher/panel on every client navigation. */
::view-transition-group(root) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(documentation-assistant), ::view-transition-new(documentation-assistant),
::view-transition-old(documentation-assistant-launcher), ::view-transition-new(documentation-assistant-launcher) { animation: none; }


.documentation-header { position: fixed; z-index: 50; inset: 0 0 auto; display: grid; grid-template-columns: var(--documentation-sidebar-width) minmax(300px, 1fr) auto; align-items: center; height: var(--documentation-header-height); border-bottom: 1px solid color-mix(in srgb, var(--documentation-border) 84%, transparent); background: color-mix(in srgb, var(--documentation-bg) 91%, transparent); backdrop-filter: blur(18px) saturate(1.15); transition: right .24s ease; }
.documentation-brand { display: flex; align-items: center; gap: 10px; min-width: 0; height: 100%; padding: 0 23px; color: var(--documentation-text); text-decoration: none; }
.documentation-brand-mark { position: relative; display: grid; place-items: center; width: 27px; height: 27px; color: var(--documentation-accent); }
.documentation-brand-mark::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--documentation-accent-2) 15%, transparent), transparent 68%); }
.documentation-brand-mark svg { position: relative; width: 27px; height: 27px; }
.documentation-brand-name { overflow: hidden; font-size: 16px; font-weight: 720; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.documentation-brand-product { padding-left: 10px; border-left: 1px solid var(--documentation-border-strong); color: var(--documentation-muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.documentation-brand-logo { max-width: 145px; max-height: 26px; object-fit: contain; object-position: left center; }
.documentation-brand-logo-dark { display: none; }
:root[data-theme="dark"] .documentation-brand-logo-light { display: none; }
:root[data-theme="dark"] .documentation-brand-logo-dark { display: block; }

.documentation-header-center { display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.documentation-search-trigger { display: flex; align-items: center; width: min(380px, 38vw); height: 38px; gap: 9px; padding: 0 10px 0 12px; border: 1px solid var(--documentation-border); border-radius: 10px; background: color-mix(in srgb, var(--documentation-surface) 88%, transparent); color: var(--documentation-muted); box-shadow: var(--documentation-shadow-sm); cursor: pointer; text-align: left; transition: border-color .15s, color .15s, transform .15s; }
.documentation-search-trigger:hover { border-color: var(--documentation-border-strong); color: var(--documentation-text); transform: translateY(-1px); }
.documentation-search-trigger > span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.documentation-search-trigger svg { width: 16px; }
.documentation-search-trigger kbd { padding: 2px 6px; border: 1px solid var(--documentation-border); border-radius: 5px; background: var(--documentation-panel); color: var(--documentation-faint); font: 600 12px/1.3 var(--documentation-font-mono); }

.documentation-top-links { display: flex; align-items: center; gap: 18px; height: 100%; padding: 0 24px 0 10px; }
.documentation-top-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--documentation-muted); font-size: 14px; font-weight: 560; text-decoration: none; white-space: nowrap; }
.documentation-top-links a:hover { color: var(--documentation-text); }
.documentation-top-links svg { width: 12px; height: 12px; }
.documentation-mobile-actions { display: none; align-items: center; gap: 3px; padding-right: 12px; }
.documentation-icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--documentation-muted); cursor: pointer; }
.documentation-icon-button:hover { background: var(--documentation-panel); color: var(--documentation-text); }

.documentation-frame { min-height: 100vh; padding-top: var(--documentation-header-height); }
.documentation-sidebar { position: fixed; z-index: 30; inset: var(--documentation-header-height) auto 0 0; display: flex; flex-direction: column; width: var(--documentation-sidebar-width); border-right: 1px solid var(--documentation-border); background: var(--documentation-bg); }
.documentation-page-tree { flex: 1; overflow: auto; padding: 26px 18px 36px 22px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--documentation-border-strong) transparent; }
.documentation-nav-section { margin: 0 0 25px; }
.documentation-nav-section > h2 { margin: 0 0 8px; padding: 0 9px; color: var(--documentation-text); font-size: 14px; font-weight: 650; }
.documentation-nav-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; margin: 1px 0; padding: 6px 9px; border-radius: 8px; color: var(--documentation-muted); font-size: 14px; line-height: 1.4; text-decoration: none; transition: background .12s, color .12s; }
.documentation-nav-link > span { min-width: 0; overflow-wrap: anywhere; }
.documentation-nav-link > svg { flex: 0 0 auto; width: 12px; height: 12px; }
.documentation-nav-link:hover { background: var(--documentation-panel); color: var(--documentation-text); }
.documentation-nav-link.is-active { position: relative; background: linear-gradient(90deg, color-mix(in srgb, var(--documentation-accent) 11%, transparent), color-mix(in srgb, var(--documentation-accent-2) 5%, transparent)); color: color-mix(in srgb, var(--documentation-accent) 77%, var(--documentation-text)); font-weight: 650; }
.documentation-nav-link.is-active::before { content: ""; position: absolute; inset: 8px auto 8px -5px; width: 2px; border-radius: 4px; background: linear-gradient(var(--documentation-accent), var(--documentation-accent-2)); box-shadow: 0 0 10px color-mix(in srgb, var(--documentation-accent-2) 52%, transparent); }
.documentation-nav-folder { margin: 2px 0; }
.documentation-nav-folder > summary { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 6px 9px; border-radius: 8px; color: var(--documentation-muted); cursor: pointer; font-size: 14px; font-weight: 620; list-style: none; }
.documentation-nav-folder > summary::-webkit-details-marker { display: none; }
.documentation-nav-folder > summary:hover { background: var(--documentation-panel); color: var(--documentation-text); }
.documentation-nav-folder > summary svg { width: 13px; transition: transform .16s; }
.documentation-nav-folder:not([open]) > summary svg { transform: rotate(-90deg); }
.documentation-nav-folder > div { margin-left: 8px; padding-left: 9px; border-left: 1px solid var(--documentation-border); }

.documentation-sidebar-footer { flex: 0 0 auto; display: grid; gap: 11px; padding: 13px 20px 16px 22px; border-top: 1px solid var(--documentation-border); background: color-mix(in srgb, var(--documentation-panel) 46%, var(--documentation-bg)); }
.documentation-sidebar-footer > nav { display: flex; flex-wrap: wrap; gap: 8px 13px; }
.documentation-sidebar-footer a, .documentation-sidebar-footer > span { color: var(--documentation-faint); font-size: 12px; text-decoration: none; }
.documentation-sidebar-footer a:hover { color: var(--documentation-text); }
.documentation-theme-controls { display: inline-flex; width: max-content; padding: 2px; border: 1px solid var(--documentation-border); border-radius: 9px; background: var(--documentation-surface); box-shadow: var(--documentation-shadow-sm); }
.documentation-theme-controls button { display: grid; place-items: center; width: 28px; height: 25px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--documentation-faint); cursor: pointer; }
.documentation-theme-controls button:hover { color: var(--documentation-text); }
.documentation-theme-controls button[aria-pressed="true"] { background: var(--documentation-panel-strong); color: var(--documentation-text); }
.documentation-theme-controls svg { width: 14px; height: 14px; }


.documentation-main { min-width: 0; margin-left: var(--documentation-sidebar-width); margin-right: 0; transition: margin-right .24s ease; }
.documentation-reader-grid { display: grid; grid-template-columns: minmax(0, 720px) 250px; justify-content: center; gap: 70px; width: 100%; padding: 62px 52px 96px; }
.documentation-reader-column { display: flex; min-width: 0; min-height: calc(100vh - var(--documentation-header-height) - 158px); flex-direction: column; }
.documentation-article { display: flex; min-width: 0; flex: 1; flex-direction: column; view-transition-name: documentation-article; }
.documentation-breadcrumbs { display: none; align-items: center; gap: 5px; margin-bottom: 24px; color: var(--documentation-muted); font-size: 13px; }
.documentation-breadcrumbs span { display: inline-flex; align-items: center; gap: 5px; }
.documentation-breadcrumbs svg { width: 12px; height: 12px; }
.documentation-article-header { margin-bottom: 38px; }
.documentation-article-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 32px; margin-bottom: 7px; }
.documentation-eyebrow { color: color-mix(in srgb, var(--documentation-accent) 76%, var(--documentation-text)); font-size: 13px; font-weight: 700; letter-spacing: .035em; }
.documentation-contextual-actions { position: relative; display: inline-flex; flex: 0 0 auto; align-items: stretch; height: 32px; border: 1px solid var(--documentation-border); border-radius: 8px; background: color-mix(in srgb, var(--documentation-surface) 92%, transparent); box-shadow: var(--documentation-shadow-sm); }
.documentation-contextual-actions button, .documentation-contextual-actions a, .documentation-contextual-actions summary { display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 30px; padding: 0 10px; border: 0; background: transparent; color: var(--documentation-muted); cursor: pointer; font: 590 12.5px/1 var(--documentation-font-body); text-decoration: none; white-space: nowrap; }
.documentation-contextual-actions button:hover, .documentation-contextual-actions a:hover, .documentation-contextual-actions summary:hover { color: var(--documentation-text); }
.documentation-contextual-actions svg { flex: 0 0 auto; width: 13px; height: 13px; }
.documentation-contextual-actions details { position: relative; border-left: 1px solid var(--documentation-border); }
.documentation-contextual-actions summary { width: 30px; padding: 0; justify-content: center; list-style: none; }
.documentation-contextual-actions summary::-webkit-details-marker { display: none; }
.documentation-contextual-actions details[open] summary { background: var(--documentation-panel); color: var(--documentation-text); }
.documentation-contextual-actions details[open] summary svg { transform: rotate(180deg); }
.documentation-contextual-menu { position: absolute; z-index: 35; top: calc(100% + 7px); right: -1px; display: grid; width: min(344px, calc(100vw - 32px)); max-height: min(510px, calc(100vh - 120px)); overflow: auto; padding: 6px; border: 1px solid var(--documentation-border-strong); border-radius: 12px; background: var(--documentation-surface-raised); box-shadow: var(--documentation-shadow-lg); }
.documentation-contextual-menu button, .documentation-contextual-menu a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; height: auto; min-height: 52px; padding: 7px 8px; border-radius: 8px; text-align: left; white-space: normal; }
.documentation-contextual-menu button:hover, .documentation-contextual-menu a:hover { background: var(--documentation-panel); }
.documentation-contextual-action-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--documentation-border); border-radius: 7px; background: var(--documentation-surface); color: var(--documentation-text-soft); }
.documentation-contextual-action-icon svg { width: 15px; height: 15px; }
.documentation-contextual-action-copy { display: grid; min-width: 0; gap: 2px; }
.documentation-contextual-action-copy strong { color: var(--documentation-text); font-size: 13px; font-weight: 640; line-height: 1.25; }
.documentation-contextual-action-copy small { color: var(--documentation-muted); font-size: 12px; font-weight: 450; line-height: 1.3; }
.documentation-contextual-menu .documentation-contextual-action-external { width: 12px; height: 12px; color: var(--documentation-faint); }
.documentation-article-header h1 { margin: 0; color: var(--documentation-text); font-family: var(--documentation-font-heading); font-size: clamp(34px, 3vw, 40px); font-weight: 650; letter-spacing: -.025em; line-height: 1.12; overflow-wrap: anywhere; }
.documentation-article-header h1:focus { outline: none; }
.documentation-lede { max-width: 680px; margin: 14px 0 0; color: var(--documentation-text-soft); font-size: 19px; letter-spacing: -.01em; line-height: 1.55; }

.documentation-prose { color: var(--documentation-text-soft); }
.documentation-prose > :first-child { margin-top: 0; }
.documentation-prose h1, .documentation-prose h2, .documentation-prose h3, .documentation-prose h4, .documentation-prose h5, .documentation-prose h6 { position: relative; color: var(--documentation-text); font-family: var(--documentation-font-heading); scroll-margin-top: 96px; }
.documentation-prose h1 { margin: 48px 0 18px; font-size: 30px; letter-spacing: -.025em; line-height: 1.2; }
.documentation-prose h2 { margin: 50px 0 16px; padding-top: 5px; font-size: 25px; font-weight: 625; letter-spacing: -.025em; line-height: 1.28; }
.documentation-prose h3 { margin: 34px 0 12px; font-size: 20px; font-weight: 620; letter-spacing: -.015em; line-height: 1.4; }
.documentation-prose h4 { margin: 28px 0 10px; font-size: 17px; font-weight: 620; }
/* Parked in the gutter so revealing it on hover never reflows the heading. The
 * bare class selector loses to the prose link rule, hence the descendant form. */
.documentation-prose .documentation-heading-anchor { position: absolute; top: 0; left: -.82em; display: flex; align-items: center; height: 100%; padding-right: .25em; color: var(--documentation-faint); font-size: .8em; font-weight: 500; opacity: 0; text-decoration: none; transition: opacity .12s; }
.documentation-prose :is(h1, h2, h3, h4, h5, h6):hover .documentation-heading-anchor, .documentation-prose .documentation-heading-anchor:focus-visible { opacity: 1; }
.documentation-prose p { margin: 0 0 20px; }
.documentation-prose ul, .documentation-prose ol { margin: 0 0 22px; padding-left: 26px; }
.documentation-prose li { margin: 6px 0; padding-left: 3px; }
.documentation-prose li::marker { color: var(--documentation-faint); }
.documentation-prose strong { color: var(--documentation-text); font-weight: 610; }
.documentation-prose a { color: color-mix(in srgb, var(--documentation-accent) 78%, var(--documentation-text)); font-weight: 560; text-decoration-color: color-mix(in srgb, var(--documentation-accent) 38%, transparent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.documentation-prose a:hover { text-decoration-color: currentColor; }
.documentation-prose img { display: block; max-width: 100%; height: auto; margin: 26px 0; border: 1px solid var(--documentation-border); border-radius: 12px; background: var(--documentation-surface); box-shadow: var(--documentation-shadow-sm); }
.documentation-prose blockquote { margin: 25px 0; padding: 4px 0 4px 18px; border-left: 2px solid color-mix(in srgb, var(--documentation-accent) 45%, var(--documentation-border)); color: var(--documentation-muted); }
.documentation-prose blockquote p:last-child { margin-bottom: 0; }
.documentation-prose hr { margin: 44px 0; border: 0; border-top: 1px solid var(--documentation-border); }
.documentation-prose :not(pre) > code, .documentation-assistant-message code { padding: 2px 6px; border-radius: 6px; background: var(--documentation-panel); color: var(--documentation-text); font: 520 .86em/1.4 var(--documentation-font-mono); overflow-wrap: anywhere; }
.documentation-code-block { position: relative; margin: 24px 0; }
.documentation-prose .documentation-code-block pre { margin: 0; }
.documentation-prose pre { position: relative; overflow: auto; margin: 24px 0; padding: 20px; border: 1px solid color-mix(in srgb, var(--documentation-border-strong) 50%, #000); border-radius: 12px; background: linear-gradient(145deg, var(--documentation-code-panel), var(--documentation-code-bg)); color: var(--documentation-code-text); box-shadow: 0 12px 34px rgba(7, 9, 14, .12); font: 14px/1.65 var(--documentation-font-mono); tab-size: 2; }
.documentation-prose pre code { display: block; min-width: max-content; background: transparent; }
/* Actions overlay the code rather than floating inside its text flow, so no line
 * needs padding reserved for them and horizontal scrolling stays exact. */
.documentation-code-actions { position: absolute; z-index: 2; top: 10px; right: 10px; display: inline-flex; gap: 4px; opacity: 0; transition: opacity .14s; }
.documentation-code-block:hover .documentation-code-actions, .documentation-code-actions:focus-within { opacity: 1; }
.documentation-code-actions button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 7px; background: color-mix(in srgb, var(--documentation-code-panel) 88%, transparent); color: #aeb5c6; cursor: pointer; backdrop-filter: blur(6px); }
.documentation-code-actions button:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.documentation-code-actions svg { width: 15px; height: 15px; }
.documentation-code-language { position: absolute; z-index: 1; top: 14px; left: 20px; color: #7f889c; font: 650 11.5px/1 var(--documentation-font-mono); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.documentation-code-block:has(.documentation-code-language) pre { padding-top: 38px; }

.hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-section, .hljs-link { color: #b7a7ff; }
.hljs-string, .hljs-title, .hljs-name, .hljs-type, .hljs-attribute, .hljs-symbol, .hljs-bullet, .hljs-addition { color: #73dfb4; }
.hljs-number, .hljs-meta, .hljs-built_in, .hljs-builtin-name, .hljs-params { color: #f0b96b; }
.hljs-comment, .hljs-quote, .hljs-deletion { color: #767f93; font-style: italic; }
.hljs-variable, .hljs-template-variable, .hljs-regexp { color: #ff95b4; }

/* Light code blocks re-tint every token group above; a partial override would
 * leave the dark palette's colors on a near-white background. */
:root[data-code-mode="system"][data-theme="light"] {
  --documentation-code-plain: #252936;
  --documentation-code-keyword: #6f42c1;
  --documentation-code-string: #0a7d55;
  --documentation-code-number: #8a4b00;
  --documentation-code-comment: #636a78;
  --documentation-code-variable: #b3246b;
}
:root[data-code-mode="system"][data-theme="light"] .documentation-prose pre { border-color: var(--documentation-border); background: linear-gradient(145deg, #f7f8fb, #f1f3f7); color: var(--documentation-code-plain); box-shadow: 0 8px 26px rgba(15, 18, 28, .06); }
:root[data-code-mode="system"][data-theme="light"] .documentation-code-actions button { border-color: rgba(17, 19, 26, .12); background: rgba(255, 255, 255, .82); color: #606675; }
:root[data-code-mode="system"][data-theme="light"] .documentation-code-actions button:hover { background: #fff; color: #11131a; }
:root[data-code-mode="system"][data-theme="light"] .documentation-code-language { color: #757c8c; }
:root[data-code-mode="system"][data-theme="light"] :is(.hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-section, .hljs-link) { color: var(--documentation-code-keyword); }
:root[data-code-mode="system"][data-theme="light"] :is(.hljs-string, .hljs-title, .hljs-name, .hljs-type, .hljs-attribute, .hljs-symbol, .hljs-bullet, .hljs-addition) { color: var(--documentation-code-string); }
:root[data-code-mode="system"][data-theme="light"] :is(.hljs-number, .hljs-meta, .hljs-built_in, .hljs-builtin-name, .hljs-params) { color: var(--documentation-code-number); }
:root[data-code-mode="system"][data-theme="light"] :is(.hljs-comment, .hljs-quote, .hljs-deletion) { color: var(--documentation-code-comment); }
:root[data-code-mode="system"][data-theme="light"] :is(.hljs-variable, .hljs-template-variable, .hljs-regexp) { color: var(--documentation-code-variable); }

.documentation-prose table { display: block; width: 100%; overflow: auto; margin: 25px 0 29px; border: 1px solid var(--documentation-border); border-radius: 10px; border-collapse: separate; border-spacing: 0; background: var(--documentation-surface); font-size: 15px; }
.documentation-prose thead { background: var(--documentation-panel); }
.documentation-prose th, .documentation-prose td { min-width: 130px; padding: 11px 14px; border-right: 1px solid var(--documentation-border); border-bottom: 1px solid var(--documentation-border); text-align: left; vertical-align: top; }
.documentation-prose th:last-child, .documentation-prose td:last-child { border-right: 0; }
.documentation-prose tr:last-child td { border-bottom: 0; }
.documentation-prose th { color: var(--documentation-text); font-size: 13px; font-weight: 700; letter-spacing: .02em; }

.documentation-callout { --callout-accent: var(--documentation-accent); position: relative; margin: 24px 0; padding: 16px 18px 16px 20px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--callout-accent) 25%, var(--documentation-border)); border-radius: 11px; background: linear-gradient(105deg, color-mix(in srgb, var(--callout-accent) 7%, var(--documentation-surface)), var(--documentation-surface)); }
.documentation-callout::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--callout-accent); }
.documentation-callout > strong { display: block; margin-bottom: 3px; color: color-mix(in srgb, var(--callout-accent) 72%, var(--documentation-text)); font-size: 14px; }
.documentation-callout > :last-child { margin-bottom: 0; }
.documentation-callout-warning { --callout-accent: #e58a21; }
.documentation-callout-tip { --callout-accent: #17a673; }
.documentation-callout-info { --callout-accent: #278fdb; }
.documentation-callout-note { --callout-accent: var(--documentation-accent); }
.documentation-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin: 14px 0; padding: 16px 17px; border: 1px solid var(--documentation-border); border-radius: 11px; background: var(--documentation-surface); box-shadow: var(--documentation-shadow-sm); text-decoration: none !important; transition: border-color .16s, box-shadow .16s, transform .16s; }
.documentation-card:hover { border-color: color-mix(in srgb, var(--documentation-accent) 42%, var(--documentation-border)); box-shadow: 0 7px 24px rgba(15, 18, 28, .07); transform: translateY(-1px); }
.documentation-card strong { display: block; margin-bottom: 2px; }
.documentation-accordion-group { margin: 21px 0; border: 1px solid var(--documentation-border); border-radius: 11px; overflow: hidden; }
.documentation-accordion-group .documentation-accordion { margin: 0; border: 0; border-bottom: 1px solid var(--documentation-border); border-radius: 0; }
.documentation-accordion-group .documentation-accordion:last-child { border-bottom: 0; }
.documentation-accordion { margin: 14px 0; padding: 0 16px; border: 1px solid var(--documentation-border); border-radius: 10px; background: var(--documentation-surface); }
.documentation-accordion summary { padding: 14px 25px 14px 0; color: var(--documentation-text); cursor: pointer; font-weight: 650; list-style: none; }
.documentation-accordion summary::-webkit-details-marker { display: none; }
.documentation-accordion summary::after { content: "+"; float: right; margin-right: -20px; color: var(--documentation-faint); font-size: 18px; font-weight: 400; line-height: 1; }
.documentation-accordion[open] summary::after { content: "−"; }
.documentation-accordion > :last-child { margin-bottom: 15px; }
.documentation-steps { margin: 25px 0; counter-reset: documentation-step; }
.documentation-step { position: relative; margin-left: 13px; padding: 0 0 29px 34px; border-left: 1px solid var(--documentation-border-strong); counter-increment: documentation-step; }
.documentation-step:last-child { padding-bottom: 3px; border-color: transparent; }
.documentation-step::before { content: counter(documentation-step); position: absolute; left: -14px; top: -1px; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid color-mix(in srgb, var(--documentation-accent) 46%, var(--documentation-border)); border-radius: 50%; background: var(--documentation-surface); color: color-mix(in srgb, var(--documentation-accent) 78%, var(--documentation-text)); box-shadow: 0 0 0 5px var(--documentation-bg); font-size: 11px; font-weight: 740; }
.documentation-step h3 { margin-top: 0; }
.documentation-tabs { margin: 23px 0; overflow: hidden; border: 1px solid var(--documentation-border); border-radius: 11px; background: var(--documentation-surface); }
.documentation-tab-buttons { display: flex; gap: 2px; overflow-x: auto; padding: 6px; border-bottom: 1px solid var(--documentation-border); background: var(--documentation-panel); }
.documentation-tab-buttons button { flex: 0 0 auto; padding: 6px 11px; border: 0; border-radius: 7px; background: transparent; color: var(--documentation-muted); cursor: pointer; font-size: 13.5px; font-weight: 620; }
.documentation-tab-buttons button[aria-selected="true"] { background: var(--documentation-surface); color: var(--documentation-text); box-shadow: var(--documentation-shadow-sm); }
.documentation-tab { padding: 16px 18px 2px; }
.documentation-tab > :first-child { margin-top: 0; }
.documentation-code-group { margin: 23px 0; overflow: hidden; border: 1px solid var(--documentation-border-strong); border-radius: 12px; background: var(--documentation-surface); }
.documentation-code-group-title { padding: 8px 13px; border-bottom: 1px solid var(--documentation-border); background: var(--documentation-panel); color: var(--documentation-muted); font-size: 12px; font-weight: 650; }
.documentation-code-group .documentation-tab-buttons { border-color: color-mix(in srgb, var(--documentation-border) 72%, transparent); background: var(--documentation-panel); }
.documentation-code-tab { padding: 0; }
.documentation-code-group .documentation-code-block { margin: 0; }
.documentation-prose .documentation-code-group pre { margin: 0; border: 0; border-radius: 0; box-shadow: none; }

.documentation-api-badge { display: flex; align-items: center; gap: 9px; margin: 0 0 25px; padding: 11px 13px; border: 1px solid var(--documentation-border); border-radius: 10px; background: var(--documentation-panel); }
.method { display: inline-grid; place-items: center; min-width: 52px; padding: 4px 7px; border-radius: 6px; background: #3178e8; color: white; font: 750 10px/1.3 var(--documentation-font-mono); letter-spacing: .035em; }
.method-post { background: #138b5b; }
.method-put, .method-patch { background: #bd7215; }
.method-delete { background: #cd464d; }
.documentation-playground { margin: 48px 0 30px; padding: 20px; border: 1px solid var(--documentation-border); border-radius: 12px; background: var(--documentation-panel); }
.documentation-playground-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.documentation-playground-title > div { display: flex; align-items: center; gap: 9px; }
.documentation-playground-title code { overflow: hidden; color: var(--documentation-muted); font: 11px var(--documentation-font-mono); text-overflow: ellipsis; white-space: nowrap; }
.documentation-playground > p { color: var(--documentation-muted); font-size: 12px; }
.documentation-playground label { display: grid; gap: 5px; margin: 13px 0; color: var(--documentation-muted); font-size: 11px; font-weight: 650; }
.documentation-playground input, .documentation-playground textarea { width: 100%; padding: 10px; border: 1px solid var(--documentation-border-strong); border-radius: 8px; background: var(--documentation-surface); color: var(--documentation-text); font: 12.5px/1.55 var(--documentation-font-mono); resize: vertical; }
.documentation-playground > button { padding: 9px 13px; border: 0; border-radius: 8px; background: var(--documentation-accent); color: white; cursor: pointer; font-size: 12px; font-weight: 680; }
.documentation-playground > button:disabled { opacity: .58; cursor: wait; }
.documentation-playground > pre { max-height: 320px; overflow: auto; margin: 14px 0 0; padding: 13px; border-radius: 8px; background: var(--documentation-code-bg); color: var(--documentation-code-text); font: 11.5px/1.55 var(--documentation-font-mono); white-space: pre-wrap; }

.documentation-context-rail { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding-left: 18px; }
.documentation-outline { display: grid; gap: 2px; }
.documentation-outline h2 { margin: 0 0 9px; color: var(--documentation-text); font-size: 13.5px; font-weight: 650; }
.documentation-outline a { padding: 5px 0; color: var(--documentation-muted); font-size: 13.5px; line-height: 1.45; text-decoration: none; transition: color .12s; }
.documentation-outline a:hover, .documentation-outline a.is-active { color: var(--documentation-text); }
.documentation-outline a.is-active { color: color-mix(in srgb, var(--documentation-accent) 74%, var(--documentation-text)); font-weight: 640; }
.documentation-outline a.depth-3 { padding-left: 13px; }
/* The outline for viewports that have no room for the sticky rail. */
.documentation-outline-disclosure { display: none; margin: 0 0 32px; border: 1px solid var(--documentation-border); border-radius: 10px; background: var(--documentation-surface); }
.documentation-outline-disclosure > summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: var(--documentation-text); cursor: pointer; font-size: 14px; font-weight: 650; list-style: none; }
.documentation-outline-disclosure > summary::-webkit-details-marker { display: none; }
.documentation-outline-disclosure > summary svg { width: 15px; height: 15px; color: var(--documentation-muted); }
.documentation-outline-disclosure .documentation-outline { padding: 0 14px 12px; }
.documentation-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: auto; padding-top: 28px; }
.documentation-pagination a { display: flex; flex-direction: column; min-height: 86px; padding: 14px 16px; border: 1px solid var(--documentation-border); border-radius: 10px; background: var(--documentation-surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.documentation-pagination a:hover { border-color: color-mix(in srgb, var(--documentation-accent) 38%, var(--documentation-border)); transform: translateY(-1px); }
.documentation-pagination a:last-child { text-align: right; }
.documentation-pagination small { margin-bottom: 7px; color: var(--documentation-faint); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.documentation-pagination span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--documentation-text); font-size: 15px; font-weight: 650; }
.documentation-pagination a:last-child span { justify-content: flex-end; }
.documentation-pagination svg { flex: 0 0 auto; width: 15px; }
.documentation-pagination svg.is-back { transform: rotate(180deg); }


.documentation-modal-layer { position: fixed; z-index: 100; inset: 0; display: flex; background: rgba(9, 11, 17, .48); backdrop-filter: blur(5px); animation: documentation-fade-in .14s ease-out; }
.documentation-search-layer { align-items: flex-start; justify-content: center; padding: min(12vh, 100px) 16px 16px; }
.documentation-search-dialog { width: min(680px, 100%); overflow: hidden; border: 1px solid var(--documentation-border-strong); border-radius: 14px; background: var(--documentation-surface-raised); box-shadow: var(--documentation-shadow-lg); animation: documentation-dialog-in .18s ease-out; }
.documentation-search-input { display: flex; align-items: center; gap: 11px; height: 56px; padding: 0 15px; border-bottom: 1px solid var(--documentation-border); }
.documentation-search-input > svg { flex: 0 0 auto; width: 18px; color: var(--documentation-muted); }
.documentation-search-input input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--documentation-text); font-size: 16px; }
.documentation-search-input input::placeholder { color: var(--documentation-faint); }
.documentation-search-input kbd, .documentation-search-dialog footer kbd { padding: 2px 6px; border: 1px solid var(--documentation-border); border-radius: 5px; background: var(--documentation-panel); color: var(--documentation-faint); font: 600 11px/1.4 var(--documentation-font-mono); }
.documentation-search-results { min-height: 180px; max-height: min(56vh, 500px); overflow: auto; padding: 7px; }
.documentation-search-empty { display: grid; place-items: center; min-height: 180px; padding: 25px; color: var(--documentation-muted); text-align: center; }
.documentation-search-empty svg { width: 29px; height: 29px; margin-bottom: 8px; color: var(--documentation-accent); }
.documentation-search-empty strong { color: var(--documentation-text); font-size: 15px; }
.documentation-search-empty span { font-size: 13px; }
.documentation-search-state { padding: 28px 16px; color: var(--documentation-muted); font-size: 14px; text-align: center; }
.documentation-search-result, .documentation-search-assistant { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 64px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--documentation-text); cursor: pointer; text-align: left; text-decoration: none; }
.documentation-search-result.is-active, .documentation-search-assistant.is-active { background: var(--documentation-panel); }
.documentation-search-copy, .documentation-search-assistant > span { min-width: 0; flex: 1; display: grid; gap: 2px; }
.documentation-search-copy strong, .documentation-search-assistant strong { overflow: hidden; font-size: 15px; font-weight: 660; text-overflow: ellipsis; white-space: nowrap; }
.documentation-search-copy small, .documentation-search-assistant small { overflow: hidden; color: var(--documentation-muted); font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.documentation-search-crumbs { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: var(--documentation-muted); font-size: 13px; line-height: 1.45; white-space: nowrap; }
.documentation-search-crumbs svg { flex: 0 0 auto; width: 11px; height: 11px; color: var(--documentation-faint); }
.documentation-search-kind { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--documentation-panel); color: var(--documentation-muted); }
.documentation-search-kind svg { width: 14px; height: 14px; }
.documentation-search-result > svg, .documentation-search-assistant > svg:last-child { flex: 0 0 auto; width: 14px; color: var(--documentation-faint); }
.documentation-search-assistant { border-top: 1px solid var(--documentation-border); border-radius: 0 0 9px 9px; color: color-mix(in srgb, var(--documentation-accent) 76%, var(--documentation-text)); }
.documentation-search-assistant > svg:first-child { flex: 0 0 auto; width: 19px; }
.documentation-search-result mark { border-radius: 3px; background: color-mix(in srgb, var(--documentation-accent) 18%, transparent); color: inherit; font-weight: 700; }
.documentation-search-dialog > footer { display: flex; gap: 17px; padding: 9px 14px; border-top: 1px solid var(--documentation-border); background: var(--documentation-panel); color: var(--documentation-faint); font-size: 12px; }
.documentation-search-dialog > footer span { display: flex; align-items: center; gap: 3px; }

.documentation-mobile-nav { display: flex; flex-direction: column; width: min(342px, 88vw); height: 100%; border-right: 1px solid var(--documentation-border); background: var(--documentation-bg); box-shadow: var(--documentation-shadow-lg); animation: documentation-drawer-in .2s ease-out; }
.documentation-mobile-nav > header { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--documentation-border); }
.documentation-mobile-nav > header .documentation-brand { border: 0; padding-left: 20px; }
.documentation-mobile-nav > header .documentation-icon-button { margin-right: 12px; }
.documentation-mobile-nav > .documentation-page-tree { padding-top: 22px; }
.documentation-mobile-nav > footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; padding: 13px 18px; border-top: 1px solid var(--documentation-border); }
.documentation-mobile-nav > footer a { color: var(--documentation-muted); font-size: 13px; text-decoration: none; }

/* Sticky inside the reading column instead of fixed to the viewport: it tracks
 * the column's centre line, never covers the sidebar or outline, and scrolls
 * away above the pagination rather than sitting on top of it. */
.documentation-launcher-dock { position: sticky; z-index: 40; bottom: 0; display: flex; justify-content: center; margin-top: auto; padding: 44px 0 16px; pointer-events: none; }
.documentation-launcher-dock::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to bottom, transparent, var(--documentation-brand-bg) 58%); }
.documentation-launcher-dock + .documentation-pagination { margin-top: 0; }
.documentation-assistant-launcher { view-transition-name: documentation-assistant-launcher; position: relative; display: grid; grid-template-columns: fit-content(40%) minmax(0, 1fr) auto auto; align-items: center; gap: 0; width: min(452px, 100%); min-height: 48px; padding: 5px; border: 1px solid color-mix(in srgb, var(--documentation-border-strong) 92%, var(--documentation-accent)); border-radius: 13px; background: color-mix(in srgb, var(--documentation-surface-raised) 96%, transparent); color: var(--documentation-text); box-shadow: 0 18px 45px rgba(15, 18, 28, .11), 0 2px 8px rgba(15, 18, 28, .05); pointer-events: auto; backdrop-filter: blur(18px) saturate(1.1); transition: border-color .16s, box-shadow .16s, transform .16s; }
.documentation-assistant-launcher:hover { border-color: color-mix(in srgb, var(--documentation-accent) 32%, var(--documentation-border-strong)); box-shadow: 0 20px 48px rgba(15, 18, 28, .14), 0 2px 8px rgba(15, 18, 28, .06); transform: translateY(-1px); }
.documentation-assistant-launcher input { min-width: 0; height: 36px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--documentation-text); font-size: 14px; }
.documentation-assistant-launcher input::placeholder { color: var(--documentation-muted); }
.documentation-launcher-send { display: grid; place-items: center; height: 36px; border: 0; border-radius: 9px; cursor: pointer; }
/* The 40% cap lives on the grid track: a percentage max-width here would
 * resolve against that track instead of the launcher. */
.documentation-launcher-agent { display: flex; align-items: center; gap: 4px; min-width: 0; height: 36px; padding: 0 13px 0 9px; border: 0; border-right: 1px solid var(--documentation-border); border-radius: 0; background: transparent; color: var(--documentation-text-soft); cursor: pointer; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.documentation-launcher-agent-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.documentation-launcher-agent:hover { color: var(--documentation-accent); }
.documentation-launcher-hint { display: grid; grid-auto-flow: column; gap: 3px; padding-right: 8px; }
.documentation-launcher-hint kbd { padding: 2px 5px; border: 1px solid var(--documentation-border); border-radius: 5px; background: var(--documentation-panel); color: var(--documentation-faint); font: 600 11px/1.3 var(--documentation-font-mono); }
.documentation-launcher-send { width: 36px; padding: 0; background: var(--documentation-accent); color: #fff; }
.documentation-launcher-send:disabled { background: var(--documentation-panel); color: var(--documentation-faint); cursor: default; }
.documentation-launcher-send svg { width: 15px; }
/* Docked beside the article on desktop so the page being asked about stays
 * readable; the narrow breakpoints below restore the floating card and sheet. */
.documentation-assistant { view-transition-name: documentation-assistant; position: fixed; z-index: 90; inset: var(--documentation-header-height) 0 0 auto; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; width: var(--documentation-assistant-width); overflow: hidden; border-left: 1px solid var(--documentation-border-strong); background: var(--documentation-surface); box-shadow: -18px 0 48px rgba(15, 18, 28, .06); animation: documentation-assistant-dock-in .2s ease-out; }
.documentation-app.is-assistant-open .documentation-main { margin-right: var(--documentation-assistant-width); }
.documentation-app.is-assistant-open .documentation-header { right: var(--documentation-assistant-width); }
.documentation-assistant > header { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 11px 0 18px; border-bottom: 1px solid var(--documentation-border); }
.documentation-assistant > header > div { display: flex; align-items: center; }
.documentation-assistant > header > div > span { display: grid; gap: 1px; }
.documentation-assistant > header strong { font-size: 14px; font-weight: 620; letter-spacing: -.01em; }
.documentation-assistant > header small { color: var(--documentation-muted); font-size: 12px; }
.documentation-assistant > header button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--documentation-muted); cursor: pointer; }
.documentation-assistant > header button:hover { background: var(--documentation-panel); color: var(--documentation-text); }
.documentation-assistant > header button:focus-visible { outline-width: 1px; outline-offset: 1px; }
.documentation-assistant > header button svg { width: 15px; height: 15px; }
.documentation-assistant-messages { overflow: auto; padding: 20px 20px 14px; overscroll-behavior: contain; }
.documentation-assistant-message { display: flex; align-items: flex-start; margin: 0 0 20px; color: var(--documentation-text-soft); font-size: 14.5px; line-height: 1.62; }
.documentation-assistant-message > div { min-width: 0; max-width: 590px; }
.documentation-assistant-message.is-user { justify-content: flex-end; margin-left: 54px; }
.documentation-assistant-message.is-user > div { padding: 8px 11px; border: 1px solid var(--documentation-border); border-radius: 10px; background: var(--documentation-panel); color: var(--documentation-text); }
.documentation-assistant-message.is-error > div { color: #c64b50; }
.documentation-assistant-message a { color: color-mix(in srgb, var(--documentation-accent) 79%, var(--documentation-text)); font-weight: 580; text-underline-offset: 3px; }
.documentation-assistant-markdown > :first-child { margin-top: 0; }
.documentation-assistant-markdown > :last-child { margin-bottom: 0; }
.documentation-assistant-markdown p { margin: 0 0 11px; }
.documentation-assistant-markdown ul, .documentation-assistant-markdown ol { margin: 0 0 12px; padding-left: 20px; }
.documentation-assistant-markdown li { margin: 3px 0; }
.documentation-assistant-heading { display: block; margin: 15px 0 6px; color: var(--documentation-text); font-family: var(--documentation-font-heading); font-size: 14.5px; }
.documentation-assistant-code { overflow: hidden; margin: 12px 0; border: 1px solid var(--documentation-border-strong); border-radius: 10px; background: var(--documentation-code-bg); color: var(--documentation-code-text); }
.documentation-assistant-code figcaption { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 8px 0 12px; border-bottom: 1px solid rgba(255,255,255,.09); background: var(--documentation-code-panel); color: #aeb5c6; font: 600 12px/1.3 var(--documentation-font-mono); }
.documentation-assistant-code button { padding: 4px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: rgba(255,255,255,.06); color: inherit; cursor: pointer; font-size: 12px; }
.documentation-assistant-code pre { overflow: auto; margin: 0; padding: 13px; font: 13px/1.6 var(--documentation-font-mono); }
.documentation-assistant-code code { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; white-space: pre; }
.documentation-assistant-activity { display: inline-flex; align-items: center; gap: 8px; color: var(--documentation-muted); font-size: 13px; }
.documentation-assistant-activity > span { width: 6px; height: 6px; border-radius: 50%; background: var(--documentation-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--documentation-accent) 10%, transparent); animation: documentation-activity 1.25s ease-in-out infinite; }
.documentation-assistant-suggestions { display: grid; gap: 7px; margin-top: 26px; }
.documentation-assistant-suggestions p { margin: 0 0 1px; color: var(--documentation-faint); font-size: 12px; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; }
.documentation-assistant-suggestions button { min-height: 40px; padding: 9px 12px; border: 1px solid var(--documentation-border); border-radius: 9px; background: var(--documentation-bg); color: var(--documentation-muted); cursor: pointer; font-size: 13.5px; text-align: left; transition: border-color .14s, background .14s, color .14s; }
.documentation-assistant-suggestions button:hover { border-color: var(--documentation-border-strong); background: var(--documentation-panel); color: var(--documentation-text); }
.documentation-assistant-composer { display: flex; align-items: flex-end; gap: 7px; margin: 0 16px 9px; padding: 7px; border: 1px solid var(--documentation-border-strong); border-radius: 11px; background: var(--documentation-bg); box-shadow: 0 3px 12px rgba(15, 18, 28, .045); }
.documentation-assistant-composer:focus-within { border-color: color-mix(in srgb, var(--documentation-accent) 52%, var(--documentation-border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--documentation-accent) 9%, transparent); }
.documentation-assistant-composer textarea { min-height: 41px; max-height: 160px; flex: 1; padding: 4px 5px; resize: none; border: 0; outline: 0; background: transparent; color: var(--documentation-text); font-size: 14px; line-height: 1.5; }
.documentation-assistant-composer button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: var(--documentation-accent); color: white; cursor: pointer; }
.documentation-assistant-composer button:disabled { background: var(--documentation-panel-strong); color: var(--documentation-faint); cursor: default; }
.documentation-assistant > footer { padding: 0 18px 12px; color: var(--documentation-faint); font-size: 12px; text-align: center; }
@keyframes documentation-fade-in { from { opacity: 0; } }
@keyframes documentation-dialog-in { from { opacity: 0; transform: translateY(-8px) scale(.99); } }
@keyframes documentation-drawer-in { from { transform: translateX(-24px); } }
@keyframes documentation-assistant-dock-in { from { transform: translateX(24px); opacity: .5; } }
@keyframes documentation-assistant-in { from { transform: translateX(-50%) translateY(18px) scale(.985); opacity: .7; } }
@keyframes documentation-page-out { to { opacity: 0; transform: translateY(-3px); } }
@keyframes documentation-page-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes documentation-activity { 50% { opacity: .42; transform: scale(.82); } }
@keyframes documentation-navigation-progress { from { transform: translateX(-20%); } to { transform: translateX(155%); } }


@media (max-width: 1320px) {
  .documentation-reader-grid { grid-template-columns: minmax(0, 680px) 224px; gap: 48px; padding-inline: 70px; }
  .documentation-top-links { gap: 13px; padding-right: 16px; }
  .documentation-top-links a { font-size: 13px; }
}

/* The rail's own cut-off is 1140px; a docked panel takes that much again out of
 * the row, so the same choice applies that much earlier while it is open. */
@media (max-width: 1560px) {
  .documentation-app.is-assistant-open .documentation-reader-grid { grid-template-columns: minmax(0, 760px); }
  .documentation-app.is-assistant-open .documentation-context-rail { display: none; }
}

@media (max-width: 1140px) {
  .documentation-reader-grid { grid-template-columns: minmax(0, 760px); }
  .documentation-context-rail { display: none; }
  .documentation-header { grid-template-columns: var(--documentation-sidebar-width) 1fr auto; }
  .documentation-top-links { display: none; }
  .documentation-breadcrumbs { display: flex; }
  .documentation-outline-disclosure { display: block; }
  /* Too narrow to dock beside the article; fall back to the floating card. */
  .documentation-assistant { inset: auto auto 18px 50%; width: min(620px, calc(100vw - 36px)); height: min(570px, calc(100vh - 94px)); border: 1px solid var(--documentation-border-strong); border-radius: 16px; box-shadow: 0 28px 80px rgba(15, 18, 28, .18), 0 6px 22px rgba(15, 18, 28, .08); transform: translateX(-50%); animation: documentation-assistant-in .2s ease-out; }
  .documentation-app.is-assistant-open .documentation-main { margin-right: 0; }
  .documentation-app.is-assistant-open .documentation-header { right: 0; }
}

@media (max-width: 900px) {
  :root { --documentation-sidebar-width: 0px; }
  .documentation-header { grid-template-columns: minmax(0, 1fr) auto; }
  .documentation-header > .documentation-brand { padding-left: 17px; border-right: 0; }
  .documentation-header-center, .documentation-sidebar { display: none; }
  .documentation-mobile-actions { display: flex; }
  .documentation-main { margin-left: 0; }
  .documentation-reader-grid { padding: 44px 30px 64px; }
  .documentation-assistant { width: min(660px, calc(100vw - 24px)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .documentation-brand { padding-right: 8px; }
  .documentation-brand-product { display: none; }
  .documentation-mobile-actions { padding-right: 8px; }
  .documentation-icon-button { width: 44px; height: 44px; }
  .documentation-reader-grid { padding: 31px 19px 48px; }
  .documentation-breadcrumbs { margin-bottom: 19px; overflow: hidden; white-space: nowrap; }
  .documentation-breadcrumbs span { flex: 0 0 auto; }
  .documentation-article-header { margin-bottom: 30px; }
  .documentation-article-meta { align-items: flex-start; }
  .documentation-eyebrow { padding-top: 8px; }
  .documentation-contextual-primary button, .documentation-contextual-primary a { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
  .documentation-article-header h1 { font-size: 32px; line-height: 1.15; }
  .documentation-lede { font-size: 18px; line-height: 1.52; }
  .documentation-prose h2 { margin-top: 42px; font-size: 23px; }
  .documentation-prose h3 { font-size: 19px; }
  .documentation-prose pre { margin-inline: -5px; padding: 17px; border-radius: 10px; font-size: 13px; }
  .documentation-pagination { grid-template-columns: 1fr; }
  .documentation-search-layer { padding: 8px; align-items: stretch; }
  .documentation-search-dialog { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; border-radius: 12px; }
  .documentation-search-results { max-height: none; }
  .documentation-search-dialog > footer { justify-content: center; }
  .documentation-launcher-dock { padding-bottom: 12px; }
  .documentation-launcher-agent { padding: 0 9px; }
  .documentation-launcher-agent .documentation-launcher-agent-name { display: none; }
  .documentation-launcher-hint { display: none; }
  .documentation-assistant { inset: auto auto 0 0; width: 100%; height: calc(100vh - 8px); transform: none; border-width: 1px 0 0; border-radius: 18px 18px 0 0; }
  .documentation-assistant-suggestions { grid-template-columns: 1fr; }
  .documentation-playground-title { align-items: flex-start; flex-direction: column; }
}

/* Hover-only affordances: touch users get no reveal, so keep the space clear. */
@media (hover: none) {
  .documentation-prose .documentation-heading-anchor { display: none; }
  .documentation-code-actions { opacity: 1; }
  .documentation-launcher-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
