/* intraday.css — the Intraday Ranker page (#intraday, web/intraday.js), M-030, 2026-11-03, lane S.
   Tokens only: every colour is a var() from styles.css, the checked inks of readable.css / skins.css (--ink-2,
   --accent-ink, --bull-ink, --bear-ink, --amber-ink, --on-accent, each with a styles.css fallback), --cvc-orange /
   --cvc-violet (company_charts.js) or --seg-* (styles.css), or a color-mix() over them — so the page reads in light, dark
   and every skin. Text is never dimmed with opacity and never sits on a wash deeper than 18 %. Reference lines (zero) are
   --cvc-orange, never --muted. Every class is ix- (plus the app's shared .num and .placeholder). */

.ix-tab {
  --ix-ink2: var(--ink-2, var(--muted));
  --ix-acc: var(--accent-ink, var(--accent));
  --ix-up: var(--bull-ink, var(--bull));
  --ix-dn: var(--bear-ink, var(--bear));
  --ix-amb: var(--amber-ink, var(--amber));
  --ix-ref: var(--cvc-orange, var(--amber));
  --ix-onacc: var(--on-accent, var(--panel));
  --ix-line: var(--row-border, var(--border));
  padding: 0 14px 22px; font-size: 13px; color: var(--text);
}
.ix-tab .ix-up { color: var(--ix-up); }
.ix-tab .ix-dn { color: var(--ix-dn); }
.ix-dim, .ix-na { color: var(--muted); }
.ix-na { cursor: help; }
.ix-body { min-width: 0; }
.ix-tab a { color: var(--ix-acc); }

/* ─── chrome: one line (+ the sample-data ribbon), sticky inside #table-wrap ─── */
.ix-chrome {
  position: sticky; top: 0; z-index: 6;
  margin: 0 -14px 12px; padding: 6px 14px 7px;
  background: var(--panel); border-bottom: 1px solid var(--border);
}
.ix-mock {
  margin: 0 0 6px; padding: 3px 10px; border-radius: 6px; font-size: 12px; line-height: 1.45;
  border: 1px dashed var(--ix-amb); background: var(--amber-bg); color: var(--text);
}
.ix-mock b { color: var(--ix-amb); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; font-size: 11px; margin-right: 2px; }
.ix-pbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.ix-title { font-size: 14px; font-weight: 750; white-space: nowrap; }
.ix-title small { font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.ix-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
.ix-page {
  font: inherit; font-size: 13px; font-weight: 650; line-height: 1.5; padding: 3px 12px; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted);
}
.ix-page:hover { color: var(--text); background: var(--hover); border-color: var(--border); }
.ix-page.active { background-color: var(--accent); background-image: var(--accent-grad, none); border-color: var(--accent); color: var(--ix-onacc); }
.ix-fresh { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ix-fresh b { color: var(--text); font-weight: 600; }
.ix-fresh a { font-weight: 600; text-decoration: none; }
.ix-fresh a:hover { text-decoration: underline; }

/* ─── chips and tags ─── */
.ix-chip {
  display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 750; line-height: 1.5;
  letter-spacing: .02em; white-space: nowrap; cursor: help; border: 1px solid transparent;
}
.ix-chip-ok { color: var(--ix-up); background: var(--bull-bg); }
.ix-chip-amb { color: var(--ix-amb); background: var(--amber-bg); }
.ix-chip-bad { color: var(--ix-dn); background: var(--bear-bg); }
.ix-chip-grey { color: var(--grey-chip, var(--text)); background: var(--grey-chip-bg, var(--hover)); }
.ix-chip-pend { color: var(--ix-ink2); background: transparent; border-color: var(--border); border-style: dashed; font-weight: 650; }
.ix-tag {
  display: inline-block; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 650; line-height: 1.6;
  border: 1px solid var(--border); color: var(--text); white-space: nowrap; cursor: help;
}
.ix-tag-amb { color: var(--ix-amb); background: var(--amber-bg); border-color: transparent; }
.ix-tag-bad { color: var(--ix-dn); background: var(--bear-bg); border-color: transparent; }
.ix-tag-acc { color: var(--ix-acc); background: var(--accent-soft); border-color: transparent; }
.ix-stop { margin-left: 4px; font-size: 10px; font-weight: 700; color: var(--ix-dn); cursor: help; }

/* ─── verdict strip ─── */
.ix-verdict {
  margin: 0 0 12px; padding: 9px 12px 8px; border-radius: 8px;
  border: 1px solid var(--border); border-left: 4px solid var(--muted); background: var(--panel);
}
.ix-v-ok { border-left-color: var(--ix-up); }
.ix-v-amb { border-left-color: var(--ix-amb); }
.ix-v-bad { border-left-color: var(--ix-dn); }
.ix-v1 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.ix-v1 .ix-chip { font-size: 12px; padding: 2px 10px; }
.ix-vtext { font-size: 17px; font-weight: 750; line-height: 1.3; }
.ix-vpts { margin: 7px 0 5px; padding-left: 18px; display: grid; grid-template-columns: 1fr; gap: 2px 28px; line-height: 1.45; }
.ix-vpts li { padding-left: 2px; }
.ix-vmeta { display: flex; flex-wrap: wrap; gap: 3px 16px; font-size: 12px; color: var(--muted); }
.ix-vmeta b { color: var(--text); font-weight: 650; }

/* ─── sections ─── */
.ix-sec { margin: 0 0 14px; }
.ix-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 6px; font-size: 14px; font-weight: 750; }
.ix-sub { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.ix-h4 { margin: 8px 0 4px; font-size: 13px; font-weight: 750; }
.ix-h4-l { color: var(--ix-up); }
.ix-h4-s { color: var(--ix-dn); }
.ix-h4 .ix-dim { font-weight: 500; font-size: 11.5px; }
.ix-one { padding: 10px 12px; color: var(--muted); border: 1px dashed var(--border); border-radius: 6px; }
.ix-one b { color: var(--text); }
/* the matrix is the page's main answer: framed and accented */
.ix-inputs { padding: 8px 10px 10px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--panel); }
.ix-inputs > .ix-h { font-size: 15px; }
.ix-shadow > .ix-h { border-bottom: 1px dashed var(--border); padding-bottom: 3px; }

