.jf-chat { position: fixed; bottom: 24px; right: 24px; z-index: 1050; font: 15px/1.5 Arial, sans-serif; color: #21352f; }
.jf-chat [hidden] { display: none !important; }
.jf-chat button, .jf-chat a { cursor: pointer; }
.jf-chat button { font: inherit; }
.jf-chat button:focus-visible, .jf-chat a:focus-visible, .jf-chat textarea:focus-visible { outline: 3px solid #d6a52b; outline-offset: 3px; }
.jf-chat-launcher { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 14px 20px; border: 0; border-radius: 30px; color: #fff; background: #087c51; box-shadow: 0 4px 20px #0003; }
.jf-chat-panel { display: flex; flex-direction: column; width: 360px; max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); margin-bottom: 12px; overflow: hidden; border: 1px solid #dce6e0; border-radius: 18px; background: #fff; box-shadow: 0 10px 40px #0003; }
.jf-chat-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; background: #075e45; color: white; }
.jf-chat-header strong { display: block; font-size: 18px; }
.jf-chat-header small { color: #dbf2e6; }
.jf-chat-close { padding: 4px 10px; border: 0; background: transparent; color: white; font-size: 26px !important; }
.jf-chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: #e3f3eb; color: #075e45; font-size: 23px; font-weight: bold; }
.jf-chat-heading { flex: 1; }
.jf-chat-log { overflow-y: auto; padding: 18px; background-color: #efeae2; background-image: radial-gradient(#cfc5b755 1px, transparent 1px); background-size: 18px 18px; min-height: 0; height: 300px; flex: 1 1 auto; }
.jf-chat-message { width: fit-content; max-width: 94%; margin: 0 0 12px; padding: 11px 13px; border-radius: 12px 12px 12px 2px; background: white; color: #21352f; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.jf-chat-message-user { margin-left: auto; background: #d8f3e2; border-radius: 12px 12px 2px 12px; }
.jf-chat-header, .jf-chat-form, .jf-chat-actions, .jf-chat-note { flex-shrink: 0; }
.jf-chat-form, .jf-chat-actions { padding: 10px; background: #f0f2f5; }
.jf-chat-form label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.jf-chat-composer { display: flex; align-items: flex-end; gap: 8px; }
.jf-chat-input { display: block; box-sizing: border-box; width: 100%; min-width: 0; height: 44px; min-height: 44px; max-height: 100px; resize: none; padding: 12px 16px; border: 0; border-radius: 22px; font: inherit; line-height: 20px; color: #21352f; background: white; }
.jf-chat-next { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #087c51; color: white; }
.jf-chat-whatsapp { display: block; width: 100%; padding: 11px; border: 0; border-radius: 8px; background: #087c51; color: white !important; text-align: center; font: inherit; }
.jf-chat-reset { display: block; margin: 10px auto 0; border: 0; background: transparent; color: #075e45; text-decoration: underline; }
.jf-chat-note { margin: 0; padding: 8px 14px; background: #f0f2f5; font-size: 11px; line-height: 1.5; color: #596b60; }
.jf-chat-error:empty { display: none; }
.jf-chat-error { margin: 6px 0 0; color: #b42318; font-size: 13px; }
@media (max-width: 480px) { .jf-chat { right: 16px; bottom: 16px; } .jf-chat-panel { width: calc(100vw - 32px); } }
