.avatar img,.room-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar,.room-avatar:has(img){border-radius:50%;overflow:hidden;position:relative}
.avatar[role="button"]{cursor:pointer}.avatar[role="button"]:focus-visible{outline:2px solid #49614e;outline-offset:2px}
.profile-photo-picker{margin:15px 0 12px}.profile-photo-header{display:flex;align-items:center;gap:14px}.profile-photo-header>.avatar{width:76px;height:76px;font-size:36px;flex-shrink:0;border:2px solid #fff;background:#d0dec7}
.profile-photo-actions{display:flex;flex-direction:column;gap:6px}.profile-photo-actions button{font-size:12px;padding:9px 12px}.profile-photo-status{display:block;font-size:11px;line-height:1.55;margin-top:10px;color:#526548}
.avatar-crop-fields{margin:14px 0;padding:12px;border:1px solid #c6d1bf;border-radius:14px;background:#dde7d4;text-align:center}
#avatarCrop{display:block;width:min(224px,100%);height:auto;aspect-ratio:1;margin:auto;border-radius:50%;border:3px solid #fff;touch-action:none;cursor:grab;background:#e8ecdf;box-shadow:0 3px 14px #263b3215}
#avatarCrop:active{cursor:grabbing}#avatarCrop:focus-visible{outline:2px solid #49614e;outline-offset:3px}
.avatar-crop-fields label{margin:12px 0 5px;text-align:left}#avatarZoom{padding:0;background:transparent;accent-color:#49614e}.avatar-crop-fields .subtle{font-size:11px}
.message.has-avatar{padding-left:52px}.message .message-avatar{position:absolute;top:10px;left:11px;width:30px;height:30px;font-size:17px}
.person-label,.member-row>.person-label,.contact-row>.person-label,.viewer-person{display:flex;align-items:center;gap:9px;min-width:0}.person-label>.avatar,.viewer-person>.avatar{width:30px;height:30px;flex-shrink:0;font-size:17px}.person-label>.person-text{min-width:0;overflow-wrap:anywhere}.viewer-person{font-size:12px;line-height:1.6}
.sidebar .room-avatar:has(img){background:#c6d6bd}.chat-heading .room-symbol:has(img){border-radius:50%;overflow:hidden}.chat-heading .room-symbol img{width:100%;height:100%;object-fit:cover;border-radius:50%}
@media(max-width:720px){.message.has-avatar{padding-left:47px}.message .message-avatar{left:9px;width:28px;height:28px}.profile-photo-header>.avatar{width:64px;height:64px}.profile-photo-actions button{font-size:11px}}
