* { box-sizing: border-box; }

:root {
  --bg: #05070a;
  --panel: #0a0e14;
  --panel-2: #0e1420;
  --border: #1b2130;
  --text: #d7dce6;
  --text-dim: #7c8496;
  --green: #22c55e;
  --red: #ef4444;
  --cyan: #22d3ee;
  --gold: #eab308;
  --purple: #a855f7;
  --orange: #f97316;
  --pink: #ec4899;
  --blue: #60a5fa;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  /* Tabular figures everywhere: every digit the same width, so prices tick in place
     instead of jiggling and stat columns align — the "engineered numbers" look. */
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* ---------- header ---------- */

.terminal-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 30px; height: 30px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
}
.brand-icon.brand-b { font-weight: 800; font-size: 15px; letter-spacing: 0; }
.brand-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.brand-sub { font-size: 11px; color: var(--text-dim); }

.price-block { display: flex; align-items: baseline; gap: 10px; }
.price-display { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.price-change { font-size: 14px; font-weight: 600; }
.price-change.up { color: var(--green); }
.price-change.down { color: var(--red); }

/* Tick flash — ui.js re-applies the class per tick (remove -> reflow -> add) so
   back-to-back same-direction ticks restart the animation. */
@keyframes tick-up {
  0% { color: var(--green); text-shadow: 0 0 16px rgba(34,197,94,0.55); }
  100% { color: var(--text); text-shadow: none; }
}
@keyframes tick-down {
  0% { color: var(--red); text-shadow: 0 0 16px rgba(239,68,68,0.55); }
  100% { color: var(--text); text-shadow: none; }
}
.price-display.tick-up { animation: tick-up 0.6s ease-out; }
.price-display.tick-down { animation: tick-down 0.6s ease-out; }

.status-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  margin-left: auto;
}
.sep { opacity: 0.5; }

.bell-btn {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 6px;
  width: 26px;
  height: 26px;
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
}
.bell-btn.active {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(234,179,8,0.4);
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  display: inline-block;
}
.live-dot.live { background: var(--green); box-shadow: 0 0 8px var(--green); }
.live-dot.connecting { background: var(--gold); }
.live-dot.disconnected { background: var(--red); }

.timeframe-buttons { display: flex; gap: 4px; }
.timeframe-buttons button {
  background: var(--panel-2);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.timeframe-buttons button.active {
  background: var(--green);
  color: #06210f;
  border-color: var(--green);
}

/* ---------- symbol selector (dropdown) ---------- */

.symbol-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.symbol-select-wrap { display: flex; align-items: center; gap: 10px; }

/* Bias readout, relocated from the sidebar to the top bar (2026-07-04) */
.bias-inline { display: flex; align-items: center; gap: 8px; }
.bias-inline-label {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.bias-inline .bias-trend-badge { flex: none; padding: 3px 9px; font-size: 11px; }
.dealing-range-mini {
  position: relative;
  width: 72px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
}
.dealing-range-mini .dealing-range-marker { top: -3px; height: 12px; }
.bias-inline-dr { font-size: 11px; font-weight: 600; color: var(--text-dim); }

.symbol-select-label {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.symbol-select {
  background: #0d1117;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  min-width: 220px;
}
.symbol-select:hover, .symbol-select:focus {
  border-color: rgba(234, 179, 8, 0.55);
  outline: none;
}

/* ---------- kill zone bar ---------- */

.killzone-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.killzone-label, .overlays-label, .zone-legend-label, .tz-label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.killzone-bar { display: flex; gap: 8px; flex-wrap: wrap; }

.kz-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  font-size: 11px;
  color: var(--text-dim);
}
.kz-chip .kz-abbr { font-weight: 700; color: var(--text); }
.kz-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); display: inline-block; }
.kz-chip.active { border-color: var(--gold); }
.kz-chip.active .kz-dot { background: var(--gold); box-shadow: 0 0 6px var(--gold); }

/* ---------- main layout ---------- */

.terminal-main {
  display: flex;
  flex: 1;
  /* Never let the chart collapse to 0 when the header/tabs/killzone/footer chrome
     outgrows a very short viewport — overflow the page (scrollable) instead. */
  min-height: 320px;
}

.chart-pane {
  position: relative;
  flex: 1;
  min-width: 0;
}

