/* One responsive header contract for every language and page type. */
.nav-count{display:inline-block;padding:1px 7px;border-radius:12px;background:#e0eee6;font-size:.85em;font-variant-numeric:tabular-nums}.home-shortcuts{margin-bottom:36px}.home-shortcuts>h2{margin-top:0}.shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.shortcut-grid>a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;background:#fff;border:1px solid #cad7cf;border-radius:12px;text-decoration:none;min-width:0;overflow-wrap:anywhere}.shortcut-grid>a:hover{border-color:#127851}.shortcut-grid>a:focus-visible{outline:3px solid #a46709;outline-offset:3px}.research-nav .container{flex-wrap:wrap}.site-header .main-nav{flex-wrap:wrap}@media(min-width:761px){.site-header .header-top{flex-wrap:wrap}.site-header .main-nav{order:5;flex-basis:100%;gap:8px;justify-content:space-between}.site-header .logo{margin-right:auto}.site-header .nav-group summary{font-size:14px;padding-inline:8px}}@media(max-width:760px){.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shortcut-grid>a{padding:16px;font-size:14px}.site-header .main-nav{flex-wrap:nowrap}}@media(max-width:420px){.shortcut-grid{grid-template-columns:minmax(0,1fr)}}
.site-header .header-top{gap:18px}.site-header .header-actions{display:flex;align-items:center;flex-shrink:0}.site-header .utility-bar .container{display:flex;justify-content:space-between;gap:18px}.site-header .prototype-note .container{gap:16px}.site-header .prototype-note a{white-space:nowrap}.site-header .nav-dropdown{max-height:min(65vh,540px);overflow-y:auto}
@media(min-width:761px) and (max-width:1380px){.site-header .header-top{flex-wrap:wrap}.site-header .main-nav{order:5;flex-basis:100%;justify-content:space-between}.site-header .logo{margin-right:auto}.site-header .geo-select{margin-left:auto}}
@media(max-width:760px){.site-header .header-top{gap:12px}.site-header .prototype-note .container{align-items:start}.site-header .prototype-note span{font-size:11px}.site-header .main-nav{max-height:calc(100dvh - 230px)}.site-header .nav-dropdown{max-height:none}.site-header .acct-btn{font-size:12px}.site-header .utility-bar{font-size:10px}}

/* Explicit grid placement prevents legacy flex shorthand from putting the
   expanded navigation beside the toolbar at narrow viewport widths. */
@media(max-width:760px){
 .site-header .utility-bar,.site-header .prototype-note{display:none}
 .site-header .header-top{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:0 10px;padding:10px 16px;min-height:64px}
 .site-header .logo{grid-column:1;grid-row:1;order:0;margin:0;font-size:25px;justify-self:start}
 .site-header .brand-symbol{width:25px;height:25px;margin-right:7px;font-size:18px}
 .site-header .geo-select{grid-column:2;grid-row:1;order:0;margin:0;min-width:0;max-width:128px;min-height:40px;padding:8px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
 .site-header .header-actions{grid-column:3;grid-row:1;order:0;display:flex;gap:4px;margin:0}
 .site-header .header-actions .icon-btn,.site-header .menu-toggle{display:grid;place-items:center;width:40px;height:44px;min-height:44px;padding:8px;flex-shrink:0}
 .site-header .menu-toggle{border:0;border-radius:10px;background:var(--felt-light);font-size:22px;line-height:1}
 .site-header .header-actions .acct-btn{display:none}
 .site-header .main-nav{grid-column:1 / -1;grid-row:2;order:0;position:static;display:flex;flex:none;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;min-width:0;max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;gap:0;margin:10px 0 0;padding:8px 0 0;border-top:1px solid var(--border)}
 .navigation-ready .site-header .main-nav:not(.is-open){display:none}
 .site-header .nav-group{width:100%;min-width:0;border-bottom:1px solid var(--border)}
 .site-header .nav-group:last-child{border-bottom:0}
 .site-header .nav-group summary{justify-content:space-between;gap:16px;min-height:52px;padding:14px 12px;font-size:16px;border-radius:8px}
 .site-header .nav-dropdown{position:static;width:auto;min-width:0;max-height:none;box-shadow:none;margin:0 8px 12px;padding:0 8px;border:0;border-left:2px solid var(--felt);border-radius:0;overflow:visible}
 .site-header .main-nav .nav-dropdown a:nth-child(n){font-size:14px;padding:12px;line-height:1.5}
 .research-nav .container{padding-block:8px;font-size:13px;gap:20px}
}
@media(max-width:380px){
 .site-header .header-top{padding-inline:12px;column-gap:6px}
 .site-header .logo{font-size:24px}
 .site-header .brand-symbol{display:none}
 .site-header .geo-select{max-width:92px;padding-inline:7px}
 .site-header .header-actions{gap:0}
}
