.person-form { min-width: 0; }
.person-form .matching-demo__avatar svg { width: 1.4rem; height: 1.4rem; }
.person-form__form { padding: 1.25rem; }
.person-form__controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.person-form__controls:disabled { opacity: .55; }
.person-form__controls:disabled input { cursor: not-allowed; }
.person-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.person-form__fields > div:nth-child(3), .person-form__fields > div:nth-child(6) { grid-column: 1 / -1; }
.person-form__fields label { color: #52627a; font-size: .8125rem; font-weight: 500; }
.person-form__fields input { min-height: 2.75rem; border-color: #dbe2eb; border-radius: .625rem; }
.person-form__submit { width: 100%; margin-top: 1.25rem; border-radius: .625rem; cursor: pointer; }
.person-form__submit:disabled { cursor: wait; }
.person-form__form[inert] { opacity: .65; }
.person-form__errors { margin-bottom: 1.25rem; padding: .875rem; border: 1px solid #fecaca; border-radius: .625rem; background: #fef2f2; color: #991b1b; font-size: .8125rem; line-height: 1.65; }

@media (max-width: 30rem) {
  .person-form__fields { grid-template-columns: minmax(0, 1fr); }
  .person-form__form { padding: 1rem; }
}
