.profile-section { border: 1px solid var(--line, #dce3e3); border-radius: .6rem; background: var(--surface, #fff); padding: clamp(1rem, 3vw, 1.75rem); margin-block: 1.5rem; min-width: 0; }
.profile-section > legend { float: none; width: auto; font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem; }
.profile-grid > * { min-width: 0; overflow-wrap: anywhere; }
.profile-wide { grid-column: 1 / -1; }
.profile-field > .form-label { font-weight: 600; }
.profile-field input:not([type=checkbox]), .profile-field select, .profile-field textarea, .profile-grid input[type=file] { width: 100%; min-width: 0; max-width: 100%; }
.profile-checkboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.profile-checkboxes label, .profile-check { display: flex; gap: .65rem; align-items: center; min-height: 44px; cursor: pointer; }
.profile-checkboxes input, .profile-check input { flex: 0 0 auto; accent-color: var(--teal, #21685e); width: 1.15rem; height: 1.15rem; }
.profile-grid dt { color: var(--muted); font-size: .85rem; font-weight: 500; }
.profile-grid dd { margin: .3rem 0 0; }
.profile-portrait { width: 120px; height: 120px; object-fit: contain; border: 1px solid var(--line); border-radius: .4rem; }
@media (max-width: 640px) { .profile-grid, .profile-checkboxes { grid-template-columns: minmax(0, 1fr); } }
