#tqcb-root { position: fixed; bottom: 20px; right: 20px; z-index: 999999; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#tqcb-bubble { width: 60px; height: 60px; border-radius: 50%; border: none; background: #5eb402; color: #fff; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
#tqcb-bubble:hover { transform: scale(1.06); }
#tqcb-panel { position: absolute; bottom: 76px; right: 0; width: 370px; max-width: 92vw; height: 540px; max-height: 76vh; background: #fff; border-radius: 16px; box-shadow: 0 14px 44px rgba(0,0,0,.30); display: flex; flex-direction: column; overflow: hidden; }
.tqcb-hidden { display: none !important; }
#tqcb-header { background: #5eb402; color: #fff; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; }
#tqcb-header strong { display: block; font-size: 15px; }
#tqcb-header span { display: block; font-size: 12px; opacity: .8; }
#tqcb-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; padding: 0 2px; }
#tqcb-messages { flex: 1; overflow-y: auto; padding: 14px; background: #f4f7fa; display: flex; flex-direction: column; }
.tqcb-msg { margin: 6px 0; padding: 10px 13px; border-radius: 14px; max-width: 86%; line-height: 1.45; font-size: 14px; word-wrap: break-word; }
.tqcb-bot { background: #fff; border: 1px solid #e2e8f0; color: #1a2733; align-self: flex-start; border-bottom-left-radius: 4px; }
.tqcb-user { background: #6ac607; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.tqcb-msg a { color: #6ac607; font-weight: 600; text-decoration: underline; }
.tqcb-user a { color: #fff; }
.tqcb-book { margin-top: 9px; }
.tqcb-book-btn { background: #fff; border: 1px solid #5eb402; color: #5eb402; border-radius: 20px; padding: 5px 13px; font-size: 13px; font-weight: 600; cursor: pointer; }
.tqcb-book-btn:hover { background: #5eb402; color: #fff; }
#tqcb-inputbar { display: flex; border-top: 1px solid #e2e8f0; padding: 9px; background: #fff; }
#tqcb-input { flex: 1; border: 1px solid #d3dce6; border-radius: 22px; padding: 10px 14px; font-size: 14px; outline: none; }
#tqcb-input:focus { border-color: #6ac607; }
#tqcb-send { background: #6ac607; color: #fff; border: none; border-radius: 22px; padding: 0 18px; margin-left: 7px; cursor: pointer; font-weight: 600; font-size: 14px; }
#tqcb-send:hover { background: #4e9600; }
#tqcb-disclaimer { font-size: 10.5px; color: #7c8a99; text-align: center; padding: 6px 10px; background: #fff; border-top: 1px solid #eef2f6; }
.tqcb-lead { display: flex; flex-direction: column; gap: 7px; margin-top: 9px; }
.tqcb-lead input { border: 1px solid #d3dce6; border-radius: 8px; padding: 9px; font-size: 13px; }
.tqcb-lead button { background: #5eb402; color: #fff; border: none; border-radius: 8px; padding: 9px; cursor: pointer; font-weight: 600; }
.tqcb-typing i { display: inline-block; width: 6px; height: 6px; margin: 0 1px; background: #9aa7b4; border-radius: 50%; animation: tqcb-blink 1.2s infinite both; }
.tqcb-typing i:nth-child(2) { animation-delay: .2s; }
.tqcb-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes tqcb-blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }

/* v0.7.0 — avatar, launcher image, quick-action chips */
#tqcb-bubble { padding: 0; overflow: hidden; }
.tqcb-bubble-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; display: block; }
#tqcb-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center; margin-right: 10px; border: 2px solid rgba(255,255,255,.55); flex: 0 0 auto; }
.tqcb-hd-text { flex: 1 1 auto; min-width: 0; }
.tqcb-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.tqcb-chip { background: #fff; border: 1px solid #6ac607; color: #6ac607; border-radius: 16px; padding: 6px 12px; font-size: 12.5px; line-height: 1.2; cursor: pointer; }
.tqcb-chip:hover { background: #6ac607; color: #fff; }
.tqcb-chip-cal { border-color: #5eb402; color: #5eb402; font-weight: 600; }
.tqcb-chip-cal:hover { background: #5eb402; color: #fff; }

/* v1.2.0 — Try-now CTA + follow-up suggestion chips */
.tqcb-cta { margin-top: 9px; }
.tqcb-cta-btn { display: inline-block; background: #6ac607; color: #fff; border: none; border-radius: 20px; padding: 8px 16px; font-size: 13px; font-weight: 700; text-decoration: none; }
.tqcb-cta-btn:hover { background: #4e9600; color: #fff; }
.tqcb-suggests { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tqcb-suggest { font-size: 12px; }

/* v1.2.1 — new-conversation (refresh) button */
#tqcb-refresh { background: none; border: none; color: #fff; cursor: pointer; padding: 0 4px; margin-right: 2px; display: flex; align-items: center; opacity: .85; }
#tqcb-refresh:hover { opacity: 1; }

/* v1.2.2 — force Try-now button text white (override chat link color) */
.tqcb-msg a.tqcb-cta-btn, .tqcb-cta a.tqcb-cta-btn { color: #fff !important; text-decoration: none !important; }
.tqcb-msg a.tqcb-cta-btn:hover { color: #fff !important; }
