/* Superinvestors — Attio layout drafts (2026-10-25, user: "draft both"). Scoped to html.si-at-on, which the page's
   head script sets only under html.at-done and a ?drafts=1 pick (si-draft in localStorage):
     .si-da  A · one table of every investor → an Attio record page (Record details left, tabs right)
     .si-db  B · the investor list stays on the left, the book on the right as a record with a name row
   Markup: superinvestors/index.html (.si-vrow), _layout.html (.si-atbl), _content.html (.sir-left),
   _holdings_tab.html (.sir-hold). Behaviour: js/si-attio-drafts.js. Attio radii (12 cards, 8 buttons), not the house 4px. */

html:not(.si-at-on) .si-at { display: none !important; }
html.si-at-on .app-shell > main:has(.si-scope) { padding: 0 !important; }
html.si-at-on .si-scope { max-width: none !important; margin: 0 !important; font: 500 14px/20px Inter, system-ui, sans-serif; letter-spacing: -0.07px; color: var(--a-ink); }
html.si-at-on .si-scope .num { font-variant-numeric: tabular-nums; }

/* ── view row (48px): view switcher · · · search · draft switch ── */
.si-vrow { display: none; }
html.si-at-on .si-vrow, html.si-d-cur .si-vrow { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border-bottom: 1px solid var(--a-line); }
html.si-d-cur .si-vrow { height: 36px; border: 0; justify-content: flex-end; }
html.si-d-cur .si-vrow > :not(.si-dsw) { display: none !important; }
html.si-at-on .si-vrow .at-btn { height: 28px; padding: 0 8px 0 6px; gap: 6px; display: inline-flex; align-items: center; border-radius: 8px; }
html.si-at-on .si-scope .at-btn i { font-size: 15px; color: var(--a-mute); }
html.si-at-on .si-scope .at-btn .si-cd { font-size: 12px; margin-left: -2px; }
html.si-at-on .si-vsp { flex: 1 1 auto; }
html.si-at-on .si-vq { position: relative; display: inline-flex; align-items: center; }
html.si-at-on .si-vq i { position: absolute; left: 7px; font-size: 15px; color: var(--a-mute); pointer-events: none; }
html.si-at-on .si-vq input:not(#_) { width: 180px; height: 28px; padding: 0 8px 0 28px; border: 0 !important; border-radius: 8px; outline: none;
  background: transparent !important; font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); box-shadow: none !important; }
