/* Shared, decorative avatar defaults; real account photos remain above the fallback. */
.xmbb-default-avatar,#partnerChatView .xmbb-default-avatar,#partnerStoresView .xmbb-default-avatar{display:block;flex:none;width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box;padding:8%;fill:none;stroke:none}
#avatarText,#homeAvatarText{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
#avatarText.hidden,#homeAvatarText[hidden]{display:none!important}
.employee-row{grid-template-columns:44px minmax(0,1fr);align-items:center;column-gap:12px}
.employee-row>.pc-avatar{grid-row:1/4;grid-column:1;width:44px;height:44px;border-radius:50%;background:#e8f0f6;overflow:hidden}
.employee-row>b,.employee-row>span:not(.pc-avatar),.employee-row>small{grid-column:2;min-width:0;overflow-wrap:anywhere}

.xmbb-person-default,#partnerChatView .xmbb-person-default,#partnerStoresView .xmbb-person-default{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;padding:0;border:0;background:#fff;border-radius:inherit}
.staff-avatar .pc-avatar{width:100%;height:100%;border-radius:inherit}.staff-avatar.editor>.xmbb-person-default{width:100%;height:100%}
.profile-edit-panel select{width:100%;min-height:44px;border:1px solid #e3e6e8;border-radius:12px;padding:10px 12px;background:#f7f8fa;color:#191b1b;font:inherit}

.xmbb-person-default,#partnerChatView .xmbb-person-default,#partnerStoresView .xmbb-person-default{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;padding:0;border:0;background:#fff;border-radius:inherit}
.staff-avatar .pc-avatar{width:100%;height:100%;border-radius:inherit}.staff-avatar.editor>.xmbb-person-default{width:100%;height:100%}
.profile-edit-panel select{width:100%;min-height:44px;border:1px solid #e3e6e8;border-radius:12px;padding:10px 12px;background:#f7f8fa;color:#191b1b;font:inherit}

.customer-avatar>.pc-avatar{width:100%;height:100%;border-radius:inherit}.customer-gender-edit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.customer-gender-edit select{min-height:40px;border:1px solid #e2e6e3;border-radius:9px;padding:8px;font:inherit}.customer-gender-edit button{min-height:40px;border:0;border-radius:9px;padding:8px 16px;background:#191b1b;color:#fff;font:inherit}

.staff-avatar>.pc-avatar{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;min-width:0;max-width:100%;max-height:100%}
.staff-avatar .pc-avatar-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.staff-avatar .pc-avatar-fallback[hidden]{display:none!important}
.staff-avatar .pc-avatar-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
