.account-avatar[data-current-avatar] { overflow: hidden; flex-shrink: 0; border-radius: 50%; }
.account-avatar[data-current-avatar] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-avatar-row { display: flex; align-items: center; gap: 20px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--bo-border); }
.account-avatar.profile-avatar-large { width: 72px; height: 72px; border-radius: 50%; font-size: 22px; flex-shrink: 0; }
.profile-avatar-copy { min-width: 0; }
.profile-avatar-copy > strong { font-size: 15px; }
.profile-avatar-copy p { margin: 6px 0 12px; color: var(--bo-muted); font-size: 13px; }
.profile-avatar-copy small { display: block; margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--bo-muted); }
.profile-avatar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-avatar-actions .btn { min-height: 36px; font-size: 13px; }
.avatar-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; scroll-padding-bottom: 96px; border: 1px solid var(--bo-border); border-radius: 16px; color: var(--bo-navy-900); background: white; box-shadow: 0 24px 80px #081c3440; }
.avatar-dialog::backdrop { background: #081c3480; }
.avatar-dialog header { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px 16px; border-bottom: 1px solid var(--bo-border); }
.avatar-dialog header > div { flex: 1; }
.avatar-dialog h2 { margin: 0; font-size: 20px; }
.avatar-dialog header p { font-size: 13px; line-height: 1.6; margin: 8px 0 0; color: var(--bo-muted); }
.avatar-dialog-body { padding: 20px 24px; }
.avatar-dialog footer { position: sticky; bottom: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 16px 24px; background: white; border-top: 1px solid var(--bo-border); }
.avatar-empty { display: grid; justify-items: center; gap: 12px; padding: 36px 16px; margin-bottom: 16px; border: 1px dashed var(--bo-border); border-radius: 12px; background: var(--bo-gray-50, #f7f9fb); }
.avatar-empty svg { width: 32px; height: 32px; color: var(--bo-teal-700); }
.avatar-empty span, .avatar-preview-column span { font-size: 12px; color: var(--bo-muted); }
.avatar-crop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 24px; align-items: center; }
#avatar-crop { width: min(100%, 240px); height: auto; justify-self: center; border-radius: 8px; border: 1px solid var(--bo-border); }
#avatar-preview { width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 0 0 1px var(--bo-border); }
.avatar-preview-column { display: grid; justify-items: center; gap: 10px; }
.avatar-sliders { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 14px 12px; align-items: center; margin: 20px 0; }
.avatar-sliders label { font-size: 12px; }
.avatar-sliders output { margin-left: 4px; color: var(--bo-muted); }
.avatar-sliders input { width: 100%; min-height: 28px; accent-color: var(--bo-teal-700); cursor: pointer; }
.avatar-dialog :focus-visible { outline: 2px solid var(--bo-teal-700); outline-offset: 3px; }
.avatar-status, .avatar-demo-note { font-size: 12px; color: var(--bo-muted); line-height: 1.6; }
.avatar-error { font-size: 13px; color: #b42318; line-height: 1.6; }
.avatar-reset-preview { display: flex; justify-content: center; gap: 24px; align-items: center; padding: 24px 0; }
@media (max-width: 600px) {
  .profile-avatar-row { align-items: flex-start; gap: 14px; }
  .avatar-dialog header, .avatar-dialog-body, .avatar-dialog footer { padding: 16px; }
  .avatar-crop-layout { grid-template-columns: minmax(0,1fr) 64px; gap: 14px; }
  #avatar-preview { width: 56px; height: 56px; }
}
