.ai-assistant-card { max-width: 980px; margin: 0 auto; }
.ai-assistant-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.ai-assistant-title { font-size:20px; font-weight:600; color:#172b4d; }
.ai-assistant-subtitle { color:#909399; font-size:13px; margin-top:5px; }
.ai-chat-list { height:520px; overflow-y:auto; padding:16px; background:#f6f8fc; border:1px solid #ebeef5; border-radius:8px; }
.ai-chat-row { display:flex; flex-direction:column; align-items:flex-start; margin-bottom:14px; }
.ai-chat-row.user { align-items:flex-end; }
.ai-chat-bubble { max-width:78%; padding:10px 13px; border-radius:10px; white-space:pre-wrap; line-height:1.6; color:#303133; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.06); }
.ai-chat-row.user .ai-chat-bubble { color:#fff; background:#409eff; }
.ai-empty { padding:90px 30px; text-align:center; color:#909399; line-height:2; }
.ai-chat-input { display:flex; gap:10px; align-items:flex-end; margin-top:14px; }
.ai-chat-input .el-textarea { flex:1; }
.ai-pending-action { width:min(78%, 620px); margin-top:8px; padding:12px; border:1px solid #e6a23c; border-radius:8px; background:#fffaf0; }
.ai-pending-title { font-weight:600; color:#b88230; margin-bottom:6px; }
.ai-pending-action pre { margin:0; white-space:pre-wrap; font:13px/1.6 inherit; color:#606266; }
.ai-pending-buttons { margin-top:10px; }
@media (max-width: 700px) {
  .ai-chat-list { height: calc(100vh - 330px); min-height:300px; }
  .ai-chat-bubble, .ai-pending-action { max-width:92%; width:auto; }
}
