:root {
  --bg: #f4f6fa;
  --panel: #ffffff;
  --panel-soft: #f8f9fc;
  --ink: #172033;
  --muted: #7b8498;
  --line: #e7eaf0;
  --purple: #6757d9;
  --purple-soft: #eeecff;
  --green: #168f68;
  --green-soft: #dff5ec;
  --amber: #ce7c1d;
  --amber-soft: #fff0dc;
  --red: #d85a64;
  --red-soft: #fdecef;
  --blue: #4477df;
  --sidebar: #172033;
  --shadow: 0 10px 28px rgba(25, 38, 70, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1180px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 14px 16px;
  background: var(--sidebar);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: -0.2px;
}

.brand small {
  margin-top: 3px;
  color: #8e99af;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(145deg, #7567e5, #5146b5);
  box-shadow: 0 8px 18px rgba(103, 87, 217, 0.26);
}

.brand-mark span {
  width: 3px;
  border-radius: 2px;
  background: #fff;
}

.brand-mark span:nth-child(1) {
  height: 8px;
  opacity: 0.7;
}

.brand-mark span:nth-child(2) {
  height: 15px;
}

.brand-mark span:nth-child(3) {
  height: 11px;
  opacity: 0.85;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-item {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9da7ba;
  font-size: 12px;
  text-align: left;
  transition: 160ms ease;
}

.nav-item svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-item.active {
  background: rgba(117, 103, 229, 0.18);
  color: #fff;
}

.nav-item.active::before {
  content: "";
  position: absolute;
  left: -14px;
  width: 3px;
  height: 24px;
  border-radius: 0 3px 3px 0;
  background: #9185ed;
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #6c5ed7;
  color: #fff;
  font-size: 9px;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ecebfa;
  color: #5f52c5;
  font-size: 11px;
  font-weight: 800;
}

.profile-copy {
  min-width: 0;
  flex: 1;
}

.profile-copy strong,
.profile-copy small {
  display: block;
}

.profile-copy strong {
  font-size: 12px;
}

.profile-copy small {
  margin-top: 3px;
  color: #7f899e;
  font-size: 9px;
}

.sidebar-settings {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #738099;
}

.sidebar-settings svg {
  width: 14px;
  height: 14px;
}

.main {
  min-width: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(103, 87, 217, 0.035), transparent 24%),
    var(--bg);
}

.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.breadcrumb {
  color: #9aa2b2;
  font-size: 12px;
}

.breadcrumb span {
  margin: 0 7px;
  color: #c1c6d0;
}

.breadcrumb strong {
  color: #4d5567;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search {
  width: 290px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #8b93a3;
}

.search svg {
  width: 16px;
  height: 16px;
}

.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
}

.search input::placeholder {
  color: #a7adba;
}

.search kbd {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #e6e8ed;
  border-radius: 5px;
  background: #f7f8fa;
  color: #9aa1af;
  font-size: 11px;
}

.top-icon {
  border: 0;
  background: transparent;
  color: #8490a3;
}

.topbar .top-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.topbar .top-icon svg {
  width: 17px;
  height: 17px;
}

.notification span {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 5px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--red);
}

.live-banner {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 34px;
  border-bottom: 1px solid #ebe7ff;
  background: #f8f7ff;
  color: #7d8191;
  font-size: 10px;
}

.live-banner strong {
  color: #6257b3;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d70df;
  box-shadow: 0 0 0 3px #eae7ff;
}

.view {
  display: none;
  max-width: 1460px;
  margin: 0 auto;
  padding: 26px 34px 38px;
}

.view.active {
  display: block;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 7px;
  color: #929aab;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.page-heading h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.7px;
}

.subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.range-control {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.range-control button {
  height: 28px;
  min-width: 48px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9aa1af;
  font-size: 9px;
  font-weight: 800;
}

.range-control button.active {
  background: #efeffa;
  color: #5f54ba;
  box-shadow: 0 1px 3px rgba(53, 51, 105, 0.06);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.metric-card {
  position: relative;
  min-height: 108px;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 4px 14px rgba(25, 38, 70, 0.025);
}

.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #778197;
  font-size: 9px;
  font-weight: 800;
}

.metric-status {
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 10px;
  font-size: 8px;
}

.metric-status.green {
  background: var(--green-soft);
  color: var(--green);
}

.metric-status.purple {
  background: var(--purple-soft);
  color: #695bc0;
}

.metric-status.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.metric-status.neutral {
  background: #edf1f6;
  color: #707b90;
}

.metric-card > strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  letter-spacing: -0.7px;
}

.metric-card > small {
  display: block;
  margin-top: 3px;
  color: #929aad;
  font-size: 8px;
}

.metric-foot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #9aa1af;
  font-size: 8px;
}

.metric-foot strong {
  margin-top: 3px;
  color: var(--green);
  font-size: 10px;
}

.coverage-bar {
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 38%;
  height: 5px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf0f4;
}

.coverage-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #7468d6;
}

.source-dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 4px;
}

.source-dots i {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #7468d6;
  box-shadow: 0 0 0 1px #e6e8ef;
}

.source-dots i:nth-child(2) {
  background: #3a9d7a;
}

.source-dots i:nth-child(3) {
  background: #ce8a3d;
}

.source-dots i:nth-child(4) {
  background: #6c7f9f;
}

.crowding-mini {
  position: absolute;
  right: 16px;
  bottom: 14px;
  height: 24px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.crowding-mini span {
  width: 5px;
  height: 24px;
  display: flex;
  align-items: flex-end;
  border-radius: 3px;
  background: #edf0f4;
}

.crowding-mini i {
  width: 100%;
  display: block;
  border-radius: 3px;
  background: #7f72d8;
}

.screen-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.filter-chips {
  display: flex;
  gap: 4px;
}

.filter-chips button {
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8790a1;
  font-size: 9px;
  font-weight: 800;
}

.filter-chips button.active {
  background: #efeffa;
  color: #5f54ba;
}

.filter-button,
.secondary-button,
.primary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.filter-button,
.secondary-button {
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: #747d90;
}

.filter-button {
  padding: 0 10px;
}

.filter-button svg,
.secondary-button svg,
.primary-button svg {
  width: 14px;
  height: 14px;
}

.primary-button {
  height: 34px;
  border: 0;
  padding: 0 12px;
  background: #6658cf;
  color: #fff;
  box-shadow: 0 7px 16px rgba(102, 88, 207, 0.18);
}

.radar-grid,
.dossier-layout,
.catalyst-layout,
.tracker-layout {
  display: grid;
  gap: 12px;
}

.radar-grid {
  grid-template-columns: minmax(0, 2.05fr) minmax(270px, 0.82fr);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 4px 16px rgba(25, 38, 70, 0.025);
}

.panel-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-size: 12px;
  letter-spacing: -0.2px;
}

.freshness,
.source-count,
.count-pill,
.risk-count {
  color: #9aa1af;
  font-size: 8px;
}

.table-header,
.opportunity-row {
  display: grid;
  grid-template-columns: 1.18fr 1.42fr 0.9fr 1fr 0.62fr 0.78fr;
  align-items: center;
}

.table-header {
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  color: #a0a6b3;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.opportunity-row {
  width: 100%;
  min-height: 76px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid #eef0f4;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: 150ms ease;
}

.opportunity-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 10px 10px;
}

.opportunity-loading {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: #929aaa;
  font-size: 9px;
}

.opportunity-row:hover,
.opportunity-row.active {
  background: #fbfbfe;
}

.opportunity-row.active {
  box-shadow: inset 3px 0 #7063d5;
}

.ticker-cell,
.tracker-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-cell > span:last-child,
.thesis-cell,
.catalyst-cell,
.edge-cell,
.reaction-cell,
.tracker-ticker > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ticker-cell strong,
.ticker-cell small,
.thesis-cell strong,
.thesis-cell small,
.catalyst-cell strong,
.catalyst-cell small,
.edge-cell strong,
.edge-cell small,
.reaction-cell strong,
.reaction-cell small {
  display: block;
}

