/* Shared navigation geometry, measured from the published-style Home. */
html:root { scrollbar-gutter:stable; --chalna-header-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic","Apple SD Gothic Neo",sans-serif;
 --chalna-header-mobile-height:60px; --chalna-header-touch:44px; --chalna-header-text:13px; }
html body > header.pg-site-header { width:100%; margin:0; padding:0; border:0; border-bottom:1px solid #dbe3d9; box-sizing:border-box; font-family:var(--chalna-header-font); font-size:16px; font-weight:400; line-height:1.6; letter-spacing:normal; }
html body > .pg-site-header .pg-header-inner { box-sizing:border-box; width:100%; max-width:1180px; height:68px; min-height:68px; margin:0 auto; padding:12px 32px; display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap:20px; font:inherit; }
html body > .pg-site-header .pg-brand { display:flex; align-items:center; flex:0 0 auto; gap:10px; margin:0; padding:0; font-family:inherit; font-size:24px; font-weight:750; line-height:1.2; white-space:nowrap; }
html body > .pg-site-header .pg-brand img { display:block; width:42px; height:42px; max-width:none; object-fit:contain; border-radius:0; }
html body > .pg-site-header .pg-brand-word { display:block; font-family:inherit; font-size:26px; font-weight:800; letter-spacing:1.5px; line-height:1; }
html body > .pg-site-header .pg-header-inner > nav { display:flex; align-items:center; flex-wrap:nowrap; min-width:0; overflow-x:auto; scrollbar-width:none; gap:5px; margin:0; padding:0; font:inherit; }
html body > .pg-site-header .pg-header-inner > nav > a { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:44px; margin:0; padding:10px 12px; font-family:inherit; font-size:14px; font-weight:400; line-height:1.6; letter-spacing:normal; white-space:nowrap; border:0; border-radius:10px; text-decoration:none; }
html body > .pg-site-header .pg-language { position:relative; flex:0 0 auto; margin:0; }
html body > .pg-site-header .pg-language-toggle { box-sizing:border-box; display:flex; align-items:center; justify-content:center; min-width:60px; min-height:44px; margin:0; padding:8px; font-family:inherit; font-size:12px; font-weight:400; line-height:1.6; letter-spacing:normal; }
@media (max-width:740px) {
 html body > .pg-site-header .pg-header-inner { padding-inline:20px; gap:12px; }
 html body > .pg-site-header .pg-header-inner > nav { min-width:0; justify-content:flex-start; overflow-x:auto; scrollbar-width:none; }
 html body > .pg-site-header .pg-header-inner > nav > a { min-width:44px; padding:6px 5px; font-size:13px; }
 html body > .pg-site-header .pg-language-toggle { min-width:44px; font-size:13px; }
}
@media (max-width:600px) {
 html body > .pg-site-header .pg-header-inner { padding-inline:10px; gap:6px; }
 html body > .pg-site-header .pg-brand { font-size:20px; }
 html body > .pg-site-header .pg-brand img { width:35px; height:35px; }
 html body > .pg-site-header .pg-brand-word { font-size:18px; letter-spacing:.6px; }
 html body > .pg-site-header .pg-header-inner > nav { flex:1 1 auto; gap:1px; }
 html body > .pg-site-header .pg-header-inner > nav > a { line-height:1.4; border-radius:7px; }
}
@media (max-width:440px) {
 html body > .pg-site-header .pg-header-inner { padding-inline:8px; gap:4px; }
 html body > .pg-site-header .pg-header-inner > nav > a { padding-inline:5px; }
}

html body > .pg-site-header .pg-header-inner > nav::-webkit-scrollbar { display:none; }

/* A1: the nav is the only shrinking/scrolling region; language never overlays it. */
@media(max-width:740px){
 html body > .pg-site-header .pg-header-inner {height:var(--chalna-header-mobile-height);min-height:var(--chalna-header-mobile-height);padding-block:0;gap:var(--chalna-space-small);}
 html body > .pg-site-header .pg-brand {gap:var(--chalna-space-small);}
 html body > .pg-site-header .pg-brand img {width:calc(var(--chalna-space-large)*2);height:calc(var(--chalna-space-large)*2);}
 html body > .pg-site-header .pg-brand-word {font-size:var(--chalna-text-body);letter-spacing:normal;}
 html body > .pg-site-header .pg-header-inner > nav {flex:1 1 0%;width:0;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;}
 html body > .pg-site-header .pg-header-inner > nav > a {min-width:calc(var(--chalna-space-panel)*2);min-height:var(--chalna-header-touch);padding-inline:calc(var(--chalna-space-small)/2);font-size:var(--chalna-header-text);}
 html body > .pg-site-header .pg-language {flex:0 0 auto;}
 html body > .pg-site-header .pg-language-toggle {min-width:var(--chalna-header-touch);min-height:var(--chalna-header-touch);font-size:var(--chalna-header-text);}
}
@media(max-width:375px){
 html body > .pg-site-header .pg-header-inner {padding-inline:var(--chalna-space-small);}
 html body > .pg-site-header .pg-brand-word {display:none;}
}
