/* Aira Ventas · estilos propios (prefijo ven-). El resto viene de suite.css. */

.ven-modos { gap: 12px; }
.ven-ancho { width: 100%; }
.ven-demo > .columna { align-content: start; }

/* ---------- Anuncio tipo Facebook / Instagram / web ---------- */
.ven-anuncio { background: #f6f7f9; color: #14161b; border-radius: var(--radio); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--acento) 70%, transparent); }
.ven-an-cab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; flex-wrap: wrap; }
.ven-marca { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, #1d3b2f, #0f1f18); color: #e9c46a; flex: none; }
.ven-marca svg { width: 22px; height: 22px; }
.ven-an-tit { display: grid; line-height: 1.2; min-width: 0; flex: 1; }
.ven-an-tit b { font-size: 14px; }
.ven-an-tit span { font-size: 12px; color: #65676b; }
.ven-fuentes { background: #e7e9ee; border-color: rgba(0, 0, 0, .06); }
.ven-fuentes button { color: #4b4f56; padding: 5px 9px; font-size: 12px; }
.ven-fuentes button.on { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.ven-anuncio[data-fuente="Instagram"] .ven-marca { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e1306c; }
.ven-anuncio[data-fuente="Web"] .ven-an-cab { background: #fff; border-bottom: 1px solid #e4e6eb; }
.ven-an-img { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; background: linear-gradient(180deg, #f9c88a 0%, #f4a261 38%, #2a4858 100%); }
.ven-an-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ven-an-img .ven-precio { position: absolute; left: 12px; bottom: 12px; background: rgba(10, 14, 18, .78); color: #fff; font-size: 12.5px; font-weight: 650; padding: 5px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
.ven-an-cuerpo { padding: 14px; display: grid; gap: 10px; }
.ven-an-titulo { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.ven-an-desc { color: #65676b; font-size: 13px; margin-top: -6px; }
.ven-anuncio .campo { color: #3a3d44; font-size: 12.5px; font-weight: 550; }
.ven-anuncio .campo .mut { color: #8a8d93; font-weight: 400; }
.ven-anuncio .entrada { background: #fff; color: #14161b; border-color: #d6d9df; }
.ven-anuncio .entrada:focus { border-color: var(--acento); }
.ven-anuncio .nota { color: #7a7d84; }
.ven-enviar { width: 100%; margin-top: 2px; }
.ven-error { color: #c0262d; font-size: 13px; font-weight: 550; }
.ven-anuncio.enviado .ven-an-cuerpo { opacity: .55; }

/* ---------- Escenarios ---------- */
.ven-escenarios { display: grid; gap: 8px; }
.ven-esc { text-align: left; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--linea); cursor: pointer; color: var(--texto); transition: border-color .15s, background .15s, transform .15s; }
.ven-esc:hover { border-color: var(--linea-2); }
.ven-esc.on { border-color: color-mix(in srgb, var(--acento) 60%, transparent); background: color-mix(in srgb, var(--acento) 10%, transparent); }
.ven-esc .ven-esc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gris-2); font-size: 16px; }
.ven-esc b { display: block; font-size: 14px; font-weight: 620; }
.ven-esc span { font-size: 12.5px; color: var(--mut); line-height: 1.35; display: block; margin-top: 2px; }

/* ---------- Cronómetro ---------- */
.ven-crono { position: relative; overflow: hidden; }
.ven-crono::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acento) 30%, transparent), transparent); opacity: 0; transition: opacity .6s; pointer-events: none; }
.ven-crono.corriendo::before, .ven-crono.listo::before { opacity: 1; }
.ven-crono-num { font-size: clamp(54px, 6vw, 72px); font-weight: 760; letter-spacing: -.05em; line-height: 1; margin: 10px 0 6px; color: var(--texto); transition: color .3s; position: relative; }
.ven-crono.corriendo .ven-crono-num { color: var(--acento); }
.ven-crono.listo .ven-crono-num { color: var(--acento); animation: ven-latido .7s ease; }
@keyframes ven-latido { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.ven-crono-pie { font-size: 13px; color: var(--texto-2); min-height: 20px; position: relative; }
.ven-compara { display: grid; gap: 8px; margin-top: 14px; font-size: 12.5px; }
.ven-compara > div { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; }
.ven-compara span { color: var(--mut); }
.ven-compara b { font-weight: 650; min-width: 70px; text-align: right; }
.ven-cbar { height: 8px; border-radius: 99px; background: var(--gris-3); overflow: hidden; }
.ven-cbar i { display: block; height: 100%; width: 100%; background: var(--acento); border-radius: inherit; transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.ven-cbar.eq i { background: #5b5b66; }

/* ---------- Teléfono ---------- */
.ven-tel-reposo { flex: 1; display: grid; align-content: start; justify-items: center; padding: 56px 18px 18px; gap: 4px; }
.ven-tel-hora { font-size: 64px; font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ven-tel-fecha { font-size: 15px; color: var(--texto-2); text-transform: capitalize; }
.ven-tel-noti { margin-top: 40px; width: 100%; display: grid; gap: 2px; background: rgba(255, 255, 255, .1); border-radius: 18px; padding: 12px 14px; font-size: 13px; backdrop-filter: blur(10px); }
.ven-tel-noti span { color: var(--texto-2); }
.ven-tel-llamada { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ven-tel-llamada.sonando .avatar::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #34c759; animation: pulso 1s ease-out infinite; }
.ven-tel-llamada.sonando .llamada-tiempo { color: #34c759; }
.ven-tel-ui-sacude { animation: ven-vibra .5s ease 3; }
@keyframes ven-vibra { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px) rotate(-.6deg); } 40% { transform: translateX(3px) rotate(.6deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.ven-tel-botones-rotulo { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--texto-2); }
.ven-tel-llamada .transcripcion { min-height: 200px; }

/* Respuesta del visitante */
.ven-resp { animation: aparecer .35s ease; }
.ven-resp-tit { font-size: 14px; }
.ven-resp-ayuda { font-size: 12px; }
.ven-rapidas .chip { font-size: 13.5px; padding: 8px 13px; }
.ven-rapidas .chip:hover { border-color: var(--acento); }
.ven-resp-form { display: flex; gap: 8px; }
.ven-resp-form .entrada { border-radius: 999px; }
.ven-resp-form .btn { padding: 10px; width: 44px; height: 44px; flex: none; }
.ven-mic.escuchando { background: rgba(248, 113, 113, .2); border-color: var(--rojo); color: #fecaca; animation: pulso-mic 1.2s infinite; }
@keyframes pulso-mic { 50% { transform: scale(1.06); } }

/* ---------- Ficha CRM ---------- */
.ven-ficha-top { display: flex; gap: 16px; align-items: center; }
.ven-ficha .anillo { width: 96px; height: 96px; transition: --v .9s; }
.ven-ficha .anillo b { font-size: 26px; }
.ven-ficha-datos { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; }
.ven-ficha-datos b { font-size: 16px; }
.ven-ficha-datos .recorte { max-width: 100%; }
.ven-criterios { display: grid; gap: 9px; }
.ven-crit { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; animation: aparecer .35s ease; }
.ven-crit .ven-crit-et { color: var(--texto-2); }
.ven-crit .ven-crit-et small { color: var(--mut); font-size: 12px; margin-left: 4px; }
.ven-crit .ven-crit-pts { font-variant-numeric: tabular-nums; font-weight: 650; }
.ven-crit .barra-p { grid-column: 1 / -1; height: 6px; }
.ven-crit.pendiente { opacity: .45; }
.ven-crit.pendiente .barra-p > i { width: 0 !important; }
.ven-crit.bajo .barra-p > i { background: var(--rojo); }
.ven-crit.medio .barra-p > i { background: var(--ambar); }
.ven-crit.alto .barra-p > i { background: var(--verde); }

.ven-siguiente { animation: aparecer .4s ease; display: grid; gap: 10px; }
.ven-sig-cab { display: flex; align-items: center; gap: 10px; }
.ven-sig-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--acento) 18%, transparent); color: var(--acento); flex: none; }
.ven-sig-ico svg { width: 20px; height: 20px; }
.ven-sig-ico.rojo { background: rgba(248, 113, 113, .16); color: var(--rojo); }
.ven-sig-ico.verde { background: rgba(52, 211, 153, .16); color: var(--verde); }
.ven-sig-cab b { display: block; font-size: 15px; }
.ven-sig-cab span { font-size: 12.5px; color: var(--mut); }
.ven-wa-mini { background: #0b141a; border-radius: 16px; padding: 10px; display: grid; gap: 5px; }
.ven-wa-mini .wa-msj { max-width: 92%; font-size: 12.5px; }
.ven-wa-mini .ven-wa-cab { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #8696a0; padding: 0 2px 4px; }
.ven-wa-mini .ven-wa-cab svg { width: 14px; height: 14px; color: #25d366; }
.ven-nutri { display: grid; gap: 6px; font-size: 13px; }
.ven-nutri div { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .035); }
.ven-nutri time { color: var(--acento); font-weight: 650; font-size: 12px; }
.ven-eventos { max-height: 260px; overflow-y: auto; }

/* ---------- Flujo de leads ---------- */
.ven-equipo { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-2); }
.ven-equipo .entrada { width: 86px; padding: 6px 10px; }
.ven-tabla td { white-space: nowrap; }
.ven-fuente { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.ven-fuente i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.ven-tr { display: grid; gap: 1px; line-height: 1.25; }
.ven-tr b { color: var(--acento); font-variant-numeric: tabular-nums; }
.ven-tr span { font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; }
.ven-tr.esperando b { color: var(--mut); font-weight: 500; }
.ven-tabla tr.demo td:first-child { box-shadow: inset 3px 0 0 var(--acento); }

/* ---------- Kanban ---------- */
.ven-kanban { display: grid; grid-template-columns: repeat(5, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.ven-col { background: rgba(255, 255, 255, .025); border: 1px solid var(--linea); border-radius: 16px; padding: 10px; min-height: 260px; display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start; }
.ven-col-cab { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 650; color: var(--texto-2); padding: 2px 4px 4px; }
.ven-col-cab span { font-variant-numeric: tabular-nums; color: var(--mut); background: var(--gris-2); border-radius: 99px; padding: 1px 8px; font-size: 11.5px; }
.ven-col-cab b { display: inline-flex; align-items: center; font-weight: 650; }
.ven-col-cab i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; margin-right: 7px; }
.ven-tarjeta { background: var(--gris-2); border: 1px solid var(--linea); border-radius: 12px; padding: 9px 10px; font-size: 12.5px; display: grid; gap: 5px; will-change: transform; }
.ven-tarjeta.demo { border-color: color-mix(in srgb, var(--acento) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acento) 25%, transparent), 0 10px 26px -14px var(--acento); }
.ven-tarjeta .fila-entre { gap: 6px; flex-wrap: nowrap; }
.ven-tarjeta b { font-size: 13px; font-weight: 620; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ven-tarjeta .mut { font-size: 11.5px; }
.ven-tarjeta .badge { font-size: 10.5px; padding: 2px 7px; }
.ven-mas { text-align: center; font-size: 12px; color: var(--mut); padding: 4px; }

/* ---------- Gerente ---------- */
.ven-ley { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.ven-ley.l1 { background: color-mix(in srgb, var(--acento) 35%, #2a2a33); }
.ven-ley.l2 { background: var(--acento); }
.ven-fuentes-bar { display: grid; gap: 12px; }
.ven-fb { display: grid; grid-template-columns: 92px 1fr 64px; gap: 10px; align-items: center; font-size: 13px; }
.ven-fb-track { position: relative; height: 22px; border-radius: 7px; background: var(--gris-2); overflow: hidden; }
.ven-fb-track i { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: left; border-radius: 7px; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.ven-fb-track i.t { background: color-mix(in srgb, var(--acento) 35%, #2a2a33); }
.ven-fb-track i.c { background: var(--acento); }
.ven-fb b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.ven-fb b small { color: var(--mut); font-weight: 400; }
.ven-vend { display: inline-flex; align-items: center; gap: 8px; }
.ven-vend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ven-agenda-env { overflow-x: auto; }
.ven-agenda { min-width: 560px; }
.ven-agenda .cita { --c: var(--acento); background: color-mix(in srgb, var(--c) 22%, #14161d); border-left-color: var(--c); }
.ven-agenda .cita.nueva { box-shadow: 0 0 0 1px var(--c); }
.ven-agenda .ven-libre { display: block; height: 100%; }
.ven-ag-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.ven-roi-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ven-roi-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ven-roi-res { display: grid; gap: 10px; }
.ven-roi-res > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--linea); font-size: 13px; }
.ven-roi-res b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ven-roi-total { background: linear-gradient(160deg, color-mix(in srgb, var(--acento) 18%, #131318), #131318 75%) !important; border-color: color-mix(in srgb, var(--acento) 40%, transparent) !important; }
.ven-roi-total b { font-size: 34px !important; color: var(--acento); }

/* ---------- Reglas ---------- */
.ven-pesos { display: grid; gap: 12px; }
.ven-peso { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13.5px; align-items: center; }
.ven-peso .rango { grid-column: 1 / -1; }
.ven-peso b { font-variant-numeric: tabular-nums; color: var(--acento); }
.ven-peso small { color: var(--mut); font-size: 12px; display: block; }
.ven-int-tit { font-size: 16px; }

@media (max-width: 900px) {
  .ven-roi-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ven-roi-campos { grid-template-columns: 1fr; }
  .ven-compara > div { grid-template-columns: 84px 1fr auto; }
  .ven-kanban { grid-template-columns: repeat(5, minmax(200px, 78vw)); }
  .ven-fb { grid-template-columns: 78px 1fr 56px; }
  .ven-modos .segmentos button { padding: 7px 11px; }
}

.badge.ven-b-caliente { background: color-mix(in srgb, var(--acento) 18%, transparent); color: #ffc58a; }
.ven-an-cab .ven-fuentes { order: 3; width: 100%; display: flex; }
.ven-an-cab .ven-fuentes button { flex: 1; }
