
.qa-page[data-v-58848596] {
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
}
.qa-card[data-v-58848596] {
    height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}
.qa-card[data-v-58848596] .el-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
}
.card-header[data-v-58848596],
.composer-actions[data-v-58848596],
.reference-title[data-v-58848596] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header[data-v-58848596] {
    font-weight: 600;
}
.chat-body[data-v-58848596] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 14px;
    background: #f7f9fc;
}
.empty-chat[data-v-58848596] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #909399;
}
.empty-chat i[data-v-58848596] {
    margin-bottom: 12px;
    font-size: 48px;
}
.chat-round[data-v-58848596] {
    margin-bottom: 18px;
}
.message-row[data-v-58848596] {
    display: flex;
    margin-bottom: 12px;
}
.user-row[data-v-58848596] {
    justify-content: flex-end;
}
.assistant-row[data-v-58848596] {
    align-items: flex-start;
}
.message-bubble[data-v-58848596] {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 10px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}
.user-bubble[data-v-58848596] {
    color: #fff;
    background: #409eff;
    border-bottom-right-radius: 2px;
}
.assistant-avatar[data-v-58848596] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    color: #409eff;
    background: #eaf4ff;
    border-radius: 50%;
}
.assistant-content[data-v-58848596] {
    width: calc(100% - 44px);
}
.assistant-bubble[data-v-58848596] {
    color: #303133;
    background: #fff;
    border: 1px solid #ebeef5;
    border-bottom-left-radius: 2px;
}
.loading-answer[data-v-58848596] {
    color: #909399;
}
.reference-collapse[data-v-58848596] {
    max-width: 82%;
    margin-top: 8px;
}
.reference-item[data-v-58848596] {
    padding: 10px;
    margin-bottom: 8px;
    color: #606266;
    line-height: 1.6;
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 4px;
}
.reference-title[data-v-58848596] {
    margin-bottom: 6px;
    color: #409eff;
    font-weight: 600;
}
.feedback-actions[data-v-58848596] {
    margin-top: 4px;
}
.composer[data-v-58848596] {
    flex-shrink: 0;
    padding-top: 12px;
}
.composer-actions[data-v-58848596] {
    margin-top: 10px;
}
.top-k-label[data-v-58848596] {
    margin-right: 8px;
    color: #606266;
}

/* 小屏允许工具行换行，聊天记录独立滚动，输入框与发送按钮保持可见。 */
@media (max-width: 767px) {
.qa-page[data-v-58848596] { padding: 8px;
}
.qa-card[data-v-58848596] .el-card__body { padding: 12px;
}
.card-header[data-v-58848596], .composer-actions[data-v-58848596] { flex-wrap: wrap; gap: 8px;
}
.message-bubble[data-v-58848596], .reference-collapse[data-v-58848596] { max-width: 100%;
}
.chat-body[data-v-58848596] { padding: 8px;
}
}

