.fx-chat{--fx-chat-lift:0px;position:fixed;z-index:85;right:max(20px, env(safe-area-inset-right, 0px));bottom:calc(20px + var(--fx-chat-lift) + env(safe-area-inset-bottom, 0px));font-family:var(--font-sans);transition:bottom 260ms var(--ease)}.fx-chat__fab{position:relative;display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--violet);color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 18px 36px -16px rgb(91 43 217 / .75),0 2px 6px rgb(23 17 46 / .18);transition:transform 200ms var(--ease),background-color 150ms}.fx-chat__fab:hover{background:var(--violet-700);transform:translateY(-2px)}.fx-chat__fab:focus-visible{outline:3px solid var(--violet-300);outline-offset:3px}.fx-chat__fab::after{content:"";position:absolute;top:6px;left:34px;width:10px;height:10px;border-radius:50%;background:#FE7B5C;border:2px solid var(--violet)}.fx-chat__fab-ic{display:flex}.fx-chat.is-open .fx-chat__fab{display:none}.fx-chat__panel{position:absolute;right:0;bottom:0;width:392px;height:min(640px, calc(100vh - 40px - var(--fx-chat-lift)));display:flex;flex-direction:column;border-radius:24px;background:var(--surface);border:1px solid var(--line);overflow:hidden;box-shadow:0 40px 80px -30px rgb(23 17 46 / .55),0 4px 14px rgb(23 17 46 / .08);transform-origin:bottom right;animation:fxChatIn 260ms var(--ease) both}.fx-chat__panel[hidden]{display:none}@keyframes fxChatIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}.fx-chat__head{flex:none;display:flex;align-items:center;gap:12px;padding:16px 14px 16px 18px;background:var(--ink);color:#fff}.fx-chat__avatar{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--violet);color:#fff}.fx-chat__id{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.fx-chat__title{font-family:var(--font-display);font-weight:700;font-size:17px;line-height:1.2}.fx-chat__status{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#C9C2E0}.fx-chat__status i{width:7px;height:7px;border-radius:50%;background:#34D399}.fx-chat__icon-btn{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:10px;background:#fff0;color:#DCD6F0;cursor:pointer}.fx-chat__icon-btn:hover{background:rgb(255 255 255 / .1);color:#fff}.fx-chat__icon-btn:focus-visible{outline:2px solid var(--violet-300);outline-offset:1px}.fx-chat__log{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:18px 16px 10px;background:#FBFAFE;overscroll-behavior:contain}.fx-chat__log:focus-visible{outline:2px solid var(--violet);outline-offset:-2px}.fx-chat__msg{max-width:86%;padding:11px 14px;border-radius:18px;font-size:14.5px;line-height:1.5;overflow-wrap:anywhere;animation:fxChatMsg 220ms var(--ease) both}@keyframes fxChatMsg{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.fx-chat__msg.is-bot{align-self:flex-start;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-bottom-left-radius:6px}.fx-chat__msg.is-me{align-self:flex-end;background:var(--violet);color:#fff;border-bottom-right-radius:6px;white-space:pre-wrap}.fx-chat__msg p{margin:0}.fx-chat__msg p+p,.fx-chat__msg p+ul,.fx-chat__msg ul+p{margin-top:8px}.fx-chat__msg ul{margin:6px 0 0;padding-left:18px}.fx-chat__msg li+li{margin-top:3px}.fx-chat__msg a{color:var(--violet);font-weight:600;text-decoration:underline;text-underline-offset:2px}.fx-chat__msg strong{font-weight:600}.fx-chat__msg.is-note{align-self:center;max-width:92%;padding:8px 12px;background:#FDECE8;border:0;color:#9A2E16;font-size:13px;border-radius:12px}.fx-chat__typing{align-self:flex-start;display:inline-flex;gap:5px;padding:14px 16px;border-radius:18px;border-bottom-left-radius:6px;background:var(--surface);border:1px solid var(--line)}.fx-chat__typing i{width:7px;height:7px;border-radius:50%;background:var(--violet-400);animation:fxChatDot 1.2s infinite ease-in-out}.fx-chat__typing i:nth-child(2){animation-delay:.15s}.fx-chat__typing i:nth-child(3){animation-delay:.3s}@keyframes fxChatDot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}.fx-chat__chips{flex:none;display:flex;flex-wrap:wrap;gap:6px;padding:4px 16px 10px;background:#FBFAFE}.fx-chat__chips:empty{display:none}.fx-chat__chip{padding:7px 12px;border:1.5px solid var(--violet-200);border-radius:999px;background:var(--surface);color:var(--violet);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;transition:background-color 150ms,border-color 150ms}.fx-chat__chip:hover{background:var(--violet-soft);border-color:var(--violet-300)}.fx-chat__chip:focus-visible{outline:2px solid var(--violet);outline-offset:2px}.fx-chat__form{flex:none;display:flex;align-items:flex-end;gap:8px;margin:0;padding:10px 12px;border-top:1px solid var(--line);background:var(--surface)}.fx-chat__input{flex:1;min-width:0;max-height:120px;padding:11px 14px;border:1.5px solid var(--line);border-radius:16px;background:#F7F5FC;font:inherit;font-size:15px;line-height:1.4;color:var(--ink);resize:none;outline:none}.fx-chat__input:focus{border-color:var(--violet);background:#fff;box-shadow:0 0 0 4px rgb(91 43 217 / .12)}.fx-chat__input::placeholder{color:#7A7590}.fx-chat__send{flex:none;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:0;border-radius:14px;background:var(--coral);color:#fff;cursor:pointer;transition:background-color 150ms,opacity 150ms}.fx-chat__send:hover{background:#D94A2C}.fx-chat__send:disabled{opacity:.45;cursor:default}.fx-chat__send:focus-visible{outline:3px solid var(--violet-300);outline-offset:2px}.fx-chat__note{flex:none;margin:0;padding:0 14px 10px;background:var(--surface);font-size:11.5px;line-height:1.45;color:#6B6585;text-align:center}.fx-chat__note a{color:inherit;text-decoration:underline}@media (max-width:600px){.fx-chat{right:max(14px, env(safe-area-inset-right, 0px));bottom:calc(14px + var(--fx-chat-lift) + env(safe-area-inset-bottom, 0px))}.fx-chat__fab{width:56px;height:56px;padding:0;justify-content:center}.fx-chat__fab-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.fx-chat__fab::after{left:auto;right:8px;top:8px}.fx-chat.is-open{inset:0}.fx-chat__panel{position:fixed;inset:0;width:auto;height:100%;height:100dvh;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom,0)}.fx-chat__head{padding-top:calc(14px + env(safe-area-inset-top, 0px))}.fx-chat__input{font-size:16px}html.fx-chat-lock,html.fx-chat-lock body{overflow:hidden}}@media (prefers-reduced-motion:reduce){.fx-chat,.fx-chat__fab,.fx-chat__panel,.fx-chat__msg{transition:none;animation:none}.fx-chat__typing i{animation:none;opacity:.7}.fx-chat__fab:hover{transform:none}}@media print{.fx-chat{display:none}}.fx-chat__mic{flex:none;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1.5px solid var(--line);border-radius:14px;background:#F7F5FC;color:var(--violet);cursor:pointer;transition:background-color 150ms,border-color 150ms,color 150ms}.fx-chat__mic[hidden]{display:none}.fx-chat__mic:hover{border-color:var(--violet-300);background:var(--violet-soft)}.fx-chat__mic:focus-visible{outline:3px solid var(--violet-300);outline-offset:2px}.fx-chat__mic.is-on{border-color:var(--coral);background:var(--coral);color:#fff;animation:fxChatMic 1.4s ease-out infinite}@keyframes fxChatMic{0%{box-shadow:0 0 0 0 rgb(238 90 58 / .45)}70%{box-shadow:0 0 0 12px #fff0}100%{box-shadow:0 0 0 0 #fff0}}.fx-chat__speak[hidden]{display:none}.fx-chat__speak .w1,.fx-chat__speak .w2{display:none}.fx-chat__speak.is-on{background:rgb(255 255 255 / .14);color:#fff}.fx-chat__speak.is-on .w1,.fx-chat__speak.is-on .w2{display:inline}.fx-chat__speak.is-on .x{display:none}@media (prefers-reduced-motion:reduce){.fx-chat__mic.is-on{animation:none}}