:root {
    color-scheme: light;
    --docs-accent: #c2410c;
    --docs-accent-dark: #a93613;
    --docs-accent-soft: #fff2ec;
    --docs-ink: #172033;
    --docs-muted: #637083;
    --docs-faint: #667085;
    --docs-border: #e3e7ed;
    --docs-control-border: #8994a5;
    --docs-surface: #ffffff;
    --docs-surface-soft: #f7f8fa;
    --docs-focus: #2563eb;
    --docs-header-height: 68px;
    --docs-header-safe-height: calc(var(--docs-header-height) + env(safe-area-inset-top, 0px));
    --docs-sidebar-width: 286px;
    --docs-toc-width: 220px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--docs-header-safe-height) + 28px);
    overflow-x: hidden;
}

body {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: var(--docs-ink);
    background: var(--docs-surface);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

button,
input,
select {
    max-width: 100%;
    font: inherit;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--docs-focus);
    outline-offset: 3px;
}

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

.docs-skip-link {
    position: fixed;
    z-index: 200;
    top: 8px;
    left: 12px;
    padding: 9px 13px;
    color: #fff;
    background: var(--docs-ink);
    border-radius: 8px;
    transform: translateY(-150%);
}

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

.docs-header {
    position: sticky;
    z-index: 80;
    top: 0;
    min-height: var(--docs-header-safe-height);
    padding-top: env(safe-area-inset-top, 0px);
    background: color-mix(in srgb, #fff 94%, transparent);
    border-bottom: 1px solid var(--docs-border);
    backdrop-filter: blur(16px);
}

.docs-header-inner {
    display: grid;
    grid-template-columns: var(--docs-sidebar-width) minmax(280px, 640px) auto;
    align-items: center;
    gap: 28px;
    width: min(100%, 1600px);
    height: var(--docs-header-height);
    margin: 0 auto;
    padding-right: max(28px, env(safe-area-inset-right, 0px));
    padding-left: max(28px, env(safe-area-inset-left, 0px));
}

.docs-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--docs-ink);
    font-weight: 760;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.docs-brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--docs-accent);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgb(240 90 40 / 22%);
}

.docs-search-trigger,
.docs-hero-search {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--docs-muted);
    background: var(--docs-surface-soft);
    border: 1px solid var(--docs-control-border);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.docs-search-trigger {
    width: min(100%, 520px);
    min-height: 44px;
    padding: 9px 11px;
}

.docs-search-trigger:hover,
.docs-hero-search:hover {
    background: #fff;
    border-color: #64748b;
    box-shadow: 0 7px 20px rgb(23 32 51 / 8%);
}

.docs-search-trigger svg,
.docs-hero-search svg,
.docs-search-input-row svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.docs-search-trigger span,
.docs-hero-search span {
    flex: 1;
}

kbd {
    padding: 2px 7px;
    color: var(--docs-faint);
    background: #fff;
    border: 1px solid #d5dae2;
    border-radius: 6px;
    box-shadow: 0 1px 0 rgb(23 32 51 / 8%);
    font-family: inherit;
    font-size: 12px;
}

.docs-language-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.docs-language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 5px 8px;
    color: var(--docs-muted);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.docs-language-switcher a[aria-current="page"] {
    color: var(--docs-accent-dark);
    background: var(--docs-accent-soft);
}

.docs-mobile-menu-button {
    display: none;
}

.docs-shell {
    display: grid;
    grid-template-columns: var(--docs-sidebar-width) minmax(0, 800px) var(--docs-toc-width);
    justify-content: center;
    gap: 54px;
    width: min(100%, 1600px);
    min-height: calc(100vh - var(--docs-header-safe-height));
    min-height: calc(100dvh - var(--docs-header-safe-height));
    margin: 0 auto;
    padding-right: max(28px, env(safe-area-inset-right, 0px));
    padding-left: max(28px, env(safe-area-inset-left, 0px));
}

.docs-shell-without-toc {
    grid-template-columns: var(--docs-sidebar-width) minmax(0, 960px);
}

