/* styles/v2-revenue.css
   Vibe Dashboard v2 — "My revenue" (#revenue, VIB-389 · design S5 / VIB-399).
   The mock's inline styles, expressed on the --v-* token family only. Values
   the token sheet does not carry (white alphas, tinted borders, the overlay
   gradient) are derived with color-mix from tokens — never a local hex. */

.v2-revenue { display: flex; flex-direction: column; gap: 18px; }

/* ---------- header ---------- */
.v2-revenue-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}
.v2-revenue-head-text { flex: 1 1 260px; min-width: 0; }
.v2-revenue-title { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.6px; color: var(--v-text); }
.v2-revenue-subtitle { margin: 5px 0 0; color: var(--v-text-2); font-size: 14.5px; }
.v2-revenue-snapshot { text-align: right; flex-shrink: 0; }
.v2-revenue-snapshot-value { font-size: 16px; font-weight: 600; color: var(--v-text); margin-top: 3px; }

/* VIB-471: the "Show estimates" toggle + its note, next to the snapshot value. */
.v2-revenue-estimates { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.v2-rev-estimate-note { font-size: 12px; color: var(--v-amber); }

/* mono overline, the mock's 10.5px / 1.6px tracking */
.v2-rev-overline {
  font-family: var(--v-font-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: var(--v-text-2);
  text-transform: uppercase;
}
.v2-rev-overline.is-strong { font-size: 11px; color: color-mix(in srgb, var(--v-text-2) 70%, var(--v-text)); }

/* ---------- version cards (CR1/CR2) ---------- */
.v2-rev-versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v2-rev-version {
  appearance: none; font: inherit; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 14px 16px; border-radius: var(--v-r-card);
  border: 1px solid var(--v-border); background: var(--v-surface);
  color: var(--v-text-table);
  transition: border-color .15s ease;
}
.v2-rev-version:hover { border-color: color-mix(in srgb, white 16%, transparent); }
.v2-rev-version.is-selected {
  border-color: color-mix(in srgb, var(--v-link) 50%, transparent);
  background: var(--v-blue-tint);
  color: var(--v-text);
}
.v2-rev-version:focus-visible { outline: 2px solid var(--v-link); outline-offset: 2px; }
/* 40px mono badge: V1 / V1.5 / V2, blue on the live version */
.v2-rev-version-badge {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  border: 1px solid var(--v-border-well); background: var(--v-inset);
  display: grid; place-items: center;
  font-family: var(--v-font-mono); font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: var(--v-text-2);
}
.v2-rev-version-badge.is-live { color: var(--v-link); }
.v2-rev-version-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v2-rev-version-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.v2-rev-version-name { font-size: 15px; font-weight: 600; color: inherit; }
.v2-rev-version-status {
  font-family: var(--v-font-mono); font-size: 9.5px; letter-spacing: 1.3px;
  color: var(--v-text-2);
  border: 1px solid color-mix(in srgb, white 12%, transparent);
  border-radius: var(--v-r-badge); padding: 3px 8px;
}
.v2-rev-version-status.is-live { color: var(--v-green); border-color: color-mix(in srgb, var(--v-green) 35%, transparent); }
.v2-rev-version-meta { font-family: var(--v-font-mono); font-size: 11px; line-height: 1.4; color: var(--v-text-3); }

/* ---------- segment control + scope note ---------- */
.v2-rev-scope { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.v2-rev-seg {
  display: inline-flex; gap: 3px; padding: 3px; border-radius: 9px;
  background: var(--v-inset); border: 1px solid var(--v-border);
}
.v2-rev-seg-btn {
  appearance: none; border: 0; font: inherit; cursor: pointer;
  padding: 7px 14px; border-radius: 7px; font-size: 13px; font-weight: 600;
  color: var(--v-text-2); background: transparent;
}
.v2-rev-seg-btn.is-active { color: var(--v-text); background: var(--v-blue); }
.v2-rev-scope-note { font-size: 12.5px; color: var(--v-text-3); }

/* ---------- stat grid (CR4/CR5/CR7/CR19) ----------
   ONE hairline grid: the 1px gutter shows the grid's own background.
   D8 (2026-09-26): no POINTS tile on this page — 5-up on Vibecaps
   (self/network/tvl-self/tvl-network/revenue), 3-up on Majors or while
   the TVL pair is hidden. */
.v2-rev-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  background: var(--v-border-soft); border: 1px solid var(--v-border);
  border-radius: var(--v-r-card); overflow: hidden;
}
.v2-rev-stats.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-rev-stat { background: var(--v-surface); padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; min-width: 0; container-type: inline-size; }
.v2-rev-stat > .v2-rev-overline { letter-spacing: 1.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-rev-stat-value {
  height: 28px; display: flex; align-items: center;
  font-size: 24px; font-weight: 700; letter-spacing: -.6px;
  color: var(--v-heading); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.v2-rev-stat-value.is-green { color: var(--v-green); }
/* L12 (B060): an off-venue 0 is true by ruling, not a measured figure — muted. */
.v2-rev-stat-value.is-muted { color: var(--v-text-3); }
/* Subs wrap (up to two lines at 1440 with the sidebar open) rather than truncate. */
.v2-rev-stat-sub { font-size: 12px; line-height: 1.45; color: var(--v-text-3); overflow-wrap: anywhere; }
/* A missing value must READ as missing: a muted em dash, never a small number. */
.v2-rev-stat.is-missing .v2-rev-stat-value, .v2-rev-dash { color: var(--v-text-3); font-weight: 500; }
/* L13: an LP tile's "no LP position" marker — muted like the dash, never a figure. */
.v2-rev-lp-marker { color: var(--v-text-3); font-weight: 500; }
.v2-proof:empty { display: none; }

/* value-slot pill: 22px, mono, tinted */
.v2-rev-vpill {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px;
  border-radius: var(--v-r-badge); font-family: var(--v-font-mono); font-size: 10px; font-weight: 400;
  letter-spacing: 1.3px; white-space: nowrap; cursor: help; border: 1px solid transparent;
}
.v2-rev-vpill svg { width: 10px; height: 10px; }
.v2-rev-stat-value > [data-blurred] { display: inline-flex; align-items: center; max-width: 100%; }
/* VIB-471: a revealed estimate wraps its ESTIMATED pill under the number in a narrow tile. */
.v2-rev-stat-value > [data-estimated] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; max-width: 100%; }
/* The fixed 28px height would lay a wrapped pill over the sub-line; let the slot grow instead. */
.v2-rev-stat-value:has(> [data-estimated]) { height: auto; min-height: 28px; }
/* A narrow cell (sidebar open at 1440px) tightens the pill rather than letting
   CREDITING SOON spill past the hairline. */
@container (max-width: 136px) {
  .v2-rev-vpill { letter-spacing: .5px; padding: 0 6px; gap: 4px; }
}
.v2-rev-vpill.is-green { color: var(--v-green); border-color: color-mix(in srgb, var(--v-green) 35%, transparent); background: color-mix(in srgb, var(--v-green) 7%, transparent); }
.v2-rev-vpill.is-amber { color: var(--v-amber); border-color: color-mix(in srgb, var(--v-amber) 35%, transparent); background: var(--v-amber-tint); }
.v2-rev-vpill:focus-visible, .v2-rev-hpill:focus-visible { outline: 2px solid var(--v-link); outline-offset: 2px; }

/* ---------- tooltip ---------- */
.v2-rev-tip {
  position: fixed; z-index: 200; width: 280px; max-width: calc(100vw - 32px);
  padding: 12px 14px; border-radius: 10px;
  background: var(--v-inset);
  border: 1px solid color-mix(in srgb, white 12%, transparent);
  box-shadow: 0 12px 32px color-mix(in srgb, black 45%, transparent);
  pointer-events: none;
  transform: translate(-100%, calc(-100% - 12px));
}
.v2-rev-tip.is-sheet { left: 16px; right: 16px; bottom: 16px; width: auto; transform: none; pointer-events: auto; }
.v2-rev-tip-head { font-family: var(--v-font-mono); font-size: 9.5px; letter-spacing: 1.3px; margin-bottom: 6px; }
.v2-rev-tip-head.is-green { color: var(--v-green); }
.v2-rev-tip-head.is-amber { color: var(--v-amber); }
.v2-rev-tip-head.is-muted { color: var(--v-text-2); }
.v2-rev-tip-text { font-size: 12.5px; line-height: 1.55; color: var(--v-text-bright); }

/* ---------- tabbed card (CR9/CR10/CR12) ---------- */
.v2-rev-daily { padding: 0; }
.v2-rev-tabs-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap;
  padding: 0 22px; border-bottom: 1px solid var(--v-border-soft);
}
.v2-rev-tabs { display: flex; align-items: center; gap: 22px; }
.v2-rev-tab {
  appearance: none; background: transparent; border: 0; font: inherit; cursor: pointer;
  padding: 16px 0 14px; margin-bottom: -1px; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  color: var(--v-text-2); border-bottom: 2px solid transparent;
}
.v2-rev-tab.is-active { color: var(--v-text); border-bottom-color: var(--v-link); }
.v2-rev-tab.is-static { cursor: default; }
.v2-rev-tab:focus-visible { outline: 2px solid var(--v-link); outline-offset: 2px; }
.v2-rev-tab-controls { display: flex; align-items: center; gap: 14px; padding: 8px 0; flex-wrap: wrap; }
.v2-rev-range { font-size: 12.5px; color: var(--v-text-2); white-space: nowrap; }
.v2-rev-proofrow { padding: 10px 22px 0; }
.v2-rev-daily-body { position: relative; }
.v2-rev-daily-empty { padding: 22px; font-size: 13px; color: var(--v-text-2); }

/* D8 (2026-09-26): no POINTS/LP-REV columns on this page — Majors is
   day/vol/refvol/revenue (4.4fr track), Vibecaps adds tvl-self/tvl-network
   (6.4fr track), matching the mock's rsOverview per-day table exactly. */
.v2-rev-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.9fr; align-items: center; }
.v2-rev-grid.has-tvl { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 0.9fr; }
.v2-rev-grid-head {
  padding: 11px 22px; font-family: var(--v-font-mono); font-size: 10px; letter-spacing: 1.3px;
  color: var(--v-text-3); border-bottom: 1px solid color-mix(in srgb, white 5%, transparent);
}
.v2-rev-grid-row { padding: 13px 22px; border-bottom: 1px solid var(--v-border-row); }
.v2-rev-grid .is-right { text-align: right; }
.v2-rev-cell-wrap { display: flex; justify-content: flex-end; }

.v2-rev-day { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.v2-rev-day-date { font-size: 13.5px; color: var(--v-text); white-space: nowrap; }
.v2-rev-day-dow { font-family: var(--v-font-mono); font-size: 10px; letter-spacing: .8px; color: var(--v-text-3); white-space: nowrap; }

.v2-rev-cell { font-family: var(--v-font-mono); font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--v-text); }
.v2-rev-cell.is-green { color: var(--v-green); }
.v2-rev-cell.is-muted { color: var(--v-text-3); }
/* The not-tracked-yet state: blurred, unselectable, hidden from AT. */
.v2-rev-cell.is-blurred { color: var(--v-text-2); filter: blur(5px); user-select: none; pointer-events: none; }
/* screen-reader-only fallback for a blurred cell */
.v2-rev-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v2-rev-pill:focus-visible { outline: 2px solid var(--v-link); outline-offset: 2px; }

/* Right-anchored overlay (CR14): geometry is set inline; the pill stays in view
   on a long page (sticky) and sits centred on a short one. */
.v2-rev-overlay {
  position: absolute; top: 0; right: 22px; bottom: 0; pointer-events: none;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--v-surface) 0%, transparent) 0%,
    color-mix(in srgb, var(--v-surface) 90%, transparent) 30%,
    color-mix(in srgb, var(--v-surface) 90%, transparent) 100%);
  display: flex; flex-direction: column; justify-content: center;
}
.v2-rev-sticky {
  position: sticky; top: calc(50vh - 15px);
  display: flex; justify-content: center; width: 100%; pointer-events: none; box-sizing: border-box;
}
.v2-rev-moverlay .v2-rev-sticky { margin-top: 52px; }
.v2-rev-sticky.is-right { justify-content: flex-end; padding-right: 18px; }
.v2-rev-pill {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  font-family: var(--v-font-mono); font-size: 10px; letter-spacing: 1.4px; white-space: nowrap;
  background: var(--v-inset); border: 1px solid var(--v-border);
  box-shadow: 0 8px 24px color-mix(in srgb, black 40%, transparent);
  border-radius: 7px; cursor: help; max-width: calc(100% - 8px);
}
.v2-rev-pill.is-green { color: var(--v-green); border-color: color-mix(in srgb, var(--v-green) 35%, transparent); }
.v2-rev-pill.is-amber { color: var(--v-amber); border-color: color-mix(in srgb, var(--v-amber) 35%, transparent); }

