/* The dashboard's desktop-only minimum widths must not affect public help pages.
   Keep the override conditional even when Next retains this stylesheet after navigation. */
body:has(.cuik-docs) { min-width: 0; }
.cuik-docs { min-height: 100dvh; display: flex; flex-direction: column; background: hsl(var(--background)); color: hsl(var(--foreground)); --docs-accent: #fc5d1f; }
.cuik-docs a, .cuik-docs button, .cuik-docs input, .cuik-docs summary { -webkit-tap-highlight-color: transparent; }
.cuik-docs :is(a,button,input,summary,[tabindex]):focus-visible { outline: 2px solid var(--docs-accent); outline-offset: 4px; }
.docs-header { border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.docs-header-inner { max-width: 1400px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.docs-brand, .docs-header-actions, .docs-language, .docs-app-link { display: flex; align-items: center; }
.docs-brand { gap: 24px; }
.docs-brand > span { padding-left: 24px; border-left: 1px solid hsl(var(--border)); font-size: 14px; color: hsl(var(--muted-foreground)); }
.docs-header-actions { gap: 24px; font-size: 13px; }
.docs-language { gap: 7px; color: hsl(var(--muted-foreground)); min-height: 36px; }
.docs-app-link { padding: 9px 13px; gap: 8px; background: hsl(var(--foreground)); color: hsl(var(--background)); border-radius: 6px; font-weight: 500; white-space: nowrap; }
.docs-main { flex: 1; width: 100%; min-width: 0; }
.docs-home { max-width: 1120px; margin: 0 auto; padding: 76px 32px 64px; }
.docs-intro { max-width: 680px; }
.docs-eyebrow { color: var(--docs-accent); font-size: 11px; font-weight: 650; letter-spacing: .12em; margin-bottom: 20px; }
.docs-intro h1 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.16; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.docs-intro > p:last-child { margin-top: 20px; font-size: 16px; line-height: 1.8; color: hsl(var(--muted-foreground)); max-width: 590px; }
.docs-search { margin: 30px 0 62px; max-width: 660px; display: flex; align-items: center; gap: 12px; padding: 5px 15px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 8px; color: hsl(var(--muted-foreground)); }
.docs-search:focus-within { border-color: var(--docs-accent); }
.docs-search input { height: 44px; background: transparent; flex: 1; min-width: 0; color: hsl(var(--foreground)); font-size: 14px; outline: none !important; }
.docs-search input::-webkit-search-cancel-button { display: none; }
.docs-search button { height: 36px; width: 36px; display: grid; place-items: center; border-radius: 5px; }
.docs-search button:hover { background: hsl(var(--muted)); }
.docs-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.docs-section-heading h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.docs-guide-section + .docs-guide-section { margin-top: 40px; }
.docs-section-heading > span { font-size: 12px; color: hsl(var(--muted-foreground)); }
.docs-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.docs-guide-grid:has(> :only-child) { grid-template-columns: minmax(0, 660px); }
.docs-guide-card { display: flex; flex-direction: column; min-width: 0; padding: 25px; border: 1px solid transparent; border-radius: 10px; background: hsl(var(--card)); }
.docs-guide-card:hover { border-color: var(--docs-accent); }
.docs-guide-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; min-height: 36px; margin-bottom: 25px; }
.docs-guide-icon { color: var(--docs-accent); display: grid; place-items: center; }
.docs-beta { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 5px; color: var(--docs-accent); background: color-mix(in srgb, var(--docs-accent) 10%, transparent); font-size: 12px; font-weight: 600; line-height: 1.5; }
.docs-article-beta { margin-bottom: 14px; }
.docs-guide-card h3 { font-size: 17px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.docs-guide-card > p { margin-top: 12px; color: hsl(var(--muted-foreground)); font-size: 13px; line-height: 1.8; }
.docs-read { padding-top: 28px; margin-top: auto; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 9px; }
.docs-guide-card:hover .docs-read { color: var(--docs-accent); }
.docs-help { margin-top: 48px; border-top: 1px solid hsl(var(--border)); padding-top: 28px; display: flex; align-items: center; gap: 18px; }
.docs-help > svg { flex-shrink: 0; color: hsl(var(--muted-foreground)); }
.docs-help h2 { font-size: 14px; font-weight: 600; }
.docs-help p { margin-top: 5px; font-size: 12px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.docs-help > a { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 12px; white-space: nowrap; }
.docs-empty { padding: 40px 20px; text-align: center; background: hsl(var(--card)); border-radius: 8px; font-size: 14px; }
.docs-empty span { display: block; margin-top: 8px; color: hsl(var(--muted-foreground)); font-size: 13px; }
.docs-footer { max-width: 1400px; width: 100%; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; gap: 24px; border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); font-size: 11px; }
.docs-footer a { margin-left: auto; }
.docs-article-layout { max-width: 1400px; margin: 0 auto; padding: 32px 24px 72px; display: grid; grid-template-columns: 184px minmax(0, 790px) minmax(150px, 184px); gap: 32px; align-items: start; }
.docs-navigation, .docs-toc { position: sticky; top: 32px; max-height: calc(100dvh - 64px); overflow-y: auto; scrollbar-width: thin; padding: 4px; }
.docs-back { display: flex; gap: 8px; align-items: center; font-size: 12px; color: hsl(var(--muted-foreground)); margin-bottom: 20px; }
.docs-navigation nav { display: flex; flex-direction: column; gap: 3px; }
.docs-navigation nav a { display: block; padding: 7px 8px; border-radius: 4px; font-size: 12px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.docs-navigation nav a:hover { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.docs-navigation nav a[aria-current="page"] { color: var(--docs-accent); }
.docs-article { min-width: 0; padding: 0 0 16px; }
.docs-article-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.docs-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: hsl(var(--muted-foreground)); }
.docs-breadcrumb a:hover { color: var(--docs-accent); }
.docs-copy { max-width: 100%; }
.docs-copy-button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 11px; border: 1px solid hsl(var(--border)); border-radius: 6px; background: hsl(var(--card)); color: hsl(var(--foreground)); font-size: 11px; white-space: nowrap; }
.docs-copy-button:hover { background: hsl(var(--muted)); }
.docs-copy-button:disabled { cursor: wait; }
.docs-copy-button > svg { flex-shrink: 0; color: hsl(var(--muted-foreground)); }
.docs-assistant-marks { display: inline-flex; align-items: center; gap: 7px; padding-left: 9px; margin-left: 2px; border-left: 1px solid hsl(var(--border)); }
.docs-copy-fallback { max-width: 100%; margin-top: 10px; font-size: 12px; }
.docs-copy-fallback textarea { display: block; width: 100%; margin-top: 8px; padding: 10px; border: 1px solid hsl(var(--border)); border-radius: 6px; background: hsl(var(--card)); color: hsl(var(--foreground)); font-size: 12px; }
.docs-article-header { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid hsl(var(--border)); }
.docs-article-header h1 { font-size: clamp(27px, 2.8vw, 37px); font-weight: 600; letter-spacing: -.035em; line-height: 1.23; text-wrap: balance; }
.docs-article-header > p { margin-top: 17px; font-size: 15px; line-height: 1.8; color: hsl(var(--muted-foreground)); }
.docs-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: hsl(var(--muted-foreground)); font-size: 11px; }
.docs-meta > span { display: flex; align-items: center; gap: 5px; }
.docs-toc { margin-top: 4px; border-left: 1px solid hsl(var(--border)); padding-left: 20px; }
.docs-toc h2 { font-size: 11px; font-weight: 600; margin-bottom: 14px; }
.docs-toc ol, .docs-mobile-toc ol { list-style: none; margin: 0; padding: 0; }
.docs-toc li, .docs-mobile-toc li { font-size: 12px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.docs-toc li a, .docs-mobile-toc li a { display: block; padding: 6px 0; }
.docs-toc a:hover, .docs-mobile-toc a:hover { color: var(--docs-accent); }
.docs-toc-help { margin-top: 30px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); }
.docs-toc-help h3 { font-size: 12px; font-weight: 600; }
.docs-toc-help p { font-size: 11px; line-height: 1.7; color: hsl(var(--muted-foreground)); margin-top: 10px; }
.docs-toc-help a { display: flex; gap: 7px; align-items: center; font-size: 11px; margin-top: 12px; }
.docs-mobile-toc { display: none; }
.docs-prose { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.docs-prose h2 { font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; margin: 42px 0 16px; scroll-margin-top: 28px; }
.docs-prose h3 { font-size: 16px; line-height: 1.6; font-weight: 600; margin: 25px 0 12px; scroll-margin-top: 28px; }
.docs-prose p { margin: 16px 0; }
.docs-figure { display: block; margin: 22px 0; }
.docs-screenshot { display: block; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: 8px; background: white; cursor: zoom-in; }
.docs-screenshot:hover { border-color: var(--docs-accent); }
.docs-screenshot img { display: block; width: 100%; height: auto; }
.docs-screenshot[href*="/images/connectors/"], .docs-screenshot[href$="/mcp-oauth.png"] { width: fit-content; max-width: 100%; }
.docs-screenshot[href*="/images/connectors/"] img, .docs-screenshot[href$="/mcp-oauth.png"] img { width: auto; max-width: 100%; max-height: 520px; object-fit: contain; }
.docs-screenshot[href$="/connectors/cuik-logo.png"] { width: 148px; padding: 16px; }
.docs-screenshot[href$="/connectors/cuik-logo.png"] img { width: 100%; }
.docs-caption { display: block; margin-top: 8px; font-size: 11px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.docs-prose p:has(> em:only-child) { font-size: 11px; color: hsl(var(--muted-foreground)); }
.docs-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--docs-accent) 50%, transparent); }
.docs-prose a:hover { color: var(--docs-accent); }
.docs-prose ul, .docs-prose ol { padding-left: 24px; margin: 16px 0; }
.docs-prose ul { list-style: disc; }
.docs-prose ol { list-style: decimal; }
.docs-prose li { margin: 9px 0; padding-left: 4px; }
.docs-prose strong { font-weight: 600; }
.docs-prose code { font-size: .87em; background: hsl(var(--muted)); border-radius: 4px; padding: 3px 6px; }
.docs-guide-category { margin-left: auto; font-size: 11px; color: hsl(var(--muted-foreground)); }
.docs-nav-group > summary { display: flex; align-items: center; gap: 8px; padding: 9px 2px; border-radius: 4px; cursor: pointer; list-style: none; font-size: 13px; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.docs-nav-group > summary::-webkit-details-marker { display: none; }
.docs-nav-group > summary:hover, .docs-nav-group[open] > summary { color: hsl(var(--foreground)); }
.docs-nav-icon { width: 16px; height: 16px; flex-shrink: 0; }
.docs-nav-chevron { flex-shrink: 0; }
.docs-nav-group[open] .docs-nav-chevron { transform: rotate(90deg); }
.docs-nav-links { display: flex; flex-direction: column; gap: 2px; margin: 1px 0 9px 22px; padding-left: 11px; border-left: 1px solid hsl(var(--border)); }
.docs-code { margin: 20px 0; border-radius: 8px; overflow: hidden; background: #141720; color: #eef0f7; }
.docs-code-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; background: #202432; font-size: 11px; color: #bdc3d3; }
.docs-code-header button { min-height: 32px; padding: 4px 12px; border: 1px solid #606779; border-radius: 5px; color: #fff; cursor: pointer; }
.docs-code-header button:hover { background: #343b50; }
.docs-code pre { margin: 0; padding: 18px; overflow: auto; max-width: 100%; line-height: 1.7; }
.docs-code pre code { padding: 0; border-radius: 0; background: none; color: inherit; font-size: 12px; white-space: pre; }
.docs-copy-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.docs-prose blockquote { padding: 3px 20px; margin: 24px 0; border-left: 3px solid var(--docs-accent); background: color-mix(in srgb, var(--docs-accent) 5%, hsl(var(--card))); border-radius: 0 6px 6px 0; font-size: 13px; }
.docs-prose .docs-table-scroll { overflow-x: auto; margin: 24px 0; border: 1px solid hsl(var(--border)); border-radius: 7px; }
.docs-prose table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
.docs-prose th { font-weight: 600; background: hsl(var(--muted)); }
.docs-prose th, .docs-prose td { padding: 13px 15px; border-bottom: 1px solid hsl(var(--border)); min-width: 100px; vertical-align: top; }
.docs-prose tr:last-child td { border-bottom: 0; }
/* Flowcharts: app typography, Cuik accent, shared surfaces and task colours. */
.docs-diagram { --diagram-line: color-mix(in srgb, hsl(var(--foreground)) 40%, hsl(var(--card))); margin: 32px 0; padding: 28px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)); }
.docs-diagram figcaption, .docs-walkthrough figcaption { margin-bottom: 28px; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.docs-diagram > ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 0; list-style: none; }
.docs-diagram > ol > li { position: relative; min-width: 0; margin: 0; padding: 17px 14px; border: 1px solid var(--diagram-line); border-radius: 8px; font-size: 12px; line-height: 1.65; background: hsl(var(--background)); }
.docs-diagram > ol > li:first-child { border-color: var(--docs-accent); background: color-mix(in srgb, var(--docs-accent) 7%, hsl(var(--card))); }
.docs-diagram > ol > li:nth-child(2) { border-style: dashed; }
.docs-diagram > ol > li > p { margin: 0; }
.docs-diagram > ol > li > p + p { margin-top: 8px; color: hsl(var(--muted-foreground)); }
.docs-diagram > ol > li > p:first-child strong { display: block; font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -.025em; }
.docs-diagram--method > ol > li + li::before { content: ""; position: absolute; left: -29px; top: 50%; width: 27px; border-top: 1.5px solid var(--diagram-line); }
.docs-diagram--method > ol > li + li::after { content: ""; position: absolute; left: -7px; top: calc(50% - 3px); width: 6px; height: 6px; border-top: 1.5px solid var(--diagram-line); border-right: 1.5px solid var(--diagram-line); transform: rotate(45deg); }
.docs-diagram > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid hsl(var(--border)); list-style: none; }
.docs-diagram > ul > li { position: relative; margin: 0; padding: 0 0 0 16px; font-size: 12px; line-height: 1.75; color: hsl(var(--muted-foreground)); }
.docs-diagram > ul > li::before { content: ""; position: absolute; top: 5px; left: 0; width: 6px; height: 6px; border: 1.5px solid var(--docs-accent); border-radius: 50%; }
.docs-diagram > ul strong { display: block; color: hsl(var(--foreground)); margin-bottom: 5px; font-size: 12px; font-weight: 600; }
.docs-diagram > p:last-child { margin: 22px 0 0; padding: 10px 12px; border-left: 2px solid var(--docs-accent); background: hsl(var(--background)); border-radius: 0 4px 4px 0; font-size: 12px; line-height: 1.75; color: hsl(var(--muted-foreground)); }
/* An optional grouping branches into several cards. */
.docs-diagram--example > ol { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.docs-diagram--example > ol > li { width: 76%; margin: 0 auto; text-align: center; }
.docs-diagram--example > ol > li + li::before { content: ""; position: absolute; left: 50%; top: -33px; height: 31px; border-left: 1.5px solid var(--diagram-line); }
.docs-diagram--example > ol > li + li::after { content: ""; position: absolute; left: calc(50% - 3px); top: -7px; width: 6px; height: 6px; border-right: 1.5px solid var(--diagram-line); border-bottom: 1.5px solid var(--diagram-line); transform: rotate(45deg); }
.docs-diagram--example > ol > li:last-child { width: 100%; padding: 0; border: 0; background: none; }
.docs-diagram--example > ol > li:last-child::after { display: none; }
.docs-diagram--example > ol > li:last-child > p { width: fit-content; margin: 0 auto 28px; padding: 2px 12px; color: hsl(var(--muted-foreground)); background: hsl(var(--card)); }
.docs-diagram--example > ol > li:last-child > p strong { font-size: 11px; font-weight: 500; letter-spacing: 0; }
.docs-diagram--example ol ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.docs-diagram--example ol ul li { position: relative; margin: 0; padding: 14px; border: 1px solid hsl(var(--border)); border-radius: 8px; font-size: 12px; line-height: 1.7; text-align: left; background: hsl(var(--background)); }
.docs-diagram--example ol ul li::before { content: ""; position: absolute; left: calc(50% - .75px); top: -17px; height: 16px; border-left: 1.5px solid var(--diagram-line); }
.docs-diagram--example ol ul li::after { content: ""; position: absolute; left: -9px; right: -9px; top: -17px; border-top: 1.5px solid var(--diagram-line); }
.docs-diagram--example ol ul li:first-child::after { left: 50%; }
.docs-diagram--example ol ul li:last-child::after { right: 50%; }
.docs-diagram--example ol ul strong { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 11px; font-weight: 500; color: hsl(var(--muted-foreground)); }
.docs-diagram--example ol ul strong::before { content: ""; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.docs-diagram--example ol ul li:last-child strong { color: #1d4ed8; }
.dark .docs-diagram--example ol ul li:last-child strong { color: #93c5fd; }
.docs-diagram--example ol ul li:last-child strong::before { content: "?"; display: grid; place-items: center; width: 12px; height: 12px; font-size: 9px; line-height: 1; }
.docs-diagram--example ol ul em { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); font-size: 11px; font-style: normal; }
.docs-diagram--example ol ul em::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #a78bfa; border-radius: 50%; }
/* Real interface captures alongside numbered instructions. */
.docs-walkthrough { margin: 30px 0; }
.docs-walkthrough > ol { margin: 0; padding: 0; list-style: none; counter-reset: docs-step; }
.docs-walkthrough > ol > li { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); grid-template-rows: min-content min-content 1fr; column-gap: 28px; align-items: start; margin: 0; padding: 24px 0; border-top: 1px solid hsl(var(--border)); counter-increment: docs-step; }
.docs-walkthrough > ol > li > p:first-child::before { content: counter(docs-step); position: absolute; left: 0; top: 2px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--docs-accent); color: #fff; font-size: 10px; font-weight: 600; }
.docs-walkthrough > ol > li > p { grid-column: 2; margin: 0; padding-left: 28px; font-size: 12px; line-height: 1.8; }
.docs-walkthrough > ol > li > p:first-child { position: relative; margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.docs-walkthrough > ol > li > p:has(.docs-figure) { grid-column: 1; grid-row: 1 / span 3; padding: 0; }
.docs-walkthrough > ol > li:has([href$="project-card-review.png"]) { grid-template-columns: 184px minmax(0, 1fr); }
.docs-walkthrough .docs-figure { margin: 0; }
.docs-walkthrough .docs-screenshot { border-radius: 8px; background: hsl(var(--background)); }
.docs-walkthrough .docs-screenshot[href$="project-card-review.png"] { max-width: 184px; }
.docs-walkthrough .docs-screenshot[href$="project-card-create.png"] { max-width: 360px; }
.docs-walkthrough .docs-screenshot[href$="project-client-approve.png"] { max-width: 380px; }
.docs-walkthrough .docs-caption { font-size: 10px; }
.docs-prompt { margin: 0; border-radius: 0; border-top: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); background: transparent; }
.docs-prompt:has(+ :not(.docs-prompt)) { border-bottom: 1px solid hsl(var(--border)); }
.docs-prompt summary { display: flex; align-items: center; gap: 16px; padding: 17px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; line-height: 1.6; }
.docs-prompt summary::-webkit-details-marker { display: none; }
.docs-prompt summary:hover { color: var(--docs-accent); }
.docs-prompt-chevron { flex-shrink: 0; margin-left: auto; margin-right: 4px; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.docs-prompt[open] .docs-prompt-chevron { transform: rotate(225deg); }
.docs-prompt .docs-code-header { margin-left: 3px; padding: 4px 0 4px 20px; border-left: 1px solid var(--diagram-line, hsl(var(--border))); background: transparent; color: hsl(var(--muted-foreground)); }
.docs-prompt .docs-code-header > span { font-size: 11px; }
.docs-prompt .docs-code-header button { border-color: hsl(var(--border)); color: hsl(var(--foreground)); background: transparent; }
.docs-prompt .docs-code-header button:hover { background: hsl(var(--muted)); }
.docs-prompt pre { margin: 0 0 22px 3px; padding: 6px 36px 0 20px; border-left: 1px solid hsl(var(--border)); font-family: inherit; }
.docs-prompt pre code { font-family: inherit; font-size: 14px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px), (min-width: 761px) and (max-width: 860px) {
  .docs-diagram { padding: 20px 16px; }
  .docs-diagram > ol { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .docs-diagram--method > ol > li + li::before { left: 50%; top: -29px; width: 0; height: 27px; border-top: 0; border-left: 1.5px solid var(--diagram-line); }
  .docs-diagram--method > ol > li + li::after { left: calc(50% - 3px); top: -7px; border-top: 0; border-bottom: 1.5px solid var(--diagram-line); }
  .docs-diagram > ul { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .docs-diagram--example > ol > li { width: 100%; }
  .docs-diagram--example ol ul { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 18px; }
  .docs-diagram--example ol ul li::before { left: -19px; top: -13px; height: calc(100% + 14px); }
  .docs-diagram--example ol ul li:first-child::before { top: 21px; height: calc(100% - 20px); }
  .docs-diagram--example ol ul li:last-child::before { height: 34px; }
  .docs-diagram--example ol ul li::after, .docs-diagram--example ol ul li:first-child::after, .docs-diagram--example ol ul li:last-child::after { left: -19px; right: auto; top: 21px; width: 18px; }
  .docs-diagram--example > ol > li:last-child > p { margin-bottom: 16px; }
  .docs-walkthrough > ol > li, .docs-walkthrough > ol > li:has([href$="project-card-review.png"]) { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 12px; padding-bottom: 20px; }
  .docs-walkthrough > ol > li > p { grid-column: 1; }
  .docs-walkthrough > ol > li > p:has(.docs-figure) { grid-column: 1; grid-row: auto; }
  .docs-walkthrough > ol > li > p:first-child { margin: 0; }
  .docs-prompt pre { padding-right: 8px; }
}
.docs-related { margin-top: 44px; padding-top: 28px; border-top: 1px solid hsl(var(--border)); }
.docs-related h2 { font-size: 12px; font-weight: 600; color: hsl(var(--muted-foreground)); margin-bottom: 14px; }
.docs-related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; font-size: 14px; }
.docs-related a:hover { color: var(--docs-accent); }
.docs-related svg { flex-shrink: 0; }
.docs-skip { position: fixed; top: 8px; left: 16px; transform: translateY(-200%); z-index: 100; background: hsl(var(--card)); border: 1px solid var(--docs-accent); padding: 10px 16px; border-radius: 5px; }
.docs-skip:focus { transform: translateY(0); }
@media (min-width: 1101px) { .docs-article-layout { background: hsl(var(--card)); } }
@media (max-width: 1100px) {
  .docs-article-layout { grid-template-columns: 176px minmax(0, 1fr); gap: 24px; }
  .docs-toc { display: none; }
  .docs-mobile-toc { display: block; padding: 14px 18px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 6px; margin: 0 0 28px; }
  .docs-mobile-toc summary { font-size: 12px; font-weight: 600; cursor: pointer; }
  .docs-mobile-toc[open] summary { margin-bottom: 10px; }
}
@media (max-width: 760px) {
  .docs-header-inner { padding: 16px 20px; gap: 12px; }
  .docs-brand { gap: 0; }
  .docs-brand svg { width: 86px; height: 23px; }
  .docs-brand > span { display: none; }
  .docs-header-actions { gap: 14px; }
  .docs-language span { display: none; }
  .docs-language { padding: 8px; }
  .docs-home { padding: 46px 20px; }
  .docs-intro h1 { max-width: 520px; }
  .docs-search { margin-bottom: 42px; }
  .docs-section-heading { align-items: start; }
  .docs-section-heading h2 { font-size: 17px; }
  .docs-section-heading > span { font-size: 10px; padding-top: 5px; }
  .docs-guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .docs-guide-card { padding: 22px; }
  .docs-guide-top { margin-bottom: 12px; }
  .docs-guide-card > p { margin-top: 6px; }
  .docs-read { padding-top: 18px; }
  .docs-help { flex-wrap: wrap; align-items: start; gap: 12px; margin-top: 32px; }
  .docs-help > div { flex: 1; min-width: 220px; }
  .docs-help > a { margin-left: 34px; }
  .docs-footer { padding: 20px; gap: 12px; flex-wrap: wrap; }
  .docs-footer > span:nth-child(2) { order: 3; width: 100%; }
  .docs-article-layout { display: block; padding: 26px 20px 44px; }
  .docs-navigation { display: none; }
  .docs-prose { font-size: 14px; }
  .docs-prose h2 { font-size: 20px; }
}
