.ai-chat_AiChatPage__yrZjV{display:flex;flex-direction:column;height:100vh;padding:.8rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#fff;color:#333}.ai-chat_ChatHeader__3nO7n{display:flex;flex-direction:column;gap:.8rem;margin-bottom:.8rem}.ai-chat_ChatHeader__3nO7n h1{text-align:center;margin:0;font-size:1.4rem;font-weight:500;color:#333}.ai-chat_ModeToggle__LuLrR{display:flex;background:#f8f9fa;border-radius:10px;padding:3px;align-self:center;box-shadow:inset 0 1px 2px rgba(0,0,0,.08)}.ai-chat_ModeButton__OeY8t{display:flex;align-items:center;gap:.5rem;padding:.6rem 1rem;border:none;border-radius:8px;background:rgba(0,0,0,0);color:#666;font-size:.82rem;font-weight:500;cursor:pointer;transition:all .2s ease}.ai-chat_ModeButton__OeY8t svg{width:15px;height:15px}.ai-chat_ModeButton__OeY8t.ai-chat_active__eFFjm{background:#007aff;color:#fff;box-shadow:0 2px 6px rgba(0,122,255,.25)}.ai-chat_ModeButton__OeY8t:hover:not(.ai-chat_active__eFFjm){background:rgba(0,0,0,.04)}.ai-chat_ModeButton__OeY8t:disabled{opacity:.5;cursor:not-allowed}.ai-chat_ModelSelector__brbsy{display:flex;flex-direction:column;gap:.4rem;align-items:center}.ai-chat_ModelSelector__brbsy label{font-size:.82rem;color:#666;font-weight:500}.ai-chat_ModelSelect__9ToFa{padding:.5rem .9rem;border:1px solid #e1e5e9;border-radius:8px;background:#fff;color:#333;font-size:.82rem;min-width:240px;cursor:pointer}.ai-chat_ModelSelect__9ToFa:focus{outline:none;border-color:#007aff}.ai-chat_ChatContainer__oHs_0{flex:1;border:1px solid #e8eaed;border-radius:10px;padding:1.2rem;background:#fbfcfd;overflow-y:auto;margin-bottom:.8rem;min-height:0}.ai-chat_Message__fVBaG{display:flex;flex-direction:column;margin-bottom:1.2rem}.ai-chat_Message__fVBaG.ai-chat_user__JLVxa{align-items:flex-end}.ai-chat_Message__fVBaG.ai-chat_user__JLVxa .ai-chat_MessageHeader__hT_EV{flex-direction:row-reverse}.ai-chat_Message__fVBaG.ai-chat_user__JLVxa .ai-chat_MessageHeader__hT_EV .ai-chat_Avatar__crncj{background:#007aff}.ai-chat_Message__fVBaG.ai-chat_user__JLVxa .ai-chat_MessageHeader__hT_EV .ai-chat_SenderName__zQQlc{color:#007aff}.ai-chat_Message__fVBaG.ai-chat_user__JLVxa .ai-chat_MessageBubble__eZIWM{background:#007aff;color:#fff;border-radius:16px 16px 4px 16px}.ai-chat_Message__fVBaG.ai-chat_ai__12oA7{align-items:flex-start}.ai-chat_Message__fVBaG.ai-chat_ai__12oA7 .ai-chat_MessageHeader__hT_EV .ai-chat_Avatar__crncj{background:#34c759}.ai-chat_Message__fVBaG.ai-chat_ai__12oA7 .ai-chat_MessageHeader__hT_EV .ai-chat_SenderName__zQQlc{color:#333}.ai-chat_Message__fVBaG.ai-chat_ai__12oA7 .ai-chat_MessageBubble__eZIWM{background:#f2f3f5;color:#333;border-radius:16px 16px 16px 4px}.ai-chat_Message__fVBaG .ai-chat_MessageHeader__hT_EV{display:flex;align-items:center;gap:.4rem;margin-bottom:.4rem}.ai-chat_Message__fVBaG .ai-chat_MessageHeader__hT_EV .ai-chat_Avatar__crncj{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff;font-weight:500}.ai-chat_Message__fVBaG .ai-chat_MessageHeader__hT_EV .ai-chat_Avatar__crncj svg{width:15px;height:15px}.ai-chat_Message__fVBaG .ai-chat_MessageHeader__hT_EV .ai-chat_SenderInfo__BmDjt{display:flex;flex-direction:column;gap:1px}.ai-chat_Message__fVBaG .ai-chat_MessageHeader__hT_EV .ai-chat_SenderName__zQQlc{font-size:.75rem;font-weight:500}.ai-chat_Message__fVBaG .ai-chat_MessageHeader__hT_EV .ai-chat_Timestamp__F1cw3{font-size:.7rem;color:#999}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM{max-width:78%;padding:.75rem .9rem;font-size:.88rem;line-height:1.5}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c{word-wrap:break-word}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua h1,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua h2,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua h3,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div h1,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div h2,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div h3{margin:.8rem 0 .4rem;font-weight:600}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua h1:first-child,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua h2:first-child,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua h3:first-child,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div h1:first-child,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div h2:first-child,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div h3:first-child{margin-top:0}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua p,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div p{margin:0 0 .4rem}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua p:last-child,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div p:last-child{margin-bottom:0}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua ol,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua ul,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div ol,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div ul{margin:.4rem 0;padding-left:1.1rem}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua code,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div code{background:rgba(0,0,0,.06);padding:.15rem .35rem;border-radius:4px;font-family:monospace;font-size:.84em}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua pre,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div pre{background:rgba(0,0,0,.06);padding:.7rem;border-radius:6px;overflow-x:auto;margin:.4rem 0}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c .ai-chat_markdown-content__nqcua pre code,.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM .ai-chat_MessageText__bqv7c div pre code{background:rgba(0,0,0,0);padding:0}.ai-chat_ImageContainer__lgM5k{margin-top:.4rem;border-radius:8px;overflow:hidden}.ai-chat_GeneratedImage__YIypr{width:100%;max-width:280px;height:auto;border-radius:6px}.ai-chat_InputContainer__8sCuu{display:flex;flex-direction:column;gap:.7rem;background:#fff;padding:.9rem;border-radius:10px;border:1px solid #e8eaed}.ai-chat_InputContainer__8sCuu textarea{padding:.7rem;border:1px solid #e1e5e9;border-radius:8px;font-size:.88rem;outline:none;min-height:20px;max-height:120px;resize:vertical}.ai-chat_InputContainer__8sCuu textarea:focus{border-color:#007aff}.ai-chat_InputContainer__8sCuu textarea::placeholder{color:#999}.ai-chat_InputContainer__8sCuu textarea:disabled{opacity:.5;background:#f8f9fa}.ai-chat_ButtonContainer__IVZWl{display:flex;gap:.5rem}.ai-chat_SendButton__XnWWD{display:flex;align-items:center;gap:.4rem;padding:.7rem 1.1rem;border:none;border-radius:8px;background:#007aff;color:#fff;font-size:.88rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:90px;justify-content:center}.ai-chat_SendButton__XnWWD svg{width:15px;height:15px}.ai-chat_SendButton__XnWWD:hover:not(:disabled){background:#0056d6}.ai-chat_SendButton__XnWWD:disabled{opacity:.5;cursor:not-allowed}.ai-chat_LoadingSpinner__BEEaf{display:flex;align-items:center;gap:.4rem}.ai-chat_LoadingSpinner__BEEaf .ai-chat_spinner__xir8D{width:15px;height:15px}@media(max-width:768px){.ai-chat_AiChatPage__yrZjV{padding:.4rem}.ai-chat_ChatHeader__3nO7n{gap:.5rem;margin-bottom:.5rem}.ai-chat_ChatHeader__3nO7n h1{font-size:1.2rem}.ai-chat_ChatContainer__oHs_0{padding:.9rem;margin-bottom:.6rem}.ai-chat_ModeToggle__LuLrR{width:100%;justify-content:center}.ai-chat_ModeButton__OeY8t{flex:1;justify-content:center;padding:.55rem .7rem;font-size:.78rem}.ai-chat_ModelSelector__brbsy .ai-chat_ModelSelect__9ToFa{min-width:100%;font-size:.78rem}.ai-chat_Message__fVBaG .ai-chat_MessageBubble__eZIWM{max-width:88%;padding:.65rem .8rem;font-size:.84rem}.ai-chat_InputContainer__8sCuu{padding:.7rem}.ai-chat_InputContainer__8sCuu textarea{font-size:.84rem;min-height:16px;max-height:90px}.ai-chat_SendButton__XnWWD{padding:.65rem .9rem;font-size:.82rem;min-width:80px}}