* { box-sizing: border-box; }
body { margin: 0; }
.page-docs { line-height: 1.6; }
.page-docs .docs-container { max-width: 1280px; margin: 0 auto; padding: 40px 32px 80px; display: grid; grid-template-columns: 200px minmax(0, 1fr) 176px; gap: 36px; align-items: start; }
.page-docs .sidebar { position: sticky; top: 98px; max-height: calc(100svh - 120px); overflow-y: auto; background: transparent; border: 0; padding: 0; scrollbar-width: thin; }
.page-docs .sidebar-title, .page-docs .toc-title { color: var(--site-muted); font-size: 11px; font-weight: 500; letter-spacing: .03em; margin-bottom: 16px; }
.page-docs .page-list { list-style: none; margin: 0; padding: 0; }
.page-docs .page-link { display: block; color: var(--site-muted); text-decoration: none; font-size: 12px; line-height: 1.5; padding: 8px 10px; margin: 2px 0; border-radius: 5px; }
.page-docs .page-link:hover { color: var(--site-ink); background: var(--site-surface); }
.page-docs .page-link[aria-current="page"] { color: var(--site-ink); background: var(--site-surface); font-weight: 500; }
.page-docs .main-content { width: 100%; min-width: 0; padding: 0; }
.page-docs .breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--site-muted); margin-bottom: 24px; }
.page-docs .breadcrumb-item { display: inline-flex; align-items: center; gap: 8px; }
.page-docs .breadcrumb-link { color: var(--site-muted); text-decoration: none; }
.page-docs .breadcrumb-link:hover { color: var(--site-ink); }
.page-docs .breadcrumb-separator { font-size: 8px; opacity: .5; }
.page-docs .content-header { margin: 0 0 30px; padding: 0; border: 0; }
.page-docs .page-title { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.18; font-weight: 600; letter-spacing: -.04em; color: var(--site-ink); margin: 0; text-wrap: balance; }
.page-docs .content { font-size: 14px; color: var(--site-ink); line-height: 1.85; overflow-wrap: anywhere; }
.page-docs .content p { margin: 0 0 20px; }
.page-docs .content h1 { font-size: 30px; }
.page-docs .content h2 { font-size: 23px; }
.page-docs .content h3 { font-size: 18px; }
.page-docs .content h1, .page-docs .content h2, .page-docs .content h3, .page-docs .content h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.3; margin: 38px 0 18px; }
.page-docs .content a { color: #3584e4; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.page-docs .content a:hover { text-decoration-color: currentColor; }
.page-docs .content ul, .page-docs .content ol { padding-left: 22px; margin: 16px 0 24px; }
.page-docs .content li { padding-left: 3px; margin: 5px 0; }
.page-docs .content img { max-width: 100%; height: auto; }
.page-docs .content blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--site-line); color: var(--site-muted); }
.page-docs .content blockquote p:last-child { margin: 0; }
.page-docs .content pre { max-width: 100%; overflow-x: auto; padding: 20px; margin: 24px 0; border: 1px solid var(--site-line); border-radius: 7px; background: var(--site-surface); line-height: 1.6; font-size: 12px; }
.page-docs .content pre, .page-docs .content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.page-docs .content :not(pre) > code { font-size: .88em; background: var(--site-surface); padding: 2px 5px; border-radius: 3px; }
.page-docs .content table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; margin: 24px 0; font-size: 12px; }
.page-docs .content th, .page-docs .content td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--site-line); }
.page-docs .content th { font-weight: 600; }
.page-docs .content hr { border: 0; border-top: 1px solid var(--site-line); margin: 32px 0; }
.page-docs .toc-sidebar { position: sticky; top: 98px; max-height: calc(100svh - 120px); overflow-y: auto; min-width: 0; }
.page-docs .toc-content ul { list-style: none; padding: 0; margin: 0; }
.page-docs .toc-content ul ul { padding-left: 12px; }
.page-docs .toc-content a { display: block; padding: 5px 0; color: var(--site-muted); text-decoration: none; font-size: 11px; line-height: 1.5; }
.page-docs .toc-content a:hover { color: var(--site-ink); }
.docs-mobile-navigation { display: none; }
.docs-eyebrow { color: var(--site-muted); font-size: 11px; font-weight: 500; display: block; margin-bottom: 20px; }
.docs-intro { color: var(--site-muted); font-size: 14px; line-height: 1.7; margin: 20px 0 0; max-width: 460px; }
.docs-guide-groups { display: flex; flex-direction: column; gap: 36px; }
.docs-guide-group h2 { font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.docs-guide-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.docs-guide-link { display: flex; flex-direction: column; gap: 6px; min-height: 96px; padding: 16px; border: 1px solid var(--site-line); border-radius: 7px; text-decoration: none; color: var(--site-ink); transition: background .2s ease; }
.docs-guide-link:hover { background: var(--site-surface); }
.docs-guide-link span { font-size: 13px; font-weight: 500; }
.docs-guide-link small { font-size: 11px; line-height: 1.6; color: var(--site-muted); }
@media (max-width: 1200px) {
    .page-docs .docs-container { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; max-width: 1000px; }
    .page-docs .toc-sidebar { display: none; }
}
@media (max-width: 768px) {
    .page-docs .docs-container { display: block; max-width: 720px; padding: 24px 20px 56px; }
    .page-docs .sidebar { display: none; }
    .docs-mobile-navigation { display: block; margin: 0 0 28px; border-bottom: 1px solid var(--site-line); }
    .docs-mobile-navigation summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 4px 0 12px; cursor: pointer; font-size: 12px; color: var(--site-muted); }
    .docs-mobile-navigation summary::-webkit-details-marker { display: none; }
    .docs-mobile-navigation summary svg { transition: transform .2s ease; }
    .docs-mobile-navigation[open] summary svg { transform: rotate(180deg); }
    .docs-mobile-navigation nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; padding: 0 0 16px; }
    .docs-mobile-navigation nav a { color: var(--site-muted); padding: 10px 0; font-size: 11px; line-height: 1.5; text-decoration: none; }
    .docs-mobile-navigation nav a[aria-current] { color: var(--site-ink); font-weight: 500; }

    .page-docs .content { font-size: 14px; }
    .page-docs .page-title { font-size: 30px; }
    .page-docs .content pre { padding: 16px; }
}
@media (max-width: 480px) {
    .docs-guide-links { grid-template-columns: 1fr; }
    .docs-guide-link { min-height: 82px; }
}
.page-docs .content .docs-table-scroll { overflow-x: auto; scrollbar-width: thin; margin: 24px 0 0; border: 1px solid var(--site-line); border-radius: 6px; }
.page-docs .content .docs-table-scroll table { display: table; min-width: 560px; width: 100%; margin: 0; }
.page-docs .content table th { background: var(--site-surface); white-space: nowrap; }
.page-docs .content table code { white-space: nowrap; }
.docs-overflow-hint { display: block; margin: 8px 0 24px; color: var(--site-muted); font-size: 10px; }
.page-docs .content .docs-callout { border-left: 2px solid var(--site-muted); padding: 12px 18px; background: var(--site-surface); border-radius: 0 6px 6px 0; }
.docs-callout > strong { display: block; font-size: 12px; color: var(--site-ink); margin-bottom: 6px; }
.docs-callout[data-kind="warning"], .docs-callout[data-kind="caution"] { border-left-color: #c99724; }
.docs-diagram { margin: 28px 0; min-width: 0; }
.docs-diagram-viewport { overflow-x: auto; padding: 16px; border: 1px solid var(--site-line); border-radius: 6px; scrollbar-width: thin; }
.docs-diagram-viewport svg { display: block; max-width: none !important; height: auto; }
.docs-diagram-placeholder { display: flex; justify-content: center; align-items: center; min-height: 200px; font-size: 12px; color: var(--site-muted); }
.docs-diagram details { margin-top: 12px; }
.docs-diagram summary { font-size: 11px; color: var(--site-muted); cursor: pointer; }
.page-docs .content .docs-diagram pre { margin: 12px 0 0; }