/* ─── the four checks / by-year strips: one aligned row each ─── */
.ix-ev { border-top: 1px solid var(--ix-line); }
/* label | cells, the read under the cells; a third column for the read on a wide screen */
.ix-evrow {
  display: grid; grid-template-columns: minmax(136px, 190px) minmax(0, 1fr); gap: 4px 12px; align-items: center;
  padding: 6px 0; border-bottom: 1px solid var(--ix-line);
}
.ix-evlab { grid-row: span 2; align-self: start; padding-top: 2px; }
.ix-evlab b { display: block; font-size: 12.5px; font-weight: 700; }
.ix-evlab small { display: block; font-size: 11px; color: var(--muted); line-height: 1.35; }
.ix-evcells { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ix-evread { grid-column: 2; font-size: 12px; color: var(--ix-ink2); line-height: 1.4; }
.ix-evread:empty { display: none; }
.ix-cell {
  flex: 1 1 116px; min-width: 104px; max-width: 210px; display: flex; flex-direction: column; gap: 2px;
  padding: 4px 7px 5px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel);
}
.ix-cell.ix-ho { border-color: var(--accent); }
.ix-cl { font-size: 11px; font-weight: 650; color: var(--ix-ink2); line-height: 1.25; }
.ix-cs { font-size: 11px; color: var(--muted); white-space: nowrap; }
.ix-cs b { color: var(--text); font-size: 12.5px; }
.ix-cs em, .ix-lb em, .ix-lr em { font-style: normal; font-weight: 650; }
.ix-scope { margin-left: 3px; font-size: 9.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ix-src { display: inline; }
.ix-src > summary { display: inline; list-style: none; cursor: pointer; font-weight: 800; color: var(--ix-acc); padding: 0 4px; }
.ix-src > summary::-webkit-details-marker { display: none; }
.ix-src[open] > summary { margin-right: 3px; }

/* ─── inline bars: number on the bar, 18 % washes ─── */
.ix-hb, .ix-db { position: relative; display: block; height: 18px; border-radius: 3px; overflow: hidden; cursor: help;
  background: color-mix(in srgb, var(--border) 30%, transparent); }
.ix-hb > i, .ix-db > .ix-db-b { position: absolute; top: 0; bottom: 0; left: 0; }
.ix-hb > b, .ix-db > .ix-db-t { position: relative; display: block; padding: 0 5px; font-size: 11.5px; font-weight: 650; line-height: 18px;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.ix-db { min-width: 96px; }
.ix-db > .ix-db-t { text-align: right; }
.ix-db > .ix-db-z { position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px; background: var(--ix-ref); }
.ix-db > .ix-db-b.ix-neg { left: auto; }
.ix-pos { background: color-mix(in srgb, var(--bull) 18%, transparent); }
.ix-neg { background: color-mix(in srgb, var(--bear) 18%, transparent); }

/* ─── tables ─── */
.ix-twrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); }
.ix-t { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.ix-t th, .ix-t td { padding: 4px 8px; border-bottom: 1px solid var(--ix-line); text-align: left; vertical-align: middle; white-space: nowrap; }
.ix-t thead th { background: var(--thead); font-size: 11.5px; font-weight: 650; color: var(--text); }
.ix-t tbody tr:last-child > * { border-bottom: 0; }
.ix-t tbody tr:hover > td, .ix-t tbody tr:hover > th { background: var(--hover); }
.ix-t .num { text-align: right; font-variant-numeric: tabular-nums; }
.ix-t td.ix-bc { min-width: 104px; padding-top: 3px; padding-bottom: 3px; }
.ix-oc { display: flex; align-items: center; gap: 4px; }
.ix-oc > .ix-db { flex: 1 1 auto; }
.ix-oc > .ix-stop { margin-left: 0; flex: 0 0 auto; }
.ix-sb { font: inherit; font-weight: 650; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; white-space: nowrap; }
.ix-sb:hover { color: var(--ix-acc); }
.ix-son .ix-sb { color: var(--ix-acc); }
.ix-fam, .ix-symc { position: sticky; left: 0; z-index: 1; background: var(--panel); font-weight: 650; }
.ix-t thead th:first-child { position: sticky; left: 0; z-index: 2; }
.ix-lit, .ix-note { white-space: normal !important; min-width: 220px; max-width: 360px; font-size: 12px; line-height: 1.35; }
.ix-note { color: var(--ix-ink2); }
.ix-grp td { background: var(--thead); font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ix-ink2); padding-top: 3px; padding-bottom: 3px; }
.ix-grp-n { font-weight: 500; letter-spacing: 0; color: var(--muted); }
.ix-t tbody tr.ix-grp:hover > td { background: var(--thead); }
.ix-champrow > th, .ix-champrow > td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.ix-sym { font-weight: 750; text-decoration: none; }
.ix-sym:hover { text-decoration: underline; }
.ix-rk { color: var(--muted); }
.ix-sector { color: var(--ix-ink2); font-size: 12px; }
.ix-gv { font-weight: 600; }
.ix-sides { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }

