.AiChat-module__R5XwSq__container{height:calc(100vh - var(--header-height) - 2rem);flex-direction:column;max-width:860px;margin:0 auto;padding:0 1rem;display:flex}.AiChat-module__R5XwSq__messagesArea{flex-direction:column;flex:1;gap:1.5rem;padding:1.5rem 0;display:flex;overflow-y:auto}.AiChat-module__R5XwSq__emptyState{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1rem;padding:2rem;display:flex}.AiChat-module__R5XwSq__emptyIcon{background:var(--brand-blue);color:#fff;letter-spacing:.05em;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.1rem;font-weight:800;display:flex}.AiChat-module__R5XwSq__emptyTitle{color:var(--text-primary);font-size:1.5rem;font-weight:700}.AiChat-module__R5XwSq__emptyDesc{color:var(--text-secondary);font-size:.95rem;line-height:1.6}.AiChat-module__R5XwSq__suggestions{flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:600px;margin-top:1rem;display:flex}.AiChat-module__R5XwSq__suggestionChip{border:1px solid var(--border-light);background:var(--bg-primary);color:var(--text-primary);cursor:pointer;white-space:nowrap;border-radius:20px;padding:.5rem 1rem;font-size:.85rem;transition:all .2s}.AiChat-module__R5XwSq__suggestionChip:hover{background:var(--brand-blue);color:#fff;border-color:var(--brand-blue)}.AiChat-module__R5XwSq__messageUser{justify-content:flex-end;display:flex}.AiChat-module__R5XwSq__messageUserBubble{background:var(--brand-blue);color:#fff;white-space:pre-wrap;border-radius:16px 16px 4px;max-width:70%;padding:.75rem 1rem;font-size:.95rem;line-height:1.6}.AiChat-module__R5XwSq__messageAssistant{align-items:flex-start;gap:.75rem;display:flex}.AiChat-module__R5XwSq__messageAiIcon{background:var(--brand-blue);color:#fff;letter-spacing:.05em;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;margin-top:4px;font-size:.7rem;font-weight:800;display:flex}.AiChat-module__R5XwSq__messageAiBubble{background:var(--bg-secondary);max-width:80%;color:var(--text-primary);border-radius:4px 16px 16px;padding:.75rem 1rem;font-size:.95rem;line-height:1.8}.AiChat-module__R5XwSq__messageAiBubble p{margin:0 0 .75rem}.AiChat-module__R5XwSq__messageAiBubble p:last-child{margin-bottom:0}.AiChat-module__R5XwSq__messageAiBubble h1,.AiChat-module__R5XwSq__messageAiBubble h2,.AiChat-module__R5XwSq__messageAiBubble h3{margin:1rem 0 .5rem;font-size:1.05rem;font-weight:700}.AiChat-module__R5XwSq__messageAiBubble ul,.AiChat-module__R5XwSq__messageAiBubble ol{margin:.5rem 0;padding-left:1.5rem}.AiChat-module__R5XwSq__messageAiBubble li{margin-bottom:.25rem}.AiChat-module__R5XwSq__messageAiBubble code{background:#0000000f;border-radius:4px;padding:.15rem .4rem;font-size:.85em}.AiChat-module__R5XwSq__messageAiBubble pre{background:#0000000f;border-radius:8px;margin:.5rem 0;padding:.75rem;overflow-x:auto}.AiChat-module__R5XwSq__messageAiBubble pre code{background:0 0;padding:0}.AiChat-module__R5XwSq__messageAiBubble table{border-collapse:collapse;width:100%;margin:.75rem 0;font-size:.9rem}.AiChat-module__R5XwSq__messageAiBubble th,.AiChat-module__R5XwSq__messageAiBubble td{border:1px solid var(--border-light);text-align:left;padding:.4rem .6rem}.AiChat-module__R5XwSq__messageAiBubble th{background:var(--bg-primary);font-weight:600}.AiChat-module__R5XwSq__typing{color:var(--text-secondary);font-style:italic}.AiChat-module__R5XwSq__inputArea{border-top:1px solid var(--border-light);padding:1rem 0}.AiChat-module__R5XwSq__inputForm{align-items:center;gap:.5rem;display:flex}.AiChat-module__R5XwSq__chatInput{border:1px solid var(--border-light);background:var(--bg-primary);color:var(--text-primary);border-radius:24px;outline:none;flex:1;padding:.85rem 1.2rem;font-family:inherit;font-size:.95rem;transition:border-color .2s}.AiChat-module__R5XwSq__chatInput:focus{border-color:var(--brand-blue)}.AiChat-module__R5XwSq__chatInput::placeholder{color:var(--text-secondary)}.AiChat-module__R5XwSq__sendBtn{background:var(--brand-blue);color:#fff;cursor:pointer;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:1.2rem;transition:opacity .2s;display:flex}.AiChat-module__R5XwSq__sendBtn:disabled{opacity:.4;cursor:not-allowed}.AiChat-module__R5XwSq__sendBtn:hover:not(:disabled){opacity:.85}.AiChat-module__R5XwSq__disclaimer{text-align:center;color:var(--text-secondary);margin-top:.5rem;font-size:.75rem}.AiChat-module__R5XwSq__figureBlock{text-align:center;margin:.75rem 0}.AiChat-module__R5XwSq__figureImg{border:1px solid var(--border-light);border-radius:8px;max-width:100%}.AiChat-module__R5XwSq__figurePlaceholder{background:var(--bg-primary);border:1px dashed var(--border-light);color:var(--text-secondary);border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:1rem;font-size:.85rem;display:flex}.AiChat-module__R5XwSq__figureCaption{color:var(--text-secondary);margin-top:.4rem;font-size:.8rem;font-style:italic}.AiChat-module__R5XwSq__messageAiBubble .AiChat-module__R5XwSq__katex-display{margin:.75rem 0;overflow-x:auto}@media (max-width:768px){.AiChat-module__R5XwSq__container{padding:0 .5rem}.AiChat-module__R5XwSq__messageUserBubble{max-width:85%}.AiChat-module__R5XwSq__messageAiBubble{max-width:90%}.AiChat-module__R5XwSq__emptyTitle{font-size:1.25rem}.AiChat-module__R5XwSq__suggestions{flex-direction:column;align-items:stretch}.AiChat-module__R5XwSq__suggestionChip{white-space:normal;text-align:left}}@media (prefers-color-scheme:dark){.AiChat-module__R5XwSq__messageAiBubble code{background:#ffffff14}.AiChat-module__R5XwSq__messageAiBubble pre{background:#ffffff0f}}
