/* Minimal floating chat widget styles (scoped) */
.ai-chat-widget{position:fixed;right:18px;bottom:18px;z-index:9999;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.ai-chat-toggle{border:0;padding:10px 12px;border-radius:999px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.ai-chat-panel{width:320px;max-width:calc(100vw - 36px);height:420px;max-height:calc(100vh - 90px);margin-top:10px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.22);display:flex;flex-direction:column}
.ai-chat-header{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.08)}
.ai-chat-title{font-weight:600;font-size:14px}
.ai-chat-close{border:0;background:transparent;font-size:18px;cursor:pointer}
.ai-chat-messages{padding:12px;overflow:auto;flex:1;background:rgba(0,0,0,.02)}
.ai-chat-msg{margin:8px 0;display:flex;flex-wrap:wrap}
.ai-chat-msg--user{justify-content:flex-end}
.ai-chat-msg--bot{justify-content:flex-start}
.ai-chat-bubble{max-width:85%;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.3;background:#fff;border:1px solid rgba(0,0,0,.08);white-space:pre-wrap}
.ai-chat-msg--user .ai-chat-bubble{background:rgba(48,108,150,.10);border-color:rgba(48,108,150,.20)}
.ai-chat-bubble--pending{opacity:.7}
.ai-chat-actions-inline{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;flex-basis:100%}
.ai-chat-actions-inline a{display:inline-block;padding:6px 10px;border-radius:10px;font-size:12px;text-decoration:none;background:rgba(0,0,0,.06);color:#111}
.ai-chat-actions-inline a:hover{background:rgba(0,0,0,.10)}
.ai-chat-form{padding:10px 12px;border-top:1px solid rgba(0,0,0,.08);background:#fff}
.ai-chat-note{font-size:11px;opacity:.75;margin-bottom:8px}
.ai-chat-input{width:100%;resize:none;border-radius:10px;border:1px solid rgba(0,0,0,.18);padding:8px 10px;font-size:13px;box-sizing:border-box}
.ai-chat-actions{display:flex;gap:8px;margin-top:8px}
.ai-chat-send,.ai-chat-clear{border:0;padding:8px 10px;border-radius:10px;cursor:pointer}
.ai-chat-send{background:rgba(48,108,150,.85);color:#fff}
.ai-chat-clear{background:rgba(0,0,0,.06)}
