.chat-widget-fab{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;border:none;background:linear-gradient(135deg,#22d3ee,#0891b2);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(34,211,238,.4);transition:transform .2s ease,box-shadow .2s ease;z-index:9999}.chat-widget-fab:hover{transform:scale(1.08);box-shadow:0 6px 28px rgba(34,211,238,.5)}.chat-widget-fab--open{background:rgba(15,23,42,.85);box-shadow:0 4px 16px rgba(0,0,0,.3)}.chat-widget-window{position:fixed;bottom:92px;right:24px;width:380px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 140px);border-radius:16px;background:#0f172a;border:1px solid rgba(34,211,238,.25);box-shadow:0 12px 48px rgba(0,0,0,.5);display:flex;flex-direction:column;overflow:hidden;z-index:9998;animation:chatSlideUp .25s ease}@keyframes chatSlideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.chat-widget-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:linear-gradient(135deg,#1e293b,#0f172a);border-bottom:1px solid rgba(34,211,238,.15)}.chat-widget-header-info{display:flex;align-items:center;gap:10px}.chat-widget-avatar{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#22d3ee,#0891b2);display:flex;align-items:center;justify-content:center;color:#fff}.chat-widget-title{font-size:.9rem;font-weight:600;color:#f1f5f9}.chat-widget-subtitle{font-size:.72rem;color:#94a3b8}.chat-widget-close{background:none;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:6px;transition:background .15s,color .15s}.chat-widget-close:hover{background:hsla(0,0%,100%,.08);color:#f1f5f9}.chat-widget-messages{flex:1 1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.chat-widget-messages::-webkit-scrollbar{width:4px}.chat-widget-messages::-webkit-scrollbar-track{background:transparent}.chat-widget-messages::-webkit-scrollbar-thumb{background:rgba(34,211,238,.2);border-radius:2px}.chat-msg{display:flex;max-width:88%}.chat-msg--user{align-self:flex-end}.chat-msg--assistant{align-self:flex-start}.chat-msg-bubble{padding:10px 14px;border-radius:14px;font-size:.84rem;line-height:1.5;word-break:break-word;white-space:pre-wrap}.chat-msg--user .chat-msg-bubble{background:linear-gradient(135deg,#22d3ee,#0891b2);color:#fff;border-bottom-right-radius:4px}.chat-msg--assistant .chat-msg-bubble{background:#1e293b;color:#e2e8f0;border:1px solid rgba(34,211,238,.12);border-bottom-left-radius:4px}.chat-msg--assistant .chat-link{color:#38bdf8;text-decoration:underline;text-underline-offset:2px;transition:color .15s}.chat-msg--assistant .chat-link:hover{color:#7dd3fc}.chat-msg--user .chat-link{color:#fff;text-decoration:underline;text-underline-offset:2px}.chat-msg-typing{display:flex;align-items:center;gap:4px;padding:12px 18px}.chat-msg-typing span{width:6px;height:6px;border-radius:50%;background:#22d3ee;animation:chatTyping 1.2s infinite}.chat-msg-typing span:nth-child(2){animation-delay:.15s}.chat-msg-typing span:nth-child(3){animation-delay:.3s}@keyframes chatTyping{0%,60%,to{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}.chat-widget-input{display:flex;align-items:center;gap:8px;padding:12px 14px;border-top:1px solid rgba(34,211,238,.12);background:#0c1222}.chat-widget-input input{flex:1 1;background:#1e293b;border:1px solid rgba(34,211,238,.15);border-radius:10px;padding:10px 14px;font-size:.84rem;color:#f1f5f9;outline:none;transition:border-color .2s}.chat-widget-input input::placeholder{color:#64748b}.chat-widget-input input:focus{border-color:#22d3ee}.chat-widget-send{width:38px;height:38px;border-radius:10px;border:none;background:linear-gradient(135deg,#22d3ee,#0891b2);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s,transform .15s;flex-shrink:0}.chat-widget-send:hover:not(:disabled){transform:scale(1.05)}.chat-widget-send:disabled{opacity:.4;cursor:not-allowed}@media (max-width:480px){.chat-widget-window{bottom:0;right:0;width:100vw;height:calc(100vh - 60px);max-height:none;max-width:none;border-radius:16px 16px 0 0}.chat-widget-fab{bottom:16px;right:16px;width:52px;height:52px}}