Files
CatoandClaude Fable 5.1 d096d9ee59 feat(markets): company profiles — at a glance, ownership, charts, section menu (#208)
* wip: company profiles — at a glance, ownership, charts, section menu

* feat(markets): company profiles — at a glance, ownership, charts, section menu

Opening ASML, GE Vernova or Sibelco now reads in one order on every
company: header with five StatTiles at a glance (bottlenecks held, hardest
binding, directory grade, listing, events) → what it holds, each row the
front page's board-row with a chartkit Meter linking to the assessment →
ownership and investors (new config/substrata-ownership.ts, 25 companies,
every holder with the document and as-of date it was read from; a share
nobody read off a document is null and reads as a lead; ShareBars for the
sourced ones) → numbers it reports (series filed under the company, as
LineCharts and sparkline rows) → what has happened (events that name it,
events on what it holds and its SEC filings on one Timeline, then the lists)
→ unread leads (three, then "All n") → what could loosen its grip → ways to
take part → hiring → others at the same step → what it connects to →
sources → discussion. The section menu is the existing SectionNav (a
strip under the top bar on a phone, a rail from 1280px), built from the
headings. Charts are @bitbaum/chartkit's; the page keeps only its placement.

Ask gets an `ownership` tool ("who owns X"), with the same rows.

Gates: test/ownership.test.ts (sources, as-of dates, sums ≤ 100, status
agrees with the listing record, the tool answers for listed / private /
unknown), module order in test/profile.test.ts, and
scripts/ux/profile-layout.mjs (`check:profile-layout`): three companies at
320/390/1440 light and dark — no sideways scroll, every target 44px, five
tiles of one shape, meters in one x, the menu lists only real sections, no
word cut mid-letter.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-23 11:23:48 +02:00

28 lines
662 B
CSS

/* Tickers: where a company trades, on company pages, bottleneck pages and /exposure. */
.ticker-group {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: 0.3rem;
}
.ticker {
/* The chip is small; the link around it is a full target. */
display: inline-flex;
align-items: center;
min-height: var(--size-target);
color: var(--color-fg-primary);
white-space: nowrap;
}
.ticker-chip {
padding: 0.05rem 0.4rem;
border: 1px solid var(--color-border-strong);
border-radius: 0.25rem;
font-family: var(--font-mono);
font-size: 0.75rem;
}
.ticker-parent,
.ticker-none {
font-size: 0.72rem;
color: var(--color-fg-muted);
}