.step2 .field-group { margin-bottom: 30px; }
.step2 .field-group + .field-group { margin-top: 0; }
.step2 .field-header h2 { padding: 0; margin-left: 260px; width: 477px; text-align: center; }
.step2 .field-header { margin-bottom: 20px; }
.step2 .step2-row { padding-left: 92px; }
.step2-row > label { text-align: right; font-weight: 300; line-height: 1.25; }
.step2-controls { display: grid; min-width: 0; gap: 8px; }
.step2-postal-row { position: relative; }
.step2-postal-row > .suggestions-shell { grid-column: auto; }
.step2-controls > input, .step2-controls > select { width: 100%; min-width: 0; }
.step2-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.step2-row:has([id$="-zipCode"]) .step2-pair { grid-template-columns: 142px minmax(0, 1fr); }
.step2-row:has([id$="-phonePrefix"]) .step2-pair { grid-template-columns: 142px minmax(0, 1fr); }
.step2-account { grid-template-columns: minmax(0, .7fr) 10px minmax(0, 1.2fr) 10px minmax(0, 1.4fr); align-items: center; }
.step2-pair-divided { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); align-items: center; }
.step2-controls.step2-numbers-single { grid-template-columns: minmax(0, 1fr); }
.step2-pair-divider { text-align: center; }
.step2-row:has([id$="-zipCode"]) .step2-pair-divided { grid-template-columns: 142px 26px minmax(0, 1fr); }
.step2-account-divider { text-align: center; }
.step2-controls input[readonly], .step2-controls select:disabled { color: var(--quiet); -webkit-text-fill-color: var(--quiet); background: var(--disabled-surface, #f5f5f5); opacity: 1; }
.step2 .field-helper { grid-column: 2; margin: 0; line-height: 1.4; }
.step2 .step2-row > small.field-helper { display: block; color: var(--text); font-size: 13px; }
.step2-options { margin: 0; padding: 0; min-width: 0; border: 0; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.step2-option-row { margin-bottom: 14px; }
.step2 .step2-option-caption { text-align: right; font-weight: 300; line-height: 1.25; }
.step2-options label, .step2-checkbox { display: flex; align-items: center; gap: 8px; }
.step2-options label:has(input:disabled), .step2-checkbox:has(input:disabled) { color: var(--quiet); cursor: default; }
.step2-note { margin: 12px 92px 0 260px; width: min(var(--row-control), calc(100% - 260px)); font-size: 14px; line-height: 1.45; }
.step2-checkbox { margin: 12px 92px 0 260px; }
.step2-lookup { margin: 12px 92px 0 260px; justify-self: start; padding: 8px 12px; }
.step2-error { color: var(--danger); margin: 0; padding-left: 8px; font-size: 11px; font-weight: 400; line-height: 1.25; grid-column: 1 / -1; overflow-wrap: anywhere; }
.step2-controls [aria-invalid="true"] { border-color: var(--danger); }
.step2-actions { display: flex; gap: 22px; justify-content: center; margin: 20px 0; }
.step2 .primary-action { margin: 0; }
.step2-sr-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 780px) {
  .step2-postal-row > .suggestions-shell { grid-column: 1; }
  .step2 { padding: 0 22px; }
  .step2 .step2-row { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 6px; margin-bottom: 10px; }
  .step2-row > label { text-align: left; }
  .step2 .step2-option-caption { text-align: left; justify-self: start; }
  .step2 .step2-option-row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 12px; align-items: start; margin-bottom: 14px; }
  .step2 .field-header h2 { padding: 0; margin: 0; width: auto; text-align: left; font-size: 23px; }
  .step2 .field-helper { grid-column: 1; }
  .step2-options, .step2-note, .step2-checkbox, .step2-lookup { margin-left: 0; margin-right: 0; }
  .step2-note { width: auto; }
  .step2-row:has([id$="-zipCode"]) .step2-pair, .step2-row:has([id$="-phonePrefix"]) .step2-pair { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .step2-row:has([id$="-zipCode"]) .step2-pair-divided { grid-template-columns: minmax(0, .8fr) 18px minmax(0, 1.2fr); }
  .step2-account { grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1.5fr); }
  .step2-account > .step2-account-divider:nth-of-type(2) { display: none; }
  .step2-account > select { grid-column: 1 / -1; }
  .step2-actions { gap: 12px; }
  .step2-actions .primary-action { min-width: 0; flex: 1; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 350px) {
  .step2-pair { grid-template-columns: minmax(0, 1fr); }
  .step2-row:has([id$="-zipCode"]) .step2-pair { grid-template-columns: minmax(0, 1fr); }
  .step2-pair-divider { display: none; }
  .step2-account { grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1.5fr); }
}
html:has(#step2:not([hidden])), html:has(#temporaryStep3:not([hidden])) { min-width: 0; }
.step2 #backToStep1 { background: var(--quiet); }
.person-match-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 0; }
.person-match-dialog::backdrop { background: rgba(0, 0, 0, .28); }
.person-match-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.person-match-actions .primary-action { margin: 0; min-width: 0; max-width: 100%; white-space: normal; }
.person-match-actions .person-match-secondary { background: var(--quiet); }
.person-match-pricing p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 12px 0; border-top: 1px solid var(--page); text-align: left; }
.person-match-pricing strong { overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .person-match-dialog { padding: 24px 18px; }
  .person-match-actions .primary-action { width: 100%; }
}
