/* ═══ THE REPLAY PAGE, /replay (batch REPLAY3, 6 Nov 2026; GREAT-WALL D2, D3, D4) ══════════════════════════════════
   A page of its own for market replay, on the site's header and the replay's own stylesheet (css/replay.css: the
   top bar, the stage, the ticket, the transport bar, the figures, the result card). This file is the page around it:
   the head (one title, the three views as one segmented row, one New session), white even cards on the page's
   grey, the New session form, the session rows, the pick-a-candle frame, the analytics tiles, charts and tables,
   the empty states and the tooltips.

   THE DESIGN PASS after the owner's look at the mock-up (6 Nov 2026, "a good first start ... a lot of work to do
   styling-wise"): one type scale (28 / 18 / 14 / 13 / 12 / 10.5 uppercase labels), one spacing rhythm (4, 8, 12,
   16, 24), every card the same white, hairline seams inside a card and never a second border; the figures carry
   the page, the words sit under them in 11.5px grey; explanations only in the tiles' tooltips; the head's three
   views and New session on one line, the sessions as a table of rows with the result right-aligned and the
   progress as a thin teal line; the pick frame is the replay's own frame (the same top bar) with one teal strip
   that says what to do; empty states are short, one sentence and one control. Teal for the chosen state (outlined)
   and the one primary action; green only for a gain or Buy, red for a loss or Sell; every control bordered; no
   long dashes. Phone rules only in the one @media block at the end, 390 and 320 first. */

