/*
 * PULIDO v10.62 — se carga al final de la cascada (ver functions.php).
 * Arreglos de terminación sobre el diseño existente; no cambia la estructura.
 */

/* ── 1. Cabecera: que la barra de anuncio no tape el logo ──
   Antes el header se pegaba a un «top» fijo (44 / 40 / 36 px según el ancho)
   pero la barra de anuncio podía medir más, y la tapaba unos píxeles.
   Ahora pulido.js mide la barra real y la guarda en --tl-promo-h (0 si se
   cerró). Y al bajar, el logo ya no queda más alto que la cabecera achicada. */
html.tl-promo-medida .site-header { top: var(--tl-promo-h) !important; }
html .site-header .logo img.tln-brand-mark { max-height: calc(var(--header-h, 68px) - 12px) !important; }
html .site-header.scrolled .logo img.tln-brand-mark { max-height: calc(var(--header-h, 68px) - 26px) !important; }

/* ── 2. Títulos: una sola familia tipográfica ──
   Los títulos sin clase tomaban la letra del sistema de Blocksy (-apple-system,
   Segoe UI…) mientras otros usaban la del tema. Ahora todos usan --font-display,
   la que se elige en Personalizar → Tipografía. */
body h1, body h2, body h3,
body .heading-display, body .heading-xl, body .heading-lg, body .heading-md { font-family: var(--font-display, 'Bricolage Grotesque', system-ui, sans-serif); }
body h1, body h2 { letter-spacing: -0.02em; }

/* ── 3. «La misma consulta, dos resultados» en modo claro ──
   Los dos teléfonos seguían en el WhatsApp oscuro dentro de la página clara.
   Ahora usan los colores del WhatsApp claro. */
