/* Profile photos: avatar images + the settings editor. */
.avatar.has-img { padding: 0; overflow: hidden; background: var(--surface-2, #eef2f7); }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.av-editor { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.av-drop { position: relative; border-radius: 50%; cursor: pointer; outline-offset: 4px; transition: box-shadow .15s; }
.av-drop.is-over { box-shadow: 0 0 0 4px rgba(29, 78, 216, .35); }
.av-drop .avatar { font-size: 38px !important; }
.av-cam { position: absolute; inset-inline-end: -2px; bottom: 2px; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--surface, #fff); background: #1D4ED8; color: #fff; display: grid; place-items: center; cursor: pointer; }
.av-cam:hover { background: #0B1F4B; }
.av-side { flex: 1 1 240px; min-width: 0; display: grid; gap: 10px; }
.av-progress { height: 6px; border-radius: 99px; background: var(--border, #e5e7eb); overflow: hidden; }
.av-progress span { display: block; height: 100%; width: 0; background: #1D4ED8; transition: width .15s; }
.av-error { color: var(--danger, #b91c1c); font-size: 13px; min-height: 1em; }
.av-editor.is-busy .av-drop { opacity: .7; }
@media (max-width: 600px) { .av-editor { flex-direction: column; text-align: center; } .av-actions { justify-content: center; } }