/* ─── shadow ledger: one line ─── */
.ix-ledger {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 6px; padding: 5px 9px;
  border: 1px dashed var(--border); border-radius: 6px; font-size: 12px;
}
.ix-ll { font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ix-acc); }
.ix-lb b { font-weight: 700; }
.ix-lrs { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; }
.ix-lr { white-space: nowrap; cursor: help; }

/* ─── equity chart ─── */
.ix-eq { border: 1px solid var(--border); border-radius: 6px; background: var(--panel); padding: 4px 2px 0; }
.ix-eq svg { display: block; width: 100%; height: auto; cursor: crosshair; }
.ix-ln { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.ix-ln.ix-champ { stroke: var(--accent); stroke-width: 2.6; }
.ix-ln.ix-c1 { stroke: var(--cvc-violet, var(--seg-val)); }
.ix-ln.ix-c2 { stroke: var(--seg-ret); }
.ix-ln.ix-c3 { stroke: var(--seg-eco); }
.ix-ln.ix-c4 { stroke: var(--seg-mkt); }
.ix-ln.ix-c5 { stroke: var(--seg-grw); }
.ix-ln.ix-c6 { stroke: var(--seg-qua); }
.ix-ln.ix-dash { stroke-dasharray: 6 4; }
.ix-ref { stroke: var(--ix-ref); stroke-width: 1.3; stroke-dasharray: 5 3; }
.ix-grid { stroke: var(--ix-line); stroke-width: 1; }
.ix-tick { stroke: var(--border); }
.ix-ax { fill: var(--muted); font-size: 11px; font-family: inherit; }
.ix-cross { stroke: var(--text); stroke-width: 1; stroke-dasharray: 2 3; }
.ix-eqleg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 2px 2px; font-size: 12px; }
.ix-lg { white-space: nowrap; }
.ix-lg b { font-weight: 650; margin-left: 2px; }
.ix-sw { display: inline-block; width: 18px; height: 0; margin-right: 5px; vertical-align: middle; border-top: 3px solid var(--muted); }
.ix-sw.ix-champ { border-top-color: var(--accent); }
.ix-sw.ix-c1 { border-top-color: var(--cvc-violet, var(--seg-val)); }
.ix-sw.ix-c2 { border-top-color: var(--seg-ret); }
.ix-sw.ix-c3 { border-top-color: var(--seg-eco); }
.ix-sw.ix-c4 { border-top-color: var(--seg-mkt); }
.ix-sw.ix-c5 { border-top-color: var(--seg-grw); }
.ix-sw.ix-c6 { border-top-color: var(--seg-qua); }
.ix-sw.ix-dash { border-top-style: dashed; }
.ix-eqread { min-height: 18px; margin: 2px 2px 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.ix-eqread b { font-weight: 650; }

/* ─── folds ─── */
.ix-fold { margin: 12px 0 0; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); }
.ix-fold > summary { cursor: pointer; padding: 6px 10px; font-size: 12.5px; font-weight: 650; }
.ix-foldb { padding: 0 12px 10px; }
.ix-foldb p { margin: 6px 0 0; font-size: 12px; }
.ix-howl { margin: 4px 0 0; padding-left: 18px; line-height: 1.45; }
.ix-howl li { margin: 3px 0; }
.ix-research td { white-space: normal; }

@media (min-width: 1180px) {
  .ix-vpts { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1320px) {
  .ix-evrow { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) minmax(220px, 320px); }
  .ix-evlab { grid-row: auto; align-self: center; padding-top: 0; }
  .ix-evread { grid-column: auto; }
}
@media (max-width: 700px) {
  .ix-tab { padding: 0 10px 18px; }
  .ix-chrome { margin: 0 -10px 10px; padding: 6px 10px; }
  .ix-fresh { margin-left: 0; }
  .ix-vtext { font-size: 15px; }
  .ix-evrow { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ix-evlab { grid-row: auto; }
  .ix-evread { grid-column: auto; }
  .ix-cell { flex-basis: 100px; min-width: 96px; }
  .ix-lit, .ix-note { min-width: 170px; }
  .ix-inputs { padding: 6px 6px 8px; }
}
