/* ── Yield Matrix table wrapper ── */
.yield-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  flex: 1;
  padding: 4px 8px 8px;
}

/* ════════════════════════════════════════════
   NEWS FEED
   ════════════════════════════════════════════ */

.news-container {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.news-item {
  display: block;
  text-decoration: none !important;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.news-item:hover {
  background: var(--hover);
}

.news-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
}

/* ── Watchlist News: pastilles bar (Chantier 4) ── */
.wl-news-pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
}
.wl-news-pastille {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.wl-news-pastille:hover { color: var(--text); border-color: var(--muted); }
.wl-news-pastille.active {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.wl-news-pastille-count {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.wl-news-pastille.active .wl-news-pastille-count { color: var(--accent); }
.wl-news-filter-link {
  font-size: 10.5px;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.wl-news-filter-link:hover { color: var(--text); }

/* ── Watchlist News: card meta (ticker chip + tab tag) ── */
.wl-news-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.wl-news-ticker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--accent);
  padding: 1px 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 3px;
}
.wl-news-tab {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.wl-news-tab::before { content: "· "; }
.wl-news-card.wl-news-hidden { display: none; }

/* headlines panel */
.headline-item {
  display: block;
  text-decoration: none !important;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.headline-item:hover {
  background: var(--hover);
}

/* macro panel – scrollable content */
#macro-panel {
  height: 100%;
  overflow-y: auto;
}

.macro-section-title {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 8px 2px 8px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

/* calendar panel */
#calendar-panel { height: 100%; }

.cal-tabs {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}

.cal-tab {
  font-size: 12px;
  color: var(--muted);
  padding: 2px 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.15s;
}

.cal-tab:hover { color: var(--text); }

.cal-tab-active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.cal-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.cal-empty {
  color: var(--muted);
  font-size: 12px;
  padding: 12px 8px;
  text-align: center;
}

/* ── Fed Rate Monitor ── */
/* ────────────────────────────────────────────────────────────────────────
   Phase 6d — fed_monitor
   Live terminal direction: countdown + rate keep their large ambre
   typography (instruments need identifiability), chrome is editorial-calm
   (10px uppercase muted section labels, hairline dividers, no decoration
   arrows). Sentence-case throughout. Self-contained block.
   ──────────────────────────────────────────────────────────────────────── */

.fed-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
}
.fed-section-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fed-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

/* meeting banner */
.fed-meeting-banner {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fed-meeting-banner strong {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* countdown */
.fed-countdown {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 4px 0 2px;
}
.fed-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px;
}
.fed-cd-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.fed-cd-unit {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.fed-cd-sep {
  font-size: 22px;
  color: #2A2A2A;
  line-height: 1;
  margin-bottom: 14px;
}

/* rate */
.fed-rate-display {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.fed-rate-source {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* implied row */
.fed-implied-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.fed-implied-text {
  font-size: 11px;
  color: var(--muted);
}
.fed-implied-value {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* probability bars */
.fed-prob-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.fed-prob-label {
  font-size: 11px;
  color: var(--text);
  width: 170px;
  flex-shrink: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.fed-prob-track {
  flex: 1;
  height: 6px;
  background: #181818;
  border-radius: 3px;
  overflow: hidden;
}
.fed-prob-fill {
  height: 100%;
  transition: width 0.4s ease;
}
.fed-prob-pct {
  font-size: 12px;
  font-weight: 700;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