/* mobile: stacked per-day cards */
.v2-rev-mrow { padding: 14px 18px 15px; border-bottom: 1px solid var(--v-border-row); display: flex; flex-direction: column; gap: 10px; }
.v2-rev-mrow .v2-rev-day-date { font-size: 14px; font-weight: 600; }
.v2-rev-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.v2-rev-mcell { display: flex; flex-direction: column; gap: 3px; }
.v2-rev-mcell .v2-rev-cell { font-size: 14px; }
.v2-rev-mlabel { font-family: var(--v-font-mono); font-size: 9.5px; letter-spacing: 1.2px; color: var(--v-text-3); }
.v2-rev-moverlay { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; }

/* footer (CR13): range · SHOW picker · pager */
.v2-rev-daily-foot { padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.v2-rev-foot-note { font-size: 12.5px; color: var(--v-text-3); white-space: nowrap; }
.v2-rev-foot-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.v2-rev-size { display: flex; align-items: center; gap: 8px; }
.v2-rev-size-label { font-family: var(--v-font-mono); font-size: 10px; letter-spacing: 1.3px; color: var(--v-text-3); }
.v2-rev-more {
  appearance: none; font: inherit; cursor: pointer; background: transparent;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid color-mix(in srgb, white 10%, transparent);
  color: var(--v-text-table); font-weight: 600; font-size: 13px;
  padding: 7px 13px; border-radius: var(--v-r-btn);
}
.v2-rev-more:hover { background: color-mix(in srgb, white 5%, transparent); border-color: color-mix(in srgb, white 18%, transparent); }

/* ---------- basis badge ---------- */
.v2-rev-basis {
  display: inline-flex; align-items: center;
  font-family: var(--v-font-mono); font-size: 9.5px; letter-spacing: 1.2px; font-weight: 600;
  border-radius: var(--v-r-badge); padding: 2px 6px; border: 1px solid transparent; cursor: help;
}
.v2-rev-basis.is-green { color: var(--v-green); background: var(--v-green-tint); border-color: color-mix(in srgb, var(--v-green) 30%, transparent); }
.v2-rev-basis.is-amber { color: var(--v-amber); background: var(--v-amber-tint); border-color: var(--v-border-amber); }
.v2-rev-basis.is-muted { color: var(--v-text-2); border-color: color-mix(in srgb, white 12%, transparent); }
.v2-rev-basis:focus-visible { outline: 2px solid var(--v-link); outline-offset: 2px; }
.v2-rev-sub-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- EARNINGS DETAIL (CR15/CR16) — the tab panel; a collapsible card on mobile ---------- */
.v2-rev-detail { padding: 0; }
.v2-rev-detail-head { padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-rev-detail-toggle { color: var(--v-text-2); transition: transform .15s ease; }
.v2-rev-detail-toggle.is-open { transform: rotate(180deg); }
.v2-rev-detail-toggle:focus-visible { outline: 2px solid var(--v-link); outline-offset: 2px; }
.v2-rev-detail .v2-rev-detail-body { border-top: 1px solid var(--v-border-soft); }
.v2-rev-detail-tiles {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  background: var(--v-border-soft); border-bottom: 1px solid var(--v-border-soft);
}
.v2-rev-detail-tile { padding: 20px 20px 18px; gap: 7px; }
.v2-rev-detail-value { font-size: 22px; letter-spacing: -.4px; }
.v2-rev-levels-head { padding: 22px 22px 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.v2-rev-levels-head .v2-rev-stat-sub { font-size: 12.5px; color: var(--v-text-2); white-space: normal; }
.v2-rev-levels-grid { display: grid; grid-template-columns: 0.8fr 1fr 1.2fr 1fr 1fr; align-items: center; }
.v2-rev-levels .v2-rev-grid-row { padding: 14px 22px; }
.v2-rev-levels .v2-rev-grid-row:last-child { border-bottom: 1px solid var(--v-border-row); }
.v2-rev-head-pill { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.v2-rev-hpill {
  display: inline-flex; align-items: center; height: 18px; padding: 0 5px; cursor: help;
  font-family: var(--v-font-mono); font-size: 8.5px; letter-spacing: 1px; border-radius: 4px;
  border: 1px solid transparent;
}
.v2-rev-hpill.is-green { color: var(--v-green); border-color: color-mix(in srgb, var(--v-green) 35%, transparent); background: color-mix(in srgb, var(--v-green) 7%, transparent); }
.v2-rev-hpill.is-amber { color: var(--v-amber); border-color: color-mix(in srgb, var(--v-amber) 35%, transparent); background: var(--v-amber-tint); }
.v2-rev-level-chip {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--v-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .5px;
  color: var(--v-link); background: var(--v-blue-tint); border: 1px solid var(--v-border-blue);
  border-radius: var(--v-r-badge); padding: 2px 8px; width: max-content;
}

.v2-rev-footnote { margin: 0; font-size: 12.5px; color: var(--v-text-3); line-height: 1.6; }
.v2-revenue-doclink { font-size: 13px; font-weight: 600; margin: -8px 0 0; }
.v2-revenue-doclink a { color: var(--v-link); text-decoration: none; }
.v2-revenue-doclink a:hover { color: var(--v-link-hover); text-decoration: underline; }

@media (max-width: 1099px) {
  /* 5-up (Vibecaps) narrows to 3 here; 3-up (Majors / TVL hidden) is
     already 3 and needs no change until the 759px breakpoint below. */
  .v2-rev-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-rev-detail-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .v2-rev-versions { grid-template-columns: 1fr; }
  .v2-rev-stats, .v2-rev-stats.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* P-RV-12: mock 2-col tiles (24px values). Long real values (e.g. "$6,220.80 /
     day") wrap instead of overflowing the narrow tile — base is nowrap/h28. */
  .v2-rev-detail-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-rev-detail-value { font-size: 24px; white-space: normal; height: auto; min-height: 28px; overflow-wrap: anywhere; }
  /* P-RV-12 (F4): the 5-col levels grid + header stay; they scroll inside an
     overflow-x:auto scroller with a min-width so no cell clips (mirrors the
     Volume slice's .v2-volume-table-scroll treatment). */
  .v2-rev-levels { overflow-x: auto; }
  .v2-rev-levels-grid { min-width: 560px; }
  /* P-RV-10: the mock has no per-row overlay on mobile. */
  .v2-rev-moverlay { display: none; }
  /* P-RV-3: "Show estimates" re-skinned as a small outlined pill (mock
     revActive chip: pad 6px 13px, r999, 12.5px/600). */
  .v2-revenue-estimates .v2-btn-estimates { padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
  /* P-RV-5 / P-RV-8: basis chips to the mock h22 / 10px mono / ls 1.3 spec.
     Scoped to this page: BasisBadge is shared with hero/tier/points (H10). */
  .v2-revenue .v2-basis-chip { height: 22px; font-size: 10px; letter-spacing: 1.3px; }
  /* P-RV-8: row1 = range note + Days/Weeks seg, row2 = activity pill. The
     head badge is app-only (no mock position), so it sorts last and never
     breaks the row1 pairing at 390px. */
  .v2-rev-tab-controls .v2-rev-range { order: 1; }
  .v2-rev-tab-controls .v2-rev-seg.is-small { order: 2; }
  .v2-rev-tab-controls .v2-rev-filter { order: 3; }
  .v2-rev-tab-controls .v2-rev-basis { order: 4; }
}
@media (max-width: 559px) {
  .v2-revenue-snapshot { text-align: left; }
}

/* VIB-414 / O28 — proof captions under the REFERRAL LEVELS table line up with its cells. */
.v2-rev-detail-body > .v2-proof { padding: 0 22px 14px; }

/* VIB-415 (O27 DAILY-TABLE-3) — grouping + activity controls, numbered pager (restyled R5). */
.v2-rev-seg.is-small { padding: 2px; gap: 2px; border-radius: 8px; }
.v2-rev-seg.is-small .v2-rev-seg-btn { padding: 5px 11px; font-size: 12.5px; border-radius: 6px; }
.v2-rev-seg.is-tiny { padding: 2px; gap: 2px; border-radius: 8px; }
.v2-rev-seg.is-tiny .v2-rev-seg-btn { padding: 4px 9px; font-family: var(--v-font-mono); font-size: 11.5px; border-radius: 6px; }
.v2-rev-filter {
  padding: 6px 12px; font: inherit; font-size: 12.5px; line-height: 1;
  color: var(--v-text-2); background: transparent; cursor: pointer;
  border: 1px solid color-mix(in srgb, white 12%, transparent); border-radius: var(--v-r-pill);
}
.v2-rev-filter:hover { background: color-mix(in srgb, white 5%, transparent); }
.v2-rev-filter.is-on { color: var(--v-text); border-color: color-mix(in srgb, var(--v-link) 50%, transparent); background: color-mix(in srgb, var(--v-blue) 18%, transparent); }
.v2-rev-daily-note { padding: 14px 22px; font-size: 13px; line-height: 1.6; color: var(--v-text-2); border-bottom: 1px solid var(--v-border-row); }
.v2-rev-pager { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.v2-rev-page {
  min-width: 32px; height: 32px; padding: 0 8px; display: grid; place-items: center;
  font-family: var(--v-font-mono); font-size: 12px; font-variant-numeric: tabular-nums;
  color: var(--v-text-2); background: transparent; cursor: pointer;
  border: 1px solid var(--v-border-well); border-radius: 7px;
}
.v2-rev-page:hover:not(:disabled) { background: color-mix(in srgb, white 5%, transparent); color: var(--v-text); }
.v2-rev-page.is-current { color: var(--v-text); border-color: color-mix(in srgb, var(--v-link) 50%, transparent); background: color-mix(in srgb, var(--v-blue) 18%, transparent); }
.v2-rev-page:disabled { cursor: default; }
.v2-rev-page.is-step:disabled { color: color-mix(in srgb, var(--v-text-3) 55%, var(--v-surface)); }
.v2-rev-page:disabled:not(.is-step):not(.is-current) { opacity: .5; }
.v2-rev-page-gap { min-width: 18px; text-align: center; font-size: 12.5px; color: var(--v-text-3); }
/* P-RV-11: the ≤759 3-row stack override is deleted — the base
   .v2-rev-daily-foot (space-between + wrap, pad 14px 22px) gives label-left +
   SHOW/pager-right in one wrapping row per the mock. */

/* REVLABEL (operator ruling 2026-09-21): muted old-model badge beside trade
   revenue figures. LP columns use the new formula and stay unbadged. */
.v2-rev-oldmodel {
  display: inline-block; font-family: var(--v-font-mono); font-size: 10px;
  letter-spacing: .8px; color: var(--v-text-3); border: 1px solid var(--v-border);
  border-radius: var(--v-r-badge); padding: 1px 7px; white-space: nowrap; vertical-align: middle;
}
