/* Chemical EXS v2.9.93 · chatbot limpio y estable */
.cx-chat-v2993{
  position:fixed !important;
  right:max(18px,env(safe-area-inset-right)) !important;
  bottom:max(18px,env(safe-area-inset-bottom)) !important;
  z-index:2147482000 !important;
  contain:layout style;
}
.cx-chat-v2993 [data-chat-window][hidden]{display:none !important}
.cx-chat-v2993:not(.is-open) [data-chat-window]{display:none !important}
.cx-chat-v2993 .cx-chat-head-copy{min-width:0}
.cx-chat-v2993 .cx-chat-head-copy small{
  display:block;
  margin-top:5px;
  overflow:hidden;
  color:#cce8ff !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  line-height:1.25;
  text-transform:none !important;
  text-overflow:ellipsis;
  white-space:nowrap;
}
/* Elimina la estrella que tapaba el saludo */
.cx-chat-v2993 .cx-chat-message.bot .cx-chat-bubble{
  padding-left:15px !important;
}
.cx-chat-v2993 .cx-chat-message.bot .cx-chat-bubble::before,
.cx-chat-v2993 .cx-chat-message[data-chat-message-type="welcome"] .cx-chat-bubble::after{
  display:none !important;
  content:none !important;
}
/* El chatbot nunca recibe las etiquetas globales de captura */
.cx-chat-v2993 .cx-field-current::after,
.cx-chat-v2993 .cx-next-field::after,
.cx-chat-v2993 .cx-next-action::after{
  display:none !important;
  content:none !important;
}
.cx-chat-v2993 .cx-chat-form,
.cx-chat-v2993 .cx-chat-compose,
.cx-chat-v2993 textarea{
  outline:none !important;
}
@media(max-width:760px){
  .cx-chat-v2993{
    right:max(7px,env(safe-area-inset-right)) !important;
    bottom:max(7px,env(safe-area-inset-bottom)) !important;
  }
  .cx-chat-v2993 .cx-chat-window{
    position:fixed !important;
    inset:max(7px,env(safe-area-inset-top)) max(7px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left)) !important;
    width:auto !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
  }
  .cx-chat-v2993.is-open .cx-chat-launcher{
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
  .cx-chat-v2993 .cx-chat-head-copy small{
    max-width:190px;
  }
}
