.member-profile,.profile-groups{min-width:0;direction:rtl}
.profile-section{min-width:0;border:1px solid #dee2e6;border-radius:.3rem;padding:1rem;margin-bottom:1rem;background:#fff}
.profile-section h5,.profile-section legend{font-size:1rem;font-weight:600;margin-bottom:1rem;width:auto}
.profile-value-grid,.profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;margin:0}
.profile-value-grid>div,.profile-field{min-width:0;overflow-wrap:anywhere}
.profile-value-grid dt{font-weight:500;color:#6c757d;font-size:.85rem;margin-bottom:.25rem}
.profile-value-grid dd{margin:0;white-space:pre-wrap}
.profile-field label{display:block}
.profile-field input,.profile-field select,.profile-field textarea{width:100%;max-width:100%;min-width:0}
.member-profile .profile-portrait{width:110px;height:110px;object-fit:cover;flex-shrink:0}
.member-profile .profile-placeholder{display:flex;align-items:center;justify-content:center;margin:auto}
.member-profile .profile-state{bottom:5px;right:5px;font-size:11px;padding:4px 7px}
.member-profile .profile-main,.member-profile .profile-sidebar{min-width:0;align-self:flex-start}
.member-profile .profile-tabs{border-bottom:2px solid #e9ecef;flex-wrap:wrap}
@media(max-width:767px){.profile-value-grid,.profile-field-grid{grid-template-columns:minmax(0,1fr)}.profile-section{padding:.75rem}}
