.chat{--c-bg:#313338;--c-head:#2b2d31;--c-line:#3f4147;--c-text:#f2f3f5;--c-muted:#b5bac1;--c-faint:#949ba4;--launch-w:56px;--launch-edge:24px;--brand-amber:#ffb54d;--brand-amber-deep:#e08a12;--brand-teal:#37d6c0;--brand-teal-deep:#1fa896;--brand-ink:#10131c;--launch-back:var(--surface-3);--launch-back-line:var(--border-strong);--launch-back-under:var(--surface);right:calc(var(--launch-edge) + env(safe-area-inset-right,0px));bottom:calc(var(--launch-edge) + env(safe-area-inset-bottom,0px));z-index:60;pointer-events:none;justify-items:end;gap:12px;display:grid;position:fixed}:root[data-theme=light] .chat{--launch-back:var(--surface);--launch-back-under:var(--border-strong)}.chat>*{pointer-events:auto}.chat-launcher{width:var(--launch-w);border-radius:var(--r-lg);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;padding:0;display:block;position:relative}.chat-launcher:focus-visible{outline-offset:4px}.launch{forced-color-adjust:none;width:100%;height:auto;display:block;overflow:visible}.launch__back-face,.launch__back-under{fill:var(--launch-back);stroke:var(--launch-back-line);stroke-width:1px;vector-effect:non-scaling-stroke}.launch__back-under{fill:var(--launch-back-under)}.launch__face{fill:var(--brand-amber)}.launch__under{fill:var(--brand-amber-deep)}.launch__ink{fill:var(--brand-ink)}.launch__count-face{fill:var(--brand-teal)}.launch__count-under{fill:var(--brand-teal-deep)}.launch__count text{fill:var(--brand-ink);font:600 12px var(--font-body)}.launch__back,.launch__back-face,.launch__front,.launch__dot,.launch__dot circle,.launch__cross,.launch__count{transform-box:fill-box;transform-origin:50%}.launch__back{transition:transform var(--dur-base) var(--ease-in-out)}.launch__back-face,.launch__front{transition:transform var(--dur-fast) var(--ease-out)}.launch__bar{transition:opacity 0s linear var(--dur-base)}.launch__dot{opacity:0;transition:transform var(--dur-fast) var(--ease-in), opacity var(--dur-fast) var(--ease-in);transform:scale(.4)}.launch__cross{opacity:0;transition:transform var(--dur-base) var(--ease-in-out), opacity 0s linear var(--dur-base)}.launch__cross--1{transform:translate(-1px,-4.5px)rotate(0)scaleX(1.0909)}.launch__cross--2{transform:translate(-5.5px,4.5px)rotate(0)scaleX(.6818)}.launch__count{animation:launch-stack var(--dur-slow) var(--ease-out) both}@keyframes launch-stack{0%{opacity:0;transform:translateY(-6px)}}@keyframes launch-type{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-2.5px)}}.chat-launcher[aria-expanded=false]:is([data-typing=true],:focus-visible) .launch__bar{opacity:0;transition:opacity var(--dur-fast) linear}.chat-launcher[aria-expanded=false]:is([data-typing=true],:focus-visible) .launch__dot{opacity:1;transition:transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);transform:none}.chat-launcher[aria-expanded=false]:is([data-typing=true],:focus-visible) .launch__dot circle{animation:launch-type .9s var(--ease-in-out) infinite}.chat-launcher[aria-expanded=false]:is([data-typing=true],:focus-visible) .launch__cross{transition:none}.chat-launcher[aria-expanded=false]:focus-visible .launch__front,.chat-launcher[aria-expanded=false]:focus-visible .launch__back-face{transform:translateY(-2px)}.chat-launcher[aria-expanded=false]:focus-visible .launch__back{transform:translate(-3px,-1px)}.chat-launcher[aria-expanded=false]:focus-visible .chat-launcher__label{opacity:1;transition-timing-function:var(--ease-out);transform:none}@media (hover:hover){.chat-launcher[aria-expanded=false]:hover .launch__bar{opacity:0;transition:opacity var(--dur-fast) linear}.chat-launcher[aria-expanded=false]:hover .launch__dot{opacity:1;transition:transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);transform:none}.chat-launcher[aria-expanded=false]:hover .launch__dot circle{animation:launch-type .9s var(--ease-in-out) infinite}.chat-launcher[aria-expanded=false]:hover .launch__cross{transition:none}.chat-launcher[aria-expanded=false]:hover .launch__front,.chat-launcher[aria-expanded=false]:hover .launch__back-face{transform:translateY(-2px)}.chat-launcher[aria-expanded=false]:hover .launch__back{transform:translate(-3px,-1px)}.chat-launcher[aria-expanded=false]:hover .chat-launcher__label{opacity:1;transition-timing-function:var(--ease-out);transform:none}}.chat[data-place=app] .chat-launcher[aria-expanded=false]:is(:hover,:focus-visible) .launch__back,.chat[data-place=app] .chat-launcher[aria-expanded=false]:is(:hover,:focus-visible):not(:active) :is(.launch__front,.launch__back-face){transform:none}.chat-launcher[aria-expanded=false] .launch__dot--2 circle{animation-delay:.15s}.chat-launcher[aria-expanded=false] .launch__dot--3 circle{animation-delay:.3s}.chat-launcher[aria-expanded=false]:is([data-typing=true],:focus-visible) .launch__dot--2{transition-delay:40ms}.chat-launcher[aria-expanded=false]:is([data-typing=true],:focus-visible) .launch__dot--3{transition-delay:80ms}@media (hover:hover){.chat-launcher[aria-expanded=false]:hover .launch__dot--2{transition-delay:40ms}.chat-launcher[aria-expanded=false]:hover .launch__dot--3{transition-delay:80ms}}.chat-launcher[aria-expanded]:active .launch__front{transition-duration:0s;transform:translateY(4px)}.chat-launcher[aria-expanded]:active .launch__back-face{transition-duration:0s;transform:translateY(3px)}.chat-launcher[aria-expanded=true] .launch__back{transform:translate(15px,12px)scale(.76)}.chat-launcher[aria-expanded=true] .launch__bar{opacity:0;transition:none}.chat-launcher[aria-expanded=true] .launch__cross{opacity:1;transition:transform var(--dur-base) var(--ease-in-out), opacity 0s}.chat-launcher[aria-expanded=true] .launch__cross--1{transform:translate(0)rotate(45deg)scale(1)}.chat-launcher[aria-expanded=true] .launch__cross--2{transform:translate(0)rotate(-45deg)scale(1)}.chat-launcher__label{border-radius:var(--r-sm);background:var(--text);height:28px;color:var(--bg);font:500 var(--fs-13) / 28px var(--font-body);letter-spacing:var(--track-ui);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity var(--dur-fast) var(--ease-in), transform var(--dur-fast) var(--ease-in);padding:0 10px;position:absolute;top:calc(50.9091% - 14px);right:calc(100% + 10px);transform:translate(4px)}.chat-nudge{right:calc(100% + 14px);bottom:calc(var(--launch-w) * 11 / 56);border:1px solid var(--launch-back-line);border-radius:var(--r-md) var(--r-md) 0 var(--r-md);background:var(--launch-back);height:32px;box-shadow:0 3px 0 var(--launch-back-under);white-space:nowrap;transform-origin:calc(100% + 10px) 100%;transition:opacity var(--dur-fast) var(--ease-in);animation:chat-say var(--dur-slow) var(--ease-out) backwards;align-items:center;gap:2px;padding:0 4px 0 0;display:flex;position:absolute}@keyframes chat-say{0%{opacity:0;transform:translate(6px)scale(.94)}}.chat:has(.chat-launcher:focus-visible) .chat-nudge{opacity:0;pointer-events:none}@media (hover:hover){.chat:has(.chat-launcher:hover) .chat-nudge{opacity:0;pointer-events:none}}.chat-nudge__text{border-radius:var(--r-md) 0 0 var(--r-md);height:30px;color:var(--text);font:500 var(--fs-13) / 30px var(--font-body);letter-spacing:var(--track-ui);cursor:pointer;background:0 0;border:0;padding:0 6px 0 12px}.chat-nudge__x{border-radius:var(--r-xs);width:24px;height:24px;color:var(--text-faint);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.chat-nudge__x:hover{background:var(--neutral-soft);color:var(--text)}.chat-nudge__tail{width:12px;height:18px;position:absolute;bottom:-4.5px;left:100%;overflow:visible}.chat-nudge__tail-under{fill:var(--launch-back-under)}.chat-nudge__tail-face{fill:var(--launch-back)}.chat-nudge__tail-line{fill:none;stroke:var(--launch-back-line);stroke-width:1px}@media (prefers-reduced-motion:reduce){.chat .chat-launcher[aria-expanded] .launch__dot circle,.launch__count,.chat-nudge{animation:none}}.chat-panel{border-radius:var(--r-lg);background:var(--c-bg);width:min(390px,100vw - 36px);height:min(610px,100vh - 120px);color:var(--c-text);transform-origin:100% 100%;grid-template-rows:auto minmax(0,1fr) auto auto auto;font-size:14px;line-height:1.45;animation:.28s cubic-bezier(.2,.9,.3,1.2) both panel-in;display:grid;overflow:hidden;box-shadow:0 30px 70px -20px #000000bf,0 0 0 1px #1e1f22}@keyframes panel-in{0%{opacity:0;translate:0 12px;scale:.9}}.chat-panel__head{border-bottom:1px solid var(--c-line);background:var(--c-head);grid-template-columns:40px minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:14px;display:grid;position:relative}.chat-panel__bot{background:#1e1f22;border-radius:50%;width:40px;height:40px;padding:3px}.chat-panel__titles h2{font-family:var(--font-display);color:var(--c-text);margin:0;font-size:1.05rem}.chat-panel__titles p{color:var(--c-muted);margin:0;font-size:13px}.chat-panel__titles p[data-online=true]{color:#3ddc97}.chat-x{cursor:pointer;background:0 0;border:0;border-radius:8px;width:32px;height:32px;position:relative}.chat-x:hover{background:#404249}.chat-x span:before,.chat-x span:after{content:"";background:var(--c-muted);border-radius:1px;width:14px;height:2px;position:absolute;top:15px;left:9px;rotate:45deg}.chat-x span:after{rotate:-45deg}.chat-end{color:var(--c-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 10px;font-size:13px;font-weight:600}.chat-end:hover{color:var(--c-text);background:#404249}.chat-panel__body{overscroll-behavior:contain;align-content:start;gap:14px;padding:16px 14px;display:grid;overflow-y:auto}.chat-panel__body--center{text-align:center;align-content:center;justify-items:center}.chat-off{gap:12px}.chat-off p{max-width:28ch;color:var(--c-muted);text-wrap:balance;margin:0}.chat-off__glyph{color:var(--brand-teal)}.chat-off a{color:#8ab4ff;overflow-wrap:anywhere}.chat-msg{grid-template-columns:32px minmax(0,1fr);align-items:start;gap:12px;animation:.3s ease-out both msg-in;display:grid}.chat-msg[data-first=false]{margin-top:-10px}@keyframes msg-in{0%{opacity:0;translate:0 8px}}.chat-av{object-fit:cover;color:#10131b;border-radius:50%;place-items:center;width:32px;height:32px;font-size:13px;font-weight:800;display:grid}.chat-av--bot{background:#1e1f22;padding:3px}.chat-av--visitor{background:#7fbcf2}.chat-av--agent{background:#4fd6c2}.chat-msg__name{align-items:center;gap:6px;margin:0 0 2px;font-weight:700;display:flex}.chat-msg[data-author=ai] .chat-msg__name{color:#ffc56b}.chat-msg[data-author=agent] .chat-msg__name{color:#5fe3cf}.chat-tag{color:#fff;background:#5865f2;border-radius:4px;padding:0 5px;font-size:9.5px;font-weight:800;line-height:1.6}.chat-msg__text{color:#dbdee1;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.chat-msg__text a{color:#8ab4ff}.chat-system{border-top:1px solid var(--c-line);color:var(--c-muted);text-align:center;text-wrap:balance;margin:2px 8px;padding-top:10px;font-size:13px;animation:.3s ease-out both msg-in}.chat-quick{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.chat-chip{color:var(--c-text);font:inherit;cursor:pointer;transition:background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);background:0 0;border:1px solid #4e5058;border-radius:6px;padding:7px 12px;font-size:13.5px;font-weight:500}.chat-chip:hover{background:#383a40;border-color:#6d6f78}.chat-dots{gap:4px;padding:10px 0;display:inline-flex}.chat-dots i{background:var(--c-faint);border-radius:50%;width:7px;height:7px;animation:.9s ease-in-out infinite typing}.chat-dots i:nth-child(2){animation-delay:.15s}.chat-dots i:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.chat-ask{background:#2b2d31;border-radius:12px;gap:6px;padding:16px;animation:.3s ease-out both msg-in;display:grid}.chat-ask p{margin:0}.chat-ask__title{font:var(--t-sub);letter-spacing:0}.chat-ask label{color:var(--c-muted);font-size:12px;font-weight:var(--fw-strong);margin-top:6px}.chat-ask .input{min-height:38px;color:var(--c-text);background:#1e1f22;border-color:#1e1f22;padding:6px 10px}.chat-ask__row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.chat-error{color:#ffb3b5;background:#f23f4329;border-radius:8px;margin:0 14px 8px;padding:8px 10px;font-size:13px}.chat-human{width:32px;height:32px;color:var(--brand-teal);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:relative}.chat-human__disc{width:28px;height:28px;transition:background-color var(--dur-fast) var(--ease-in-out);border-radius:8px;place-items:center;display:grid;position:relative}.chat-human__disc:before,.chat-human__disc:after{content:"";border:2px solid var(--brand-teal);opacity:0;pointer-events:none;animation:chat-ring 12s var(--ease-out) infinite;border-radius:8px;position:absolute;inset:0}.chat-human__disc:after{animation-delay:.6s}@keyframes chat-ring{0%{opacity:.55;transform:scale(1)}20%,to{opacity:0;transform:scale(1.9)}}@keyframes chat-ring-now{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(2)}}.chat-human[data-hint=true] .chat-human__disc:before,.chat-human[data-hint=true] .chat-human__disc:after{animation:chat-ring-now 2.4s var(--ease-out) 1, chat-ring 12s var(--ease-out) 12s infinite}.chat-human[data-hint=true] .chat-human__disc:after{animation-delay:.6s,12.6s}.chat-human[data-hint=true] .chat-human__disc{box-shadow:inset 0 0 0 1px var(--brand-teal);background:#37d6c029}.chat-human:hover:not(:disabled) .chat-human__disc,.chat-human:focus-visible .chat-human__disc{background:#404249}.chat-human:focus-visible{outline:2px solid var(--brand-teal);outline-offset:1px}.chat-human:disabled{cursor:default;opacity:.5}.chat-human:after{content:"Talk to a person";z-index:2;border-radius:var(--r-sm);color:var(--c-text);font:500 12px / 24px var(--font-body);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity var(--dur-fast) var(--ease-in), transform var(--dur-fast) var(--ease-in);background:#111214;padding:0 8px;position:absolute;top:calc(100% + 6px);right:0;transform:translateY(-2px)}.chat-human:focus-visible:after{opacity:1;transition-timing-function:var(--ease-out);transform:none}@media (hover:hover){.chat-human:hover:not(:disabled):after{opacity:1;transition-timing-function:var(--ease-out);transform:none}}@media (pointer:coarse),(max-width:720px){.chat-human{width:44px;height:44px;margin-block:-6px}.chat-human:after{display:none}}@media (prefers-reduced-motion:reduce){.chat-human__disc:before,.chat-human__disc:after,.chat-human[data-hint=true] .chat-human__disc:before,.chat-human[data-hint=true] .chat-human__disc:after{animation:none}}.chat-hint{color:var(--brand-teal);align-items:center;gap:8px;margin:8px 0 0;font-size:13px;font-weight:600;display:flex}.chat-hint .chat-headset{flex:none}.chat-panel .human-check{padding:8px 12px 0}.chat-compose{grid-template-columns:minmax(0,1fr) 40px;align-items:end;gap:8px;padding:10px 12px 14px;display:grid}.chat-compose__input{width:100%;min-height:44px;max-height:120px;color:var(--c-text);font:inherit;resize:none;field-sizing:content;background:#383a40;border:0;border-radius:10px;padding:11px 14px}.chat-compose__input::placeholder{color:var(--c-faint)}.chat-send{color:#fff;cursor:pointer;width:40px;height:44px;transition:transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);background:#5865f2;border:0;border-radius:10px;place-items:center;display:grid}.chat-send:hover:not(:disabled){transform:translateY(-1px)}.chat-send:disabled{cursor:not-allowed;background:#4e5058}@media (max-width:720px){.chat{--launch-w:52px;--launch-edge:16px}.chat[data-open=true]{z-index:80;justify-items:stretch;inset:0}.chat[data-open=true] .chat-launcher,.chat-nudge{display:none}.chat-panel{border-radius:0;width:100%;height:100%}}body:has(.app-frame) .chat{--launch-w:48px;--launch-edge:16px}@media (max-width:720px){body:has(.phone-tabs) .chat:not([data-open=true]){right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px))}}
