/* CheapAir compact two-row header — scoped to header only */
.top.compact-site-header{background:rgba(255,255,255,.98);border-bottom:1px solid #e7edf5;box-shadow:0 5px 18px rgba(18,59,117,.07)}
.top.compact-site-header .bar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:7px 14px;height:auto;min-height:0;padding-top:10px;padding-bottom:9px}
.top.compact-site-header .brand{grid-column:1;grid-row:1;display:inline-flex;align-items:center;gap:9px;min-width:0;color:#123b75;font-size:25px;line-height:1.1}
.top.compact-site-header .brand-mark{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:14px}
.top.compact-site-header .brand-name{white-space:nowrap}
.top.compact-site-header .header-account-slot{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.top.compact-site-header .header-account-slot .auth-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 12px;border:1px solid #dce7f3;border-radius:10px;background:#f7faff;color:#174779;font-size:12px;font-weight:800;line-height:1.1;text-decoration:none;white-space:nowrap}
.top.compact-site-header .header-account-slot .auth-primary{background:linear-gradient(110deg,#1769d2,#16a6bd);border-color:transparent;color:#fff;box-shadow:0 4px 12px rgba(23,105,210,.13)}
.top.compact-site-header .header-account-slot svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.top.compact-site-header nav.compact-header-actions{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.top.compact-site-header nav.compact-header-actions .language-action,
.top.compact-site-header nav.compact-header-actions .header-install-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:5px 9px;border:0;border-radius:8px;background:transparent;color:#1769c5;font-size:12px;font-weight:700;line-height:1.15;text-decoration:none;white-space:nowrap;box-shadow:none}
.top.compact-site-header nav.compact-header-actions .header-install-btn{background:#eff6ff;color:#1769c5;cursor:pointer}
.top.compact-site-header nav.compact-header-actions svg{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:701px){
 .top.compact-site-header .bar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto}
 .top.compact-site-header nav.compact-header-actions{justify-content:flex-end;gap:14px}
}
@media(max-width:700px){
 .top.compact-site-header{position:sticky;top:0}
 .top.compact-site-header .bar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px 30px;gap:5px 8px;padding:8px 14px 7px}
 .top.compact-site-header .brand{font-size:23px;gap:8px}
 .top.compact-site-header .brand-mark{width:39px;height:39px;flex-basis:39px;border-radius:13px}
 .top.compact-site-header .header-account-slot .auth-link{min-height:34px;padding:6px 10px;font-size:11px;border-radius:9px}
 .top.compact-site-header nav.compact-header-actions{grid-row:2;min-height:30px}
 .top.compact-site-header nav.compact-header-actions .language-action,
 .top.compact-site-header nav.compact-header-actions .header-install-btn{min-height:29px;padding:4px 8px;font-size:11px;border-radius:8px}
 .top.compact-site-header nav.compact-header-actions .header-install-btn{margin-left:auto}
 .top.compact-site-header .utility-bar{display:none}
}
@media(max-width:360px){
 .top.compact-site-header .bar{padding-left:11px;padding-right:11px}
 .top.compact-site-header .brand{font-size:21px}
 .top.compact-site-header .brand-mark{width:36px;height:36px;flex-basis:36px}
 .top.compact-site-header .header-account-slot .auth-link{padding:5px 8px;font-size:10px}
 .top.compact-site-header nav.compact-header-actions .language-action,
 .top.compact-site-header nav.compact-header-actions .header-install-btn{font-size:10px;padding:4px 6px}
}


@media(min-width:701px){
  .top.compact-site-header .bar{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
    grid-template-rows:minmax(54px,auto)!important;align-items:center!important;
    column-gap:clamp(18px,2.2vw,34px)!important;row-gap:0!important;
    width:100%!important;max-width:none!important;box-sizing:border-box!important;
    padding:9px clamp(18px,3vw,44px)!important;
  }
  .top.compact-site-header .brand{grid-column:1;grid-row:1;justify-self:start;min-width:0}
  .top.compact-site-header nav.compact-header-actions{
    grid-column:2!important;grid-row:1!important;display:flex!important;
    align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;
    gap:9px!important;width:auto!important;min-width:0!important;margin:0!important;
  }
  .top.compact-site-header nav.compact-header-actions .home-action,
  .top.compact-site-header nav.compact-header-actions .language-action,
  .top.compact-site-header nav.compact-header-actions .header-install-btn{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;gap:6px!important;white-space:nowrap!important;
    min-height:36px!important;padding:8px 12px!important;border-radius:9px!important;
    font-size:12px!important;font-weight:800!important;line-height:1.1!important;
    text-decoration:none!important;box-shadow:none!important;
  }
  .top.compact-site-header nav.compact-header-actions .home-action{
    color:#ffe0a0!important;background:#102f4e!important;border:1px solid #c99c4c!important;
  }
  .top.compact-site-header nav.compact-header-actions .language-action{
    color:#ffe0a0!important;background:#102f4e!important;border:1px solid rgba(246,207,126,.65)!important;
  }
  .top.compact-site-header nav.compact-header-actions .header-install-btn{
    color:#fff!important;background:#075c68!important;border:1px solid #21a6a0!important;cursor:pointer;
  }
  .top.compact-site-header nav.compact-header-actions .language-action span,
  .top.compact-site-header nav.compact-header-actions .header-install-btn span,
  .top.compact-site-header nav.compact-header-actions .home-action span{
    display:inline!important;font-size:12px!important;visibility:visible!important;opacity:1!important;
  }
  .top.compact-site-header nav.compact-header-actions .language-action span:after,
  .top.compact-site-header nav.compact-header-actions .header-install-btn span:after{content:none!important}
  .top.compact-site-header nav.compact-header-actions svg{
    display:inline-block!important;width:15px!important;height:15px!important;flex:0 0 15px!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  .top.compact-site-header .header-account-slot{
    grid-column:3!important;grid-row:1!important;display:flex!important;
    align-items:center!important;justify-content:flex-end!important;gap:7px!important;white-space:nowrap!important;
  }
}
@media(max-width:700px){.top.compact-site-header nav.compact-header-actions .home-action{display:none!important}}
