/* BidDesk Quant v2: the numbers under a replay. Ink and hairlines; the serif for the one statement and the headline
   figure; tabular numerals everywhere; no gold (none of it is money), no green or red on a move. */
.rp-num:empty { display: none; }
.nb { display: grid; gap: 22px; min-width: 0; padding-top: 26px; border-top: 1px solid var(--line); }
.nb > * { min-width: 0; }
.nb-head { display: grid; gap: 10px; }
.nb-head .eyebrow { margin: 0; }
.rp .nb .nb-title, .nb .nb-title { font: 300 30px/1.12 var(--serif); letter-spacing: -.022em; text-transform: none; color: var(--ink); margin: 0; max-width: 26ch; }
.nb-title i { font-style: italic; font-weight: 300; }
.nb-line { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 80ch; text-wrap: pretty; }
.nb-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nb-raw { border-style: dashed; color: var(--ink-2); }
.nb-k { margin: 0; font: 500 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.nb-hero { border: 1px solid var(--line); border-radius: var(--r-3); background: linear-gradient(180deg, var(--surface), var(--bg-2)); padding: 26px 28px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.nb-big { margin: 0; font: 300 64px/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.nb-proof { margin: 0; font-size: 16px; color: var(--ink-2); }
.nb-proof.faint { font-size: 13px; color: var(--ink-3); }
.nb-wrap { border: 1px solid var(--line); border-radius: var(--r-3); background: var(--bg-2); overflow-x: auto; }
.nb-grid { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.nb-grid th, .nb-grid td { text-align: right; padding: 12px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.nb-grid th:first-child { text-align: left; font-weight: 400; color: var(--ink-2); }
.nb-grid thead th { border-top: 0; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 16px; }
.nb-grid tr.on th, .nb-grid tr.on td { color: var(--ink); background: var(--surface); }
.nb-grid tr.on th:first-child { box-shadow: inset 2px 0 0 var(--ink-2); }
.nb-n { color: var(--ink-3); font-size: 12.5px; }
.nb-s { margin: 0; font-size: 13px; line-height: 1.6; }
.nb-checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; }
.nb-check { background: var(--surface); padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.nb-check p { margin: 0; font-size: 14px; }
.nb-check .faint { font-size: 12.5px; }
.nb-check .btn { justify-self: start; margin-top: 6px; white-space: normal; height: auto; min-height: 32px; padding: 6px 12px; }
.nb-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--ink-4); }
.nb-dot.y { background: var(--ink-2); } .nb-dot.n { background: var(--kill); }
.nb-splits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nb-mini ul { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.nb-mini li { display: grid; grid-template-columns: minmax(0, 1fr) 76px 120px; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); align-items: baseline; }
.nb-mini li > .num { text-align: right; white-space: nowrap; } .nb-mini small { color: var(--ink-3); font-size: 12px; white-space: nowrap; text-align: right; }
/* By year and By regime follow their own width, not the window's: side by side only when each list has room for its
   three lanes; a list under 300px puts its label on its own line, the median and n beneath it. */
.nb-splitw { container: nbsplit / inline-size; } .nb-mini { container: nbmini / inline-size; min-width: 0; }
@container nbsplit (max-width: 619px) { .nb-splits { grid-template-columns: minmax(0, 1fr); } }
@container nbmini (max-width: 299px) {
  .nb-mini li { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
  .nb-mini li > span:first-child { grid-column: 1 / -1; color: var(--ink); }
  .nb-mini li > .num { text-align: left; } .nb-mini small { white-space: normal; }
}
.nb-bt { position: relative; display: grid; gap: 14px; border: 1px solid var(--line); border-radius: var(--r-3); padding: 22px 24px; background: var(--bg-2); overflow: hidden; }
.nb-bt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nb-stamp { font: 500 11px/1 var(--sans); letter-spacing: .32em; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 6px 8px; }
.nb-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.nb-tile { background: var(--surface); padding: 16px 18px; display: grid; gap: 6px; min-width: 0; }
.nb-tile p { margin: 0; }
.nb-v { font: 400 26px/1.1 var(--sans); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; overflow-wrap: anywhere; }
.nb-trades { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nb-trades li { display: grid; grid-template-columns: 90px 120px minmax(0, 1fr) 76px; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: baseline; }
.nb-trades li > :last-child { text-align: right; } .nb-trades .nb-trh { font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 10px 0; }
.nb-trades b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-bench summary { cursor: pointer; }
.nb-bench p { margin: 10px 0 0; }
.nb-foot { margin: 0; max-width: 90ch; }
@media (max-width: 900px) { .nb-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .rp .nb .nb-title, .nb .nb-title { font-size: 25px; } .nb-big { font-size: 48px; } .nb-hero, .nb-bt { padding: 18px 16px; }
  .nb-checks, .nb-splits, .nb-tiles { grid-template-columns: minmax(0, 1fr); }
  .nb-trades li { grid-template-columns: 64px minmax(0, 1fr) auto 64px; gap: 8px; font-size: 12.5px; } .nb-trades li > * { white-space: nowrap; }
  .nb-trades .nb-trh { letter-spacing: .04em; font-size: 10px; } .nb-mini li { grid-template-columns: minmax(0, 1fr) 70px 104px; gap: 8px; }
}
.nb-inv { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.nb-inv li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 560px) { .nb-inv li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
/* Quant for all (12 Oct 2026): a member's own numbers say whose they are, and what they are not, before any figure. */
.nb-own { margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--line-2); border-left: 2px solid var(--gold); border-radius: var(--r-1); background: var(--surface); color: var(--ink-2); font-size: 13.5px; }
.nb-own b { color: var(--ink); font-weight: 600; }
