#sfchat{position:fixed;right:18px;bottom:18px;z-index:2147483000;font:14px/1.45 Geist,system-ui,-apple-system,"Segoe UI",sans-serif;color:#241726}
#sfchat[hidden]{display:none}
#sfchat *{box-sizing:border-box}
.sfc-btn{width:56px;height:56px;border-radius:50%;border:0;background:#c9285f;color:#fff;cursor:pointer;box-shadow:0 8px 24px rgba(168,26,83,.35);display:grid;place-items:center;margin-left:auto;position:relative}
.sfc-btn svg{width:26px;height:26px}
.sfc-unread .sfc-btn::after{content:"";position:absolute;top:4px;right:4px;width:12px;height:12px;border-radius:50%;background:#1f9d55;border:2px solid #fff}
.sfc-peek{position:absolute;right:0;bottom:68px;width:260px;background:#fff;border:1px solid #eadfe5;border-radius:14px 14px 4px 14px;padding:12px 14px;box-shadow:0 10px 30px rgba(36,23,38,.16);cursor:pointer}
.sfc-panel{display:none;position:absolute;right:0;bottom:68px;width:360px;max-width:calc(100vw - 24px);height:520px;max-height:calc(100vh - 100px);background:#fff;border:1px solid #eadfe5;border-radius:16px;box-shadow:0 16px 48px rgba(36,23,38,.22);overflow:hidden;flex-direction:column}
.sfc-open .sfc-panel{display:flex}
.sfc-open .sfc-peek{display:none}
.sfc-head{background:#c9285f;color:#fff;padding:14px 16px;display:flex;gap:10px;align-items:flex-start}
.sfc-title{font-weight:700;font-size:15px}
.sfc-sub{font-size:12px;opacity:.9;display:flex;align-items:center;gap:6px}
.sfc-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.sfc-dot.on{background:#7dffb2;box-shadow:0 0 0 3px rgba(125,255,178,.25)}
.sfc-dot.off{background:#ffd27d}
.sfc-x{margin-left:auto;background:none;border:0;color:#fff;font-size:22px;line-height:1;cursor:pointer;padding:0 4px}
.sfc-greet{padding:12px 16px;background:#fdf3f7;font-size:13px;color:#5b4558;border-bottom:1px solid #f1e6ec}
.sfc-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.sfc-msg{max-width:84%;padding:8px 11px;border-radius:12px;white-space:pre-wrap;word-wrap:break-word}
.sfc-msg.me{align-self:flex-end;background:#c9285f;color:#fff;border-bottom-right-radius:4px}
.sfc-msg.staff,.sfc-msg.bot{align-self:flex-start;background:#f4eef2;border-bottom-left-radius:4px}
.sfc-msg.bot{background:#f7f5f2;color:#5b4558}
.sfc-at{font-size:10.5px;opacity:.7;margin-top:3px}
.sfc-start,.sfc-chat{padding:12px 14px;border-top:1px solid #f1e6ec}
.sfc-start{overflow-y:auto;max-height:66%}
.sfc-start[hidden],.sfc-chat[hidden]{display:none}
.sfc-f{display:block;margin-bottom:8px;font-size:12px;color:#5b4558}
.sfc-f span{display:block;margin-bottom:3px;font-weight:600}
.sfc-f small{display:block;color:#8a7486;margin-top:2px}
#sfchat input,#sfchat textarea,#sfchat select{width:100%;border:1px solid #e3d7de;border-radius:9px;padding:8px 10px;font:inherit;color:inherit;background:#fff;resize:vertical}
#sfchat input:focus,#sfchat textarea:focus,#sfchat select:focus{outline:2px solid rgba(201,40,95,.25);border-color:#c9285f}
.sfc-send{margin-top:8px;width:100%;border:0;border-radius:9px;background:#c9285f;color:#fff;font-weight:650;padding:10px;cursor:pointer;font:inherit}
.sfc-send:disabled{opacity:.6}
.sfc-chat{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.sfc-chat textarea{flex:1;min-height:40px;max-height:120px}
.sfc-chat .sfc-send{width:auto;margin:0;padding:10px 14px}
.sfc-err{color:#c0392b;font-size:12.5px;margin-top:6px;width:100%}
.sfc-err[hidden]{display:none}
.sfc-foot{font-size:11px;color:#8a7486;padding:0 14px 8px}
@media (max-width:480px){.sfc-panel{position:fixed;right:8px;left:8px;bottom:80px;width:auto;height:calc(100vh - 100px)}}
