/* ===== Meeting card row (analysis-history / people-detail 共通) =====
 * 過去の会議カードの行レイアウト。
 * 左：日付（月／日）／ 中央：タイトル＋参加者 ／ 右：スコア・ギャップ・良かった点 ／ 末尾：>
 *
 * Vercel 静的配信される。両ファイルから <link rel="stylesheet" href="/css/meeting-card.css"> で参照する。
 * 旧来 analysis-history.html / people-detail.html の <style> 内に同一定義が
 * 重複していたため、ここを単一のソースとして整理した。
 */

.meeting-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.meeting-row {
  display: grid;
  grid-template-columns: 60px 1fr auto 16px;
  gap: var(--s-5);
  align-items: center;
  padding: var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--line);
  transition: background 0.12s;
  color: inherit;
}
.meeting-row:last-child { border-bottom: none; }
.meeting-row:hover { background: var(--line-soft); }

.meeting-row-date {
  text-align: center;
  line-height: 1.1;
}
.date-day {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-feature-settings: "tnum";
}
.date-month {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 2px;
}

.meeting-row-body { min-width: 0; }
.meeting-row-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meeting-row-meta {
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-5);
}

.meeting-row-stats { display: flex; gap: var(--s-5); }
.stat { text-align: right; line-height: 1.2; }
.stat-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}
.stat-num.stat-pink { color: var(--pink); }
.stat-num.stat-green { color: var(--green); }
.stat-num.stat-blue { color: var(--blue); }
.stat-num.stat-mute { color: var(--ink-5); font-weight: 500; }

.row-tag-out-of-scope {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--border-soft, #F3F4F6);
  color: var(--ink-4);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.stat-label {
  font-size: 10.5px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.chevron {
  width: 14px;
  height: 14px;
  color: var(--ink-4);
}

/* ===== Mobile responsive ===== */
@media (max-width: 768px) {
  .meeting-row {
    grid-template-columns: 48px 1fr 14px;
    grid-template-areas:
      "date title chev"
      "date stats chev";
    gap: 4px var(--s-3);
    padding: var(--s-3) var(--s-4);
  }
  .meeting-row-date { grid-area: date; align-self: center; }
  .date-day { font-size: 18px; }
  .meeting-row-body { grid-area: title; min-width: 0; }
  .meeting-row-title { font-size: 14px; margin-bottom: 0; }
  .meeting-row-meta { display: none; }
  .meeting-row-stats {
    grid-area: stats;
    gap: var(--s-4);
    justify-content: flex-start;
  }
  .meeting-row .chevron { grid-area: chev; align-self: center; }
  .stat { text-align: left; }
  .stat-num { font-size: 14px; }
  .stat-label { font-size: 9.5px; margin-bottom: 2px; }
}
@media (max-width: 480px) {
  .meeting-row { padding: var(--s-3); gap: 4px 10px; }
  .meeting-row-stats { gap: var(--s-3); }
}
