/* Terra Vita Hub v409.19 — all CTA and navigation activation hardening
   Scope: header group labels, search, public CTAs, route CTAs, and safe link interaction.
   Does not change data actions, forms, Supabase actions, receiver logic or auth logic. */
html body a[href], html body [role="link"]{
  pointer-events:auto !important;
}
html body a[href]:not([href=""]):not([href="#"]):not([aria-disabled="true"]){
  cursor:pointer !important;
}
html body header#tvh-header,
html body #tvh-header{
  position:sticky !important;
  top:0 !important;
  z-index:9000 !important;
  overflow:visible !important;
  background:#fffaf0 !important;
}
html body header#tvh-header .tvh-container.tvh-header-inner,
html body #tvh-header .tvh-container.tvh-header-inner{
  display:grid !important;
  grid-template-columns:max-content minmax(0,1fr) 48px max-content !important;
  align-items:center !important;
  gap:0 clamp(16px,1.4vw,28px) !important;
  min-height:82px !important;
  padding-left:clamp(24px,3vw,64px) !important;
  padding-right:clamp(24px,3vw,64px) !important;
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  overflow:visible !important;
}
html body header#tvh-header .tvh-logo,
html body #tvh-header .tvh-logo{
  grid-column:1 !important;
  min-width:max-content !important;
  max-width:max-content !important;
  white-space:nowrap !important;
}
html body header#tvh-header .tvh-nav-primary,
html body #tvh-header .tvh-nav-primary{
  grid-column:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:clamp(18px,1.55vw,34px) !important;
  min-width:0 !important;
  width:100% !important;
  overflow:visible !important;
  white-space:nowrap !important;
}
html body header#tvh-header .v40918-nav-group,
html body #tvh-header .v40918-nav-group,
html body header#tvh-header .v40919-nav-group,
html body #tvh-header .v40919-nav-group{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  overflow:visible !important;
  min-width:max-content !important;
}
html body header#tvh-header .v40918-nav-head,
html body #tvh-header .v40918-nav-head,
html body header#tvh-header .v40919-nav-head,
html body #tvh-header .v40919-nav-head{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:44px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  white-space:nowrap !important;
  position:relative !important;
  z-index:2 !important;
}
html body header#tvh-header .v40918-nav-label,
html body #tvh-header .v40918-nav-label,
html body header#tvh-header .v40919-nav-label,
html body #tvh-header .v40919-nav-label{
  display:inline-flex !important;
  align-items:center !important;
  min-height:44px !important;
  color:#082a43 !important;
  text-decoration:none !important;
  font-weight:800 !important;
  font-size:clamp(13px,.92vw,16px) !important;
  line-height:1.1 !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  overflow:visible !important;
  max-width:none !important;
  position:relative !important;
  z-index:4 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}
html body header#tvh-header .v40918-nav-label:hover,
html body #tvh-header .v40918-nav-label:hover,
html body header#tvh-header .v40919-nav-label:hover,
html body #tvh-header .v40919-nav-label:hover{
  text-decoration:underline !important;
  text-underline-offset:4px !important;
}
html body header#tvh-header .v40918-nav-toggle,
html body #tvh-header .v40918-nav-toggle,
html body header#tvh-header .v40919-nav-toggle,
html body #tvh-header .v40919-nav-toggle{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  max-width:24px !important;
  display:inline-grid !important;
  place-items:center !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:rgba(8,42,67,.62) !important;
  cursor:pointer !important;
  border-radius:999px !important;
  line-height:1 !important;
  font-size:13px !important;
  position:relative !important;
  z-index:5 !important;
  pointer-events:auto !important;
}
html body header#tvh-header .v389-nav-menu,
html body #tvh-header .v389-nav-menu{
  z-index:9100 !important;
}
html body header#tvh-header .v40918-nav-group:hover .v389-nav-menu,
html body #tvh-header .v40918-nav-group:hover .v389-nav-menu,
html body header#tvh-header .v40918-nav-group:focus-within .v389-nav-menu,
html body #tvh-header .v40918-nav-group:focus-within .v389-nav-menu,
html body header#tvh-header .v40918-nav-group.is-open .v389-nav-menu,
html body #tvh-header .v40918-nav-group.is-open .v389-nav-menu{
  display:grid !important;
}
html body header#tvh-header .tvh-search-trigger,
html body #tvh-header .tvh-search-trigger{
  grid-column:3 !important;
  justify-self:center !important;
  align-self:center !important;
  position:relative !important;
  z-index:4 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:48px !important;
  min-width:48px !important;
  max-width:48px !important;
  height:48px !important;
  min-height:48px !important;
  max-height:48px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid rgba(8,42,67,.18) !important;
  background:#fffdf7 !important;
  color:#082a43 !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  pointer-events:auto !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}
