/* Shared navigation and reading comfort. Keep terminal grids and financial controls intact. */
html{scroll-padding-top:20px}
.site-header .explore-nav{align-items:center;gap:8px!important;padding-block:5px!important;scrollbar-width:thin;overscroll-behavior-x:contain}
.site-header .explore-nav a{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:7px;line-height:1.35}
.site-header .explore-nav a[aria-current]{background:var(--panel-2,var(--panel));color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
.site-header .explore-nav .site-portfolio-link{border-left:1px solid var(--border);border-radius:0;margin-left:5px;padding-left:16px}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent,#89dfc7);outline-offset:4px}
main :is(h2,h3,section,article,details)[id]{scroll-margin-top:24px}
.site-header button,.site-header .product-nav-direct{min-height:44px}
.site-header button:disabled{cursor:default}
.site-header-actions{min-width:0}
.support-shell,.support-shell .guide,.support-shell .reading-body,.learning-hub,.finance-shell{min-width:0}
.support-shell :is(p,li,dd),.learning-hub p{overflow-wrap:break-word}
.support-shell :is(pre,table),.learning-hub pre{max-width:100%}
.support-shell pre{overflow:auto;overscroll-behavior:contain;tab-size:2}
.support-shell code{overflow-wrap:anywhere}
.support-shell summary{min-height:44px;align-content:center}
.support-shell .reading-body a:not([class]),.learning-hub a:not([class]){text-underline-offset:4px;text-decoration-thickness:1px}
.support-shell .reading-body a:not([class]):hover,.learning-hub a:not([class]):hover{text-decoration-thickness:2px}
.support-shell .bp-reading-tools button{min-height:40px;padding:9px 13px}
.bp-search-full[open]{display:grid;grid-template-rows:auto auto minmax(80px,1fr) auto;gap:0;max-height:min(900px,calc(100dvh - 32px));overflow:auto;background:var(--panel);color:var(--text)}
.bp-search-full .bp-search-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:18px}
.bp-search-full h2{font-size:28px;line-height:1.15;margin-bottom:0}
.bp-search-full [data-search-close]{min-width:44px;min-height:44px;padding:5px;font-size:25px;border:1px solid var(--border);background:var(--bg);color:var(--text)}
.bp-search-full .bp-search-results-region{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;padding:0 5px 0 0}
.bp-search-full .bp-search-input-row{align-items:stretch;position:relative;margin-bottom:12px}
.bp-search-full #bpSearchErase{flex-shrink:0;min-width:44px;padding:0 10px;background:var(--bg);border:1px solid var(--border);color:var(--text);font-size:20px}
.bp-search-full [hidden]{display:none!important}
.bp-search-full .bp-search-filters{gap:10px}
.bp-search-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 12px}
.bp-search-shortcuts a{display:grid;gap:4px;min-width:0;padding:12px;border:1px solid var(--border);border-radius:9px;text-decoration:none;color:var(--text);background:var(--bg)}
.bp-search-shortcuts strong{font-size:12px;font-weight:600}.bp-search-shortcuts small{font-size:10px;color:var(--muted);line-height:1.4}
.bp-search-shortcuts a:hover{border-color:var(--accent);background:var(--panel-2,var(--panel))}
.bp-search-full .bp-search-result{border-color:var(--border);background:var(--bg);border-radius:10px;padding:15px}
.bp-search-full .bp-search-result-meta{color:var(--muted)}.bp-search-full .bp-search-kind{color:var(--accent);font-size:10px}
.bp-search-full .bp-search-result strong{font-size:15px}.bp-search-full .bp-search-path{color:var(--muted);opacity:1}
.bp-search-full .bp-search-foot{padding-top:14px;border-top:1px solid var(--border);margin-top:14px;line-height:1.6}
.bp-search-full .bp-search-meta{min-height:25px}.bp-search-full .bp-search-meta p{color:var(--muted)}
.bp-search-full button:disabled{opacity:.55;cursor:default}
@media(max-width:700px){
 .site-header-main{min-width:0;gap:10px!important}.site-header-actions{gap:6px}
 .site-header .bp-search-toggle{width:40px;min-width:40px;padding:8px}.site-header .bp-search-toggle :is(span,kbd){display:none}
 .site-header-actions :is(#theme,#themeBtn,#siteTheme){min-width:36px;padding:8px}
 .site-header .explore-nav a{min-height:44px;font-size:12px;padding-inline:10px}
 .site-header .site-primary-nav a{min-height:44px;display:flex;align-items:center;justify-content:center}
 main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),dialog :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px!important;min-height:44px}
 .support-shell .reading-body :is(p,li),.support-shell .lead{font-size:16px!important;line-height:1.8}
 .support-shell .bp-reading-tools{flex-wrap:wrap}.support-shell .bp-reading-tools button{min-height:44px}
 .bp-search-full[open]{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:18px!important;border-radius:16px!important}
 .bp-search-full h2{font-size:24px}.bp-search-full .bp-search-head{margin-bottom:14px}
 .bp-search-full .bp-search-input-row input{padding:12px}.bp-search-full .bp-search-input-row button{padding-inline:12px}
 .bp-search-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-search-shortcuts a{padding:10px}
 .bp-search-full .bp-search-result{padding:13px}.bp-search-full .bp-search-filters>button{min-height:40px}
}
@media(max-height:700px){.bp-search-full .bp-search-shortcuts{display:none}.bp-search-full .bp-search-head .eyebrow{display:none}.bp-search-full .bp-search-foot>span{display:none}}
@media(max-width:380px){.site-header .brand{font-size:20px;gap:6px}.site-header .brand img{width:26px;height:26px}.site-header-actions .primary{max-width:112px;overflow:hidden;text-overflow:ellipsis}.site-header-main{padding-inline:12px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.bp-search-full *{transition:none!important;animation:none!important}}
