#qbm-widget{position:fixed;bottom:var(--qbm-bottom, 28px);z-index:99999;font-family:'Segoe UI',system-ui,-apple-system,sans-serif}#qbm-widget.qbm-pos-right{right:var(--qbm-side, 28px)}#qbm-widget.qbm-pos-left{left:var(--qbm-side, 28px)}#qbm-toggle{width:60px;height:60px;border-radius:50%;background:var(--qbm-primary, #E8801A);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(0,0,0,0.25);transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1);position:relative;margin-left:auto}#qbm-toggle:hover{background:var(--qbm-primary-dark, #c96d14);transform:scale(1.08)}#qbm-toggle
svg{width:26px;height:26px;fill:white;transition:all 0.3s ease}.qbm-icon-close{display:none}#qbm-widget.open .qbm-icon-chat{display:none}#qbm-widget.open .qbm-icon-close{display:block}#qbm-toggle::after{content:'';position:absolute;top:2px;right:2px;width:12px;height:12px;background:#22c55e;border-radius:50%;border:2px
solid white;animation:qbm-pulse 2s infinite}#qbm-widget.open #qbm-toggle::after{display:none}@keyframes qbm-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:0.8}}#qbm-window{position:absolute;bottom:76px;width:370px;height:580px;background:#fff;border-radius:16px;box-shadow:0 8px 40px rgba(0,0,0,0.18);display:flex;flex-direction:column;overflow:hidden;transform:scale(0.85) translateY(20px);transform-origin:bottom right;opacity:0;pointer-events:none;transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1)}#qbm-widget.qbm-pos-right #qbm-window{right:0;transform-origin:bottom right}#qbm-widget.qbm-pos-left  #qbm-window{left:0;transform-origin:bottom left}#qbm-widget.open #qbm-window{transform:scale(1) translateY(0);opacity:1;pointer-events:all}#qbm-window.fullscreen{position:fixed !important;top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;width:100vw !important;height:100vh !important;border-radius:0 !important;transform:none !important;z-index:999999 !important}#qbm-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:99998}#qbm-overlay.visible{display:block}#qbm-header{background:var(--qbm-primary, #E8801A);padding:14px
16px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}#qbm-header-left{display:flex;align-items:center;gap:10px;overflow:hidden}#qbm-logo{width:36px;height:36px;border-radius:8px;background:white;object-fit:contain;padding:3px;flex-shrink:0}#qbm-title{font-size:15px;font-weight:700;color:white;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#qbm-subtitle{font-size:11px;color:rgba(255,255,255,0.85);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#qbm-status{display:flex;align-items:center;gap:4px;font-size:11px;color:rgba(255,255,255,0.9);margin-top:2px}.qbm-dot-green{display:inline-block;width:7px;height:7px;background:#22c55e;border-radius:50%;flex-shrink:0}#qbm-header-right{display:flex;gap:4px;flex-shrink:0}#qbm-header-right
button{background:none;border:none;color:white;font-size:20px;cursor:pointer;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background 0.2s;padding:0}#qbm-header-right button:hover{background:rgba(255,255,255,0.2)}#qbm-messages{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f7f7f7;scroll-behavior:smooth}#qbm-messages::-webkit-scrollbar{width:4px}#qbm-messages::-webkit-scrollbar-thumb{background:#ddd;border-radius:4px}.qbm-msg{display:flex;flex-direction:column;max-width:82%;animation:qbm-in 0.25s ease}@keyframes qbm-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.qbm-msg.bot{align-self:flex-start}.qbm-msg.user{align-self:flex-end}.qbm-bubble{padding:10px
14px;border-radius:14px;font-size:14px;line-height:1.55;word-break:break-word}.qbm-msg.bot  .qbm-bubble{background:white;color:#2d2d2d;border-bottom-left-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,0.07)}.qbm-msg.user .qbm-bubble{background:var(--qbm-primary, #E8801A);color:white;border-bottom-right-radius:4px}.qbm-msg-time{font-size:10px;color:#999;margin-top:3px;padding:0
4px}.qbm-msg.user .qbm-msg-time{text-align:right}#qbm-typing{display:none}#qbm-typing.visible{display:flex}#qbm-typing .qbm-bubble{padding:12px
16px;display:flex;gap:4px;align-items:center}.qbm-dot{width:7px;height:7px;background:#aaa;border-radius:50%;animation:qbm-blink 1.2s infinite}.qbm-dot:nth-child(2){animation-delay:0.2s}.qbm-dot:nth-child(3){animation-delay:0.4s}@keyframes qbm-blink{0%,80%,100%{transform:scale(0.7);opacity:0.5}40%{transform:scale(1);opacity:1}}#qbm-input-area{padding:10px
12px;background:white;border-top:1px solid #eee;display:flex;gap:8px;align-items:flex-end;flex-shrink:0}#qbm-input{flex:1;border:1.5px solid #e5e5e5;border-radius:20px;padding:9px
14px;font-size:14px;font-family:inherit;resize:none;outline:none;max-height:100px;overflow-y:auto;line-height:1.4;color:#2d2d2d;background:#f7f7f7;transition:border-color 0.2s, background 0.2s}#qbm-input:focus{border-color:var(--qbm-primary, #E8801A);background:white}#qbm-input::placeholder{color:#aaa}#qbm-send{width:40px;height:40px;border-radius:50%;background:var(--qbm-primary, #E8801A);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all 0.2s}#qbm-send:hover{background:var(--qbm-primary-dark, #c96d14);transform:scale(1.05)}#qbm-send:disabled{background:#ccc;cursor:not-allowed;transform:none}#qbm-send
svg{width:18px;height:18px;fill:white}#qbm-footer{padding:6px
14px;background:white;border-top:1px solid #eee;text-align:center;font-size:10.5px;color:#bbb;flex-shrink:0}#qbm-footer
a{color:var(--qbm-primary, #E8801A);text-decoration:none}@media (max-width: 480px){#qbm-window{width:calc(100vw - 20px) !important;height:75vh !important;bottom:72px !important}#qbm-window.fullscreen{width:100vw !important;height:100vh !important}#qbm-widget{bottom:16px !important}#qbm-widget.qbm-pos-right{right:10px !important}#qbm-widget.qbm-pos-left{left:10px !important}}