/* ════════════════════════════════════════════════════════════════
   NIGC · Cumplimiento normativo del cliente (NIA 250)
   SG-SST · PESV · SAGRILAFT/PTEE · Protección de datos/Tributario
   ════════════════════════════════════════════════════════════════ */
.cu-wrap { max-width: 1200px; margin: 0 auto; }
.cu-h1 { font-size: 22px; font-weight: 800; color: #0d1b4b; margin: 0 0 4px; }
.cu-sub { font-size: 13px; color: #64748b; margin: 0 0 18px; }
.cu-filtros { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 16px; }
.cu-filtros > div { display: flex; flex-direction: column; gap: 4px; }
.cu-filtros label { font-size: 11px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .4px; }
.cu-filtros select { padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 13px; min-width: 200px; }

/* Pestañas de marcos */
.cu-marcos { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid #e5e7eb; margin-bottom: 16px; }
.cu-marco-tab { padding: 9px 16px; font-size: 12.5px; font-weight: 700; color: #64748b; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; }
.cu-marco-tab:hover { color: #0d1b4b; }
.cu-marco-tab.on { color: #0d1b4b; border-bottom-color: #0d1b4b; }

/* Semáforo de puntaje */
.cu-score { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.cu-score-num { font-size: 30px; font-weight: 800; }
.cu-score-lbl { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .4px; }
.cu-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }
.cu-badge.critico { color: #b91c1c; background: #fee2e2; }
.cu-badge.moderado { color: #b45309; background: #fef3c7; }
.cu-badge.aceptable { color: #166534; background: #dcfce7; }

/* Tabla de ítems */
.cu-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; background: #fff; }
.cu-tbl th { background: #0d1b4b; color: #fff; text-align: left; padding: 8px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; position: sticky; top: 0; }
.cu-tbl td { border-bottom: 1px solid #eef2f7; padding: 7px 10px; vertical-align: top; }
.cu-tbl tr:hover td { background: #f8fafc; }
.cu-grupo td { background: #eef2ff; font-weight: 800; color: #3730a3; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; }
.cu-resp { display: flex; gap: 4px; flex-wrap: wrap; }
.cu-resp button { border: 1.5px solid #e5e7eb; background: #fff; border-radius: 7px; padding: 3px 9px; font-size: 11px; font-weight: 700; cursor: pointer; color: #64748b; }
.cu-resp button.on-cumple { background: #dcfce7; border-color: #16a34a; color: #166534; }
.cu-resp button.on-parcial { background: #fef3c7; border-color: #d97706; color: #b45309; }
.cu-resp button.on-no_cumple { background: #fee2e2; border-color: #dc2626; color: #b91c1c; }
.cu-resp button.on-no_aplica { background: #e2e8f0; border-color: #94a3b8; color: #475569; }
.cu-obs { width: 100%; min-width: 160px; border: 1px solid #e5e7eb; border-radius: 6px; padding: 5px 7px; font-size: 11.5px; resize: vertical; }
.cu-crit { color: #b91c1c; font-weight: 800; }

.cu-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.cu-btn { border: none; border-radius: 9px; padding: 9px 16px; font-weight: 700; font-size: 13px; cursor: pointer; color: #fff; }
.cu-btn.p { background: #0d1b4b; }
.cu-btn.g { background: #16a34a; }
.cu-btn.gris { background: #64748b; }
.cu-btn.rojo { background: #dc2626; }
.cu-btn:disabled { opacity: .5; cursor: not-allowed; }
.cu-empty { text-align: center; color: #94a3b8; padding: 36px; border: 1.5px dashed #cbd5e1; border-radius: 12px; }
.cu-evals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cu-eval-card { border: 1px solid #e5e7eb; border-left: 4px solid #0d1b4b; border-radius: 9px; padding: 8px 12px; font-size: 12px; cursor: pointer; background: #fff; }
.cu-eval-card.on { background: #eef2ff; border-left-color: #4338ca; }
@media (max-width: 640px) { .cu-filtros select { min-width: 100%; } }
