/* Markets → Stocks → News Deep Dive (news_catalyst_signals) */

.news-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.news-hdr .section-title { margin-bottom: 0; }
.news-hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.news-ai-meta { display: flex; align-items: center; }
.news-ai-meta[hidden] { display: none; }
.news-ai-meta .cc-meta { margin: 0; }
#news-view-switcher { margin: 0; }
#news-view-switcher .wl-view-btn .ta-brain-icon { margin: 0; filter: none; }
#news-view-switcher .wl-view-btn.active .ta-brain-icon { color: inherit; filter: none; }
html[data-theme="light"] #news-view-switcher { background: var(--bg-hover); }

.nwi-root { display: flex; flex-direction: column; gap: 18px; }
.nwi-h2 {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.nwi-prose {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.nwi-split { display: flex; flex-direction: column; gap: 6px; }
.nwi-split-lab { font-size: 12px; color: var(--text-muted); }
.nwi-split-bar {
  display: flex;
  height: 22px;
  width: 100%;
  background: var(--bg-hover);
  overflow: hidden;
  border-radius: 4px;
}
.nwi-split-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-size: 11px;
  font-weight: 650;
  color: #fff;
}
.nwi-split-cap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.nwi-seg-kept { background: var(--accent-primary); color: #051018; }
.nwi-seg-noise { background: color-mix(in srgb, var(--text-muted) 35%, transparent); color: var(--text-secondary); }
.nwi-seg-buy { background: var(--gain); }
.nwi-seg-watch { background: #c4a35a; }
.nwi-seg-sell { background: var(--loss); }

.nwi-theme-bars { display: flex; flex-direction: column; gap: 8px; }
.nwi-tbar {
  display: grid;
  grid-template-columns: 120px 1fr 44px;
  align-items: center;
  gap: 10px;
}
.nwi-tbar-lab { font-size: 12.5px; color: var(--text-secondary); min-width: 0; }
.nwi-tbar-track {
  height: 16px;
  background: var(--bg-hover);
  border-radius: 4px;
  overflow: hidden;
}
.nwi-tbar-fill {
  height: 100%;
  background: var(--accent-primary);
  min-width: 2px;
}
.nwi-tbar-n { font-size: 12px; color: var(--text-muted); text-align: right; }

.nwi-spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nwi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.nwi-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px 8px;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-primary);
}
.nwi-card-b { padding: 0 14px 14px; }
.nwi-tkr {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.nwi-tkr:hover { color: var(--accent-primary); }
.nwi-stock-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.nwi-stock-name { font-size: 13.5px; color: var(--text-primary); }
.nwi-stock-time { font-size: 12px; color: var(--text-muted); }
.nwi-pill {
  font-size: 11px;
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.nwi-pill-on {
  color: var(--accent-primary);
  border-color: color-mix(in srgb, var(--accent-primary) 45%, transparent);
}
.nwi-pill-buy { color: var(--gain); border-color: color-mix(in srgb, var(--gain) 45%, transparent); }
.nwi-pill-sell { color: var(--loss); border-color: color-mix(in srgb, var(--loss) 45%, transparent); }
.nwi-pill-watch { color: #c4a35a; border-color: color-mix(in srgb, #c4a35a 45%, transparent); }
.nwi-why {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.nwi-headline {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.nwi-logo {
  object-fit: contain;
  background: #e8ecf0;
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
}
.nwi-logos { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nwi-logo-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.nwi-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nwi-tab {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
}
.nwi-tab.active {
  color: var(--accent-primary);
  border-color: color-mix(in srgb, var(--accent-primary) 45%, transparent);
}
.nwi-tab:disabled { opacity: 0.4; cursor: default; }

.nwi-clock { display: flex; flex-direction: column; gap: 8px; }
.nwi-clock-h {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.nwi-clock-track {
  position: relative;
  height: 56px;
  background: var(--bg-hover);
  border-radius: 4px;
}
.nwi-clock-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 2px;
  background: var(--border);
}
.nwi-clock-dot {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.nwi-clock-mark {
  width: 10px;
  height: 10px;
}
.nwi-clock-tkr { font-size: 11px; font-weight: 650; color: var(--text-primary); }

@media (max-width: 720px) {
  .nwi-spot { grid-template-columns: 1fr; }
  .nwi-tbar { grid-template-columns: 88px 1fr 36px; }
}
