/* [TFH-001:TFH_LOGIN:RESPONSIVE-NORMALIZATION-CSS-START] */
@media (max-width: 980px) {
  body {
    overflow: auto;
  }

  .tfh-login-screen {
    min-height: 100dvh;
    align-items: start;
    overflow-y: auto;
    padding:
      max(16px, env(safe-area-inset-top))
      clamp(12px, 3vw, 28px)
      max(16px, env(safe-area-inset-bottom));
  }

  .tfh-login-card {
    width: min(760px, 100%);
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .tfh-brand-panel {
    align-items: center;
    justify-content: flex-start;
    padding: clamp(28px, 6vw, 48px);
    text-align: center;
  }

  .tfh-brand-copy {
    display: grid;
    justify-items: center;
  }

  .tfh-eyebrow {
    justify-content: center;
  }

  .tfh-owner-block {
    justify-items: center;
    padding-left: 0;
    padding-top: 13px;
    border-left: 0;
    border-top: 2px solid var(--tfh-gold-300);
  }

  .tfh-brand-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .tfh-logo-frame {
    width: min(100%, 500px);
  }

  .tfh-main-logo {
    max-height: 245px;
  }

  .tfh-login-developer {
    align-self: center;
    width: min(390px, 82%);
    text-align: left;
  }

  .tfh-form-panel {
    align-items: center;
    padding: clamp(30px, 6vw, 54px);
  }

  .tfh-form-head,
  .tfh-login-form,
  .tfh-security-note {
    width: min(460px, 100%);
  }

  .tfh-form-head {
    text-align: center;
  }

  .tfh-form-kicker {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .tfh-login-screen {
    padding: 0;
  }

  .tfh-login-card {
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  .tfh-brand-panel {
    padding: 26px 18px 24px;
  }

  .tfh-metallic-title {
    font-size: clamp(2.45rem, 14vw, 3.5rem);
  }

  .tfh-owner-block strong {
    font-size: clamp(1.25rem, 7vw, 1.7rem);
  }

  .tfh-brand-intro {
    font-size: 0.86rem;
  }

  .tfh-logo-frame {
    width: min(100%, 360px);
    margin-top: 8px;
  }

  .tfh-main-logo {
    max-height: 190px;
  }

  .tfh-service-strip {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .tfh-login-developer {
    width: min(330px, 94%);
  }

  .tfh-form-panel {
    padding: 30px 18px 36px;
  }

  .tfh-form-head {
    margin-bottom: 24px;
  }

  .tfh-input-shell {
    min-height: 54px;
  }

  .tfh-login-button {
    min-height: 56px;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .tfh-login-screen {
    align-items: start;
    overflow-y: auto;
  }

  .tfh-login-card {
    min-height: 660px;
  }
}
/* [TFH-001:TFH_LOGIN:RESPONSIVE-NORMALIZATION-CSS-END] */
