/* Mandate Desk page only, on top of lab.css: the record's tables and hashes,
   and a dark scheme that follows the reader's system setting. */
/* SPY buy & hold, the chart's third line: amber against the book's blue. */
:root { --spy: #b45309; }   /* 5.0:1 on white */
.l-spy { stroke: var(--spy); stroke-width: 2; }
.sw.b-spy { background: var(--spy); }
.status-line { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.panel .note + .note { margin-top: 6px; }
.scores { margin-top: 22px; }
.scores h3 { margin-top: 0; }
.scores .vs { color: var(--ink-2); }   /* the AI vs simple-model line: the result, not a footnote */
.forecasts .q { font-weight: 400; text-align: left; min-width: 15em; }
.forecasts td { white-space: nowrap; }
.forecasts td:last-child { text-align: left; padding-left: 16px; }
.brier th[scope="row"], .calibration th[scope="row"] { font-weight: 600; }
.hashes { margin: 0; display: grid; gap: 12px; }
.hashes dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.hashes dd { margin: 2px 0 0; }
.hashes code { font: 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink-2); overflow-wrap: anywhere; }

@media (max-width: 640px) {
  /* Forecast rows stack: the question on top, then its three values, each labelled. */
  .forecasts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .forecasts tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .forecasts tbody tr:last-child { border-bottom: 0; }
  .forecasts th, .forecasts td { display: block; border: 0; padding: 0; text-align: left; }
  .forecasts .q { grid-column: 1 / -1; min-width: 0; margin-bottom: 4px; }
  .forecasts td.when { grid-column: 1 / -1; color: var(--ink-3); font-size: 13px; }
  .forecasts td:last-child { padding-left: 0; }
  .forecasts td.num::before { content: "Probability of yes "; font-weight: 400; color: var(--ink-3); }
  .forecasts td:last-child::before { content: "Outcome "; color: var(--ink-3); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #18181b;
    --ink: #f4f4f5;
    --ink-2: #d4d4d8;
    --ink-3: #a1a1aa;
    --line: #2a2a2e;
    --line-2: #3f3f46;
    --accent: #8db0ff;
    --accent-soft: #1b2440;
    --bench: #a1a1aa;
    --spy: #fbbf24;
    --warn: #fbbf24;
    color-scheme: dark;
  }
  .skip { color: var(--bg); }
  .labnav ul a:hover { background: var(--line); }
  .labnav ul a[aria-current="page"] { color: var(--bg); }
}

/* Proof: the outside timestamps, newest first, and the three lines that check one. */
.stamps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.stamps li { font-size: 15px; }
.verify { margin: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.verify code { font: 13px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink-2); white-space: pre; }
