.v8-chat{position:fixed;right:24px;bottom:24px;z-index:88;display:flex;flex-direction:column;align-items:flex-end;gap:14px;font-family:var(--ff-sans)}@media(max-width:639.98px){.v8-chat{right:16px;bottom:16px}}.v8-chat__launcher{display:grid;place-items:center;width:58px;height:58px;border:0;border-radius:50%;background:var(--action-primary);color:var(--action-on-primary);box-shadow:0 14px 34px -10px color-mix(in srgb,var(--action-primary) 70%,transparent);cursor:pointer;transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s ease}.v8-chat__launcher svg{width:24px;height:24px}.v8-chat__launcher:hover{transform:translateY(-2px) scale(1.04)}.v8-chat__launcher:focus-visible{outline:2px solid var(--accent-fill);outline-offset:3px}.v8-chat__launcher:not(.is-open):after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--accent-fill);animation:v8-chat-pulse 2.6s ease-out infinite;pointer-events:none}.v8-chat__launcher,.v8-chat__panel{position:relative}.v8-chat__panel{display:flex;flex-direction:column;width:min(380px,100vw - 32px);max-height:min(560px,100dvh - 120px)}.v8-chat__panel.is-chat{height:min(560px,100dvh - 120px)}.v8-chat__panel{overflow:hidden;border-radius:18px;border:1px solid var(--border-strong);background:var(--surface-card);box-shadow:var(--shadow-float);transform-origin:bottom right;animation:v8-chat-in .35s cubic-bezier(.16,1,.3,1) both}.v8-chat__head{display:flex;align-items:center;gap:10px;padding:14px 14px 14px 18px;border-bottom:1px solid var(--border-subtle);background:var(--surface-card-2)}.v8-chat__title{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.v8-chat__title strong{font:600 15px/1.3 var(--ff-sans);color:var(--text-primary)}.v8-chat__title span,.v8-chat__title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v8-chat__title span{display:block;font:400 12px/1.3 var(--ff-sans);color:var(--text-muted)}.v8-chat__dot{display:inline-block;flex-shrink:0;margin-right:6px;vertical-align:1px;width:7px;height:7px;border-radius:50%;background:var(--status-ok);box-shadow:0 0 0 3px color-mix(in srgb,var(--status-ok) 20%,transparent)}.v8-chat__icon-btn{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:0;border-radius:8px;background:rgba(0,0,0,0);color:var(--text-secondary);cursor:pointer}.v8-chat__icon-btn svg{width:18px;height:18px}.v8-chat__icon-btn:hover{background:var(--surface-card);color:var(--text-primary)}.v8-chat__intro{margin:0 0 4px;font:400 14px/1.5 var(--ff-sans);color:var(--text-secondary)}.v8-chat__home{display:flex;flex-direction:column;gap:10px;padding:18px;overflow-y:auto}.v8-chat__option{display:flex;align-items:center;gap:14px;width:100%;padding:14px;border-radius:14px;border:1px solid var(--border-subtle);background:var(--bg-raised);color:var(--text-primary);text-align:left;text-decoration:none;cursor:pointer;transition:border-color .2s ease,transform .25s cubic-bezier(.16,1,.3,1)}.v8-chat__option:hover{border-color:var(--accent-fill);transform:translateY(-1px)}.v8-chat__option:focus-visible{outline:2px solid var(--accent-fill);outline-offset:2px}.v8-chat__option>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.v8-chat__option strong{font:600 14px/1.3 var(--ff-sans)}.v8-chat__option small{overflow:hidden;font:400 12.5px/1.4 var(--ff-sans);color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap}.v8-chat__option-ico{display:grid;flex-shrink:0;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--surface-card-2);color:var(--text-secondary)}.v8-chat__option-ico svg{width:20px;height:20px}.v8-chat__option-ico--wa{background:#25d366;color:#fff}.v8-chat__option-ico--fb{background:#0084ff;color:#fff}.v8-chat__option-ico--ai{overflow:hidden;background:var(--accent-soft);color:var(--accent-text)}.v8-chat__option-ico--ai img{width:100%;height:100%;object-fit:cover}.v8-chat__option-ico--me{background:var(--action-primary);color:var(--action-on-primary)}.v8-chat__log{display:flex;flex:1;flex-direction:column;gap:10px;padding:18px;overflow-y:auto;overscroll-behavior:contain}.v8-chat__msg{max-width:85%;margin:0;padding:10px 14px;border-radius:14px;font:400 14px/1.55 var(--ff-sans);white-space:pre-wrap;overflow-wrap:anywhere}.v8-chat__msg--ai{align-self:flex-start;border-bottom-left-radius:4px;background:var(--surface-card-2);color:var(--text-primary)}.v8-chat__msg--me{align-self:flex-end;border-bottom-right-radius:4px;background:var(--action-primary);color:var(--action-on-primary)}.v8-chat__typing{display:inline-block;width:28px;height:10px;background:radial-gradient(circle,currentColor 2px,transparent 2.5px) 0 50%/9px 9px repeat-x;opacity:.5;animation:v8-chat-typing 1s steps(3) infinite}.v8-chat__error{margin:0;padding:8px 12px;border-radius:10px;background:var(--accent-soft);font:400 13px/1.45 var(--ff-sans);color:var(--accent-text)}.v8-chat__handoff{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 14px;border-top:1px solid var(--border-subtle)}.v8-chat__handoff>span{font:500 12px/1 var(--ff-sans);color:var(--text-muted)}.v8-chat__handoff a,.v8-chat__handoff button{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid var(--border-strong);background:rgba(0,0,0,0);font:500 12.5px/1 var(--ff-sans);color:var(--text-primary);text-decoration:none;cursor:pointer}.v8-chat__handoff a svg,.v8-chat__handoff button svg{width:14px;height:14px}.v8-chat__handoff a:hover:not(:disabled),.v8-chat__handoff button:hover:not(:disabled){border-color:var(--accent-fill);color:var(--accent-text)}.v8-chat__handoff a:disabled,.v8-chat__handoff button:disabled{opacity:.5;cursor:default}.v8-chat__composer{display:flex;align-items:flex-end;gap:8px;padding:12px 14px 14px;border-top:1px solid var(--border-subtle)}.v8-chat__composer textarea{flex:1;max-height:120px;padding:10px 12px;border-radius:12px;border:1px solid var(--border-strong);background:var(--bg-raised);font:400 14px/1.45 var(--ff-sans);color:var(--text-primary);resize:none;field-sizing:content}.v8-chat__composer textarea::placeholder{color:var(--text-muted)}.v8-chat__composer textarea:focus{border-color:var(--accent-fill);outline:none}.v8-chat__composer button{display:grid;flex-shrink:0;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:var(--action-primary);color:var(--action-on-primary);cursor:pointer}.v8-chat__composer button svg{width:18px;height:18px}.v8-chat__composer button:disabled{opacity:.4;cursor:default}.v8-chat__avatar{display:grid;flex-shrink:0;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--border-subtle);background:var(--accent-soft)}.v8-chat__avatar img{width:22px;height:22px;object-fit:contain}.v8-chat__avatar{overflow:hidden}.v8-chat__avatar.is-ai{width:40px;height:40px;padding:0}.v8-chat__avatar img.is-photo{width:100%;height:100%;object-fit:cover}.v8-chat__avatar.is-ai{background:var(--accent-soft);color:var(--accent-text)}.v8-chat__avatar svg{width:18px;height:18px}.v8-chat__end{display:inline-flex;flex-shrink:0;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;border:1px solid var(--border-strong);background:rgba(0,0,0,0);font:500 12px/1 var(--ff-sans);color:var(--text-secondary);cursor:pointer}.v8-chat__end svg{width:13px;height:13px}.v8-chat__end:hover{border-color:var(--accent-fill);color:var(--accent-text)}.v8-chat__hello{padding:4px 2px 6px}.v8-chat__hello strong{display:block;font:600 20px/1.25 var(--ff-sans);color:var(--text-primary)}.v8-chat__hello p{margin:4px 0 0;font:400 14px/1.5 var(--ff-sans);color:var(--text-secondary)}.v8-chat__history{margin-top:8px;padding-top:14px;border-top:1px solid var(--border-subtle)}.v8-chat__history h3{display:flex;align-items:center;gap:6px;margin:0 0 8px;font:600 12px/1 var(--ff-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.v8-chat__history h3 svg{width:14px;height:14px}.v8-chat__history ul{display:flex;flex-direction:column;gap:6px;margin:0 0 10px;padding:0;list-style:none}.v8-chat__history li{display:flex;align-items:center;border-radius:12px;border:1px solid var(--border-subtle);background:var(--bg-raised);transition:border-color .2s ease}.v8-chat__history li:hover{border-color:var(--border-strong)}.v8-chat__history-open{display:flex;flex:1;align-items:center;gap:10px;min-width:0;padding:10px 6px 10px 10px;border:0;background:rgba(0,0,0,0);color:var(--text-primary);text-align:left;cursor:pointer}.v8-chat__history-open:focus-visible{outline:2px solid var(--accent-fill);outline-offset:-2px;border-radius:12px}.v8-chat__history-ico{display:grid;flex-shrink:0;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--accent-soft);color:var(--accent-text)}.v8-chat__history-ico.is-live{background:var(--action-primary);color:var(--action-on-primary)}.v8-chat__history-ico svg{width:15px;height:15px}.v8-chat__history-text{display:flex;flex-direction:column;gap:2px;min-width:0}.v8-chat__history-text small,.v8-chat__history-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v8-chat__history-text strong{font:500 13.5px/1.3 var(--ff-sans)}.v8-chat__history-text small{font:400 12px/1.3 var(--ff-sans);color:var(--text-muted)}.v8-chat__history-del{display:grid;flex-shrink:0;place-items:center;width:34px;height:34px;margin-right:4px;border:0;border-radius:8px;background:rgba(0,0,0,0);color:var(--text-muted);cursor:pointer}.v8-chat__history-del svg{width:15px;height:15px}.v8-chat__history-del:hover{background:var(--accent-soft);color:var(--accent-text)}.v8-chat__notice{display:flex;gap:8px;margin:0;padding:10px 12px;border-radius:10px;background:var(--surface-card-2);font:400 12.5px/1.5 var(--ff-sans);color:var(--text-secondary)}.v8-chat__notice svg{flex-shrink:0;width:15px;height:15px;margin-top:2px;color:var(--accent-text)}.v8-chat__sheet{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;padding:12px;background:var(--overlay);backdrop-filter:blur(3px);animation:v8-chat-fade .2s ease both}.v8-chat__sheet-card{display:flex;flex-direction:column;gap:10px;width:100%;padding:18px;border-radius:16px;border:1px solid var(--border-strong);background:var(--surface-card);box-shadow:var(--shadow-float);animation:v8-chat-in .3s cubic-bezier(.16,1,.3,1) both}.v8-chat__sheet-card>strong{font:600 16px/1.3 var(--ff-sans);color:var(--text-primary)}.v8-chat__sheet-card>p:not(.v8-chat__notice){margin:0;font:400 14px/1.5 var(--ff-sans);color:var(--text-secondary)}.v8-chat__sheet-field{display:flex;flex-direction:column;gap:6px;font:500 13px/1.3 var(--ff-sans);color:var(--text-secondary)}.v8-chat__sheet-field input{padding:10px 12px;border-radius:10px;border:1px solid var(--border-strong);background:var(--bg-raised);font:400 14px/1.4 var(--ff-sans);color:var(--text-primary)}.v8-chat__sheet-field input::placeholder{color:var(--text-muted)}.v8-chat__sheet-field input:focus{border-color:var(--accent-fill);outline:none}.v8-chat__sheet-card>.v8-chat__sheet-error{font-size:13px;color:var(--accent-text)}.v8-chat__sheet-actions{display:flex;gap:8px;margin-top:4px}.v8-chat__sheet-actions>*{flex:1}.v8-chat__ghost{padding:12px 16px;border-radius:12px;border:1px solid var(--border-strong);background:rgba(0,0,0,0);font:600 14px/1 var(--ff-sans);color:var(--text-primary);cursor:pointer}.v8-chat__ghost:hover{border-color:var(--accent-fill)}.v8-chat__note{align-self:center;margin:0;font:400 12px/1.4 var(--ff-sans);color:var(--text-muted)}.v8-chat__who{display:flex;gap:8px;padding:10px 14px 0;border-top:1px solid var(--border-subtle)}.v8-chat__who input{flex:1;min-width:0;padding:9px 11px;border-radius:10px;border:1px solid var(--border-strong);background:var(--bg-raised);font:400 13.5px/1.4 var(--ff-sans);color:var(--text-primary)}.v8-chat__who input::placeholder{color:var(--text-muted)}.v8-chat__who input:focus{border-color:var(--accent-fill);outline:none}.v8-chat__who+.v8-chat__composer{border-top:0}.v8-chat__badge{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;border:2px solid var(--bg-base);background:var(--status-ok)}.v8-chat__email{padding:18px;overflow-y:auto}.v8-chat__email form{display:flex;flex-direction:column;gap:12px}.v8-chat__email label{display:flex;flex-direction:column;gap:6px;font:500 13px/1.3 var(--ff-sans);color:var(--text-secondary)}.v8-chat__email input{padding:10px 12px;border-radius:10px;border:1px solid var(--border-strong);background:var(--bg-raised);font:400 14px/1.4 var(--ff-sans);color:var(--text-primary)}.v8-chat__email input:focus{border-color:var(--accent-fill);outline:none}.v8-chat__primary{padding:12px 16px;border:0;border-radius:12px;background:var(--action-primary);font:600 14px/1 var(--ff-sans);color:var(--action-on-primary);cursor:pointer}.v8-chat__primary:disabled{opacity:.6;cursor:default}.v8-chat__done{margin:0;font:400 14px/1.55 var(--ff-sans);color:var(--text-primary)}@keyframes v8-chat-in{0%{opacity:0;transform:translateY(12px) scale(.96)}}@keyframes v8-chat-fade{0%{opacity:0}}@keyframes v8-chat-pulse{0%{opacity:.6;transform:scale(1)}70%,to{opacity:0;transform:scale(1.45)}}@keyframes v8-chat-typing{0%{width:10px}to{width:28px}}@media(prefers-reduced-motion:reduce){.v8-chat__launcher:after,.v8-chat__panel,.v8-chat__sheet,.v8-chat__sheet-card,.v8-chat__typing{animation:none}}