/* Documentation: quiet navigation around a readable, spacious article. */
.docs { --docs-bg: var(--app-paper); --docs-fg: var(--app-ink); --docs-muted: var(--app-subtle); --docs-line: var(--app-line); --docs-panel: var(--app-wash); --docs-accent: var(--color-primary-600); background: var(--docs-bg); color: var(--docs-fg); min-height: 100vh; font-size: 14px; }
/* The light theme's blue is too dark on the dark ground; links, the eyebrow and the chart take the lighter one the app's dark links use */
.dark .docs { --docs-accent: var(--color-primary-300); }
.docs a, .docs button { outline-offset: 5px; }
.docs a:focus-visible, .docs button:focus-visible { outline: 2px solid var(--docs-accent); }
.docs [hidden] { display: none !important; }
.docs-skip { position: fixed; top: -60px; left: 20px; z-index: 100; padding: 10px 16px; background: var(--docs-bg); }
.docs-skip:focus { top: 10px; }
.docs-header { position: sticky; top: 0; z-index: 40; background: var(--docs-bg); border-bottom: 1px solid var(--docs-line); }
.docs-header-inner { min-height: 56px; padding: 0 24px; display: grid; grid-template-columns: 248px minmax(0, 1fr) auto; align-items: center; }
.docs-brand { display: inline-flex; width: fit-content; }
.docs-search { padding-left: 32px; }
.docs-header-actions { display: flex; align-items: center; gap: 8px; }
.docs-support { color: var(--docs-muted); }
.docs-shell { display: grid; grid-template-columns: 272px minmax(0, 1fr) 240px; min-height: calc(100vh - 56px); }
.docs-sidebar, .docs-toc { position: sticky; top: 56px; align-self: start; height: calc(100vh - 56px); overflow-y: auto; scrollbar-width: thin; padding: 32px 20px; }
.docs-sidebar { border-right: 1px solid var(--docs-line); background: var(--docs-panel); }
.docs-navigation > summary { display: none; }
.docs-nav-group { margin-bottom: 30px; }
.docs-nav-group h2 { font-size: 13px; font-weight: 600; margin: 0 0 10px; padding: 0 12px; }
.docs-nav-group a { display: flex; align-items: center; justify-content: space-between; color: var(--docs-muted); padding: 8px 12px; margin: 2px 0; border-radius: 9px; font-size: 13px; }
.docs-nav-group a:hover { color: var(--docs-fg); background: var(--docs-panel); }
.docs-nav-group a[aria-current] { color: var(--docs-accent); background: color-mix(in srgb, var(--docs-accent) 10%, transparent); font-weight: 500; }
.docs-nav-support { border-top: 1px solid var(--docs-line); padding-top: 24px; }
.docs-eyebrow { color: var(--docs-accent); font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.docs-article { min-width: 0; width: 100%; max-width: 1000px; justify-self: center; padding: 40px 32px 0; }
.docs-article h1 { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; margin: 0 0 12px; }
.docs-article .docs-lede { font-size: 17px; line-height: 1.75; margin: 0 0 30px; }
.docs-article p { color: var(--docs-muted); line-height: 1.85; font-size: 15px; margin: 16px 0; }
.docs-article section { margin-top: 36px; scroll-margin-top: 106px; }
.docs-article h2 { font-size: 23px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 16px; }
.docs-article h3 { font-size: 15px; font-weight: 500; }
.docs-toc { font-size: 12px; border-left: 1px solid var(--docs-line); }
.docs-toc h2 { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 15px; }
.docs-toc > a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--docs-line); color: var(--docs-muted); }
.docs-toc > a:hover, .docs-toc > a:focus-visible { color: var(--docs-accent); }
.docs-toc-help { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--docs-line); color: var(--docs-muted); }
.docs-toc-help a { display: block; margin-top: 8px; color: var(--docs-fg); }
.docs-hero { border: 1px solid var(--docs-line); border-radius: 12px; overflow: hidden; background: var(--docs-panel); }
.docs-hero-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; border-bottom: 1px solid var(--docs-line); color: var(--docs-muted); font-size: 10px; }
.docs-hero-top > span:first-child { display: flex; gap: 5px; }
.docs-hero-top i { width: 6px; height: 6px; background: var(--docs-muted); opacity: .4; border-radius: 50%; }
.docs-hero-body { padding: 24px 25px 18px; }
.docs-hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.docs-hero-label { font-size: 14px; font-weight: 500; }
.docs-example-label { font-size: 10px; color: var(--docs-muted); }
.docs-hero-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 24px 0 15px; }
.docs-hero-stats div > span { display: block; color: var(--docs-muted); font-size: 10px; margin-bottom: 6px; }
.docs-hero-stats strong { font-size: 27px; letter-spacing: -.04em; font-weight: 500; }
.docs-hero-stats small { font-size: 15px; color: var(--docs-muted); }
.docs-chart { width: 100%; height: auto; color: var(--docs-accent); }
.docs-chart-caption { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: var(--docs-muted); margin-top: 10px; }
.docs-chart-caption b { display: inline-block; width: 6px; height: 6px; background: var(--docs-accent); border-radius: 50%; margin: 0 4px 0 10px; }
.docs-chart-caption b.docs-green { background: #34b38b; }
.docs-hero-bottom { display: flex; align-items: center; gap: 8px; padding: 12px 25px; border-top: 1px solid var(--docs-line); font-size: 11px; color: var(--docs-muted); }
.docs-hero-bottom svg { color: #34b38b; }
.docs-steps { margin-top: 24px; }
.docs-steps > div { display: flex; gap: 17px; padding-bottom: 23px; }
.docs-steps > div > span { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--docs-line); border-radius: 50%; color: var(--docs-muted); font-size: 12px; }
.docs-steps h3 { margin-top: 3px; }
.docs-steps p { margin: 5px 0 0; font-size: 13px; }
.docs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.docs-cards > a { border: 1px solid var(--docs-line); padding: 22px; border-radius: 12px; }
.docs-cards > a:hover, .docs-pagination a:hover { border-color: var(--docs-accent); background: var(--docs-panel); }
.docs-cards svg { color: var(--docs-accent); margin-bottom: 18px; }
.docs-cards p { font-size: 13px; margin: 7px 0 0; }
.docs-pagination { display: flex; gap: 16px; margin-top: 48px; }
.docs-pagination a { border: 1px solid var(--docs-line); border-radius: 10px; padding: 16px 20px; width: 50%; }
.docs-pagination span { display: block; color: var(--docs-muted); font-size: 11px; margin-bottom: 6px; }
.docs-pagination strong { font-size: 13px; font-weight: 500; }
.docs-next { text-align: right; margin-left: auto; }
.docs-footer { display: flex; justify-content: space-between; color: var(--docs-muted); font-size: 11px; border-top: 1px solid var(--docs-line); padding: 24px 0 32px; margin-top: 40px; }
.docs-note { display: flex; align-items: baseline; gap: 10px; padding: 14px 17px; border: 1px solid var(--docs-line); border-radius: 10px; background: var(--docs-panel); }
.docs-note svg { flex-shrink: 0; align-self: center; color: var(--docs-accent); }
.docs-note p { margin: 0; font-size: 13px; }
.docs-code { border: 1px solid var(--docs-line); border-radius: 12px; background: var(--docs-panel); overflow: hidden; margin-top: 22px; }
.docs-code-header { display: flex; justify-content: space-between; padding: 11px 17px; border-bottom: 1px solid var(--docs-line); font-size: 12px; color: var(--docs-muted); }
.docs-code-header button { cursor: pointer; }
.docs-code pre { overflow-x: auto; padding: 22px 18px; font-size: 12px; line-height: 1.9; }
.docs-code-comment { color: var(--docs-muted); }
.docs-code-keyword { color: var(--docs-accent); }
.docs-code-string { color: #c77b48; }
.docs-text-link { color: var(--docs-accent); }
@media (max-width: 1200px) { .docs-shell { grid-template-columns: 240px minmax(0, 1fr); } .docs-toc { display: none; } .docs-header-inner { grid-template-columns: 216px minmax(0, 1fr) auto; } .docs-support { display: none; } }
@media (max-width: 900px) { .docs-header-inner { grid-template-columns: 1fr auto; gap: 14px; padding: 17px 24px; } .docs-search { grid-row: 2; grid-column: 1 / -1; padding: 0; } .docs-search .search-button { width: 100%; } .docs-search .search-button > span:first-of-type { display: block; } .docs-header-actions { gap: 12px; } .docs-shell { display: block; padding: 0 24px; } .docs-article { padding: 0; margin: auto; max-width: 760px; } .docs-sidebar { position: static; height: auto; padding: 0; overflow: visible; border-right: 0; background: transparent; border-bottom: 1px solid var(--docs-line); margin-bottom: 30px; } .docs-navigation > summary { display: flex; justify-content: space-between; padding: 17px 0; cursor: pointer; font-size: 13px; } .docs-navigation nav { padding: 12px 0; } .docs-nav-group { margin-bottom: 20px; } .docs-article section { scroll-margin-top: 170px; } }
@media (max-width: 480px) { .docs-header-inner { padding: 14px 18px; } .docs-shell { padding: 0 20px; } .docs-article h1 { font-size: 31px; } .docs-article .docs-lede { font-size: 16px; } .docs-hero-body { padding: 20px 16px 14px; } .docs-hero-label { font-size: 12px; } .docs-example-label { font-size: 9px; } .docs-hero-stats strong { font-size: 23px; } .docs-hero-bottom { padding: 12px 16px; font-size: 10px; } .docs-cards { grid-template-columns: 1fr; } }

/* Article content, including references that scroll within the article on narrow screens. */
.docs-article section > p a, .docs-article li a, .docs-article td a { color: var(--docs-accent); text-decoration: underline; text-underline-offset: 3px; }
.docs-article ul, .docs-article ol { padding-left: 24px; margin: 16px 0; font-size: 15px; line-height: 1.85; }
.docs-article ul { list-style: disc; }
.docs-article ol { list-style: decimal; }
.docs-article li { margin: 8px 0; }
.docs-article section > pre { overflow-x: auto; padding: 20px; margin: 20px 0; border: 1px solid var(--docs-line); border-radius: 10px; background: var(--docs-panel); font-size: 12px; line-height: 1.8; }
.docs-table { max-width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid var(--docs-line); border-radius: 10px; }
.docs-table:focus-visible { outline: 2px solid var(--docs-accent); outline-offset: 3px; }
.docs-table table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.7; text-align: left; }
.docs-table th, .docs-table td { min-width: 150px; padding: 12px 14px; vertical-align: top; overflow-wrap: anywhere; }
.docs-table th { font-weight: 600; background: var(--docs-panel); }
.docs-table tr + tr td, .docs-table tbody tr:first-child td { border-top: 1px solid var(--docs-line); }
.docs-table td + td, .docs-table th + th { border-left: 1px solid var(--docs-line); }
