/* Additive public navigation layout. Existing footer and page styles remain intact. */
.main-header{flex-wrap:wrap!important;gap:14px!important}.main-header nav[aria-label="Main navigation"]{display:flex!important;flex-wrap:wrap!important;gap:10px 18px!important;overflow:visible!important;min-width:0;flex:1 1 620px!important;justify-content:center}.main-header nav[aria-label="Main navigation"] a{white-space:normal!important;text-align:center}.main-header .account-link{flex:0 0 auto;white-space:nowrap}
@media(max-width:900px){.main-header nav[aria-label="Main navigation"]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex-basis:100%!important;order:3!important;gap:4px 10px!important;width:100%}.main-header nav[aria-label="Main navigation"] a{font-size:12px!important;padding:8px 2px!important;line-height:1.4}.main-header .account-link{margin-left:auto}}
@media(max-width:380px){.main-header nav[aria-label="Main navigation"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

.skill-account-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 22px;padding:18px;background:#fff;border-bottom:1px solid #ddd}.skill-account-nav a{color:#333;text-decoration:none;font:14px/1.5 Arial,sans-serif;text-align:center}.skill-account-nav a[aria-current]{color:#ac302c;font-weight:bold}@media(max-width:700px){.skill-account-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}.skill-account-nav a{font-size:12px}}

#nea-admin-toggle{display:none} @media(max-width:1000px){#nea-admin-global.nag-compact{padding:12px 18px}#nea-admin-global.nag-compact .nag-brand{padding-bottom:8px}#nea-admin-global.nag-compact #nea-admin-toggle{display:block;width:100%;text-align:left;margin:0}#nea-admin-global.nag-compact nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin-top:10px}#nea-admin-global.nag-compact nav>a{white-space:normal}#nea-admin-global.nag-compact .nag-bottom{margin-top:10px}#nea-admin-global.nag-compact.nag-closed nav,#nea-admin-global.nag-compact.nag-closed .nag-bottom{display:none}#nea-admin-global.nag-compact small{display:none}}

/* Consistent public header geometry. Admin and test controls are excluded. */
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) {
 box-sizing:border-box;position:sticky;top:16px;z-index:40;
 display:flex;align-items:center;flex-wrap:wrap;gap:14px;
 width:calc(100% - 8%);max-width:1460px;height:auto;min-height:76px;
 margin:20px auto;padding:16px 24px;background:#fff;
 border:1px solid #e6e7ea;border-radius:16px;box-shadow:0 6px 22px #15203a12;
 font-family:Arial,sans-serif;line-height:1.6;transform:none;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) {
 display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:0;
 font-size:17px;font-weight:700;line-height:1.35;color:#252525;text-decoration:none;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) img {
 width:44px;height:44px;object-fit:contain;flex:none;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) small {
 display:block;font-size:10px;letter-spacing:.06em;font-weight:400;color:#888;margin-top:3px;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] {
 display:flex;align-items:center;justify-content:center;flex:1 1 620px;flex-wrap:wrap;
 gap:10px 18px;min-width:0;margin:0;order:0;width:auto;overflow:visible;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] a {
 font:400 14px/1.6 Arial,sans-serif;padding:8px 0;color:#606060;text-align:center;
 white-space:normal;text-decoration:none;border:0;box-shadow:none;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] a[aria-current="page"] {
 color:#c92317;box-shadow:0 2px #c92317;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.account,.account-link,.skill-account-link) {
 flex:0 0 auto;margin:0 0 0 auto;white-space:nowrap;font:400 13px/1.6 Arial,sans-serif;
 padding:10px 14px;border:1px solid #e8d5d2;border-radius:8px;color:#ad271c;text-decoration:none;
}
@media(max-width:1150px){
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) {gap:12px;padding:14px 20px}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] {order:3;flex-basis:100%;width:100%}
}
@media(max-width:900px){
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 10px}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] a {font-size:12px;line-height:1.4;padding:8px 2px}
}
@media(max-width:760px){
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) {position:relative;top:0;width:calc(100% - 24px);margin:12px auto;padding:12px}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) {font-size:15px}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) img {width:38px;height:38px}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) small {font-size:9px}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.account,.account-link,.skill-account-link) {font-size:11px;padding:8px 10px}
}
@media(max-width:380px){
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] {grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Stable geometry v3: identical slots regardless of account label or page CSS. */
html{scrollbar-gutter:stable}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) {
 display:grid!important;grid-template-columns:230px minmax(0,1fr) 140px!important;
 gap:14px!important;min-height:78px!important;padding:16px 24px!important;
 width:92%!important;max-width:1460px!important;margin:20px auto!important;
 font:16px/1.6 Arial,sans-serif!important;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) *{box-sizing:border-box}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] {
 display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;
 gap:18px!important;order:0!important;width:100%!important;padding:0!important;
 margin:0!important;grid-column:2;grid-row:1;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] a {
 font:400 14px/22.4px Arial,sans-serif!important;letter-spacing:normal!important;
 padding:8px 0!important;margin:0!important;border:0!important;white-space:nowrap!important;
}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) {font:700 17px/1.35 Arial,sans-serif!important;letter-spacing:normal!important;white-space:nowrap!important;gap:10px!important}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) img {border:0!important;border-radius:0!important;width:44px!important;height:44px!important}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) small {font:400 10px/13.5px Arial,sans-serif!important;letter-spacing:.06em!important;margin-top:3px!important}
body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.account,.account-link,.skill-account-link) {grid-column:3;grid-row:1;justify-self:end;text-align:center;width:140px!important;font:400 13px/20.8px Arial,sans-serif!important}
@media(max-width:1150px){
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)){grid-template-columns:minmax(0,1fr) 140px!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"]{grid-column:1 / -1;grid-row:2;flex-wrap:wrap!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.account,.account-link,.skill-account-link){grid-column:2}
}
@media(max-width:760px){
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)){width:calc(100% - 24px)!important;margin:12px auto!important;padding:12px!important;grid-template-columns:minmax(0,1fr) 108px!important;gap:10px!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand){font-size:13px!important;gap:6px!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) img{width:32px!important;height:32px!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.brand,.nea-brand) small{font-size:8px!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > :is(.account,.account-link,.skill-account-link){width:108px!important;font-size:11px!important;padding:8px!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px 8px!important}
 body > :is(.main-header,.site-header,.skill-header:not(.skill-admin-header)) > nav[aria-label="Main navigation"] a{font-size:12px!important;white-space:normal!important}
}
