/* Website chat bubble (public pages). Works on light and dark themes. */
.sc-root{--sc-blue:#2563eb;--sc-bg:#fff;--sc-ink:#0b1020;--sc-mut:#6b7389;--sc-line:#e7eaf2;--sc-in:#f1f3f8;
  position:fixed;right:20px;bottom:20px;z-index:2147483000;font-family:'Hind Siliguri','DM Sans',system-ui,sans-serif}
html[data-theme="dark"] .sc-root{--sc-bg:#11141c;--sc-ink:#eef1f8;--sc-mut:#9aa3b8;--sc-line:#252a36;--sc-in:#1b2030}
.sc-fab{display:flex;align-items:center;gap:10px;height:58px;padding:0 22px 0 18px;border:0;border-radius:99px;cursor:pointer;color:#fff;
  background:linear-gradient(135deg,#1f56f0,#27b6ee);box-shadow:0 14px 40px rgba(31,86,240,.4);font:600 17px 'Hind Siliguri','DM Sans',sans-serif}
.sc-fab svg{width:26px;height:26px}
.sc-fab:focus-visible,.sc-close:focus-visible,.sc-form button:focus-visible,.sc-chip:focus-visible{outline:3px solid #9fd8ff;outline-offset:2px}
.sc-root.is-open .sc-fab{display:none}
.sc-panel{position:absolute;right:0;bottom:0;width:380px;height:min(600px,calc(100vh - 40px));display:flex;flex-direction:column;
  background:var(--sc-bg);color:var(--sc-ink);border:1px solid var(--sc-line);border-radius:22px;overflow:hidden;box-shadow:0 30px 80px rgba(10,20,60,.35)}
.sc-panel[hidden]{display:none}
.sc-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#1f56f0,#27b6ee);color:#fff}
.sc-head img{border-radius:10px;background:#fff;padding:4px}
.sc-head b{display:block;font:700 17px 'DM Sans',sans-serif}
.sc-head small{font-size:13px;opacity:.9}
.sc-close{margin-left:auto;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.sc-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.sc-msg{max-width:85%;padding:10px 14px;border-radius:18px;font-size:15.5px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.sc-msg.bot{align-self:flex-start;background:var(--sc-in);border-bottom-left-radius:6px}
.sc-msg.me{align-self:flex-end;background:var(--sc-blue);color:#fff;border-bottom-right-radius:6px}
.sc-msg a{color:inherit;font-weight:600;text-decoration:underline}
.sc-msg.bot a{color:var(--sc-blue)}
html[data-theme="dark"] .sc-msg.bot a{color:#8fb4ff}
.sc-wait{opacity:.7;font-style:italic}
.sc-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 10px}
.sc-chips:empty{display:none}
.sc-chip{border:1px solid var(--sc-blue);background:transparent;color:var(--sc-blue);border-radius:99px;padding:6px 14px;font:600 14px 'Hind Siliguri','DM Sans',sans-serif;cursor:pointer}
html[data-theme="dark"] .sc-chip{color:#8fb4ff;border-color:#8fb4ff}
.sc-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid var(--sc-line)}
.sc-form textarea{flex:1;resize:none;border:1px solid var(--sc-line);border-radius:16px;padding:10px 14px;font:15px 'Hind Siliguri','DM Sans',sans-serif;
  background:var(--sc-in);color:var(--sc-ink);max-height:110px}
.sc-form button{width:44px;height:44px;border:0;border-radius:50%;background:var(--sc-blue);color:#fff;cursor:pointer;display:grid;place-items:center;flex:none}
.sc-form button:disabled{opacity:.5;cursor:wait}
.sc-form button svg{width:20px;height:20px}
.sc-note{margin:0;padding:0 14px 10px;font-size:11.5px;color:var(--sc-mut);text-align:center}
@media (max-width:520px){
  .sc-root{right:12px;bottom:12px}
  .sc-fab{height:52px;padding:0 18px 0 14px;font-size:15px}
  .sc-root.is-open{left:0;right:0;bottom:0}
  .sc-panel{position:fixed;left:0;right:0;bottom:0;width:auto;height:min(88vh,640px);border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}
}
@media (prefers-reduced-motion:no-preference){.sc-panel{animation:sc-in .18s ease-out}@keyframes sc-in{from{opacity:0;transform:translateY(12px)}}}
