/* Shared compact header — converters/resources. */
body.geo-compact-header header.gbn,
body.geo-compact-header header.app-header{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:16px!important;flex-wrap:nowrap!important;
  min-height:70px!important;height:auto!important;padding:9px 24px!important;
  background:#071c2a!important;border-bottom:1px solid rgba(77,187,200,.25)!important;
  position:relative!important;z-index:100!important;
}
body.geo-compact-header .geo-header-left,
body.geo-compact-header .geo-header-right{display:flex;align-items:center;gap:20px;min-width:0}
body.geo-compact-header .geo-header-left .gbn-logo,
body.geo-compact-header .geo-header-left .workspace-brand-home{
  display:flex!important;align-items:center!important;gap:10px!important;
  width:auto!important;max-width:none!important;position:static!important;
  margin:0!important;flex-shrink:0!important;text-decoration:none!important
}
body.geo-compact-header .geo-header-left .gbn-globe{flex-shrink:0!important}
body.geo-compact-header .geo-header-home{
  display:inline-flex;align-items:center;justify-content:center;
  color:#e9f8fa!important;text-decoration:none!important;font-size:15px!important;
  font-weight:650!important;padding:9px 13px;border-radius:7px;
  border:1px solid rgba(126,210,219,.24)
}
body.geo-compact-header .geo-header-home:hover{background:rgba(65,186,196,.17)}
body.geo-compact-header .geo-header-right{margin-left:auto;flex-shrink:0}
body.geo-compact-header .geo-header-right .gbn-item,
body.geo-compact-header .geo-header-right .lang-switch{position:relative!important}
body.geo-compact-header .geo-lang-fallback select{
  border:1px solid #376073;border-radius:8px;background:#112e40;color:white;
  font:600 14px system-ui;padding:9px 12px
}
body.geo-compact-header .geo-header-tools{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;
  background:#10283a;padding:6px 18px;border-bottom:1px solid #284b5a
}
body.geo-compact-header .geo-header-tools>*{flex:0 0 auto}
body.geo-compact-header header.app-header .export-page-title,
body.geo-compact-header header.app-header .document-title{display:none!important}
@media(max-width:640px){
  body.geo-compact-header header.gbn,body.geo-compact-header header.app-header{padding:8px 12px!important}
  body.geo-compact-header .geo-header-left,body.geo-compact-header .geo-header-right{gap:8px}
  body.geo-compact-header .geo-header-home{padding:7px 8px;font-size:13px!important}
  body.geo-compact-header .geo-header-left .gbn-logo-text,
  body.geo-compact-header .geo-header-left .brand-copy strong{font-size:15px!important}
  body.geo-compact-header .geo-header-left .brand-copy span{display:none!important}
}

/* Emergency compatibility for cached compact-header.js v1: keep the four-row converter grid intact. */
body.geo-compact-header .app-shell { position:relative!important; }
body.geo-compact-header .app-shell > .geo-header-tools {
  position:absolute!important; top:72px; right:12px; z-index:80;
  max-width:calc(100% - 24px); overflow-x:auto;
  background:#10283a; padding:4px 8px; border-radius:6px;
}
