/* ====================================================================
   HEALTHCARE PULSE — THEME OVERRIDES
   v1.0 · 2026-03
   ====================================================================
   Requires: brief-base.css loaded first.

   This file:
   1. Sets the teal publication accent
   2. Defines Pulse-specific components:
      - Bar chart (horizontal performance bars)
      - Trend grid (2-col analysis boxes)
      - Watchlist table
      - Pulse-specific exec summary layout
   ==================================================================== */

/* ============================================================
   ACCENT — TEAL
   ============================================================ */
:root {
  --pub-accent:           #00d4a8;
  --pub-accent-glow:      rgba(0, 212, 168, 0.18);
  --pub-accent-dim:       rgba(0, 212, 168, 0.08);
  --pub-accent-hero-grid: rgba(0, 212, 168, 0.04);
  --pub-accent-hero-glow: rgba(0, 212, 168, 0.06);
}

/* ============================================================
   BAR CHART  (Healthcare AI adoption bars)
   ============================================================ */
.bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.bar-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted-light);
  width: 180px;
  text-align: right;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar-val {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--pub-accent);
  width: 44px;
  text-align: right;
  flex-shrink: 0;
}
.chart-note {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* ============================================================
   TREND ANALYSIS GRID  (2-col boxes)
   ============================================================ */
.trend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.trend-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.trend-box h4 {
  font-family: var(--ff-serif);
  font-size: 14px;
  color: var(--text-strong);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.trend-box ul { padding-left: 0; list-style: none; }
.trend-box li {
  font-size: 12.5px;
  color: var(--text);
  margin-bottom: 9px;
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.trend-box li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }
.trend-box li strong { color: var(--text-strong); }

/* ============================================================
   WATCHLIST TABLE
   ============================================================ */
.watch-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.watch-table { width: 100%; border-collapse: collapse; }
.watch-table thead tr { background: var(--surface); }
.watch-table th {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.watch-table td {
  font-size: 12.5px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.watch-table tbody tr:last-child td { border-bottom: none; }
.watch-table tbody tr:hover td { background: rgba(255,255,255,0.025); }
.watch-cat {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.watch-entity { font-weight: 500; color: var(--text-strong); }

/* ============================================================
   PULSE EXEC SUMMARY (2-col layout)
   ============================================================ */
.exec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .exec-layout { grid-template-columns: 1fr; }
  .trend-grid   { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL REVEAL  (optional progressive enhancement)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