.docs-sidebar {
    position: sticky;
    top: var(--docs-header-safe-height);
    align-self: start;
    height: calc(100vh - var(--docs-header-safe-height));
    height: calc(100dvh - var(--docs-header-safe-height));
    padding: 28px 20px max(40px, env(safe-area-inset-bottom, 0px)) 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.docs-audience-control {
    margin-bottom: 28px;
}

.docs-audience-control label {
    display: block;
    margin-bottom: 7px;
    color: var(--docs-faint);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.docs-audience-control select {
    width: 100%;
    min-height: 44px;
    padding: 9px 34px 9px 10px;
    color: var(--docs-ink);
    background: var(--docs-surface-soft);
    border: 1px solid var(--docs-control-border);
    border-radius: 9px;
    font-size: 13px;
}

.docs-navigation section {
    margin: 0 0 24px;
}

.docs-navigation h2 {
    margin: 0 0 6px;
    color: var(--docs-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.docs-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.docs-navigation a {
    display: block;
    margin: 1px 0;
    padding: 6px 9px;
    color: var(--docs-muted);
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.docs-navigation a:hover {
    color: var(--docs-ink);
    background: var(--docs-surface-soft);
}

.docs-navigation a[aria-current="page"] {
    color: var(--docs-accent-dark);
    background: var(--docs-accent-soft);
    font-weight: 700;
}

.docs-navigation a:focus-visible {
    outline-offset: -2px;
}

.docs-navigation-empty,
.docs-directory-empty {
    padding: 14px;
    color: var(--docs-muted);
    background: var(--docs-surface-soft);
    border-radius: 9px;
    font-size: 13px;
}

.docs-browse-all,
.docs-inline-browse-all,
.docs-section-heading button {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 0;
    color: var(--docs-accent-dark);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--docs-accent) 35%, transparent);
    text-underline-offset: 3px;
}

.docs-main {
    width: 100%;
    min-width: 0;
    padding: 58px 0 100px;
}

.docs-article,
.docs-article-header,
.docs-related {
    min-width: 0;
    max-width: 100%;
}

.docs-toc {
    position: sticky;
    top: calc(var(--docs-header-safe-height) + 32px);
    align-self: start;
    max-height: calc(100vh - var(--docs-header-safe-height) - 64px);
    max-height: calc(100dvh - var(--docs-header-safe-height) - 64px);
    padding-top: 2px;
    overflow-y: auto;
}

.docs-mobile-toc {
    display: none;
}

.docs-toc > p {
    margin: 0 0 10px;
    color: var(--docs-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.docs-toc ol {
    margin: 0;
    padding: 0 0 0 13px;
    border-left: 1px solid var(--docs-border);
    list-style: none;
}

.docs-toc li {
    margin: 6px 0;
}

.docs-toc-level-3,
.docs-toc-level-4 {
    padding-left: 11px;
}

.docs-toc a {
    display: block;
    color: var(--docs-muted);
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
}

.docs-toc a:hover,
.docs-toc a.is-active {
    color: var(--docs-accent-dark);
}

.docs-eyebrow {
    margin: 0 0 10px;
    color: var(--docs-accent-dark);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.docs-hero {
    max-width: 820px;
    padding: 28px 0 38px;
}

.docs-hero h1,
.docs-article-header h1 {
    margin: 0;
    color: var(--docs-ink);
    font-size: clamp(38px, 5.3vw, 60px);
    font-weight: 790;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

.docs-hero > p:not(.docs-eyebrow),
.docs-article-description {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--docs-muted);
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.55;
}

.docs-hero-search {
    width: min(100%, 650px);
    margin-top: 34px;
    padding: 14px 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgb(23 32 51 / 7%);
}

.docs-section-heading {
    max-width: 700px;
    margin-bottom: 24px;
}

.docs-section-heading > p:first-child {
    margin: 0 0 3px;
    color: var(--docs-accent-dark);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.docs-section-heading h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.docs-section-heading > p:last-of-type {
    margin: 8px 0 0;
    color: var(--docs-muted);
}

.docs-audience-picker {
    padding-top: 34px;
    border-top: 1px solid var(--docs-border);
}

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

.docs-audience-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 18px;
    color: var(--docs-ink);
    background: #fff;
    border: 1px solid var(--docs-control-border);
    border-radius: 13px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.docs-audience-card:hover,
.docs-audience-card[aria-pressed="true"],
.docs-audience-card[aria-current="true"] {
    border-color: color-mix(in srgb, var(--docs-accent) 55%, var(--docs-border));
    box-shadow: 0 12px 30px rgb(23 32 51 / 8%);
    transform: translateY(-2px);
}

.docs-audience-card[aria-pressed="true"],
.docs-audience-card[aria-current="true"] {
    background: var(--docs-accent-soft);
}

.docs-audience-card-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--docs-accent-dark);
    background: var(--docs-accent-soft);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.docs-audience-card-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.docs-audience-card-copy strong {
    font-size: 14px;
    line-height: 1.35;
}

.docs-audience-card-copy span {
    color: var(--docs-muted);
    font-size: 12px;
    line-height: 1.45;
}

.docs-audience-card-arrow {
    color: var(--docs-accent);
    font-size: 20px;
}

.docs-inline-browse-all {
    margin-top: 20px;
}

.docs-directory {
    margin-top: 70px;
    padding-top: 38px;
    border-top: 1px solid var(--docs-border);
}

.docs-directory-heading {
    position: relative;
}

.docs-directory-heading button {
    margin-top: 8px;
}

.docs-directory-category {
    margin: 36px 0;
}

.docs-directory-category > h3 {
    margin: 0 0 13px;
    font-size: 18px;
    letter-spacing: -0.015em;
}

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

.docs-article-card {
    display: flex;
    flex-direction: column;
    min-height: 146px;
    padding: 17px;
    background: var(--docs-surface-soft);
    border: 1px solid var(--docs-control-border);
    border-radius: 11px;
    text-decoration: none;
}

.docs-article-card:hover {
    background: #fff;
    border-color: #64748b;
    box-shadow: 0 8px 24px rgb(23 32 51 / 7%);
}

.docs-article-card strong {
    font-size: 15px;
    line-height: 1.4;
}

.docs-article-card > span {
    flex: 1;
    margin-top: 6px;
    color: var(--docs-muted);
    font-size: 12px;
    line-height: 1.5;
}

.docs-article-card small {
    margin-top: 12px;
    color: var(--docs-faint);
}

.docs-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 32px;
    color: var(--docs-faint);
    font-size: 12px;
}

.docs-breadcrumbs a {
    color: var(--docs-muted);
    text-decoration: none;
}

.docs-breadcrumbs a:hover {
    color: var(--docs-accent-dark);
}

.docs-article-header {
    padding-bottom: 38px;
    border-bottom: 1px solid var(--docs-border);
}

.docs-article-header h1 {
    max-width: 850px;
    font-size: clamp(36px, 5vw, 54px);
}

.docs-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 22px;
    color: var(--docs-faint);
    font-size: 12px;
}

.docs-article-applicability {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
    padding: 16px;
    background: var(--docs-surface-soft);
    border-radius: 11px;
}

.docs-article-applicability > div > span {
    display: block;
    margin-bottom: 7px;
    color: var(--docs-faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.docs-article-applicability ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.docs-article-applicability li {
    padding: 3px 8px;
    color: var(--docs-muted);
    background: #fff;
    border: 1px solid var(--docs-control-border);
    border-radius: 999px;
    font-size: 11px;
}

.docs-unsupported-boundary {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 20px;
    padding: 13px 15px;
    color: #7c2d12;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    font-size: 13px;
}

.docs-prose {
    min-width: 0;
    padding-top: 36px;
    color: #303b4d;
    font-size: 16px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.docs-prose > :first-child {
    margin-top: 0;
}

.docs-prose h2,
.docs-prose h3,
.docs-prose h4 {
    position: relative;
    color: var(--docs-ink);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.docs-prose h2 {
    margin: 54px 0 15px;
    padding-top: 3px;
    font-size: 28px;
}

.docs-prose h3 {
    margin: 38px 0 12px;
    font-size: 21px;
}

.docs-prose h4 {
    margin: 28px 0 10px;
    font-size: 17px;
}

.docs-heading-anchor {
    position: absolute;
    left: -22px;
    padding-right: 7px;
    color: var(--docs-accent);
    font-size: 0.72em;
    font-weight: 500;
    opacity: 0;
    text-decoration: none;
}

.docs-prose h2:hover .docs-heading-anchor,
.docs-prose h3:hover .docs-heading-anchor,
.docs-prose h4:hover .docs-heading-anchor,
.docs-heading-anchor:focus {
    opacity: 1;
}

.docs-prose p,
.docs-prose ul,
.docs-prose ol,
.docs-prose blockquote,
.docs-prose table,
.docs-prose pre {
    margin: 16px 0;
}

.docs-prose ul,
.docs-prose ol {
    padding-left: 26px;
}

.docs-prose li {
    margin: 7px 0;
    padding-left: 3px;
}

.docs-prose a {
    color: var(--docs-accent-dark);
    font-weight: 600;
    text-decoration-color: color-mix(in srgb, var(--docs-accent) 45%, transparent);
    text-underline-offset: 3px;
}

.docs-prose strong {
    color: var(--docs-ink);
}

.docs-prose code {
    padding: 2px 5px;
    color: #a53612;
    background: var(--docs-accent-soft);
    border-radius: 5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.88em;
}

.docs-prose pre {
    max-width: 100%;
    padding: 18px;
    overflow-x: auto;
    color: #e5e7eb;
    background: #1b2433;
    border-radius: 10px;
}

.docs-prose pre code {
    padding: 0;
    color: inherit;
    background: transparent;
}

.docs-prose blockquote {
    padding: 13px 18px;
    color: #475569;
    background: #f8fafc;
    border-left: 4px solid var(--docs-accent);
    border-radius: 0 8px 8px 0;
}

.docs-prose blockquote > :first-child {
    margin-top: 0;
}

.docs-prose blockquote > :last-child {
    margin-bottom: 0;
}

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

.docs-prose th,
.docs-prose td {
    padding: 10px 12px;
    border: 1px solid var(--docs-border);
    text-align: left;
    vertical-align: top;
}

.docs-prose th {
    color: var(--docs-ink);
    background: var(--docs-surface-soft);
    font-size: 13px;
}

.docs-prose img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--docs-border);
    border-radius: 10px;
}

.docs-media-figure {
    margin: 24px 0 30px;
    padding: 8px;
    overflow: hidden;
    background: var(--docs-surface-soft);
    border: 1px solid var(--docs-border);
    border-radius: 13px;
}

.docs-media-figure[hidden] {
    display: none;
}

.docs-media-figure picture,
.docs-media-figure img {
    display: block;
    width: 100%;
}

.docs-media-figure img {
    margin: 0;
    border: 0;
    border-radius: 8px;
}

.docs-media-caption {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 8px 3px 1px;
    color: var(--docs-faint);
    font-size: 12px;
    line-height: 1.5;
}

.docs-media-caption::before {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-top: 5px;
    content: '';
    background: var(--docs-accent);
    border-radius: 999px;
}

.docs-media-figure--component {
    padding: 14px;
}

.docs-media-component {
    color: var(--docs-ink);
}

.docs-diagram,
.docs-diagram-card,
.docs-diagram-outcome {
    box-sizing: border-box;
}

.docs-diagram {
    display: grid;
    gap: 14px;
    padding: 18px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--docs-accent) 12%, transparent), transparent 42%),
        var(--docs-surface);
    border: 1px solid var(--docs-border);
    border-radius: 10px;
}

.docs-diagram-title {
    font-size: 16px;
    line-height: 1.4;
}

.docs-diagram-steps,
.docs-diagram-decisions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.docs-diagram-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: 14px;
    background: var(--docs-surface-soft);
    border: 1px solid var(--docs-border);
    border-radius: 9px;
}

.docs-diagram-card strong,
.docs-diagram-card dt {
    color: var(--docs-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.docs-diagram-label {
    width: max-content;
    max-width: 100%;
    padding: 2px 7px;
    overflow: hidden;
    color: var(--docs-accent-strong);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: color-mix(in srgb, var(--docs-accent) 11%, var(--docs-surface));
    border-radius: 999px;
}

.docs-diagram-card span,
.docs-diagram-card dd {
    margin: 0;
    color: var(--docs-muted);
    font-size: 13px;
    line-height: 1.5;
}

.docs-diagram--layers .docs-diagram-card:not(:last-child)::after,
.docs-diagram--diagnostic .docs-diagram-card:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -10px;
    z-index: 1;
    width: 10px;
    color: var(--docs-accent);
    content: '\203A';
    font-size: 20px;
    line-height: 1;
    text-align: center;
    transform: translateY(-50%);
}

.docs-diagram-outcome {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 12px 14px;
    color: var(--docs-ink);
    background: color-mix(in srgb, var(--docs-accent) 9%, var(--docs-surface));
    border-left: 3px solid var(--docs-accent);
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

.docs-diagram-decisions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .docs-media-figure--component {
        margin-right: -8px;
        margin-left: -8px;
        padding: 8px;
    }

    .docs-diagram {
        padding: 12px;
    }

    .docs-diagram-steps,
    .docs-diagram-decisions {
        grid-template-columns: 1fr;
    }

    .docs-diagram--layers .docs-diagram-card:not(:last-child)::after,
    .docs-diagram--diagnostic .docs-diagram-card:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -12px;
        width: 12px;
        transform: translateX(50%) rotate(90deg);
    }
}

.docs-prose iframe,
.docs-prose video {
    max-width: 100%;
}

.docs-related {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid var(--docs-border);
}

.docs-related h2 {
    margin: 0 0 16px;
    font-size: 21px;
}

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

.docs-related-grid a {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px;
    background: var(--docs-surface-soft);
    border: 1px solid var(--docs-control-border);
    border-radius: 10px;
    text-decoration: none;
}

.docs-related-grid a:hover {
    background: var(--docs-accent-soft);
}

.docs-related-grid strong {
    font-size: 13px;
    line-height: 1.4;
}

.docs-related-grid span {
    color: var(--docs-muted);
    font-size: 11px;
    line-height: 1.45;
}

.docs-search-dialog {
    width: min(calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)), 720px);
    max-width: 720px;
    max-height: min(82vh, 760px);
    max-height: min(82dvh, 760px);
    margin: max(16px, 9vh) auto 0;
    margin-top: max(calc(16px + env(safe-area-inset-top, 0px)), 9dvh);
    padding: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid var(--docs-border);
    border-radius: 15px;
    box-shadow: 0 30px 90px rgb(15 23 42 / 28%);
}