.ticker-cell strong,
.ticker-cell small,
.thesis-cell strong,
.thesis-cell small,
.catalyst-cell strong,
.catalyst-cell small,
.edge-cell strong,
.edge-cell small,
.reaction-cell strong,
.reaction-cell small {
  line-height: 1.25;
}

.ticker-cell strong {
  font-size: 10px;
}

.ticker-cell small,
.thesis-cell small,
.catalyst-cell small,
.edge-cell small,
.reaction-cell small {
  margin-top: 4px;
  color: #9ba2af;
  font-size: 7px;
}

.ticker-logo {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ticker-logo.crdo {
  background: #645bd2;
}

.ticker-logo.oklo {
  background: #5a7d4e;
}

.ticker-logo.rklb {
  background: #3d75b8;
}

.ticker-logo.vrt {
  background: #4e7b79;
}

.thesis-cell strong,
.catalyst-cell strong,
.edge-cell strong,
.reaction-cell strong {
  font-size: 9px;
}

.edge-cell strong {
  color: #6257c2;
  font-size: 14px;
}

.reaction-cell strong {
  color: var(--green);
  font-size: 10px;
}

.reaction-cell.hot strong {
  color: var(--amber);
}

.stage-pill {
  height: 24px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0 8px;
  border-radius: 12px;
  font-size: 7px;
  font-weight: 900;
  white-space: nowrap;
}

.stage-pill.pre-catalyst {
  background: var(--green-soft);
  color: #247e60;
}

.stage-pill.evidence {
  background: var(--purple-soft);
  color: #695bc0;
}

.stage-pill.crowded {
  background: var(--amber-soft);
  color: #ad7528;
}

.side-column,
.dossier-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signal-panel {
  min-height: 342px;
}

.bookmark-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #9aa2af;
}

.bookmark-button svg {
  width: 14px;
  height: 14px;
}

.bookmark-button.active {
  background: #f1efff;
  color: #6558c8;
}

.bookmark-button.active svg {
  fill: currentColor;
}

.signal-summary {
  min-height: 86px;
  padding: 13px 16px 10px;
}

.signal-summary p {
  margin: 0 0 9px;
  color: #5f687a;
  font-size: 9px;
  line-height: 1.55;
}

.signal-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 16px 10px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
}

.signal-scores div {
  padding: 9px 6px;
  text-align: center;
  border-right: 1px solid #edf0f4;
}

.signal-scores div:last-child {
  border-right: 0;
}

.signal-scores span,
.signal-scores strong {
  display: block;
}

.signal-scores span {
  color: #9aa1af;
  font-size: 7px;
}

.signal-scores strong {
  margin-top: 4px;
  font-size: 12px;
}

.signal-bars {
  display: grid;
  gap: 5px;
  padding: 0 16px 11px;
}

.signal-bars > div:not(.bar) {
  display: flex;
  justify-content: space-between;
  color: #929aa8;
  font-size: 8px;
}

.signal-bars strong {
  color: #657087;
}

.bar {
  height: 4px;
  margin-bottom: 2px;
  overflow: hidden;
  border-radius: 3px;
  background: #edf0f4;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #3aa983;
}

.bar.source i {
  background: #7165d2;
}

.bar.discount i {
  background: #df9a43;
}

.primary-button.wide {
  width: calc(100% - 32px);
  margin: 0 16px 14px;
  height: 38px;
}

.primary-button.wide b {
  margin-left: 4px;
  font-size: 12px;
}

.disconfirm-panel {
  min-height: 200px;
}

.risk-count {
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 11px;
  background: var(--amber-soft);
  color: var(--amber);
}

.risk-list {
  margin: 0;
  padding: 5px 16px 8px;
  list-style: none;
}

.risk-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #f0f1f4;
}

.risk-list li:last-child {
  border-bottom: 0;
}

.risk-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.risk-dot.amber {
  background: #dfa04d;
  box-shadow: 0 0 0 4px #fff1dd;
}

.risk-dot.green {
  background: #58a98d;
  box-shadow: 0 0 0 4px #e1f3ec;
}

