/* CobroFlow · chat interno por ruta (v107). Solo clases: sin estilos en línea. */
.chat-caja { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; max-width: 760px; margin: 0 auto; }
.chat-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.chat-cab h3 { font-size: 15px; font-weight: 900; color: #0f172a; margin: 0; }
.chat-cab small { display: block; color: #64748b; font-size: 12px; font-weight: 700; }
.chat-sel { margin-top: 4px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 6px 8px; font-size: 13px; font-weight: 700; background: #fff; }
.chat-vaciar { background: none; border: 0; color: #94a3b8; font-size: 11px; text-decoration: underline; cursor: pointer; padding: 4px; min-height: 32px; }
.chat-aviso { font-size: 11px; color: #64748b; margin: 0; }
.chat-lista { height: min(58vh, 460px); overflow-y: auto; background: #f1f5f9; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.chat-vacio { color: #94a3b8; text-align: center; font-size: 13px; margin: auto; }
.chat-msg { max-width: 86%; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px 14px 14px 4px; padding: 7px 10px; align-self: flex-start; word-break: break-word; }
.chat-msg.mio { align-self: flex-end; background: #dcfce7; border-color: #bbf7d0; border-radius: 14px 14px 4px 14px; }
.chat-msg.pend { opacity: .75; border-style: dashed; }
.chat-msg p { margin: 2px 0 0; font-size: 15px; color: #0f172a; white-space: pre-wrap; }
.chat-quien { font-size: 10.5px; font-weight: 800; color: #64748b; }
.chat-dur, .chat-pend-txt { display: block; font-size: 10.5px; color: #64748b; }
.chat-barra { display: flex; align-items: center; gap: 6px; }
.chat-barra input { flex: 1; min-width: 0; border: 1px solid #cbd5e1; border-radius: 12px; padding: 10px 12px; font-size: 16px; }
.chat-cont { font-size: 10px; color: #94a3b8; min-width: 38px; text-align: right; }
.chat-btn, .chat-btn-sec { min-height: 44px; min-width: 44px; border-radius: 12px; border: 0; font-weight: 800; font-size: 14px; padding: 0 12px; cursor: pointer; }
.chat-btn { background: #059669; color: #fff; }
.chat-btn-sec { background: #e2e8f0; color: #0f172a; }
.chat-error { color: #be123c; font-weight: 800; font-size: 13px; margin: 0; }
.chat-punto-tab { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.chat-punto-tab.hidden { display: none; }
/* Punto discreto junto a MRC en la calculadora (sin números, sin texto, sin notificaciones del sistema) */
.chat-punto { position: absolute; top: 5px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; pointer-events: none; }
.chat-punto.hidden { display: none; }

.chat-hilo-nombre { display: block; font-size: 12px; font-weight: 800; color: #0f766e; margin-top: 2px; }
