:root {
  --bg: #f6f8f7; --ink: #141713; --muted: #59625d; --faint: #7f8984; --surface: #ffffff; --surface-2: #edf2ef; --line: #d9e0dc; --line-strong: #b5c2bb; --green: #1d7b59; --green-2: #dff3e9; --amber: #b87912; --amber-2: #fff1d5; --red: #b84235; --red-2: #ffe3de; --violet: #7257b8; --blue: #2f6f9f; --shadow: 0 18px 50px rgba(20, 23, 19, 0.10); color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); } button, input, select { font: inherit; } button { cursor: pointer; } a { color: inherit; } .app-shell { min-height: 100vh; }
.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: minmax(210px, 320px) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px 22px; border-bottom: 1px solid var(--line); background: rgba(246, 248, 247, 0.94); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; } .brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 900; } .brand strong, .brand small { display: block; } .brand strong { font-size: 16px; letter-spacing: 0; } .brand small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.top-nav { display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none; } .top-nav a { flex: 0 0 auto; padding: 8px 10px; border-radius: 7px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; } .top-nav a:hover { background: var(--surface-2); color: var(--ink); }
.status-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; } .status-dot { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 800; } .status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--faint); } .status-dot.loading::before { background: var(--amber); } .status-dot.ok::before { background: var(--green); } .status-dot.error::before { background: var(--red); }
.workspace { width: min(1520px, calc(100vw - 28px)); margin: 0 auto; padding: 22px 0 48px; } .panel, .hero-panel, .command-panel, .decision-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.hero-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 16px; min-height: 430px; padding: 18px; background: linear-gradient(135deg, rgba(29, 123, 89, 0.13), transparent 42%), linear-gradient(145deg, #ffffff, #edf2ef); } .hero-copy { display: flex; flex-direction: column; justify-content: center; max-width: 760px; padding: clamp(10px, 3vw, 36px); }
.section-label { margin: 0 0 8px; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; } h1, h2, h3, p { margin-top: 0; } h1 { max-width: 760px; margin-bottom: 16px; font-size: clamp(34px, 6vw, 78px); line-height: 0.94; letter-spacing: 0; } .hero-text { max-width: 700px; margin-bottom: 22px; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.45; } .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.primary-link, .secondary-link, .primary, .secondary, .section-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border-radius: 7px; border: 1px solid var(--ink); text-decoration: none; font-weight: 850; } .primary-link, .primary { background: var(--ink); color: #fff; } .secondary-link, .secondary, .section-link { background: var(--surface); color: var(--ink); } .section-link { border-color: var(--line-strong); font-size: 13px; }
.thesis-board { display: grid; gap: 12px; align-content: center; } .thesis-board article { min-height: 118px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.78); } .thesis-board span, .decision-card span, .propulsion-grid span, .fight-grid span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; } .thesis-board strong, .decision-card strong, .propulsion-grid strong, .fight-grid strong { display: block; margin-bottom: 8px; font-size: 20px; line-height: 1.15; } .thesis-board p, .decision-card p, .propulsion-grid p, .fight-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.45; }
.command-panel { margin-top: 14px; padding: 14px; } .saved-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .saved-filter, .map-actions button, .connection-tabs button { min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 800; } .saved-filter.active, .saved-filter:hover, .map-actions button.active, .map-actions button:hover, .connection-tabs button.active, .connection-tabs button:hover { border-color: rgba(29, 123, 89, 0.4); background: var(--green-2); color: var(--green); }
.query-grid { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)) auto auto; gap: 10px; align-items: end; } .query-grid label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 850; } .query-grid input, .query-grid select { width: 100%; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: var(--ink); padding: 0 10px; } .keyword-field { min-width: 190px; }
.metrics-strip, .company-summary, .connection-summary, .opportunity-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0; } .metrics-strip article, .company-summary article, .connection-summary article, .opportunity-metrics article { min-height: 82px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); } .metrics-strip span, .company-summary span, .connection-summary span, .opportunity-metrics span, dl dt, .fact-grid span, .company-kv span, .company-ufo-layer span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; } .metrics-strip strong, .company-summary strong, .connection-summary strong, .opportunity-metrics strong { display: block; margin-top: 8px; font-size: 28px; line-height: 1; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 14px 0; } .decision-card { padding: 16px; box-shadow: none; } .decision-card.buy { border-top: 4px solid var(--green); } .decision-card.speculative { border-top: 4px solid var(--amber); } .decision-card.private { border-top: 4px solid var(--violet); }
.panel { margin-top: 14px; padding: 16px; } .section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .section-head h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 36px); letter-spacing: 0; } .section-head p { margin-bottom: 0; color: var(--muted); line-height: 1.45; } .compact-head { align-items: center; } .compact-head h2 { font-size: 20px; }
.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .company-card, .opportunity-card, .connection-card, .overlap-card, .private-company, .source-cards article { border: 1px solid var(--line); border-radius: 8px; background: #fff; } .company-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); overflow: hidden; } .company-rank { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 22px; font-weight: 900; } .company-body { padding: 14px; min-width: 0; } .company-title, .opportunity-title, .connection-title, .overlap-title, .record-title, .private-company-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .company-title h3, .opportunity-title h3, .connection-title h3, .overlap-title h3, .record-title h3 { margin: 0; font-size: 18px; } .company-title span, .company-title strong, .opportunity-title span, .connection-title span, .overlap-title span { color: var(--green); font-size: 12px; font-weight: 900; }
.company-meta, .opportunity-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; } .company-meta span, .opportunity-meta span, .opportunity-meta strong, .term-chips span, .company-layer-chips span { display: inline-flex; min-height: 25px; align-items: center; padding: 0 8px; border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 750; } .company-kv, .fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; } .company-kv div, .company-ufo-layer, .fact-grid div { padding: 10px; border-radius: 8px; background: var(--surface-2); } .company-kv strong, .company-ufo-layer strong, .fact-grid strong { display: block; margin-top: 5px; } .company-kv em, .company-ufo-layer em { display: block; color: var(--faint); font-size: 11px; font-style: normal; } .company-layer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .company-layer-chips span.active { background: var(--green-2); color: var(--green); } .company-card p, .opportunity-card p, .connection-card p, .overlap-card p { color: var(--muted); line-height: 1.45; } .company-card dl, .opportunity-card dl, .connection-card dl, .overlap-card dl { display: grid; gap: 8px; margin: 12px 0; } dl dd { margin: 3px 0 0; line-height: 1.4; } .company-card a, .opportunity-card a, .connection-card a, .private-company, .status-card { color: var(--green); font-weight: 850; text-decoration: none; }
.company-sighting-layer-board { margin-bottom: 14px; padding: 14px; border: 1px solid rgba(29, 123, 89, 0.25); border-radius: 8px; background: #f3fbf7; } .sighting-layer-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .sighting-layer-head h3 { margin: 0 0 4px; } .sighting-layer-head p, .sighting-layer-note { margin: 0; color: var(--muted); } .sighting-layer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .sighting-layer-grid article { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .sighting-layer-grid article.active { border-color: rgba(29,123,89,.45); background: var(--green-2); } .sighting-layer-grid span, .sighting-layer-grid em { display: block; color: var(--muted); font-size: 12px; font-style: normal; } .sighting-layer-grid strong { display: block; margin: 6px 0; font-size: 24px; } .private-company-head { margin: 18px 0 10px; } .private-company-head h3 { margin: 0; } .private-company-head span { color: var(--muted); font-size: 13px; } .private-company-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .private-company { display: block; padding: 12px; } .private-company span, .private-company em { display: block; color: var(--muted); font-size: 12px; font-style: normal; } .private-company p { margin: 8px 0; color: var(--ink); }
.split-section { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 14px; } .map-actions { display: flex; gap: 7px; } .map-canvas { position: relative; min-height: 530px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: linear-gradient(90deg, rgba(47,111,159,.09) 1px, transparent 1px), linear-gradient(0deg, rgba(47,111,159,.09) 1px, transparent 1px), linear-gradient(140deg, #dfe8e2, #f8fbf9 55%, #d9e7ef); background-size: 42px 42px, 42px 42px, auto; } .map-label { position: absolute; color: rgba(20,23,19,.45); font-size: 13px; font-weight: 900; text-transform: uppercase; } .label-wa { left: 34%; top: 32%; } .label-or { left: 29%; top: 60%; } .label-id { right: 12%; top: 49%; } .label-bc { left: 42%; top: 11%; } .map-scale { position: absolute; left: 12px; bottom: 12px; padding: 7px 9px; border-radius: 7px; background: rgba(255,255,255,.78); color: var(--muted); font-size: 12px; } .marker { position: absolute; width: 26px; height: 26px; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 8px 20px rgba(20, 23, 19, 0.22); } .marker.medium { background: var(--amber); } .marker.low { background: var(--blue); } .marker.selected { outline: 4px solid rgba(29,123,89,.25); } .heat-cell { position: absolute; display: grid; width: 58px; height: 58px; place-items: center; transform: translate(-50%, -50%); border-radius: 999px; background: rgba(184, 121, 18, .5); color: #fff; font-weight: 900; } .inspector { align-self: start; position: sticky; top: 82px; } .inspector-empty { padding: 24px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--muted); } .selected-card .summary { color: var(--muted); line-height: 1.5; } .confidence { padding: 5px 8px; border-radius: 7px; background: var(--green-2); color: var(--green); font-size: 12px; font-weight: 850; } .record-date { color: var(--muted); font-size: 13px; } .term-chips { display: flex; flex-wrap: wrap; gap: 6px; } .checklist { display: grid; gap: 6px; padding: 0; list-style: none; } .checklist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px; border-radius: 7px; background: var(--surface-2); }
.propulsion-grid, .fight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .fight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .propulsion-grid article, .fight-grid article { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); } .propulsion-grid strong, .fight-grid strong { font-size: 18px; }
.analytics-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; } .chart-panel { min-height: 240px; } .bar-chart { display: flex; align-items: end; gap: 8px; min-height: 160px; padding-top: 12px; } .bar-item { display: grid; align-items: end; justify-items: center; flex: 1; height: 145px; color: var(--muted); font-size: 11px; } .bar { width: 100%; min-width: 8px; border-radius: 5px 5px 0 0; background: var(--green); } .category-row { display: grid; grid-template-columns: minmax(80px, 130px) minmax(0, 1fr) 36px; gap: 8px; align-items: center; margin: 10px 0; font-size: 13px; } .category-track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; } .category-track i { display: block; height: 100%; background: var(--green); } .empty-note { color: var(--muted); }
.connection-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .connection-map, .opportunity-grid, .overlap-map { display: grid; gap: 10px; } .connection-card, .opportunity-card, .overlap-card { display: grid; grid-template-columns: 74px minmax(0, 1fr); overflow: hidden; } .connection-rail, .opportunity-score, .overlap-score { display: grid; place-items: center; padding: 10px; background: var(--surface-2); color: var(--green); font-weight: 950; text-align: center; } .connection-rail span { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted); font-size: 11px; text-transform: uppercase; } .connection-body, .opportunity-body, .overlap-body { padding: 14px; } .connection-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; } .connection-flow div { padding: 10px; border-radius: 8px; background: var(--surface-2); } .investable-now .opportunity-score, .investable-now .connection-rail, .investable-now .overlap-score { color: var(--green); } .watch .opportunity-score, .watch .connection-rail, .watch .overlap-score, .speculative .overlap-score { color: var(--amber); } .not-investable .overlap-score { color: var(--red); } .status-ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; } .status-card { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); } .status-card span { display: inline-block; margin-left: 6px; color: var(--muted); font-size: 12px; } .status-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.matrix { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } th { color: var(--muted); font-size: 12px; text-transform: uppercase; } tbody tr:hover, tr.selected-row { background: var(--green-2); } .matrix td.high { color: var(--green); font-weight: 900; } .matrix td.medium { color: var(--amber); font-weight: 900; } .matrix td.low { color: var(--blue); font-weight: 900; } .table-wrap { overflow-x: auto; }
.source-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 12px; list-style: none; } .source-list li { display: flex; gap: 8px; padding: 8px 10px; border-radius: 7px; background: var(--surface-2); font-size: 12px; } .source-list a { color: var(--green); font-weight: 850; text-decoration: none; } .source-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .source-cards article { padding: 12px; } .source-cards h3 { margin: 0 0 4px; } .source-cards span, .source-cards p { color: var(--muted); font-size: 13px; }
@media (max-width: 1180px) { .site-header { grid-template-columns: 1fr; } .status-line { justify-self: start; } .hero-panel, .split-section { grid-template-columns: 1fr; } .inspector { position: static; } .query-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .company-grid, .analytics-grid, .propulsion-grid, .fight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .status-ledger, .private-company-rail, .sighting-layer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { body { overflow-x: hidden; } .workspace { width: min(calc(100vw - 20px), 1520px); padding-top: 10px; } .site-header { position: static; padding: 12px; } h1 { font-size: 38px; line-height: 1; } .hero-panel { min-height: 0; padding: 12px; } .hero-copy { padding: 10px; } .query-grid, .metrics-strip, .company-summary, .connection-summary, .opportunity-metrics, .decision-grid, .company-grid, .analytics-grid, .propulsion-grid, .fight-grid, .status-ledger, .private-company-rail, .sighting-layer-grid, .source-cards, .connection-flow { grid-template-columns: 1fr; } .section-head, .company-title, .opportunity-title, .connection-title, .overlap-title { flex-direction: column; } .map-canvas { min-height: 420px; } .company-card, .connection-card, .opportunity-card, .overlap-card { grid-template-columns: 1fr; } .company-rank { min-height: 42px; } .connection-rail { display: flex; justify-content: space-between; } .connection-rail span { writing-mode: initial; transform: none; } .top-nav { padding-bottom: 2px; } }


/* Responsive overflow guard: long tickers and thesis headings must never widen the page. */
.workspace, .hero-panel, .hero-copy, .thesis-board, .panel, .command-panel,
.decision-card, .company-body, .connection-body, .opportunity-body, .overlap-body,
.propulsion-grid article, .fight-grid article {
  min-width: 0;
}

h1, h2, h3, p, strong, dd, a, button, .company-meta span,
.company-layer-chips span, .top-nav a {
  overflow-wrap: anywhere;
}

img, svg, canvas, table {
  max-width: 100%;
}


@media (max-width: 720px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .workspace,
  .site-header,
  .hero-panel,
  .command-panel,
  .panel,
  .decision-card,
  .thesis-board article {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.02;
  }

  .hero-text,
  .thesis-board strong,
  .decision-card strong,
  .propulsion-grid strong,
  .fight-grid strong {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .top-nav {
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 720px) {
  .workspace {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    margin-left: auto;
    margin-right: auto;
  }

  .site-header {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-panel,
  .command-panel,
  .panel,
  .decision-card {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .top-nav {
    flex-wrap: wrap;
    overflow: visible;
    max-width: 100%;
  }

  .hero-panel {
    display: block;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-copy .hero-text,
  .hero-actions,
  .thesis-board,
  .thesis-board article {
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
  }

  .hero-copy h1,
  .hero-copy .hero-text,
  .thesis-board strong,
  .thesis-board p {
    white-space: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 720px) {
  .hero-copy,
  .hero-copy h1,
  .hero-copy .hero-text,
  .hero-actions,
  .thesis-board,
  .thesis-board article {
    width: min(calc(100vw - 86px), 304px);
    max-width: min(calc(100vw - 86px), 304px);
  }
}


.video-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
  align-items: stretch;
}

.playlist-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
  background: #000;
}

.video-notes {
  display: grid;
  gap: 10px;
}

.video-notes article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.video-notes span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.video-notes strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.video-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .video-shell {
    grid-template-columns: 1fr;
  }

  .playlist-frame {
    min-height: 220px;
  }
}
