#psgptchat-bubble{
  position:fixed; right:60px; bottom:8px; z-index:2147483647;
  border:none; border-radius:999px; padding:12px 16px;
  font-weight:600; box-shadow:0 8px 24px rgba(0,0,0,.12); cursor:pointer;
  background:#0ea5e9; color:#fff;
}
#psgptchat-window{
  position:fixed; right:16px; bottom:80px; width: min(380px, calc(100vw - 32px));
  max-height:72vh; background:#fff; border-radius:16px; box-shadow:0 12px 40px rgba(0,0,0,.2);
  display:flex; flex-direction:column; overflow:hidden; z-index:2147483647;
  border:1px solid rgba(0,0,0,.08);
}
.psgptchat-header{ display:flex; align-items:center; justify-content:space-between; padding:10px 12px; font-weight:700; background:#f7f7f9; border-bottom:1px solid #eee; }
.psgptchat-actions{ display:flex; gap:10px; align-items:center; }
.psgptchat-actions a{ text-decoration:none; font-size:18px; }
.psgptchat-messages{ padding:12px; overflow:auto; display:flex; flex-direction:column; gap:8px; }
.psgptchat-form{ display:flex; gap:8px; padding:10px; border-top:1px solid #eee; background:#fafafa; }
.psgptchat-form input{ flex:1; border:1px solid #ddd; border-radius:12px; padding:10px; }
.psgptchat-form button{ border:none; border-radius:12px; padding:10px 14px; cursor:pointer; background:#0ea5e9; color:#fff; }
.msg{ max-width:85%; padding:10px 12px; border-radius:12px; line-height:1.35; white-space:pre-wrap; }
.msg.user{ align-self:flex-end; background:#e6f2ff; }
.msg.bot{ align-self:flex-start; background:#f1f1f1; }
.psgptchat-error{ color:#b00020; padding:8px 12px; }

#psgptchat-bubble, #psgptchat-window { z-index: 2147483647 !important; }
