body.sources-page {
  position: static;
  background: #14171c;
  color: #e8e8e8;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.sources-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.back-link {
  color: #6cb4ee;
  text-decoration: none;
  font-size: 13px;
}

.back-link:hover {
  text-decoration: underline;
}

.sources-container h1 {
  margin: 12px 0 4px;
  font-size: 26px;
}

.sources-container h2 {
  margin-top: 32px;
  font-size: 18px;
  border-bottom: 1px solid #333;
  padding-bottom: 6px;
}

.sources-summary {
  color: #aaa;
  font-size: 13px;
}

.lineage-list {
  font-size: 14px;
  line-height: 1.8;
  padding-left: 20px;
}

.source-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.source-card {
  background: #1d2128;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.source-card.highlighted {
  border-color: #ffc400;
  box-shadow: 0 0 0 2px rgba(255, 196, 0, 0.4);
}

.source-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-description {
  color: #ccc;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.source-card a {
  color: #6cb4ee;
  font-size: 13px;
  text-decoration: none;
}

.source-card a:hover {
  text-decoration: underline;
}

.lineage-note {
  font-size: 12px;
  color: #999;
  font-style: italic;
  margin: 4px 0 8px;
}

.source-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.stat {
  background: #14171c;
  border-radius: 5px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 11px;
  color: #888;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
}

.no-data {
  font-size: 12px;
  color: #888;
  font-style: italic;
  margin-top: 8px;
}
