.ca-smart{background:#fff;border:1px solid #e4e8ed;border-radius:18px;margin:0 0 16px;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.04)}
.ca-smart-head,.ca-super-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 19px;border-bottom:1px solid #edf0f2}
.ca-smart-head h2,.ca-super-head h2{margin:3px 0 4px;font-size:19px;letter-spacing:-.03em}
.ca-smart-head p,.ca-super-head p{margin:0;color:#667085;font-size:12px;line-height:1.45}
.ca-kpis,.ca-super-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid #edf0f2}
.ca-kpis>div,.ca-super-kpis>div{padding:14px 16px;border-right:1px solid #edf0f2}
.ca-kpis>div:last-child,.ca-super-kpis>div:last-child{border-right:0}
.ca-kpis label,.ca-super-kpis label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#7a8492;font-weight:900}
.ca-kpis b,.ca-super-kpis b{display:block;font-size:21px;margin-top:5px;letter-spacing:-.03em}
.ca-kpis small{display:block;font-size:10px;color:#667085;margin-top:2px}
.ca-list{display:grid}
.ca-row{display:grid;grid-template-columns:46px minmax(0,1fr) 150px;gap:13px;align-items:center;padding:13px 16px;border-bottom:1px solid #eef1f3;cursor:pointer}
.ca-row:last-child{border-bottom:0}.ca-row:hover{background:#fafbfc}
.ca-score{width:38px;height:38px;border-radius:11px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:11px}
.ca-main{min-width:0}.ca-line{display:flex;gap:7px;align-items:center;margin-bottom:3px;color:#7b8492;font-size:10px}
.ca-main>b{display:block;font-size:13px}.ca-main>strong{display:block;font-size:11px;margin-top:3px;color:#344054}
.ca-main p{margin:3px 0 0;font-size:10px;color:#667085;line-height:1.4;white-space:normal}
.ca-next{margin-top:5px;font-size:10px;color:#475467;font-weight:700}
.ca-pill{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.ca-reply{background:#eee9ff;color:#5b3ec8}.ca-follow{background:#e8f0ff;color:#2457b6}.ca-collect{background:#fee9e7;color:#b42318}
.ca-retain{background:#fff5d9;color:#8a5b00}.ca-opp{background:#dff7ed;color:#087857}
.ca-side{text-align:right}.ca-side small{display:block;color:#8a929e;font-size:9px;margin-top:3px}.ca-amount{font-size:13px}
.ca-done{border:1px solid #d8dee5;background:#fff;border-radius:8px;padding:5px 8px;font-size:9px;font-weight:850;margin-top:6px;cursor:pointer}
.ca-super-head{background:#111827;color:#fff;border-radius:18px;margin-bottom:12px;border:0;padding:22px}.ca-super-head .eyebrow{color:#7ff0c8}.ca-super-head p{color:#bac4d2}
.ca-super-kpis{background:#fff;border:1px solid #e6e9ed;border-radius:16px;margin-bottom:14px;overflow:hidden}
.ca-team,.ca-alerts{margin-bottom:14px}.ca-team tr{cursor:pointer}.ca-team tr:hover td{background:#fafbfc}
.ca-att{display:inline-flex;min-width:32px;height:28px;border-radius:8px;align-items:center;justify-content:center;background:#eef1f4;font-weight:900}.ca-att.hot{background:#fee9e7;color:#b42318}
.ca-ok{display:inline-flex;padding:5px 8px;border-radius:999px;background:#dff7ed;color:#087857;font-size:9px;font-weight:900}
.ca-warn{display:inline-flex;padding:5px 8px;border-radius:999px;background:#fff5d9;color:#8a5b00;font-size:9px;font-weight:900}
@media(max-width:980px){.ca-kpis,.ca-super-kpis{grid-template-columns:1fr 1fr}.ca-kpis>div:nth-child(2),.ca-super-kpis>div:nth-child(2){border-right:0}}
@media(max-width:700px){.ca-smart-head,.ca-super-head{flex-direction:column}.ca-row{grid-template-columns:38px minmax(0,1fr)}.ca-side{grid-column:2;text-align:left;display:flex;gap:8px;align-items:center}.ca-kpis,.ca-super-kpis{grid-template-columns:1fr 1fr}.ca-score{width:34px;height:34px}}
@media(max-width:460px){.ca-kpis,.ca-super-kpis{grid-template-columns:1fr}.ca-kpis>div,.ca-super-kpis>div{border-right:0;border-bottom:1px solid #edf0f2}}
/* Mi CRM compacto: cockpit operativo, no listado infinito */
#mycrm.ca-mycrm-compact .ca-smart{margin-bottom:12px}
#mycrm.ca-mycrm-compact .ca-smart-head{padding:13px 16px}
#mycrm.ca-mycrm-compact .ca-kpis>div{padding:10px 13px}
#mycrm.ca-mycrm-compact .ca-kpis b{font-size:18px}
#mycrm.ca-mycrm-compact .ca-row{padding:9px 13px;grid-template-columns:40px minmax(0,1fr) 125px}
#mycrm.ca-mycrm-compact .ca-score{width:34px;height:34px}
#mycrm.ca-mycrm-compact .ca-main p{line-height:1.25}
#mycrm.ca-mycrm-compact .ca-more{padding:10px 13px;text-align:center;background:#fafbfc;border-top:1px solid #edf0f2}
#mycrm.ca-mycrm-compact .weekly-panel{margin-bottom:12px}
#mycrm.ca-mycrm-compact .weekly-panel .ph{padding-top:12px;padding-bottom:12px}
#mycrm.ca-mycrm-compact .weekly-kpis{gap:6px}
#mycrm.ca-mycrm-compact .weekly-kpis .work-kpi{padding:10px}
#mycrm.ca-mycrm-compact .ca-weekly-detail{display:none}
#mycrm.ca-mycrm-compact .weekly-panel.ca-weekly-open .ca-weekly-detail{display:block}
#mycrm.ca-mycrm-compact .work-grid{grid-template-columns:1fr!important;gap:12px}
#mycrm.ca-mycrm-compact .work-grid>.panel:nth-child(2){display:none}
#mycrm.ca-mycrm-compact #myPriority .opp:nth-child(n+6){display:none}
#mycrm.ca-mycrm-compact .work-grid>.panel{margin-bottom:0}
@media(max-width:900px){#mycrm.ca-mycrm-compact .ca-row{grid-template-columns:36px minmax(0,1fr)}#mycrm.ca-mycrm-compact .ca-side{grid-column:2;text-align:left}}
