.ventana-chat[hidden]{display:none!important}.boton-chat{position:fixed;right:22px;bottom:78px;z-index:9998;width:60px;height:60px;border:0;border-radius:50%;background:#ef7f58;color:white;font-size:27px;box-shadow:0 6px 24px #4a3a3040;cursor:pointer}.ventana-chat{position:fixed;right:22px;bottom:148px;z-index:9999;width:min(360px,calc(100vw - 28px));height:min(480px,calc(100dvh - 170px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #ece5e0;border-radius:18px;box-shadow:0 12px 45px #4a3a3038;font-family:Arial,sans-serif;color:#4a3a30}.chat-cabecera{display:flex;align-items:center;justify-content:space-between;padding:15px;background:#fbeaea}.cerrar-chat{background:transparent;border:0;font-size:22px;cursor:pointer;color:#4a3a30}.chat-mensajes{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fffaf7}.chat-burbuja{max-width:86%;padding:10px 12px;border-radius:14px;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.chat-burbuja.model{align-self:flex-start;background:#f4ebe1}.chat-burbuja.user{align-self:flex-end;background:#e7b9b5}.chat-form{display:flex;gap:7px;padding:10px;border-top:1px solid #ece5e0;background:white}.chat-form input{flex:1;min-width:0;border:1px solid #ece5e0;border-radius:9px;padding:10px;font-size:14px}.chat-form button{background:#c95a36;border:0;border-radius:9px;color:white;padding:0 12px;cursor:pointer}.chat-form button:disabled{opacity:.55}@media(max-width:480px){.boton-chat{right:14px;bottom:75px}.ventana-chat{right:14px;bottom:145px}}