html body header#tvh-header .tvh-search-trigger svg,
html body #tvh-header .tvh-search-trigger svg{
  width:19px !important;
  height:19px !important;
  flex:0 0 19px !important;
  pointer-events:none !important;
}
html body header#tvh-header .tvh-search-trigger .label,
html body header#tvh-header .tvh-search-shortcut,
html body #tvh-header .tvh-search-trigger .label,
html body #tvh-header .tvh-search-shortcut{
  display:none !important;
  visibility:hidden !important;
  width:0 !important;
  max-width:0 !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
html body header#tvh-header .tvh-nav-actions,
html body #tvh-header .tvh-nav-actions{
  grid-column:4 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:clamp(14px,1vw,22px) !important;
  min-width:max-content !important;
  max-width:max-content !important;
  overflow:visible !important;
  white-space:nowrap !important;
}
html body header#tvh-header .tvh-nav-actions a,
html body header#tvh-header .tvh-cta-primary,
html body header#tvh-header .tvh-cta-ghost,
html body header#tvh-header .tvh-link-text,
html body #tvh-header .tvh-nav-actions a,
html body #tvh-header .tvh-cta-primary,
html body #tvh-header .tvh-cta-ghost,
html body #tvh-header .tvh-link-text,
html body main a[class*="cta"],
html body main a[class*="btn"],
html body main a.button,
html body main a.btn,
html body .tvh-actions a,
html body .actions a{
  pointer-events:auto !important;
  cursor:pointer !important;
}
@media (min-width:1181px) and (max-width:1560px){
  html body header#tvh-header .tvh-container.tvh-header-inner,
  html body #tvh-header .tvh-container.tvh-header-inner{
    grid-template-columns:max-content minmax(0,1fr) 46px !important;
    gap:0 clamp(12px,1.1vw,22px) !important;
  }
  html body header#tvh-header .tvh-nav-actions,
  html body #tvh-header .tvh-nav-actions{
    display:none !important;
  }
  html body header#tvh-header .tvh-nav-primary,
  html body #tvh-header .tvh-nav-primary{
    gap:clamp(16px,1.4vw,28px) !important;
  }
  html body header#tvh-header .v40918-nav-label,
  html body #tvh-header .v40918-nav-label{
    font-size:clamp(13px,1vw,15px) !important;
  }
}
@media (max-width:1180px){
  html body header#tvh-header .tvh-container.tvh-header-inner,
  html body #tvh-header .tvh-container.tvh-header-inner{
    display:grid !important;
    grid-template-columns:max-content minmax(0,1fr) 48px !important;
    min-height:76px !important;
    gap:0 16px !important;
  }
  html body header#tvh-header .tvh-nav-primary,
  html body header#tvh-header .tvh-search-trigger,
  html body header#tvh-header .tvh-nav-actions,
  html body #tvh-header .tvh-nav-primary,
  html body #tvh-header .tvh-search-trigger,
  html body #tvh-header .tvh-nav-actions{
    display:none !important;
  }
  html body header#tvh-header .tvh-burger,
  html body #tvh-header .tvh-burger{
    grid-column:3 !important;
    display:inline-flex !important;
    visibility:visible !important;
    pointer-events:auto !important;
    width:48px !important;
    height:48px !important;
    justify-self:end !important;
  }
}