.chart-container { position: absolute; inset: 0; }
.chart-overlay { position: absolute; inset: 0; pointer-events: none; }

/* ---------- trade ideas sidebar ---------- */

.cascade-panel {
  width: 340px;
  flex-shrink: 0;
  background: var(--panel);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cascade-section {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.cascade-entry-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 0; /* let the entries list scroll instead of pushing the panel */
}
.cascade-entry-section .cascade-section-header { padding: 12px 14px; border-bottom: 1px solid var(--border); }

/* ---- Cascade status pipeline (Context/Setup, compact — Entry leads the panel) ---- */

.pipeline-section { flex-shrink: 0; }
.pipeline-row { margin-top: 10px; }
.pipeline-row:first-of-type { margin-top: 2px; }
.pipeline-row-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}
.pipeline-name {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4256;
  flex-shrink: 0;
}
.status-dot.on { background: var(--green); box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.status-dot.engaged { background: var(--cyan); box-shadow: 0 0 6px rgba(34,211,238,0.6); }
.pipeline-row .context-summary, .pipeline-row .setup-status {
  margin-left: 15px;
  font-size: 11px;
}

.cascade-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.cascade-entry-section .cascade-section-header { margin-bottom: 0; }

.cascade-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 4px;
}

.badge-count {
  background: rgba(34,197,94,0.15);
  color: var(--green);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
}

/* ---- Bias section ---- */

.bias-trends { display: flex; gap: 8px; margin-bottom: 10px; }
.bias-trend-badge {
  flex: 1;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}
.bias-trend-badge.up { color: var(--green); border-color: rgba(34,197,94,0.4); }
.bias-trend-badge.down { color: var(--red); border-color: rgba(239,68,68,0.4); }

.bias-aligned-badge { font-size: 10.5px; font-weight: 600; }
.bias-aligned-badge.aligned { color: var(--green); }
.bias-aligned-badge.conflicted { color: var(--gold); }

.dealing-range-bar-wrap { font-size: 10.5px; color: var(--text-dim); }
.dealing-range-bar {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
  margin-bottom: 6px;
}
.dealing-range-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 14px;
  background: #fff;
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
  transform: translateX(-1px);
}
.dealing-range-label { line-height: 1.4; }

/* ---- Context / Setup sections ---- */

