/* Terra Vita Hub v383 — definitive header separation fix
   Prevents search from colliding with FieldTrace/Documents by giving the header
   a full-width grid and keeping brand, nav, search and actions as separate columns. */
#tvh-header .tvh-container.tvh-header-inner{
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:max-content minmax(0,1fr) max-content max-content max-content !important;
  align-items:center !important;
  justify-content:stretch !important;
  column-gap:clamp(12px,1.2vw,24px) !important;
  padding-left:clamp(18px,3vw,56px) !important;
  padding-right:clamp(18px,3vw,56px) !important;
  min-width:0 !important;
}
#tvh-header .tvh-logo{
  grid-column:1 !important;
  min-width:max-content !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}
#tvh-header .tvh-logo-name,
#tvh-header .tvh-logo-tag{
  white-space:nowrap !important;
}
#tvh-header .tvh-nav-primary{
  grid-column:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:clamp(10px,.82vw,18px) !important;
  margin-left:0 !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
  flex-wrap:nowrap !important;
}
#tvh-header .tvh-nav-primary a{
  flex:0 0 auto !important;
  min-width:max-content !important;
  white-space:nowrap !important;
  font-size:clamp(12px,.72vw,13px) !important;
  letter-spacing:.005em !important;
  line-height:1 !important;
}
#tvh-header .tvh-search-trigger{
  grid-column:3 !important;
  position:static !important;
  inset:auto !important;
  z-index:auto !important;
  transform:none !important;
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:116px !important;
  max-width:none !important;
  height:44px !important;
  margin:0 !important;
  padding:0 12px !important;
  gap:8px !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}
#tvh-header .tvh-search-trigger .label,
#tvh-header .tvh-search-shortcut{
  white-space:nowrap !important;
}
#tvh-header .tvh-nav-actions{
  grid-column:4 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:clamp(10px,.85vw,16px) !important;
  padding-left:clamp(14px,1.1vw,22px) !important;
  margin-left:0 !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}
#tvh-header .tvh-nav-actions a,
#tvh-header .tvh-cta-primary,
#tvh-header .tvh-link-text{
  white-space:nowrap !important;
}
#tvh-header .tvh-burger{
  grid-column:5 !important;
  justify-self:end !important;
}
@media (max-width:1520px){
  #tvh-header .tvh-logo-tag{display:none !important;}
  #tvh-header .tvh-container.tvh-header-inner{column-gap:14px !important;}
  #tvh-header .tvh-nav-primary{gap:12px !important;}
  #tvh-header .tvh-search-trigger{min-width:44px !important;width:44px !important;padding:0 !important;}
  #tvh-header .tvh-search-trigger .label,
  #tvh-header .tvh-search-shortcut{display:none !important;}
}
@media (max-width:1320px){
  #tvh-header .tvh-nav-primary,
  #tvh-header .tvh-search-trigger,
  #tvh-header .tvh-nav-actions{
    display:none !important;
  }
  #tvh-header .tvh-container.tvh-header-inner{
    grid-template-columns:max-content minmax(0,1fr) max-content !important;
  }
  #tvh-header .tvh-burger{
    display:inline-flex !important;
    grid-column:3 !important;
  }
}
@media (min-width:1321px){
  #tvh-header .tvh-burger{display:none !important;}
}
