.happiPlanManagedPopup {
  max-height: min(92vh, 920px);
  overflow-y: auto;
}

.happiPlanManagedPopup > .planWizardLayout {
  display: none !important;
}

.happiPlanFormPortal {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  color: var(--hs-charcoal, #18312c);
  background: var(--hs-white, #fff);
}

.happiPlanFormIntro {
  padding-right: 52px;
  margin-bottom: 32px;
}

.happiPlanFormIntro h2 {
  margin: 6px 0 14px;
  color: var(--hs-deep-emerald, #004d43);
  font-size: clamp(36px, 5vw, 62px);
  line-height: .95;
}

.happiPlanFormDescription {
  max-width: 650px;
  margin: 0;
  color: #66736f;
  line-height: 1.65;
}

.happiPlanFormBody .gform_wrapper input:not([type=checkbox]):not([type=radio]),
.happiPlanFormBody .gform_wrapper select,
.happiPlanFormBody .gform_wrapper textarea {
  border: 1px solid rgba(0, 105, 92, .25);
  border-radius: 0;
  background: #fff;
}

.happiPlanFormBody .gform_wrapper .gform_button,
.happiPlanFormBody .gform_wrapper .gform_next_button,
.happiPlanFormBody .gform_wrapper .gform_previous_button {
  border: 0;
  border-radius: 0;
  padding: 15px 22px;
  background: #00695c;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  cursor: pointer;
}

.happiPlanFeeStep {
  border-left: 4px solid var(--hs-yellow, #f4c542);
  margin-top: 28px;
  padding: 22px;
  background: var(--hs-ivory, #f8f5ee);
}

.happiPlanFeeStep p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.happiPlanAdminNotice {
  border: 1px solid #d63638;
  padding: 18px;
  background: #fff;
}

@media (max-width: 760px) {
  .happiPlanManagedPopup {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px);
  }
  .happiPlanFormPortal {
    padding: 48px 20px 26px;
  }
  .happiPlanFormIntro {
    padding-right: 28px;
  }
}