html.si-at-on .si-vq input:focus:not(#_) { background: var(--a-fill) !important; }
html.si-at-on .si-vq input::placeholder { color: var(--a-mute); }
/* B keeps the list column's own search, so the view row's goes */
html.si-db .si-vq { display: none; }
/* draft switch: a quiet segmented pill */
.si-dsw { display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 2px; border-radius: 10px; background: rgba(0,0,0,.04); }
html[data-theme="dark"] .si-dsw { background: rgba(255,255,255,.06); }
.si-dsw em { font: 500 12px/16px Inter, system-ui, sans-serif; font-style: normal; color: var(--a-mute, #727C94); padding: 0 6px 0 6px; }
.si-dsw button { height: 24px; padding: 0 8px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-label, #727C94); }
.si-dsw button.on { background: var(--a-bg, #fff); color: var(--a-ink, #101112); box-shadow: 0 1px 2px -1px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.06); }

/* ── shared: layout + Attio tabs + callout + tables ── */
html.si-at-on .si-layout { display: block; gap: 0; }
html.si-at-on .si-panel { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html.si-at-on .si-subtabs { display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 12px; margin: 0; border-bottom: 1px solid var(--a-line) !important; }
html.si-at-on .si-subtab { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 4px 8px; margin: 0; border: 0 !important; border-radius: 8px;
  font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-label) !important; text-decoration: none; box-shadow: none; }
html.si-at-on .si-subtab::after { display: none !important; }
html.si-at-on .si-subtab i { font-size: 15px; }
html.si-at-on .si-subtab:hover { color: var(--a-ink) !important; }
html.si-at-on .si-subtab.si-subtab-active { color: var(--a-ink) !important; background: var(--a-side, #FBFBFB); box-shadow: inset 0 0 0 1px var(--a-line); }
html.si-at-on .si-subtab-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
html.si-at-on .si-view-switch { display: none !important; }
html.si-at-on .cgr-n, html.si-at-on .sir-n { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 4px;
  background: rgba(0,0,0,.04); box-shadow: inset 0 0 0 1px var(--a-line); font: 500 11px/16px Inter, system-ui, sans-serif; color: #505155; }
html[data-theme="dark"].si-at-on :is(.cgr-n, .sir-n) { background: rgba(255,255,255,.06); color: #D9DADE; }
html.si-at-on .sir-n { margin-left: 6px; }

/* the book's body under the tabs */
html.si-at-on .si-pane[data-si-view="book"] > .p-4 { padding: 4px 20px 32px !important; }
html.si-at-on .si-pane[data-si-view="book"] > .px-4.pt-3 { display: none; }   /* blurb: About in A, gone in B */
html.si-at-on .si-insight { margin: 16px 0 0 !important; padding: 8px 12px !important; border: 0 !important; border-radius: 12px !important;
  background: #F6F7F7 !important; box-shadow: inset 0 0 0 1px var(--a-line) !important; display: flex; gap: 8px; align-items: flex-start; }
html[data-theme="dark"].si-at-on .si-insight { background: #1B1C1F !important; }
html.si-at-on .si-insight p { margin: 0; font: 500 14px/20px Inter, system-ui, sans-serif !important; color: #505155 !important; }
html[data-theme="dark"].si-at-on .si-insight p { color: #D9DADE !important; }
html.si-at-on .si-insight-ic { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: transparent !important; color: var(--a-mute) !important; font-size: 13px; }
html.si-at-on .si-top-grid { display: none !important; }

/* section headings, Highlights cards, boxes (Attio record page) */
html.si-at-on .sir-h { display: flex; align-items: center; margin: 20px 0 10px; padding: 0 12px; font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-label); }
html.si-at-on .sir-hl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
html.si-at-on .sir-card { display: flex; flex-direction: column; justify-content: space-between; height: 86px; padding: 10px 12px; border-radius: 12px;
  background: var(--a-bg); box-shadow: inset 0 0 0 1px var(--a-line); min-width: 0; }
html[data-theme="dark"].si-at-on .sir-card { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
html.si-at-on .sir-card .l { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 12px/16px Inter, system-ui, sans-serif; color: var(--a-label); }
html.si-at-on .sir-card .l i { font-size: 13px; color: var(--a-mute); }
html.si-at-on .sir-card .v { display: flex; align-items: baseline; gap: 6px; font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.si-at-on .sir-card .v a { color: var(--a-ink); text-decoration: underline; text-decoration-color: rgba(0,0,0,.09); text-underline-offset: 2px; }
html.si-at-on .sir-mute { color: var(--a-mute); }
html.si-at-on .sir-ret-v.up { color: var(--tb-pos); } html.si-at-on .sir-ret-v.dn { color: var(--tb-neg); }
html.si-at-on .sir-ret-m { font-size: 12px; }
/* the Period chip inside the Return card's label */
html.si-at-on .sir-per { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 4px 0 6px; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(0,0,0,.04); box-shadow: inset 0 0 0 1px var(--a-line); font: 500 12px/16px Inter, system-ui, sans-serif; color: #505155; }
html[data-theme="dark"].si-at-on .sir-per { background: rgba(255,255,255,.06); color: #D9DADE; }
html.si-at-on .sir-per i { font-size: 10px !important; }
html.si-at-on .sir-per:hover { background: var(--a-hover); }
/* B shows the book facts as cards; A has them in Record details */
html.si-da .sir-b { display: none; }
html.si-at-on .sir-box { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a-line); background: var(--a-bg); }
html[data-theme="dark"].si-at-on .sir-box { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
html.si-at-on .sir-sec { padding: 12px; }
html.si-at-on .sir-sec-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; margin-bottom: 12px; }
html.si-at-on .sir-sec-bar span { display: block; min-width: 2px; }
html.si-at-on .sir-sec-leg { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px 24px; }
html.si-at-on .sir-sec-leg div { display: flex; align-items: center; gap: 8px; min-height: 24px; font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-ink); min-width: 0; }
html.si-at-on .sir-sec-leg i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
html.si-at-on .sir-sec-leg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.si-at-on .sir-sec-leg b { margin-left: auto; font-weight: 500; color: var(--a-label); }
/* pie view says the same as the sector box */
html.si-at-on #si-content:has(#hold-pie-wrap:not([hidden])) .sir-sector { display: none; }
html.si-at-on #hold-pie-wrap > div { border: 0 !important; border-radius: 12px !important; background: var(--a-bg) !important; box-shadow: inset 0 0 0 1px var(--a-line); }

/* holdings table: in a 12px box like Attio's record lists, Attio type, no bold */
html.si-at-on #hold-table-wrap > div { border: 0 !important; border-radius: 12px !important; background: var(--a-bg) !important; box-shadow: inset 0 0 0 1px var(--a-line); }
html.si-at-on .si-scope .aiq-tbl :is(th, td) { font: 500 14px/20px Inter, system-ui, sans-serif !important; letter-spacing: -0.07px; }
html.si-at-on .si-scope .aiq-tbl td .font-semibold, html.si-at-on .si-scope .aiq-tbl td .font-medium { font-weight: 500 !important; }
html.si-at-on .si-hold-tbl td a.font-semibold { color: var(--a-ink) !important; }
html.si-at-on .si-hold-tbl .si-hold-iss { color: var(--a-mute) !important; }
html.si-at-on .si-hold-tbl .wt-bar { display: none; }
html.si-at-on .si-thf { font: inherit !important; color: inherit !important; }

/* ══ A · investors table, then the record page ══ */
html.si-db .si-atbl { display: none !important; }
html.si-da .si-list { display: none !important; }
html.si-da #si-layout:has(> .si-atbl) > .si-main { display: none; }
html.si-da .si-atbl { overflow: auto; max-height: calc(100vh - 97px); }
html.si-da .si-atbl-t { width: 100%; background: var(--a-bg) !important; }
html.si-da .si-atbl-t th { cursor: pointer; user-select: none; white-space: nowrap; }
html.si-da .si-atbl-t th.on::after { content: attr(data-dir); margin-left: 4px; color: var(--a-mute); }
html.si-da .si-atbl-t tbody tr { cursor: pointer; }
html.si-da .si-atbl-t tbody tr[hidden] { display: none; }
html.si-da .si-atbl-n { display: flex; align-items: center; gap: 8px; color: var(--a-ink); text-decoration: none; white-space: nowrap; }
/* portraits big enough to tell who's who (user, 2026-10-25: "nice to have each investor's image so you can see who is
   there"): 32px circles, so the rows grow from Attio's 36px to 44px */
html.si-da .si-atbl-n .si-avatar { width: 32px !important; height: 32px !important; border-radius: 50% !important; object-fit: cover; object-position: 50% 20%;
  box-shadow: 0 0 0 1px var(--a-line); flex: none; }
html.si-da .si-atbl-t:not(#_):not(#_):not(#_) > tbody > tr > td { height: 44px; padding-top: 0 !important; padding-bottom: 0 !important; vertical-align: middle !important; }
html.si-da .si-atbl-n { gap: 10px; }
html.si-da .si-atbl-f { color: var(--a-label); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.si-da .si-atbl-mute { color: var(--a-mute); }
html.si-da .si-atbl-stale { display: inline-flex; height: 20px; align-items: center; padding: 0 5px; margin-left: 6px; border-radius: 6px;
  background: #FFF3CC; box-shadow: inset 0 0 0 1px #FFE59E; color: #874D00; font: 500 12px/16px Inter, system-ui, sans-serif; }
html[data-theme="dark"].si-da .si-atbl-stale { background: #3A2D12; box-shadow: inset 0 0 0 1px #523817; color: #FFD269; }

/* record page: the pane becomes Record details | tabs + book */
html.si-da .si-pane[data-si-view="book"] { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: start; min-height: calc(100vh - 97px); }
html.si-da .si-pane[data-si-view="book"] > * { grid-column: 2; min-width: 0; }
html.si-da .si-pane[data-si-view="book"] > .sir-left { grid-column: 1; grid-row: 1 / span 30; align-self: stretch; border-right: 1px solid var(--a-line); padding-bottom: 16px; }
html.si-da .si-id-row:not(.si-pane-head) { display: none !important; }
html.si-at-on .sir-nav { display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 12px; border-bottom: 1px solid var(--a-line); }
html.si-at-on .sir-ib { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--a-ink); text-decoration: none;
  box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring)); background: var(--a-bg); }
html.si-at-on .sir-ib i { font-size: 14px; }
html.si-at-on a.sir-ib:hover { background: var(--a-hover); }
html.si-at-on .sir-ib.is-off { opacity: .4; }
html.si-at-on .sir-pos { margin-left: 6px; font: 500 12px/16px Inter, system-ui, sans-serif; color: var(--a-label); white-space: nowrap; }
html.si-at-on .sir-left .cgr-id { display: flex; align-items: center; gap: 8px; padding: 16px 12px 12px; border-bottom: 1px solid var(--a-line); }
html.si-at-on .sir-left .cgr-id { flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; text-align: left; gap: 10px; padding: 20px 16px 16px !important; }
html.si-at-on .sir-left .cgr-id > :first-child { width: 56px !important; height: 56px !important; border-radius: 50% !important; object-fit: cover; object-position: 50% 20%;
  box-shadow: 0 0 0 1px var(--a-line); flex: none; }
html.si-at-on .sir-left .cgr-nm { font: 600 18px/24px Inter, system-ui, sans-serif; letter-spacing: -0.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.si-at-on .sir-left .cgr-sec { padding: 14px 16px 6px; font: 500 12px/16px Inter, system-ui, sans-serif; color: var(--a-label); }
html.si-at-on .sir-left .cgr-attrs { margin: 0; padding: 0 8px; }
html.si-at-on .sir-left .cgr-attrs > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; min-height: 34px; padding: 0 8px; border-radius: 8px; }
html.si-at-on .sir-left .cgr-attrs > div:hover { background: var(--a-hover); }
html.si-at-on .sir-left .cgr-attrs dt { display: flex; align-items: center; gap: 8px; font: 500 12px/16px Inter, system-ui, sans-serif; color: var(--a-label); white-space: nowrap; }
html.si-at-on .sir-left .cgr-attrs dt i { font-size: 13px; color: var(--a-mute); width: 14px; }
html.si-at-on .sir-left .cgr-attrs dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.si-at-on .sir-about { margin: 0; padding: 0 16px; font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-label); }
html.si-db .sir-left { display: none !important; }

/* ══ B · list column + the record with a name row ══ */
html.si-db .si-layout { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); }
html.si-db .si-list { position: sticky; top: 0; max-height: calc(100vh - 97px); height: calc(100vh - 97px); border-radius: 0 !important;
  border-right: 1px solid var(--a-line) !important; }
html.si-db :is(.si-list-hd, .si-mode, .si-pins) { display: none !important; }
html.si-db .si-list-q:not(#_) { margin: 10px 12px; height: 28px; padding: 0 8px; border: 0; border-radius: 8px; box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring));
  background: var(--a-bg); font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); }
html.si-db .si-list-q::placeholder { color: var(--a-mute); }
html.si-db .si-list-scroll { border-top: 1px solid var(--a-line); }
html.si-db .si-list-tbl > tbody > tr > td { padding: 8px 10px !important; }
html.si-db .si-list-tbl tr.sel > td { background: var(--a-side-on, rgba(0,0,0,.04)) !important; box-shadow: none !important; }
html.si-db .si-list-tbl tr.sel .si-inv-link > span:last-child { font-weight: 500; }
html.si-db .si-id-row:not(.si-pane-head) { min-height: 72px; padding: 12px 20px !important; border-bottom: 1px solid var(--a-line) !important; }
html.si-db .si-id-row .text-\[15px\] { font: 600 18px/24px Inter, system-ui, sans-serif !important; letter-spacing: -0.2px; color: var(--a-ink) !important; }
html.si-db .si-id-row .si-id-sub { font: 500 13px/18px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
html.si-db .si-id-row img, html.si-db .si-id-row > div > :first-child { border-radius: 8px !important; }
html.si-db .si-id-row:not(.si-pane-head) .si-facts { display: none !important; }

@media (max-width: 900px) {
  html.si-da .si-pane[data-si-view="book"] { grid-template-columns: minmax(0, 1fr); }
  html.si-da .si-pane[data-si-view="book"] > :is(*, .sir-left) { grid-column: 1; grid-row: auto; }
  html.si-da .sir-left { border-right: 0; border-bottom: 1px solid var(--a-line); }
  html.si-db .si-layout { grid-template-columns: minmax(0, 1fr); }
  html.si-db .si-list { position: static; height: 300px; border-right: 0 !important; border-bottom: 1px solid var(--a-line) !important; }
}

/* A's table, the "premium" details (attio-style skill, Tables that feel premium): fills the width, heading ⌄ menus,
   a blue arrow + lavender tint on the sorted column, an Open button on row hover */
html.si-da .si-atbl-t { table-layout: fixed; min-width: 980px; }
html.si-da .si-atbl-t th:nth-child(1) { width: 24%; } html.si-da .si-atbl-t th:nth-child(2) { width: 26%; } html.si-da .si-atbl-t th:nth-child(3) { width: 14%; }
html.si-da .si-atbl-t th .si-thc { font-size: 11px; margin-left: 4px; color: var(--a-mute); opacity: 0; }
html.si-da .si-atbl-t th:hover { background: var(--a-hover) !important; }
html.si-da .si-atbl-t th:hover .si-thc { opacity: 1; }
html.si-da .si-atbl-t th.on::after { color: var(--a-blue, #266DF0); }
html.si-da .si-atbl-t th.on { background: #F7F7FD !important; }
html.si-da .si-atbl-t td.si-srt { background: #F7F7FD !important; }
html[data-theme="dark"].si-da .si-atbl-t :is(th.on, td.si-srt) { background: #16171F !important; }
html.si-da .si-atbl-t td:first-child { position: relative; }
html.si-da .si-atbl-t tr:hover td:first-child::after { content: "Open"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  height: 20px; padding: 0 6px; border-radius: 6px; background: var(--a-bg); box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring));
  font: 500 12px/20px Inter, system-ui, sans-serif; color: var(--a-label); }
/* Highlights: A = 4 cards in a row, B = 3 a row (6 cards); every label row the Period chip's height so values line up */
html.si-da .sir-hl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.si-db .sir-hl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.si-at-on .sir-card .l { height: 20px; }
html.si-at-on .sir-hold { container-type: inline-size; }
@container (max-width: 900px) { html.si-da .sir-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 640px) { html.si-db .sir-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* A: Record details stay put while the book scrolls (Attio's record page) */
html.si-da .si-pane[data-si-view="book"] > .sir-left { align-self: start; position: sticky; top: 0; height: calc(100vh - 97px); overflow-y: auto; }

/* holdings rows: logo + ticker pill + muted name; activity as tinted tags (premium checklist) */
html.si-at-on .si-hold-tbl td:first-child { max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.si-at-on .si-hold-tbl td:first-child > * { vertical-align: middle; }
html.si-at-on .si-hold-tbl .si-hold-iss { margin-left: 8px; }
html.si-at-on .sir-logo { display: inline-block; margin-right: 8px; width: 20px; height: 20px; border-radius: 6px; object-fit: contain; flex: none; box-shadow: 0 0 0 1px var(--a-line); background: #fff; }
html.si-at-on .sir-logo-l { display: inline-grid; place-items: center; background: var(--a-fill); color: var(--a-label); font: 600 10px/1 Inter, system-ui, sans-serif; }
html.si-at-on .si-hold-tbl td:first-child > a { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 6px; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--a-ring); font: 500 13px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
html.si-at-on .si-hold-tbl td:first-child > a:hover { background: var(--a-hover); }
html.si-at-on .si-hold-tbl .si-hold-dash { display: none; }
html.si-at-on .si-hold-tbl .si-hold-iss { overflow: hidden; text-overflow: ellipsis; }
html.si-at-on .si-hold-tbl td span:is(.text-emerald-300, .text-\[\#FF862E\], .text-\[\#A3B0F0\], .text-rose-300) {
  display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 7px; font: 500 13px/20px Inter, system-ui, sans-serif !important; }
html.si-at-on .si-hold-tbl td span.text-emerald-300 { background: #E0FCED; box-shadow: inset 0 0 0 1px #CBF7E1; color: #007D53 !important; }
html.si-at-on .si-hold-tbl td span.text-\[\#FF862E\] { background: #FFF3CC; box-shadow: inset 0 0 0 1px #FFE59E; color: #874D00 !important; }
html.si-at-on .si-hold-tbl td span.text-\[\#A3B0F0\] { background: #E5EEFF; box-shadow: inset 0 0 0 1px #D6E5FF; color: #1D4FC4 !important; }
html.si-at-on .si-hold-tbl td span.text-rose-300 { background: #FFEBEB; box-shadow: inset 0 0 0 1px #FFDCDB; color: #BA2525 !important; }
html[data-theme="dark"].si-at-on .si-hold-tbl td span.text-emerald-300 { background: #1D4034; box-shadow: inset 0 0 0 1px #244A3A; color: #A7F2CF !important; }
html[data-theme="dark"].si-at-on .si-hold-tbl td span.text-\[\#FF862E\] { background: #3A2D12; box-shadow: inset 0 0 0 1px #523817; color: #FFD269 !important; }
html[data-theme="dark"].si-at-on .si-hold-tbl td span.text-\[\#A3B0F0\] { background: #1D2E55; box-shadow: inset 0 0 0 1px #2B3E6D; color: #A9C4FF !important; }
html[data-theme="dark"].si-at-on .si-hold-tbl td span.text-rose-300 { background: #4E1B28; box-shadow: inset 0 0 0 1px #692623; color: #FFD1D1 !important; }
html.si-at-on .si-hold-tbl { width: 100%; }
/* B list: room for the 1Y pill */
html.si-db .si-list-tbl > thead > tr > th:nth-child(3) { width: 70px; }
html.si-db .si-list-tbl > thead > tr > th:nth-child(2) { width: 66px; }

/* cross-investor views: the view switcher already names the view, so the pane's title row goes; its facts stay as one
   quiet 48px line (Performance, Latest moves, Insider buys); the screens' one-line notes move into the tab tooltips */
html.si-at-on .si-pane:is([data-si-view="screens"]) .si-pane-head { display: none !important; }
html.si-at-on .si-pane:is([data-si-view="performance"], [data-si-view="moves"], [data-si-view="insiders"]) .si-pane-head > :first-child { display: none !important; }
html.si-at-on .si-pane-head { min-height: 48px; padding: 0 20px !important; border-bottom: 1px solid var(--a-line) !important; }
html.si-at-on .si-pane-head .si-pane-title { font: 600 18px/24px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
html.si-at-on .si-pane-head .si-pane-ic { display: none; }
html.si-at-on .si-pane-head .si-facts { gap: 20px !important; }
html.si-at-on .si-pane-head .si-facts > div { display: flex; align-items: baseline; gap: 6px; }
html.si-at-on .si-pane-head .si-facts dt { font: 500 12px/16px Inter, system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--a-label) !important; }
html.si-at-on .si-pane-head .si-facts dd { margin: 0; font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink); }
html.si-at-on .si-note { display: none !important; }
html.si-at-on .si-pane:not([data-si-view="book"]) > .p-4 { padding: 16px 20px 32px !important; }
html.si-at-on .si-pane:not([data-si-view="book"]) .border.rounded-md { border: 0 !important; border-radius: 12px !important; box-shadow: inset 0 0 0 1px var(--a-line); }
html.si-at-on .si-dd { height: 28px; padding: 0 8px; border: 0 !important; border-radius: 8px !important; background: var(--a-bg) !important; box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring)) !important;
  font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; display: inline-flex; align-items: center; gap: 6px; }
html.si-at-on .si-dd .k { color: var(--a-label); }
html.si-at-on .si-perf-box { border: 0 !important; border-radius: 12px !important; box-shadow: inset 0 0 0 1px var(--a-line); background: var(--a-bg) !important; }
/* Activity beside Record details: the pane is narrower, so the Portfolio value card becomes the strip above the table
   sooner (the table's Value column was cut at a ~1000px window) */
@container siact (max-width: 980px) {
  html.si-at-on .si-act-grid { grid-template-columns: minmax(0, 1fr); }
  html.si-at-on .si-act-side { order: -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 24px; align-items: end; }
  html.si-at-on .si-act-side .si-act-chart { height: 46px; margin-top: 0; }
  html.si-at-on .si-act-side .si-act-kv { display: none; }
  html.si-at-on .si-act-side .si-act-lock { grid-column: 1 / -1; }
}
html.si-at-on .si-act-q:not(#_) { height: 28px; border: 0; border-radius: 8px; background-color: var(--a-bg); box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring));
  font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); }

/* spacing pass (user, 2026-10-25: "also fix the spacing/margins", Activity tab): the insight callout no longer touches
   what follows; Portfolio value is a compact Attio card with Upgrade as a small button on its right; even 16px gaps */
html.si-at-on .si-insight { margin-bottom: 4px !important; }
html.si-at-on .si-act { margin-top: 16px; }
html.si-at-on .si-act-grid { gap: 16px !important; }
html.si-at-on .si-act-side { border: 0 !important; border-radius: 12px !important; box-shadow: inset 0 0 0 1px var(--a-line); padding: 12px !important; background: var(--a-bg); }
html.si-at-on .si-act-side h4 { margin: 0 0 4px !important; font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
html.si-at-on .si-act-big { font: 600 20px/24px Inter, system-ui, sans-serif !important; letter-spacing: -0.2px; color: var(--a-ink); }
html.si-at-on .si-act-meta { font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; margin-top: 2px; }
html.si-at-on .si-act-lock:not(#_) { display: inline-flex; align-items: center; gap: 4px; height: 28px; margin: 0; padding: 0 10px; border-radius: 8px;
  background: var(--a-bg) !important; box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring)); font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-label); }
html.si-at-on .si-act-lock b { font-weight: 500 !important; color: var(--a-blue, #266DF0) !important; }
html.si-at-on .si-act-lock:hover { background: var(--a-hover) !important; }
@container siact (max-width: 980px) {
  html.si-at-on .si-act-side { grid-template-columns: auto minmax(0, 1fr) auto !important; align-items: center !important; }
  html.si-at-on .si-act-side .si-act-lock { grid-column: 3 !important; }
}
html.si-at-on .si-act-bar { margin-bottom: 12px !important; }
html.si-at-on .si-act-sum { font: 500 13px/20px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
html.si-at-on .si-act-sum b { font-weight: 500 !important; }
html.si-at-on .si-act-box { border: 0 !important; border-radius: 12px !important; box-shadow: inset 0 0 0 1px var(--a-line); }
html.si-at-on .si-act-stk a, html.si-at-on .si-act-stk b { font-weight: 500 !important; }
html.si-at-on .si-act-stk img { border-radius: 6px !important; width: 20px !important; height: 20px !important; }

/* ══ A variants (user, 2026-10-25: "draft so i can see each") ══ */
/* the switch has six buttons now: let it scroll rather than push the search off */
.si-dsw { max-width: 100%; overflow-x: auto; scrollbar-width: none; flex: none; }
.si-dsw button { white-space: nowrap; }
/* A·compact: Attio's own 36px rows, 20px photos, more investors per screen */
html.si-da2 .si-atbl-n .si-avatar { width: 22px !important; height: 22px !important; }
html.si-da2 .si-atbl-t:not(#_):not(#_):not(#_) > tbody > tr > td { height: 34px; }
html.si-da2 .si-atbl-n { gap: 8px; }
/* A·grid: every investor as a tile (photo, name, fund, value + 1Y); the table hides */
.si-atgrid { display: none; }
html.si-da3 .si-atbl-t { display: none; }
html.si-da3 .si-atgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 8px; padding: 16px 20px 32px; }
html.si-da3 .si-atgrid > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 16px 10px 12px; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--a-line); background: var(--a-bg); cursor: pointer; min-width: 0; }
html.si-da3 .si-atgrid > div:hover { background: var(--a-hover); }
html.si-da3 .si-atgrid > div[hidden] { display: none; }
html.si-da3 .si-atgrid .si-avatar { width: 64px !important; height: 64px !important; border-radius: 50% !important; object-fit: cover; object-position: 50% 20%;
  box-shadow: 0 0 0 1px var(--a-line); margin-bottom: 8px; }
html.si-da3 .si-atgrid a { font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.si-da3 .si-atgrid .f { font: 500 12px/16px Inter, system-ui, sans-serif; color: var(--a-label); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.si-da3 .si-atgrid .m { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-ink); }
html.si-da3 .si-atgrid .m .si-atbl-stale { margin-left: 0; }
/* A·list: once open, the list column carries the photos at a readable size */
html.si-da1.si-db .si-list .si-avatar { width: 26px !important; height: 26px !important; border-radius: 50% !important; object-fit: cover; object-position: 50% 20%; }

/* draft picker = one quiet select (nine drafts); also visible on the Current page so you can come back */
html.si-d-cur .si-vrow.si-at:not(#_) { display: flex !important; }
.si-dsw select { height: 24px; padding: 0 22px 0 8px; border: 0; border-radius: 8px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background: var(--a-bg, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23727C94' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center;
  box-shadow: 0 1px 2px -1px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.06); font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-ink, #101112); }
html[data-theme="dark"] .si-dsw select { background-color: #1C2130; color: #F1F2F3; }

/* ══ B variants: the investor list on the left, as on the original page ══ */
.si-li-fund { display: none; }
/* B·people: two-line rows (photo, name, fund), photos 32px circles */
html.si-db1 .si-li-fund { display: block; font: 500 12px/16px Inter, system-ui, sans-serif; color: var(--a-label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.si-db1 .si-inv-link > span:last-child { display: flex; flex-direction: column; min-width: 0; }
html.si-db1 .si-list .si-avatar { width: 32px !important; height: 32px !important; border-radius: 50% !important; object-fit: cover; object-position: 50% 20%; flex: none; }
html.si-db1 .si-list .si-avatar-mono { font-size: 12px !important; }
html.si-db1 .si-list-tbl:not(#_):not(#_):not(#_) > tbody > tr > td { height: 52px; padding-top: 0 !important; padding-bottom: 0 !important; vertical-align: middle !important; }
html.si-db1 .si-inv-link { gap: 10px; }
html.si-db1 .si-layout { grid-template-columns: 320px minmax(0, 1fr); }
/* B·facts and B·original: the book facts back in the name row (label over value, as the original), so the Highlights
   lose the Portfolio value / Stocks cards */
html:is(.si-db2, .si-db3) .si-id-row:not(.si-pane-head) .si-facts:not(#_) { display: flex !important; gap: 28px !important; }
html:is(.si-db2, .si-db3) .si-id-row .si-facts dt { font: 500 12px/16px Inter, system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--a-label) !important; }
html:is(.si-db2, .si-db3) .si-id-row .si-facts dd { margin: 2px 0 0; font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
html:is(.si-db2, .si-db3) .sir-b { display: none; }
html:is(.si-db2, .si-db3) .si-id-sub .si-at { display: none !important; }
html.si-db2 .sir-hl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container (max-width: 860px) { html.si-db2 .sir-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* B·original: the original page's layout in Attio's skin — Investors | Stocks switch + Performance kept in the list,
   Sector exposure and Portfolio return side by side, Table | Pie as a segmented control; no view switcher */
html.si-db3 .si-list-hd:not(#_) { display: flex !important; padding: 12px 12px 8px; }
html.si-db3 .si-list-hd b { font: 600 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); }
html.si-db3 .si-list-hd span { font: 500 12px/16px Inter, system-ui, sans-serif; color: var(--a-label); }
html.si-db3 :is(.si-mode, .si-pins):not(#_) { display: flex !important; }
html.si-db3 .si-mode { margin: 0 12px 6px; padding: 2px; height: 28px; border-radius: 10px; background: rgba(0,0,0,.04); border: 0 !important; gap: 2px; }
html[data-theme="dark"].si-db3 .si-mode { background: rgba(255,255,255,.06); }
html.si-db3 .si-mode a { flex: 1; display: grid; place-items: center; height: 24px; border-radius: 8px; font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-label); text-decoration: none; background: none !important; box-shadow: none !important; }
html.si-db3 .si-mode a.is-on { background: var(--a-bg) !important; color: var(--a-ink); box-shadow: 0 1px 2px -1px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.06) !important; }
html.si-db3 .si-pins { flex-direction: column; padding: 0 8px; }
html.si-db3 .si-pin { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 8px; font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); text-decoration: none; }
html.si-db3 .si-pin:hover { background: var(--a-hover); } html.si-db3 .si-pin.sel { background: var(--a-side-on, rgba(0,0,0,.04)); box-shadow: none; }
html.si-db3 .si-pin em { margin-left: auto; font: 500 12px/16px Inter, system-ui, sans-serif; font-style: normal; color: var(--a-mute); }
html.si-db3 #si-vbtn { display: none; }
html.si-db3 :is(.sir-h-hl, .sir-hl, .sir-sector) { display: none !important; }
html.si-db3 .si-top-grid:not(#_) { display: grid !important; grid-template-columns: minmax(0, 1fr) 260px; gap: 8px; margin: 16px 0 0; }
html.si-db3 .si-top-grid > :is(.si-card, .si-ret) { border: 0 !important; border-radius: 12px !important; box-shadow: inset 0 0 0 1px var(--a-line) !important; background: var(--a-bg) !important; padding: 12px !important; }
html.si-db3 .si-top-grid .si-chart-title, html.si-db3 .si-ret-title { font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; text-transform: none !important; letter-spacing: 0 !important; }
html.si-db3 .si-top-grid .text-xs { font: 500 13px/20px Inter, system-ui, sans-serif !important; }
html.si-db3 .si-top-grid .text-white\/70 { color: var(--a-ink) !important; }
html.si-db3 .retb-seg { border-radius: 10px !important; background: rgba(0,0,0,.04) !important; border: 0 !important; padding: 2px !important; }
html.si-db3 .retb-seg button { border-radius: 8px !important; font: 500 12px/16px Inter, system-ui, sans-serif !important; }
html.si-db3 .retb-seg button.is-on { background: var(--a-bg) !important; box-shadow: 0 1px 2px -1px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.06) !important; }
html.si-db3 .retb-val { font: 600 24px/28px Inter, system-ui, sans-serif !important; }
html.si-db3 .si-view-switch:not(#_) { display: inline-flex !important; height: 28px; padding: 2px; gap: 2px; border-radius: 10px; background: rgba(0,0,0,.04); border: 0 !important; }
html.si-db3 .si-view-switch button { height: 24px; padding: 0 10px; border: 0 !important; border-radius: 8px; background: none !important; font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-label); }
html.si-db3 .si-view-switch button.is-on { background: var(--a-bg) !important; color: var(--a-ink); box-shadow: 0 1px 2px -1px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.06); }
html.si-db3 #si-vset { display: none !important; }
html.si-db3 .si-pane[data-si-view="book"] > .px-4.pt-3:not(#_) { display: block; padding: 12px 20px 0 !important; }
html.si-db3 .si-pane[data-si-view="book"] > .px-4.pt-3 p { font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
@container (max-width: 700px) { html.si-db3 .si-top-grid:not(#_) { grid-template-columns: minmax(0, 1fr); } }
/* B·original: no Highlights block at all (its Holdings heading sat above the cards); 16px between cards and table */
html.si-db3 .sir-hold { display: none !important; }
html.si-db3 .si-top-grid:not(#_) { margin-bottom: 16px; }

/* denser investor list (user, 2026-10-25: "the list isn't dense enough"): 28px rows, 13px type, 18px photos, a 30px
   header; B·people 40px two-line rows with 28px photos */
html.si-db .si-list-tbl:not(#_):not(#_):not(#_) > tbody > tr > td { height: 28px; padding: 0 8px !important; vertical-align: middle !important;
  font: 500 13px/18px Inter, system-ui, sans-serif !important; }
html.si-db .si-list-tbl:not(#_):not(#_):not(#_) > tbody > tr > td:first-child { padding-left: 12px !important; }
html.si-db .si-list-tbl:not(#_):not(#_):not(#_) > thead > tr > th { height: 30px; padding-top: 0 !important; padding-bottom: 0 !important;
  font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
html.si-db .si-list-tbl:not(#_):not(#_):not(#_) > thead > tr > th:first-child { padding-left: 12px !important; }
html.si-db .si-list .si-avatar { width: 18px !important; height: 18px !important; border-radius: 50% !important; object-fit: cover; object-position: 50% 20%; }
html.si-db .si-inv-link { gap: 8px; }
html.si-db .si-list-tbl :is(.tb-pos, .tb-neg) { padding: 0 4px !important; font-size: 12px !important; }
html.si-db .si-list-q:not(#_) { margin: 8px 12px; }
html.si-db1 .si-list-tbl:not(#_):not(#_):not(#_) > tbody > tr > td { height: 40px; }
html.si-db1 .si-list .si-avatar { width: 28px !important; height: 28px !important; }
html.si-db1 .si-li-fund { font-size: 11.5px; line-height: 14px; }
html.si-da1.si-db .si-list .si-avatar { width: 18px !important; height: 18px !important; }

/* holdings: no blank last column (user, 2026-10-25) — its two hover icons (↗ deep dive, ◎ who else holds) float at
   the row's right end instead, over the Value cell, as Attio's row-hover buttons do */
html.si-at-on .si-hold-tbl > thead > tr > th:last-child:empty, html.si-at-on .si-hold-tbl > thead > tr > th[style*="width:96px"] { display: none; }
html.si-at-on .si-hold-tbl > tbody > tr { position: relative; }
html.si-at-on .si-hold-tbl > tbody > tr > td:last-child:has(.row-acts), html.si-at-on .si-hold-tbl > tbody > tr > td:last-child:empty { display: none; }
html.si-at-on .si-hold-tbl > tbody > tr > td:last-child:has(.row-acts) .row-acts { display: none; }
html.si-at-on .si-hold-tbl > tbody > tr > td:first-child { position: relative; padding-right: 64px !important; }
html.si-at-on .si-hold-tbl .si-rowacts { display: none; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); gap: 4px; }
html.si-at-on .si-hold-tbl > tbody > tr:hover .si-rowacts { display: inline-flex; }
html.si-at-on .si-hold-tbl > tbody > tr:has(:focus-visible) .si-rowacts { display: inline-flex; }   /* own rule: no :has() support drops the whole list */
html.si-at-on .si-hold-tbl .row-act { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--a-bg); text-decoration: none;
  box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring)); font: 500 12px/1 Inter, system-ui, sans-serif; color: var(--a-label); opacity: 1 !important; }
html.si-at-on .si-hold-tbl .row-act:hover { background: var(--a-hover); color: var(--a-ink); }

/* ── round 5 (user, 2026-10-25, on B·original) ── */
/* "get rid of this on the holdings view": no blurb, no insight callout on Holdings (Activity keeps the callout) */
html.si-at-on .si-pane[data-si-view="book"]:has(#holdings-rows) .si-insight { display: none !important; }
html.si-at-on .si-pane[data-si-view="book"]:has(#holdings-rows) > .px-4.pt-3:not(#_):not(#_) { display: none !important; }
html.si-at-on .si-pane[data-si-view="book"]:has(#holdings-rows) .si-top-grid:not(#_):not(#_) { margin-top: 4px; }
html.si-at-on .si-pane[data-si-view="book"]:has(#holdings-rows) .sir-hold > .sir-h:first-child { margin-top: 4px; }

/* ══ settings in the bars above (user, 2026-10-25, Attio Companies header as the reference) ══
   view row: Investors ▾ · View settings ▾ … search · draft;  sort / filter row: Sorted by · | · Filter · Return over /
   Quarter. Their old homes inside the content go: View settings / Table | Pie in the tab row, the Return card's period
   chip and 1Q…3Y switch, the Activity quarter select. */
html.si-at-on .si-srow:not([hidden]) { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border-bottom: 1px solid var(--a-line); }
html.si-at-on .si-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 6px; border: 0; border-radius: 8px; cursor: pointer; white-space: nowrap;
  background: var(--a-bg); box-shadow: inset 0 0 0 1px var(--a-ring, #E6E7EA); font: 500 14px/20px Inter, system-ui, sans-serif; letter-spacing: -0.07px; color: var(--a-ink); }
html.si-at-on .si-chip:hover { background: var(--a-hover); }
html.si-at-on .si-chip i { font-size: 15px; color: var(--a-mute); }
html.si-at-on .si-chip .si-cd { font-size: 12px; margin-left: -2px; }
html.si-at-on .si-chip .k { color: var(--a-label); }
html.si-at-on .si-chip b { font-weight: 500; color: var(--a-ink); }
html.si-at-on .si-chip.is-faint { box-shadow: none; background: var(--a-fill, rgba(0,0,0,.02)); outline: 1px dashed rgba(0,0,0,.08); outline-offset: -1px; color: var(--a-mute); }
html[data-theme="dark"].si-at-on .si-chip.is-faint { outline-color: rgba(255,255,255,.12); }
html.si-at-on .si-chip.is-filter { background: rgba(38,109,240,.08); box-shadow: none; color: var(--a-blue, #266DF0); }
html.si-at-on .si-chip.is-filter :is(.k, b, i) { color: var(--a-blue, #266DF0); }
html.si-at-on .si-chip.is-filter .k { opacity: .75; }
html.si-at-on .si-sep { width: 1px; height: 20px; background: var(--a-line); margin: 0 2px; }
html.si-at-on #si-vset2[hidden] { display: none !important; }
/* gone from the content now that the bars hold them */
html.si-at-on #si-vset, html.si-at-on .si-view-switch:not(#_):not(#_), html.si-at-on .sir-per, html.si-at-on .retb-seg:not(#_):not(#_), html.si-at-on .si-act-q:not(#_) { display: none !important; }
html.si-at-on .si-subtab-tools:empty { display: none; }
/* the Return card's label line keeps the window in words now its chip has moved up */
html.si-at-on .sir-ret .l::after { content: ""; }
/* the List view (A·list) and B list column keep their height under the extra row */
/* stuck under the 49px page bar and down to the bottom tab bar (34px): sized for its starting spot (100vh − 145px)
   it ended in a fade with a blank band below once the page scrolled, its search hidden under the bar (user, 2026-10-26) */
html.si-db .si-list { top: 49px; max-height: calc(100vh - 49px); height: calc(100vh - 49px); }
html.at-btabs.si-db .si-list { max-height: calc(100vh - 83px); height: calc(100vh - 83px); }
html.si-da .si-atbl { max-height: calc(100vh - 145px); }
html.si-da .si-pane[data-si-view="book"] > .sir-left { height: calc(100vh - 145px); }

/* ── round 7 (user, 2026-10-25) ── */
/* the blue button, top right of the view row (Attio's "+ New Company" spot); the search sits left of it */
html.si-at-on .si-addwl:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 6px; border-radius: 8px; }
html.si-at-on .si-addwl[hidden] { display: none !important; }
html.si-at-on .si-vrow > .si-addwl { order: 9; }
html.si-at-on .si-vrow > .si-dsw { order: 10; }
/* B list: just the investors (Book and 1Y gone, user: "get rid of book and year column"), no heading row; the search
   block is the investor name row's height so their rules line up ("I don't like how there isn't alignment") */
html.si-db .si-list-tbl > thead { display: none; }
html.si-db .si-list-tbl > tbody > tr > td:nth-child(n+2) { display: none; }
html.si-db .si-list-q:not(#_):not(#_) { flex: none; box-sizing: border-box; height: 64px; margin: 0; padding: 0 12px 0 34px; border: 0; border-radius: 0; box-shadow: none;
  border-bottom: 1px solid var(--a-line); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23898A8E' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center; }
html.si-db .si-list-q:focus:not(#_):not(#_) { background-color: var(--a-fill); }
html.si-db .si-list-scroll { border-top: 0 !important; }
html.si-db .si-id-row:not(.si-pane-head):not(#_) { box-sizing: border-box; height: 64px; min-height: 0; padding-top: 0 !important; padding-bottom: 0 !important; }
html.si-db .si-pane-head:not(#_) { box-sizing: border-box; height: 64px; min-height: 0; }
html.si-db .si-list-tbl:not(#_):not(#_):not(#_) > tbody > tr > td:first-child { padding-left: 12px !important; padding-right: 12px !important; }
/* B·original keeps its list heading block above, so its search drops to a normal row */
html.si-db3 .si-list-q:not(#_):not(#_) { height: 40px; }
/* blue, not the Mint theme's green primary (user asked for blue: "think of some button to put in blue as it looks nice") */
html.si-at-on main .si-addwl.at-btn.at-pri:not(#_):not(#_):not(#_) { background: #266DF0 !important; color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 4px -2px rgba(38,109,240,.12), 0 3px 6px -2px rgba(38,109,240,.08) !important; }
html.si-at-on main .si-addwl.at-btn.at-pri:not(#_):not(#_):not(#_):hover { background: #215BC4 !important; }
html.si-at-on main .si-addwl i { color: #fff !important; }

/* ── round 8 (user, 2026-10-25) ── */
/* search "super ugly": Attio's search box (28px, r8, soft ring), centred in the 64px row that lines up with the name row */
html.si-db .si-list-q:not(#_):not(#_) { height: 28px; margin: 18px 12px; width: calc(100% - 24px); padding: 0 8px 0 30px; border: 0; border-radius: 8px;
  box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring)); background-color: var(--a-bg); background-position: 9px center;
  font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); }
html.si-db .si-list-q:not(#_):not(#_)::placeholder { color: var(--a-mute); }
html.si-db .si-list:has(.si-list-q) .si-list-scroll { border-top: 1px solid var(--a-line) !important; }
html.si-db3 .si-list-q:not(#_):not(#_) { margin: 8px 12px; }
/* "this bar should be thin": the list's scrollbar */
html.si-at-on .si-list-scroll { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.14) transparent; }
html[data-theme="dark"].si-at-on .si-list-scroll { scrollbar-color: rgba(255,255,255,.16) transparent; }
html.si-at-on .si-list-scroll::-webkit-scrollbar { width: 6px; }
html.si-at-on .si-list-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.14); border-radius: 999px; }
/* "takes up too much space, the focus should be on the portfolio holdings": no Highlights cards — Portfolio value,
   Stocks, Return, Period, Filed sit in the name row (B) / Record details (A); sectors shrink to one thin bar + one line */
html.si-at-on :is(.sir-h-hl, .sir-hl) { display: none !important; }
html.si-db .si-id-row:not(.si-pane-head) .si-facts:not(#_):not(#_) { display: flex !important; gap: 24px !important; }
html.si-db .si-id-row .si-facts dt { font: 500 12px/16px Inter, system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--a-label) !important; }
html.si-db .si-id-row .si-facts dd { margin: 2px 0 0; font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; white-space: nowrap; }
html.si-at-on .si-ret-w { font-size: 12px; color: var(--a-mute); }
html.si-db .si-id-sub .si-at { display: none !important; }
html.si-at-on .sir-sector .sir-h { display: none; }
html.si-at-on .sir-sector .sir-box { box-shadow: none !important; background: none !important; padding: 16px 0 4px; }
html.si-at-on .sir-sec-bar { height: 6px; margin-bottom: 8px; }
html.si-at-on .sir-sec-leg { display: flex !important; flex-wrap: nowrap; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
html.si-at-on .sir-sec-leg div { flex: none; min-height: 20px; font-size: 12px; color: var(--a-label); }
html.si-at-on .sir-sec-leg b { margin-left: 2px; font-size: 12px; color: var(--a-ink); }
html.si-at-on .sir-hold > .sir-h:not(.sir-h-hl) { margin: 12px 0 8px; padding: 0; }

/* holdings "should look like this table" (the Screener's screens list): edge to edge (no box), tick boxes, a 20px logo
   + the company name, the ticker as an outlined pill in its own column, tinted activity tags, plain figures,
   38px heading row in grey, 36px rows, Attio's grid lines */
html.si-at-on #hold-table-wrap { margin: 0 -20px; }
html.si-at-on #hold-table-wrap > div:not(#_) { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--a-bg) !important;
  border-top: 1px solid var(--a-line) !important; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) { table-layout: auto; min-width: 760px; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > thead > tr > th { height: 38px; padding: 0 12px !important; font: 500 14px/20px Inter, system-ui, sans-serif !important;
  color: var(--a-mute) !important; background: var(--a-bg) !important; white-space: nowrap; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > tbody > tr > td { height: 36px; padding: 0 12px !important; vertical-align: middle !important;
  font: 500 14px/20px Inter, system-ui, sans-serif !important; white-space: nowrap; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td).si-ckc { width: 40px; padding: 0 0 0 16px !important; }
html.si-at-on .si-hold-tbl > tbody > tr > td.si-ckc + td { padding-left: 8px !important; }
html.si-at-on .si-hold-tbl > thead > tr > th.si-ckc + th { padding-left: 8px !important; }
html.si-at-on .si-ck { width: 16px; height: 16px; padding: 0; border: 0; border-radius: 5px; cursor: pointer; display: inline-grid; place-items: center; vertical-align: middle;
  background: var(--a-bg); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
html[data-theme="dark"].si-at-on .si-ck { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
html.si-at-on :is(tr.is-ck .si-ck, .si-ck.on, .si-ck.some) { background: var(--a-blue, #266DF0); box-shadow: none; }
html.si-at-on :is(tr.is-ck .si-ck, .si-ck.on)::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
html.si-at-on .si-ck.some::after { content: ""; width: 8px; height: 2px; background: #fff; border-radius: 1px; }
html.si-at-on .si-hold-tbl > tbody > tr.is-ck > td { background: rgba(38,109,240,.05) !important; }
/* phones: no tick column on Stock screens / Activity (2026-10-31; the holdings one goes in aiq-phone-people.css) */
@media (max-width: 767px) { html.aiq-phone :is(.si-act-tbl, .si-scr-tbl) :is(th, td).si-ckc:not(#_):not(#_):not(#_):not(#_):not(#_) { display: none !important; } }
/* the Stock cell: logo + name; the old ticker link and " — issuer" go */
html.si-at-on .si-hold-tbl td > a.font-semibold, html.si-at-on .si-hold-tbl td > .si-hold-iss { display: none !important; }
html.si-at-on .si-hold-tbl .sir-logo:not(#_) { width: 20px; height: 20px; border-radius: 6px; margin-right: 8px; box-shadow: none; background: transparent; vertical-align: middle; }
html.si-at-on .si-hold-tbl .si-hold-nm { color: var(--a-ink) !important; text-decoration: none; vertical-align: middle; max-width: 260px; display: inline-block; overflow: hidden; text-overflow: ellipsis; }
html.si-at-on .si-hold-tbl .si-hold-nm:hover { text-decoration: underline; text-decoration-color: rgba(0,0,0,.2); text-underline-offset: 2px; }
html.si-at-on .si-tkp { height: 22px !important; font: 500 12px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
/* activity: tinted tags, no ring (the Screener's criteria chips) */
html.si-at-on .si-hold-tbl td span:is(.text-emerald-300, .text-\[\#FF862E\], .text-\[\#A3B0F0\], .text-rose-300):not(#_) {
  display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 6px; box-shadow: none !important; font: 500 12px/16px Inter, system-ui, sans-serif !important; }
html.si-at-on .si-hold-tbl td span.text-emerald-300:not(#_) { background: rgba(67,209,167,.14); color: #12946B !important; }
html.si-at-on .si-hold-tbl td span.text-\[\#FF862E\]:not(#_) { background: rgba(255,170,40,.14); color: #B7700C !important; }
html.si-at-on .si-hold-tbl td span.text-\[\#A3B0F0\]:not(#_) { background: rgba(69,93,220,.10); color: #3550D0 !important; }
html.si-at-on .si-hold-tbl td span.text-rose-300:not(#_) { background: rgba(247,52,99,.10); color: #C8203F !important; }
html.si-at-on .si-hold-tbl .si-thf { color: var(--a-mute) !important; }
/* the tab already says "Holdings 29": no second heading over the table */
html.si-at-on .sir-hold > .sir-h:not(.sir-h-hl) { display: none !important; }
html.si-at-on .sir-sector .sir-box { padding: 14px 0 12px !important; }
/* the tick column is first now: the hover icons belong to the Stock cell */
html.si-at-on .si-hold-tbl > tbody > tr > td.si-ckc + td { position: relative; padding-right: 60px !important; }

/* ── round 9 (user, 2026-10-25: "no thick line and ensure there is a fade instead of hard cutoff for the list") ── */
/* one 1px rule between the list and the book: the holdings table's first cell drops its own left line, and the list's
   scrollbar only shows while the pointer is over it (it read as a second, thicker line) */
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):first-child { border-left: 0 !important; box-shadow: none !important; }
html.si-at-on .si-list-scroll { scrollbar-width: none; }
html.si-at-on .si-list-scroll::-webkit-scrollbar { width: 0; }
html.si-at-on .si-list-scroll:hover { scrollbar-width: thin; }
html.si-at-on .si-list-scroll:hover::-webkit-scrollbar { width: 6px; }
/* fades instead of a sliced row: bottom always (until the end), top once scrolled — js/si-attio-drafts.js sets the classes */
html.si-at-on .si-list-scroll { --fd-t: 0px; --fd-b: 40px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fd-t), #000 calc(100% - var(--fd-b)), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fd-t), #000 calc(100% - var(--fd-b)), transparent 100%); }
html.si-at-on .si-list-scroll.is-scrolled { --fd-t: 28px; }
html.si-at-on .si-list-scroll.at-end { --fd-b: 0px; }

/* closer to the Screener's list (user, 2026-10-25: "try to get a closer match to the screener table") — values read from
   the live .sch-tbl: 40px heading row in ink (not grey), 36px rows padded 8px 12px 0, a 1px #EEEFF1 line right of
   every column except the tick column (tick + name read as one), tick column padding 0 0 0 16px and the name 8px in,
   ticker pill 22px transparent with a #E6E7EA ring, tags 20px tinted with ink text */
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > thead > tr > th { height: 40px; color: var(--a-ink) !important; border-bottom: 1px solid var(--a-line) !important;
  border-right: 1px solid var(--a-line) !important; padding: 0 12px !important; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > tbody > tr > td { height: 36px; padding: 0 12px !important; border-bottom: 1px solid var(--a-line) !important;
  border-right: 1px solid var(--a-line) !important; color: var(--a-ink) !important; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td).si-ckc { width: 24px; padding: 0 0 0 16px !important; border-right: 0 !important; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td).si-ckc + :is(th, td) { padding-left: 8px !important; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):last-child { border-right: 0 !important; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > tbody > tr > td:nth-child(n) { background: var(--a-bg) !important; }
html.si-at-on .si-hold-tbl:not(#_):not(#_):not(#_) > tbody > tr.is-ck > td { background: rgba(38,109,240,.05) !important; }
html.si-at-on .si-hold-tbl .si-thf { color: var(--a-ink) !important; }
html.si-at-on .si-hold-tbl > tbody > tr > td:nth-child(7) { color: var(--a-ink) !important; }
html.si-at-on .si-ck { border-radius: 4px; box-shadow: inset 0 0 0 1px #E6E7EA; }
html[data-theme="dark"].si-at-on .si-ck { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
html.si-at-on .si-tkp:not(#_) { height: 22px !important; padding: 0 7px !important; border-radius: 6px !important; background: transparent !important;
  box-shadow: inset 0 0 0 1px #E6E7EA !important; font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
html[data-theme="dark"].si-at-on .si-tkp:not(#_) { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14) !important; }
html.si-at-on .si-hold-tbl td span:is(.text-emerald-300, .text-\[\#FF862E\], .text-\[\#A3B0F0\], .text-rose-300):not(#_):not(#_) { height: 20px; color: var(--a-ink) !important; }
/* "this line should be thin": the list's scrollbar track drew a 4px grey strip beside the 1px rule — no scrollbar at
   all now (the fade says the list goes on), and the rows run to the rule */
html.si-at-on .si-list-scroll:not(#_), html.si-at-on .si-list-scroll:hover:not(#_) { scrollbar-width: none !important; scrollbar-gutter: auto; }
html.si-at-on .si-list-scroll::-webkit-scrollbar, html.si-at-on .si-list-scroll:hover::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none; }
html.si-at-on .si-list-tbl { width: 100% !important; }
/* …it was two 1px lines: each list cell's own right grid line sat against the list's edge */
html.si-at-on .si-list-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td) { border-right: 0 !important; }

/* ── round 11 (user, 2026-10-25) ── */
/* "this part is still too large": search row and name row both 48px (still level) */
html.si-db .si-list-q:not(#_):not(#_) { margin: 10px 12px; }
html.si-db .si-id-row:not(.si-pane-head):not(#_) { height: 48px; padding-left: 16px !important; padding-right: 16px !important; }
html.si-db .si-pane-head:not(#_) { height: 48px; }
html.si-db .si-id-row:not(.si-pane-head) .text-\[15px\]:not(#_) { font: 600 16px/20px Inter, system-ui, sans-serif !important; }
html.si-db .si-id-row:not(.si-pane-head) .si-id-sub:not(#_) { font: 500 12px/16px Inter, system-ui, sans-serif !important; }
html.si-db .si-id-row:not(.si-pane-head) :is(img, .si-avatar):not(#_) { width: 30px !important; height: 30px !important; }
html.si-db .si-id-row .si-facts dt:not(#_) { font-size: 11px !important; line-height: 14px !important; }
html.si-db .si-id-row .si-facts dd:not(#_) { margin-top: 1px; font-size: 13px !important; line-height: 18px !important; }
/* pie view: no card — two donuts side by side on the page, each with its legend beside it (js restyles the charts) */
html.si-at-on #hold-pie-wrap > div:not(#_):not(#_) { border: 0 !important; box-shadow: none !important; background: none !important; padding: 8px 0 0 !important; margin: 0 !important; border-radius: 0 !important; }
html.si-at-on .si-pie-box { container-type: inline-size; }
html.si-at-on .si-pie-grid:not(#_) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@container (min-width: 760px) { html.si-at-on .si-pie-grid:not(#_) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.si-at-on .si-pie-grid > div + div { border-left: 1px solid var(--a-line); padding-left: 20px; } }
html.si-at-on .si-pie-grid .si-chart-title:not(#_) { margin: 0 0 4px; font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-label) !important;
  text-transform: none !important; letter-spacing: 0 !important; }
html.si-at-on :is(#pie-positions, #pie-sectors):not(#_) { height: 300px !important; }
/* Insider buys is out of the drafts' navigation (user kept Performance, Stock screens, Latest moves) */
html.si-at-on .si-pin[data-pin="insiders"] { display: none !important; }

/* ── round 12 (user, 2026-10-25) ── */
/* Return in the header only means something on Holdings (the return windows are loaded there) */
html.si-at-on .si-pane[data-si-view="book"]:not(:has(#holdings-rows)) :is(.si-facts > div, .cgr-attrs > div):has(.si-ret-fact) { display: none !important; }

/* Activity: "get rid of portfolio value chart and stylize table" — no side card, no summary line (the group headings
   carry the counts; the quarter is in the bar above), the table as Holdings / the Screener list */
html.si-at-on :is(.si-act-side, .si-act-sum) { display: none !important; }
html.si-at-on .si-act-bar:not(#_) { display: none !important; }
html.si-at-on .si-act-grid:not(#_) { display: block !important; }
html.si-at-on .si-act { margin-top: 16px; }
html.si-at-on .si-act-box:not(#_):not(#_) { margin: 0 -20px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; border-top: 1px solid var(--a-line) !important; }
html.si-at-on .si-act-tbl:not(#_):not(#_):not(#_) { width: 100%; min-width: 640px; background: var(--a-bg) !important; }
html.si-at-on .si-act-tbl:not(#_):not(#_):not(#_) > thead > tr > th { height: 40px; padding: 0 12px !important; font: 500 14px/20px Inter, system-ui, sans-serif !important;
  color: var(--a-ink) !important; background: var(--a-bg) !important; border-bottom: 1px solid var(--a-line) !important; border-right: 1px solid var(--a-line) !important; }
html.si-at-on .si-act-tbl:not(#_):not(#_):not(#_) > tbody > tr > td { height: 36px; padding: 0 12px !important; vertical-align: middle !important;
  font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink); background: var(--a-bg) !important;
  border-bottom: 1px solid var(--a-line) !important; border-right: 1px solid var(--a-line) !important; }
html.si-at-on .si-act-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):first-child { padding-left: 16px !important; border-left: 0 !important; }
html.si-at-on .si-act-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):last-child { border-right: 0 !important; }
/* group rows = Attio's group band: 32px, faint fill, grey label + count pill */
html.si-at-on .si-act-tbl:not(#_):not(#_):not(#_) tr.si-act-grp > th { height: 32px; padding: 0 16px !important; background: rgba(0,0,0,.02) !important;
  font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; text-align: left; border-right: 0 !important; border-bottom: 1px solid var(--a-line) !important; }
html[data-theme="dark"].si-at-on .si-act-tbl:not(#_):not(#_):not(#_) tr.si-act-grp > th { background: rgba(255,255,255,.03) !important; }
html.si-at-on .si-act-grp span { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 6px; border-radius: 4px;
  background: rgba(0,0,0,.04); box-shadow: inset 0 0 0 1px var(--a-line); font: 500 11px/16px Inter, system-ui, sans-serif; color: #505155; }
/* stock cell: logo, company name in ink, ticker as an outlined pill after it */
html.si-at-on .si-act-stk { gap: 8px !important; }
html.si-at-on .si-act-stk img:not(#_), html.si-at-on .si-act-stk .ticker-letter { order: 0; width: 20px !important; height: 20px !important; border-radius: 6px !important; background: transparent; }
html.si-at-on .si-act-stk small:not(#_) { order: 1; font: 500 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
html.si-at-on .si-act-stk :is(a, b):not(#_) { order: 2; flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px #E6E7EA; font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; text-decoration: none; }
html[data-theme="dark"].si-at-on .si-act-stk :is(a, b):not(#_) { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

/* Analytics: "redo in the Attio theme … way too much text" — the explanatory sentences, card subtitles, footnotes and
   the insight callout go; cards = Attio widgets (r12, 1px ring, no shadow, 14/600 title); key-value rows grey label /
   ink value; the weighting switch = Attio's segmented control */
html.si-at-on .si-pane[data-si-view="book"]:has(.si-analytics) .si-insight { display: none !important; }
html.si-at-on .si-analytics :is(.sty-read, .sty-h > span, .pf-muted, .pf-note, .pf-ct > .r):not(#_) { display: none !important; }
html.si-at-on .si-analytics { padding-top: 8px; font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--a-ink); }
html.si-at-on .si-analytics .sty-h:not(#_) { display: flex; align-items: center; height: 44px; margin: 0 0 4px; }
html.si-at-on .si-analytics .sty-h h3:not(#_) { margin: 0; font: 600 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
html.si-at-on .si-analytics .sty-sep:not(#_) { height: 1px; margin: 20px -20px 8px; background: var(--a-line); border: 0; }
html.si-at-on .si-analytics :is(.sty-grid, .pf-grid):not(#_) { gap: 12px !important; margin-bottom: 12px !important; }
html.si-at-on .si-analytics .pf-card:not(#_):not(#_) { background: var(--a-bg) !important; border: 0 !important; border-radius: 12px !important;
  box-shadow: inset 0 0 0 1px var(--a-line) !important; padding: 12px 16px !important; }
html[data-theme="dark"].si-at-on .si-analytics .pf-card:not(#_):not(#_) { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important; }
html.si-at-on .si-analytics .pf-ct:not(#_) { margin: 0 0 12px !important; font: 600 14px/20px Inter, system-ui, sans-serif !important; color: var(--a-ink) !important; }
html.si-at-on .si-analytics .sty-big:not(#_) { margin: 0 0 12px; }
html.si-at-on .si-analytics .sty-big b:not(#_) { font: 600 24px/28px Inter, system-ui, sans-serif !important; letter-spacing: -0.3px; color: var(--a-ink); }
html.si-at-on .si-analytics .sty-big span:not(#_) { font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
html.si-at-on .si-analytics .sty-kv:not(#_) { row-gap: 8px !important; font: 500 13px/18px Inter, system-ui, sans-serif !important; }
html.si-at-on .si-analytics .sty-kv > span:not(.n):not(#_) { color: var(--a-label) !important; }
html.si-at-on .si-analytics .sty-kv .n:not(#_) { color: var(--a-ink) !important; font-weight: 500 !important; }
html.si-at-on .si-analytics .pf-tipd:not(#_) { text-decoration: none !important; border-bottom: 0 !important; cursor: help; }
html.si-at-on .si-analytics .f:not(#_) { color: var(--a-mute) !important; }
html.si-at-on .si-analytics :is(.pf-leg, .pf-ax):not(#_) { font: 500 12px/16px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
html.si-at-on .si-analytics .pf-stack:not(#_) { height: 6px; border-radius: 999px; overflow: hidden; gap: 2px; }
/* tables inside the widgets: Attio's list style (12/500 grey heads, ink values, no bold) */
html.si-at-on .si-analytics .aiq-tbl:not(#_):not(#_):not(#_) :is(th, td) { font: 500 13px/18px Inter, system-ui, sans-serif !important; border-left: 0 !important; border-right: 0 !important; background: transparent !important; }
html.si-at-on .si-analytics .aiq-tbl:not(#_):not(#_):not(#_) th { font-size: 12px !important; color: var(--a-label) !important; }
html.si-at-on .si-analytics .aiq-tbl :is(b, strong):not(#_) { font-weight: 500 !important; }
/* the Portfolio / Equal / Market-cap weight switch */
html.si-at-on .si-analytics #pf-weight:not(#_) { display: inline-flex; height: 28px; padding: 2px; gap: 2px; border: 0 !important; border-radius: 10px !important; background: rgba(0,0,0,.04) !important; }
html[data-theme="dark"].si-at-on .si-analytics #pf-weight:not(#_) { background: rgba(255,255,255,.06) !important; }
html.si-at-on .si-analytics #pf-weight button:not(#_) { height: 24px; padding: 0 10px; border: 0 !important; border-radius: 8px !important; background: none !important; box-shadow: none !important;
  font: 500 13px/20px Inter, system-ui, sans-serif !important; color: var(--a-label) !important; }
html.si-at-on .si-analytics #pf-weight button.on:not(#_) { background: var(--a-bg) !important; color: var(--a-ink) !important; box-shadow: 0 1px 2px -1px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.06) !important; }
html.si-at-on .si-analytics .pf-bar:not(#_) { margin: 0 0 12px; }
html.si-at-on .si-analytics .sty-more:not(#_) { height: 28px; padding: 0 10px; border: 0; border-radius: 8px; box-shadow: var(--a-btn, inset 0 0 0 1px var(--a-ring)); background: var(--a-bg);
  font: 500 13px/20px Inter, system-ui, sans-serif; color: var(--a-ink); margin-top: 8px; }
html.si-at-on .si-act-tbl:not(#_):not(#_):not(#_) tr.si-act-grp > th { vertical-align: middle !important; line-height: 16px !important; }

/* ── round 13 (user, 2026-10-26: "make this table more interesting") ── Activity: each group has its colour (New blue,
   Added green, Reduced orange, Sold red, the Holdings tags' tones) as a dot on the band and a tinted tag in Change;
   a Traded column ($ bought/sold at the quarter-end price); weight shown as before → after */
html.si-at-on .si-pane[data-si-view="book"]:has(.si-act) .si-insight { display: none !important; }
html.si-at-on .si-act-wasw { display: none; }
html.si-at-on .si-act-tbl { --g: #266DF0; --g-bg: rgba(38,109,240,.10); --g-tx: #1F5BCC; }
html.si-at-on .si-act-tbl tbody:has(.si-g-add) { --g: #02AD6E; --g-bg: rgba(2,173,110,.11); --g-tx: #007D53; }
html.si-at-on .si-act-tbl tbody:has(.si-g-reduce) { --g: #F08C1A; --g-bg: rgba(255,170,40,.15); --g-tx: #9A5B00; }
html.si-at-on .si-act-tbl tbody:has(.si-g-sold) { --g: #FF5454; --g-bg: rgba(255,84,84,.11); --g-tx: #BA2525; }
html[data-theme="dark"].si-at-on .si-act-tbl { --g-tx: #7FA8FF; }
html[data-theme="dark"].si-at-on .si-act-tbl tbody:has(.si-g-add) { --g-tx: #A7F2CF; }
html[data-theme="dark"].si-at-on .si-act-tbl tbody:has(.si-g-reduce) { --g-tx: #FFD269; }
html[data-theme="dark"].si-at-on .si-act-tbl tbody:has(.si-g-sold) { --g-tx: #FFD1D1; }
html.si-at-on .si-act-gd { display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--g); vertical-align: middle; }
html.si-at-on .si-act-tbl tr.si-act-grp > th:not(#_):not(#_):not(#_):not(#_) { color: var(--a-ink) !important; }
html.si-at-on .si-act-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px;
  background: var(--g-bg); color: var(--g-tx); font: 500 13px/16px Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
html.si-at-on .si-act-tbl td:is(.up, .dn):not(#_):not(#_):not(#_) { color: inherit !important; }
html.si-at-on .si-act-was { margin-right: 6px; color: var(--a-mute); }
html.si-at-on .si-act-tbl td.f:not(#_):not(#_):not(#_) { color: var(--a-mute) !important; }

/* Performance: the distribution chart replaces the 75-bar chart; the time frame lives in the sort row as a chip */
html.si-at-on .si-perf-box, html.si-at-on .si-perf-per { display: none !important; }
html.si-at-on .si-perf-hist { height: 200px; margin: 0 0 16px; }

/* Stock screens list (user, 2026-10-26: "get rid of this white space"): with the heading row and the Holders column
   hidden, the fixed table layout still gave the hidden column half the width; the name cell takes it all now
   (max-width: 0 keeps the ellipsis working under auto layout) */
html.si-db .si-list-tbl:not(#_) { table-layout: auto !important; }
html.si-db .si-list-tbl > tbody > tr > td:first-child { width: 100%; max-width: 0; }
/* "align these lines": the screens table starts right on the tab row's rule and runs edge to edge (as Holdings),
   so its heading row lines up with the list's first row; no 16px panel inset, no box around it */
html.si-at-on .si-pane[data-si-view="screens"] > .si-panel.p-4:not(#_) { padding: 0 !important; }
html.si-at-on .si-pane[data-si-view="screens"] .si-panel.p-4 > .border:not(#_) { border: 0 !important; border-radius: 0 !important; }
html.si-at-on .si-scr-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):first-child { padding-left: 16px !important; border-left: 0 !important; }
html.si-at-on .si-scr-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):last-child { border-right: 0 !important; }
/* Activity's table starts on the tab row's rule too (no 16px gap above it) */
html.si-at-on .si-act:not(#_) { margin-top: 0 !important; }
html.si-at-on .si-act-box:not(#_):not(#_):not(#_) { border-top: 0 !important; }

/* ── round 14 (user, 2026-10-26: "I still see uneven lines on each view") ── the list draws its rule as the scroll box's
   top border (y 145–146) while every pane head draws it as a bottom border (y 144–145): pull the list up 1px so both
   rules are the same pixel row */
html.si-db .si-list-scroll:not(#_) { margin-top: -1px; }
/* Latest moves: flush under its head like Stock screens */
html.si-at-on .si-pane[data-si-view="moves"] > .si-panel.p-4:not(#_) { padding: 0 !important; }
html.si-at-on .si-pane[data-si-view="moves"] .si-panel.p-4 > .border:not(#_) { border: 0 !important; border-radius: 0 !important; }
html.si-at-on .si-pane[data-si-view="moves"] .aiq-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):first-child { padding-left: 16px !important; border-left: 0 !important; }
html.si-at-on .si-pane[data-si-view="moves"] .aiq-tbl:not(#_):not(#_):not(#_) > :is(thead, tbody) > tr > :is(th, td):last-child { border-right: 0 !important; }