.docs-search-dialog::backdrop {
    background: rgb(15 23 42 / 48%);
    backdrop-filter: blur(3px);
}

.docs-search-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: inherit;
}

.docs-search-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--docs-border);
}

.docs-search-input-row svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--docs-muted);
}

.docs-search-input-row input {
    flex: 1;
    min-width: 0;
    padding: 3px 0;
    color: var(--docs-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 17px;
}

.docs-search-input-row input::-webkit-search-cancel-button {
    display: none;
}

.docs-search-input-row:focus-within {
    box-shadow: inset 0 0 0 3px var(--docs-focus);
}

.docs-search-input-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 4px 7px;
    color: var(--docs-faint);
    background: var(--docs-surface-soft);
    border: 1px solid var(--docs-control-border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
}

.docs-search-context {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    color: var(--docs-faint);
    background: var(--docs-surface-soft);
    border-bottom: 1px solid var(--docs-border);
    font-size: 11px;
}

.docs-search-context > * {
    min-width: 0;
}

.docs-search-context > span:first-child {
    color: var(--docs-accent-dark);
    font-weight: 700;
}

.docs-search-results {
    min-height: 0;
    padding: 8px;
    overscroll-behavior: contain;
    overflow-y: auto;
}

.docs-search-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 12px;
    color: var(--docs-ink);
    border-radius: 9px;
    text-decoration: none;
}

