/* FastSkill AI Advisor "Faye" — Salesforce-Piper-style chat widget */
#fsw-bubble{position:fixed;right:18px;bottom:18px;z-index:998;width:58px;height:58px;border-radius:50%;border:none;
  background:linear-gradient(135deg,#F43F5E,#C81E4A);box-shadow:0 8px 24px rgba(200,30,74,.4);color:#fff;font-size:26px;
  display:flex;align-items:center;justify-content:center;transition:transform .18s}
#fsw-bubble:hover{transform:scale(1.08)}
#fsw-bubble .dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:#22C55E;border:2.5px solid #fff}
@media(max-width:820px){#fsw-bubble{bottom:84px}}

#fsw{position:fixed;right:18px;bottom:18px;z-index:999;width:388px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 40px);
  background:#fff;border-radius:18px;box-shadow:0 12px 48px rgba(20,22,30,.28);display:none;flex-direction:column;overflow:hidden;
  font-family:"Noto Sans SC","Outfit",-apple-system,"PingFang SC",sans-serif;font-size:14px;color:#222530}
#fsw.open{display:flex;animation:fswUp .25s ease}
@keyframes fswUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(max-width:560px){#fsw{right:0;bottom:0;width:100vw;max-width:100vw;height:82vh;border-radius:18px 18px 0 0}}

.fsw-hd{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #EBECF0;background:#fff}
.fsw-hd b{font-size:15px}
.fsw-hd .sub{font-size:11.5px;color:#8A90A0;font-weight:500}
.fsw-x{margin-left:auto;border:none;background:none;font-size:20px;color:#8A90A0;cursor:pointer;padding:4px 8px}
.fsw-hero{background:linear-gradient(160deg,#BFE0FF,#E3F0FF 70%);padding:18px 0 0;text-align:center;flex:0 0 auto}
.fsw-avatar{width:96px;height:96px;margin:0 auto;display:block}
.fsw-hero .cta{display:inline-flex;align-items:center;gap:7px;background:#0B5FFF;color:#fff;border:none;border-radius:999px;
  padding:8px 16px;font-size:13px;font-weight:700;margin:8px 0 14px;cursor:pointer}
.fsw-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fff}
.fsw-msg{max-width:86%;padding:10px 13px;border-radius:14px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.fsw-msg.bot{background:#F3F4F7;border-bottom-left-radius:4px;align-self:flex-start}
.fsw-msg.user{background:#F43F5E;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.fsw-typing{align-self:flex-start;color:#8A90A0;font-size:12px;padding:2px 6px}
.fsw-chips{display:flex;flex-wrap:wrap;gap:7px;align-self:flex-start;max-width:95%}
.fsw-chip{border:1.5px solid #D8DBE2;background:#fff;border-radius:999px;padding:7px 13px;font-size:13px;font-weight:600;color:#222530;cursor:pointer}
.fsw-chip:hover{border-color:#F43F5E;color:#F43F5E;background:#FFF1F3}
.fsw-card{align-self:flex-start;width:92%;border:1px solid #EBECF0;border-radius:14px;padding:12px;box-shadow:0 2px 8px rgba(20,22,30,.06)}
.fsw-card .t{font-weight:700;font-size:13.5px;line-height:1.4}
.fsw-card .m{font-size:12px;color:#5D6473;margin-top:4px}
.fsw-card .p{font-size:12.5px;font-weight:800;margin-top:4px;color:#0E9F6E}
.fsw-card a{display:inline-block;margin-top:8px;background:#F43F5E;color:#fff;border-radius:999px;padding:6px 13px;font-size:12.5px;font-weight:700;text-decoration:none}
.fsw-ft{border-top:1px solid #EBECF0;padding:10px 12px 8px;background:#fff}
.fsw-inrow{display:flex;gap:8px}
.fsw-in{flex:1;border:1.5px solid #D8DBE2;border-radius:12px;padding:10px 12px;font-size:14px;font-family:inherit}
.fsw-in:focus{outline:none;border-color:#F43F5E}
.fsw-send{border:none;background:#F43F5E;color:#fff;border-radius:12px;width:42px;font-size:16px;cursor:pointer}
.fsw-send:disabled{background:#E5C1C8}
.fsw-legal{font-size:10px;color:#9AA0AE;text-align:center;margin-top:7px;line-height:1.5}
.fsw-legal a{color:#9AA0AE;text-decoration:underline}
