/* Barama Unified Profile Avatar v1.0.7 — scoped to existing avatar containers. */
.barama-avatar-v107{position:relative;isolation:isolate;display:block;width:112px;height:112px;max-width:100%;margin:2px auto 14px;border-radius:26px;flex:0 0 112px;overflow:hidden;border:1px solid var(--bs-border-color,#d9e1ec);background:color-mix(in srgb,var(--bs-primary,#2563eb) 9%,var(--bs-body-bg,#fff));color:var(--bs-primary,#2563eb)}
.barama-avatar-v107__portrait{display:grid;place-items:center;width:100%;height:100%;overflow:hidden}
.barama-avatar-v107__portrait>svg{width:42px;height:42px}
.barama-avatar-v107__photo{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;border-radius:inherit}
.barama-avatar-v107__actions{position:absolute;inset:auto 0 0;display:flex;justify-content:center;align-items:stretch;gap:4px;padding:6px 4px;background:linear-gradient(transparent,rgba(15,23,42,.88));opacity:0;transform:translateY(3px);transition:opacity .18s,transform .18s}
.barama-avatar-v107:hover .barama-avatar-v107__actions,.barama-avatar-v107:focus-within .barama-avatar-v107__actions{opacity:1;transform:none}
.barama-avatar-v107__actions form{margin:0;display:flex;min-width:0;align-items:center}
.barama-avatar-v107__action{display:flex;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:27px;padding:4px 4px;border:0;border-radius:7px;background:rgba(255,255,255,.18);color:#fff;font-size:9px;font-weight:650;line-height:1.1;font-family:inherit;cursor:pointer;text-decoration:none;white-space:nowrap}
.barama-avatar-v107__action svg{width:12px;height:12px;flex:0 0 12px}
.barama-avatar-v107__action:hover,.barama-avatar-v107__action:focus-visible{background:rgba(255,255,255,.35);color:#fff;outline:2px solid #93c5fd;outline-offset:0}
.barama-avatar-v107__action--remove:hover{background:rgba(225,29,72,.9)}
.barama-avatar-v107__input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.barama-avatar-v107.is-uploading .barama-avatar-v107__actions{opacity:1;transform:none;pointer-events:none}
.barama-profile-v1131__avatar-head>.barama-avatar-v107{margin:0;flex:0 0 112px}
.barama-avatar-v107__header-img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;border-radius:inherit!important}
.workspace-user-menu__avatar:has(.barama-avatar-v107__header-img),.barama-user-menu__profile-avatar:has(.barama-avatar-v107__header-img){overflow:hidden;padding:0}
.barama-user-trigger:has(.barama-avatar-v107__header-img){overflow:hidden;padding:3px}
@media(hover:none){.barama-avatar-v107__actions{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.barama-avatar-v107__actions{transition:none}}