.docs-search-result:hover,
.docs-search-result.is-selected {
    background: var(--docs-accent-soft);
}

.docs-search-result:focus-visible {
    outline-offset: -2px;
}

.docs-search-result strong {
    font-size: 14px;
}

.docs-search-result small {
    color: var(--docs-accent-dark);
    font-size: 10px;
    font-weight: 700;
}

.docs-search-result span {
    grid-column: 1 / -1;
    color: var(--docs-muted);
    font-size: 12px;
    line-height: 1.45;
}

.docs-search-result em {
    color: var(--docs-faint);
    font-size: 11px;
    font-style: normal;
}

.docs-search-message,
.docs-search-no-results,
.docs-search-error {
    margin: 0;
    padding: 34px 18px;
    color: var(--docs-muted);
    text-align: center;
}

.docs-search-error {
    color: #b91c1c;
}

.docs-mobile-backdrop {
    display: none;
}

@media (max-width: 1240px) {
    :root {
        --docs-sidebar-width: 250px;
    }

    .docs-header-inner,
    .docs-shell {
        gap: 34px;
    }

    .docs-shell {
        grid-template-columns: var(--docs-sidebar-width) minmax(0, 780px);
    }

    .docs-toc {
        display: none;
    }

    .docs-mobile-toc {
        display: block;
        margin: 0 0 34px;
        overflow: hidden;
        background: var(--docs-surface-soft);
        border: 1px solid var(--docs-control-border);
        border-radius: 12px;
    }

    .docs-mobile-toc summary {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        padding: 11px 14px;
        color: var(--docs-ink);
        cursor: pointer;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.035em;
        list-style: none;
        text-transform: uppercase;
    }

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

    .docs-mobile-toc summary:focus-visible {
        outline-offset: -4px;
    }

    .docs-mobile-toc summary::after {
        content: "⌄";
        margin-left: auto;
        color: var(--docs-accent-dark);
        font-size: 18px;
        line-height: 1;
        transform: rotate(0deg);
        transition: transform 150ms ease;
    }

    .docs-mobile-toc[open] summary {
        background: #fff;
        border-bottom: 1px solid var(--docs-border);
    }

    .docs-mobile-toc[open] summary::after {
        transform: rotate(180deg);
    }

    .docs-mobile-toc nav {
        max-height: min(50vh, 420px);
        max-height: min(50dvh, 420px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .docs-mobile-toc ol {
        margin: 0;
        padding: 8px;
        list-style: none;
    }

    .docs-mobile-toc li {
        margin: 1px 0;
    }

    .docs-mobile-toc a {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 8px 10px;
        color: var(--docs-muted);
        border-radius: 7px;
        font-size: 13px;
        line-height: 1.4;
        text-decoration: none;
    }

    .docs-mobile-toc a:hover,
    .docs-mobile-toc a:focus-visible {
        color: var(--docs-accent-dark);
        background: var(--docs-accent-soft);
    }
}

@media (max-width: 900px) {
    .docs-header-inner {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        gap: 14px;
        padding-right: max(18px, env(safe-area-inset-right, 0px));
        padding-left: max(18px, env(safe-area-inset-left, 0px));
    }

    .docs-mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 44px;
        min-height: 44px;
        padding: 7px;
        color: var(--docs-muted);
        background: transparent;
        border: 0;
        cursor: pointer;
        font-size: 12px;
    }

    .docs-search-trigger {
        justify-self: stretch;
    }

    .docs-shell,
    .docs-shell-without-toc {
        display: block;
        padding-right: max(22px, env(safe-area-inset-right, 0px));
        padding-left: max(22px, env(safe-area-inset-left, 0px));
    }

    .docs-sidebar {
        position: fixed;
        z-index: 100;
        top: var(--docs-header-safe-height);
        bottom: 0;
        left: 0;
        width: min(calc(100vw - 44px - env(safe-area-inset-right, 0px)), 330px);
        height: auto;
        padding-top: 24px;
        padding-right: max(24px, env(safe-area-inset-right, 0px));
        padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
        padding-left: max(24px, env(safe-area-inset-left, 0px));
        background: #fff;
        box-shadow: 18px 0 45px rgb(15 23 42 / 16%);
        transform: translateX(-105%);
        transition: transform 180ms ease;
    }

    body.docs-menu-open {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        overscroll-behavior: none;
    }

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

    .docs-mobile-backdrop {
        position: fixed;
        z-index: 90;
        inset: var(--docs-header-safe-height) 0 0;
        display: block;
        background: rgb(15 23 42 / 38%);
    }

    .docs-main {
        max-width: 800px;
        margin: 0 auto;
        padding-top: 42px;
    }
}

@media (max-width: 640px) {
    .docs-header-inner {
        gap: 8px;
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-left: max(12px, env(safe-area-inset-left, 0px));
    }

    .docs-brand > span:last-child,
    .docs-mobile-menu-button span:last-child,
    .docs-search-trigger span,
    .docs-search-trigger kbd {
        display: none;
    }

    .docs-search-trigger {
        justify-content: center;
        justify-self: end;
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .docs-shell,
    .docs-shell-without-toc {
        padding-right: max(18px, env(safe-area-inset-right, 0px));
        padding-left: max(18px, env(safe-area-inset-left, 0px));
    }

    .docs-main {
        padding: 32px 0 max(70px, calc(40px + env(safe-area-inset-bottom, 0px)));
    }

    .docs-hero {
        padding-top: 15px;
    }

    .docs-hero h1,
    .docs-article-header h1 {
        font-size: 36px;
    }

    .docs-audience-grid,
    .docs-article-grid,
    .docs-related-grid,
    .docs-article-applicability {
        grid-template-columns: 1fr;
    }

    .docs-audience-card {
        padding: 15px;
    }

    .docs-heading-anchor {
        display: none;
    }

    .docs-prose h2 {
        font-size: 25px;
    }

    .docs-search-dialog {
        width: calc(100vw - 18px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
        max-height: calc(100vh - 30px);
        max-height: calc(100dvh - 30px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        margin-top: calc(14px + env(safe-area-inset-top, 0px));
    }

    .docs-search-context > span:last-child {
        display: none;
    }
}

@media (max-width: 360px) {
    .docs-header-inner {
        gap: 4px;
        padding-right: max(8px, env(safe-area-inset-right, 0px));
        padding-left: max(8px, env(safe-area-inset-left, 0px));
    }

    .docs-brand-mark {
        width: 32px;
        height: 32px;
    }

    .docs-language-switcher {
        gap: 0;
    }

    .docs-shell,
    .docs-shell-without-toc {
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        padding-left: max(14px, env(safe-area-inset-left, 0px));
    }

    .docs-hero h1,
    .docs-article-header h1 {
        font-size: 32px;
    }

    .docs-article-description {
        font-size: 17px;
    }

    .docs-article-applicability,
    .docs-prose pre {
        padding: 13px;
    }

    .docs-search-input-row {
        gap: 8px;
        padding: 10px;
    }
}

@media (pointer: coarse) {
    .docs-mobile-menu-button,
    .docs-search-trigger,
    .docs-language-switcher a,
    .docs-browse-all,
    .docs-inline-browse-all,
    .docs-section-heading button,
    .docs-mobile-toc a,
    .docs-search-result {
        min-height: 44px;
    }

    .docs-language-switcher a {
        min-width: 44px;
    }

    .docs-navigation a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media print {
    .docs-header,
    .docs-sidebar,
    .docs-toc,
    .docs-mobile-toc,
    .docs-search-dialog,
    .docs-related {
        display: none !important;
    }

    .docs-shell,
    .docs-shell-without-toc {
        display: block;
        max-width: none;
        padding: 0;
    }

    .docs-main {
        max-width: none;
        padding: 0;
    }
}
