.ciem-auditor-wrap {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #0f172a;
    line-height: 1.55;
    margin-top: 0;
    padding-top: 0;
}

.ciem-auditor-cabecera {
    margin: 0 0 14px 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid #4338ca;
}

.ciem-auditor-cabecera-tit {
    margin: 0;
    font-size: 12px;
    font-weight: 900;
    color: #e0e7ff;
    letter-spacing: 0.03em;
}

.ciem-auditor-fase-eyebrow {
    margin: 0 0 6px 0;
    font-size: 12px;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ciem-auditor-titulo {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 900;
    color: #1e1b4b;
}

.ciem-auditor-desc {
    margin: 0 0 16px 0;
    font-size: 12px;
    color: #475569;
}

.ciem-auditor-status {
    margin: 10px 0 0 0;
    font-size: 12px;
    color: #64748b;
}

.ciem-auditor-marquee {
    overflow: hidden;
    background: linear-gradient(90deg, #1e1b4b, #4338ca, #1e1b4b);
    color: #fff;
    padding: 10px 0;
    border-radius: 8px;
    margin-bottom: 18px;
    white-space: nowrap;
}

.ciem-auditor-marquee-inner {
    display: inline-block;
    padding-left: 100%;
    animation: ciemAuditorMarquee 22s linear infinite;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.04em;
}

@keyframes ciemAuditorMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ciem-auditor-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    margin-bottom: 16px;
}

.ciem-auditor-panel h3 {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 900;
    color: #312e81;
}

.ciem-auditor-exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

@media (max-width: 768px) {
    .ciem-auditor-exp-grid { grid-template-columns: 1fr; }
}

.ciem-auditor-exp-item {
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ciem-auditor-exp-item strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}

.ciem-auditor-exp-val {
    font-size: 12px;
    color: #1e293b;
}

.ciem-auditor-exp-val--vacío {
    color: #94a3b8;
    font-style: italic;
}

.ciem-auditor-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #6366f1, #4f46e5);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.ciem-auditor-btn:hover { filter: brightness(1.06); }

.ciem-auditor-agente-bar {
    margin: 0 0 18px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    border: 1px solid #c7d2fe;
}

.ciem-auditor-btn-agente {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 10px;
    background: linear-gradient(180deg, #0ea5e9, #0284c7);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.ciem-auditor-btn-agente:hover {
    filter: brightness(1.06);
    color: #fff;
}

.ciem-auditor-card {
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.ciem-auditor-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.ciem-auditor-tabla th,
.ciem-auditor-tabla td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.ciem-auditor-tabla th {
    background: #f1f5f9;
    font-weight: 800;
    color: #334155;
}

.ciem-auditor-icc {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    border: 2px solid #c7d2fe;
    font-size: 12px;
}

.ciem-auditor-icc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.ciem-auditor-icc-head strong { color: #4338ca; font-size: 13px; }

.ciem-auditor-icc-pct {
    font-size: 22px;
    font-weight: 900;
    color: #1e1b4b;
}

.ciem-auditor-icc-bar {
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 10px;
}

.ciem-auditor-icc-bar__fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.45s ease;
}

.ciem-auditor-icc-bar__fill--alta,
.ciem-auditor-icc-bar__fill--fuerte { background: linear-gradient(90deg, #22c55e, #16a34a); }
.ciem-auditor-icc-bar__fill--aceptable { background: linear-gradient(90deg, #eab308, #ca8a04); }
.ciem-auditor-icc-bar__fill--debil { background: linear-gradient(90deg, #f97316, #ea580c); }
.ciem-auditor-icc-bar__fill--critico { background: linear-gradient(90deg, #ef4444, #dc2626); }
.ciem-auditor-icc-bar__fill--pendiente { background: #94a3b8; }

.ciem-auditor-icc--alta,
.ciem-auditor-icc--fuerte { border-color: #86efac; background: linear-gradient(135deg, #ecfdf5, #f0fdf4); }
.ciem-auditor-icc--aceptable { border-color: #fde047; background: linear-gradient(135deg, #fefce8, #fffbeb); }
.ciem-auditor-icc--debil { border-color: #fdba74; background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.ciem-auditor-icc--critico { border-color: #fca5a5; background: linear-gradient(135deg, #fef2f2, #fff1f2); }

.ciem-auditor-icc-semaforo {
    margin: 0 0 6px 0;
    font-weight: 900;
    font-size: 13px;
    color: #1e293b;
}

.ciem-auditor-icc-interp {
    margin: 0;
    color: #475569;
    font-size: 12px;
}

.ciem-auditor-tabla-wrap { overflow-x: auto; }

.ciem-auditor-row--critico td:nth-child(3) { background: #fef2f2; }
.ciem-auditor-row--debil td:nth-child(3) { background: #fff7ed; }
.ciem-auditor-row--aceptable td:nth-child(3) { background: #fefce8; }
.ciem-auditor-row--fuerte td:nth-child(3),
.ciem-auditor-row--alta td:nth-child(3) { background: #f0fdf4; }

.ciem-auditor-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 768px) {
    .ciem-auditor-dual { grid-template-columns: 1fr; }
}

.ciem-auditor-panel--riesgo { border-left: 4px solid #ef4444; }
.ciem-auditor-panel--recom { border-left: 4px solid #6366f1; }

.ciem-auditor-lista {
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
    color: #334155;
}

.ciem-auditor-lista li { margin-bottom: 8px; }

.ciem-auditor-icc strong { color: #4338ca; }

.ciem-auditor-firma {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
    font-size: 11px;
    color: #64748b;
    text-align: right;
}
