#estadoFlujoApp { color: #1f2d3d; }

.ef-vacio { color: #94a3b8; font-size: 13px; text-align: center; padding: 24px 0; }

.ef-kanban { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px; align-items: start; }
.ef-col { background: #fff; border: 1px solid #e2e8f0; border-radius: 11px; overflow: hidden; display: flex; flex-direction: column; max-height: 640px; }
.ef-col-header { display: flex; align-items: center; gap: 6px; padding: 12px 13px 0; background: #e0f2fe; }
.ef-col-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-light); flex-shrink: 0; }
.ef-col-fase { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-light); flex: 1; }
.ef-col-count { font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 700; color: var(--brand-light-dark); }
.ef-col-label { padding: 2px 13px 11px; background: #e0f2fe; font-size: 14px; font-weight: 800; color: var(--text-dark); border-bottom: 2px solid var(--brand-light); }
.ef-col-body { padding: 10px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }

.ef-card { border: 1px solid #e2e8f0; border-radius: 9px; padding: 10px 11px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ef-card:hover { border-color: var(--brand-light); box-shadow: 0 2px 10px rgba(2,132,199,.12); }
.ef-card-empresa { font-size: 12.5px; font-weight: 700; color: #0f172a; }
.ef-card-pdv { font-size: 11px; color: #475569; margin-top: 1px; }
.ef-card-nota { font-size: 10.5px; color: #8a5a00; font-style: italic; margin-top: 3px; }
.ef-card-nota.is-alerta { color: #b3261e; }
.ef-card.is-plan-cerrado { border-color: #f3c6c2; }
.ef-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.ef-card-promotor { font-size: 10.5px; color: var(--brand-light); display: flex; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ef-dias-pill { border-radius: 10px; padding: 2px 7px; font-size: 10px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.ef-dias-pill.is-neutro { background: #f1f5f9; color: #475569; }
.ef-dias-pill.is-ambar { background: #fef3c7; color: #b45309; }
.ef-dias-pill.is-rojo { background: #fee2e2; color: #b91c1c; }

@media (max-width: 1100px) { .ef-kanban { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .ef-kanban { grid-template-columns: repeat(2, 1fr); } }

.ef-detalle-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.ef-detalle-overlay.is-abierto { display: flex; }
.ef-detalle-card { background: #fff; border-radius: 12px; width: 100%; max-width: 420px; box-shadow: 0 12px 40px rgba(15,23,42,.25); overflow: hidden; border-top: 3px solid transparent; }
.ef-detalle-card.is-exito { border-top-color: #15803d; }
.ef-detalle-card.is-cerrada { border-top-color: #dc2626; }
.ef-detalle-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid #f1f5f9; }
.ef-detalle-titulo { font-size: 15px; font-weight: 800; color: #0f172a; }
.ef-detalle-sub { font-size: 11.5px; color: #475569; margin-top: 2px; }
.ef-detalle-close { background: none; border: none; font-size: 20px; line-height: 1; color: #64748b; cursor: pointer; padding: 0; }
.ef-detalle-body { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.ef-detalle-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; margin-bottom: 2px; }
.ef-detalle-linea { font-size: 12.5px; color: #334155; line-height: 1.4; }
.ef-detalle-monto-titulo { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.ef-detalle-monto-box { display: flex; align-items: center; background: #f8fafc; border-radius: 9px; padding: 10px 14px; }
.ef-detalle-monto-item { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ef-detalle-monto-sep { width: 1px; height: 30px; background: #e2e8f0; margin: 0 14px; flex-shrink: 0; }
.ef-detalle-monto-label { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #64748b; }
.ef-detalle-monto-valor { font-family: 'IBM Plex Mono', monospace; font-size: 16px; font-weight: 800; color: #0f172a; }
.ef-detalle-monto-valor.is-verde { color: #15803d; }
.ef-detalle-estado-pago.is-completo { color: #15803d; font-weight: 700; }
.ef-detalle-motivo { font-size: 12px; color: #334155; background: #f8fafc; border-radius: 8px; padding: 8px 10px; line-height: 1.4; }
.ef-detalle-motivo.is-cierre { background: #fee2e2; color: #b91c1c; }
.ef-detalle-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid #f1f5f9; }
.ef-detalle-btn-vermas { font-size: 12.5px; font-weight: 700; color: var(--brand-light); }
.ef-detalle-btn-cerrar { background: #f1f5f9; border: none; border-radius: 7px; padding: 7px 14px; font-size: 12.5px; color: #475569; cursor: pointer; }
.ef-detalle-badge { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .02em; }
.ef-detalle-badge.is-pendiente { background: #f1f5f9; color: #475569; }
.ef-detalle-badge.is-confirmado, .ef-detalle-badge.is-reagendada { background: #e0f2fe; color: #0369a1; }
.ef-detalle-badge.is-completada { background: #dcfce7; color: #15803d; }
.ef-detalle-badge.is-vencida, .ef-detalle-badge.is-cancelada, .ef-detalle-badge.is-rechazado { background: #fee2e2; color: #b91c1c; }
.ef-detalle-badge.is-negociacion { background: #fef3c7; color: #b45309; }
.ef-detalle-badge.is-correccion { background: #ffedd5; color: #c2410c; }

