/* Documentation only. Shared theme tokens; no observers or animation loops. */
#viewDocumentation{border-color:var(--border-subtle)!important;border-radius:8px!important;grid-template-columns:272px minmax(0,1fr)!important}
#viewDocumentation .docs-sidebar{padding:24px 16px!important;background:var(--bg-surface)!important}
.docs-sidebar-heading{display:flex;flex-direction:column;gap:7px;margin:0 8px 22px}.docs-sidebar-heading b{font-size:16px;font-weight:600;letter-spacing:-.02em}.docs-sidebar-heading small{font-size:9px;color:var(--muted);letter-spacing:.06em}
#viewDocumentation .docs-content{padding:30px clamp(24px,4vw,64px) 48px!important;scroll-padding-top:24px}
#viewDocumentation .docs-content>*{max-width:960px}
#viewDocumentation .docs-article-top{margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid var(--border-subtle)}
#viewDocumentation .docs-article-header>small{display:none}.docs-reading-meta{display:flex;align-items:center;gap:18px;font-size:10px;color:var(--muted);margin-bottom:16px}.docs-reading-meta>span:first-child{color:var(--accent-primary)}
#viewDocumentation .docs-article-header h2{font-size:clamp(26px,2.5vw,36px)!important;line-height:1.18;margin:0 0 18px!important}
#viewDocumentation .docs-article-header>p{font-size:14px!important;line-height:1.85!important;max-width:76ch;color:var(--muted)!important}
#viewDocumentation .docs-search{height:40px!important;border-radius:6px!important}.docs-search input{font-size:12px!important}
#viewDocumentation .docs-category summary{padding:12px 8px!important;font-size:12px!important}.docs-category summary>svg:first-child{color:var(--muted)}
#viewDocumentation .docs-link{font-size:12px!important;line-height:1.55!important;padding:9px 11px!important;border-radius:0 5px 5px 0}.docs-link[aria-current=page]{border-left:2px solid var(--accent-primary)!important}
.docs-quick-start{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px auto 30px}.docs-quick-card{display:grid;grid-template-columns:28px minmax(0,1fr) 16px;gap:7px 10px;align-items:center;text-align:left;padding:18px;border:1px solid var(--border-subtle);border-radius:8px;background:var(--bg-surface);color:var(--text);cursor:pointer;transition:transform .2s cubic-bezier(.22,1,.36,1)}.docs-quick-card>svg:first-child{grid-row:span 2;color:var(--accent-primary);width:18px;height:18px}.docs-quick-card>b{font-size:13px;font-weight:600}.docs-quick-card>small{grid-column:2;font-size:11px;line-height:1.6;color:var(--muted)}.docs-quick-card>svg:last-child{grid-column:3;grid-row:1/3;color:var(--muted)}.docs-quick-card:hover{transform:translateY(-2px);border-color:var(--accent-primary)}
#viewDocumentation .docs-steps{margin:26px auto!important;border:1px solid var(--border-subtle);border-radius:8px;padding:20px!important;background:var(--bg-surface)!important}#viewDocumentation .docs-steps h3{margin:0 0 16px;font-size:14px!important}#viewDocumentation .docs-steps li{font-size:12px!important;line-height:1.8!important;padding-block:5px}
.docs-practical-note{display:flex;gap:12px;align-items:flex-start;padding:18px 20px;margin:22px auto;background:var(--accent-soft);border:1px solid var(--border-subtle);border-left:2px solid var(--accent-primary);border-radius:6px}.docs-practical-note>svg{margin-top:2px;color:var(--accent-primary)}.docs-practical-note b{font-size:12px;font-weight:600}.docs-practical-note p{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0 0}.docs-theme-guide{padding:20px;border:1px solid var(--border-subtle);border-radius:8px;margin:22px auto;background:var(--bg-surface)}.docs-theme-guide h3{font-size:14px}.docs-theme-guide p{font-size:12px;line-height:1.7;color:var(--muted)}.docs-theme-name{display:inline-flex;padding:6px 9px;border:1px solid var(--border-subtle);border-radius:4px;margin:3px;font-size:10px;color:var(--text)}
#viewDocumentation .docs-diagram,#viewDocumentation .docs-shot{border:1px solid var(--border-subtle)!important;border-radius:8px!important;background:var(--bg-surface)!important;padding:16px!important;overflow:hidden}
#viewDocumentation .docs-shot-frame{border:1px solid var(--border-subtle)!important;border-radius:5px!important;background:var(--bg-base)!important;max-height:none!important}#viewDocumentation .docs-shot-frame img{height:auto!important;max-height:460px!important;width:auto!important;max-width:100%!important;object-fit:contain!important}#viewDocumentation .docs-screenshot-open img{aspect-ratio:auto!important;max-height:500px;object-fit:contain}
#viewDocumentation .docs-diagram-caption>span{font-size:10px;letter-spacing:.02em!important}#viewDocumentation .docs-diagram-caption>small{font-size:10px!important;color:var(--muted)}#viewDocumentation .docs-shot h3{font-size:14px!important}#viewDocumentation .docs-shot figcaption p{font-size:12px!important;line-height:1.7!important;color:var(--muted)!important}
.docs-screenshot-dialog{width:min(1440px,94vw)!important;max-height:90dvh!important;overflow:hidden!important}.docs-screenshot-dialog>img{max-height:calc(90dvh - 48px)!important;width:100%!important;object-fit:contain!important}.docs-viewer-head button{box-sizing:border-box;width:30px!important;height:30px!important;padding:0!important}
#viewDocumentation .docs-motion{grid-template-columns:1fr!important;gap:16px!important}#viewDocumentation .docs-motion-frame{min-height:0!important;width:100%!important;overflow:hidden;border-radius:6px}#viewDocumentation .docs-motion-frame video{display:block;width:100%;max-height:480px;object-fit:contain;background:var(--bg-base)}
#viewDocumentation :is(.docs-open,.docs-footer-open,.docs-article-footer button){min-height:36px;box-sizing:border-box;border-radius:6px!important;line-height:1.4}
.exchange-toggle{min-width:86px!important;min-height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px!important;border:1px solid var(--border-subtle)!important;border-radius:6px;background:var(--bg-surface)!important;color:var(--text)!important;font-size:12px;font-weight:600;cursor:pointer}.exchange-toggle:disabled{cursor:progress;opacity:.65}.exchange-toggle:hover{border-color:var(--accent-primary)!important}.header-venue:has(.exchange-toggle){gap:5px}.header-venue .venue-brand{pointer-events:none}
@media(max-width:1000px){#viewDocumentation{grid-template-columns:240px minmax(0,1fr)!important}#viewDocumentation .docs-content{padding:24px!important}}
@media(max-width:700px){#viewDocumentation{display:flex!important;flex-direction:column!important}#viewDocumentation[hidden]{display:none!important}#viewDocumentation .docs-sidebar{max-height:31dvh!important;padding:16px!important}.docs-sidebar-heading{display:none}#viewDocumentation .docs-content{padding:22px 16px 36px!important;min-height:0!important;flex:1}.docs-quick-start{grid-template-columns:1fr}.docs-quick-card{padding:15px}#viewDocumentation .docs-article-top{gap:12px;flex-wrap:wrap}#viewDocumentation .docs-article-header h2{font-size:26px!important}#viewDocumentation .docs-article-header>p{font-size:13px!important}.docs-reading-meta{gap:12px}.docs-practical-note{padding:15px}.docs-article-footer{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.docs-quick-card{transition:none}}
#viewDocumentation .docs-real-preview .docs-marker-1{left:4%;top:2.5%}#viewDocumentation .docs-real-preview .docs-marker-2{left:12%;top:10%}#viewDocumentation .docs-real-preview .docs-marker-3{left:4%;top:25%}#viewDocumentation .docs-real-preview .docs-marker-4{left:31%;top:10%;bottom:auto}

.header-venue:has(.exchange-toggle){border:0!important;background:none!important;padding:0!important}.header-venue:has(.exchange-toggle) .venue-brand{display:none!important}

.header-venue:has([data-select=exchangeChoice])>.venue-brand{display:none!important}.exchange-menu-logo{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none}.exchange-menu-logo svg{width:18px;height:18px}.exchange-menu-option{display:flex!important;align-items:center;gap:10px!important;min-height:38px}.exchange-menu-option[aria-selected=true]:after{content:'✓';margin-left:auto;color:var(--accent-primary)}[data-select=exchangeChoice] .select-menu-trigger{display:flex;align-items:center;gap:8px;min-width:120px;height:32px;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:6px;color:var(--text)}#exchangeChoiceOptions{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:7px;padding:5px;box-shadow:0 8px 20px #0005}#exchangeChoiceOptions button{border-radius:4px;color:var(--text)}#exchangeChoiceOptions button:hover{background:var(--accent-soft)}

/* A single border belongs to the button, never its wrappers. */
header .header-venue:has([data-select="exchangeChoice"]),header .header-venue [data-select="exchangeChoice"]{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;outline:0!important;min-width:0!important;gap:0!important}
header [data-select="exchangeChoice"] .select-menu-trigger{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:126px!important;min-width:126px!important;height:32px!important;padding:0 10px!important;line-height:1!important;box-shadow:inset 0 1px 0 #ffffff09!important;background:var(--bg-surface)!important;border:1px solid var(--border-subtle)!important}
header [data-select="exchangeChoice"] .select-menu-trigger>span:not(.exchange-menu-logo){flex:1;text-align:left;white-space:nowrap}header [data-select="exchangeChoice"] .select-menu-trigger>svg{width:12px!important;height:12px!important;flex:none}header [data-select="exchangeChoice"] .exchange-menu-logo{width:18px!important;height:18px!important;flex:0 0 18px!important}
.exchange-menu-logo,.exchange-menu-logo svg,.exchange-menu-logo svg *{filter:none!important;mix-blend-mode:normal!important;opacity:1!important;stroke:none!important}.exchange-menu-logo svg [fill="#F0B90B"]{fill:#F0B90B!important}.exchange-menu-logo svg [fill="#E1E4EA"]{fill:#E1E4EA!important}.exchange-menu-logo svg [fill="#F7A600"]{fill:#F7A600!important}

/* A single border belongs to the button, never its wrappers. */
header .header-venue:has([data-select="exchangeChoice"]),header .header-venue [data-select="exchangeChoice"]{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;outline:0!important;min-width:0!important;gap:0!important}
header [data-select="exchangeChoice"] .select-menu-trigger{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:126px!important;min-width:126px!important;height:32px!important;padding:0 10px!important;line-height:1!important;box-shadow:inset 0 1px 0 #ffffff09!important;background:var(--bg-surface)!important;border:1px solid var(--border-subtle)!important}
header [data-select="exchangeChoice"] .select-menu-trigger>span:not(.exchange-menu-logo){flex:1;text-align:left;white-space:nowrap}header [data-select="exchangeChoice"] .select-menu-trigger>svg{width:12px!important;height:12px!important;flex:none}header [data-select="exchangeChoice"] .exchange-menu-logo{width:18px!important;height:18px!important;flex:0 0 18px!important}

/* A single border belongs to the button, never its wrappers. */
header .header-venue:has([data-select="exchangeChoice"]),header .header-venue [data-select="exchangeChoice"]{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;outline:0!important;min-width:0!important;gap:0!important}
header [data-select="exchangeChoice"] .select-menu-trigger{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:126px!important;min-width:126px!important;height:32px!important;padding:0 10px!important;line-height:1!important;box-shadow:inset 0 1px 0 #ffffff09!important;background:var(--bg-surface)!important;border:1px solid var(--border-subtle)!important}
header [data-select="exchangeChoice"] .select-menu-trigger>span:not(.exchange-menu-logo){flex:1;text-align:left;white-space:nowrap}header [data-select="exchangeChoice"] .select-menu-trigger>svg{width:12px!important;height:12px!important;flex:none}header [data-select="exchangeChoice"] .exchange-menu-logo{width:18px!important;height:18px!important;flex:0 0 18px!important}

/* Walkthrough images use one surface with a readable caption above each view. */
#viewDocumentation .docs-content > :is(.docs-gallery,.docs-diagram) { max-width:1120px; }
#viewDocumentation .docs-gallery { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; }
#viewDocumentation .docs-gallery-title { margin:0; color:var(--text); font-size:17px; }
#viewDocumentation .docs-shot { margin:0; }
#viewDocumentation .docs-shot figcaption { margin-bottom:10px; }
#viewDocumentation .docs-shot-frame { width:100%; }
#viewDocumentation .docs-shot-frame img { max-height:560px!important; }

header [data-select="exchangeChoice"] .exchange-menu-logo.exchange-menu-wordmark,.exchange-menu-option .exchange-menu-wordmark{width:42px!important;flex:0 0 42px!important;justify-content:flex-start}
.exchange-menu-wordmark .venue-logo{width:42px;height:16px;border-radius:0}
header [data-select="exchangeChoice"] .select-menu-trigger:has(.exchange-menu-wordmark)>svg{margin-inline-start:auto}
header [data-select="exchangeChoice"] .select-menu-trigger>[hidden]{display:none!important}
