/* Shared landmarks: identical logo, centered navigation, fixed action slots. */
html{scrollbar-gutter:stable}
.landing-header nav,#site-header[data-release-core] .site-nav{display:grid;grid-template-columns:repeat(3,100px);gap:10px}
.landing-header,#site-header .site-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:min(1200px,calc(100% - 80px));max-width:none;min-height:100px;margin-inline:auto;gap:24px;padding:0;align-items:center}
.landing-header{width:min(1200px,calc(100% - 80px))}
#site-header{padding:0;min-height:100px;border:0;background:var(--paper,#f5f7ff);font-family:Arial,Helvetica,sans-serif}
.landing-header .landing-brand,#site-header .brand{justify-self:start;width:auto;font-size:32px;font-weight:800;letter-spacing:-1.8px;line-height:1;color:var(--accent,#3155e7);text-decoration:none;display:inline-flex;align-items:center;gap:3px;min-height:44px}
#site-header .brand .shared-brand-dot{display:inline-block;width:8px;height:8px;background:#ffbe45;border-radius:50%;margin-bottom:10px;align-self:flex-end;flex:none}
.landing-header nav,#site-header .site-nav{display:flex;justify-content:center;align-items:center;gap:24px;order:0;width:auto;margin:0}
.landing-header nav a,#site-header .site-nav .nav-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 2px;border-radius:0;background:transparent;box-shadow:none;font-size:14px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap}
.landing-header nav a:hover,#site-header .site-nav .nav-link:hover{color:var(--accent,#3155e7);background:transparent}
#site-header .site-nav .nav-link[aria-current=page]{color:var(--accent,#3155e7);box-shadow:inset 0 -2px var(--accent,#3155e7)}
.landing-header .header-actions,#site-header .site-actions{display:grid;grid-template-columns:32px 44px 148px;gap:10px;align-items:center;justify-content:end;justify-self:end;margin:0;width:auto;order:0}
.header-language-space{width:32px}.landing-header .language{justify-content:center}
.landing-header .button-small,#site-header .account-menu>summary{min-height:44px;width:148px;max-width:148px;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;border-radius:9px;font-size:14px;line-height:1.4;box-sizing:border-box}
#site-header .account-menu>summary{background:var(--surface,#fff);border:1px solid var(--line)}
#site-header .account-menu>summary>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
.landing-header .theme-toggle,#site-header .theme-toggle{width:44px;height:44px;margin:0}
@media(max-width:1050px){.landing-header,#site-header .site-header-inner{width:calc(100% - 48px);gap:16px}.landing-header nav,#site-header .site-nav{gap:16px}.landing-header .header-actions,#site-header .site-actions{grid-template-columns:24px 44px 120px;gap:8px}.landing-header .button-small,#site-header .account-menu>summary{width:120px;max-width:120px}.header-language-space{width:24px}}
@media(max-width:900px){.landing-header,#site-header .site-header-inner{width:calc(100% - 36px);grid-template-columns:minmax(0,1fr) auto;gap:6px;min-height:116px;padding:12px 0 8px;flex-wrap:unset}.landing-header .landing-brand,#site-header .brand{grid-column:1;grid-row:1;font-size:28px}.landing-header .header-actions,#site-header .site-actions{grid-column:2;grid-row:1;grid-template-columns:24px 40px 114px;gap:6px}.landing-header .button-small,#site-header .account-menu>summary{width:114px;max-width:114px;font-size:12px;padding-inline:8px}.landing-header .theme-toggle,#site-header .theme-toggle{width:40px;height:44px}.landing-header nav,#site-header .site-nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin:0;order:0}.landing-header nav a,#site-header .site-nav .nav-link{font-size:13px;padding:8px 2px}.header-language-space{width:24px}}
@media(max-width:420px){.landing-header .landing-brand,#site-header .brand{font-size:24px}.landing-header .header-actions,#site-header .site-actions{grid-template-columns:22px 36px 84px;gap:4px}.landing-header .button-small,#site-header .account-menu>summary{width:84px;max-width:84px;font-size:11px;padding-inline:5px}.landing-header .theme-toggle,#site-header .theme-toggle{width:36px}.landing-header .language{font-size:12px}.header-language-space{width:22px}}
@media(min-width:901px){.landing-header nav,#site-header[data-release-core] .site-nav{display:grid;grid-template-columns:repeat(3,100px);gap:10px}}
@media(max-width:420px){.landing-header,#site-header .site-header-inner{width:calc(100% - 24px)}.landing-header .landing-brand,#site-header .brand{font-size:23px}.landing-header .header-actions,#site-header .site-actions{grid-template-columns:24px 44px 74px;gap:4px}.landing-header .theme-toggle,#site-header .theme-toggle{width:44px}.landing-header .button-small,#site-header .account-menu>summary{width:74px;max-width:74px;height:44px;padding:6px 4px;font-size:11px;line-height:1.2}.header-language-space{width:24px}}
@media(max-width:900px){.landing-header nav,#site-header[data-release-core] .site-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;justify-content:stretch}.landing-header .button-small{text-align:center}}
html[data-theme=dark] #site-header .site-nav .nav-link[aria-current=page]{background:transparent;color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
