/* Nexa V5.1 — custom branding + editable user profile */
.profile-avatar-img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.profile-photo-editor{display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:18px;padding:14px;border:1px solid #e4eaf2;background:#f8fafc;border-radius:18px}
.profile-photo-preview{width:108px;height:108px;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,var(--red),var(--red2));display:grid;place-items:center;color:#fff;font-size:38px;font-weight:900;box-shadow:0 10px 24px rgba(15,23,42,.1)}
.profile-photo-preview img{width:100%;height:100%;object-fit:cover;display:block}
.profile-photo-editor b,.profile-photo-editor small{display:block}.profile-photo-editor small{margin:4px 0 10px;color:#7b8794}
.profile-photo-editor input[type=file]{width:100%;font-size:12px}
.profile-remove-check{display:flex!important;align-items:center;gap:7px;margin-top:10px!important;font-size:11px!important;font-weight:700!important;color:#657080}
.profile-remove-check input{width:auto!important;height:auto!important}
.profile-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-address-grid .field:last-child{grid-column:1/-1}
.custom-color-row{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center}.custom-color-row input[type=color]{width:64px!important;height:46px!important;padding:4px!important;border-radius:12px!important;background:#fff!important}.custom-color-row input[type=text],.custom-color-row input:not([type=color]){width:100%}
.theme-custom-color-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 18px}.theme-custom-color-row input[type=color]{height:48px;width:100%;padding:5px;border:1px solid #dbe4ee;border-radius:12px;background:#fff}
.brand-upload-note{margin-top:10px;padding:11px 13px;border:1px dashed #b8c7de;background:#f8fbff;border-radius:12px;color:#526176;font-size:12px;line-height:1.5}
@media(max-width:560px){.profile-photo-editor{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:12px}.profile-photo-preview{width:82px;height:82px;border-radius:20px;font-size:30px}.profile-address-grid{grid-template-columns:1fr}.profile-address-grid .field:last-child{grid-column:auto}.theme-custom-color-row{grid-template-columns:1fr}}

/* V5.2 avatar + customer table polish */
.avatar-round{position:relative;overflow:hidden;flex:0 0 62px!important;width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;aspect-ratio:1/1;border-radius:50%!important}.avatar-round img,.avatar-round .profile-avatar-img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}.avatar-round span{display:grid;place-items:center;width:100%;height:100%}.profile-left{align-items:center}.customer-header{align-items:center;gap:14px;padding:8px 0 4px}.customer-avatar{position:relative;overflow:hidden;flex:0 0 64px;width:64px;height:64px;min-width:64px;min-height:64px;aspect-ratio:1/1;border-radius:50%;background:linear-gradient(135deg,#eaf2ff,#dbeafe);border:3px solid #fff;box-shadow:0 10px 24px rgba(37,99,235,.12)}.customer-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.customer-header h3{font-size:30px;line-height:1.1}.customer-header .customer-meta{display:flex;flex-direction:column;gap:5px}.customer-header .customer-meta .id-line{font-size:12px;color:#8b9298}.customer-card-surface{padding:12px 14px;border:1px solid #eef2f7;background:linear-gradient(180deg,#fafcff,#fff);border-radius:18px;box-shadow:0 8px 22px rgba(15,23,42,.05);margin-bottom:16px}.table-avatar{width:42px;height:42px;min-width:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#eaf2ff,#dbeafe);border:1px solid #d7e3f4;color:#2563eb;font-size:13px;font-weight:900;margin:auto}.table-avatar img{display:block;width:100%;height:100%;object-fit:cover}.data-table td.photo-cell{text-align:center}.data-table td.photo-cell .table-avatar{margin:0 auto}.data-table td.photo-cell .table-avatar span{display:grid;place-items:center;width:100%;height:100%}@media(max-width:560px){.avatar-round{flex-basis:56px!important;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important}.customer-avatar{width:56px;height:56px;min-width:56px;min-height:56px}.customer-header h3{font-size:18px}}
