/* Customer relationship tiers; private staff interface only. */
.fks-client-card header{align-items:flex-start!important;gap:14px!important}.fks-client-card header>div{min-width:0}
.fks-client-card .fks-client-initials.fkb-avatar{width:60px!important;height:64px!important;min-width:60px!important;flex:0 0 60px!important;border-radius:16px!important;display:flex!important;flex-direction:column;justify-content:center;gap:3px;box-shadow:inset 0 1px 0 #ffffff60;font-size:11px!important;line-height:1.2!important}
.fkb-avatar svg{width:25px;height:25px}.fkb-avatar b{font-size:11px;letter-spacing:.07em}
.fkb-new{background:#e0f2e8!important;color:#165b3c!important;border:1px solid #9acbb1!important}
.fkb-gold{background:linear-gradient(145deg,#fff3cd,#e7c872)!important;color:#624707!important;border:1px solid #c3a14b!important}
.fkb-vip{background:linear-gradient(145deg,#343432,#1e252a)!important;color:#f2d27a!important;border:1px solid #9f8240!important}
.fkb-relationship{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:9px;line-height:1.5;font:500 12px/1.5 Arial,sans-serif;white-space:normal}
.fkb-relationship svg,.fkb-avatar svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.fkb-count{color:#4c5960!important;font-size:12px!important}
.fkb-consult{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #cbc0e4;border-radius:7px;background:#eee9f7;color:#594078!important;font-size:11px!important;white-space:nowrap}
.fkb-consult svg{width:15px;height:15px}
.fkb-tier{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:9px;font-weight:700;font-size:13px}.fkb-tier svg{width:19px;height:19px}
app-customer-overview mat-toolbar:has(>.fkb-relationship){height:auto!important;min-height:64px;flex-wrap:wrap;gap:8px 18px;padding-top:14px!important;padding-bottom:14px!important}
app-customer-overview mat-toolbar>.fkb-relationship{margin:0;flex-wrap:wrap;flex:1 1 230px;justify-content:flex-end}
@media(max-width:600px){.fks-client-card .fks-client-initials.fkb-avatar{width:52px!important;min-width:52px!important;height:58px!important;flex-basis:52px!important}.fkb-relationship{gap:5px 8px}app-customer-overview mat-toolbar>.fkb-relationship{flex-basis:100%;justify-content:flex-start}}
/* Explicitly outrank the legacy global neutral-avatar theme. */
html body .fks-client-card header .fks-client-initials.fkb-avatar.fkb-new,html body .fkb-relationship .fkb-tier.fkb-new{background:#e0f2e8!important;color:#165b3c!important;border:1px solid #9acbb1!important}
html body .fks-client-card header .fks-client-initials.fkb-avatar.fkb-gold,html body .fkb-relationship .fkb-tier.fkb-gold{background:linear-gradient(145deg,#fff3cd,#e7c872)!important;color:#624707!important;border:1px solid #c3a14b!important}
html body .fks-client-card header .fks-client-initials.fkb-avatar.fkb-vip,html body .fkb-relationship .fkb-tier.fkb-vip{background:linear-gradient(145deg,#343432,#1e252a)!important;color:#f2d27a!important;border:1px solid #9f8240!important}
html body .fks-client-card .fks-client-initials.fkb-avatar>b,html body .fks-client-card .fks-client-initials.fkb-avatar>svg{color:inherit!important}
html body app-customer-overview mat-toolbar:has(>.fkb-relationship){display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;column-gap:18px;row-gap:8px}
html body app-customer-overview mat-toolbar:has(>.fkb-relationship)>mat-toolbar-row{grid-column:1/-1}
html body app-customer-overview mat-toolbar>.fkb-relationship{justify-content:flex-end;align-self:center}
@media(max-width:600px){html body app-customer-overview mat-toolbar:has(>.fkb-relationship){grid-template-columns:minmax(0,1fr)}html body app-customer-overview mat-toolbar>.fkb-relationship{justify-content:flex-start}}
