/* Client workspace only: preserve navigation, filters and table semantics. */
#shell #content[data-page=customers]{padding:28px 28px 36px;background:#f5f7fb;font-family:inherit;max-width:1700px}
#shell #content[data-page=customers] .page-heading{align-items:center;margin-bottom:24px;gap:16px}
#shell #content[data-page=customers] .page-heading h2{font-size:32px;letter-spacing:-1px;color:#162b49}
#shell #content[data-page=customers] .page-heading p{font-size:13px;line-height:1.7;color:#64748b;max-width:580px}
#shell #content[data-page=customers] .page-heading>button{min-height:42px;border-radius:12px;padding:10px 18px;font-weight:650;background:#2455e8;box-shadow:0 4px 12px #2455e81a}
#shell #content[data-page=customers] .client-kpis{gap:14px;margin-bottom:22px}
#shell #content[data-page=customers] .client-kpi{position:relative;min-height:132px;align-items:flex-start;padding:20px;gap:14px;border:1px solid #e3e9f2;border-radius:16px;box-shadow:0 3px 12px #162b4904}
#shell #content[data-page=customers] .client-kpi-icon{width:42px;height:42px;border-radius:12px}
#shell #content[data-page=customers] .client-kpi span:not(.client-kpi-icon){font-size:12px;font-weight:550;color:#53647e}
#shell #content[data-page=customers] .client-kpi strong{font-size:30px;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:6px 0;color:#172b49}
#shell #content[data-page=customers] .client-kpi small{font-family:inherit;font-size:11px;line-height:1.5;color:#748297}
#shell #content[data-page=customers] #customer-search.client-reference-filters{display:grid;grid-template-columns:minmax(220px,1.7fr) repeat(3,minmax(125px,1fr)) auto;gap:12px;align-items:end;padding:18px;margin:0 0 18px;border:1px solid #e3e9f2;border-radius:16px;background:#fff;box-shadow:0 3px 12px #162b4904}
#shell #content[data-page=customers] #customer-search .sr-label{position:static;display:block;width:auto;height:auto;margin:0 0 7px;clip:auto;overflow:visible;white-space:normal;font-size:11px;font-weight:650;color:#61718a}
#shell #content[data-page=customers] #customer-search input,
#shell #content[data-page=customers] #customer-search select{height:43px;min-height:43px;border:1px solid #dce4ef;border-radius:10px;background:#f8fafc;font-family:inherit;font-size:12px;color:#334155;padding:10px 12px}
#shell #content[data-page=customers] #customer-search .client-search input{padding-right:38px}
#shell #content[data-page=customers] #customer-search .client-search button{top:auto;bottom:4px;right:5px;color:#496387}
#shell #content[data-page=customers] #customer-search #client-export{min-height:43px;border-radius:10px;border-color:#dce4ef;background:#fff;color:#334155;font-weight:600;padding:10px 14px;white-space:nowrap}
#shell #content[data-page=customers] .client-reference-card{border:1px solid #e3e9f2;border-radius:16px;box-shadow:0 4px 16px #162b4904}
#shell #content[data-page=customers] .client-reference-card table{min-width:980px}
#shell #content[data-page=customers] .client-reference-card th{padding:16px 14px;background:#f8fafc;color:#64748b;font-size:10px;font-weight:700;letter-spacing:.06em;border-bottom:1px solid #e3e9f2}
#shell #content[data-page=customers] .client-reference-card td{padding:18px 14px;font-family:inherit;font-size:12px;line-height:1.6;color:#475569;border-bottom:1px solid #edf1f6}
#shell #content[data-page=customers] .client-reference-card tbody tr:nth-child(even){background:#fff}
#shell #content[data-page=customers] .client-reference-card tbody tr:hover{background:#f4f8ff}
#shell #content[data-page=customers] .client-person{gap:12px;min-width:140px}
#shell #content[data-page=customers] .client-initial{width:40px;height:40px;border-radius:12px;background:#edf2ff;color:#4565b0;font-size:15px;font-weight:700}
#shell #content[data-page=customers] .client-person strong{font-size:14px;color:#172b49;font-weight:650}
#shell #content[data-page=customers] .client-reference-card small{font-family:inherit;font-size:11px;color:#7b899d;letter-spacing:0}
#shell #content[data-page=customers] .client-phone{font-family:inherit;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#475569}
#shell #content[data-page=customers] .client-platform{gap:8px;font-size:12px;font-weight:550;color:#334155}
#shell #content[data-page=customers] .client-platform img{width:28px;height:30px;object-fit:contain;padding:3px;border:1px solid #edf1f6;border-radius:7px;background:#fff}
#shell #content[data-page=customers] .client-status{padding:5px 10px;gap:6px;font-size:11px;font-weight:600;border:1px solid #e2e8f0;background:#f1f5f9;color:#64748b}
#shell #content[data-page=customers] .client-status[data-state=Activo]{background:#ecfdf5;border-color:#bbf7d0;color:#15805b}
#shell #content[data-page=customers] .client-status[data-state='Por vencer']{background:#fffbeb;border-color:#fde68a;color:#a16207}
#shell #content[data-page=customers] .client-status[data-state=Vencido]{background:#fff1f2;border-color:#fecdd3;color:#be3455}
#shell #content[data-page=customers] .client-reference-card td:last-child button.client-eye{width:38px;height:38px;min-height:38px;border-radius:10px;background:#f8fafc;color:#4264a0;border-color:#e2e8f0}
#shell #content[data-page=customers] .client-reference-card td:last-child button.client-eye:hover{background:#eaf0ff;border-color:#b9cafa}
#shell #content[data-page=customers] .client-pager{padding:16px 18px;gap:16px;background:#fff;color:#64748b;font-size:12px;border-top:1px solid #edf1f6}
#shell #content[data-page=customers] .client-pager button{min-width:36px;min-height:36px;height:36px;font-size:12px;border-radius:9px}
#shell #content[data-page=customers] .client-pager select{min-height:36px;height:36px;font-size:12px;border-radius:9px}
#shell #content[data-page=customers] .client-scope{max-width:900px;color:#718096;font-size:11px;line-height:1.7;margin:16px 3px}
#shell #content[data-page=customers] :is(input,select,button):focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:1250px){
 #shell #content[data-page=customers] #customer-search.client-reference-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 #shell #content[data-page=customers] #customer-search .client-search{grid-column:span 2}
 #shell #content[data-page=customers] .client-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 #shell #content[data-page=customers]{padding:20px 14px 28px}
 #shell #content[data-page=customers] .page-heading{align-items:flex-start}
 #shell #content[data-page=customers] .page-heading h2{font-size:28px}
 #shell #content[data-page=customers] .page-heading>button{padding:9px 12px;font-size:11px}
 #shell #content[data-page=customers] .client-kpis{gap:10px}
 #shell #content[data-page=customers] .client-kpi{min-height:146px;padding:14px;gap:10px;flex-wrap:wrap}
 #shell #content[data-page=customers] .client-kpi strong{font-size:26px}
 #shell #content[data-page=customers] .client-kpi-icon{width:34px;height:34px}
 #shell #content[data-page=customers] #customer-search.client-reference-filters{grid-template-columns:minmax(0,1fr);padding:14px;gap:12px}
 #shell #content[data-page=customers] #customer-search .client-search{grid-column:auto}
 #shell #content[data-page=customers] #customer-search input,#shell #content[data-page=customers] #customer-search select{font-size:16px;min-height:44px;height:44px}
 #shell #content[data-page=customers] .client-reference-card .table-scroll{overflow-x:auto;overscroll-behavior-x:contain}
 #shell #content[data-page=customers] .client-pager{padding:14px;align-items:flex-start}
 #shell #content[data-page=customers] .client-pager>div{flex-wrap:wrap}
}
