/* Kaleidoscope - Console — dense analyst workstation. Tokens first; dark mode is selected, not flipped. */
:root {
  color-scheme: light;
  --chrome: #10151c;          /* top bar + app ribbon (dark in both modes) */
  --chrome-2: #18202a;
  --chrome-line: #26303c;
  --chrome-text: #e6ebf1;
  --chrome-muted: #8a97a6;
  --accent: #2a78d6;

  --bg: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --line: #e1e4e9;
  --line-strong: #cfd4db;
  --text: #121821;
  --text-2: #4b5563;
  --text-3: #7b8594;
  --link: #1c5cab;
  --hover: #eef4fc;
  --sel: #dcebfd;

  --pos: #0a7d3c;
  --neg: #c4302b;
  --warn-bg: #fff4d6;
  --warn-text: #7a5200;
  --flag-bg: #fde8e7;
  --flag-text: #9b1c17;

  --s1: #2a78d6;  /* categorical slot 1 blue */
  --s2: #eb6834;  /* slot 2 orange */
  --s3: #1baf7a;  /* slot 3 aqua */
  --s4: #eda100;  /* slot 4 yellow */
  --s5: #e87ba4;  /* slot 5 magenta */
  --grid: #eceef1;

  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --chrome: #0b0f14; --chrome-2: #121820; --chrome-line: #222b36;
    --bg: #0f1318; --surface: #161b22; --surface-2: #1b212a;
    --line: #262e39; --line-strong: #333d4a;
    --text: #e8ecf1; --text-2: #aab4c0; --text-3: #7d8896;
    --link: #6da7ec; --hover: #1d2733; --sel: #1f3350;
    --pos: #3fb96f; --neg: #ee6b66;
    --warn-bg: #3a2f10; --warn-text: #f3c969; --flag-bg: #3a1a1a; --flag-text: #f19a96;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --grid: #222a34;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --chrome: #0b0f14; --chrome-2: #121820; --chrome-line: #222b36;
  --bg: #0f1318; --surface: #161b22; --surface-2: #1b212a;
  --line: #262e39; --line-strong: #333d4a;
  --text: #e8ecf1; --text-2: #aab4c0; --text-3: #7d8896;
  --link: #6da7ec; --hover: #1d2733; --sel: #1f3350;
  --pos: #3fb96f; --neg: #ee6b66;
  --warn-bg: #3a2f10; --warn-text: #f3c969; --flag-bg: #3a1a1a; --flag-text: #f19a96;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --grid: #222a34;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 13px/1.4 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd { font-family: var(--mono); font-size: 12px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── top bar ─────────────────────────────────────────────────────────── */
.topbar { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 16px; background: var(--chrome); color: var(--chrome-text); position: sticky; top: 0; z-index: 30; }
.brand { color: var(--chrome-text); font-weight: 600; letter-spacing: .2px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: 118px; height: auto; }
.brand-sub { padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--chrome-line); color: var(--chrome-muted); font-weight: 500; font-size: 12.5px; letter-spacing: .3px; line-height: 16px; }
.cmd { position: relative; flex: 1; max-width: 640px; margin: 0 auto; }
.cmd input { width: 100%; height: 32px; border-radius: 16px; border: 1px solid var(--chrome-line); background: var(--chrome-2); color: var(--chrome-text); padding: 0 40px 0 34px; font: 13px var(--sans); outline: none; }
.cmd input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,120,214,.25); }
.cmd input::placeholder { color: var(--chrome-muted); }
.cmd-icon { position: absolute; left: 11px; top: 8px; width: 16px; height: 16px; color: var(--chrome-muted); }
.cmd-kbd { position: absolute; right: 10px; top: 7px; border: 1px solid var(--chrome-line); border-radius: 4px; padding: 0 5px; color: var(--chrome-muted); font-size: 11px; }
.cmd-menu { position: absolute; left: 0; right: 0; top: 38px; margin: 0; padding: 4px; list-style: none; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.25); max-height: 60vh; overflow: auto; }
.cmd-menu li { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 5px; cursor: pointer; }
.cmd-menu li.on, .cmd-menu li:hover { background: var(--sel); }
.cmd-menu .t { font-family: var(--mono); font-weight: 500; }
.cmd-menu .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd-menu .x { color: var(--text-3); font-size: 11px; }
.cmd-kbd { cursor: pointer; }
.cmd-kbd:hover { color: var(--chrome-text); border-color: var(--accent); background: rgba(42,120,214,.2); }
.cmd-menu li.grp { display: block; padding: 8px 8px 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-3); cursor: default; }
.cmd-menu li.grp:hover { background: transparent; }
.cmd-menu .fncode { display: inline-block; min-width: 46px; padding: 1px 6px; border-radius: 4px; background: var(--sel); color: var(--link); font-size: 11.5px; text-align: center; }
.cmd-menu .hint code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-size: 11px; }
.cmd-menu .hint { display: block; padding: 6px 8px; color: var(--text-3); font-size: 12px; cursor: default; }
.topbar-right { display: flex; gap: 6px; }
.icon-btn { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--chrome-line); background: transparent; color: var(--chrome-muted); cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:hover { color: var(--chrome-text); }

/* ── app ribbon ──────────────────────────────────────────────────────── */
.apps { display: flex; gap: 2px; padding: 0 12px; background: var(--chrome-2); border-bottom: 1px solid var(--chrome-line); overflow-x: auto; scrollbar-width: none; }
.app { color: var(--chrome-muted); padding: 9px 12px 8px; white-space: nowrap; border-bottom: 2px solid transparent; font-weight: 500; }
.app:hover { color: var(--chrome-text); text-decoration: none; }
.app.on { color: var(--chrome-text); border-bottom-color: var(--accent); }
.app.soon, .tree-item.soon { opacity: .45; cursor: default; }

/* ── identifier bar ─────────────────────────────────────────────────── */
.idbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.id-left, .id-right { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; min-width: 0; }
.id-right { align-items: center; }
.id-ticker { font-family: var(--mono); font-size: 12px; padding: 2px 7px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-2); }
.id-name { font-size: 17px; font-weight: 600; margin: 0; color: var(--link); }
.id-price { font-family: var(--mono); font-size: 17px; font-weight: 500; }
.id-chg { font-family: var(--mono); }
.id-meta { color: var(--text-2); }
.id-meta b { color: var(--text); font-weight: 500; }
.id-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.flag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 500; background: var(--warn-bg); color: var(--warn-text); }
.flag.hot { background: var(--flag-bg); color: var(--flag-text); }
.flag svg { width: 11px; height: 11px; }
a.flag:hover { text-decoration: none; filter: brightness(1.12); }
.pos { color: var(--pos); } .neg { color: var(--neg); }

