/* Shared IMCC top navigation.
 * The only canonical primary menu is Home / Situation / Map / Coordination.
 * All section navigation is kept in its own secondary bar.
 */
.imcc-site-header{
  --imcc-header-height:72px;
  position:relative;z-index:55;flex:none;width:100%;
  color:#f3faff;background:#08192b;
  border-bottom:1px solid rgba(209,231,248,.15);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.imcc-site-header,.imcc-site-header *{box-sizing:border-box}
.imcc-site-header a{text-decoration:none}
.imcc-site-header-inner{
  width:min(calc(100% - 72px),1280px);min-height:var(--imcc-header-height);
  margin:0 auto;display:flex;align-items:center;gap:26px;
}
.imcc-site-brand{display:flex;align-items:center;gap:12px;color:#fff!important;
  flex:none;min-width:0}
.imcc-site-brand img{width:37px;height:37px;flex:none;object-fit:contain}
.imcc-site-brand-name{font-size:23px;letter-spacing:-.04em;font-weight:800;line-height:1}
.imcc-site-brand-separator{height:27px;border-left:1px solid rgba(209,231,248,.25);margin:0 2px}
.imcc-site-brand-caption{max-width:170px;font-size:10px;font-weight:450;line-height:1.45;color:#b7cbdc}
.imcc-site-nav{display:flex;align-items:stretch;gap:22px;min-height:var(--imcc-header-height);margin-left:auto}
.imcc-site-nav>a{display:inline-flex;align-items:center;justify-content:center;position:relative;
  min-height:var(--imcc-header-height);border-bottom:2px solid transparent;padding:2px 8px 0;
  color:#b6c9d9!important;font-size:12px;line-height:1.3;font-weight:650;white-space:nowrap;
  transition:color .15s ease}
.imcc-site-nav>a:hover{color:#fff!important}
.imcc-site-nav>a.is-current{color:#fff!important;border-bottom-color:#79c4f1}
.imcc-site-menu-toggle{display:none;align-items:center;justify-content:center;margin-left:auto;
  width:42px;height:42px;border-radius:9px;border:1px solid rgba(200,226,244,.3);
  background:transparent;color:#fff;font-size:22px;cursor:pointer}
.imcc-site-header a:focus-visible,.imcc-site-header button:focus-visible{
  outline:3px solid #78c7ee;outline-offset:3px}
.imcc-site-header--home{position:absolute;left:0;right:0;top:0;
  background:rgba(7,24,39,.42);backdrop-filter:blur(8px)}
/* Map preserves a full-viewport workspace below the common header. */
.map-app>.imcc-site-header{flex-shrink:0}
@media(max-width:850px){
  .imcc-site-header{--imcc-header-height:64px}
  .imcc-site-header-inner{width:calc(100% - 36px);gap:12px}
  .imcc-site-brand img{width:34px;height:34px}
  .imcc-site-brand-name{font-size:22px}
  .imcc-site-brand-caption{font-size:9px;max-width:148px}
  .imcc-site-menu-toggle{display:flex}
  .imcc-site-nav{display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:3px;min-height:0;padding:10px 18px 17px;
    background:#08192b;border-bottom:1px solid rgba(209,231,248,.2);
    box-shadow:0 20px 38px rgba(7,20,34,.27);max-height:calc(100dvh - 70px);overflow-y:auto}
  .imcc-site-nav.is-open{display:flex}
  .imcc-site-nav>a{min-height:46px;justify-content:flex-start;padding:12px 15px;
    border:0;border-radius:7px;font-size:13px;font-weight:650}
  .imcc-site-nav>a.is-current{background:#15374f;border-bottom:0;
    box-shadow:inset 3px 0 0 #79c4f1}
}
@media(max-width:420px){
  .imcc-site-header-inner{width:calc(100% - 24px)}
  .imcc-site-brand{gap:8px}
  .imcc-site-brand-separator{height:24px;margin:0}
  .imcc-site-brand-caption{max-width:115px;font-size:8px}
  .imcc-site-brand-name{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.imcc-site-nav>a{transition:none}}
