.knowledge-source-page {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 18px 16px 32px;
  background: #f5f7fb;
}

.knowledge-source-state {
  margin-bottom: 12px;
  color: #64748b;
  font-size: 13px;
}

.knowledge-source-state.is-error {
  color: #dc2626;
}

.knowledge-source-header,
.knowledge-source-section {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.knowledge-source-header {
  margin-bottom: 12px;
}

.knowledge-source-header__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.knowledge-source-header__label,
.knowledge-source-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f2ff;
  color: #123e7c;
  font-size: 12px;
  font-weight: 600;
}

.knowledge-source-header__label.is-muted {
  background: #f1f5f9;
  color: #475569;
}

.knowledge-source-header__label.is-trust {
  background: #ecfdf5;
  color: #047857;
}

.knowledge-source-header__label.is-trust.is-low {
  background: #fff7ed;
  color: #c2410c;
}

.knowledge-source-header__label.is-trust.is-official {
  background: #eef2ff;
  color: #3730a3;
}

.knowledge-source-header__title {
  display: block;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.knowledge-source-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.knowledge-source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.knowledge-source-tag {
  background: #ecfdf5;
  color: #047857;
}

.knowledge-source-section {
  margin-top: 12px;
}

.knowledge-source-section__title {
  display: block;
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.knowledge-source-section__body {
  display: block;
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}
