#sc-chat-fab{position:fixed;right:20px;bottom:20px;z-index:9998;width:56px;height:56px;border-radius:50%;border:0;background:var(--sc-primary-color);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18);cursor:pointer;display:flex;align-items:center;justify-content:center}#sc-chat-fab .sc-ic{width:26px;height:26px}#sc-chat-fab .sc-fab-close{display:none}#sc-chat-fab.is-open .sc-fab-chat{display:none}#sc-chat-fab.is-open .sc-fab-close{display:inline-block}#sc-chat-fab .sc-chat-dot{position:absolute;top:6px;right:6px;width:10px;height:10px;border-radius:50%;background:#2EAA5B;border:2px solid #fff}#sc-chat-panel{position:fixed;right:20px;bottom:88px;z-index:9998;width:min(380px,calc(100vw - 40px));height:min(560px,calc(100vh - 120px));display:none;flex-direction:column;background:#fff;border:1px solid #E5E5E5;border-radius:16px;box-shadow:0 16px 48px rgba(0,0,0,.18);overflow:hidden;font-family:var(--sc-text-font)}#sc-chat-panel.is-open{display:flex}.sc-chat-header{display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--sc-primary-color);color:#fff}.sc-chat-header-name{font-weight:700;font-size:15px}.sc-chat-header .sc-chat-dot{width:8px;height:8px;border-radius:50%;background:#2EAA5B}.sc-chat-header-sub{margin-left:auto;font-size:12px;opacity:.8}.sc-chat-thread{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#F7F7F5}.sc-chat-msg{max-width:85%;padding:10px 14px;border-radius:14px;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.sc-chat-msg.is-bot{align-self:flex-start;background:#fff;border:1px solid #E5E5E5;color:var(--sc-title-color);border-bottom-left-radius:4px}.sc-chat-msg.is-user{align-self:flex-end;background:var(--sc-primary-color);color:#fff;border-bottom-right-radius:4px}.sc-chat-msg.is-note{align-self:center;background:transparent;color:var(--sc-text-color);font-size:12px}.sc-chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid #E5E5E5;background:#fff}.sc-chat-form input{flex:1;height:44px;padding:0 14px;border:1px solid #E5E5E5;border-radius:10px;font-family:inherit;font-size:14px}.sc-chat-form input:focus{border-color:var(--sc-alternative-color);outline:2px solid transparent;box-shadow:0 0 0 3px color-mix(in srgb,var(--sc-alternative-color) 15%,transparent)}.sc-chat-form button{height:44px;padding:0 16px;border:0;border-radius:10px;background:var(--sc-primary-color);color:#fff;font-weight:700;cursor:pointer}.sc-chat-form button:disabled{opacity:.5;cursor:default}@media (prefers-reduced-motion:no-preference){#sc-chat-panel.is-open{animation:sc-chat-in .18s ease-out}@keyframes sc-chat-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}