/* ==================== RAG 召回页面 - 对称左侧风格 ==================== */

.rag-recall-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0; /* tab-content已有padding，这里不需要 */
  gap: 8px;
  background: var(--color-bg-primary);
  overflow-y: auto;
}

/* 标题栏 - 与左侧对称 */
.tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: var(--color-bg-tertiary);
  border-radius: 4px;
  border: 1px solid var(--color-border-light);
}

.title-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.recall-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 2px 8px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

/* 召回列表 */
.recall-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px;
}

.recall-item {
  padding: 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all 0.15s ease;
}

.recall-item:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-tertiary);
}

.recall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border-light);
}

.recall-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 8px;
}

.recall-score {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  padding: 2px 8px;
  background: var(--color-accent-light);
  border-radius: 10px;
  flex-shrink: 0;
}

.recall-content {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
