.qnein-chat { position: fixed; right: 20px; bottom: 20px; z-index: 9999; font-family: Jost, "Futura PT", Futura, sans-serif; }
.qnein-chat-launcher { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: #000; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.18); text-decoration: none; }
.qnein-chat-launcher-wa { background: #25d366; color: #fff; }
.qnein-chat-launcher-wa:hover { color: #fff; }
.qnein-chat-panel { position: absolute; right: 0; bottom: 62px; display: none; flex-direction: column; width: min(360px, calc(100vw - 24px)); height: min(520px, calc(100vh - 120px)); overflow: hidden; background: #fff; border: 1px solid #ded6d1; box-shadow: 0 18px 40px rgba(44,44,44,.16); }
.qnein-chat-panel.is-open { display: flex; }
.qnein-chat-panel[hidden] { display: none !important; }
.qnein-chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 12px 12px 16px; background: #f6f2ef; }
.qnein-chat-head > div { flex: 1; min-width: 0; padding-right: 4px; }
.qnein-chat-head strong { display: block; color: #2c2c2c; font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.qnein-chat-head p { margin: 6px 0 0; color: #2c2c2c; font-size: 13px; line-height: 1.4; }
.qnein-chat-close { position: relative; z-index: 3; flex: 0 0 40px; width: 40px; height: 40px; margin: -6px -4px 0 0; border: 0; background: transparent; color: #2c2c2c; font-size: 28px; line-height: 1; cursor: pointer; }
.qnein-chat-log { flex: 1; overflow: auto; padding: 14px; background: #fff; }
.qnein-chat-bubble { max-width: 86%; margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.qnein-chat-bubble.is-visitor { margin-left: auto; background: #2c2c2c; color: #fff; }
.qnein-chat-bubble.is-operator { background: #f6f2ef; color: #2c2c2c; }
.qnein-chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #ded6d1; }
.qnein-chat-form input[type="text"] { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #ded6d1; background: #fff; }
.qnein-chat-form button { height: 42px; padding: 0 14px; border: 0; background: #000; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.qnein-chat-whatsapp { display: block; padding: 10px 12px 14px; color: #25d366; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; }
.qnein-chat-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 640px) {
  .qnein-chat { right: 12px; bottom: 12px; }
}
