/* ============================================================
   daily-report.css — AI 日报专用组件
   Light theme base + dark theme via [data-theme="dark"]
   Version: 20260603e
   ============================================================ */

/* ---- Daily Report Container ---- */
.daily-report { display: grid; gap: 16px; }

/* ---- Hero Section ---- */
.daily-report-hero {
  padding: 36px 32px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.daily-report-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--accent));
}

.daily-report-hero::after {
  content: 'AI';
  position: absolute;
  right: 20px; top: -6px;
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
  color: var(--border-light);
  pointer-events: none;
}

.daily-report-hero p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.daily-report-hero p:last-of-type { margin-bottom: 0; }
.daily-report-hero strong { color: var(--text); }

.report-chips {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.report-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  letter-spacing: .02em;
}

/* ---- Report Cards ---- */
.report-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.report-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.report-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 18px;
  letter-spacing: -.01em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.report-card h2::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---- Summary Box ---- */
.summary-box {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent);
}

.summary-box p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.summary-box p:last-child { margin-bottom: 0; }

/* ---- Infographic Card ---- */
.infographic-card { padding: 20px; }

.infographic-card img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- Signal Grid ---- */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.signal-card {
  padding: 20px;
  background: var(--bg);
  transition: background var(--transition);
}
.signal-card:hover { background: var(--bg-subtle); }

.signal-card b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.signal-card span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- News List ---- */
.news-list {
  counter-reset: news;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-item {
  counter-increment: news;
  position: relative;
  padding: 18px 20px 18px 60px;
  background: var(--bg);
  transition: background var(--transition);
  line-height: 1.65;
}
.news-item:hover { background: var(--bg-subtle); }

.news-item::before {
  content: counter(news, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
  opacity: .5;
}

.news-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ---- Tags ---- */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tag.agent   { background: var(--accent-light); color: var(--accent); }
.tag.model   { background: var(--rose-light); color: var(--rose); }
.tag.product { background: var(--green-light); color: var(--green); }
.tag.infra   { background: var(--amber-light); color: var(--amber); }
.tag.market  { background: var(--bg-muted); color: var(--text-secondary); }
.tag.policy  { background: var(--cyan-light); color: var(--cyan); }

/* ---- Impact Grid / Table ---- */
.impact-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.impact-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.impact-row:last-child { border-bottom: none; }

.impact-cell {
  padding: 12px 14px;
  border-right: 1px solid var(--border);
  line-height: 1.55;
  color: var(--text-secondary);
}
.impact-cell:last-child { border-right: none; }

.impact-row.head .impact-cell {
  background: var(--bg-muted);
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  letter-spacing: .02em;
}

/* ---- Source Note ---- */
.source-note {
  font-size: 13px;
  color: var(--text-muted);
  padding: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--border);
}

.source-note h2 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  border-bottom: none;
  padding-bottom: 0;
  color: var(--text-muted);
}
.source-note h2::after { display: none; }

.source-note p {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .signal-grid { grid-template-columns: 1fr; }

  .impact-row { grid-template-columns: 1fr; }
  .impact-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .impact-cell:last-child { border-bottom: none; }
  .impact-row.head { display: none; }

  .news-item { padding-left: 20px; }
  .news-item::before { position: static; display: block; margin-bottom: 4px; font-size: 11px; }

  .daily-report-hero { padding: 28px 20px; }
  .daily-report-hero::after { font-size: 64px; }
  .report-card { padding: 20px; }
}