.risk-dot.red {
  background: #d85a64;
  box-shadow: 0 0 0 4px #fdecef;
}

.risk-list strong,
.risk-list small {
  display: block;
}

.risk-list strong {
  font-size: 9px;
}

.risk-list small {
  margin-top: 3px;
  color: #9ba2af;
  font-size: 8px;
}

.dossier-heading,
.research-heading {
  align-items: center;
}

.dossier-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dossier-title .ticker-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 12px;
}

.action-group {
  display: flex;
  gap: 8px;
}

.action-group .secondary-button,
.action-group .primary-button {
  height: 38px;
  padding: 0 12px;
}

.dossier-layout {
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.7fr);
}

.dossier-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thesis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
  min-height: 210px;
}

.thesis-copy {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.thesis-copy .lead {
  max-width: 620px;
  margin: 0 0 18px;
  color: #3f4a60;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.thesis-factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.thesis-factors div {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 11px;
  border-radius: 8px;
  background: #f7f8fb;
}

.thesis-factors span {
  color: #aaaec0;
  font-size: 8px;
  font-weight: 900;
}

.thesis-factors strong {
  color: #59647a;
  font-size: 8px;
  line-height: 1.45;
}

.market-bridge {
  padding: 18px;
  background: #fbfbfd;
}

.bridge-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  min-height: 42px;
  align-items: start;
  padding-top: 10px;
  border-bottom: 1px solid #eef0f4;
  font-size: 8px;
}

.bridge-row:last-child {
  border-bottom: 0;
}

.bridge-row span {
  color: #9aa1af;
}

.bridge-row strong {
  color: #59647a;
  line-height: 1.4;
}

.text-button {
  border: 0;
  background: transparent;
  color: #6256c3;
}

.catalyst-chain {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: center;
  padding: 18px;
}

.catalyst-step {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf0f4;
  color: #8790a1;
  font-size: 8px;
  font-weight: 900;
}

.step-mark svg {
  width: 12px;
  height: 12px;
}

.catalyst-step.confirmed {
  border-color: #d4eee3;
  background: #f7fcfa;
}

.catalyst-step.confirmed .step-mark {
  background: var(--green);
  color: #fff;
}

.catalyst-step.pending {
  border-color: #dedafa;
  background: #faf9ff;
}

.catalyst-step.pending .step-mark {
  background: #7164d4;
  color: #fff;
}

.catalyst-step small,
.catalyst-step strong,
.catalyst-step span {
  display: block;
}

.catalyst-step small {
  color: #9ba2af;
  font-size: 7px;
}

.catalyst-step strong {
  margin-top: 3px;
  font-size: 9px;
}

.catalyst-step span {
  margin-top: 4px;
  color: #9ba2af;
  font-size: 7px;
}

.chain-line {
  height: 4px;
  overflow: hidden;
  background: #edf0f4;
}

.chain-line span {
  display: block;
  height: 100%;
  background: #7164d4;
}

.source-table {
  padding: 5px 14px 10px;
}

.source-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 78px 42px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f0f1f4;
}

.source-row:last-child {
  border-bottom: 0;
}

.source-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
}

.source-icon.sec {
  background: #3f526f;
}

.source-icon.supply {
  background: #d58b45;
}

.source-icon.earnings {
  background: #5d89d6;
}

.source-icon.options {
  background: #7569c9;
}

.source-icon.regulatory {
  background: #65758f;
}

.source-icon.partner {
  background: #4f8b70;
}

.source-icon.operations {
  background: #4d78ad;
}

.source-icon.program {
  background: #7771a8;
}

.source-row strong,
.source-row small {
  display: block;
}

.source-row strong {
  font-size: 8px;
}

.source-row small {
  margin-top: 3px;
  color: #9ba2af;
  font-size: 7px;
}

.source-tag {
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 7px;
  font-weight: 900;
}

.source-tag.supportive {
  background: var(--green-soft);
  color: var(--green);
}

.source-tag.neutral {
  background: #edf1f6;
  color: #707b90;
}

.source-tag.caution {
  background: var(--amber-soft);
  color: var(--amber);
}

