.cumpl-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}
.cumpl-badge.heat-ok { background: rgba(52, 211, 153, 0.18); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.35); }
.cumpl-badge.heat-warn { background: rgba(251, 191, 36, 0.18); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.35); }
.cumpl-badge.heat-bad { background: rgba(248, 113, 113, 0.18); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.35); }
.cumpl-empty { opacity: 0.35; }
.cumpl-legend {
    font-size: 9px;
    color: #64748b;
    padding: 6px 12px 10px;
    margin: 0;
    line-height: 1.6;
}
.cumpl-legend .cumpl-badge { font-size: 8px; padding: 1px 5px; vertical-align: middle; }

.cumpl-legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.85);
    color: #cbd5e1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1.2;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
}
.cumpl-legend-chip:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(30, 41, 59, 0.95);
    color: #e2e8f0;
}
.cumpl-legend-chip-dots {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.cumpl-legend-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cumpl-legend-chip-dot.heat-ok { background: #34d399; }
.cumpl-legend-chip-dot.heat-warn { background: #fbbf24; }
.cumpl-legend-chip-dot.heat-bad { background: #f87171; }

.cumpl-legend-modal-formula {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 0.5rem;
}
.cumpl-legend-modal-note,
.cumpl-legend-modal-tol {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0 0 0.65rem;
    line-height: 1.45;
}
.cumpl-legend-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.cumpl-legend-modal-list li {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.5rem;
}
td.col-prev-rem-exec { color: #38bdf8; }

/* Anexo PDF/preview — no aplica a Card 4 auditoría (.mm-audit-screen) */
.anexo-exec-table:not(.mm-audit-screen) .cumpl-badge { font-size: 6pt; padding: 1px 4px; }
.anexo-exec-table:not(.mm-audit-screen) td.col-cumpl.heat-ok { background: #ecfdf5; }
.anexo-exec-table:not(.mm-audit-screen) td.col-cumpl.heat-warn { background: #fffbeb; }
.anexo-exec-table:not(.mm-audit-screen) td.col-cumpl.heat-bad { background: #fef2f2; }
