/* Phase 2: 全文阅读模式头部样式 */

.fulltext-header {
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
  max-height: 40vh;
  overflow-y: auto;
}

.fulltext-info {
  margin-bottom: 20px;
}

.fulltext-title {
  font-size: 18px;
  font-weight: 600;
  color: #262626;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kb-name {
  font-size: 14px;
  font-weight: 400;
  color: #8c8c8c;
}

.fulltext-desc {
  font-size: 14px;
  color: #595959;
  margin: 0 0 4px 0;
}

.fulltext-desc strong {
  color: #1890ff;
  font-weight: 600;
}

.fulltext-reason {
  font-size: 13px;
  color: #8c8c8c;
  margin: 0;
}

.loaded-docs {
  margin-top: 16px;
}

.loaded-docs-title {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin: 0 0 12px 0;
}

.doc-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fafafa;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
}

.doc-item:last-child {
  border-bottom: none;
}

.doc-item:hover {
  background: #f0f8ff;
}

.doc-icon {
  flex-shrink: 0;
  font-size: 16px;
}

.doc-name {
  flex: 1;
  color: #262626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-tokens {
  flex-shrink: 0;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 12px;
  color: #52c41a;
  background: #f6ffed;
  padding: 2px 6px;
  border-radius: 3px;
}

