#ai-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:1050;box-shadow:0 2px 8px #00000026}#ai-chat-window{position:fixed;right:24px;bottom:88px;z-index:1050;width:380px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;background:#fff;border:1px solid #dde1e9;border-radius:12px;box-shadow:0 8px 28px #00000038;overflow:hidden;min-width:320px;min-height:340px}.ai-chat-resize{position:absolute;top:0;left:0;width:18px;height:18px;z-index:3;cursor:nwse-resize}.ai-chat-resize:before{content:"";position:absolute;top:4px;left:4px;width:8px;height:8px;border-top:2px solid #b0b8c6;border-left:2px solid #b0b8c6;border-top-left-radius:3px}.ai-chat-head{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f0f2f6;border-bottom:1px solid #dde1e9;font-weight:600}.ai-chat-head-actions{display:flex;gap:4px}#ai-chat-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.ai-msg{max-width:90%;padding:8px 11px;border-radius:10px;font-size:14px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.ai-msg-user{align-self:flex-end;background:#e6eef7}.ai-msg-assistant{align-self:flex-start;background:#f4f6f9}.ai-busy{opacity:.55;cursor:not-allowed}.ai-typing{display:inline-flex;gap:4px;align-items:center;padding:2px 0}.ai-typing i{width:7px;height:7px;border-radius:50%;background:#98a2b3;display:inline-block;animation:ai-typing-bounce 1.2s infinite ease-in-out}.ai-typing i:nth-child(2){animation-delay:.2s}.ai-typing i:nth-child(3){animation-delay:.4s}@keyframes ai-typing-bounce{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}.ai-code{position:relative;margin:6px 0}.ai-code pre{background:#1a2130;color:#e7ebf2;padding:10px 12px;border-radius:8px;overflow-x:auto;font-family:ui-monospace,Menlo,monospace;font-size:13px;margin:0}.ai-copy{position:absolute;top:6px;right:6px}#ai-chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid #dde1e9}#ai-chat-input{flex:1;resize:none;border:1px solid #dde1e9;border-radius:8px;padding:8px;font:inherit}
