/*
 * GitHub 中文 · 采集工作台 — 卡片
 * @file public/css/cards.css
 * @version 1.12.1
 */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.step-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}

.card-desc {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 采集趋势列表（项目概览页） */
.trend-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.trend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .6rem .9rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--canvas);
  font-size: .85rem;
}

.trend-time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .78rem;
  min-width: 9.5rem;
}

.trend-total {
  font-weight: 700;
  color: var(--brand-strong);
}

.trend-delta {
  margin-left: auto;
  color: var(--muted);
}

/* 区块（对齐原型 proto-section：标题 + meta 引导语） */
.section {
  margin-bottom: 0;
}

.section > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 .35rem;
}

.section > .meta {
  color: var(--faint);
  font-family: var(--mono);
  font-size: .8rem;
  margin: 0 0 1rem;
}
