:root{--bbb-brand-height:80px;--bbb-context-height:70px;--bbb-header-stack:150px}.bbb-site-header{position:fixed!important;top:0!important;z-index:1100!important}.bbb-context-nav{position:fixed!important;top:var(--bbb-brand-height)!important;left:0;right:0;z-index:1050;max-width:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:12px max(28px,calc((100vw - 1184px)/2))!important;background:#f7faff!important;border-bottom:1px solid #cddbf0!important;box-shadow:0 5px 16px #1232650c;max-height:45vh;overflow-y:auto;overscroll-behavior:contain}.bbb-context-spacer{height:var(--bbb-context-height);flex-shrink:0}body.bbb-resource-page{padding-top:var(--bbb-brand-height)!important}html{scroll-padding-top:calc(var(--bbb-header-stack) + 12px)!important}:where([id]){scroll-margin-top:12px!important}.bbb-context-nav .resource-filters{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px;margin:0!important}.bbb-context-nav:has(.resource-filters){flex-wrap:wrap;gap:10px 20px}.bbb-context-nav .resource-filter{min-height:36px;padding:7px 14px;font-size:12px}.bbb-context-nav a:focus-visible,.bbb-context-nav button:focus-visible{outline:3px solid #e8ad00;outline-offset:3px}.bbb-site-links.is-open{z-index:1150}@media(max-width:640px){:root{--bbb-brand-height:65px}.bbb-context-nav{padding:10px 16px!important;gap:10px;max-height:42vh}.bbb-context-nav .resource-filter{font-size:11px;padding:7px 11px}.bbb-context-nav .resource-filters{gap:6px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
@media(max-width:640px){.bbb-context-nav:has(> .bbb-language-switch),.bbb-context-nav:has(> .bbb-resource-language),.bbb-context-nav:has(> .bbb-language){display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center}.bbb-context-nav>.bbb-context-title{grid-row:1;grid-column:1}.bbb-context-nav>.bbb-language-switch,.bbb-context-nav>.bbb-resource-language,.bbb-context-nav>.bbb-language{grid-row:1;grid-column:2;margin:0!important}.bbb-context-nav:has(> .bbb-language-switch)>.bbb-context-links,.bbb-context-nav:has(> .bbb-resource-language)>.bbb-context-links,.bbb-context-nav:has(> .bbb-language)>.bbb-context-links{grid-row:2;grid-column:1/-1;justify-content:flex-start!important}.bbb-context-links:empty{display:none!important}}
/* One shared navigation geometry across every resource and hub. */
.bbb-context-nav.bbb-unified-context{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:44px 36px!important;gap:4px!important;height:100px!important;min-height:100px;max-height:100px!important;padding:8px max(28px,calc((100vw - 1184px)/2))!important;overflow:visible!important;text-align:left!important}
.bbb-context-top,.bbb-context-bottom{display:flex!important;align-items:center!important;justify-content:space-between;gap:18px;min-width:0;width:100%;height:100%;box-sizing:border-box}.bbb-context-top>.bbb-context-title{display:block!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 13px/1.4 Inter,system-ui,'Microsoft YaHei',sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#183660!important;margin:0!important}.bbb-unified-language{display:flex!important;align-items:center;gap:4px;flex:0 0 auto;margin:0!important;padding:3px!important;border:1px solid #cbd9ed!important;border-radius:9px!important;background:#fff!important}.bbb-unified-language button{display:block!important;min-width:40px!important;height:32px!important;min-height:32px!important;padding:0 10px!important;border:0!important;border-radius:6px!important;font:700 12px/32px Inter,system-ui,'Microsoft YaHei',sans-serif!important;cursor:pointer;box-shadow:none!important}.bbb-unified-language button[data-context-lang]{background:transparent!important;color:#526887!important}html:lang(en) .bbb-unified-language button[data-context-lang=en],html:lang(zh) .bbb-unified-language button[data-context-lang=zh]{background:#17438f!important;color:#fff!important}.bbb-context-hub{flex:0 0 auto;display:inline-flex!important;align-items:center;height:32px;padding:0 12px!important;border:1px solid #c8d7ed!important;border-radius:6px!important;background:#fff!important;color:#17438f!important;text-decoration:none!important;font:700 12px/1.4 Inter,system-ui,'Microsoft YaHei',sans-serif!important;box-shadow:none!important}.bbb-context-bottom>.bbb-context-links{display:flex!important;flex:1 1 auto;align-items:center!important;justify-content:flex-start!important;gap:20px!important;flex-wrap:nowrap!important;min-width:0;overflow-x:auto;overflow-y:hidden;height:36px;scrollbar-width:thin;margin:0!important;padding:0 2px!important}.bbb-context-bottom>.bbb-context-links>a{white-space:nowrap!important;flex:0 0 auto;font:600 12px/1.4 Inter,system-ui,'Microsoft YaHei',sans-serif!important;padding:9px 0!important;color:#17438f!important}.bbb-context-links .resource-filters{flex:0 0 auto!important;flex-wrap:nowrap!important;gap:6px!important}.bbb-context-links .resource-filter{white-space:nowrap!important;min-height:30px!important;height:30px!important;padding:4px 12px!important}.bbb-context-top:focus-within,.bbb-context-bottom:focus-within{overflow:visible}.bbb-context-top button:focus-visible,.bbb-context-bottom a:focus-visible{outline-offset:1px!important}@media(max-width:640px){.bbb-context-nav.bbb-unified-context{padding:8px 16px!important;grid-template-columns:minmax(0,1fr)!important}.bbb-context-top,.bbb-context-bottom{gap:12px}.bbb-context-top>.bbb-context-title{font-size:12px!important}.bbb-context-hub{font-size:11px!important;padding:0 9px!important}.bbb-context-bottom>.bbb-context-links{gap:16px!important}.bbb-context-bottom>.bbb-context-links>a{font-size:11px!important}.bbb-unified-language button{min-width:36px!important;padding:0 8px!important}}

/* EN/中文 sits in the header row on every page: far right on desktop, just before the menu button on phones */
html body .bbb-site-header .bbb-site-links{margin-left:auto}
html body .bbb-site-header>.bbb-header-language{margin-left:14px!important;flex:0 0 auto}
html body .bbb-site-header>.bbb-header-language button{min-height:36px!important;height:36px!important;line-height:36px!important;white-space:nowrap}
@media(max-width:1024px){html body .bbb-site-header>.bbb-header-language{margin-left:auto!important;margin-right:6px!important}}
@media(max-width:360px){html body .bbb-site-header>.bbb-header-language button{min-width:32px!important;padding:0 6px!important}}
@media(max-width:430px){html body .bbb-site-header{gap:8px!important}html body .bbb-site-header .bbb-site-brand{zoom:.8}html body .bbb-site-header>.bbb-header-language{margin-right:0!important}html body .bbb-site-header>.bbb-header-language button{min-width:34px!important;padding:0 7px!important}}
@media(max-width:350px){html body .bbb-site-header .bbb-site-brand{zoom:.7}}