html[data-theme="light"] .tl-ad-tel { background: #EFEAE2; border-color: #E2E8F0; box-shadow: 0 24px 50px -30px rgba(15,23,42,.35); }
html[data-theme="light"] .tl-ad-tel--con { border-color: #86EFAC; box-shadow: 0 26px 60px -30px rgba(16,185,129,.45); }
html[data-theme="light"] .tl-ad-cab { background: #F0F2F5; border-bottom: 1px solid #E2E8F0; }
html[data-theme="light"] .tl-ad-cab strong { color: #111B21; }
html[data-theme="light"] .tl-ad-cab small { color: #54656F; }
html[data-theme="light"] .tl-ad-cab small.es-online { color: #047857; }
html[data-theme="light"] .tl-ad-av { background: #DFE5E7; }
html[data-theme="light"] .tl-ad-av svg { color: #54656F !important; }
html[data-theme="light"] .tl-ad-tel--con .tl-ad-av { background: #2563EB; }
html[data-theme="light"] .tl-ad-tel--con .tl-ad-av svg { color: #fff !important; }
html[data-theme="light"] .tl-ad-chat { background: #EFEAE2; }
html[data-theme="light"] .tl-ad-m { color: #111B21 !important; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
html[data-theme="light"] .tl-ad-m .tl-ad-txt { color: #111B21; -webkit-text-fill-color: #111B21; }
html[data-theme="light"] .tl-ad-m time { color: #667781; }
html[data-theme="light"] .tl-ad-m--in { background: #FFFFFF; }
html[data-theme="light"] .tl-ad-m--out,
html[data-theme="light"] .tl-ad-m--ia,
html[data-theme="light"] .tl-ad-escribe { background: #D9FDD3; }
html[data-theme="light"] .tl-ad-escribe span { background: #667781; }
html[data-theme="light"] .tl-ad-tag { background: #DFE9FF; color: #1A3273; }
html[data-theme="light"] .tl-ad-m--nota { background: #FFFFFF; color: #54656F; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
html[data-theme="light"] .tl-ad-res--sin { background: #FEF2F2; border-top-color: #FECACA; }
html[data-theme="light"] .tl-ad-res--sin strong { color: #B91C1C; }
html[data-theme="light"] .tl-ad-res--con { background: #ECFDF5; border-top-color: #A7F3D0; }
html[data-theme="light"] .tl-ad-res--con strong { color: #047857; }

/* ── 5. «Escríbele como si fueras tu cliente»: el campo seguía oscuro ──
   En modo claro el campo de la prueba de IA era un rectángulo casi negro con
   el texto de ejemplo ilegible (#263848 sobre negro). */
html[data-theme="light"] #prueba-ia .tlai-input {
  background: #FFFFFF !important; color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important; box-shadow: none !important;
}
html[data-theme="light"] #prueba-ia .tlai-input::placeholder { color: #64748B !important; opacity: 1; }
html[data-theme="light"] #prueba-ia .tlai-input:focus { border-color: #2563EB !important; box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important; outline: none; }

/* ── 6. Bloque «API REST & Webhooks» ──
   Tenía un ancho máximo de 760 px sin centrar (quedaba pegado a la izquierda)
   y en modo claro seguía siendo un bloque negro. Ahora va centrado y claro;
   el ejemplo de código queda oscuro, como un editor. */
.integrations-outer > .int-api-box { margin-left: auto !important; margin-right: auto !important; }
html[data-theme="light"] .int-api-box {
  background: #FFFFFF !important; border: 1px solid #DFE9FF !important;
  box-shadow: 0 20px 48px -28px rgba(14,26,69,.25) !important;
}
html[data-theme="light"] .int-api-box .tl-spot { display: none; }
html[data-theme="light"] .int-api-box .int-api-text h3 { color: #0E1A45 !important; -webkit-text-fill-color: #0E1A45 !important; }
html[data-theme="light"] .int-api-box .int-api-text p { color: #475569 !important; -webkit-text-fill-color: #475569 !important; }
html[data-theme="light"] .int-api-box .int-api-code { background: #0E1A45 !important; border-color: #1A3273 !important; }
.int-api-box .int-api-code { text-align: left !important; }   /* el código nunca centrado, ni apilado en móvil */

/* ── 7. Footer: zona «Hablemos» y boletín ──
   - Las tarjetas de contacto se alineaban abajo del todo y dejaban un hueco
     grande bajo «Hablemos».
   - El ícono del botón «Suscribir» medía 0 px: se veía un cuadrado azul vacío.
   - El texto de ejemplo del correo era casi invisible (#263848 sobre azul marino). */
.tlf-grid > .tlf-col--contact { align-items: start !important; }
.pft .tlf-news-btn svg { width: 18px !important; height: 18px !important; max-width: none !important; transition: none !important; flex: none; }
.pft .tlf-news-input::placeholder { color: #94A3B8 !important; opacity: 1; }

/* ── 8. Tarjeta «en vivo» sobre el panel del Inicio (v10.64) ──
   template-parts/hero-en-vivo.php. Ciclo de 12 s: cada 4 s llega un mensaje,
   la IA «escribe» y responde. Va abajo, entre el celular y el marcador 3,
   para no tapar los marcadores numerados. */
.tl-vivo {
  position: absolute; z-index: 4; left: 33%; bottom: 4%; width: min(46%, 330px);
  background: rgba(255,255,255,.97); border: 1px solid #DFE9FF; border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(14,26,69,.45); overflow: hidden; pointer-events: none;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); text-align: left;
  line-height: 1.35;   /* el panel usa line-height 0 para la captura; sin esto el texto mide 0 */
  letter-spacing: normal;
}
html:not([data-theme="light"]) .tl-vivo { background: rgba(12,17,34,.96); border-color: rgba(122,168,255,.28); }
.tl-vivo__cab { display: flex; align-items: center; gap: 7px; padding: 7px 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #254BBA; border-bottom: 1px solid #EEF2F7; }
html:not([data-theme="light"]) .tl-vivo__cab { color: #A5C4FF; border-color: rgba(148,163,184,.15); }
.tl-vivo__pulso { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: tlVivoPulso 1.6s ease-out infinite; }
.tl-vivo__zona { position: relative; height: 92px; }
.tl-vivo__fila { position: absolute; inset: 0; display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; animation: tlVivoFila 12s ease infinite both; }
.tl-vivo--d1, .tl-vivo--d1 * { animation-delay: 4s; }
.tl-vivo--d2, .tl-vivo--d2 * { animation-delay: 8s; }
.tl-vivo__av { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.tl-vivo__av i { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; }
.tl-vivo__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tl-vivo__top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.tl-vivo__top b { color: #0E1A45; white-space: nowrap; }
.tl-vivo__top em { font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.tl-vivo__msg { font-size: 12.5px; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-vivo__ia { position: relative; height: 34px; }
.tl-vivo__escribe, .tl-vivo__resp { position: absolute; left: 0; right: 0; top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.tl-vivo__escribe { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #254BBA; animation: tlVivoEscribe 12s linear infinite both; }
.tl-vivo__resp { color: #1A3273; animation: tlVivoResp 12s ease infinite both;
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }   /* hasta 2 líneas */
.tl-vivo__resp b { color: #2563EB; }
html:not([data-theme="light"]) .tl-vivo__top b { color: #F1F5F9; }
html:not([data-theme="light"]) .tl-vivo__msg { color: #CBD5E1; }
html:not([data-theme="light"]) .tl-vivo__escribe, html:not([data-theme="light"]) .tl-vivo__resp b { color: #A5C4FF; }
html:not([data-theme="light"]) .tl-vivo__resp { color: #DFE9FF; }
html:not([data-theme="light"]) .tl-vivo__av i { border-color: #0C1122; }
.tl-vivo__puntos { display: inline-flex; gap: 3px; }
.tl-vivo__puntos i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: tlVivoPunto 1s ease-in-out infinite; }
.tl-vivo__puntos i:nth-child(2) { animation-delay: .15s; } .tl-vivo__puntos i:nth-child(3) { animation-delay: .3s; }

@keyframes tlVivoFila { 0%, 1% { opacity: 0; transform: translateX(-18px); } 4%, 31% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; transform: translateY(6px); } }
@keyframes tlVivoEscribe { 0%, 9% { opacity: 0; } 10%, 17% { opacity: 1; } 18%, 100% { opacity: 0; } }
@keyframes tlVivoResp { 0%, 17% { opacity: 0; transform: translateY(4px); } 19%, 31% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; } }
@keyframes tlVivoPunto { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes tlVivoPulso { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

/* Los puntos animados vuelven a su propio ritmo (las demoras de arriba no los tocan) */
.tl-vivo .tl-vivo__puntos i { animation-delay: 0s; }
.tl-vivo .tl-vivo__puntos i:nth-child(2) { animation-delay: .15s; }
.tl-vivo .tl-vivo__puntos i:nth-child(3) { animation-delay: .3s; }

@media (max-width: 640px) {
  .tl-vivo { left: 4%; right: 4%; width: auto; bottom: 3%; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-vivo *, .tl-vivo__fila { animation: none !important; }
  .tl-vivo__fila, .tl-vivo__escribe, .tl-vivo__resp { opacity: 0; }
  .tl-vivo--d0, .tl-vivo--d0 .tl-vivo__resp { opacity: 1; transform: none; }
}

/* ── 9. Recorrido del panel del Inicio en modo claro (v10.65) ──
   Pestañas Informes, Automatizaciones y Equipo: las pantallas de ejemplo seguían
   en negro, con una línea de «escaneo» cruzándolas, y todo el panel se veía
   borroso (will-change hacía que el navegador lo dibujara como imagen escalada). */
.hero--v2 .dashboard--pro { will-change: auto !important; }

html[data-theme="light"] .tl-hp-mock .product-screen {
  background: #FFFFFF !important; border: 1px solid #DFE9FF !important;
  box-shadow: 0 30px 60px -32px rgba(14,26,69,.35) !important;
}
html[data-theme="light"] .tl-hp-mock .product-screen::before,
html[data-theme="light"] .tl-hp-mock .product-screen::after,
html[data-theme="light"] .tl-hp-mock .tl-spot { display: none !important; }
html[data-theme="light"] .tl-hp-mock .screen-top { background: #F8FAFF !important; border-bottom-color: #EEF2F7 !important; }
html[data-theme="light"] .tl-hp-mock .screen-title { color: #334155 !important; }
html[data-theme="light"] .tl-hp-mock .screen-sublabel { color: #475569 !important; }
html[data-theme="light"] .tl-hp-mock :is(.kpi-card, .chart-area, .flow-node) { background: #F8FAFF !important; border-color: #E2E8F0 !important; }
html[data-theme="light"] .tl-hp-mock .kpi-label,
html[data-theme="light"] .tl-hp-mock .chart-title { color: #475569 !important; }
html[data-theme="light"] .tl-hp-mock .kpi-value { color: #0E1A45 !important; }
html[data-theme="light"] .tl-hp-mock .kpi-change { color: #047857 !important; }
html[data-theme="light"] #tl-hp-team .tl-hp-mock .kpi-change { color: #475569 !important; }
html[data-theme="light"] .tl-hp-mock .agent-name,
html[data-theme="light"] .tl-hp-mock .flow-node-text strong { color: #0E1A45 !important; }
html[data-theme="light"] .tl-hp-mock :is(.agent-pct, .prod-agent-info, .flow-node-text span) { color: #475569 !important; }
html[data-theme="light"] .tl-hp-mock .prod-agent-dot { border-color: #FFFFFF !important; }
html[data-theme="light"] .tl-hp-mock .prod-agent-status[style*="34D399"] { color: #047857 !important; }
html[data-theme="light"] .tl-hp-mock .prod-agent-status[style*="FBBF24"] { color: #B45309 !important; }
html[data-theme="light"] .tl-hp-mock .flow-connector { background: #CBD5E1 !important; }
html[data-theme="light"] .tl-hp-mock .flow-node-icon { color: #254BBA !important; }
html[data-theme="light"] .tl-hp-mock .badge-trigger   { color: #92400E !important; background: #FEF3C7 !important; }
html[data-theme="light"] .tl-hp-mock .badge-condition { color: #1A3273 !important; background: #DFE9FF !important; }
html[data-theme="light"] .tl-hp-mock .badge-ai        { color: #254BBA !important; background: #EEF4FF !important; }
html[data-theme="light"] .tl-hp-mock .badge-action    { color: #047857 !important; background: #D1FAE5 !important; }
html[data-theme="light"] .tl-hp-mock .flow-badge:not([class*="badge-"]),
html[data-theme="light"] .tl-hp-mock .n8n-badge       { color: #C2410C !important; background: #FFEDD5 !important; border-color: #FDBA74 !important; }

/* Tarjetas de texto del recorrido (las 5 pestañas): etiqueta, palabra en azul y
   enlace «Ver todo…» estaban en celeste #7AA8FF / #9DC0FF, que sobre blanco no se lee. */
html[data-theme="light"] .tl-hp-kicker { background: #DFE9FF !important; color: #1A3273 !important; }
html[data-theme="light"] :is(.tl-hp-info, .tl-hp-cap) h3 span { color: #2563EB !important; -webkit-text-fill-color: #2563EB !important; }
html[data-theme="light"] .tl-hp-mas { color: #254BBA !important; }
html[data-theme="light"] .tl-hp-cap { box-shadow: 0 24px 50px -24px rgba(14,26,69,.35); }

/* ── 10. Footer claro en modo claro (v10.65) ──
   Antes el footer seguía azul marino aunque el resto de la página fuera clara. */
html[data-theme="light"] body footer.pft {
  background: #F6F9FF !important; border-top: 1px solid #DFE9FF;
  --tlf-text: #0E1A45; --tlf-muted: #475569; --tlf-line: #DFE9FF; --tlf-card: #FFFFFF;
}
html[data-theme="light"] body .pft :is(.pft__bg-orb, .pft__bg-grid, .pft__topline-glow, .pft__topline-particle) { display: none !important; }
html[data-theme="light"] body .pft .tlf-col-title { color: #254BBA !important; }
html[data-theme="light"] body .pft .tlf-link { color: #334155 !important; }
html[data-theme="light"] body .pft .tlf-link:hover,
html[data-theme="light"] body .pft .tlf-link:focus-visible { color: #0E1A45 !important; }
html[data-theme="light"] body .pft :is(.tlf-desc, .tlf-contact-txt small, .tlf-ruta-head small, .tlf-flow-inbox small, .tlf-bottom-in, .tlf-legal a) { color: #475569 !important; }
html[data-theme="light"] body .pft :is(.tlf-contact-txt b, .tlf-news-title, .tlf-ruta-head strong, .tlf-flow-copy strong, .tlf-flow-inbox b, .tlf-hecho, .tlf-copy a) { color: #0E1A45 !important; }
html[data-theme="light"] body .pft .tlf-status { color: #047857 !important; }
html[data-theme="light"] body .pft .tlf-pill { color: #0E1A45; background: #FFFFFF; border-color: #DFE9FF; }
html[data-theme="light"] body .pft .tlf-pill--ia { color: #5B21B6; border-color: #DDD6FE; background: #F5F3FF; }
html[data-theme="light"] body .pft .tlf-pill--ia svg { color: #7C3AED !important; }
html[data-theme="light"] body .pft :is(.tlf-social-btn, .tlf-lang) { color: #334155; background: #FFFFFF; border-color: #DFE9FF; }
html[data-theme="light"] body .pft .tlf-social-btn:hover { color: #FFFFFF; }
html[data-theme="light"] body .pft .tlf-lang a:not(.is-on) { color: #475569 !important; }
html[data-theme="light"] body .pft .tlf-theme { color: #334155 !important; background: #FFFFFF !important; border-color: #DFE9FF; }
html[data-theme="light"] body .pft .tlf-theme svg { color: #B45309 !important; }
html[data-theme="light"] body .pft .tlf-contact-item { background: #FFFFFF; border-color: #DFE9FF; }
html[data-theme="light"] body .pft .tlf-contact-item--wa { background: #F0FDF4; border-color: #BBF7D0; }
html[data-theme="light"] body .pft .tlf-arrow { color: #64748B; }
html[data-theme="light"] body .pft .tlf-news-form { background: #FFFFFF; border-color: #CBD5E1; }
html[data-theme="light"] body .pft .tlf-news-input { color: #0F172A !important; }
html[data-theme="light"] body .pft .tlf-news-input::placeholder { color: #64748B !important; }
html[data-theme="light"] body .pft .tlf-ruta { background: #FFFFFF; border-color: #DFE9FF; }
html[data-theme="light"] body .pft .tlf-ruta-steps li { color: #334155 !important; }
html[data-theme="light"] body .pft .tlf-ruta-steps b { color: #334155; background: #F1F5F9; border-color: #CBD5E1; }
html[data-theme="light"] body .pft .tlf-ruta-steps li.is-next b { color: #FFFFFF; background: #2563EB; border-color: #2563EB; }
html[data-theme="light"] body .pft .tlf-ruta-btn { color: #FFFFFF !important; background: #2563EB; }
html[data-theme="light"] body .pft .tlf-ruta-btn svg { color: #FFFFFF !important; }
html[data-theme="light"] body .pft .tlf-flow-in { background: #FFFFFF; border-color: #DFE9FF; }
html[data-theme="light"] body .pft .tlf-flow-inbox { background: #FFFFFF; border-color: #DFE9FF; box-shadow: none; }
html[data-theme="light"] body .pft .tlf-bottom { background: #EEF4FF; border-top-color: #DFE9FF; backdrop-filter: none; }
html[data-theme="light"] body .pft .tlf-flag { box-shadow: 0 0 0 1px #CBD5E1; }

/* ── 11. Capitán IA y Kanban en modo claro (v10.66) ──
   Esas dos pestañas eran capturas de la app en oscuro. En modo claro se ocultan
   y se muestra la misma pantalla dibujada con HTML (template-parts/hero-claro-*.php).
   En modo oscuro todo sigue como antes. */
.tlc { display: none; }
html[data-theme="light"] .tl-hp-panel--foto { background: #F6F9FF !important; }
html[data-theme="light"] .tl-hp-panel--foto .tl-hp-shot { display: none !important; }
html[data-theme="light"] .tl-hp-panel--foto .tlc {
  display: flex; position: absolute; inset: 0; overflow: hidden; background: #F6F9FF;
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); color: #334155;
  line-height: 1.35; letter-spacing: normal; text-align: left;
}
@media (max-width: 760px) {
  html[data-theme="light"] .tl-hp-panel--foto .tlc { position: relative; inset: auto; aspect-ratio: 4 / 3; }
}
.tlc b { font-weight: 700; color: #0E1A45; }
.tlc small { font-size: 11px; color: #64748B; }
.tlc-av { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.tlc-av i { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #FFFFFF; }
.tlc-pill { padding: 2px 8px; border-radius: 999px; background: #EEF4FF; color: #254BBA; font-size: 10.5px; font-weight: 700; }
.tlc-btn { margin-left: auto; padding: 6px 12px; border-radius: 8px; border: 1px solid #CBD5E1; background: #FFFFFF; color: #0E1A45; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tlc-btn--azul { background: #2563EB; border-color: #2563EB; color: #FFFFFF; }
.tlc-tag { align-self: flex-start; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.tlc-tag--lead { background: #DFE9FF; color: #1A3273; }
.tlc-tag--int  { background: #EDE9FE; color: #5B21B6; }
.tlc-tag--cot  { background: #FEF3C7; color: #92400E; }
.tlc-tag--agn  { background: #D1FAE5; color: #047857; }
.tlc-tag--may  { background: #F3E8FF; color: #6B21A8; }

/* Capitán IA: lista de conversaciones + chat */
.tlc--ai .tlc-lista { flex: 0 0 36%; min-width: 0; background: #FFFFFF; border-right: 1px solid #E2E8F0; display: flex; flex-direction: column; }
.tlc-lista-cab { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; font-size: 14px; }
.tlc-filtros { display: flex; gap: 10px; padding: 0 14px 10px; border-bottom: 1px solid #EEF2F7; font-size: 11.5px; color: #475569; white-space: nowrap; overflow: hidden; }
.tlc-filtros .is-on { color: #2563EB; font-weight: 700; }
.tlc-filtros i { font-style: normal; padding: 0 5px; border-radius: 999px; background: #2563EB; color: #FFFFFF; font-size: 10px; }
.tlc-chat { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #EEF2F7; }
.tlc-chat.is-on { background: #EEF4FF; box-shadow: inset 3px 0 0 #2563EB; }
.tlc-chat-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tlc-chat-txt b { font-size: 13px; }
.tlc-chat-top { display: flex; justify-content: space-between; }
.tlc-chat-msg { font-size: 12px; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlc--ai .tlc-conv { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #F6F9FF; }
.tlc-conv-cab { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #FFFFFF; border-bottom: 1px solid #E2E8F0; font-size: 14px; }
.tlc-conv-cab .tlc-av { width: 28px; height: 28px; font-size: 11px; }
.tlc-msgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 16px; }
.tlc-msg { max-width: 72%; padding: 8px 11px 6px; border-radius: 12px; font-size: 12.5px; }
.tlc-msg p { margin: 0 0 3px; }
.tlc-msg small { display: flex; justify-content: flex-end; gap: 8px; font-size: 10.5px; }
.tlc-msg--in { align-self: flex-start; background: #FFFFFF; border: 1px solid #E2E8F0; color: #0E1A45; border-top-left-radius: 4px; }
.tlc-msg--ia { align-self: flex-end; background: #DFE9FF; border: 1px solid #C7D7FE; color: #0E1A45; border-top-right-radius: 4px; }
.tlc-msg--ia small { color: #254BBA; }
.tlc-gen { margin-right: auto; font-weight: 600; }
.tlc-caja { display: flex; align-items: center; gap: 12px; margin: 0 12px 12px; padding: 10px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E2E8F0; font-size: 12px; color: #475569; }
.tlc-caja span { white-space: nowrap; }
.tlc-caja .is-on { padding: 3px 9px; border-radius: 7px; background: #EEF4FF; color: #254BBA; font-weight: 700; }
.tlc-caja em { font-style: normal; color: #64748B; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kanban: cabecera + 3 columnas (dejan libre la derecha para la tarjeta de texto) */
.tlc--kanban { flex-direction: column; }
.tlc-kb-cab { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #FFFFFF; border-bottom: 1px solid #E2E8F0; font-size: 15px; }
.tlc-select { padding: 4px 10px; border-radius: 8px; background: #F1F5F9; color: #334155; font-size: 12px; font-weight: 600; }
.tlc-buscar { flex: 1; max-width: 360px; padding: 6px 12px; border-radius: 8px; border: 1px solid #CBD5E1; color: #64748B; font-size: 12px; white-space: nowrap; overflow: hidden; }
.tlc-kb-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 62%; padding: 14px 18px; overflow: hidden; }
.tlc-kb-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tlc-kb-tit { margin: 0 0 2px; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tlc-kb-tit i { font-style: normal; padding: 0 6px; border-radius: 999px; background: #E2E8F0; color: #334155; font-size: 10.5px; }
.tlc-kb-tit--lead { color: #475569; } .tlc-kb-tit--seg { color: #92400E; } .tlc-kb-tit--cal { color: #5B21B6; }
.tlc-kb-card { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px; border-radius: 10px; background: #FFFFFF; border: 1px solid #E2E8F0; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.tlc-kb-card b { font-size: 12.5px; }
.tlc-kb-top { display: flex; justify-content: space-between; align-items: center; }
.tlc-kb-top i { width: 8px; height: 8px; border-radius: 50%; }
.tlc-kb-msg { font-size: 11.5px; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlc-kb-pie { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.tlc-kb-pie small { margin-left: auto; }
.tlc-ag { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 9px; font-weight: 700; }

@media (max-width: 760px) {
  .tlc--ai .tlc-lista { display: none; }           /* en celular se ve solo el chat */
  .tlc-msg { max-width: 86%; }
  .tlc-kb-cols { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tlc-kb-col:nth-child(3) { display: none; }
  .tlc-buscar, .tlc-select { display: none; }
}

/* ── 12. Logos de canales en el menú Producto (v10.67) ──
   Antes eran íconos genéricos; ahora el logo oficial de cada app (inc/nav-pro.php,
   tln_marca_svg) sobre su color o degradado oficial, como un ícono de app. */
.tln-chans .tln-chan-logo, .tln-mchan .tln-chan-logo { background: var(--g, var(--c)) !important; }
.tln-chans .tln-chan-logo { width: 42px; height: 42px; border-radius: 12px; }
.tln-chan-logo svg.tln-marca { display: block; color: #FFFFFF !important; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)) !important; }
.tln-more-dots span.es-marca {
  width: 28px; height: 28px; margin-left: -8px; background: var(--c);
  border: 2px solid var(--tln-bg, #fff); box-shadow: 0 3px 8px -2px rgba(15,23,42,.3);
}
.tln-more-dots span.es-marca:first-child { margin-left: 0; }
.tln-more-dots span.es-marca svg { display: block; color: var(--f) !important; filter: none !important; }

/* ── 13. Auditoría UI/UX Pro Max (v10.68) ──────────────────────────────────
   a) Menos movimiento. En la portada corrían ~280 animaciones a la vez, 50 en
      bucle infinito. Guía: 1-2 elementos animados por vista. Se apagan los bucles
      puramente decorativos; se quedan los que explican algo (marcadores del
      panel, tarjeta «en vivo», flujo de WhatsApp seguro, carrusel de logos) y
      el pulso del botón de WhatsApp. Lo que no se ve se pausa (pulido.js). */
.promo-bar, .promo-bar::before, .promo-bar::after, .promo-dot,
.hero-announce, .hero-announce::before, .hero-announce::after, .announce-dot,
.hero-gradient-word, .hero-visual--pro, .dashboard--pro,
.tl-hp-cel, .hero-visual-caption-dot,
.int-api-code, .int-api-code::before, .int-api-code::after,
.tl-forma, .woot-widget-bubble { animation: none !important; }
.tl-pausa, .tl-pausa *, .tl-pausa *::before, .tl-pausa *::after { animation-play-state: paused !important; }
.tl-logos-pista:hover, .tl-logos-pista:focus-within { animation-play-state: paused !important; }

/* b) «Comienza en 15 minutos» con progreso ligado al scroll (tl-motion.js) */
@media (min-width: 1025px) {   /* la línea solo existe con los 4 pasos en fila */
  html.tl-motion .steps-timeline::after { animation: none !important; left: calc(12.5% + 20px + (75% - 40px) * var(--tl-prog, 0)); transition: left .12s linear; }
  html.tl-motion .steps-timeline::before {
    background: linear-gradient(90deg, #2563EB, #457FED) 0 0 / calc(var(--tl-prog, 0) * 100%) 100% no-repeat, #DFE9FF !important;
  }
  html.tl-motion:not([data-theme="light"]) .steps-timeline::before {
    background: linear-gradient(90deg, #2563EB, #7AA8FF) 0 0 / calc(var(--tl-prog, 0) * 100%) 100% no-repeat, rgba(122,168,255,.18) !important;
  }
}
html.tl-motion .steps-timeline .step-num { transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1); }
html.tl-motion .steps-timeline .step-item:not(.is-hecho) .step-num { background: #E2E8F0 !important; color: #475569 !important; box-shadow: none !important; transform: scale(.92); }
html.tl-motion:not([data-theme="light"]) .steps-timeline .step-item:not(.is-hecho) .step-num { background: #1E293B !important; color: #94A3B8 !important; }

/* c) Contraste (mínimo 4,5:1 en texto normal) */
/* «Escríbele como si fueras tu cliente»: el rubro elegido era texto blanco sobre blanco */
html[data-theme="light"] .tlai-rubro.is-on { background: linear-gradient(135deg, #2563EB, #254BBA) !important; color: #FFFFFF !important; border-color: transparent !important; }
/* Enlaces celestes (#9DC0FF / #A5C4FF) sobre blanco: 1,7:1 */
html[data-theme="light"] :is(.tl-omni2-links, .tl-planes-pie) a { color: #254BBA !important; -webkit-text-fill-color: #254BBA !important; font-weight: 600; }
/* Grises y etiquetas apenas bajo el mínimo (4,36-4,49:1) */
html[data-theme="light"] :is(.step-desc, .section-subtitle, .cta-final-trust span) { color: #475569 !important; }
html[data-theme="light"] .section-label { color: #1D4ED8 !important; }
html[data-theme="light"] .tl-ad-m time { color: #4B5C66 !important; }
html[data-theme="light"] .promo-bar, html[data-theme="light"] .promo-bar span { color: #FFFFFF !important; }
html[data-theme="light"] .promo-bar__cta { background: rgba(14,26,69,.28) !important; border-color: rgba(255,255,255,.55) !important; }
/* Botones principales: el degradado claro bajaba el blanco a 4,44:1 */
html[data-theme="light"] :is(.btn-hero-primary, #cta-final .btn-xl) { background: linear-gradient(135deg, #2563EB, #1D4ED8) !important; }

@media (prefers-reduced-motion: reduce) {
  .tl-logos-pista { animation: none !important; }
}

/* ── 14. Preguntas frecuentes en dos columnas (v10.69) ──
   Idea tomada de «Two-Column FAQ» (21st.dev, ln-dev7): presentación y tarjeta
   de contacto fijas a la izquierda, preguntas a la derecha. Se mantiene el
   acordeón del tema (main.js) con su teclado y aria-expanded. */
.tl-faq2 { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1025px) {
  .tl-faq2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 56px; }
  .tl-faq2-intro { position: sticky; top: calc(var(--tl-promo-h, 44px) + var(--header-h, 68px) + 24px); }
}
#faq .tl-faq2-intro .section-header { text-align: left; margin: 0 0 22px; max-width: none; }
#faq .tl-faq2-intro .section-header > * { margin-left: 0; margin-right: 0; }
#faq .faq-grid { max-width: none; margin: 0; }
.tl-faq2-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: #FFFFFF; border: 1px solid #DFE9FF; box-shadow: 0 18px 40px -28px rgba(14,26,69,.35); }
.tl-faq2-card-top { display: flex; gap: 12px; align-items: center; }
.tl-faq2-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #FFFFFF; }
.tl-faq2-ico svg { color: #FFFFFF !important; }
.tl-faq2-card strong { display: block; font-size: 15px; color: #0E1A45; }
.tl-faq2-card small { display: block; font-size: 13px; color: #475569; }
.tl-faq2-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 44px; }
.tl-faq2-mas { text-align: center; font-size: 14px; font-weight: 600; color: #254BBA !important; text-decoration: none; }
.tl-faq2-mas:hover { text-decoration: underline; text-underline-offset: 3px; }
html:not([data-theme="light"]) .tl-faq2-card { background: rgba(15,23,42,.72); border-color: rgba(122,168,255,.22); box-shadow: none; }
html:not([data-theme="light"]) .tl-faq2-card strong { color: #F1F5F9; }
html:not([data-theme="light"]) .tl-faq2-card small { color: #CBD5E1; }
html:not([data-theme="light"]) .tl-faq2-mas { color: #A5C4FF !important; }
/* El título usaba el degradado del modo oscuro (blanco → celeste) y en claro casi no se leía */
html[data-theme="light"] #faq .faq-a p { color: #475569 !important; }
html[data-theme="light"] #faq .heading-xl { background: none !important; color: #0E1A45 !important; -webkit-text-fill-color: #0E1A45 !important; }

/* ── 4. Aviso de oferta: más arriba que el botón de WhatsApp ──
   Se mostraba en la misma esquina y tapaba el botón flotante. */
html body #tl-popup { bottom: 100px !important; }
@media (max-width: 600px) { html body #tl-popup { bottom: 88px !important; } }

/* ── 15. Páginas internas (v10.72) ──────────────────────────────────────── */

/* Etiquetas de sección («CANALES», «PANEL DE CAPITÁN»…): varias plantillas las
   ponen con display:flex y se estiraban a todo el ancho como una barra. */
.section-label[style*="display:flex"] { width: fit-content !important; margin-left: auto !important; margin-right: auto !important; }

/* Pie de página: el botón y la insignia latían sin parar en todas las páginas
   (en Precios ya estaban quietos desde la v10.70). */
.pft .btn, .pft__cta-badge { animation: none !important; }

/* Contacto en claro: el formulario, los horarios y las preguntas eran tarjetas
   casi negras sobre una página blanca. */
html[data-theme="light"] .ct-form-wrap { background: #FFFFFF !important; border: 1px solid #DCE6F7 !important; box-shadow: 0 30px 70px -34px rgba(14,26,69,.35), 0 2px 6px rgba(14,26,69,.05) !important; backdrop-filter: none !important; }
html[data-theme="light"] .ct-form-header h2 { color: #0E1A45 !important; -webkit-text-fill-color: #0E1A45 !important; }
html[data-theme="light"] .ct-form-header p, html[data-theme="light"] .ct-form-note { color: #475569 !important; }
html[data-theme="light"] .ct-field label, html[data-theme="light"] .ct-radio-fieldset legend { color: #1E293B !important; }
html[data-theme="light"] .ct-field input, html[data-theme="light"] .ct-field select, html[data-theme="light"] .ct-field textarea {
  background: #F8FAFC !important; border: 1px solid #CBD5E1 !important; color: #0E1A45 !important; -webkit-text-fill-color: #0E1A45 !important; }
html[data-theme="light"] .ct-field input::placeholder, html[data-theme="light"] .ct-field textarea::placeholder { color: #64748B !important; -webkit-text-fill-color: #64748B !important; opacity: 1; }
html[data-theme="light"] .ct-field input:focus, html[data-theme="light"] .ct-field select:focus, html[data-theme="light"] .ct-field textarea:focus {
  background: #FFFFFF !important; border-color: #2563EB !important; box-shadow: 0 0 0 3px rgba(37,99,235,.18) !important; outline: none; }
html[data-theme="light"] .ct-radio span { background: #F8FAFC !important; border: 1px solid #CBD5E1 !important; color: #1E293B !important; }
html[data-theme="light"] .ct-radio input:checked + span { background: #EFF5FF !important; border-color: #2563EB !important; color: #1D4ED8 !important; }
html[data-theme="light"] .ct-hours-card, html[data-theme="light"] .ct-qfaq-item {
  background: #FFFFFF !important; border: 1px solid #DCE6F7 !important; box-shadow: 0 12px 30px -22px rgba(14,26,69,.35) !important; }
html[data-theme="light"] .ct-hours-card--featured { background: #F2F7FF !important; border-color: #BFD3FB !important; }
html[data-theme="light"] .ct-hours-plan, html[data-theme="light"] .ct-qfaq-item h3, html[data-theme="light"] .ct-qfaq-q { color: #0E1A45 !important; }
html[data-theme="light"] .ct-hours-time, html[data-theme="light"] .ct-hours-channel, html[data-theme="light"] .ct-qfaq-a { color: #475569 !important; }
html[data-theme="light"] .ct-option-card.ct-option-green .ct-option-cta { color: #15803D !important; }
html[data-theme="light"] .ct-option-card .ct-option-cta { color: #1D4ED8 !important; }
html[data-theme="light"] .ct-option-cyan { background: #F2F7FF !important; }

/* Capitán IA: mini demo del encabezado (antes, una tarjeta oscura con una sola burbuja) */
.cap-demo { max-width: 440px; margin: 40px auto 0; text-align: left; border-radius: 20px; overflow: hidden; background: #FFFFFF; border: 1px solid #DCE6F7; box-shadow: 0 30px 70px -34px rgba(14,26,69,.4); }
.cap-demo__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #F2F7FF; border-bottom: 1px solid #E2EAF7; }
.cap-demo__head strong { display: block; font-size: 14px; color: #0E1A45; }
.cap-demo__head small { display: block; font-size: 12px; color: #15803D; }
.cap-demo__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2563EB, #254BBA); color: #fff; flex: none; }
.cap-demo__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #EFEAE2; }
.cap-demo__msg { max-width: 82%; padding: 9px 12px 6px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.cap-demo__msg time { display: block; text-align: right; font-size: 11px; color: #54656F; margin-top: 2px; }
.cap-demo__msg--in { align-self: flex-start; background: #FFFFFF; border-top-left-radius: 4px; }
.cap-demo__msg--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 4px; }
.cap-demo__fuente { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1D4ED8; background: #FFFFFF; border: 1px solid #DCE6F7; border-radius: 999px; padding: 5px 10px; }
html:not([data-theme="light"]) .cap-demo { background: #0F172A; border-color: rgba(122,168,255,.22); }
html:not([data-theme="light"]) .cap-demo__head { background: #131E38; border-color: rgba(122,168,255,.16); }
html:not([data-theme="light"]) .cap-demo__head strong { color: #F1F5F9; }
html:not([data-theme="light"]) .cap-demo__head small { color: #4ADE80; }
html:not([data-theme="light"]) .cap-demo__body { background: #0B1426; }
html:not([data-theme="light"]) .cap-demo__msg--in { background: #1E293B; color: #E2E8F0; }
html:not([data-theme="light"]) .cap-demo__msg--out { background: #134E3A; color: #E7F8EE; }
html:not([data-theme="light"]) .cap-demo__msg time { color: #94A3B8; }
html:not([data-theme="light"]) .cap-demo__fuente { background: #131E38; border-color: rgba(122,168,255,.25); color: #A5C4FF; }
/* Sin las líneas curvas, la sección de tarjetas queda limpia */
.cap-flow-section .cap-flow-grid { margin-top: 8px; }

/* Canales en claro: tarjetas blancas con sombra, en vez de casi transparentes */
html[data-theme="light"] .ch-card { background: #FFFFFF !important; border-color: #DCE6F7 !important; box-shadow: 0 12px 30px -24px rgba(14,26,69,.4); }
html[data-theme="light"] .ch-card:hover { border-color: #93B4F5 !important; box-shadow: 0 22px 40px -24px rgba(37,99,235,.45); }
html[data-theme="light"] .ch-card h3 { color: #0E1A45 !important; }
html[data-theme="light"] .ch-card p { color: #475569 !important; opacity: 1 !important; }
.ch-card { position: relative; display: flex !important; flex-direction: column; }
.ch-card-mas { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: #1D4ED8; }
.ch-card-tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #15803D; background: #DCFCE7; border-radius: 999px; padding: 3px 9px; }
html:not([data-theme="light"]) .ch-card-mas { color: #A5C4FF; }
html:not([data-theme="light"]) .ch-card-tag { color: #86EFAC; background: rgba(34,197,94,.14); }
.ch-hero-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ch-hero-logos span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #FFFFFF; box-shadow: 0 10px 24px -14px rgba(14,26,69,.45), inset 0 0 0 1px rgba(14,26,69,.06); }
.ch-hero-logos img { width: 24px; height: 24px; }

/* ── 16. Videos propios (v10.73, template-parts/video-tl.php) ─────────────── */
.tl-vid { position: relative; margin: 0; overflow: hidden; background: #0E1A45; line-height: 0; }
.tl-vid video { display: block; width: 100%; height: auto; cursor: pointer; }
.tl-vid--horizontal { border-radius: 18px; aspect-ratio: 16 / 9; box-shadow: 0 34px 70px -36px rgba(14,26,69,.5), 0 0 0 1px rgba(14,26,69,.06); }
.tl-vid--vertical { width: min(100%, 300px); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 30px; border: 7px solid #0E1A45; box-shadow: 0 34px 70px -30px rgba(14,26,69,.55); }
.tl-vid--horizontal video, .tl-vid--vertical video { height: 100%; object-fit: cover; }
.tl-vid__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(37,99,235,.92); color: #fff; cursor: pointer; box-shadow: 0 12px 30px rgba(14,26,69,.35); transition: opacity .2s ease, transform .2s ease; }
.tl-vid__play svg { margin-left: 3px; }
.tl-vid__play:hover { transform: scale(1.06); }
.tl-vid.is-reproduciendo .tl-vid__play { opacity: 0; pointer-events: none; }
.tl-vid__sonido { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border: 0; border-radius: 999px; background: rgba(14,26,69,.78); color: #fff; font: 600 13px/1 var(--font-body, inherit); cursor: pointer; backdrop-filter: blur(4px); }
.tl-vid__sonido:hover { background: rgba(14,26,69,.92); }
.tl-vid__sonido[aria-pressed="true"] { background: #2563EB; }
.tl-vid__play:focus-visible, .tl-vid__sonido:focus-visible { outline: 3px solid #7AA8FF; outline-offset: 3px; }

.tl-vid-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.tl-vid-grid--reel { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
.tl-vid-texto .section-label { margin-bottom: 14px; }
.tl-vid-texto .heading-xl { text-align: left; }
.tl-vid-texto .section-subtitle { text-align: left; margin: 14px 0 20px; }
.tl-vid-texto h2 { margin: 0 0 12px; }
.tl-vid-texto p { margin: 0 0 22px; }
.tl-vid-lista { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.tl-vid-lista li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tl-vid-lista svg { color: #2563EB; flex: none; }
html[data-theme="light"] .tl-vid-lista li { color: #1E293B; }
@media (max-width: 900px) {
  .tl-vid-grid, .tl-vid-grid--reel { grid-template-columns: 1fr; gap: 28px; }
  .tl-vid-grid--reel .tl-vid-texto { text-align: center; }
  .tl-vid-grid--reel .tl-vid-texto p { margin-inline: auto; max-width: 520px; }
}
/* En la página del canal WhatsApp el reel ocupa el lugar del chat de ejemplo del encabezado */
.cwa-mockup-wrap .tl-vid--vertical { width: min(100%, 290px); }
/* La página «WhatsApp bloqueado» centra todo el texto; junto al reel se lee mejor alineado a la izquierda */
@media (min-width: 901px) { .tlb .tl-vid-grid--reel .tl-vid-texto, .tlb .tl-vid-grid--reel .tl-vid-texto h2 { text-align: left; } }

/* ── 17. Aviso de cookies en claro (v10.74) ───────────────────────────────
   Era una caja casi negra de 780 px en medio de la parte de abajo; en claro pasa a una tarjeta
   blanca más baja, pegada al borde. Se mantiene «Solo esenciales» al mismo nivel que «Aceptar». */
html[data-theme="light"] .tl-cookie-banner { background: rgba(255,255,255,.98) !important; border-color: #DCE6F7 !important; box-shadow: 0 18px 50px -18px rgba(14,26,69,.35) !important; bottom: 12px; max-width: 720px; }
html[data-theme="light"] .tl-cookie-inner { padding: 12px 16px; gap: 14px; }
html[data-theme="light"] .tl-cookie-text p { color: #334155 !important; }
html[data-theme="light"] .tl-cookie-text a { color: #1D4ED8 !important; }
html[data-theme="light"] .tl-cookie-btn--outline { border-color: #CBD5E1 !important; color: #1E293B !important; background: #FFFFFF !important; }
html[data-theme="light"] .tl-cookie-btn--outline:hover { background: #F1F5F9 !important; }
html[data-theme="light"] .tl-cookie-btn--primary { background: #2563EB !important; }
.tl-cookie-btn { min-height: 40px; }

/* ── 18. Páginas por rubro en claro (v10.74) ───────────────────────────────
   El azul #457FED y el verde #16A34A de rubro-page.php se leían poco sobre blanco (3,3–3,8:1). */
html[data-theme="light"] .rb-guia, html[data-theme="light"] .rb-plan__eti, html[data-theme="light"] .rb-link,
html[data-theme="light"] .rb-pasos a.manual-ref { color: #1D4ED8 !important; }
html[data-theme="light"] .rb-nota, html[data-theme="light"] .rb-wa { color: #15803D !important; }

/* ── 19. Modo oscuro: textos con poco contraste (v10.76, revisión de 10 páginas) ── */
html:not([data-theme="light"]) .pft__cta-trust span, html:not([data-theme="light"]) .pft__stat-lbl,
html:not([data-theme="light"]) .prc-cta-final__trust span { color: #A9B8CC !important; }
html:not([data-theme="light"]) .ct-form-header p, html:not([data-theme="light"]) .ct-form-note,
html:not([data-theme="light"]) .ct-option-desc, html:not([data-theme="light"]) .ct-contact-label,
html:not([data-theme="light"]) .ct-hours-channel, html:not([data-theme="light"]) .ct-qfaq-a { color: #B6C6DA !important; }
/* chats de «La misma consulta, dos resultados»: texto gris sobre el verde oscuro de WhatsApp */
html:not([data-theme="light"]) .tl-ad .tl-ad-txt { color: #E9EDEF !important; }
html:not([data-theme="light"]) .tl-ad time, html:not([data-theme="light"]) .tl-ad-m time { color: rgba(233,237,239,.78) !important; }
html:not([data-theme="light"]) .tlai-nota { color: #A9B8CC !important; }
html:not([data-theme="light"]) .tl-vivo__top em { color: #A5C4FF !important; }
html:not([data-theme="light"]) .cap-demo__msg time { color: #CBD5E1; }
/* rubros y manuales: el azul de marca sobre fondo oscuro necesita ser más claro */
html:not([data-theme="light"]) .rb-guia, html:not([data-theme="light"]) .rb-plan__eti, html:not([data-theme="light"]) .rb-link,
html:not([data-theme="light"]) .rb-pasos a.manual-ref, html:not([data-theme="light"]) .rb-pasos b { color: #8FB4FF !important; }
html:not([data-theme="light"]) .manual-topic-count { color: #A5C4FF !important; }
/* modo claro: lo que quedaba de la misma revisión */
html[data-theme="light"] .manual-topic-count { color: #1D4ED8 !important; }
/* Precios: la franja de cifras es oscura también en claro; sus etiquetas grises casi no se leían */
html .prc-social-proof .prc-sp-stat span { color: #CBD5E1 !important; }
/* Precios en inglés y portugués (/pricing/, /precos/, diseño .pd): verde, ámbar y azul más oscuros en claro */
html[data-theme="light"] .pd .pd-toggle span, html[data-theme="light"] .pd .pd-calc__vs b { color: #15803D !important; }
html[data-theme="light"] .pd .pd-calc__eti { color: #B45309 !important; }
html[data-theme="light"] .pd .is-feat { color: #1D4ED8 !important; }

/* ── 20. Guía: WhatsApp Business, coexistencia o API (v10.78, page-templates/guia-whatsapp-page.php) ── */
.tlg { --tlg-ink: #0E1A45; --tlg-txt: #334155; --tlg-sub: #475569; --tlg-card: #FFFFFF; --tlg-borde: #DCE6F7; --tlg-alt: #F6F9FF; --tlg-azul: #2563EB; --tlg-azul-t: #1D4ED8; --tlg-rec: #EFF5FF; --tlg-si: #15803D; --tlg-no: #526075; }
html:not([data-theme="light"]) .tlg { --tlg-ink: #F1F5F9; --tlg-txt: #CBD5E1; --tlg-sub: #A9B8CC; --tlg-card: #0F172A; --tlg-borde: rgba(122,168,255,.2); --tlg-alt: #0B1222; --tlg-azul: #7AA8FF; --tlg-azul-t: #A5C4FF; --tlg-rec: rgba(37,99,235,.14); --tlg-si: #4ADE80; --tlg-no: #94A3B8; }
.tlg-narrow { max-width: 860px; }
.tlg-hero { text-align: center; padding-top: 64px; }
.tlg-hero h1 { color: var(--tlg-ink); max-width: 820px; margin: 0 auto; }
.tlg-hero h1 span { color: var(--tlg-azul); display: block; }
.tlg-hero .section-subtitle { max-width: 680px; margin: 18px auto 0; color: var(--tlg-sub); }
.tlg-saltar { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--tlg-azul-t); background: var(--tlg-rec); border: 1px solid var(--tlg-borde); text-decoration: none; }
.tlg-saltar:hover { border-color: var(--tlg-azul); }
.tlg-sec--alt { background: var(--tlg-alt); }
.tlg-h2 { font-family: var(--font-display, inherit); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.02em; color: var(--tlg-ink); text-align: center; margin: 0 0 14px; }
.tlg-sub { text-align: center; color: var(--tlg-sub); max-width: 640px; margin: 0 auto 28px; }

.tlg-tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.tlg-op { position: relative; background: var(--tlg-card); border: 1px solid var(--tlg-borde); border-radius: 20px; padding: 26px 24px; box-shadow: 0 18px 40px -30px rgba(14,26,69,.45); }
.tlg-op.es-rec { border: 2px solid var(--tlg-azul); background: linear-gradient(180deg, var(--tlg-rec), var(--tlg-card) 60%); }
.tlg-op-tag { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: #2563EB; color: #fff; font-size: 12px; font-weight: 700; }
.tlg-op-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tlg-rec); color: var(--tlg-azul); margin-bottom: 14px; }
.tlg-op h3 { font-size: 19px; margin: 0 0 8px; color: var(--tlg-ink); }
.tlg-op p { margin: 0 0 12px; color: var(--tlg-txt); line-height: 1.55; }
.tlg-op-ideal { font-size: 14px; color: var(--tlg-sub) !important; margin: 0 !important; }
.tlg-op-ideal strong { color: var(--tlg-ink); }

.tlg-flujos { display: grid; gap: 14px; }
.tlg-flujo { background: var(--tlg-card); border: 1px solid var(--tlg-borde); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; }
.tlg-flujo.es-rec { border-color: var(--tlg-azul); }
.tlg-flujo-nom { font-weight: 800; color: var(--tlg-ink); }
.tlg-flujo-pasos { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tlg-flujo-pasos > i { color: var(--tlg-no); font-style: normal; font-weight: 700; }
.tlg-destinos { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.tlg-nodo { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--tlg-txt); background: var(--tlg-alt); border: 1px solid var(--tlg-borde); }
.tlg-nodo img { width: 16px; height: 16px; }
.tlg-nodo--fin { color: var(--tlg-azul-t); background: var(--tlg-rec); }

.tlg-tabla-wrap { margin-top: 26px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--tlg-borde); background: var(--tlg-card); }
.tlg-tabla { width: 100%; border-collapse: collapse; min-width: 680px; }
.tlg-tabla th, .tlg-tabla td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--tlg-borde); vertical-align: top; font-size: 15px; color: var(--tlg-txt); }
.tlg-tabla thead th { font-size: 15px; font-weight: 800; color: var(--tlg-ink); background: var(--tlg-alt); }
.tlg-tabla tbody th { font-weight: 600; color: var(--tlg-ink); width: 32%; }
.tlg-tabla .es-rec { background: var(--tlg-rec); }
.tlg-tabla thead th.es-rec { color: var(--tlg-azul-t); }
.tlg-tabla tr:last-child th, .tlg-tabla tr:last-child td { border-bottom: 0; }
.tlg-si, .tlg-no { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tlg-si { color: var(--tlg-si); }
.tlg-no { color: var(--tlg-no); }
.tlg-matiz { font-size: 14px; color: var(--tlg-txt); }
.tlg-nota { display: flex; gap: 10px; align-items: flex-start; margin: 16px auto 0; max-width: 860px; font-size: 14px; line-height: 1.55; color: var(--tlg-sub); }
.tlg-nota svg { flex: none; margin-top: 2px; color: var(--tlg-azul); }

.tlg-quiz { display: grid; gap: 16px; margin-top: 26px; }
.tlg-quiz fieldset { border: 1px solid var(--tlg-borde); border-radius: 18px; padding: 18px 20px; margin: 0; background: var(--tlg-card); display: flex; flex-wrap: wrap; gap: 10px; }
.tlg-quiz legend { width: 100%; float: left; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--tlg-ink); margin-bottom: 10px; padding: 0; }
.tlg-quiz legend span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2563EB; color: #fff; font-size: 14px; flex: none; }
.tlg-quiz label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--tlg-borde); background: var(--tlg-alt); color: var(--tlg-txt); font-weight: 600; cursor: pointer; }
.tlg-quiz label:has(input:checked) { border-color: var(--tlg-azul); background: var(--tlg-rec); color: var(--tlg-azul-t); }
.tlg-quiz input { accent-color: #2563EB; }
.tlg-res { border: 2px solid var(--tlg-azul); border-radius: 20px; padding: 22px 24px; background: linear-gradient(180deg, var(--tlg-rec), var(--tlg-card)); }
.tlg-res-eti { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tlg-azul-t); }
.tlg-res strong { display: block; font-size: 24px; color: var(--tlg-ink); margin: 4px 0 8px; }
.tlg-res p { margin: 0 0 16px; color: var(--tlg-txt); line-height: 1.55; }
.tlg-res-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tlg-res-btns--centro { justify-content: center; margin-top: 8px; }

.tlg-saber { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.tlg-saber-c { background: var(--tlg-card); border: 1px solid var(--tlg-borde); border-radius: 18px; padding: 22px; }
.tlg-saber-c.es-rec { border-color: var(--tlg-azul); }
.tlg-saber-c h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 12px; color: var(--tlg-ink); }
.tlg-saber-c h3 svg { color: var(--tlg-azul); }
.tlg-saber-c ul { margin: 0 0 12px; padding-left: 18px; color: var(--tlg-txt); line-height: 1.55; display: grid; gap: 8px; }
.tlg-link { font-weight: 700; color: var(--tlg-azul-t); text-decoration: none; }
.tlg-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tlg-qr { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--tlg-borde); color: var(--tlg-txt); }
.tlg-qr svg { flex: none; color: #B45309; margin-top: 2px; }
.tlg-qr p { margin: 0; line-height: 1.55; }
.tlg-qr strong { color: var(--tlg-ink); }
.tlg-qr a { color: var(--tlg-azul-t); font-weight: 700; }
.tlg-fin { text-align: center; }
@media (max-width: 900px) {
  .tlg-tres, .tlg-saber { grid-template-columns: 1fr; }
  .tlg-flujo { grid-template-columns: 1fr; gap: 8px; }
}
/* Enlace a la guía desde otras páginas */
.tlg-aviso { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px auto 0; padding: 14px 18px; max-width: 760px; border-radius: 16px; background: #EFF5FF; border: 1px solid #C7D9FF; color: #1E293B; font-weight: 600; text-align: center; }
.tlg-aviso a { color: #1D4ED8; font-weight: 800; text-decoration: none; }
.tlg-aviso a:hover { text-decoration: underline; text-underline-offset: 3px; }
html:not([data-theme="light"]) .tlg-aviso { background: rgba(37,99,235,.14); border-color: rgba(122,168,255,.3); color: #E2E8F0; }
html:not([data-theme="light"]) .tlg-aviso a { color: #A5C4FF; }

/* ── 21. «¿Algo te da duda?»: mini comparación WhatsApp Business / coexistencia / API (v10.79) ── */
.tl-duda-tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 16px; }
.tl-duda-op { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; border-radius: 14px; border: 1px solid rgba(122,168,255,.22); background: rgba(15,23,42,.6); text-align: left; }
.tl-duda-op.es-rec { border: 2px solid #4F7DF3; background: rgba(37,99,235,.16); }
.tl-duda-op-tag { position: absolute; top: -10px; left: 12px; padding: 2px 9px; border-radius: 999px; background: #2563EB; color: #fff; font-size: 11px; font-weight: 700; }
.tl-duda-op-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(122,168,255,.16); color: #A5C4FF; margin-bottom: 4px; }
.tl-duda-op b { font-size: 15px; color: #F1F5F9; }
.tl-duda-op small { font-size: 13.5px; line-height: 1.45; color: #CBD5E1; }
.tl-duda-op em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #A5C4FF; margin-top: 2px; }
html[data-theme="light"] .tl-duda-op { background: #FFFFFF; border-color: #DCE6F7; }
html[data-theme="light"] .tl-duda-op.es-rec { background: #EFF5FF; border-color: #2563EB; }
html[data-theme="light"] .tl-duda-op-ico { background: #EFF5FF; color: #2563EB; }
html[data-theme="light"] .tl-duda-op b { color: #0E1A45; }
html[data-theme="light"] .tl-duda-op small { color: #475569; }
html[data-theme="light"] .tl-duda-op em { color: #1D4ED8; }
@media (max-width: 720px) {
  .tl-duda-tres { grid-template-columns: 1fr; gap: 10px; }
  .tl-duda-op { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; padding: 12px 12px 10px; }
  .tl-duda-op-ico { margin: 0; width: 30px; height: 30px; }
  .tl-duda-op b { flex: 1; }
  .tl-duda-op small, .tl-duda-op em { width: 100%; }
  .tl-duda-op.es-rec { margin-top: 6px; }
}

/* ── 22. Hero «Escenario 3D» en computadora y «Conversación primero» en celular (v10.83) ─────────────
   Computadora: el panel real se ve inclinado sobre un piso de luz y se endereza al bajar (tl-motion.js);
   los marcadores numerados pasan a etiquetas con texto (el detalle sale al pasar el mouse) y dejan de
   latir. Celular (≤ 760 px): en vez del panel en miniatura, un chat donde la IA vende (hero-chat-movil.php). */
.tl-hchat { display: none; }
@media (min-width: 761px) {
  .hero--v2 .hero-dashboard-wrap { transform-origin: 50% 0; }
  .tl-motion .hero--v2 .hero-dashboard-wrap {
    transform: perspective(1800px) rotateX(calc(var(--tl-incl, 0) * 13deg)) scale(calc(1 - var(--tl-incl, 0) * .035));
    will-change: transform;
  }
  .hero--v2 .dashboard { box-shadow: 0 70px 120px -50px rgba(37,99,235,.55), 0 0 0 1px rgba(122,168,255,.18) !important; }
  html[data-theme="light"] .hero--v2 .dashboard { box-shadow: 0 60px 110px -50px rgba(37,99,235,.45), 0 0 0 1px rgba(14,26,69,.08) !important; }

  /* marcadores → etiquetas */
  .hero--v2 .tl-hot {
    width: auto; height: 34px; padding: 0 13px 0 4px; display: inline-flex; align-items: center; gap: 8px;
    border-radius: 999px; white-space: nowrap; color: #F1F5F9;
    background: rgba(10,16,32,.94); border: 1px solid rgba(122,168,255,.32);
    box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
    animation: tlHotChip .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.7s + var(--d) * 1.4);
  }
  .hero--v2 .tl-hot::before { display: none; }
  .hero--v2 .tl-hot--r { transform: translate(calc(-100% + 17px), -50%); }
  .hero--v2 .tl-hot--l { transform: translate(-17px, -50%); }
  .hero--v2 .tl-hot-num { width: 26px; height: 26px; border-radius: 50%; background: var(--c); line-height: 26px; font-size: 12.5px; flex: none; color: #0E1A45; }
  .hero--v2 .tl-hot-lbl { font: 700 13px/1 var(--font-body, inherit); }
  .hero--v2 .tl-hot-tip { bottom: calc(100% + 10px); }
  html[data-theme="light"] .hero--v2 .tl-hot { color: #0E1A45; background: rgba(255,255,255,.97); border-color: #DCE6F7; box-shadow: 0 14px 30px -14px rgba(14,26,69,.45); }
  @keyframes tlHotChip { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .hero--v2 .tl-hot { animation: none !important; }
  .tl-motion .hero--v2 .hero-dashboard-wrap { transform: none !important; }
}

/* ── Celular: chat donde la IA vende ── */
@media (max-width: 760px) {
  .hero--v2 .tl-hp-bar, .hero--v2 .hero-dashboard-wrap { display: none !important; }
  .tl-hchat { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 8px auto 18px; }
  .tl-hchat-tel { width: min(330px, 88vw); border-radius: 34px; padding: 9px; background: #0B0F1A; box-shadow: 0 30px 70px -28px rgba(14,26,69,.6), 0 0 0 1px rgba(122,168,255,.25); }
  .tl-hchat-h { display: flex; align-items: center; gap: 10px; padding: 14px 14px 11px; border-radius: 26px 26px 0 0; background: #075E54; color: #fff; text-align: left; }
  .tl-hchat-h b { display: block; font-size: 15px; line-height: 1.2; }
  .tl-hchat-h small { font-size: 12px; opacity: .85; }
  .tl-hchat-av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
  .tl-hchat-body { min-height: 330px; display: flex; flex-direction: column; gap: 8px; padding: 12px 10px 14px; border-radius: 0 0 26px 26px; background: #EFEAE2; text-align: left; }
  .tl-hchat-b { max-width: 84%; padding: 8px 11px 5px; border-radius: 12px; font-size: 14px; line-height: 1.4; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
  .tl-hchat-b small { display: block; text-align: right; font-size: 10.5px; color: #54656F; margin-top: 2px; }
  .tl-hchat-b--in { align-self: flex-start; background: #FFFFFF; border-top-left-radius: 3px; }
  .tl-hchat-b--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
  .tl-hchat-ia { display: block; font-size: 11px; font-weight: 700; color: #6D28D9; margin-bottom: 2px; }
  .tl-hchat-sello { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #15803D; color: #fff; font-size: 13px; font-weight: 700; }
  .tl-hchat-escribe { display: none; align-self: flex-start; gap: 4px; padding: 10px 12px; border-radius: 12px; background: #FFFFFF; }
  .tl-hchat-escribe i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: tlHchatPunto 1s ease-in-out infinite; }
  .tl-hchat-escribe i:nth-child(2) { animation-delay: .15s; } .tl-hchat-escribe i:nth-child(3) { animation-delay: .3s; }
  @keyframes tlHchatPunto { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
  .tl-hchat-pruebas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .tl-hchat-pruebas span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #1E293B; background: #FFFFFF; border: 1px solid #DCE6F7; }
  .tl-hchat-pruebas svg { color: #2563EB; }
  /* reproducción: los mensajes aparecen uno por uno (pulido.js) */
  .tl-hchat--js .tl-hchat-b, .tl-hchat--js .tl-hchat-sello { opacity: 0; translate: 0 8px; transition: opacity .35s ease, translate .35s ease; }
  .tl-hchat--js .is-on { opacity: 1; translate: 0 0; }
  .tl-hchat--js.is-escribiendo .tl-hchat-escribe { display: flex; }
  html:not([data-theme="light"]) .tl-hchat-h { background: #1F2C34; }
  html:not([data-theme="light"]) .tl-hchat-body { background: #0B141A; }
  html:not([data-theme="light"]) .tl-hchat-b { color: #E9EDEF; }
  html:not([data-theme="light"]) .tl-hchat-b--in, html:not([data-theme="light"]) .tl-hchat-escribe { background: #1F2C34; }
  html:not([data-theme="light"]) .tl-hchat-b--out { background: #005C4B; }
  html:not([data-theme="light"]) .tl-hchat-b small { color: rgba(233,237,239,.72); }
  html:not([data-theme="light"]) .tl-hchat-ia { color: #C4B5FD; }
  html:not([data-theme="light"]) .tl-hchat-pruebas span { color: #E2E8F0; background: rgba(15,23,42,.8); border-color: rgba(122,168,255,.25); }
  html:not([data-theme="light"]) .tl-hchat-pruebas svg { color: #A5C4FF; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .tl-hchat-escribe i { animation: none; } }
