/* Preserve the approved plum treatment and responsive visibility rules. */
body[data-eleve-staging-layout] header#nav .navrow a[data-eleve-header-contact],
body[data-eleve-staging-layout] header#nav a[data-eleve-header-contact] {
  box-sizing: border-box !important;
  width: 128px !important;
  min-width: 128px !important;
  max-width: 128px !important;
  flex: 0 0 128px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 16px !important;
  gap: 8px !important;
  font-family: Manrope, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-transform: lowercase !important;
  align-items: center !important;
  justify-content: center !important;
}
body[data-eleve-staging-layout] header#nav .navrow a[data-eleve-header-insurance],
body[data-eleve-staging-layout] header#nav a[data-eleve-header-insurance] {
  box-sizing: border-box !important;
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  flex: 0 0 156px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 16px !important;
  gap: 8px !important;
  font-family: Manrope, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-transform: lowercase !important;
  align-items: center !important;
  justify-content: center !important;
}
body[data-eleve-staging-layout] header#nav a[data-eleve-header-contact] svg,
body[data-eleve-staging-layout] header#nav a[data-eleve-header-insurance] svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
}
/* Keep the approved compact icon layout and 44px touch targets on phones. */
@media (max-width: 600px) {
  body[data-eleve-staging-layout] header#nav .navrow a[data-eleve-header-contact],
  body[data-eleve-staging-layout] header#nav a[data-eleve-header-contact] {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    flex-basis: 44px !important;
    padding: 11px !important;
    gap: 0 !important;
    font-size: 0 !important;
  }
  body[data-eleve-staging-layout] header#nav a[data-eleve-header-contact] span {
    font-size: 0 !important;
  }
  body[data-eleve-staging-layout] header#nav a[data-eleve-header-contact] svg {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
  }
}

/* Escape must dismiss a focused menu without discarding trigger focus. */
body[data-eleve-staging-layout] header#nav[data-eleve-keyboard-header] .nitem[data-eleve-menu-dismissed] > .npanel {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Final visual acceptance: keep the approved 176 x 52 contact pills, with
   enough label room. Do not change the header or the deliberately two-line
   Mental Health hero. No width, height, font, color or interaction changes. */
html[data-fp12] body[data-eleve-staging-layout] :is(a[data-fp12-contact], #fp-selected-page .direct a[data-fp12-contact]):not([data-eleve-header-contact]):not(.mhero a) {
  padding-inline: 16px !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

/* The approved home finale uses eucalyptus, not apricot, below the number. */
body[data-eleve-staging-layout] #finale.finale .phone {
  border-bottom-color: #87978F !important;
}

/* Standalone funnel privacy control: the two verified flows do not have a
   site footer. Keep the original button below the app, not over sticky actions. */
[data-eleve-funnel-preferences] {
  clear: both;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
[data-eleve-funnel-preferences]:empty { display: none; }
[data-eleve-funnel-preferences] .elv-privacy-preferences {
  position: static !important;
  inset: auto !important;
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  z-index: auto !important;
}
