.docs { background: #fff; }
.docs .docs-header { position: sticky; z-index: 10; top: 0; max-width: none; padding: 21px 36px; background: #fffffff5; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); gap: 20px; }
.docs-header .brand { font-size: 24px; }
.docs-header .brand svg { width: 30px; height: 30px; }
.docs-header .docs-label { border-left: 1px solid var(--line); padding-left: 20px; color: var(--muted); font-size: 14px; }
.docs-header nav { margin-left: auto; gap: 24px; }
.docs-header #open-doc-search { background: var(--surface); color: var(--muted); border: 1px solid var(--line); padding: 9px 12px; border-radius: 7px; display: flex; gap: 35px; align-items: center; }
.docs-header .docs-launch { background: var(--blue); color: white; border-radius: 7px; padding: 11px 16px; }
.docs-layout { max-width: 1536px; margin: auto; display: grid; grid-template-columns: 248px minmax(0, 1fr) 205px; }
.docs-sidebar, .docs-toc { position: sticky; top: 84px; max-height: calc(100vh - 84px); overflow: auto; align-self: start; padding: 40px 24px; }
.docs-sidebar { border-right: 1px solid var(--line); min-height: calc(100vh - 84px); }
.docs-sidebar .eyebrow, .docs-toc .eyebrow { font-size: 10px; margin-bottom: 18px; }
.docs-sidebar nav, .docs-toc nav { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.docs-sidebar nav a { font-size: 13px; color: var(--muted); padding: 10px 11px; border-radius: 6px; line-height: 1.5; }
.docs-sidebar nav a:hover, .docs-sidebar nav a[aria-current] { color: var(--blue); background: var(--pale); }
.docs-sidebar nav a[aria-current] { font-weight: 600; }
.sidebar-note { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 10px 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.raw-doc { color: var(--blue); font-size: 11px; padding: 10px; }
.docs-main { max-width: 870px; width: 100%; min-width: 0; padding: 45px 52px 60px; margin: 0 auto; }
.docs-main>.eyebrow { margin-bottom: 22px; }
.docs article { font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.docs article h1 { font-size: clamp(32px, 3.2vw, 44px); font-weight: 650; letter-spacing: -1.8px; line-height: 1.14; margin: 0 0 22px; }
.docs article h2 { font-size: 24px; letter-spacing: -.6px; margin: 44px 0 15px; padding-top: 5px; scroll-margin-top: 112px; }
.docs article h3 { font-size: 18px; margin: 30px 0 12px; }
.docs article p { margin: 14px 0; }
.docs article a, .docs-help a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.docs article li { margin: 9px 0; padding-left: 3px; }
.docs article ul, .docs article ol { padding-left: 22px; }
.docs article :not(pre)>code { background: #f0f4fa; border: 1px solid #e4ebf4; padding: 2px 5px; border-radius: 4px; font: .86em/1.6 var(--mono); overflow-wrap: anywhere; }
.docs article blockquote { margin: 24px 0; border-left: 3px solid var(--blue); padding: 5px 20px; background: var(--pale); border-radius: 0 7px 7px 0; }
.doc-code { margin: 23px 0; border: 1px solid #203252; border-radius: 10px; overflow: hidden; background: #0c1527; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; border-bottom: 1px solid #203252; color: #91acd7; font: 11px var(--mono); }
.code-toolbar button { color: #d3e2fa; border: 1px solid #344965; border-radius: 4px; padding: 4px 10px; font: inherit; }
.code-toolbar button:hover { background: #203252; }
.docs .doc-code pre { margin: 0; padding: 17px; border: 0; border-radius: 0; font-size: 12px; line-height: 1.85; overflow: auto; white-space: pre; }
.docs .doc-code code { font: inherit; }
.doc-table { overflow: auto; margin: 23px 0; border: 1px solid var(--line); border-radius: 8px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.7; text-align: left; }
.doc-table th { background: var(--surface); font-weight: 600; color: var(--ink); }
.doc-table th, .doc-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 115px; }
.doc-table tr:last-child td { border-bottom: 0; }
.docs-toc { padding: 47px 22px 30px 5px; }
.docs-toc nav { gap: 13px; }
.docs-toc a { font-size: 11px; line-height: 1.65; color: var(--muted); border-left: 1px solid var(--line); padding-left: 13px; }
.docs-toc a:hover { color: var(--blue); border-color: var(--blue); }
.doc-pagination { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 50px; display: flex; justify-content: space-between; gap: 25px; }
.doc-pagination a { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--blue); }
.doc-pagination small, .docs-help { color: var(--muted); font-size: 11px; }
.docs-help { margin-top: 35px; }
.doc-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.doc-paths a { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: linear-gradient(145deg, #fff, #f7faff); }
.doc-paths a:hover { border-color: #9db9ef; }
.docs article .doc-paths a { text-decoration: none; }
.doc-paths span { font-size: 14px; font-weight: 600; color: var(--blue); }
.doc-paths p { font-size: 12px; line-height: 1.75; color: var(--muted); margin-bottom: 0; }
.mobile-doc-nav { display: none; }
#doc-search { max-width: 650px; padding: 32px; }
#doc-search label { font-size: 17px; font-weight: 600; margin: 0 0 16px; }
#doc-search input { font: inherit; width: 100%; border: 1px solid var(--line); padding: 13px; border-radius: 7px; }
#doc-search-results { display: grid; gap: 5px; max-height: 52vh; overflow: auto; }
#doc-search-results a { font-size: 13px; padding: 13px; border-radius: 5px; background: var(--surface); color: var(--blue); }
.docs :focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media(max-width:1200px) { .docs-layout { grid-template-columns: 228px minmax(0,1fr); }.docs-toc { display: none; }.docs-main { padding: 42px 36px; }.docs-header #open-doc-search { gap: 15px; } }
@media(max-width:760px) { .docs-layout { display: block; }.docs-sidebar { display: none; }.docs .docs-header { padding: 16px 20px; gap: 14px; flex-wrap: wrap; }.docs-header .brand { font-size: 21px; }.docs-header nav { width: 100%; margin: 0; justify-content: space-between; gap: 10px; }.docs-header nav a { font-size: 11px; }.docs-header #open-doc-search { font-size: 11px; gap: 10px; }.docs-header kbd { display: none; }.docs-header .docs-launch { padding: 10px; }.docs-main { padding: 24px 20px 45px; }.mobile-doc-nav { display: grid; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 32px; }.mobile-doc-nav select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: white; font: inherit; font-size: 14px; color: var(--ink); }.docs article { font-size: 14px; }.docs article h1 { font-size: 35px; }.docs article h2 { scroll-margin-top: 140px; }.doc-paths { gap: 10px; }.doc-paths a { padding: 15px; }.doc-pagination { align-items: flex-start; }.doc-pagination a { max-width: 48%; } }
