/* Livay v429 · Levi IA: solo chat de texto (sin voz), cabecera con degradado (modelo C) y texto del cuadro siempre visible. */

/* sin nada de voz */
html body #ia-mic, html body #ia-voz, html body #ia-modo-voz, html body #ia-panel .lvl-nav, html body #levi-voz, html body .lv-vozsel { display: none !important; }

/* cabecera con degradado */
html body #ia-panel .ia-hd:not(#_a1) {
  background: linear-gradient(135deg, #E0335A 0%, #8E1C45 100%) !important;
  color: #fff !important; border: 0 !important; border-radius: 0 0 22px 22px !important;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 16px !important; box-shadow: 0 8px 24px rgba(142, 28, 69, .25) !important;
}
html body #ia-panel .ia-hd .ia-tt b { color: #fff !important; font-weight: 800 !important; font-size: 17px !important; }
html body #ia-panel .ia-hd .ia-tt small { color: #FFD9E2 !important; }
html body #ia-panel .ia-hd .ia-ib, html body #ia-panel .ia-hd button:not(.lvm-btn) { background: rgba(255, 255, 255, .16) !important; color: #fff !important; border: 0 !important; }
html body #ia-panel .ia-hd .ia-ib svg, html body #ia-panel .ia-hd button:not(.lvm-btn) svg { stroke: #fff !important; }

/* el texto que escribes se ve oscuro (antes salía blanco sobre blanco) */
html body #ia-panel #ia-in, html body #ia-panel textarea {
  color: #16262D !important; -webkit-text-fill-color: #16262D !important; caret-color: #E0335A !important; background: #fff !important; opacity: 1 !important;
}
html body #ia-panel #ia-in::placeholder, html body #ia-panel textarea::placeholder { color: #9AA0A3 !important; -webkit-text-fill-color: #9AA0A3 !important; }

/* sin la barra Voz | Chat, el chat usa todo el alto */
html body #ia-panel.lvm-l { padding-bottom: 0 !important; }

/* más fuerte que ia.css (fondo oscuro + letras claras) y que livay-tema.css (fondo blanco a todos los campos):
   esa mezcla dejaba letras claras sobre fondo blanco */
html body #ia-panel #ia-form #ia-in:not(#_a1):not(#_a2) {
  background-color: #FFFFFF !important; color: #16262D !important; -webkit-text-fill-color: #16262D !important;
  border: 1.5px solid #E2E5E3 !important; caret-color: #E0335A !important;
}
html body #ia-panel #ia-form #ia-in:not(#_a1):not(#_a2)::placeholder { color: #9AA0A3 !important; -webkit-text-fill-color: #9AA0A3 !important; }
html body #ia-panel #ia-form #ia-mic:not(#_a1), html body #ia-panel #ia-voz:not(#_a1), html body #ia-panel #ia-modo-voz:not(#_a1) { display: none !important; }/* el espacio de 88 px abajo era para la barra Voz | Chat, que ya no existe */
html body #ia-panel .ia-ft:not(#_a1), html body #ia-panel #ia-form:not(#_a1) { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; }/* v429 · botón ✕ siempre visible: cierra el chat y Levi vuelve a ser la burbuja en el área donde estabas */
html body #ia-panel .ia-hd #ia-x:not(#_a1):not(#_a2){display:grid!important;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.18)!important;color:#fff!important;border:0!important;font-size:18px}
html body #ia-panel .ia-hd #ia-x svg{stroke:#fff!important}