.wrap { max-width: 900px; margin: 0 auto; padding: 24px clamp(18px, 4vw, 58px) 38px; }
.profile-edit .crumbs { color: var(--muted); margin-bottom: 20px; }
.form-shell { border: 1px solid var(--line); border-radius: 10px; padding: 30px 36px; background: #fff; box-shadow: 0 6px 18px rgba(5,24,57,.05); }
.form-shell h1 { color: var(--blue); margin: 0 0 8px; font-size: 30px; }
.form-shell .sub { color: var(--muted); margin: 0 0 24px; line-height: 1.5; }
.validation-summary-errors { background: #fdecec; border: 1px solid #e21b1b; border-radius: 6px; padding: 14px 18px; margin: 0 0 20px; }
.validation-summary-errors ul { margin: 0; padding-left: 20px; color: #b3121b; font-weight: 700; font-size: 14px; }
.validation-summary-errors li { margin-bottom: 4px; }
.validation-summary-valid { display: none; }

fieldset { border: 0; margin: 0 0 22px; padding: 0; }
legend { width: 100%; color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 900; padding-bottom: 7px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.field { display: grid; gap: 5px; color: #39455b; font-size: 13px; font-weight: 800; }
.field input { width: 100%; min-height: 36px; border: 1px solid #d5deea; border-radius: 4px; padding: 0 11px; color: var(--ink); background: #fff; outline: 0; }
.field.readonly input { background: var(--soft); color: var(--muted); }

.actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 22px; }
.continue { border: 0; border-radius: 7px; height: 46px; padding: 0 32px; background: linear-gradient(180deg, #8ec43a, #6da51f); color: #fff; font-size: 16px; font-weight: 900; cursor: pointer; }
.btn-outline { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 7px; border: 1px solid var(--blue); color: var(--blue); background: #fff; text-decoration: none; font-weight: 800; }
.btn-outline:hover { background: var(--soft); }

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .form-shell { padding: 24px 20px; }
}
