/* ═══════════════════════════════════════════════════════════
   SENTRION — Panel «Cortes viales» de la Sala (ADR 0080, C3)
   ───────────────────────────────────────────────────────────
   Reusa los componentes del panel «Caminos» (roads.css: strip, dot, list, badge, seg, field, box, foot, msg, switch) y solo agrega lo propio de un corte:
   el estado «prendido» (rojo) y la fila de acciones. Colores solo de tokens; el estado nunca se comunica solo con el color (texto + forma).
   ═══════════════════════════════════════════════════════════ */

.cl-card { cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.pcard.cl-on::before { background: var(--red); }
.cl-note { margin: 0; }
.cl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 2px; cursor: default; }
.cl-switch { margin-right: auto; }
.cl-switch.is-off { opacity: .6; }
.cl-switch input:disabled { cursor: not-allowed; }
.cl-confirm { margin: 0; border-color: var(--red); }

/* Insignias: prendido (rojo), apagado (neutro), preparando (cian), listo (verde), falló (rojo punteado) */
.cl-badge.on { color: var(--on-primary); background: var(--red); border-color: var(--red); }
.cl-badge.ready { color: var(--green); border-color: var(--green); }
.cl-badge.pending { color: var(--cyan); border-color: var(--cyan); }
.cl-badge.failed { color: var(--red); border-color: var(--red); border-style: dashed; }

.rd-detail input.ds-input.cl-radius { width: 84px; min-height: 32px; }

@media (prefers-reduced-motion: reduce) { .cl-badge.pending { animation: none; } }

/* ── Pestaña «Demoras» (ADR 0096 F6): tranqueras, controles y cruces con sus segundos ── */
.cl-tabs { padding: 8px 12px 0; }
.cl-pad { padding: 0 12px 8px; }
.pcard.dl-ready::before { background: var(--orange); }
.dl-src { margin: 0; color: var(--t3); }
.dl-src.missing { color: var(--red); }
.dl-sugs { display: flex; flex-direction: column; gap: 6px; padding: 0 12px 8px; }
.dl-sug { display: flex; align-items: center; gap: 8px; }
.dl-sug span { flex: 1; min-width: 0; }
.rd-detail input.ds-input.dl-secs { width: 84px; min-height: 32px; }
