#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: #0a3d62; 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: #0a3d62; 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: #1e6fd9; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.tqcb-msg a { color: #1e6fd9; font-weight: 600; text-decoration: underline; }
.tqcb-user a { color: #fff; }
.tqcb-book { margin-top: 9px; }
.tqcb-book-btn { background: #fff; border: 1px solid #0a3d62; color: #0a3d62; border-radius: 20px; padding: 5px 13px; font-size: 13px; font-weight: 600; cursor: pointer; }
.tqcb-book-btn:hover { background: #0a3d62; 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: #1e6fd9; }
#tqcb-send { background: #1e6fd9; 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: #175bb5; }
#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: #0a3d62; 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; } }
