/* ── session.css — Pre-open · Post-market (owner D) ──
   Cut verbatim from styles.css (UI 7.0 step 0). Loaded after styles.css and
   before the signals-*.css / boards.css sheets (see the <link> order in index.html). */

/* ── Pre-open ────────────────────────────────────────────────────────
   A verdict you can read from across the room, then the working. The
   verdict is the one place in the desk allowed a large coloured panel:
   at 09:05 it has to answer "can we trade" before you have focused. */
.po-verdict {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px var(--pad); border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 1px 0 var(--hi);
}
.po-verdict.ok { border-color: var(--pos-bd); background: var(--pos-bg); }
.po-verdict.warn { border-color: var(--warn-bd); background: var(--warn-bg); }
.po-verdict.bad { border-color: var(--neg-bd); background: var(--neg-bg); }
.po-v-main { min-width: 0; flex: 1 1 340px; }
.po-v-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.po-v-head { font-size: 25px; font-weight: 650; letter-spacing: -0.03em; margin-top: 5px; line-height: 1.15; }
.po-verdict.ok .po-v-head { color: var(--pos); }
.po-verdict.warn .po-v-head { color: var(--warn); }
.po-verdict.bad .po-v-head { color: var(--neg); }
.po-v-sub { font-size: 12.5px; color: var(--text-2); margin-top: 6px; line-height: 1.45; }
.po-v-side { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.po-count { text-align: center; min-width: 48px; }
.po-count b { display: block; font-size: 21px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--muted); }
.po-count span { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.po-count.warn b { color: var(--warn); }
.po-count.bad b { color: var(--neg); }
.po-verdict.ok .po-count:first-child b { color: var(--pos); }
.po-clock { font-size: 12px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; padding-left: 16px; border-left: 1px solid var(--border-2); white-space: nowrap; }

.po-group .card-head h3 { display: flex; align-items: center; gap: 8px; }
.po-rows { border-top: 1px solid var(--border); }
.po-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px var(--pad); border-bottom: 1px solid var(--border); font-size: 12.5px; }
.po-row:last-child { border-bottom: none; }
.po-row > .dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--faint); }
.po-row.ok > .dot { background: var(--pos); }
.po-row.warn > .dot { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 20%, transparent); }
.po-row.bad > .dot { background: var(--neg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--neg) 22%, transparent); }
.po-row.info > .dot { background: var(--accent); }
.po-body { flex: 1; min-width: 0; }
.po-body b { display: block; font-weight: 600; color: var(--text); }
.po-body span { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; line-height: 1.45; }
.po-row > .btn { flex-shrink: 0; align-self: center; }
.po-row.bad { background: color-mix(in srgb, var(--neg) 5%, transparent); }

@media (max-width: 640px) {
  .po-v-head { font-size: 20px; }
  .po-v-side { gap: 12px; }
  .po-clock { padding-left: 0; border-left: none; flex-basis: 100%; }
}

/* ── Post-market ─────────────────────────────────────────────────────
   Shares the Pre-open verdict panel, and adds the funnel: four stages,
   each a bar as wide as its share of the largest, so the drop between
   "alerts arrived" and "money moved" is the shape of the block itself. */
.pm-funnel { display: flex; flex-direction: column; gap: 14px; }
.pm-stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.pm-stage-head b { font-size: 17px; font-weight: 650; letter-spacing: -0.025em; color: var(--text); font-variant-numeric: tabular-nums; }
.pm-stage .bar { height: 8px; }
.pm-stage .bar > i { background: var(--accent); }
.pm-stage .bar > i.ok { background: var(--pos); }
.page-actions .f { flex-direction: row; align-items: center; }
.page-actions .f input[type="date"] { height: var(--ctl-h); font-size: 12px; }
.rc-bar .check { font-size: 12px; white-space: nowrap; }
.rc-bar .f.narrow input { width: 100px; }
