#tbd-chat-root{position:fixed;right:20px;bottom:20px;z-index:99990;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#193044;text-align:left;box-sizing:border-box;max-width:calc(100vw - 32px)}
#tbd-chat-root *,#tbd-chat-root *:before,#tbd-chat-root *:after{box-sizing:border-box}#tbd-chat-root [hidden]{display:none!important}#tbd-chat-root button{font:inherit;cursor:pointer;text-transform:none;letter-spacing:normal;border:0;box-shadow:none;margin:0}#tbd-chat-root button:focus-visible,#tbd-chat-root textarea:focus-visible{outline:2px solid #087f91;outline-offset:2px}
#tbd-chat-root .tbd-launch,#tbd-chat-root .tbd-head{background:linear-gradient(120deg,#00b5b5,#20468e);color:white}#tbd-chat-root .tbd-launch{border-radius:30px;padding:12px 20px;box-shadow:0 6px 24px #123b5533;font-weight:650}#tbd-chat-root .tbd-panel{width:365px;max-width:100%;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 36px #123b5540;border:1px solid #dce5eb;display:flex;flex-direction:column;max-height:calc(100dvh - 40px)}
#tbd-chat-root .tbd-head{padding:14px;display:flex;align-items:center;gap:10px;flex-shrink:0}#tbd-chat-root .tbd-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #ffffff99}#tbd-chat-root .tbd-name{font-weight:700;font-size:16px;line-height:1.3}#tbd-chat-root .tbd-sub{font-size:11px;color:#fff;opacity:.92}#tbd-chat-root .tbd-heading{flex:1;min-width:0}#tbd-chat-root .tbd-icon{color:white;background:transparent;font-size:22px;padding:2px 6px;line-height:1.2}#tbd-chat-root .tbd-preview{font-size:11px;text-align:center;background:#edf5f7;color:#496270;padding:4px}
#tbd-chat-root .tbd-log{height:300px;min-height:75px;overflow:auto;overscroll-behavior:contain;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fff}#tbd-chat-root .tbd-msg{padding:10px 12px;border-radius:12px;max-width:88%;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start;background:#087f91;color:white}#tbd-chat-root .tbd-visitor{align-self:flex-end;background:#e9eef1;color:#193044}#tbd-chat-root .tbd-meta{font-size:10px;opacity:.85;margin-bottom:3px}#tbd-chat-root .tbd-status{padding:0 12px;font-size:12px;color:#526373;min-height:18px}#tbd-chat-root .tbd-compose{display:flex;gap:8px;padding:10px;border-top:1px solid #e1e9ee;align-items:center}#tbd-chat-root textarea{font:inherit;color:#193044;background:#fff;border:1px solid #d5e0e6;border-radius:9px;min-height:48px;height:48px;resize:none;padding:9px;width:100%;min-width:0;margin:0}#tbd-chat-root .tbd-send{background:#087f91;color:#fff;border-radius:9px;padding:10px 12px;white-space:nowrap}#tbd-chat-root button:disabled{opacity:.55;cursor:default}#tbd-chat-root .tbd-privacy{padding:0 12px 10px;font-size:10px;color:#526373}#tbd-chat-root .tbd-privacy a{color:#087f91;text-decoration:underline}#tbd-chat-root .tbd-reset{color:#087f91;background:none;padding:4px 12px;font-size:12px;text-align:left}
@media(max-width:480px){#tbd-chat-root{right:10px;bottom:10px;max-width:calc(100vw - 20px)}#tbd-chat-root .tbd-panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}#tbd-chat-root .tbd-log{height:min(300px,38dvh)}}

#tbd-chat-root .tbd-ticks{display:block;text-align:right;font-size:13px;font-weight:650;color:#637784;letter-spacing:-2px;padding-right:2px;line-height:1.2}#tbd-chat-root .tbd-ticks.tbd-read{color:#006dc9}#tbd-chat-root .tbd-sub.tbd-online:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#76e3a1;margin-right:5px}

#tbd-chat-root .tbd-avatar[hidden]{display:none!important}
#tbd-chat-root .tbd-avatar-fallback{display:flex;align-items:center;justify-content:center;background:#e9e9e9;color:#333;font-size:22px;font-weight:600;flex-shrink:0}

#tbd-chat-root .tbd-ai-typing{display:flex;align-items:center;gap:7px;padding:8px 10px;color:inherit;font-size:12px;opacity:.8}#tbd-chat-root .tbd-ai-typing img{width:26px;height:26px;border-radius:50%;object-fit:cover}#tbd-chat-root .tbd-ai-dots{display:flex;gap:3px}#tbd-chat-root .tbd-ai-dots i{width:5px;height:5px;background:currentColor;border-radius:50%;animation:tbd-ai-dot 1.2s infinite}#tbd-chat-root .tbd-ai-dots i:nth-child(2){animation-delay:.15s}#tbd-chat-root .tbd-ai-dots i:nth-child(3){animation-delay:.3s}@keyframes tbd-ai-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){#tbd-chat-root .tbd-ai-dots i{animation:none}}
