/*
 * Atlantic Image Defense — Registration mobile viewport integrity
 * Version 1.15.4.19.35.268
 *
 * Keeps the legal and authority-evidence workflow inside the registration card
 * on narrow Safari, Android WebView and embedded social browsers. The previous
 * plan-card containment remains unchanged.
 */

.auth-card--registration,
.auth-card--registration .registration-form,
.auth-card--registration .registration-legal-panel,
.auth-card--registration .registration-legal-panel > *,
.auth-card--registration .authority-evidence,
.auth-card--registration .authority-evidence > *,
.auth-card--registration .authority-evidence__header,
.auth-card--registration .authority-evidence__role,
.auth-card--registration .authority-evidence__role-heading,
.auth-card--registration .authority-evidence__options,
.auth-card--registration .authority-evidence__option,
.auth-card--registration .authority-evidence__option > span,
.auth-card--registration .authority-evidence__signature-grid,
.auth-card--registration .authority-evidence__signature-grid > *,
.auth-card--registration .authority-evidence__declarations,
.auth-card--registration .authority-evidence__declarations > *,
.auth-card--registration .authority-evidence__declarations span,
.auth-card--registration .authority-evidence__notice {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.auth-card--registration,
.auth-card--registration .registration-form,
.auth-card--registration .registration-legal-panel,
.auth-card--registration .authority-evidence,
.auth-card--registration .authority-evidence__header,
.auth-card--registration .authority-evidence__role,
.auth-card--registration .authority-evidence__options,
.auth-card--registration .authority-evidence__signature-grid,
.auth-card--registration .authority-evidence__declarations,
.auth-card--registration .authority-evidence__notice {
  width: 100%;
}

.auth-shell:has(.auth-card--registration) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.auth-card--registration .authority-evidence__eyebrow {
  box-sizing: border-box;
  justify-self: start;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  min-height: 28px;
  padding-block: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
  text-align: center;
}

.auth-card--registration .authority-evidence :where(h3, p, strong, span, small, label) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.auth-card--registration .authority-evidence__options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-card--registration .authority-evidence__option {
  width: 100%;
}

.auth-card--registration .authority-evidence__signature-grid input,
.auth-card--registration .authority-evidence__signature-grid select,
.auth-card--registration .authority-evidence__signature-grid textarea {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

@media (max-width: 760px) {
  .auth-body {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: start;
  }

  .auth-shell:has(.auth-card--registration) {
    margin-inline: auto;
  }

  .auth-card--registration .authority-evidence__options,
  .auth-card--registration .authority-evidence__signature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-card--registration .authority-evidence__eyebrow {
    width: 100%;
    justify-self: stretch;
  }
}

@supports not (overflow: clip) {
  body.auth-body {
    overflow-x: hidden;
  }
}
