.bbchat-fab{position:fixed;right:20px;bottom:20px;z-index:9998;display:flex;align-items:center;gap:8px;
  padding:0 18px;height:54px;border:0;border-radius:27px;background:#002D73;color:#fff;cursor:pointer;
  font:600 15px/1 system-ui,sans-serif;box-shadow:0 8px 20px rgba(0,45,115,.35)}
.bbchat-fab-ico{font-size:22px}
.bbchat-win{position:fixed;right:20px;bottom:20px;z-index:9999;width:360px;height:520px;max-height:80vh;
  display:flex;flex-direction:column;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:16px;
  overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.22)}
.bbchat-win[hidden]{display:none}
.bbchat-hd{display:flex;align-items:center;gap:8px;padding:12px 14px;color:#002D73;font-weight:700;
  border-bottom:1px solid rgba(0,0,0,.08)}
.bbchat-dot{width:8px;height:8px;border-radius:50%;background:#36d47a}
.bbchat-x{margin-left:auto;border:0;background:none;color:#9aa2ad;font-size:16px;cursor:pointer}
.bbchat-body{flex:1;padding:12px;display:flex;flex-direction:column;gap:8px;overflow-y:auto}
.bbchat-msg{max-width:82%;padding:8px 12px;border-radius:14px;font-size:14px;line-height:1.4;white-space:pre-wrap}
.bbchat-msg.bot{align-self:flex-start;background:#f4f5f7;color:#1f2430;border-bottom-left-radius:4px}
.bbchat-msg.me{align-self:flex-end;background:#002D73;color:#fff;border-bottom-right-radius:4px}
.bbchat-msg.typing{opacity:.6;font-style:italic}
.bbchat-inp{display:flex;gap:8px;padding:10px;border-top:1px solid rgba(0,0,0,.08)}
.bbchat-inp input{flex:1;height:38px;border:1px solid rgba(0,0,0,.12);border-radius:19px;padding:0 14px;font-size:14px;outline:none}
.bbchat-send{width:38px;height:38px;border:0;border-radius:50%;background:#002D73;color:#fff;cursor:pointer}
.bbchat-link{color:#002D73;text-decoration:underline;word-break:break-all}
@media(max-width:480px){
  .bbchat-win{right:0;bottom:0;width:100vw;height:100vh;max-height:100vh;border-radius:0}
  .bbchat-fab-txt{display:none}
  .bbchat-fab{padding:0;width:54px;justify-content:center}
}
