.qapbt-widget{font-family:Mulish,Arial,sans-serif;letter-spacing:-.18px;--qapbt-card-width:min(392px,calc(100vw - 24px));--qapbt-soft:#f6f8fc;--qapbt-text:#06132b;--qapbt-border:#e8edf5;--qapbt-bot:#f0f2f7;--qapbt-user1:#2a27da;--qapbt-user2:#0cf}.qapbt-widget *,.qapbt-widget *:before,.qapbt-widget *:after{box-sizing:border-box}.qapbt-widget-inline{max-width:860px;margin:28px auto}.qapbt-widget-floating{position:fixed;right:18px;bottom:18px;z-index:99998;max-width:calc(100vw - 20px)}.qapbt-card{background:#fff;border-radius:18px;box-shadow:0 12px 40px rgba(0,18,46,.18);overflow:hidden;border:0}.qapbt-card-floating{position:absolute;right:0;bottom:78px;width:var(--qapbt-card-width);max-width:calc(100vw - 20px);height:min(82vh,760px);display:flex;flex-direction:column;opacity:0;transform:translateY(12px) scale(.985);pointer-events:none;transition:all .18s ease}.qapbt-widget-floating.is-open .qapbt-card-floating{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.qapbt-fab{position:relative;display:flex;align-items:center;gap:10px;padding:14px 18px;border:0;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--qapbt-user1),var(--qapbt-user2));cursor:pointer;box-shadow:0 14px 34px rgba(42,39,218,.28);font-weight:800}.qapbt-fab-ring{position:absolute;inset:-4px;border-radius:999px;background:rgba(0,204,255,.15);z-index:-1}.qapbt-fab-icon{font-size:18px}.qapbt-header{padding:12px 20px 8px;position:relative;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;color:#fff;background:linear-gradient(135deg,var(--qapbt-user1) 0%,var(--qapbt-user2) 100%)}.qapbt-header-main{display:flex;align-items:center;gap:12px;min-width:0}.qapbt-avatar{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;backdrop-filter:blur(8px);overflow:hidden}.qapbt-avatar img{width:100%;height:100%;object-fit:cover}.qapbt-title-row{display:flex;align-items:center;gap:8px;min-width:0}.qapbt-title-row strong{font-size:21px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.qapbt-live-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.14);font-size:11px;text-transform:uppercase;font-weight:800}.qapbt-live-pill:before{content:"";width:7px;height:7px;border-radius:50%;background:#76ffba;box-shadow:0 0 10px rgba(118,255,186,.7)}.qapbt-subtitle{font-size:12px;opacity:.92;margin-top:2px}.qapbt-close{background:0 0;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:2px 0 0 8px;position:relative;z-index:5}.qapbt-top-wave{height:15px;background:#fff;clip-path:path('M0,5 C45,10 90,0 140,4 C190,8 240,14 300,8 C332,5 352,4 372,5 L372,15 L0,15 Z')}.qapbt-body{background:#fff;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.qapbt-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 8px}.qapbt-chip{border:1px solid var(--qapbt-border);background:#fff;color:#18314f;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer;transition:all .16s ease}.qapbt-chip:hover{border-color:#cdd7e7;transform:translateY(-1px)}.qapbt-branding{padding:0 18px 8px;font-size:11px;font-weight:800;color:#627189;text-transform:uppercase;letter-spacing:.06em}.qapbt-panel{margin:0 16px 10px;border:1px solid var(--qapbt-border);border-radius:14px;padding:12px;background:#fbfcfe}.qapbt-panel-title{font-size:13px;font-weight:800;color:#0f2747;margin-bottom:10px}.qapbt-panel-help{font-size:12px;color:#6b7b93;margin-top:8px;line-height:1.45}.qapbt-human-choice-actions{display:flex;gap:8px;flex-wrap:wrap}.qapbt-identity,.qapbt-order-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qapbt-order-fields{grid-template-columns:1fr 1fr auto}.qapbt-compose textarea,.qapbt-identity input,.qapbt-order-fields input{width:100%;border:1px solid #dce3ef;border-radius:12px;padding:12px 14px;min-height:46px;font:inherit;color:var(--qapbt-text);background:#fff;outline:none;box-shadow:none}.qapbt-compose textarea:focus,.qapbt-identity input:focus,.qapbt-order-fields input:focus{border-color:#a5b9ff;box-shadow:0 0 0 3px rgba(42,39,218,.08)}.qapbt-link-order,.qapbt-send{border:0;background:linear-gradient(135deg,var(--qapbt-user1),var(--qapbt-user2));color:#fff;border-radius:14px;padding:12px 15px;cursor:pointer;font-weight:800;box-shadow:0 8px 20px rgba(42,39,218,.16)}.qapbt-order-feedback{font-size:13px;color:#31445f;margin-top:8px}.qapbt-history-wrap{padding:0 0 4px;background:#fff;flex:1;min-height:0;overflow:hidden}.qapbt-history{padding:0 16px 14px;width:100%;height:100%;overflow:auto;background:#fff}.qapbt-msg{display:flex;gap:10px;align-items:flex-end;margin:8px 0}.qapbt-msg-user{justify-content:flex-end}.qapbt-msg-avatar{width:34px;height:34px;border-radius:50%;flex:0 0 34px;background:#dbe4f3;color:#32445d;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;overflow:hidden}.qapbt-msg-avatar img{width:100%;height:100%;object-fit:cover}.qapbt-msg-user .qapbt-msg-avatar{order:2}.qapbt-msg-card{padding:10px 16px;border-radius:20px;font-size:15px;line-height:1.5;overflow-wrap:break-word;max-width:82%;position:relative;background:var(--qapbt-bot);color:var(--qapbt-text);border-top-left-radius:8px}.qapbt-msg-user .qapbt-msg-card{background:linear-gradient(135deg,var(--qapbt-user1),var(--qapbt-user2));color:#fff;border-top-right-radius:8px;border-top-left-radius:20px}.qapbt-msg-label{font-size:11px;font-weight:800;text-transform:uppercase;opacity:.68;margin-bottom:4px}.qapbt-msg-user .qapbt-msg-label{color:rgba(255,255,255,.86)}.qapbt-msg-body p{margin:.25em 0}.qapbt-msg-body ul{margin:.2em 0 .2em 1.1em;padding:0}.qapbt-msg-body a{color:inherit;text-decoration:underline}.qapbt-msg-user .qapbt-msg-body a{color:#fff}.qapbt-feedback{margin-top:8px;display:flex;gap:8px;flex-wrap:wrap}.qapbt-feedback button,.qapbt-inline-action{border:1px solid rgba(6,19,43,.1);background:#fff;color:#18314f;border-radius:999px;padding:6px 10px;cursor:pointer;font-size:12px;font-weight:700}.qapbt-msg-user .qapbt-feedback button,.qapbt-msg-user .qapbt-inline-action{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.18);color:#fff}.qapbt-compose{padding:14px 16px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;background:#fff;border-top:1px solid #eef2f8;position:sticky;bottom:0;z-index:4}.qapbt-compose-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.qapbt-compose textarea{min-height:52px;max-height:140px;resize:none;background:#fbfcfe}.qapbt-send{width:52px;height:52px;padding:0;font-size:18px;border-radius:14px}.qapbt-send:disabled{opacity:.6;pointer-events:none}.qapbt-attach{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#eef4ff;border:1px solid #d4def5;cursor:pointer;color:#2a27da;font-weight:900}.qapbt-attach input{display:none}.qapbt-typing{display:flex;align-items:center;gap:4px;min-height:18px;padding:4px 0}.qapbt-typing span{width:8px;height:8px;border-radius:50%;background:#94a3b8;display:inline-block;animation:qapbt-bounce 1.2s infinite ease-in-out}.qapbt-typing span:nth-child(2){animation-delay:.15s}.qapbt-typing span:nth-child(3){animation-delay:.3s}.qapbt-msg.is-temp{opacity:.95}.qapbt-widget-inline .qapbt-card{max-width:100%;height:min(78vh,820px)}.qapbt-widget-inline .qapbt-card{border-radius:18px}.qapbt-attachment{margin-top:8px}.qapbt-attachment img{max-width:220px;max-height:180px;border-radius:12px;display:block}@keyframes qapbt-bounce{0%,80%,100%{transform:scale(.7);opacity:.45}40%{transform:scale(1);opacity:1}}@media (max-width:640px){.qapbt-widget-floating{right:12px;left:auto;bottom:10px;width:auto;max-width:calc(100vw - 24px)}.qapbt-card-floating{left:auto;right:0;width:min(390px,calc(100vw - 16px));bottom:72px;height:min(80dvh,760px);max-height:80dvh}.qapbt-fab{width:auto;max-width:calc(100vw - 24px);justify-content:center}.qapbt-history{min-height:240px;padding:0 14px 14px}.qapbt-header{padding:12px 48px 8px 16px}.qapbt-toolbar{padding:10px 12px 8px}.qapbt-panel{margin:0 12px 10px}.qapbt-identity,.qapbt-order-fields{grid-template-columns:1fr}.qapbt-compose{padding:12px}.qapbt-title-row strong{font-size:18px}.qapbt-fab-label{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qapbt-close{position:absolute;right:12px;top:8px}.qapbt-msg-card{max-width:86%}}.qapbt-file-preview{margin:0 16px 8px}.qapbt-file-preview-card{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dbe3ef;border-radius:14px;background:#f8fbff}.qapbt-file-preview-card img,.qapbt-file-preview-card video{max-width:90px;max-height:72px;border-radius:10px;display:block}.qapbt-file-preview-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:12px;background:#ef4444;color:#fff;font-weight:900}.qapbt-attachment video{max-width:220px;max-height:180px;border-radius:12px;display:block}.qapbt-human-presence{padding:8px 16px 0}.qapbt-human-presence-card{display:flex;align-items:center;gap:10px;background:#eef7ff;border:1px solid #c8e6ff;border-radius:14px;padding:10px 12px;color:#17324d}.qapbt-human-presence-card img,.qapbt-human-presence-avatar{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#2a27da;color:#fff;font-weight:900;overflow:hidden}.qapbt-human-presence-card strong{display:block;font-size:13px}.qapbt-human-presence-card div div{font-size:12px;color:#45617e}.qapbt-toolbar-shell{padding:4px 16px 0}.qapbt-toolbar-top{display:flex;justify-content:flex-end;padding:0 0 2px;min-height:18px}.qapbt-menu-toggle{border:0;background:0 0;color:#5a6c87;font-size:11px;font-weight:800;cursor:pointer;padding:0;line-height:1.1}.qapbt-toolbar-shell.is-collapsed .qapbt-toolbar{display:none}.qapbt-toolbar-shell.is-collapsed{padding:2px 16px 0}.qapbt-contact-actions{margin-top:10px;display:flex;justify-content:flex-start}.qapbt-save-contact{border:0;background:linear-gradient(135deg,var(--qapbt-user1),var(--qapbt-user2));color:#fff;border-radius:12px;padding:10px 14px;cursor:pointer;font-weight:800;box-shadow:0 8px 20px rgba(42,39,218,.16)}@media (max-width:640px){.qapbt-toolbar-shell{padding:2px 12px 0}.qapbt-toolbar-shell.is-collapsed{padding:1px 12px 0}.qapbt-toolbar-top{padding:0;min-height:16px}.qapbt-menu-toggle{font-size:10px}}.qapbt-quick-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 10px}.qapbt-quick-actions-inline{padding:2px 0 12px}.qapbt-quick-btn{border:1px solid var(--qapbt-border);background:#f8fbff;color:#18314f;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;cursor:pointer}.qapbt-quick-btn:hover{border-color:#cdd7e7}@media (max-width:640px){.qapbt-quick-actions{padding:0 12px 10px}.qapbt-quick-actions-inline{padding:2px 0 12px}}