/* ── shell: tree + pane ─────────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 48px - 37px - 50px); }
.tree { background: var(--surface); border-right: 1px solid var(--line); padding: 6px 0 24px; position: sticky; top: 48px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; }
.tree-h { padding: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--text-2); }
.tree-group { padding: 10px 14px 4px; font-size: 11px; color: var(--text-3); background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 6px; font-weight: 500; }
.tree-item { display: block; padding: 5px 14px 5px 20px; color: var(--text); }
.tree-item:hover { background: var(--hover); text-decoration: none; }
.tree-item.on { background: var(--sel); color: var(--link); font-weight: 500; box-shadow: inset 3px 0 0 var(--accent); }
.tree-item.ext { color: var(--text-2); }
.pane { padding: 14px 16px 40px; min-width: 0; }

/* ── panels ─────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 12px; }
.grid > * { min-width: 0; }
html, body { overflow-x: hidden; }
.g-own { grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 1fr) minmax(280px, 1fr); }
.g-snap { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
.g-2 { grid-template-columns: 1fr 1fr; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.panel-h h2 { margin: 0; font-size: 13px; font-weight: 600; color: var(--link); }
.panel-h .sub { color: var(--text-3); font-size: 11.5px; }
.panel-b { padding: 10px 12px; }
.panel-b.flush { padding: 0; }
.span-all { grid-column: 1 / -1; }
.chart-box { position: relative; height: 240px; }
.chart-box.tall { height: 300px; }
.chart-box.short { height: 90px; }
.chart-box.mid { height: 150px; }
.note { color: var(--text-3); font-size: 11.5px; margin: 8px 0 0; }
.note b { color: var(--text-2); font-weight: 500; }

/* ownership stats block */
.own-top { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; }
.donut { position: relative; height: 150px; }
.donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-c b { font-family: var(--mono); font-size: 18px; font-weight: 500; }
.donut-c span { font-size: 10.5px; color: var(--text-3); }
.big-lbl { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.big-num { font-family: var(--mono); font-size: 22px; font-weight: 500; margin: 2px 0 8px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legend li { display: grid; grid-template-columns: 10px 56px 1fr; gap: 8px; align-items: center; }
.legend .sw { width: 10px; height: 10px; border-radius: 2px; }
.legend .v { font-family: var(--mono); text-align: right; }
.legend .l { color: var(--text-2); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi .k { font-size: 11px; color: var(--link); text-transform: uppercase; letter-spacing: .4px; }
.kpi .v { font-family: var(--mono); font-size: 16px; }
.kpi .s { font-size: 11px; color: var(--text-3); }

/* key/value lists */
.kv { width: 100%; border-collapse: collapse; }
.kv td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.kv td:last-child { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.kv tr:last-child td { border-bottom: 0; }
.kv td:first-child { color: var(--text-2); }
.kv2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* ── data tables ────────────────────────────────────────────────────── */
.tbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.chips { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.chips button { border: 0; background: transparent; color: var(--text-2); padding: 4px 10px; font: 12px var(--sans); cursor: pointer; border-right: 1px solid var(--line); }
.chips button:last-child { border-right: 0; }
.chips button.on { background: var(--sel); color: var(--link); font-weight: 500; }
.tbar input[type=search], .tbar select { height: 27px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 8px; font: 12px var(--sans); }
.tbar .grow { flex: 1; }
.btn { height: 27px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 10px; font: 12px var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { background: var(--hover); }
.tscroll { overflow: auto; max-height: 72vh; }
.dt-wrap { position: relative; }
.dt-exp { position: absolute; top: 3px; right: 8px; z-index: 3; font: 600 11px var(--sans, inherit); padding: 2px 8px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); cursor: pointer;
  opacity: 0; transition: opacity .12s; }
.dt-wrap:hover .dt-exp, .dt-exp:focus-visible { opacity: 1; }
.dt-exp:hover { color: var(--link); border-color: var(--link); }
@media (hover: none) { .dt-exp { opacity: .85; } }
@media print { .dt-exp { display: none; } }
table.dt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.dt th { position: sticky; top: 0; z-index: 2; background: var(--surface-2); color: var(--text-2); font-weight: 500; text-align: right; padding: 6px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; cursor: pointer; user-select: none; font-size: 11.5px; }
.dt th.l, .dt td.l { text-align: left; }
.dt th .ar { color: var(--text-3); font-size: 9px; margin-left: 3px; }
.dt td { padding: 4px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dt td.l { font-family: var(--sans); }
.dt td.name { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.dt tbody tr:hover td { background: var(--hover); }
.dt tr.total td { font-weight: 500; background: var(--surface-2); position: sticky; top: 28px; z-index: 1; }
.dt .rank { color: var(--text-3); }
.dt .muted { color: var(--text-3); }
.src { display: inline-block; font-family: var(--sans); font-size: 11px; padding: 0 6px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--text-2); }
.src.f4 { border-color: var(--s2); }
.src.s13 { border-color: var(--s3); }
.tag { display: inline-block; font-family: var(--sans); font-size: 10.5px; padding: 0 5px; border-radius: 3px; background: var(--surface-2); color: var(--text-3); margin-left: 6px; vertical-align: 1px; }
.tag.new { background: var(--warn-bg); color: var(--warn-text); }
.tag.idx { background: transparent; border: 1px solid var(--line-strong); }
.fil { font-family: var(--sans); font-size: 11px; color: var(--text-3); }

/* ── range buttons ─────────────────────────────────────────────────── */
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 2px; }
.seg button { border: 0; background: transparent; color: var(--text-2); padding: 3px 10px; border-radius: 12px; font: 12px var(--sans); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.12); font-weight: 500; }
.toggle { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 12px; cursor: pointer; }

/* ── states ────────────────────────────────────────────────────────── */
.skel { display: inline-block; height: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--line) 25%, var(--surface-2) 50%, var(--line) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
.skel.w60 { width: 60px; } .skel.block { display: block; width: 100%; height: 180px; }
@keyframes sk { to { background-position: -200% 0; } }
.err { padding: 16px; color: var(--neg); }
.empty { padding: 24px; color: var(--text-3); text-align: center; }

.lc-h { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); font-weight: 600; }
.lc-note { color: var(--text-3); font-size: 12px; margin-top: 4px; }
kbd { border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 5px; }

/* ── responsive ────────────────────────────────────────────────────── */
@media (max-width: 1200px) { .g-own { grid-template-columns: 1fr 1fr; } .g-own > :first-child { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .tree { position: static; max-height: none; display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 6px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tree > .note, .tree > form, .tree > p { display: none; }   /* sidebar prose/forms don't fit a chip row (Private Capital "Sources") */
  .tree-h, .tree-group, .tree-item.soon, .tree-item.ext { display: none; }
  .tree-item { white-space: nowrap; border-radius: 14px; padding: 4px 12px; }
  .tree-item.on { box-shadow: none; }
  .g-own, .g-snap, .g-2 { grid-template-columns: 1fr; }
  .own-top { grid-template-columns: 120px 1fr; }
  .kv2 { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand-logo { width: 96px; }
  .pane { padding: 10px 12px 32px; }
  .topbar { padding: 0 12px; gap: 10px; }
}

/* ── phase 2 ───────────────────────────────────────────────────────── */
.kpis.k4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.dt.wrap td.l { white-space: normal; min-width: 120px; }
.dt.wrap td .fil { display: block; margin-top: 2px; line-height: 1.35; white-space: normal; }
.dt tr.self td { background: var(--sel); font-weight: 500; }
.dt td a { color: var(--link); }
.panel-h .sub a { color: var(--link); }
@media (max-width: 900px) { .kpis.k4 { grid-template-columns: repeat(2, 1fr); } }
.dt td.nm-s { max-width: 230px; }

/* ── phase 3: capital graph ─────────────────────────────────────────── */
.graph-wrap { position: relative; padding: 4px 8px 8px; }
.graph-wrap svg { display: block; width: 100%; height: auto; }
.g-lbl { font: 11px var(--sans); fill: var(--text-2); pointer-events: none; }
.g-grp { font: 600 11px var(--sans); letter-spacing: .5px; text-transform: uppercase; }
.g-center { font: 600 13px var(--sans); fill: var(--text); }
.g-node:hover circle { stroke: var(--text); }
.gtip { position: absolute; z-index: 5; max-width: 260px; background: var(--chrome); color: #e6ebf1; border-radius: 6px; padding: 8px 10px; font-size: 12px; line-height: 1.4; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.gtip .muted { color: #9aa6b4; }
.gchip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); color: var(--text); font: 12px var(--sans); cursor: pointer; }
.gchip.off { opacity: .45; }
.gchip .sw, .panel-h h2 .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: 0; }
.poslink { font-family: var(--sans); font-size: 10.5px; margin-left: 6px; color: var(--text-3) !important; }
.poslink:hover { color: var(--link) !important; }
.panel-h h2 a { color: inherit; }
.viewbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.viewbar select { height: 27px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 8px; font: 12px var(--sans); }

/* ── watchlist / alerts / screening ────────────────────────────────── */
.watchbtn { align-self: center; height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); color: var(--text-2); font: 12px var(--sans); cursor: pointer; }
.watchbtn.on { color: var(--warn-text); background: var(--warn-bg); border-color: transparent; }
.badge { display: inline-block; min-width: 16px; padding: 0 5px; border-radius: 8px; background: var(--neg); color: #fff; font: 600 10.5px/16px var(--sans); text-align: center; }
.addbox { position: relative; min-width: 320px; }
.addbox input { width: 100%; height: 27px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 8px; font: 12px var(--sans); }
.addbox .cmd-menu { top: 30px; z-index: 20; }
.rmbtn { border: 0; background: transparent; color: var(--text-3); cursor: pointer; font-size: 12px; }
.rmbtn:hover { color: var(--neg); }
.feed { max-height: 72vh; overflow: auto; }
.ev { display: grid; grid-template-columns: 108px 78px 1fr; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); align-items: start; }
.ev.hi { box-shadow: inset 3px 0 0 var(--neg); }
.ev.new { background: var(--hover); }
.ev-d { color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.ev-b .fil { margin-top: 2px; line-height: 1.35; }
.scform { display: grid; gap: 7px; padding: 8px 14px 16px; }
.scform label { display: grid; gap: 3px; font-size: 11.5px; color: var(--text-2); }
.scform input:not([type=checkbox]), .scform select { height: 27px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 8px; font: 12px var(--sans); }
.scform .toggle { display: flex; }
@media (max-width: 900px) { .scform { display: none; } .ev { grid-template-columns: 90px 1fr; } .ev-t { display: none; } .addbox { min-width: 0; flex: 1; } }

a.watchbtn { display: inline-flex; align-items: center; text-decoration: none; }
/* ── print / PDF: the current report only, light, no chrome ─────────── */
@media print {
  :root, :root[data-theme="dark"] { color-scheme: light;
    --bg: #fff; --surface: #fff; --surface-2: #f6f7f9; --line: #e1e4e9; --line-strong: #cfd4db;
    --text: #111; --text-2: #444; --text-3: #777; --link: #1c5cab; }
  .topbar, .apps, .tree, .noprint, .watchbtn, .viewbar select, .tbar, .poslink, .cmd { display: none !important; }
  body { background: #fff; font-size: 11px; }
  .shell { display: block; }
  .pane { padding: 0; }
  .idbar { border: 0; padding: 0 0 8px; }
  .panel { break-inside: avoid; border-color: #ddd; }
  .tscroll { max-height: none !important; overflow: visible !important; }
  .dt th { position: static; }
  .grid { gap: 8px; }
  @page { size: landscape; margin: 12mm; }
}

.acct { color: var(--chrome-muted); font-size: 12.5px; white-space: nowrap; align-self: center; margin-right: 6px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.acct:hover { color: var(--chrome-text); text-decoration: none; }
.topbar-right { align-items: center; }
.login-wrap { max-width: 420px; margin: 40px auto; }
.login { display: grid; gap: 10px; }
.login label { display: grid; gap: 4px; font-size: 12px; color: var(--text-2); }
.login input:not([type=checkbox]) { height: 32px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 10px; font: 13px var(--sans); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); justify-content: center; height: 32px; }
.digestsel { width: 100%; height: 27px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); font: 12px var(--sans); }
.shell.solo { grid-template-columns: 1fr; }
.login label.toggle { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.login .ok { color: var(--pos); font-size: 12px; }
.login .note a { color: var(--accent); }
/* signed-out auth pages: no search / app nav (nothing is reachable until sign-in) */
.auth-page .cmd, .auth-page .apps { visibility: hidden; }

/* ── home ────────────────────────────────────────────────────────────── */
.shell.home-shell { display: block; }
.shell.home-shell .pane { padding: 0; max-width: none; }
.home { --home-w: 1200px; padding-bottom: 32px; }
.home > * { max-width: var(--home-w); margin-left: auto; margin-right: auto; }
.home-hero { max-width: none; margin: 0; padding: 38px 16px 30px; text-align: center; color: var(--chrome-text);
  background: radial-gradient(1200px 320px at 50% -60px, rgba(42,120,214,.28), transparent 70%), linear-gradient(180deg, var(--chrome-2), var(--chrome)); }
.hh-eyebrow { display: inline-block; margin-bottom: 12px; padding: 3px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; letter-spacing: .3px;
  color: #9cc4f5; background: rgba(42,120,214,.16); border: 1px solid rgba(42,120,214,.4); }
.home-hero h1 { margin: 0 auto 10px; font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -.4px; line-height: 1.22; max-width: 860px; text-wrap: balance; }
.hh-sub { margin: 0 auto 22px; max-width: 700px; color: var(--chrome-muted); font-size: 14.5px; line-height: 1.5; text-wrap: balance; }
.hh-sub b { color: var(--chrome-text); font-weight: 600; }
.hh-miss { margin: -8px 0 16px; color: #f19a96; }
.hh-search { max-width: 720px; margin: 0 auto; }
.hh-search .cmd { max-width: none; }
.cmd.big input { height: 48px; border-radius: 24px; font-size: 16px; padding: 0 52px 0 46px; background: rgba(255,255,255,.06); border-color: #33404f; }
.cmd.big input:focus { background: rgba(255,255,255,.09); }
.cmd.big .cmd-icon { left: 17px; top: 15px; width: 18px; height: 18px; }
.cmd.big .cmd-kbd { right: 16px; top: 14px; }
.cmd.big .cmd-menu { top: 54px; text-align: left; z-index: 30; }
.hh-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 16px auto 0; max-width: 1100px; }
.hh-chips .lbl { color: var(--chrome-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin: 0 2px 0 10px; }
.hh-chips .lbl:first-child { margin-left: 0; }
.hh-chips .chip { color: var(--chrome-text); background: rgba(255,255,255,.06); border: 1px solid #33404f; }
.hh-chips .chip:hover { background: rgba(42,120,214,.25); border-color: var(--accent); text-decoration: none; }
.hh-graph { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 8px auto 0; }
.hh-graph .lbl { color: #9cc4f5; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin-right: 2px; }
.chip.graph { gap: 6px; font-family: var(--sans); font-weight: 400; color: var(--chrome-text); background: rgba(42,120,214,.14); border: 1px solid rgba(42,120,214,.45); }
.chip.graph svg { width: 13px; height: 13px; fill: #9cc4f5; stroke: #9cc4f5; stroke-width: 1.1; }
.chip.graph:hover { background: rgba(42,120,214,.32); border-color: var(--accent); text-decoration: none; }
a.dt.filing { color: var(--text-3); }
a.dt.filing:hover { color: var(--link); }
.hh-hint { margin-top: 14px; color: var(--chrome-muted); font-size: 12px; }
.hh-hint code, .hh-hint kbd { background: rgba(255,255,255,.07); border: 1px solid #33404f; border-radius: 4px; padding: 0 5px; color: var(--chrome-text); font-size: 11.5px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-family: var(--mono); font-weight: 500;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); white-space: nowrap; }
.chip.mgr { font-family: var(--sans); font-weight: 400; }
.chip:hover { border-color: var(--accent); text-decoration: none; }
.wchips { display: flex; flex-wrap: wrap; gap: 6px; }

.home-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 0 16px; margin-top: -1px; transform: translateY(-18px); }
.hs { display: grid; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(16,21,28,.08); color: var(--text); min-height: 76px; }
a.hs:hover { border-color: var(--accent); text-decoration: none; }
.hs .v { font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: -.5px; }
.hs .k { font-size: 12px; color: var(--text-2); }
.hs .s { font-size: 11px; color: var(--text-3); }

.home-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; align-items: start; gap: 12px; padding: 0 16px; margin-bottom: 12px; }
.home-row .note { margin: 10px 0 0; }
.screens { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4px; padding: 6px 4px; }
.screens a { display: flex; justify-content: space-between; padding: 6px 8px; font-size: 12.5px; color: var(--text); border-radius: 4px; }
.screens a span { color: var(--text-3); }
.screens a:hover { background: var(--hover); text-decoration: none; color: var(--link); }
.recent { display: grid; gap: 1px; }
.recent a { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 8px; padding: 4px 0; color: var(--text); }
.recent a:hover { color: var(--link); text-decoration: none; }
.recent .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.home-pulse { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.feed { display: grid; }
.feed-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.feed-row:last-child { border-bottom: 0; }
.feed-row:hover { background: var(--hover); }
.tk { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-align: center; padding: 2px 0; border-radius: 4px;
  background: var(--sel); color: var(--link); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
a.tk:hover { text-decoration: none; background: var(--accent); color: #fff; }
.tk.mgr { background: var(--surface-2); color: var(--text-3); border: 1px solid var(--line); }
.tk.none { background: transparent; color: var(--text-3); }
.fm { min-width: 0; }
.fm .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm .t a { color: var(--text); font-weight: 500; }
.fm .t a:hover { color: var(--link); }
.fm .s { color: var(--text-3); font-size: 12px; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm .s a { color: var(--text-2); }
.fr { display: grid; justify-items: end; gap: 1px; text-align: right; white-space: nowrap; }
.fr .v { font-family: var(--mono); font-weight: 500; }
.fr .v.pos { color: var(--pos); }
.fr .dt { color: var(--text-3); font-size: 11px; }
.fm .pill { display: inline-block; font-size: 10.5px; padding: 0 6px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-3); vertical-align: 1px; }
.feed-empty { padding: 16px 12px; color: var(--text-3); }

.home-codes { margin-top: 14px !important; padding: 0 16px; color: var(--text-2); }
.home-codes summary { cursor: pointer; color: var(--text-3); font-size: 12px; }
.home-codes .codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; margin: 10px 0 4px; }
.home-codes code { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; margin-right: 6px; color: var(--text); }
.home-page .topbar .cmd:not(.big) { visibility: hidden; }

@media (max-width: 1000px) {
  .home-stats { grid-template-columns: repeat(3, 1fr); }
  .home-row, .home-pulse { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .home-stats { grid-template-columns: repeat(2, 1fr); }
  .home-hero { padding-top: 26px; }
  .hh-hint { display: none; }
  .feed-row { grid-template-columns: 50px minmax(0, 1fr) auto; }
}

/* ── private capital ─────────────────────────────────────────────────── */
.btag { display: inline-block; font-size: 10.5px; font-weight: 500; padding: 1px 7px; border-radius: 9px; white-space: nowrap; border: 1px solid transparent; }
.btag.b-eq { color: var(--s1); border-color: color-mix(in srgb, var(--s1) 45%, transparent); background: color-mix(in srgb, var(--s1) 10%, transparent); }
.btag.b-debt { color: var(--s2); border-color: color-mix(in srgb, var(--s2) 45%, transparent); background: color-mix(in srgb, var(--s2) 10%, transparent); }
.btag.b-cf { color: var(--s3); border-color: color-mix(in srgb, var(--s3) 45%, transparent); background: color-mix(in srgb, var(--s3) 10%, transparent); }
.btag.b-oth { color: var(--text-3); border-color: var(--line-strong); }
.pill { display: inline-block; font-size: 10.5px; padding: 0 7px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-3); vertical-align: 1px; white-space: nowrap; }
.pill.warn { background: var(--warn-bg); color: var(--warn-text); border-color: transparent; }
.dt.tl td.tlev { white-space: normal; min-width: 280px; }
.dt.tl td.tlev .sub { color: var(--text-3); font-size: 12px; margin-top: 2px; line-height: 1.4; }
.dt.tl td.tlev .sub a { color: var(--text-2); }
.dt.tl td { vertical-align: top; }
.dt td.nowrap { white-space: nowrap; }
.src-links { white-space: normal; max-width: 260px; }
.src-links a { display: inline-block; margin-right: 8px; font-size: 12px; white-space: nowrap; }
.hbar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 8px; align-items: center; padding: 3px 0; font-size: 12px; }
.hbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.hbar i { display: block; height: 8px; border-radius: 0 4px 4px 0; background: var(--s1); }
.hbar b { font-family: var(--mono); font-weight: 500; min-width: 36px; text-align: right; }

.mkf input:not([type=checkbox]), .mkf select { height: 27px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 8px; font: 12px var(--sans); }
.mkf input[name=q] { width: 200px; }
.mkf .toggle { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); }
a.hbar { color: inherit; }
a.hbar:hover { text-decoration: none; background: var(--hover); }

/* filing viewer */
.shell.filing-shell .pane { padding: 0; }
.fview { display: flex; flex-direction: column; height: calc(100vh - 86px); }
.fview-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.fview-form { font-family: var(--mono); font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--sel); color: var(--link); }
.fview-co { font-weight: 600; }
.fview-sp { flex: 1; }
.fview-doc { flex: 1; width: 100%; border: 0; background: #fff; }

/* short interest */
.si-badge { color: inherit; }
.si-badge:hover { color: var(--link); text-decoration: none; }
#idNext .sep { margin: 0 8px; color: var(--text-3); }
.si-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }

.over100 { color: var(--warn-text); cursor: help; }

/* Adviser Profile (ADV) */
.advsel { font: 13px var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px; padding: 5px 8px; max-width: 100%; }
.provgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 24px; }
/* provider names are long ("NORTHERN TRUST GLOBAL FUND SERVICES CAYMAN"): name on its own line, bar + count under it */
.provgrid .hbar { grid-template-columns: 1fr auto; row-gap: 2px; padding: 4px 0; }
.provgrid .hbar span { grid-column: 1 / -1; white-space: normal; line-height: 1.3; }
.provgrid .hbar b { min-width: 20px; }

/* account menu (signed in) */
.acct-wrap { position: relative; align-self: center; display: flex; }
.acct[aria-expanded="true"] { color: var(--chrome-text); }
.acct[role="button"]::after { content: " ▾"; font-size: 10px; opacity: .7; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; max-width: calc(100vw - 24px); background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.18); padding: 6px; z-index: 60; }
.acct-menu[hidden] { display: none; }
.am-who { display: grid; gap: 1px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 13px; }
.am-who span { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.acct-menu a, .acct-menu button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; font: 13px var(--sans);
  color: var(--text); background: none; border: 0; cursor: pointer; text-decoration: none; }
.acct-menu a:hover, .acct-menu button:hover, .acct-menu a:focus-visible, .acct-menu button:focus-visible { background: var(--sel); outline: none; }
.acct-menu #amOut { color: var(--flag-text, #b42318); }

/* ADV contacts */
.ct { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 20px; font-size: 13px; }
.ct-who { display: grid; gap: 2px; align-content: start; min-width: 0; }
.ct-who > span, .ct-who > b { overflow-wrap: anywhere; }
.ct-k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 2px; }
.ct-soc { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }

/* Form ADV filing view (/ledger/adv/<crd>) */
.adv-doc { display: grid; gap: 14px; max-width: 1180px; }
.adv-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-end; padding: 4px 2px 2px; }
.adv-top h1 { margin: 2px 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.adv-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); }
.adv-top-r { display: flex; gap: 8px; align-items: center; }
.adv-sec { scroll-margin-top: 64px; }
.adv-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; font-size: 13px; }
.adv-cols > div { display: grid; gap: 2px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.adv-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.adv-subh { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); padding: 12px 14px 4px; }
.adv-br { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.adv-br:last-child { border-bottom: 0; }
.adv-br > a:not(.btn) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.adv-br-part { font-family: var(--mono); font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--sel); color: var(--link); white-space: nowrap; }
.btn.sm { padding: 2px 8px; font-size: 11.5px; }
.adv-drp { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; }
.adv-drp-h { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.adv-pick { padding: 4px 14px 10px; display: grid; gap: 4px; font-size: 12px; color: var(--text-3); }
.adv-pick select { font: 13px var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px; padding: 5px 6px; }
.tree-item.sub { padding-left: 28px; font-size: 12.5px; }
.yn.y { color: var(--pos); font-weight: 500; }
.yn.n { color: var(--text-3); }
@media print {
  .adv-top-r, .adv-pick { display: none !important; }
  .adv-sec { break-inside: avoid-page; }
  .adv-doc .tscroll { max-height: none !important; overflow: visible !important; }
}
.panel-h .sub a.src { color: var(--link); white-space: nowrap; }
.dt tr.prev td { opacity: .62; }
.ai-note { border-left: 2px solid var(--warn-text); padding-left: 8px; }
.kv.drp-kv td { text-align: left; font-family: var(--sans); white-space: normal; vertical-align: top; }
.kv.drp-kv td:first-child { width: 150px; color: var(--text-3); white-space: nowrap; }

/* module entitlements (api_data/entitlements.py) */
.tree-item.locked, .app.locked { color: var(--text-3); }
.tree-item.locked::after, .app.locked::after { content: ""; display: inline-block; width: 9px; height: 10px; margin-left: 6px; vertical-align: -1px; opacity: .7;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 7V5a3.5 3.5 0 0 1 7 0v2' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='2.5' y='7' width='11' height='7.5' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 7V5a3.5 3.5 0 0 1 7 0v2' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='2.5' y='7' width='11' height='7.5' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.lock-card { max-width: 560px; margin: 48px auto; text-align: center; }
.lock-card .panel-b { padding: 32px 28px; }
.lock-card .lock-ico { width: 28px; height: 28px; color: var(--text-3); margin-bottom: 10px; }
.lock-card h2 { margin: 0 0 8px; font-size: 17px; }
.lock-card p { margin: 0 0 8px; color: var(--text-2); }

/* Overviews: Reference + Event Calendar (2026-10-01) */
.ref-desc { margin: 0 0 12px; color: var(--text); line-height: 1.5; max-width: 90ch; }
.kv-wrap td:last-child { font-family: var(--sans); white-space: normal; }
.ref-pred { padding: 6px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.ev-list { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ev:last-child { border-bottom: 0; }
.ev-d { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.ev-d span { color: var(--text-3); font-size: 12px; }
.ev-k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text-2); margin-right: 4px; }
.ev-s { color: var(--text-2); font-size: 12.5px; margin-top: 2px; }
.ev { border-left: 3px solid transparent; padding-left: 10px; }
.ev.ev-earn { border-left-color: var(--s1); } .ev.ev-dl { border-left-color: var(--s3, var(--line-strong)); }
.ev.ev-proxy { border-left-color: var(--s4, var(--line-strong)); } .ev.ev-div { border-left-color: var(--s2); }
.ev.ev-cat { border-left-color: var(--line-strong); } .ev.late { border-left-color: var(--neg); }
.pill.pos-pill { color: var(--pos); border-color: currentColor; } .pill.neg-pill { color: var(--neg); border-color: currentColor; }
@media (max-width: 640px) { .ev { grid-template-columns: 1fr; gap: 2px; } }
.kpis.k2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.kpis.k3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
@media (max-width: 640px) { .kpis.k3 { grid-template-columns: 1fr 1fr; } }

/* Geographic Revenue (2026-10-02) */
.geo-total { margin: 0 0 8px; color: var(--text-2); }
.geo-total b { color: var(--text); font-family: var(--mono); }
.iso { display: inline-block; min-width: 26px; margin-right: 8px; padding: 0 4px; border: 1px solid var(--line); border-radius: 4px; font: 10.5px var(--mono); color: var(--text-2); text-align: center; }
.iso.blank { border-color: transparent; }
.spark { vertical-align: middle; }
.geo-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; }
.geo-pair > * { min-width: 0; }
.geo-legend { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); margin-top: 6px; flex-wrap: wrap; }
.geo-ramp { width: 160px; height: 8px; border-radius: 4px; display: inline-block; }
@media (max-width: 760px) { .geo-pair { grid-template-columns: 1fr; } }

/* Material Contracts (2026-10-02) */
.mc-bar { flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
.mc-bar input[type=search] { min-width: 220px; }
.mc-title { font-weight: 500; }
.mc-ob { color: var(--text-2); font-size: 12.5px; margin-top: 2px; max-width: 70ch; }

/* Capital Structure (2026-10-02) */
.kv-cap tr.sum td { font-weight: 600; border-top: 1px solid var(--line-strong); }
.kv-cap tr.sub td { font-size: 12px; color: var(--text-3); padding-left: 12px; }
.kv-cap td:last-child { font-family: var(--mono); }

/* Comps Analysis (2026-10-02) */
.cp-bar { flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
.cp-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 1px 2px 1px 8px; border: 1px solid var(--line-strong); border-radius: 12px; font: 11.5px var(--mono); }
.chip button { border: 0; background: transparent; color: var(--text-3); cursor: pointer; padding: 0 4px; font-size: 13px; line-height: 1; }
.chip button:hover { color: var(--neg); }
.dt tr.self td { background: var(--sel); }
.dt tr.median td { font-weight: 600; border-top: 2px solid var(--line-strong); }

/* collapsible report tree (2026-10-02) */
.tree-sec > .tree-group { cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; }
.tree-sec > .tree-group:hover { color: var(--text); }
.tree-sec > .tree-group:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tree-sec > .tree-group::after { content: ""; width: 6px; height: 6px; margin-right: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .18s ease; opacity: .7; }
.tree-sec.open > .tree-group::after { transform: rotate(45deg); }
.tree-sec-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
.tree-sec.open > .tree-sec-b { grid-template-rows: 1fr; }
.tree-sec-in { overflow: hidden; min-height: 0; }
.tree-sec:not(.open) .tree-sec-in { visibility: hidden; transition: visibility 0s .2s; }
@media (prefers-reduced-motion: reduce) { .tree-sec-b, .tree-sec > .tree-group::after { transition: none; } }
@media print { .tree-sec-b { grid-template-rows: 1fr !important; } .tree-sec-in { visibility: visible !important; } }

/* ── "Console has been updated" bar (console.js checkBuild) — chrome colors, same in both modes ── */
.build-bar { position: fixed; right: 16px; bottom: 16px; z-index: 1000; display: flex; align-items: center; gap: 12px;
  max-width: min(460px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 8px; background: var(--chrome);
  color: var(--chrome-text); border: 1px solid var(--chrome-line); box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  font-size: 13px; animation: build-in .25s ease-out; }
.build-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(42, 120, 214, .3); }
.build-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.build-txt span { color: var(--chrome-muted); font-size: 12px; }
.build-bar button { flex: none; font: inherit; font-size: 12px; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.build-go { background: var(--accent); color: #fff; border: 1px solid var(--accent); font-weight: 600; }
.build-go:hover { filter: brightness(1.1); }
.build-later { background: transparent; color: var(--chrome-muted); border: 1px solid var(--chrome-line); }
.build-later:hover { color: var(--chrome-text); }
@keyframes build-in { from { transform: translateY(12px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .build-bar { animation: none; } }
@media print { .build-bar { display: none; } }

/* ── app layout: header bars fixed, only the content scrolls (desktop, 2026-10-02) ──
   Was: the page (body) scrolled and only .topbar was sticky, so the app ribbon + company bar scrolled away.
   Now the page is a viewport-tall column; .pane and .tree each scroll on their own. Phones keep page scroll. */
@media screen and (min-width: 901px) {
  body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
  body > .topbar, body > .apps, body > .idbar { flex: none; }
  body > .shell { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); }
  .shell > .pane { overflow-y: auto; overscroll-behavior: contain; }
  .shell > .tree { position: static; align-self: stretch; max-height: none; overflow-y: auto; }
  .shell.home-shell > .pane { height: 100%; }
  .fview { height: 100%; }
}
/* phones: the sidebar is a chip row (see max-width 900px) — flatten the collapsible sections into it */
@media (max-width: 900px) {
  .tree-sec, .tree-sec-b, .tree-sec-in { display: contents; }
  .tree-sec:not(.open) .tree-sec-in { visibility: visible; }
  .tree-sec > .tree-group { display: none; }
}

/* ── Sector Intelligence (console.js renderSectors) ── */
.kpis.k5 { grid-template-columns: repeat(5, 1fr); margin-top: 0; }
.kpis.k5 + .kpis.k5 { border-top: 0; margin-top: -10px; }
.sx-heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 4px; }
.sx-tile { display: block; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); text-decoration: none; min-width: 0; }
.sx-tile:hover, .sx-tile:focus-visible { border-color: var(--accent); outline: none; }
.sx-tile .n { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-tile .v { font-family: var(--mono); font-size: 19px; font-variant-numeric: tabular-nums; margin: 2px 0; }
.sx-tile .s { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbar { display: grid; grid-template-columns: minmax(110px, 36%) 1fr 76px; gap: 8px; align-items: center; padding: 3px 0; font-size: 12px; color: inherit; text-decoration: none; }
.dbar:hover span:first-child { color: var(--link); }
.dbar > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.dbar .trk { position: relative; height: 10px; }
.dbar .trk::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-strong); }
.dbar .trk i { position: absolute; top: 0; height: 10px; }
.dbar .trk i.p { left: 50%; background: var(--pos); border-radius: 0 3px 3px 0; }
.dbar .trk i.n { right: 50%; background: var(--neg); border-radius: 3px 0 0 3px; }
.dbar b { font-family: var(--mono); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.sx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sx-two > div { min-width: 0; }
.sx-h { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; }
table.dt.sx-mini { width: 100%; }
table.dt.sx-mini td { padding: 4px 6px; white-space: nowrap; }
table.dt.sx-mini td.name { max-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chart-box.sm { height: 150px; }
@media (max-width: 900px) { .kpis.k5 { grid-template-columns: repeat(2, 1fr); } .sx-two { grid-template-columns: 1fr; } }

/* ── News, Research & Filings ── */
.tg { display: inline-block; font-size: 11px; line-height: 1.5; padding: 0 7px; border-radius: 9px; margin: 1px 4px 1px 0; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.tg.pos { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 40%, transparent); background: color-mix(in srgb, var(--pos) 9%, var(--surface)); }
.tg.neg { color: var(--neg); border-color: color-mix(in srgb, var(--neg) 40%, transparent); background: color-mix(in srgb, var(--neg) 9%, var(--surface)); }
.tg.warn { color: var(--warn-text); background: var(--warn-bg); border-color: transparent; }
.tg.acc { color: var(--link); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--hover); }
.tg.lbl { color: var(--text-3); }
.fl-list, .nw-list { border-top: 1px solid var(--line); }
.fl-row { display: grid; grid-template-columns: 96px 92px minmax(170px, auto) 1fr auto; gap: 4px 10px; align-items: baseline; padding: 6px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.fl-row:hover { background: var(--hover); }
.fl-date { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.fl-form { font-family: var(--mono); font-weight: 600; font-size: 11.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-acc { font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.fl-tags { min-width: 0; }
.fl-ev { grid-column: 1 / -1; padding: 4px 0 6px 106px; }
.fl-q { margin: 4px 0 8px; }
.fl-q blockquote { margin: 3px 0 0; padding: 4px 10px; border-left: 2px solid var(--line-strong); color: var(--text-2); background: var(--surface-2); border-radius: 0 4px 4px 0; }
.fl-more { padding: 10px 14px; text-align: center; }
.fl-row.tagged .fl-form { color: var(--link); }
.nw-row { display: grid; grid-template-columns: 96px 1fr minmax(0, 34%); gap: 4px 12px; align-items: baseline; padding: 7px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.nw-row:hover { background: var(--hover); }
.nw-main { min-width: 0; }
.nw-t { font-weight: 500; }
.nw-t a { color: var(--text); }
.nw-t a:hover { color: var(--link); }
.nw-f { color: var(--text-2); font-size: 12px; margin-top: 2px; }
.nw-row .fl-tags { text-align: right; }
.cl-rev { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; }
.cl-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.cl-h .grow { flex: 1; }
.cl-l { padding: 6px 0 2px; border-top: 1px dashed var(--line); margin-top: 6px; font-size: 12.5px; }
.cl-c { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.cl-a { margin-top: 4px; padding: 4px 0 2px 10px; border-left: 2px solid var(--line); color: var(--text-2); }
.cl-a b { font-weight: 600; color: var(--text); margin-right: 4px; }
.cl-a.declined { border-left-color: var(--neg); }
.cl-a.revised, .cl-a.will_revise { border-left-color: var(--pos); }
.cl-l.resp { background: var(--hover); border-top-style: solid; padding: 6px 8px 4px; border-radius: 4px; }
.cs-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.cs-f { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.cs-f:last-child { border-bottom: 0; }
.cs-f .fil { display: block; margin-top: 2px; }
@media (max-width: 900px) { .cs-cols { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .fl-row { grid-template-columns: auto auto 1fr; }
  .fl-acc { grid-column: 1 / -1; }
  .fl-tags { grid-column: 1 / -1; }
  .fl-ev { padding-left: 0; }
  .nw-row { grid-template-columns: 1fr; }
  .nw-row .fl-tags { text-align: left; }
}
.dt td.wrap { white-space: normal; min-width: 220px; }
.fl-more-tags { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.nw-also { margin-top: 3px; font-size: 12px; }
.nw-also summary { cursor: pointer; color: var(--text-3); }
.nw-also div { padding: 2px 0 2px 12px; }

/* Charts (charts module) */
.ch-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.ch-tools > .fil:first-child { min-width: 58px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ch-chg { margin-left: auto; font-size: 12px; color: var(--text-2); }
.ch-tog { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--text-2); font: 12px var(--sans); cursor: pointer; }
.ch-tog.on { border-color: var(--accent); color: var(--text); background: var(--sel); }
.ch-tog:disabled { opacity: .45; cursor: default; }
.ch-tog:focus-visible, .ch-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ch-tog i, .ch-ev i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.ch-add { width: 84px; padding: 2px 8px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--surface);
  color: var(--text); font: 12px var(--sans); }
.ch-read { min-height: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 12px; color: var(--text-2);
  font-variant-numeric: tabular-nums; padding: 2px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.ch-read .sep { color: var(--text-3); margin: 0 8px; }
.ch-ev { display: inline-flex; align-items: center; gap: 5px; }
.ch-stack .chart-box { margin: 0; }
.ch-lanes { margin-top: 8px; margin-bottom: 4px; }
@media (max-width: 900px) { .ch-chg { margin-left: 0; width: 100%; } }
.mc-cl { display: flex; flex-wrap: wrap; gap: 3px 4px; margin-top: 4px; }
.mc-cl .tg { font-size: 10.5px; }
.mc-cl .tg.on { border-color: var(--accent); color: var(--text); background: var(--sel); }

/* Person profile (People module) */
.ps-head { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: start; }
.ps-head > .ps-kpis, .ps-head > .btn, .ps-head > .note { grid-column: 1 / -1; }
.ps-head > .btn { justify-self: start; }
.ps-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.ps-name { margin: 0; font-size: 22px; font-weight: 600; color: var(--text); }
.ps-role { color: var(--text-2); font-size: 14px; margin: 2px 0 4px; }
.ps-h3 { margin: 14px 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; }
.ps-h3:first-child { margin-top: 0; }
.ps-bio { border-left: 2px solid var(--line-strong); padding: 2px 0 2px 12px; margin-bottom: 12px; }
.ps-bio p { margin: 4px 0 0; color: var(--text); line-height: 1.5; max-width: 90ch; }
.ps-ul { margin: 4px 0 0; padding-left: 18px; color: var(--text-2); }
.ps-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ps .panel { scroll-margin-top: 8px; }
.tree-item.dim { color: var(--text-3); }

/* ── M&A History (transactions module) ─────────────────────────────────── */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; text-align: left; }
.linkbtn:hover { text-decoration: underline; }
.ma-st { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 9px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); white-space: nowrap; }
.ma-st.closed { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 40%, transparent); }
.ma-st.pending { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.ma-st.term { color: var(--neg); border-color: color-mix(in srgb, var(--neg) 40%, transparent); }
.ma-st.talk, .ma-st.rep { color: var(--text-3); font-weight: 500; }
.ma-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 12px; }
.ma-cols h4 { font-size: 12.5px; margin: 8px 0 6px; color: var(--text-2); }
.sub-h { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); margin: 14px 0 8px; font-weight: 600; }
.ma-tl { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 2px solid var(--line); }
.ma-tl li { display: flex; gap: 12px; padding: 4px 0 4px 12px; position: relative; font-size: 13px; line-height: 1.45; }
.ma-tl li::before { content: ''; position: absolute; left: -6px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); border: 2px solid var(--surface); }
.ma-tl li.agreement::before { background: var(--accent); }
.ma-tl li.filing.close::before { background: var(--pos); }
.ma-tl li.filing::before { background: var(--s3); }
.ma-tl li.news.terminated::before, .ma-tl li.filing.terminated::before { background: var(--neg); }
.ma-tl li.filing.vote::before, .ma-tl li.filing.agreement8k::before { background: var(--accent); }
.ma-tl .d { flex: 0 0 92px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ma-tl .w { flex: 1; min-width: 0; }
@media (max-width: 900px) { .ma-cols { grid-template-columns: 1fr; } }

/* saved screens (Screening sidebar) */
.scr-mine { display: flex; align-items: center; gap: 6px; }
.scr-mine a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.scr-al, .scr-del { border: 1px solid var(--line); background: var(--surface); color: var(--text-3); border-radius: 9px;
  font-size: 10.5px; padding: 0 6px; line-height: 16px; cursor: pointer; white-space: nowrap; }
.scr-al.on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.scr-del:hover { color: var(--neg); border-color: var(--neg); }
.scsave { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 6px; }

/* Red Flags (RF) */
.rf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.rf-card { border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: 4px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.rf-card.hot { border-left-color: var(--neg); }
.rf-card.warn { border-left-color: var(--warn-text); }
.rf-card.info { border-left-color: var(--accent); }
.rf-card.clear { border-left-color: color-mix(in srgb, var(--pos) 50%, transparent); }
.rf-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; }
.rf-d { font-size: 12px; color: var(--text-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rf-m { font-size: 11.5px; color: var(--text-3); margin-top: auto; }
.rf-ev { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.rf-ev:last-child { border-bottom: 0; }
.rf-risk { border-bottom: 1px solid var(--line); padding: 5px 0; font-size: 12.5px; }
.rf-risk summary { cursor: pointer; }
.rf-risk p { margin: 6px 0 2px; color: var(--text-2); line-height: 1.45; }

/* What's New (/ledger/new) */
.newdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 4px; vertical-align: 2px; }
.wn { max-width: 860px; margin: 0 auto; padding-block: 8px 40px; display: flex; flex-direction: column; gap: 14px; }
.wn-top h1 { font-size: 20px; margin: 4px 0 2px; }
.wn-rel { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.wn-rel.fresh { border-left: 3px solid var(--accent); }
.wn-when { font-size: 12.5px; color: var(--text-3); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.wn-body h2 { font-size: 15px; margin: 0 0 8px; text-wrap: balance; }
.wn-it { padding: 7px 0; border-top: 1px solid var(--line); }
.wn-it:first-of-type { border-top: 0; padding-top: 0; }
.wn-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; }
.wn-it p { margin: 3px 0 0; font-size: 12.5px; color: var(--text-2); line-height: 1.5; max-width: 68ch; }
.wn .fn { font: 600 11px/1.6 var(--mono, ui-monospace, monospace); padding: 0 5px; border-radius: 3px; background: var(--hover); color: var(--link); }
.wn-try { margin-left: auto; font-size: 12px; white-space: nowrap; }
@media (max-width: 640px) { .wn-rel { grid-template-columns: 1fr; gap: 6px; } .wn-try { margin-left: 0; } }
.badge[hidden], .newdot[hidden] { display: none; }

/* Proxy Votes (PV) */
.pv-v { font: 600 20px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.pv-m { padding: 10px 0; border-bottom: 1px solid var(--line); }
.pv-m:last-child { border-bottom: 0; }
.pv-m .dt { margin-top: 6px; }
.pv-hot td { background: color-mix(in srgb, var(--warn-bg) 60%, transparent); }
.pv-s { white-space: nowrap; }
.pv-bar { display: inline-block; width: 70px; height: 6px; border-radius: 3px; background: var(--hover); vertical-align: middle; margin-right: 6px; overflow: hidden; }
.pv-bar i { display: block; height: 100%; background: var(--accent); }
.pv-bar i.lo, .pv-col i.lo { background: var(--neg); }
.pv-sop { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 180px; padding-bottom: 18px; overflow-x: auto; }
.pv-col { flex: 1 0 34px; max-width: 56px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; position: relative; }
.pv-col i { display: block; width: 100%; background: var(--accent); border-radius: 3px 3px 0 0; }
.pv-col b { font: 600 11px var(--mono); }
.pv-col span { position: absolute; bottom: -17px; font-size: 11px; color: var(--text-3); }
.pv-line { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--neg); opacity: .7; pointer-events: none; }
.pv-fix { font-size: 10.5px; color: var(--text-3); border-bottom: 1px dotted var(--text-3); cursor: help; }
td.pv-s { min-width: 140px; }

/* Catalyst Calendar */
.ct-ag { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ct-dh { font-weight: 600; font-size: 12.5px; padding: 4px 0; border-bottom: 1px solid var(--line-strong); position: sticky; top: 0; background: var(--surface); }
.ct-ev { display: grid; grid-template-columns: 190px minmax(160px, 260px) 1fr auto; gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.ct-ev .tg { justify-self: start; }
.ct-t { color: var(--text-2); }
.ct-ck { font-size: 12px; color: var(--text-3); }
@media (max-width: 760px) { .ct-ev { grid-template-columns: 1fr; gap: 2px; } }