.rpp-body { margin: 0; background: var(--cdp-bg, #f6f8fb); color: var(--cdp-text, #132033); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
.rpp { max-width: 1240px; margin: 0 auto; padding: 24px 24px 56px; }
.rpp-muted { font-size: 12.5px; font-weight: 500; color: var(--cdp-muted, #667085); }
.rpp-none { font-size: 13px; font-weight: 600; color: var(--cdp-muted, #667085); letter-spacing: 0; }

/* ── the head: one title, the views, one action ─────────────────────────────────────────────────────────────────── */
.rpp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin: 0 0 16px; }
.rpp-head-t { min-width: 0; }
.rpp-head h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.rpp-head p { margin: 6px 0 0; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--cdp-muted, #667085); }
.rpp-head-r { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.rpp-tabs .rp-seg-btn { min-height: 40px; padding: 0 18px; font-size: 13.5px; font-weight: 600; }
.rpp-new { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.rpp-new[aria-expanded="true"] { background: var(--cdp-panel, #fff); color: var(--rp-acc); box-shadow: inset 0 0 0 1px var(--rp-acc); }

/* ── cards ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
.rpp-panel { background: var(--cdp-panel, #fff); border: 1px solid var(--cdp-hairline, #e6ebf2); border-radius: var(--jag-radius-panel, 4px); overflow: hidden; }
/* 7 Nov 2026 (owner: "search bar cutoff"): the New session panel's stock list drops below the panel's edge;
   that panel must not clip it. */
.rpp-panel.rpp-newpanel { overflow: visible; }
.rpp-sugg { z-index: 40; }
.rpp-panel + .rpp-panel { margin-top: 16px; }
.rpp-phead { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); }
.rpp-phead h2 { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.rpp-phead h2 small { font-size: 12.5px; font-weight: 500; color: var(--cdp-muted, #667085); }
.rpp-phead h2 small:empty { display: none; }
.rpp-phead .rp-x { margin-left: auto; }
.rpp-ex { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border: 1px solid var(--rp-acc); border-radius: var(--rp-r); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rp-acc); white-space: nowrap; cursor: help; }
.rpp-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; padding: 28px 16px 30px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--cdp-muted, #667085); }
.rpp-empty b { font-size: 15px; font-weight: 700; color: var(--cdp-text, #132033); }
.rpp-empty .rp-btn { margin-top: 8px; min-height: 38px; padding: 0 16px; }
p.rpp-empty { display: block; }

/* ── New session ───────────────────────────────────────────────────────────────────────────────────────────────── */
.rpp-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name cash" "stocks day" "status status" "foot foot"; gap: 16px 32px; padding: 16px; }
.rpp-f-name { grid-area: name; } .rpp-f-cash { grid-area: cash; } .rpp-f-stocks { grid-area: stocks; } .rpp-f-day { grid-area: day; }
.rpp-form .rp-field { margin: 0; min-width: 0; }
.rpp-form .rp-field label, .rpp-form .rp-field > .rp-lbl { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.rpp-form .rp-field label small { font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--cdp-muted, #667085); }
.rpp-form .rp-field .rp-in { width: 100%; box-sizing: border-box; min-height: 40px; }
.rpp-form .rp-segrow { display: flex; }
.rpp-form .rp-seg-btn { min-height: 40px; padding: 0 10px; font-size: 13px; }
.rpp-days { flex-wrap: wrap; }
.rpp-days .rp-seg-btn { flex: 1 1 auto; }
.rpp-custom { margin-top: 10px; max-width: 260px; }
.rpp-custom[hidden] { display: none; }
.rpp-custom .rp-lbl { margin-bottom: 6px; }
.rpp-symwrap { position: relative; }
.rpp-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--cdp-border, #75828F); border-radius: var(--rp-r); background: var(--cdp-panel, #fff); box-shadow: var(--jag-shadow-float, 0 10px 28px rgba(15, 23, 42, .18)); }
.rpp-sugg[hidden] { display: none; }
.rpp-opt { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; min-height: 38px; margin: 0; padding: 0 12px; border: 0; border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); background: transparent; color: var(--cdp-text, #132033); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.rpp-opt:last-child { border-bottom: 0; }
.rpp-opt b { font-weight: 800; min-width: 52px; }
.rpp-opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--cdp-muted, #667085); }
.rpp-opt:hover, .rpp-opt:focus-visible { background: var(--cdp-panel-2, #fbfcfe); outline: 0; box-shadow: inset 2px 0 0 var(--rp-acc); }
.rpp-opt-none { cursor: default; color: var(--cdp-muted, #667085); font-weight: 500; }
.rpp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 0; }
.rpp-chips:empty { display: none; }
.rpp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 6px 0 12px; border: 1px solid var(--cdp-border, #75828F); border-radius: var(--rp-r); background: var(--cdp-panel, #fff); color: var(--cdp-text, #132033); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.rpp-chip span { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid var(--cdp-border, #75828F); border-radius: var(--rp-r); font-size: 10px; font-weight: 700; color: var(--cdp-muted, #667085); }
.rpp-chip:hover, .rpp-chip:hover span { border-color: var(--cdp-text, #132033); }
.rpp-status { grid-area: status; margin: -4px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--cdp-text, #132033); }
.rpp-status[hidden] { display: none; }
.rpp-form-foot { grid-area: foot; display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--cdp-hairline, #e6ebf2); }
.rpp-form-foot .rp-btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.rpp-form-foot .rp-btn[aria-busy="true"] { cursor: progress; opacity: .85; }

/* the Pro offer where the form would be (a Free member), and the signed-out line */
.rpp-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 24px 16px; }
.rpp-offer-t { flex: 1 1 100%; margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.rpp-offer-l { flex: 1 1 360px; margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--cdp-muted, #667085); }
.rpp-offer-go { display: flex; flex-direction: column; align-items: stretch; flex: 0 1 280px; min-width: 0; }
.rpp-offer-go .jtry { margin: 0 0 8px; }
.rpp-offer-go .jtry .jtry-go { width: 100%; }
.rpp-offer-go .rp-btn { min-height: 44px; font-size: 14px; }

/* ── the session rows ──────────────────────────────────────────────────────────────────────────────────────────── */
.rpp-sessions { list-style: none; margin: 0; padding: 0; }
.rpp-sessions li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(120px, auto) 150px auto; align-items: center; gap: 4px 20px; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); font-size: 13px; }
.rpp-sessions li:last-child { border-bottom: 0; }
.rpp-sessions li:hover { background: var(--cdp-panel-2, #fbfcfe); }
.rpp-sname { min-width: 0; }
.rpp-sname b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpp-sname small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--cdp-muted, #667085); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpp-swhen { font-size: 12px; font-weight: 500; color: var(--cdp-muted, #667085); white-space: nowrap; }
.rpp-swhen b { display: block; font-size: 13px; color: var(--cdp-text, #132033); font-weight: 700; }
.rpp-sret { text-align: right; font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.rpp-sret.rpp-muted { font-size: 13px; font-weight: 600; }
.rpp-sret small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--cdp-muted, #667085); }
.rpp-sprog { font-size: 11.5px; font-weight: 600; color: var(--cdp-muted, #667085); white-space: nowrap; }
.rpp-sbar { display: block; height: 4px; width: 100%; margin: 0 0 6px; border-radius: 2px; background: var(--cdp-hairline, #e6ebf2); overflow: hidden; }
.rpp-sbar i { display: block; height: 100%; background: var(--rp-acc); }
.rpp-sessions .rp-btn, .rpp-btns { justify-self: end; }
.rpp-sessions .rp-btn.rp-small { min-height: 34px; padding: 0 14px; font-size: 12.5px; white-space: nowrap; }
.rpp-btns { display: flex; gap: 6px; }

/* ── the replay view ───────────────────────────────────────────────────────────────────────────────────────────── */
.rpp-replay .rp, .rpp-pick { border: 1px solid var(--cdp-hairline, #e6ebf2); border-radius: var(--jag-radius-panel, 4px); background: var(--cdp-panel, #fff); overflow: hidden; }
.rpp-replay .rp[hidden], .rpp-pick[hidden] { display: none; }
.rpp-stockrow { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.rpp-stockrow[hidden] { display: none; }
.rpp-stockrow .rp-seg-btn { min-height: 36px; padding: 0 14px; font-weight: 800; }
.rpp-empty-wrap[hidden] { display: none; }
.rpp-empty-replay { padding: 48px 24px 52px; align-items: center; text-align: center; background: var(--cdp-panel, #fff); border: 1px solid var(--cdp-hairline, #e6ebf2); border-radius: var(--jag-radius-panel, 4px); }
.rpp-empty-replay b { font-size: 18px; letter-spacing: -.015em; }
.rpp-sess-name { color: var(--cdp-text, #132033); font-weight: 600; }
.rpp-pickbar { display: flex; align-items: center; gap: 12px 16px; min-height: 52px; padding: 8px 16px; border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); background: var(--rp-acc-soft); font-size: 13.5px; font-weight: 600; }
.rpp-pickbar[hidden] { display: none; }
.rpp-pickwords { flex: 1 1 240px; min-width: 0; }
.rpp-pickwords b { font-weight: 800; }
.rpp-pickgo { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.rpp-pickgo .rp-btn { min-height: 38px; padding: 0 16px; font-size: 13.5px; background: var(--cdp-panel, #fff); }
.rpp-pickgo .rp-btn.rp-primary { background: var(--rp-acc); }
.rpp-pickgo .rp-btn[hidden] { display: none; }
.rpp-pickcanvas { min-height: 440px; }
.rpp-replay .rp-canvas { min-height: 420px; }
.rpp-slot:empty { display: none; }

/* ── analytics ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.rpp-analytics .rpp-phead { flex-wrap: wrap; row-gap: 8px; }
.rpp-range { margin-left: auto; }
.rpp-range .rp-seg-btn { min-height: 34px; padding: 0 14px; font-size: 12.5px; }
.rpp-figs { margin: 0; border-top: 0; border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); }
.rpp-figs .rp-fig { flex-basis: 200px; padding: 14px 16px 16px; }
.rpp-figs .rp-fig b { font-size: 22px; letter-spacing: -.02em; }
.rpp-figs .rp-fig.rp-fig-main b { font-size: 28px; }
.rpp-figs .rp-fig b .rp-up, .rpp-figs .rp-fig b .rp-down { display: inline-block; }
.rpp-figs .rp-fig b .rp-up + .rp-down { margin-left: 10px; }
.rpp-figs .rp-fig b .rpp-none { display: block; margin-top: 4px; }
.rp-fig[data-tip] { position: relative; cursor: help; outline: 0; }
.rp-fig[data-tip] i::after { content: "?"; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-left: 6px; border: 1px solid var(--cdp-border, #75828F); border-radius: 50%; font-size: 9.5px; font-weight: 800; letter-spacing: 0; color: var(--cdp-muted, #667085); vertical-align: 1px; }
.rp-fig[data-tip]:hover::after, .rp-fig[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; left: 16px; right: 16px; top: calc(100% - 8px); z-index: 5;
  padding: 10px 12px; border: 1px solid var(--cdp-border, #75828F); border-radius: var(--jag-radius-panel, 4px);
  background: var(--cdp-panel-2, #fbfcfe); color: var(--cdp-text, #132033); font-size: 12.5px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none; white-space: normal;
  box-shadow: var(--jag-shadow-float, 0 10px 28px rgba(15, 23, 42, .18));
}
.rp-fig[data-tip]:focus-visible { box-shadow: inset 0 0 0 2px var(--rp-acc); }
.rpp-charts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.rpp-chart { position: relative; min-width: 0; padding: 14px 16px 12px; border-right: 1px solid var(--cdp-hairline, #e6ebf2); }
.rpp-chart:last-child { border-right: 0; }
.rpp-chart h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cdp-muted, #667085); }
.rpp-chart h3 small { font-weight: 600; text-transform: none; letter-spacing: 0; }
.rpp-chart svg { display: block; width: 100%; height: auto; }
.rpp-chart-none { display: flex; align-items: center; justify-content: center; min-height: 180px; margin: 0; font-size: 12.5px; font-weight: 500; color: var(--cdp-muted, #667085); border: 1px dashed var(--cdp-hairline, #e6ebf2); border-radius: var(--jag-radius-panel, 4px); }
.rpp-chart .ax { stroke: var(--cdp-hairline, #e6ebf2); stroke-width: 1; }
.rpp-chart .ax0 { stroke: var(--cdp-border, #75828F); }
.rpp-chart .lbl { fill: var(--cdp-muted, #667085); font-size: 10.5px; font-weight: 600; }
.rpp-chart .line { fill: none; stroke: var(--rp-acc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rpp-chart .fill { fill: var(--rp-acc); opacity: .1; }
.rpp-chart .up { fill: var(--cdp-green-text, #15803d); }
.rpp-chart .down { fill: var(--cdp-red, #dc2626); }
.rpp-chart .flat { fill: var(--cdp-muted, #667085); }
.rpp-chart .hit { fill: transparent; }
.rpp-chart .dot { fill: var(--cdp-panel, #fff); stroke: var(--rp-acc); stroke-width: 2; }
.rpp-chart .cross { stroke: var(--cdp-muted, #667085); stroke-width: 1; stroke-dasharray: 3 3; }
.rpp-tip { position: absolute; z-index: 6; pointer-events: none; padding: 6px 9px; border: 1px solid var(--cdp-border, #75828F); border-radius: var(--jag-radius-panel, 4px); background: var(--cdp-panel-2, #fbfcfe); color: var(--cdp-text, #132033); font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: var(--jag-shadow-float, 0 10px 28px rgba(15, 23, 42, .18)); }
.rpp-tip[hidden] { display: none; }
.rpp-tables { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--cdp-hairline, #e6ebf2); }
.rpp-table { min-width: 0; }
.rpp-table + .rpp-table { border-left: 1px solid var(--cdp-hairline, #e6ebf2); }
.rpp-table h3 { display: flex; align-items: center; margin: 0; min-height: 32px; padding: 0 16px; border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); background: var(--cdp-panel-2, #fbfcfe); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cdp-muted, #667085); }
.rpp-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rpp-table th { padding: 8px 16px; text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cdp-muted, #667085); border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); }
.rpp-table td { padding: 9px 16px; border-bottom: 1px solid var(--cdp-hairline, #e6ebf2); font-weight: 600; white-space: nowrap; }
.rpp-table td b { font-weight: 800; }
.rpp-table td small { display: block; font-size: 11.5px; font-weight: 500; color: var(--cdp-muted, #667085); }
.rpp-table tr:last-child td { border-bottom: 0; }
.rpp-table .rp-num { text-align: right; }
.rpp-td-none { color: var(--cdp-muted, #667085); font-weight: 500; }

/* ── dark ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
html[data-chart-theme="dark"] .rpp-pickbar { background: var(--rp-acc-soft); }
html[data-chart-theme="dark"] .rpp-pickgo .rp-btn { background: var(--cdp-panel, #151D29); }
html[data-chart-theme="dark"] .rpp-pickgo .rp-btn.rp-primary { background: var(--rp-acc); }
html[data-chart-theme="dark"] .rpp-sugg, html[data-chart-theme="dark"] .rpp-tip { box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }

/* ── phones ────────────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .rpp { padding: 12px 12px 120px; }
  .rpp-head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 12px; }
  .rpp-head h1 { font-size: 24px; }
  .rpp-head p { font-size: 13px; }
  .rpp-head-r { flex-direction: column; align-items: stretch; gap: 10px; }
  .rpp-tabs { display: flex; }
  .rpp-tabs .rp-seg-btn { flex: 1 1 0; min-height: 44px; padding: 0 6px; font-size: 13px; }
  .rpp-new { min-height: 44px; }
  .rpp-panel + .rpp-panel { margin-top: 12px; }
  .rpp-phead { min-height: 44px; padding: 0 12px; }
  .rpp-form { grid-template-columns: 1fr; grid-template-areas: "name" "cash" "stocks" "day" "status" "foot"; gap: 14px; padding: 12px; }
  .rpp-form .rp-seg-btn, .rpp-form .rp-field .rp-in, .rpp-chip, .rpp-opt { min-height: 44px; }
  .rpp-form .rp-seg-btn { padding: 0 6px; font-size: 12.5px; }
  .rpp-chip span { width: 28px; height: 28px; }
  .rpp-custom { max-width: none; }
  .rpp-form-foot { flex-direction: column; align-items: stretch; }
  .rpp-form-foot .rp-btn { min-height: 44px; }
  .rpp-offer { padding: 18px 12px; }
  .rpp-offer-t { font-size: 17px; }
  .rpp-sessions li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name ret" "when ret" "prog btn"; gap: 6px 12px; padding: 12px; }
  .rpp-sname { grid-area: name; }
  .rpp-swhen { grid-area: when; }
  .rpp-sret { grid-area: ret; align-self: start; }
  .rpp-sprog { grid-area: prog; align-self: end; }
  .rpp-sessions .rp-btn, .rpp-btns { grid-area: btn; }
  .rpp-sessions .rp-btn.rp-small { min-height: 44px; padding: 0 16px; }
  .rpp-btns { flex-wrap: wrap; justify-content: flex-end; }
  .rpp-sbar { margin-bottom: 4px; }
  .rpp-stockrow { gap: 10px; }
  .rpp-stockrow .rp-seg-btn { min-height: 44px; flex: 1 1 0; }
  .rpp-stockrow .rp-segrow { display: flex; flex: 1 1 auto; }
  .rpp-pickbar { flex-wrap: wrap; padding: 10px 12px; }
  .rpp-pickgo { flex: 1 1 100%; flex-wrap: wrap; }
  .rpp-pickgo .rp-btn { flex: 1 1 0; min-height: 44px; }
  .rpp-pickcanvas { min-height: 320px; }
  .rpp-replay .rp-canvas { min-height: 300px; }
  .rpp-empty-replay { padding: 36px 16px; }
  .rpp-empty-replay .rp-btn { min-height: 44px; }
  .rpp-analytics .rpp-phead { padding: 10px 12px; }
  .rpp-range { margin: 0; width: 100%; display: flex; }
  .rpp-range .rp-seg-btn { min-height: 44px; flex: 1 1 0; padding: 0 6px; font-size: 12.5px; }
  .rpp-figs .rp-fig { flex-basis: 45%; padding: 12px 12px 14px; }
  .rpp-figs .rp-fig b { font-size: 19px; }
  .rpp-figs .rp-fig.rp-fig-main b { font-size: 24px; }
  .rpp-figs .rp-fig b .rp-up, .rpp-figs .rp-fig b .rp-down { display: block; }
  .rpp-figs .rp-fig b .rp-up + .rp-down { margin: 2px 0 0; }
  .rp-fig[data-tip]:hover::after, .rp-fig[data-tip]:focus-visible::after { left: 8px; right: 8px; }
  .rpp-charts, .rpp-tables { grid-template-columns: 1fr; }
  .rpp-chart { border-right: 0; padding: 12px; }
  .rpp-chart + .rpp-chart { border-top: 1px solid var(--cdp-hairline, #e6ebf2); }
  .rpp-table + .rpp-table { border-left: 0; border-top: 1px solid var(--cdp-hairline, #e6ebf2); }
  .rpp-table th, .rpp-table td { padding-left: 12px; padding-right: 12px; }
  .rpp-replay .rp-top { flex-wrap: nowrap; }
  .rpp-sess-name { display: none; }
}
@media (max-width: 359px) {
  .rpp-tabs .rp-seg-btn { font-size: 12px; padding: 0 4px; }
  .rpp-form .rp-seg-btn { font-size: 11.5px; padding: 0 4px; }
  .rpp-figs .rp-fig { flex-basis: 100%; }
}

/* ═══ PHONES, batch PHONE1 (6 Nov 2026): nothing a member reads on Market replay is under 12px on a phone ═════════ */
@media (max-width: 767px) {
  .rpp-form label, .rpp-form .rpp-k, #rppBalLbl, #rppDayLbl, .rpp-form small, .rpp-form .rp-field label small, .rpp-form .rp-seg-btn, .rpp-stockrow .rp-seg-btn { font-size: 12px; }
}

/* THE SHOWCASE FOR A FREE MEMBER (owner, 7 Nov 2026). The picture sits in a slowly turning teal-to-amber border and pans
   gently, like a clip; the words and Upgrade now beside it; one column on a phone. Motion stops for reduced motion. */
.rpp-show { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px 18px; }
.rpp-show-pic { position: relative; margin: 0; padding: 3px; border-radius: 14px; overflow: hidden; background: conic-gradient(from var(--rpp-a, 0deg), #0F6E76, #57CFD8, #E8A33D, #0F6E76); animation: rpp-spin 6s linear infinite; }
.rpp-show-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left center; border-radius: 11px; background: var(--cdp-panel, #fff); animation: rpp-pan 14s ease-in-out infinite alternate; }
.rpp-show-pic figcaption { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8, 26, 28, .78); color: #fff; font-size: 12px; font-weight: 700; }
.rpp-show-txt { display: grid; gap: 12px; min-width: 0; }
.rpp-show .rpp-offer-t { font-size: 22px; }
.rpp-show-list { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--cdp-text, #132033); }
.rpp-show .rpp-offer-go { flex-direction: row; flex-wrap: wrap; gap: 8px; }
@property --rpp-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rpp-spin { to { --rpp-a: 360deg; } }
@keyframes rpp-pan { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-4%); } }
@media (max-width: 767px) { .rpp-show { grid-template-columns: minmax(0, 1fr); } .rpp-show .rpp-offer-go .rp-btn { flex: 1 1 auto; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .rpp-show-pic, .rpp-show-pic img { animation: none; } }
