/* Superinvestors tables in the Attio look (html.at-done, desktop only), 2026-10-30 — the same pass as /government and
   /insiders (docs/features/gov-money.md + insiders.md "Attio table polish"; docs/features/investors.md):
   - widths follow the content: fixed layout + width:100%, a set width on EVERY column (th[data-k] / th[data-w] /
     class). The long text column (Top holdings, Stock, Stock, Fund) is content-sized (280–300px), not "auto", so it
     doesn't swallow the spare width: fixed layout spreads the spare across all columns in proportion, numbers stay
     right-aligned in roomy columns
   - every column at least as wide as its own header (icon · label · ⌄ caret / column-menu button · sort arrow ·
     padding, + 8px); headers clip and the label (.si-hl) ends in "…" as a backstop
   - no column is ever hidden: when the header-fit widths don't fit, the table grows past 100% and scrolls sideways in
     its own box (.si-atbl / #hold-table-wrap's box / .si-act-box / .si-pv-wrap are overflow:auto already); the page
     never scrolls sideways
   - tint from cell B2: header + the record column white, every other body cell --at-cell (#FAFAFE); hover / selected
     sit on the cells; the sorted-column lavender is gone
   - a thin grey 14px stroke icon before each label (si_hic in superinvestors/_macros.html)
   Phones (<768px) are untouched: every rule sits inside the min-width query, and the icons are hidden there.
   Selectors carry :not(#_) ×4 to beat si-attio-drafts.css / si-trim-drafts.css (:not(#_) ×3 + !important). */

.si-hic { display: none; }