.source-open {
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #757e91;
  font-size: 7px;
  font-weight: 800;
}

.score-ring {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 16px auto 11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(#7164d4 0 88%, #edf0f4 88% 100%);
}

.score-ring > div {
  text-align: center;
}

.score-ring strong {
  font-size: 27px;
  letter-spacing: -1px;
}

.score-ring small {
  color: #9ba2af;
  font-size: 8px;
}

.score-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 14px 14px;
  border-top: 1px solid #eef0f4;
  padding-top: 11px;
}

.score-breakdown div {
  text-align: center;
  border-right: 1px solid #eef0f4;
}

.score-breakdown div:last-child {
  border-right: 0;
}

.score-breakdown span,
.score-breakdown strong {
  display: block;
}

.score-breakdown span {
  color: #9ba2af;
  font-size: 7px;
}

.score-breakdown strong {
  margin-top: 4px;
  font-size: 11px;
}

.scenario-list,
.trigger-list {
  padding: 5px 14px 10px;
}

.scenario-list div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  border-bottom: 1px solid #f0f1f4;
  font-size: 8px;
}

.scenario-list div:last-child {
  border-bottom: 0;
}

.scenario-list span {
  color: #9aa1af;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.scenario-list strong {
  color: #59647a;
  line-height: 1.4;
}

.trigger-list div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: 20px 20px;
  align-items: center;
  column-gap: 8px;
  border-bottom: 1px solid #f0f1f4;
}

.trigger-list div:last-child {
  border-bottom: 0;
}

.trigger-icon {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}

.trigger-icon svg {
  width: 13px;
  height: 13px;
}

.trigger-icon.up {
  background: var(--green-soft);
  color: var(--green);
}

.trigger-icon.neutral {
  background: var(--purple-soft);
  color: var(--purple);
}

.trigger-icon.down {
  background: var(--red-soft);
  color: var(--red);
}

.trigger-list strong,
.trigger-list small {
  display: block;
}

.trigger-list strong {
  align-self: end;
  font-size: 8px;
}

.trigger-list small {
  align-self: start;
  margin-top: 2px;
  color: #9ba2af;
  font-size: 7px;
}

.catalyst-layout {
  grid-template-columns: minmax(0, 2fr) minmax(230px, 0.58fr);
}

.timeline-legend {
  display: flex;
  gap: 12px;
  color: #929aa8;
  font-size: 7px;
}

.timeline-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.timeline-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.timeline-legend i.scheduled {
  background: #7164d4;
}

.timeline-legend i.confirmed {
  background: #3aa983;
}

.timeline-legend i.uncertain {
  background: #dfa04d;
}

.timeline {
  position: relative;
  height: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  margin: 0 18px;
  border-bottom: 1px solid #eef0f4;
}

.timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  background: linear-gradient(90deg, #7164d4 0 28%, #d8dbe4 28% 100%);
}

.timeline-month {
  height: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  padding-bottom: 6px;
  border-left: 1px solid #eef0f4;
  color: #9aa1af;
  font-size: 8px;
  text-align: center;
}

.timeline-month strong {
  position: absolute;
  margin-top: -50px;
  color: #69738a;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-month span {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #edf0f4;
  color: #7d8698;
  font-size: 7px;
  box-shadow: 0 0 0 1px #e5e8ef;
}

.event-list {
  padding: 8px 14px 12px;
}

.event-row {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px 38px minmax(0, 1fr) 76px 20px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid #f0f1f4;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row:hover {
  background: #fbfbfe;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #69738a;
}

.event-date strong {
  font-size: 14px;
}

.event-date small {
  margin-top: 2px;
  font-size: 7px;
}

.event-row > div strong,
.event-row > div small {
  display: block;
}

.event-row > div strong {
  font-size: 9px;
}

.event-row > div small {
  margin-top: 4px;
  color: #9ba2af;
  font-size: 7px;
}

.event-tag {
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 7px;
  font-weight: 900;
}

.event-tag.estimated {
  background: var(--amber-soft);
  color: var(--amber);
}

