/* Documentation-only navigation; shared customer pages keep their own layout. */
.nv-docs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.nv-docs-toolbar a{font-weight:600;text-decoration:none}
.nv-docs-toolbar button,.nv-docs-topics-heading button,.nv-docs-close{font:inherit;cursor:pointer;color:var(--flow-brand);border:1px solid var(--flow-line);background:var(--flow-surface);border-radius:8px;padding:10px 12px;min-height:44px}
.nv-docs-layout{grid-template-columns:280px minmax(0,1fr)}
.nv-docs-layout>.nv-docs-nav{display:block;padding:16px;max-height:calc(100dvh - 48px);overscroll-behavior:contain;scrollbar-gutter:stable}
.nv-docs-nav-top{position:sticky;top:-16px;background:var(--flow-surface);z-index:1;margin:-16px -16px 0;padding:16px;border-bottom:1px solid var(--flow-line)}
.nv-docs-nav-heading{display:flex;align-items:center;justify-content:space-between;font-size:16px;margin-bottom:12px}
.nv-docs-home{display:block;padding:12px 8px;border-radius:8px;background:var(--flow-soft);font-weight:600;color:var(--flow-brand)!important}
.nv-docs-topics-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 4px 8px;color:var(--flow-muted)}
.nv-docs-topics-heading button{border:0;padding:8px;font-size:12px}
.nv-docs-group{border-top:1px solid var(--flow-line)}
.nv-docs-group summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:52px;padding:12px 8px;cursor:pointer;font-weight:600;font-size:14px;color:var(--flow-ink)}
.nv-docs-group summary::-webkit-details-marker{display:none}
.nv-docs-group summary::after{content:'⌄';font-size:18px;margin-left:2px}
.nv-docs-group[open] summary::after{transform:rotate(180deg)}
.nv-docs-group[open] summary{color:var(--flow-brand)}
.nv-docs-group-count{margin-left:auto;color:var(--flow-muted);font-size:11px;font-weight:400;border-radius:5px;background:var(--flow-canvas);padding:2px 6px}
.nv-docs-group-links{display:flex;flex-direction:column;border-left:2px solid var(--flow-line);margin:0 8px 16px;padding-left:8px}
.nv-docs-group-links a{display:block;padding:12px 10px;min-height:44px;line-height:1.5;border-radius:6px;font-size:13px}
.nv-docs-group-links a[aria-current=page]{background:var(--flow-soft);font-weight:600;box-shadow:inset 3px 0 var(--flow-brand)}
.nv-docs-close{display:none}
.nv-docs-backdrop[hidden]{display:none}
.nv-docs-sidebar-hidden .nv-docs-layout{grid-template-columns:minmax(0,1fr)}
.nv-docs-sidebar-hidden .nv-docs-layout>.nv-docs-nav{display:none}
@media(max-width:899px){
 .nv-docs-toolbar{font-size:12px;gap:8px}
 .nv-docs-toolbar button{flex-shrink:0}
 .nv-docs-layout{grid-template-columns:minmax(0,1fr)}
 .nv-docs-layout>.nv-docs-nav{display:none}
 .nv-docs-layout--browse>.nv-docs-nav{display:block;position:static;max-height:none}
 .nv-docs-layout--browse>.nv-docs-reading{display:none}
 .nv-docs-enhanced .nv-docs-layout--browse>.nv-docs-reading{display:flex}
 .nv-docs-enhanced .nv-docs-layout--browse>.nv-docs-nav{display:none}
 .nv-docs-nav-open{overflow:hidden}
 .nv-docs-nav-open .nv-docs-layout>.nv-docs-nav{display:block;position:fixed;inset:12px auto 12px 12px;width:min(340px,calc(100vw - 24px));max-height:none;z-index:101;overflow-y:auto;box-shadow:0 16px 60px #142b3440}
 .nv-docs-nav-open .nv-docs-close{display:block}
 .nv-docs-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:100;background:#142b3466;border:0}
}
@media(min-width:900px){.nv-docs-backdrop{display:none}}

/* Use the site's shared `theme` preference with documentation-specific tokens. */
html:has(.nv-docs-page){color-scheme:light}
html.dark:has(.nv-docs-page){color-scheme:dark}
.dark .nv-docs-page{--flow-canvas:#091923;--flow-surface:#10232e;--flow-ink:#e3edf1;--flow-muted:#a5b7c1;--flow-line:#29414c;--flow-brand:#62d6ca;--flow-on-brand:#092c2c;--flow-soft:#173a3e;--flow-danger:#ffa2ae}
.nv-docs-theme{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:1px solid var(--flow-line);border-radius:8px;background:var(--flow-surface);color:var(--flow-ink);cursor:pointer}
.nv-docs-theme[hidden],.nv-docs-theme-sun{display:none}
.dark .nv-docs-theme-sun{display:block}
.dark .nv-docs-theme-moon{display:none}
.nv-docs-theme:hover{background:var(--flow-soft)}
@media(max-width:899px){.nv-docs-page .nv-flow-brand{flex:1}.nv-docs-page .nv-flow-header{gap:12px}.nv-docs-page .nv-docs-menu{flex:none;margin-left:0}}
