.customers-directory-v2 .customers-hero-v2{min-height:110px;padding:22px 28px;grid-template-columns:minmax(0,1fr) minmax(0,.95fr)}
.customers-directory-v2 .customers-hero-v2 h1{font-size:clamp(1.6rem,2.4vw,2.2rem)}
.customers-directory-v2 .client-overview{grid-template-columns:repeat(3,minmax(0,1fr))}
.customers-directory-v2 .client-overview article{min-width:0;border:0;background:transparent;box-shadow:none;border-left:1px solid #ffffff30;border-radius:0}
.customers-directory-v2 > .customers-hero-v2,
.customers-directory-v2 > .customers-toolbar-v2,
.customers-directory-v2 > [data-customer-results]{width:100%;max-width:1440px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.customer-search-feedback{margin:8px 12px 16px;color:#637792;font-size:.85rem;min-height:1.3em}
.customers-directory-v2 > .customer-search-feedback{width:100%;max-width:1440px;box-sizing:border-box;margin:8px auto 16px;padding-inline:12px;overflow-wrap:anywhere}
.customers-search-v2 input{min-width:0}.customers-search-v2 [data-customer-search-clear]{background:transparent;color:#637792;border:0;padding:8px;flex:none}
/* Individual client cards with grouped metrics and understated actions. */
.customer-directory-list{gap:14px;background:transparent;border:0;box-shadow:none;overflow:visible}
.customer-directory-list .customer-directory-card{grid-template-columns:minmax(0,1fr) auto;border:1px solid #dfe7f2;border-radius:20px;background:#fff;box-shadow:0 6px 20px #071a3d06;margin:0;min-width:0}
.customer-directory-list .customer-directory-card::before{display:none}
.customer-directory-list .customer-directory-card:hover{transform:none;border-color:#c5d5e8;box-shadow:0 8px 24px #071a3d0b}
.customer-directory-list .customer-avatar-v2{width:46px;height:46px;border-radius:15px;box-shadow:none;flex-shrink:0}
.customer-name-link{font-weight:800;color:#071a3d;text-decoration:none;overflow-wrap:anywhere}
.customer-name-link:hover{color:#1262b7;text-decoration:underline}
.customer-directory-list .customer-card-main,.customer-directory-list .has-balance .customer-card-main{grid-template-columns:minmax(180px,1fr) minmax(0,1.7fr);gap:24px;padding:22px;min-width:0}
.customer-directory-list .customer-identity-v2{grid-column:auto;min-width:0}
.customer-card-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;min-width:0;max-width:680px;justify-self:end;width:100%}
.customer-directory-list .customer-stat-v3{display:grid;grid-template-columns:minmax(0,1fr);border:0;border-radius:12px;background:#f6f8fc;padding:12px;min-height:62px;width:auto;min-width:0;align-content:center}
.customer-directory-list .customer-stat-v3>i{display:none}
.customer-directory-list .customer-stat-v3 strong{font-size:1.05rem;overflow-wrap:anywhere}
.customer-directory-list .customer-stat-v3 small{font-size:.75rem;line-height:1.4;white-space:normal;overflow:visible}
.customer-directory-list .customer-stat-v3.is-available{background:#fff7ee}
.customer-directory-list .customer-actions-v2{min-width:0;border:0;border-left:1px solid #edf1f6;grid-template-columns:auto auto auto;padding:18px;gap:8px}
.customer-directory-list .customer-actions-v2 a{font-size:.78rem;min-height:40px;background:#fff}
.customer-directory-list .customer-actions-v2 a.is-primary{background:#fff3e5;border:1px solid #ffd4a4;color:#aa4a00;box-shadow:none}
.customer-directory-list .customer-actions-v2 a.is-primary i{color:#e7760d}
.customer-directory-list .customer-actions-v2 a.is-primary:hover{background:#ffe9d0;border-color:#f7b66d;color:#873d00}
.customers-directory-v2 .client-overview:has(>article:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
[data-customer-results][aria-busy=true]{opacity:.5;pointer-events:none}
@media(max-width:1350px){
.customers-directory-v2 .customers-hero-v2{grid-template-columns:minmax(0,1fr)}
.customer-directory-list .customer-directory-card{grid-template-columns:minmax(0,1fr)}
.customer-directory-list .customer-actions-v2{justify-content:end;border-left:0;padding:0 22px 18px}}
@media(max-width:800px){
.customer-directory-list .customer-card-main,.customer-directory-list .has-balance .customer-card-main{grid-template-columns:minmax(0,1fr);gap:16px;padding:18px}
.customer-card-metrics{max-width:none;justify-self:stretch}
.customer-directory-list .customer-actions-v2{padding:0 18px 18px}}
@media(max-width:700px){
.customers-directory-v2 .customers-hero-v2{padding:20px 18px}
.customers-directory-v2 .client-overview article{display:flex;flex-direction:column;align-items:start;padding:8px;min-width:0}
.customer-directory-list .customer-actions-v2{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;justify-content:stretch;gap:6px}
.customer-directory-list .customer-actions-v2 a.is-primary{grid-column:auto}
.customer-directory-list .customer-actions-v2 a{padding-inline:8px;font-size:.74rem;white-space:normal;text-align:center}
.customer-directory-list .customer-stat-v3{padding:10px 8px}
.customer-directory-list .has-balance .customer-card-metrics{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
.customers-toolbar-v2{min-width:0}.customers-search-v2{min-width:0;width:100%}.customers-search-v2 button{padding-inline:10px}}
@media(max-width:380px){.customer-directory-list .customer-actions-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-directory-list .customer-actions-v2 a.is-primary{grid-column:1/-1}}