.event-tag.scheduled {
  background: var(--purple-soft);
  color: #695bc0;
}

.event-tag.watch {
  background: #edf1f6;
  color: #707b90;
}

.event-row b {
  color: #adb3bf;
  font-size: 10px;
}

.catalyst-summary {
  min-height: 420px;
}

.attention-score {
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eef0f4;
}

.attention-score strong {
  font-size: 34px;
  letter-spacing: -1px;
}

.attention-score span {
  margin-top: 4px;
  color: #9aa1af;
  font-size: 8px;
}

.attention-list {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
}

.attention-list div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 8px 50px 1fr;
  align-items: center;
  border-bottom: 1px solid #f0f1f4;
  font-size: 8px;
}

.attention-list div:last-child {
  border-bottom: 0;
}

.priority-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.priority-dot.red {
  background: var(--red);
}

.priority-dot.amber {
  background: var(--amber);
}

.priority-dot.green {
  background: var(--green);
}

.attention-list strong {
  font-size: 8px;
}

.attention-list small {
  color: #9ba2af;
  font-size: 7px;
}

.tracker-layout {
  grid-template-columns: minmax(0, 2fr) minmax(220px, 0.65fr);
}

.count-pill {
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 12px;
  background: #f1efff;
  color: #665ac5;
  font-weight: 900;
}

.tracker-header,
.tracker-row {
  display: grid;
  grid-template-columns: 1.3fr 0.82fr 0.9fr 0.9fr 0.58fr 52px;
  align-items: center;
  padding: 0 16px;
}

.tracker-header {
  height: 36px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  color: #a0a6b3;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tracker-row {
  min-height: 74px;
  border-bottom: 1px solid #eef0f4;
}

.tracker-row:last-child {
  border-bottom: 0;
}

.tracker-ticker strong,
.tracker-ticker small,
.tracker-row > span:nth-child(2) strong,
.tracker-row > span:nth-child(2) small,
.tracker-row > span:nth-child(4) strong,
.tracker-row > span:nth-child(4) small,
.tracker-row > span:nth-child(5) strong,
.tracker-row > span:nth-child(5) small {
  display: block;
}

.tracker-ticker strong,
.tracker-row > span:nth-child(2) strong,
.tracker-row > span:nth-child(4) strong,
.tracker-row > span:nth-child(5) strong {
  font-size: 8px;
}

.tracker-ticker small,
.tracker-row > span:nth-child(2) small,
.tracker-row > span:nth-child(4) small,
.tracker-row > span:nth-child(5) small {
  margin-top: 3px;
  color: #9ba2af;
  font-size: 7px;
}

.evidence-score {
  color: var(--green);
  font-size: 11px !important;
}

.evidence-score.amber {
  color: var(--amber);
}

.tracker-row button {
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #757e91;
  font-size: 7px;
  font-weight: 900;
}

.attention-panel {
  min-height: 210px;
  padding: 18px;
}

.attention-panel h2 {
  margin: 0;
  font-size: 13px;
}

.attention-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.attention-items > div {
  display: grid;
  grid-template-columns: 30px 1fr 24px;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f8f9fb;
}

.attention-items .ticker-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 7px;
}

.attention-items strong,
.attention-items small {
  display: block;
}

.attention-items strong {
  font-size: 8px;
}

.attention-items small {
  margin-top: 3px;
  color: #929aaa;
  font-size: 7px;
}

.attention-items b {
  color: var(--green);
  font-size: 8px;
  text-align: right;
}

.attention-items b.down {
  color: var(--red);
}

.disclaimer {
  margin: 14px 0 0;
  color: #a1a7b3;
  font-size: 7px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 340px;
  transform: translateY(20px);
  padding: 12px 14px;
  border: 1px solid #ddd9f7;
  border-radius: 8px;
  background: #fff;
  color: #596176;
  box-shadow: 0 12px 30px rgba(35, 43, 75, 0.16);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1250px) {
  .app-shell {
    grid-template-columns: 204px minmax(0, 1fr);
  }

  .view,
  .topbar,
  .live-banner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .radar-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(250px, 0.82fr);
  }
}
