/* Focus CRM V3.3.43 - Informes de salud operativa */
.health-kpis .metric small{display:block;margin-top:6px;color:#64748b;font-size:12px}.metric-danger{border-left:4px solid #ef4444}.metric-warning{border-left:4px solid #f59e0b}.metric-success{border-left:4px solid #22c55e}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.section-head h3{margin:0 0 4px}.section-head p{margin:0;color:#64748b;font-size:13px}.health-legend{display:flex;gap:8px;flex-wrap:wrap}.health-legend span{border-radius:999px;padding:5px 10px;font-size:11px;font-weight:800}.legend-green{background:#dcfce7;color:#166534}.legend-yellow{background:#fef3c7;color:#92400e}.legend-red{background:#fee2e2;color:#991b1b}.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.health-client-card{border:1px solid #e5e7eb;border-radius:16px;padding:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05);position:relative;overflow:hidden}.health-client-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#94a3b8}.health-client-card.health-green:before{background:#22c55e}.health-client-card.health-yellow:before{background:#f59e0b}.health-client-card.health-red:before{background:#ef4444}.health-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.health-card-head>div:first-child{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}.health-card-head strong{font-size:16px}.health-card-head small{grid-column:2;color:#64748b;margin-top:2px}.health-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8}.health-green .health-dot{background:#22c55e}.health-yellow .health-dot{background:#f59e0b}.health-red .health-dot{background:#ef4444}.health-score{font-size:24px;font-weight:900}.health-progress{height:8px;background:#eef2f7;border-radius:999px;overflow:hidden;margin:14px 0 8px}.health-progress span{display:block;height:100%;border-radius:999px;background:#94a3b8}.health-green .health-progress span{background:#22c55e}.health-yellow .health-progress span{background:#f59e0b}.health-red .health-progress span{background:#ef4444}.health-label{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.health-client-card ul{padding-left:18px;margin:12px 0;color:#475569;font-size:13px;min-height:58px}.health-owner{border-top:1px solid #eef2f7;padding-top:10px;display:flex;flex-direction:column;gap:2px}.health-owner span{font-size:11px;color:#64748b}.health-owner strong{font-size:13px}.report-health-columns{align-items:start}.risk-alert-list{display:flex;flex-direction:column;gap:10px;max-height:460px;overflow:auto;padding-right:4px}.risk-alert{display:flex;gap:10px;border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff}.risk-alert-icon{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:900;flex:none}.risk-alert strong,.risk-alert small{display:block}.risk-alert small{margin-top:3px;color:#64748b;line-height:1.35}.risk-red{border-color:#fecaca;background:#fff7f7}.risk-red .risk-alert-icon{background:#fee2e2;color:#b91c1c}.risk-yellow{border-color:#fde68a;background:#fffdf5}.risk-yellow .risk-alert-icon{background:#fef3c7;color:#92400e}.alert-count{background:#ede9fe;color:#6d28d9;border-radius:999px;padding:5px 10px;font-weight:900}.compact-table td,.compact-table th{padding:12px 10px}.risk-number{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#f1f5f9;font-weight:800}.risk-number.has-risk{background:#fee2e2;color:#b91c1c}.productivity-pill{display:inline-flex;border-radius:999px;padding:5px 9px;font-weight:900;font-size:12px}.productivity-pill.health-green{background:#dcfce7;color:#166534}.productivity-pill.health-yellow{background:#fef3c7;color:#92400e}.productivity-pill.health-red{background:#fee2e2;color:#991b1b}.report-note{background:#f8fafc;border-style:dashed}.report-note p{margin:6px 0 0;color:#64748b;line-height:1.5}
@media(max-width:1100px){.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-health-columns{grid-template-columns:1fr}}
@media(max-width:700px){.health-grid{grid-template-columns:1fr}.section-head{flex-direction:column}.health-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-table{min-width:640px}}
@media print{.sidebar,.topbar,.page-head .btn{display:none!important}.main{margin:0!important}.content{padding:0!important}.health-client-card,.card{box-shadow:none!important;break-inside:avoid}.risk-alert-list{max-height:none;overflow:visible}}
