.avatar { position:relative; overflow:hidden; }
.avatar > .avatar-photo {
  position:absolute; inset:0; display:block; width:100%; height:100%;
  border-radius:inherit; object-fit:cover;
}
.avatar > .avatar-initials { display:inline; }
.photo-panel { padding:clamp(18px,3vw,28px); margin-bottom:18px; }
.photo-intro { display:flex; align-items:center; gap:16px; }
.photo-intro h2 { margin:0 0 4px; }
.photo-intro p { margin:0; font-size:13px; color:#526258; }
.avatar.photo-preview { width:68px; height:68px; flex:0 0 68px; font-size:22px; }
.photo-form { display:grid; gap:8px; margin:16px 0 0; }
.photo-form label { font-weight:650; }
.photo-form input[type=file] {
  max-width:100%; width:100%; min-height:44px; padding:5px;
  border:1px solid var(--line); border-radius:9px; background:#fafbf8; color:var(--ink); font:inherit;
}
.photo-form input::file-selector-button {
  border:0; border-radius:6px; background:#e6eedf; color:#244234; padding:7px 12px; margin-right:8px;
  font:inherit; cursor:pointer;
}
.photo-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.photo-actions button { min-height:44px; }
.photo-actions .photo-remove { color:#823e34; }
