/* Larger portraits in lists and cards; the sidebar profile keeps its existing layout. */
.person .avatar{width:64px;height:64px;min-width:64px;font-size:22px}
.compact-clients-table .person .avatar{width:100px;height:100px;min-width:100px;font-size:34px}
.compact-clients-table .person{gap:16px;min-height:100px}
.detail-hero .avatar{width:144px;height:144px;min-width:144px;font-size:48px}
.detail-hero>div{min-width:0}
.detail-hero h2{overflow-wrap:anywhere}
.client-avatar-preview,.employee-avatar-preview{display:block;width:128px;height:128px;max-width:100%;border-radius:50%;object-fit:cover;margin:12px 0 16px}
.client-avatar-preview{width:160px;height:160px}
.employee-person{display:flex;align-items:center;gap:16px;min-width:220px}
.employee-person .employee-avatar{width:80px;height:80px;min-width:80px;font-size:28px}
.employee-person>div{min-width:0}
.employee-person b{display:block}
.table-wrap [data-action="employee-portrait"]{margin-right:8px}
.employee-person img,.person .avatar img,.detail-hero .avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:600px){
 .detail-hero{gap:14px;flex-wrap:wrap}
 .detail-hero .avatar{width:128px;height:128px;min-width:128px;font-size:42px}
 .detail-hero>div{flex:1;min-width:120px}
 .detail-hero>.spacer{display:none}
 .detail-hero>.icon-btn{margin-left:auto}
}
@media(max-width:480px){
 .detail-hero>.avatar+div{flex-basis:100%;order:2}
}