@media (min-width: 768px) {

/* ── shared: icon, label, clipping headers, tint ─────────────────────────────────────────────────────────────── */
html.at-done :is(.si-atbl-t, .si-hold-tbl, .si-act-tbl, .si-pv-t, .si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t) .si-hic {
  display: inline-block; flex: none; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--a-mute, #8A8F98);
}
html.at-done :is(.si-atbl-t, .si-hold-tbl, .si-act-tbl, .si-pv-t, .si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t):not(#_):not(#_):not(#_):not(#_) > thead > tr > th {
  overflow: hidden; white-space: nowrap; text-overflow: clip;
}
html.at-done :is(.si-atbl-t, .si-hold-tbl, .si-act-tbl, .si-pv-t, .si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t) thead .si-hl {
  display: inline-block; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle;
}
html.at-done :is(.si-atbl-t, .si-hold-tbl, .si-act-tbl, .si-pv-t, .si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t) { --at-cell: #FAFAFE; }
html.at-done[data-theme="dark"] :is(.si-atbl-t, .si-hold-tbl, .si-act-tbl, .si-pv-t, .si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t) { --at-cell: rgba(255,255,255,.018); }
html.at-done :is(.si-atbl-t, .si-hold-tbl, .si-act-tbl, .si-pv-t, .si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t):not(#_):not(#_):not(#_):not(#_) > tbody > tr > td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── My investors / All investors (.si-atbl-t, _layout.html; tick + bell columns added by si-trim-drafts.js) ──────
   Top holdings is the long text column (its pills fade at the edge already) */
html.at-done .si-atbl { container: sitbl / inline-size; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.cb { width: 32px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="rank"] { width: 220px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="fund"] { width: 180px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.si-atbl-top { width: 240px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="book"] { width: 176px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="ret"] { width: 140px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="n"] { width: 126px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="filed"] { width: 156px; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.si-bell-h { width: 44px; }
html.at-done.si-tall .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.si-bell-h { width: 116px; }
/* the name cell's flex row (photo · name · Open · star) and the fund fit their column */
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td.si-atbl-f { overflow: hidden; text-overflow: ellipsis; }
html.at-done .si-atbl-t a.si-atbl-n { min-width: 0; max-width: 100%; }
html.at-done .si-atbl-t a.si-atbl-n > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the bell / follow column keeps its buttons whole */
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:is(.cb, .si-bell-c) { overflow: visible; text-overflow: clip; }
/* tint from B2: the tick and Investor cells stay white */
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:not(.cb):not(:nth-child(2)) { background: var(--at-cell) !important; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:is(.cb, :nth-child(2)) { background: var(--a-bg) !important; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th:is(.on, :hover) { background: var(--a-bg) !important; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr:hover > td { background: var(--a-hover) !important; }
html.at-done .si-atbl-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr.is-ck > td { background: color-mix(in srgb, var(--cs-accent, #0D8A66) 7%, var(--a-bg)) !important; }

/* ── Holdings (_holdings_tab.html): Stock is the long text column ──────────────────────────────────────────────── */
html.at-done #hold-table-wrap { container: sihold / inline-size; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.si-ckc { width: 40px; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="stk"] { width: 280px; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="tk"] { width: 130px; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="pct"] { width: 162px; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="act"] { width: 176px; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="sh"] { width: 136px; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="px"] { width: 186px; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="val"] { width: 150px; }
/* the filter button: icon · label · applied value · ⌄ in one row that never overflows its header */
html.at-done .si-hold-tbl thead .si-thf { display: inline-flex; align-items: center; max-width: 100%; min-width: 0; }
html.at-done .si-hold-tbl thead .si-thf > svg:not(.si-hic) { flex: none; }
html.at-done .si-hold-tbl thead .si-thf .si-thf-on { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.at-done .si-hold-tbl thead .si-thf .si-hl { flex: 0 1 auto; }
/* the company name fits its column (was max-width 260px) */
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td.si-ckc + td { max-width: none; }
html.at-done .si-hold-tbl .si-hold-nm:not(#_) { max-width: calc(100% - 28px); }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td.si-ckc { overflow: visible; text-overflow: clip; }
/* tint from B2: the tick and Stock cells stay white */
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:nth-child(n+3) { background: var(--at-cell) !important; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:nth-child(-n+2) { background: var(--a-bg) !important; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr:hover > td { background: var(--a-hover) !important; }
html.at-done .si-hold-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr.is-ck > td { background: color-mix(in srgb, #266DF0 5%, var(--a-bg)) !important; }

/* ── Activity (_activity_tab.html): Stock is the long text column; the group bands keep their own look ─────────── */
html.at-done .si-act-box { container: siact2 / inline-size; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="stk"] { width: 300px; }
/* tick column (2026-10-31): the box, then the Stock cell close behind it, both on the page colour */
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td).si-ckc { width: 40px; padding: 0 0 0 16px !important; cursor: pointer; background: var(--a-bg) !important;
  border-right: 0 !important; line-height: 0; vertical-align: middle; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > .si-ckc + :is(th, td) { padding-left: 8px !important; background: var(--a-bg) !important; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr.is-ck > td { background: rgba(38,109,240,.05) !important; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="chg"] { width: 112px; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="sh"] { width: 112px; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="tr"] { width: 120px; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="rng"] { width: 150px; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="val"] { width: 112px; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="pct"] { width: 156px; }
html.at-done .si-act-tbl .si-act-stk { max-width: 100%; min-width: 0; overflow: hidden; }
html.at-done .si-act-tbl .si-act-stk small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
/* the tick cell and the Stock cell behind it are one first column: both stay white (user, 2026-10-31) */
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr:not(.si-act-grp) > td:not(:first-child):not(.si-ckc + td) { background: var(--at-cell) !important; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr:not(.si-act-grp) > td:first-child { background: var(--a-bg) !important; }
html.at-done .si-act-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr:not(.si-act-grp):hover > td { background: var(--a-hover) !important; }

/* ── Performance (_perf.html, .si-pv-t): Fund is the long text column; no sorted-column tint ───────────────────── */
html.at-done .si-pv-wrap { container: siperf / inline-size; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.rk { width: 56px; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="name"] { width: 220px; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="fund"] { width: 280px; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="ret"] { width: 112px; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="book"] { width: 162px; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="n"] { width: 126px; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="filed"] { width: 126px; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.si-pv-f { width: 116px; }
html.at-done .si-pv-t a.si-pv-n { min-width: 0; max-width: 100%; }
html.at-done .si-pv-t a.si-pv-n > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td.si-pv-f { overflow: visible; }
/* values in ink: the fund and date were grey */
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:is(.si-pv-fund, .si-pv-dt) { color: var(--a-ink) !important; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:nth-child(n+3) { background: var(--at-cell) !important; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:nth-child(-n+2) { background: var(--a-bg) !important; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th.on { background: var(--a-bg) !important; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th:hover { background: var(--a-hover) !important; }
html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr:hover > td { background: var(--a-hover) !important; }

/* no compact step (user, 2026-10-31: header icons on every table): the icons stay at every desktop width and a box
   narrower than the header-fit widths scrolls sideways in its own box (it used to drop the icons first) */
  html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="book"] { width: 142px; }
  html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="n"] { width: 106px; }
  html.at-done .si-pv-t:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-k="filed"] { width: 114px; }
}


/* ── the rest of the page (2026-10-30, second pass): Latest moves + a stock's Past moves (.si-moves-tbl), Stock screens
   (.si-scr-tbl, six column sets), a stock's holders (.si-hld-tbl) and insider purchases (.si-sins-tbl), Insider buys
   (.si-ins-tbl), Analytics → First buys (.sty-t, widths on its <colgroup>, fluid shares since its 2026-10-31 restyle:
   two-line cells, no group row).
   Same rules: every column a width, header-fit ones written max(header - var(--si-ic), content floor) (--si-ic is never set since
   the compact step went, 2026-10-31); long text columns are
   fixed content sizes. Each table's own box is the container (sibox) and already scrolls (overflow-x:auto). */
html.at-done div:has(> :is(.si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t)) { container: sibox / inline-size; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="q"] { width: 140px; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="inv"] { width: 200px; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="act"] { width: 136px; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="stk"] { width: 112px; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="co"] { width: 250px; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="dsh"] { width: max(134px - var(--si-ic, 0px), 114px); }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="val"] { width: max(112px - var(--si-ic, 0px), 96px); }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="fl"] { width: max(110px - var(--si-ic, 0px), 76px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
/* tick column (2026-10-31): the box, then the Stock cell close behind it — no line between them, so tick + ticker read
   as one column like the Screener's and the holdings table (user, 2026-10-31); line-height 0 centres the box in the row */
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td).si-ckc { width: 40px; padding: 0 0 0 16px !important; cursor: pointer;
  border-right: 0 !important; line-height: 0; vertical-align: middle; }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > .si-ckc + :is(th, td) { padding-left: 8px !important; }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr.is-ck > td { background: rgba(38,109,240,.05) !important; }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="stock"] { width: max(130px - var(--si-ic, 0px), 110px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="company"] { width: 250px; }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="sector"] { width: 166px; }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="holders"] { width: max(140px - var(--si-ic, 0px), 60px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="avg-weight"] { width: max(162px - var(--si-ic, 0px), 70px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="combined-value"] { width: max(196px - var(--si-ic, 0px), 96px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="net-buyers"] { width: max(160px - var(--si-ic, 0px), 60px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="buyers"] { width: max(140px - var(--si-ic, 0px), 60px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="avg-new-position"] { width: max(200px - var(--si-ic, 0px), 80px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="value-bought"] { width: max(176px - var(--si-ic, 0px), 100px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="who-bought"] { width: 260px; }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="largest-weight"] { width: max(186px - var(--si-ic, 0px), 80px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="held-by"] { width: 180px; }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="price"] { width: max(122px - var(--si-ic, 0px), 104px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="52w-low"] { width: max(146px - var(--si-ic, 0px), 100px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="above-low"] { width: max(164px - var(--si-ic, 0px), 76px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="added"] { width: max(132px - var(--si-ic, 0px), 60px); }
html.at-done .si-scr-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="reduced"] { width: max(146px - var(--si-ic, 0px), 60px); }
html.at-done .si-hld-tbl:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-hld-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="inv"] { width: 220px; }
html.at-done .si-hld-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="pct"] { width: max(176px - var(--si-ic, 0px), 80px); }
html.at-done .si-hld-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="val"] { width: max(112px - var(--si-ic, 0px), 96px); }
html.at-done .si-hld-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="sh"] { width: max(120px - var(--si-ic, 0px), 108px); }
html.at-done .si-hld-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="act"] { width: max(170px - var(--si-ic, 0px), 130px); }
html.at-done .si-hld-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="r1"] { width: max(148px - var(--si-ic, 0px), 94px); }
html.at-done .si-sins-tbl:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-sins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="d"] { width: max(106px - var(--si-ic, 0px), 100px); }
html.at-done .si-sins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="who"] { width: 200px; }
html.at-done .si-sins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="ttl"] { width: 180px; }
html.at-done .si-sins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="sh"] { width: max(120px - var(--si-ic, 0px), 80px); }
html.at-done .si-sins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="px"] { width: max(108px - var(--si-ic, 0px), 84px); }
html.at-done .si-sins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="val"] { width: max(112px - var(--si-ic, 0px), 72px); }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 0; }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="stk"] { width: max(112px - var(--si-ic, 0px), 98px); }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="co"] { width: 220px; }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="who"] { width: 240px; }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="px"] { width: max(108px - var(--si-ic, 0px), 86px); }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="val"] { width: max(112px - var(--si-ic, 0px), 94px); }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="d"] { width: 112px; }
html.at-done .si-ins-tbl:not(#_):not(#_):not(#_):not(#_) > thead > tr > th[data-w="n"] { width: max(126px - var(--si-ic, 0px), 40px); }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) { table-layout: fixed; width: 100%; min-width: 900px; }
/* restyle (user, 2026-10-31): fluid shares of the card, so it fills the card instead of scrolling at laptop widths */
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="stk"] { width: 25%; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="q"] { width: 9%; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="w"] { width: 9%; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="pe"] { width: 12%; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="fcf_yield"] { width: 9%; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="mcap"] { width: 10%; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="range_pos"] { width: 15%; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="rel6m"] { width: 11%; }
/* two-line cells, centred: Stock = ticker over its name (the name ends in "…", never the ticker); P/E = the multiple
   over "31% above own 5y"; 52-week range = the bar over "26% off high" */
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td { height: 52px; vertical-align: middle !important; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td.stk b { display: block; font-weight: 600; line-height: 18px; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td.stk small { display: block; max-width: none; margin: 1px 0 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--a-label, #5C6070); }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) .sty-sub { display: block; margin-top: 1px; font-size: 12px; line-height: 16px; color: var(--a-label, #5C6070); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) .sty-sub.lo { color: var(--tb-pos, #0d8a66); }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) .sty-mini { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 5px; vertical-align: middle; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) .sty-mini > .f { font-size: 12px; line-height: 16px; color: var(--a-label, #5C6070); }
/* a narrower card (laptop windows): Stock gives P/E the room for its second line ("31% above own 5y" ran into "…") */
@container sibox (max-width: 1200px) {
  html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="stk"] { width: 20%; }
  html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > colgroup > col[data-k="pe"] { width: 17%; }
}
/* filter buttons in a header (Quarter / Action / Stock / Recent activity): icon · label · applied value · ⌄ in one row */
html.at-done :is(.si-moves-tbl, .si-hld-tbl) thead .si-thf { display: inline-flex; align-items: center; max-width: 100%; min-width: 0; }
html.at-done :is(.si-moves-tbl, .si-hld-tbl) thead .si-thf > svg:not(.si-hic) { flex: none; }
html.at-done :is(.si-moves-tbl, .si-hld-tbl) thead .si-thf .si-thf-on { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* name links fit their column */
html.at-done :is(.si-moves-tbl, .si-hld-tbl) a.si-row-link { max-width: 100%; min-width: 0; overflow: hidden; }
html.at-done :is(.si-moves-tbl, .si-hld-tbl) a.si-row-link > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* values in ink (company, sector, dates, prices were grey); the insider's title after the name stays secondary */
html.at-done :is(.si-moves-tbl, .si-scr-tbl, .si-sins-tbl, .si-ins-tbl):not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:is(.si-co, .tb-sub) { color: var(--a-ink) !important; }
html.at-done .sty-t:not(#_):not(#_):not(#_):not(#_) > tbody > tr > td.f { color: var(--a-ink); }
/* tint from B2: the first (record) column white — on moves that's Investor, the Quarter column is hidden under the
   quarter bands — hover on the cells; the quarter band rows keep their own shade */
/* tick + Stock = the first column, so the Stock cell after the tick stays white too (user, 2026-10-31) */
html.at-done :is(.si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t):not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:not(:first-child):not(.si-ckc + td) { background: var(--at-cell) !important; }
html.at-done :is(.si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t):not(#_):not(#_):not(#_):not(#_) > tbody > tr > td:first-child { background: var(--a-bg) !important; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr:not(.si-mv-band) > td { background: var(--at-cell) !important; }
html.at-done .si-moves-tbl:not(#_):not(#_):not(#_):not(#_) > tbody > tr:not(.si-mv-band) > td:is(.si-mv-q, .si-mv-q + td) { background: var(--a-bg) !important; }
html.at-done :is(.si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t):not(#_):not(#_):not(#_):not(#_) > tbody > tr:not(.si-mv-band):hover > td { background: var(--a-hover) !important; }
html.at-done :is(.si-moves-tbl, .si-scr-tbl, .si-hld-tbl, .si-sins-tbl, .si-ins-tbl, .sty-t):not(#_):not(#_):not(#_):not(#_) > tbody > tr > td[colspan] { background: transparent !important; }

/* no compact step (user, 2026-10-31: header icons on every table): the icons stay at every desktop width and a box
   narrower than the header-fit widths scrolls sideways in its own box (it used to drop the icons first) */

} /* min-width: 768px */
