/* BigUpon AI assistant: shared, theme-aware website widget. */
.bu-chat{--chat-bg:var(--surface,#15111e);--chat-text:var(--text,#faf8ff);--chat-muted:var(--muted,#b9b0c7);--chat-line:var(--line,#30273d);--chat-accent:var(--purple,#b98cff);position:fixed;right:24px;bottom:24px;z-index:150;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--chat-text);font-size:14px;line-height:1.5;text-align:left;letter-spacing:normal}.bu-chat *{box-sizing:border-box}.bu-chat [hidden]{display:none!important}.bu-chat button,.bu-chat input{font:inherit}.bu-chat button{cursor:pointer}.bu-chat button:focus-visible,.bu-chat a:focus-visible,.bu-chat input:focus-visible{outline:3px solid var(--chat-accent);outline-offset:3px}.bu-launch{display:flex;align-items:center;gap:10px;min-height:56px;border:1px solid #d8b5ff;border-radius:28px;padding:0 20px;background:linear-gradient(110deg,#b98cff,#f7a4e9);color:#200d31;font-weight:750;box-shadow:0 6px 24px #0003}.bu-launch svg{width:23px;height:23px;flex-shrink:0}.bu-panel{position:absolute;bottom:72px;right:0;width:380px;height:min(580px,calc(var(--bu-vh,100dvh) - 120px));min-height:300px;display:flex;flex-direction:column;background:var(--chat-bg);border:1px solid var(--chat-line);border-radius:18px;box-shadow:0 16px 64px #0004;overflow:hidden}.bu-top{display:flex;align-items:center;gap:12px;padding:18px 16px;border-bottom:1px solid var(--chat-line);flex-shrink:0}.bu-avatar{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--chat-line);border-radius:12px;color:var(--chat-accent);background:var(--raised,#1d1729)}.bu-avatar svg{width:23px;height:23px}.bu-heading{flex:1;min-width:0}.bu-heading h2{font-size:16px!important;line-height:1.4!important;letter-spacing:-.2px!important;margin:0!important;font-weight:750}.bu-heading p{font-size:12px!important;line-height:1.5;margin:2px 0 0!important;color:var(--chat-muted)}.bu-icon-btn{width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--chat-muted);font-size:22px}.bu-icon-btn:hover{background:var(--raised,#1d1729);color:var(--chat-text)}.bu-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 16px;display:flex;flex-direction:column;gap:14px;scroll-behavior:smooth}.bu-bubble{max-width:94%;padding:12px 14px;border-radius:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.bu-bubble.assistant{align-self:flex-start;background:var(--raised,#1d1729);border:1px solid var(--chat-line)}.bu-bubble.user{align-self:flex-end;background:#b98cff;color:#200d31;border-bottom-right-radius:4px}.bu-bubble.system{max-width:100%;font-size:13px;padding:12px;border:1px solid var(--chat-line);color:var(--chat-muted);background:transparent}.bu-bubble a{color:var(--chat-accent);text-decoration:underline}.bu-prompts{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}.bu-prompts button{background:transparent;color:var(--chat-text);border:1px solid var(--chat-line);border-radius:8px;padding:9px 12px;min-height:44px;text-align:left;font-size:13px}.bu-prompts button:hover{border-color:var(--chat-accent)}.bu-state{color:var(--chat-muted);font-size:12px;min-height:18px;padding:0 16px}.bu-foot{padding:12px 16px 14px;border-top:1px solid var(--chat-line);flex-shrink:0}.bu-form{display:flex;align-items:center;gap:8px}.bu-input{width:100%;min-width:0;height:46px;background:var(--bg,#0c0912);color:var(--chat-text);border:1px solid var(--chat-line);border-radius:9px;padding:10px 12px;outline-offset:-3px!important;font-size:16px!important}.bu-input::placeholder{color:var(--chat-muted);opacity:1}.bu-send{width:46px;height:46px;flex-shrink:0;border:0;border-radius:9px;background:var(--chat-accent);color:#200d31;display:grid;place-items:center}.bu-send:disabled{opacity:.45;cursor:not-allowed}.bu-send svg{width:21px;height:21px}.bu-privacy{font-size:11px!important;line-height:1.5!important;color:var(--chat-muted);margin:10px 0 8px!important}.bu-links{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.bu-links a{color:var(--chat-accent);text-decoration:none;min-height:32px;display:flex;align-items:center}.bu-reset{color:var(--chat-muted);border:0;background:none;min-height:32px;padding:0;font-size:12px!important}.bu-reset:hover,.bu-links a:hover{text-decoration:underline}@media(max-width:600px){.bu-chat{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.bu-panel{width:calc(100vw - 32px);height:min(580px,calc(var(--bu-vh,100dvh) - 112px));bottom:68px}.bu-launch{min-height:52px;padding:0 16px}.bu-top{padding:14px 12px}.bu-panel{min-height:240px}.bu-messages{padding:14px 12px}.bu-foot{padding:10px 12px}.bu-privacy{font-size:11px!important}}@media(prefers-reduced-motion:reduce){.bu-messages{scroll-behavior:auto}}
[data-theme="light"] .bu-send{color:#fff}.bu-privacy{font-size:12px!important}.bu-links a,.bu-reset{min-height:44px}
.bu-answer-links{display:flex;flex-direction:column;gap:4px;margin-top:12px;padding-top:8px;border-top:1px solid var(--chat-line);white-space:normal}.bu-answer-links a{display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:600}.bu-state:empty{display:none}
