/* The Proof page (dashboard/proof.html, data GET /api/public/proof, src/proof.js). The header is nav.css.
   Quiet: black ground, white ink, one readable grey; the Omnibook teal only for the chart's "all fills" line and its
   band; green and red only on a verdict that means it (makers kept the spread / takers had an edge), never on a number
   that is within noise. Numbers 32px at weight 500 (28px on phones). Links are underlined teal-free white with a
   visible underline; the window switch looks like a control. No glows, no stripes, no uppercase labels. */
:root {
  --bg: #000;
  --fg: #fff;
  --ink2: #d4d4d8;
  --fg2: #a1a1aa;
  --fg3: #8b8b94;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --fill: rgba(255, 255, 255, 0.07);
  --fill2: rgba(255, 255, 255, 0.12);
  --tl: #5ec8c7;
  --gut: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: var(--ob-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); font-size: 14px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--fg); }
[hidden] { display: none !important; }
.num { font-variant-numeric: lining-nums tabular-nums; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

.page { max-width: 1120px; margin: 0 auto; padding: 32px var(--gut) 96px; }

/* intro */
.intro h1 { margin: 0; font-size: var(--ob-h1, 28px); line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.lead { margin: 8px 0 0; max-width: 680px; font-size: 15px; line-height: 23px; color: var(--ink2); }
.ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 20px; }
.seg { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--fill); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--fg2); font-size: 14px; font-weight: 500; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fill2); color: var(--fg); }
@media (hover: hover) { .seg button:hover { color: var(--fg); } }
.win { margin: 0; font-size: 13px; color: var(--fg3); }

/* headline numbers: four quiet tiles */
.heads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.tile { padding: 18px 20px 20px; border-radius: 16px; background: #0d0d0f; border: 1px solid var(--line); min-width: 0; }
.tl-l { margin: 0; font-size: 13px; line-height: 18px; color: var(--fg2); }
.tl-v { margin: 10px 0 0; font-size: 32px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-s { margin: 6px 0 0; font-size: 13px; line-height: 19px; color: var(--fg3); }
.tl-s .v-ok { color: var(--ob-up, #1fd170); }
.tl-s .v-bad { color: var(--ob-down, #ff4d5a); }
.empty { margin: 28px 0 0; font-size: 15px; color: var(--fg2); }

/* sections */
.blk { margin-top: 48px; }
.bh { margin-bottom: 14px; }
.bh h2 { margin: 0; font-size: var(--ob-h2, 20px); line-height: 28px; font-weight: 600; letter-spacing: -0.005em; }
.bs { margin: 4px 0 0; max-width: 720px; font-size: 14px; line-height: 21px; color: var(--fg2); }
.note { margin: 12px 0 0; max-width: 760px; font-size: 14px; line-height: 21px; color: var(--ink2); }
.note .v-ok { color: var(--ob-up, #1fd170); }
.note .v-bad { color: var(--ob-down, #ff4d5a); }

/* chart */
.chart { margin: 0; padding: 16px 16px 12px; border-radius: 16px; background: #0d0d0f; border: 1px solid var(--line); }
.chart > svg { display: block; width: 100%; height: 300px; }
.chart text { fill: var(--fg3); font-size: 12px; font-family: inherit; font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .zero { stroke: var(--line2); stroke-width: 1; }
.chart .band { fill: rgba(94, 200, 199, 0.1); }
.chart .l-all { fill: none; stroke: var(--tl); stroke-width: 2; }
.chart .l-A { fill: none; stroke: #e4e4e7; stroke-width: 1.5; }
.chart .l-B { fill: none; stroke: #a1a1aa; stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .l-C { fill: none; stroke: #71717a; stroke-width: 1.5; stroke-dasharray: 2 3; }
.chart .dot-all { fill: var(--tl); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 13px; color: var(--fg2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend svg { width: 22px; height: 8px; flex: none; }
.cempty { font-size: 14px; color: var(--fg3); }

/* tables */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line); background: #0d0d0f; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 10px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-size: 13px; font-weight: 500; color: var(--fg2); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td:first-child { color: var(--ink2); }
.tbl tr.grp td { padding-top: 14px; font-size: 13px; color: var(--fg3); border-bottom: 0; }
.tbl .v { color: var(--fg); font-variant-numeric: tabular-nums; }
.tbl .se { display: block; font-size: 12px; color: var(--fg3); font-variant-numeric: tabular-nums; }
.tbl .na { color: var(--fg3); }

/* explanation */
.defs { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px 24px; margin: 0; max-width: 900px; }
.defs dt { font-size: 14px; font-weight: 500; color: var(--fg); }
.defs dd { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink2); }
.lim { margin: 0; padding-left: 18px; max-width: 760px; color: var(--ink2); font-size: 14px; line-height: 21px; }
.lim li + li { margin-top: 6px; }
.raw { margin: 20px 0 0; font-size: 14px; color: var(--fg3); }
.lnk { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
@media (hover: hover) { .lnk:hover { text-decoration-color: var(--fg); } }

@media (max-width: 960px) { .heads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .page { padding-top: 20px; }
  .tl-v { font-size: 28px; line-height: 34px; }
  .tile { padding: 14px 14px 16px; }
  .chart { padding: 10px 8px 10px; }
  .chart > svg { height: 240px; }
  .tbl .c-fill { display: none; }
  .defs { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .defs dd { margin-bottom: 10px; }
  .tbl th, .tbl td { padding: 9px 10px; }
}
@media (max-width: 380px) { .heads { grid-template-columns: minmax(0, 1fr); } }
#hFast.few, #hTaker.few { color: var(--fg3, #8b8b93); font-size: 22px; }