.context-summary, .setup-status {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.setup-status.active { color: var(--cyan); }
.setup-status.waiting { color: var(--text-dim); }

.trade-ideas-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trade-idea-empty {
  color: var(--text-dim);
  font-size: 12px;
  padding: 20px 8px;
  text-align: center;
}

.trade-idea-card {
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--panel-2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.trade-idea-card.long { border-left-color: var(--green); }
.trade-idea-card.short { border-left-color: var(--red); }
.trade-idea-card:hover { background: #121826; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.trade-idea-card.long:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.35), 0 0 0 1px rgba(34,197,94,0.28); }
.trade-idea-card.short:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.35), 0 0 0 1px rgba(239,68,68,0.28); }
.trade-idea-card.selected {
  background: #121a2c;
  box-shadow: 0 0 0 1px var(--cyan) inset;
}

.trade-idea-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dir-pill {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.dir-pill.long { background: rgba(34,197,94,0.16); color: var(--green); }
.dir-pill.short { background: rgba(239,68,68,0.16); color: var(--red); }
.dir-pill.neutral { background: rgba(255,255,255,0.08); color: var(--text-dim); }

.tf-chip {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-dim);
  flex-shrink: 0;
}

.setup-name {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 8px 0 2px;
}
.pg-cell { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pg-label { font-size: 9px; color: var(--text-dim); letter-spacing: 0.07em; }
.pg-value {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg-value.entry { color: var(--text); }
.pg-value.stop { color: var(--red); }
.pg-value.target { color: var(--green); }
.pg-value.rr { color: var(--cyan); }

.conf-val.high { color: var(--green); font-weight: 700; }
.conf-val.medium { color: var(--gold); font-weight: 700; }
.conf-val.low { color: var(--red); font-weight: 700; }
.conf-val.unrated { color: var(--text-dim); }

.factor-tag.more { color: var(--cyan); border-color: rgba(34,211,238,0.4); cursor: help; }

.confluence-badge {
  background: rgba(34,211,238,0.15);
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,0.4);
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.trade-idea-meta { font-size: 10.5px; color: var(--text-dim); margin-bottom: 6px; }

.factor-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.factor-tag {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

.confidence-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  padding: 4px 7px;
  border-radius: 5px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.03);
}
.confidence-row span:first-child { color: var(--text-dim); }
.confidence-row .confidence-value { font-weight: 700; }
.confidence-row.confidence-high .confidence-value { color: var(--green); }
.confidence-row.confidence-medium .confidence-value { color: var(--gold); }
.confidence-row.confidence-low .confidence-value { color: var(--red); }
.confidence-row.confidence-unrated .confidence-value { color: var(--text-dim); }

.trade-idea-rows .row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 2px 0;
}
.trade-idea-rows .row span:first-child { color: var(--text-dim); letter-spacing: 0.03em; }
.trade-idea-rows .entry { color: var(--text); font-weight: 600; }
.trade-idea-rows .stop { color: var(--red); font-weight: 600; }
.trade-idea-rows .target { color: var(--green); font-weight: 600; }
.trade-idea-rows .rr { color: var(--cyan); font-weight: 700; }

.trade-ideas-disclaimer {
  padding: 10px 14px;
  font-size: 10px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

/* ---------- footer ---------- */

.terminal-footer {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 18px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.zone-legend { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--text-dim); }
.legend-gradient {
  width: 90px; height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
}
.legend-labels { display: flex; gap: 8px; }

.overlay-toggles { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}
.toggle-chip.active { color: var(--text); border-color: #2a3142; }
.toggle-chip:not(.active) { opacity: 0.45; }

.dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.dot.fvg { background: var(--pink); }
.dot.ob { background: var(--orange); }
.dot.liquidity { background: var(--gold); }
.dot.mss { background: var(--red); }
.dot.killzones { background: var(--purple); }
.dot.volspikes { background: var(--cyan); }
.dot.asianrange { background: var(--gold); }
.dot.rsidiv { background: var(--cyan); }

.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.back-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.back-link:hover { color: var(--text); }

/* ---------- track record / journal page ---------- */

.journal-main {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  /* Column flex so the footnote anchors to the viewport bottom while the record is
     young — no dead void under a short table. */
  display: flex;
  flex-direction: column;
}

/* ---- per-asset breakdown ---- */

.asset-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .asset-breakdown { grid-template-columns: repeat(2, 1fr); }
}
.asset-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
.asset-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.asset-card-name { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; }
.asset-card-netr { font-size: 12.5px; font-weight: 700; }
.asset-card-netr.pos { color: var(--green); }
.asset-card-netr.neg { color: var(--red); }
.asset-card-netr.flat { color: var(--text-dim); }
.asset-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
  padding: 2px 0;
}
.asset-card-row .v { color: var(--text); font-weight: 600; }

.journal-intro {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.journal-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
/* Narrow screens: balanced 3+3 instead of an orphaned wrap. */
@media (max-width: 900px) {
  .journal-stats { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.stat-value { font-size: 20px; font-weight: 700; }
.stat-label { font-size: 10.5px; color: var(--text-dim); margin-top: 2px; letter-spacing: 0.03em; }

.journal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.journal-table { margin-bottom: 18px; }

.journal-table th {
  text-align: left;
  padding: 10px 10px;
  background: var(--panel-2);
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
}
.journal-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.journal-table tbody tr:last-child td { border-bottom: none; }
.journal-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.dir-long { color: var(--green); font-weight: 700; }
.dir-short { color: var(--red); font-weight: 700; }

.journal-status {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.stat-value.pos { color: var(--green); }
.stat-value.neg { color: var(--red); }

.journal-tagline {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.journal-footnote {
  /* auto = pushed to the viewport bottom while content is short (journal-main is a
     column flex); the table keeps an 18px gap above it via its own margin. */
  margin-top: auto;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.6;
}
.journal-footnote strong { color: var(--text); }

/* ---------- Intel page (briefs + hot board + calendar) ---------- */

/* Live pulse strip */
.desk-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 2px 0 16px;
  padding: 10px 16px;
  background: linear-gradient(180deg, var(--panel), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: 10px;
}
.desk-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-right: auto;
}
.desk-stat { display: flex; align-items: baseline; gap: 7px; }
.desk-stat .v { font-size: 17px; font-weight: 800; color: var(--text); }
.desk-stat .l { font-size: 10.5px; color: var(--text-dim); letter-spacing: 0.04em; }

/* Segmented tab control */
.intel-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 4px 0 16px;
  padding: 5px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.intel-tab {
  background: transparent;
  color: var(--text-dim);
  border: none;
  border-radius: 7px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.intel-tab:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.intel-tab.active {
  background: rgba(234,179,8,0.14);
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(234,179,8,0.35) inset;
}

/* Panels fade-rise in on tab switch (display none->block restarts the animation) */
.intel-panel { animation: panel-in 0.28s ease; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.intel-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 10px;
}
.intel-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.briefs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
@media (max-width: 800px) { .briefs-list { grid-template-columns: 1fr; } }

.brief-card {
  background: linear-gradient(180deg, var(--panel), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.brief-card:hover {
  background: #121826;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.brief-card:hover .brief-expand-hint { letter-spacing: 0.09em; }
/* Direction-coded accents — scan the board by color before reading a word */
.brief-card.long { border-left-color: var(--green); }
.brief-card.long:hover { border-color: rgba(34,197,94,0.45); border-left-color: var(--green); }
.brief-card.short { border-left-color: var(--red); }
.brief-card.short:hover { border-color: rgba(239,68,68,0.45); border-left-color: var(--red); }
.brief-card.neutral { border-left-color: #6b7280; }

/* Full-brief page (brief.html — unlisted, reached only from an Intel brief box) */
.brief-page-main { max-width: 860px; }
.brief-full { cursor: default; }
.brief-full:hover { background: var(--panel); }

.brief-preview {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.brief-expand-hint {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.brief-sample {
  display: inline-block;
  background: rgba(234,179,8,0.12);
  color: var(--gold);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.brief-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.brief-title { flex: 1; font-size: 13.5px; font-weight: 700; }
.brief-updated { font-size: 10.5px; color: var(--text-dim); flex-shrink: 0; }

.horizon-chip {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.horizon-chip.day { background: rgba(34,211,238,0.14); color: var(--cyan); }
.horizon-chip.swing { background: rgba(234,179,8,0.14); color: var(--gold); }
.horizon-chip.long { background: rgba(34,197,94,0.14); color: var(--green); }

.brief-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.consensus-meter { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--text-dim); }
.consensus-bar-wrap {
  width: 70px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.08); overflow: hidden; display: inline-block;
}
.consensus-bar { display: block; height: 100%; background: var(--gold); }
.drift-building { color: var(--green); font-weight: 700; }
.drift-fading { color: var(--red); font-weight: 700; }
.drift-split { color: var(--text-dim); font-weight: 700; }

.brief-thesis { font-size: 12.5px; line-height: 1.65; color: var(--text); }
.brief-thesis p { margin: 0 0 8px; }

.brief-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 10px; }
@media (max-width: 700px) { .brief-cols { grid-template-columns: 1fr; } }
.brief-col {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.brief-col.bull { border-left: 3px solid var(--green); }
.brief-col.bear { border-left: 3px solid var(--red); }
.brief-col-title { font-size: 9.5px; font-weight: 800; letter-spacing: 0.07em; color: var(--text-dim); }
.brief-col ul, .brief-catalysts ul { margin: 6px 0 0; padding-left: 16px; }
.brief-col li, .brief-catalysts li { font-size: 11.5px; line-height: 1.55; color: var(--text); margin-bottom: 3px; }

.brief-catalysts { margin-bottom: 10px; }
.brief-invalidation {
  font-size: 11.5px;
  color: var(--text);
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 6px;
  padding: 7px 10px;
}
.brief-invalidation .brief-col-title { color: var(--red); margin-right: 6px; }

.intel-hot-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 1000px) { .intel-hot-board { grid-template-columns: repeat(2, 1fr); } }
.intel-hot-board .hot-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.intel-hot-board .hot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.intel-hot-board .hot-bar {
  background: linear-gradient(90deg, var(--gold), #f59e0b);
  transition: width 0.6s ease;
}
.hot-rank {
  color: var(--gold);
  font-weight: 800;
  font-size: 10px;
  opacity: 0.75;
  margin-right: 7px;
}
.hot-delta { font-size: 10px; font-weight: 700; margin-left: 5px; }
.hot-delta.up { color: var(--green); }
.hot-delta.down { color: var(--red); }
.hot-delta.flat { color: var(--text-dim); }
.hot-headline {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--text-dim);
  text-decoration: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hot-headline:hover { color: var(--text); }

.cal-list { display: flex; flex-direction: column; gap: 6px; }
.cal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
}
.cal-row { transition: border-color 0.15s ease, background 0.15s ease; }
.cal-row:hover { background: #121826; border-color: rgba(234,179,8,0.3); }
.cal-date { font-size: 11.5px; font-weight: 700; min-width: 92px; }
.cal-countdown {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--cyan);
  background: rgba(34,211,238,0.1);
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 52px;
  text-align: center;
}
.cal-label { flex: 1; font-size: 11.5px; color: var(--text); }
.cal-impact {
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: 999px;
}
.cal-impact.high { background: rgba(239,68,68,0.14); color: var(--red); }
.cal-impact.medium { background: rgba(234,179,8,0.14); color: var(--gold); }
.cal-impact.low { background: rgba(255,255,255,0.06); color: var(--text-dim); }

/* Headline cards: subtle motion on hover */
.wire-card { transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease; }
.wire-card:hover { transform: translateX(3px); border-color: rgba(234,179,8,0.35); }

/* Thin dark scrollbars — the small detail that makes dark UIs feel finished */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a3040; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3a4256; }

.equity-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.equity-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.equity-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.fired-cell { color: var(--text-dim); white-space: nowrap; }
.symbol-cell { font-weight: 700; }

.res-r { font-weight: 700; }
.res-r.pos { color: var(--green); }
.res-r.neg { color: var(--red); }
.res-r.zero { color: var(--blue, #38bdf8); }
.res-r.pending { color: var(--text-dim); }

.journal-status.status-open { background: rgba(234,179,8,0.15); color: var(--gold); }
.journal-status.status-win { background: rgba(34,197,94,0.15); color: var(--green); }
.journal-status.status-loss { background: rgba(239,68,68,0.15); color: var(--red); }
.journal-status.status-timeout { background: rgba(124,132,150,0.15); color: var(--text-dim); }
.journal-status.status-partial-breakeven { background: rgba(56,189,248,0.15); color: var(--blue, #38bdf8); }
.journal-status.status-breakeven { background: rgba(56,189,248,0.15); color: var(--blue, #38bdf8); }

.fee-note { color: var(--gold); border: 1px solid rgba(234,179,8,0.3); border-radius: 6px; }

.trade-idea-card.open-trade { border-color: rgba(234,179,8,0.55); cursor: pointer; }
.trade-idea-card.open-trade.chart-hidden { opacity: 0.55; }
.open-trade-badge {
  background: rgba(234,179,8,0.15); color: var(--gold);
  padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  flex-shrink: 0;
}
.open-trade-badge.muted { background: rgba(255,255,255,0.06); color: var(--text-dim); }
.open-stop.risk { color: var(--red); }
.open-stop.breakeven { color: var(--gold); }
.open-stop.locked { color: var(--green); }

#toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 1000;
  display: flex; flex-direction: column; gap: 8px; max-width: 320px;
}
.signal-toast {
  background: #0d1117; border: 1px solid rgba(234,179,8,0.55); border-radius: 10px;
  padding: 10px 14px; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  animation: toast-in 0.25s ease-out;
}
.signal-toast-title { font-size: 12.5px; font-weight: 700; color: var(--gold); margin-bottom: 2px; }
.signal-toast-body { font-size: 11.5px; color: var(--text-dim, #9aa4b2); }
@keyframes toast-in {
  from { transform: translateX(24px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.journal-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
  font-size: 13px;
}
.hidden { display: none; }

.tz-select-wrap { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tz-select-wrap select {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
}

/* ---------- Wire (news/mentions page) — deliberately NO green/red trade pills or
   score badges anywhere here: this is context, never a signal. ---------- */

.wire-main { display: flex; flex-direction: column; }

.hot-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .hot-board { grid-template-columns: repeat(2, 1fr); }
}
.hot-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
.hot-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.hot-card-asset { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; }
.hot-card-count { font-size: 20px; font-weight: 700; color: var(--gold); }
.hot-bar-wrap {
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-bottom: 6px;
}
.hot-bar { height: 100%; background: var(--gold); border-radius: 3px; }
.hot-card-label { font-size: 10px; color: var(--text-dim); letter-spacing: 0.03em; }

.wire-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.wire-filter {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.wire-filter:hover { color: var(--text); }
.wire-filter.active { color: #06210f; background: var(--gold); border-color: var(--gold); }

.wire-list { display: flex; flex-direction: column; gap: 8px; }

.wire-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  text-decoration: none;
  color: inherit;
}
.wire-card:hover { background: #121826; border-color: #2a3142; }

.wire-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.wire-source { font-size: 10.5px; font-weight: 700; color: var(--cyan); letter-spacing: 0.03em; }
.wire-time { font-size: 10.5px; color: var(--text-dim); }

.wire-title { font-size: 13px; color: var(--text); line-height: 1.4; }

.wire-tags { display: flex; gap: 5px; margin-top: 7px; }
.wire-asset-tag { font-size: 9.5px; padding: 1px 6px; }

.wire-updated {
  text-align: center;
  color: var(--text-dim);
  font-size: 10.5px;
  margin-top: 14px;
}

/* ---------- scanning state (empty entry panel) ---------- */
/* Quiet periods are the system being selective by design — the empty panel shows a
   live "watching" pulse instead of dead text, so patience reads as intentional. */

.scan-state { padding: 18px 10px; text-align: center; }
.scan-head {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 7px;
}
.scan-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  animation: scan-pulse 1.6s ease-in-out infinite;
}
@keyframes scan-pulse {
  0%, 100% { opacity: 0.35; box-shadow: 0 0 0 0 rgba(234,179,8,0); }
  50% { opacity: 1; box-shadow: 0 0 10px 1px rgba(234,179,8,0.45); }
}
.scan-sub { color: var(--text-dim); font-size: 12px; line-height: 1.5; }

/* ---------- connection overlay ---------- */

.conn-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  background: var(--bg);
}
.conn-overlay.hidden { display: none; }
.conn-b {
  width: 54px; height: 54px;
  border-width: 3px;
  font-size: 26px !important;
  animation: conn-pulse 1.5s ease-in-out infinite;
}
@keyframes conn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,179,8,0); opacity: 0.75; }
  50% { box-shadow: 0 0 26px 3px rgba(234,179,8,0.35); opacity: 1; }
}
.conn-text { color: var(--text-dim); font-size: 13px; letter-spacing: 0.04em; }

/* ---------- live system status (footer) ---------- */

.sys-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--text-dim);
  white-space: nowrap;
}
.sys-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.sys-status.ok .sys-dot {
  background: var(--green);
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
  animation: sys-breathe 3s ease-in-out infinite;
}
.sys-status.warn .sys-dot { background: var(--gold); }
@keyframes sys-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ---------- ticker hover cards (desk-note pages) ---------- */

.ticker-chip { position: relative; cursor: help; }
/* position: fixed with JS-computed, viewport-clamped coordinates (brief.js
   positionPop) — immune to ancestor overflow clipping and card transforms.
   NOTE: this requires NO transformed ancestors on the page (see .brief-full). */
.ticker-pop {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-4px);
  min-width: 210px;
  max-width: 290px;
  background: #10151f;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  white-space: normal;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.ticker-chip:hover .ticker-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* The full-note card is an article, not a clickable list card: no hover lift.
   Required for the popups too — a transformed ancestor would break their
   position:fixed viewport coordinates. */
.brief-card.brief-full { cursor: default; }
.brief-card.brief-full:hover {
  transform: none;
  box-shadow: none;
  background: linear-gradient(180deg, var(--panel), rgba(255,255,255,0.015));
}
.tp-name { font-weight: 700; font-size: 11.5px; color: var(--text); }
.tp-quote { display: flex; align-items: baseline; gap: 7px; font-size: 13px; }
.tp-price { font-weight: 700; color: var(--text); }
.tp-price.unavailable { color: var(--text-dim); font-weight: 400; font-size: 11px; }
.tp-chg { font-size: 11px; font-weight: 600; }
.tp-chg.up { color: var(--green); }
.tp-chg.down { color: var(--red); }
.tp-blurb { font-size: 11px; color: var(--text-dim); line-height: 1.45; }

/* ---------- pre-deploy audit additions (2026-07-06) ---------- */

/* Unified nav: current page highlighted in gold on every header */
.back-link.active { color: var(--gold); }

/* Visible failed-load state — silence on a trust page reads as "broken" */
.load-error {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: var(--gold);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  margin-bottom: 14px;
}

/* "Record live since ..." stamp in the journal tagline */
.record-since {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* Desk tagline: legal line demoted below the pitch */
.tagline-legal {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--text-dim);
  opacity: 0.85;
}

/* Journal table scrolls inside its own container on narrow screens */
.table-scroll { overflow-x: auto; }
.table-scroll .journal-table { min-width: 760px; }

/* Narrow-screen overflow guards for The Desk */
.desk-stats { flex-wrap: wrap; }
/* As a flex item in the column-flex .wire-main this bar was (a) stretched to the full
   content-column width and (b) vertically CRUSHED to ~11px — overflow-x:auto forces
   overflow-y:auto, and the column parent then shrank the item below its content height,
   clipping the tab labels into an unreadable thin strip.
   align-self:flex-start → hug the four tabs, left-aligned;
   flex-shrink:0 → keep the natural height so labels aren't clipped;
   max-width + overflow-x → scroll instead of overflow on a narrow phone. */
.intel-tabs { overflow-x: auto; align-self: flex-start; flex-shrink: 0; max-width: 100%; }
@media (max-width: 640px) {
  .intel-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .desk-stats .desk-date { width: 100%; }
}

/* ---------- Laurel Au brand mark (2026-07-06 logo) ---------- */
/* Inline SVGs replace the old letter-in-a-ring spans; .brand-icon CSS stays for
   any legacy use but is no longer referenced by the pages. */
.brand-mark { display: block; flex-shrink: 0; border-radius: 8px; }
.conn-mark { border-radius: 14px; animation: conn-pulse 1.5s ease-in-out infinite; }

/* ---------- header + asset-row layout (2026-07-06) ---------- */
/* Header now holds only the brand + nav (nav's own margin-left:auto pushes it right).
   The asset row spans the full bar and distributes its items evenly across it:
   dropdown -> price -> timeframes -> live/candle-timer/clock/bell, with the status
   group flush to the right edge (no trailing gap). BIAS + premium bar moved down onto
   the kill-zones row. */
.symbol-row-main {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-between;
}
.symbol-row-main .status-block { margin-left: 0; }
.symbol-tabs { flex-wrap: wrap; row-gap: 8px; }

/* BIAS/premium bar shares the kill-zones row, pushed to the far right. */
.killzone-bar-wrap { flex-wrap: wrap; row-gap: 8px; }
.killzone-bar-wrap .bias-inline { margin-left: auto; }

/* ---------- Deep Research (2026-07-06) ---------- */
.research-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.research-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, var(--panel), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 16px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.research-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  border-color: rgba(234, 179, 8, 0.45);
}
.research-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.research-kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: var(--gold); }
.research-meta { font-size: 11px; color: var(--text-dim); }
.research-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: var(--text); }
.research-abstract {
  font-size: 12.5px; color: var(--text-dim); line-height: 1.55; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.research-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

/* Full paper page (research.html) */
.research-paper { max-width: 760px; margin: 0 auto; }
.research-paper .research-kicker { display: block; margin-bottom: 6px; }
.research-paper-title { font-size: 30px; font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; margin: 4px 0 12px; }
.research-paper-sub { font-size: 16px; color: var(--text); opacity: 0.9; line-height: 1.5; margin: 0 0 14px; font-weight: 600; }
.research-paper-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }
.research-abstract-full {
  font-size: 15px; line-height: 1.65; color: var(--text); margin: 18px 0; padding: 14px 16px;
  background: var(--panel); border-left: 3px solid var(--gold); border-radius: 8px;
}
.research-section { margin: 26px 0; }
.research-section h2 { font-size: 18px; font-weight: 700; color: var(--gold); margin: 0 0 10px; }
.research-section p { font-size: 15px; line-height: 1.7; color: var(--text); margin: 0 0 14px; }
.research-findings { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin: 22px 0; }
.research-findings-title { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 8px; }
.research-findings ul { margin: 0; padding-left: 18px; }
.research-findings li { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 8px; }
.research-conclusion { border-top: 1px solid var(--border); padding-top: 8px; }
