/* Assay - forensic archive. Serif = knowledge, mono = apparatus. */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --paper:      #E9ECE6;
  --paper-2:    #F2F4EE;
  --paper-3:    #FBFCF8;
  --ink:        #14171A;
  --muted:      #63696B;
  --faint:      #8A8F88;
  --rule:       #CDD0C6;
  --rule-2:     #DCDFD6;
  --verified:   #24614A;
  --verified-2: #E2ECE4;
  --stake:      #47535C;
  --reject:     #9E3324;
  --reject-2:   #F1E2DE;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --serif: 'Newsreader', Georgia, serif;
  --sp: 8px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--verified); color: var(--paper-3); }

.mono { font-family: var(--mono); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- masthead ---- */
.masthead {
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
  position: sticky; top: 0; z-index: 20;
}
.masthead .wrap {
  display: flex; align-items: center; gap: 20px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand .word {
  font-family: var(--mono); font-weight: 600; letter-spacing: 0.28em;
  font-size: 20px; text-transform: uppercase;
}
.brand .tag {
  font-family: var(--serif); font-style: italic; color: var(--muted);
  font-size: 15px; letter-spacing: 0;
}
.masthead .spring { flex: 1; }

.reality-switch { display: flex; align-items: center; gap: 8px; }
.reality-switch label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--faint);
}
select.reality {
  font-family: var(--mono); font-size: 13px; color: var(--ink);
  background: var(--paper-3); border: 1px solid var(--rule);
  padding: 6px 28px 6px 10px; border-radius: 0; cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--stake) 50%),
                    linear-gradient(135deg, var(--stake) 50%, transparent 50%);
  background-position: calc(100% - 15px) 12px, calc(100% - 10px) 12px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.searchbox { position: relative; }
.searchbox input {
  font-family: var(--mono); font-size: 13px; width: 170px;
  padding: 6px 10px; border: 1px solid var(--rule); background: var(--paper-3);
  color: var(--ink); border-radius: 0;
}
.searchbox input:focus { outline: 2px solid var(--verified); outline-offset: 1px; }
.search-results {
  position: absolute; right: 0; top: calc(100% + 6px); width: 340px;
  background: var(--paper-3); border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(20,23,26,0.09); max-height: 60vh; overflow: auto; z-index: 30;
}
.search-results a {
  display: block; padding: 10px 12px; text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
}
.search-results a:hover { background: var(--paper-2); }
.search-results .sr-page { font-family: var(--mono); font-size: 11px; color: var(--verified);
  text-transform: uppercase; letter-spacing: 0.1em; }
.search-results .sr-claim { font-size: 15px; line-height: 1.35; margin-top: 2px; }

/* ---- how-it-works link ---- */
.how-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: 1px solid var(--rule); color: var(--muted); padding: 6px 11px; cursor: pointer; }
.how-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---- glossary term tooltip ---- */
.term { border-bottom: 1px dotted var(--stake); cursor: help; position: relative; color: inherit; }
.term:focus-visible { outline: 2px solid var(--verified); outline-offset: 2px; }
.term::after {
  content: attr(data-def);
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 60;
  width: 280px; max-width: 78vw; padding: 11px 13px;
  background: var(--ink); color: var(--paper-3);
  font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0; text-transform: none;
  font-style: normal; font-weight: 400;
  opacity: 0; visibility: hidden; transition: opacity 0.12s; pointer-events: none;
  box-shadow: 4px 4px 0 rgba(20,23,26,0.15);
}
.term::before {
  content: ''; position: absolute; left: 10px; top: calc(100% + 2px); z-index: 61;
  border: 6px solid transparent; border-bottom-color: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity 0.12s;
}
.term:hover::after, .term:focus::after, .term:hover::before, .term:focus::before { opacity: 1; visibility: visible; }
.ex-link { font-family: inherit; color: var(--verified); text-decoration: underline; text-underline-offset: 3px; }

/* ---- modal base (shared by explainer) ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,23,26,0.35); z-index: 50;
  display: flex; align-items: flex-start; justify-content: center; padding: 6vh 20px; overflow: auto; }
.modal { background: var(--paper); border: 1.5px solid var(--ink); max-width: 620px; width: 100%;
  padding: 26px 28px; box-shadow: 8px 8px 0 rgba(20,23,26,0.12); }
.modal-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); font-weight: 600; margin-bottom: 12px; }
button.ghost { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--ink); color: var(--paper-3); border: 1px solid var(--ink); padding: 11px 18px; cursor: pointer; }
button.ghost:hover { background: var(--verified); border-color: var(--verified); }

/* ---- explainer card ---- */
.explainer { max-width: 720px; }
.ex-grid { display: grid; gap: 2px; margin-top: 6px; }
.ex-item { padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
.ex-item:last-child { border-bottom: none; }
.ex-item h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--verified); margin: 0 0 6px; font-weight: 600; }
.ex-item p { font-family: var(--serif); font-size: 16px; line-height: 1.5; margin: 0; color: var(--ink); }
.modal.explainer .modal-eyebrow { color: var(--ink); font-size: 15px; }

/* ---- nav tabs ---- */
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--rule); }
.tabs a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  padding: 13px 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); border-bottom-color: var(--reject); }

/* ---- section scaffolding ---- */
main { padding: 40px 0 96px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 10px;
}
h1.title { font-family: var(--serif); font-weight: 500; font-size: 40px;
  line-height: 1.08; margin: 0 0 6px; letter-spacing: -0.01em; }
h2.sub { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 48px 0 18px; }
.lede { font-size: 20px; color: var(--muted); max-width: 62ch; margin: 0 0 8px; }
.lede em { color: var(--ink); font-style: italic; }

/* ---- stats strip ---- */
.stats { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--rule);
  margin: 28px 0 8px; background: var(--paper-3); }
.stat { flex: 1 1 0; min-width: 120px; padding: 16px 18px; border-right: 1px solid var(--rule-2); }
.stat:last-child { border-right: none; }
.stat .n { font-family: var(--mono); font-size: 26px; font-weight: 500; line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--faint); margin-top: 8px; }

/* ---- specimen card ---- */
.specimen {
  position: relative; background: var(--paper-3);
  border: 1px solid var(--rule); border-left: 3px solid var(--verified);
  padding: 22px 24px 18px; margin: 0 0 -1px;
}
.specimen.rej { border-left-color: var(--reject); }
.specimen .claim { font-family: var(--serif); font-weight: 400; font-size: 22px;
  line-height: 1.34; margin: 0 68px 16px 0; letter-spacing: -0.003em; }
.hero .specimen .claim { font-size: 30px; margin-right: 90px; }

.seal {
  position: absolute; top: 20px; right: 24px; text-align: right;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
}
.seal .mark { display: inline-flex; align-items: center; gap: 6px;
  color: var(--verified); border: 1px solid var(--verified);
  padding: 3px 8px; text-transform: uppercase; font-weight: 600; }
.seal.rej .mark { color: var(--reject); border-color: var(--reject); }
.seal .meta { color: var(--faint); margin-top: 7px; font-size: 10.5px; }

/* stake gauge - the signature */
.gauge { display: flex; align-items: center; gap: 12px; margin: 14px 0 12px; }
.gauge .track {
  position: relative; height: 10px; flex: 1; max-width: 320px;
  background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 100%) ,
              var(--paper-2);
  background-size: 20px 100%, 100%; border: 1px solid var(--rule);
}
.gauge .fill { position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--stake);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 8px); }
.gauge .val { font-family: var(--mono); font-size: 12px; color: var(--stake); font-weight: 500; }
.gauge .val .unit { color: var(--faint); }
.gauge .decayed { color: var(--faint); }

.provenance { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  padding-top: 12px; border-top: 1px solid var(--rule-2); }
.provenance .dom { color: var(--verified); font-weight: 500; }
.provenance .dom.blog { color: var(--reject); }
.provenance a { color: var(--muted); text-underline-offset: 2px; }
.provenance .dot { color: var(--faint); }
.provenance .expand { margin-left: auto; background: none; border: none; cursor: pointer;
  font-family: var(--mono); font-size: 11px; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.1em; text-decoration: underline;
  text-underline-offset: 3px; padding: 0; }

/* trial receipt */
.receipt { border-top: 1px dashed var(--rule); margin-top: 14px; padding-top: 14px;
  display: none; }
.receipt.open { display: block; animation: unfurl 0.28s ease; }
@keyframes unfurl { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.receipt .row { display: flex; gap: 16px; font-family: var(--mono); font-size: 11px;
  color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.receipt .reason { font-family: var(--serif); font-style: italic; font-size: 17px;
  line-height: 1.5; color: var(--ink); border-left: 2px solid var(--verified); padding-left: 14px; }
.receipt.rej .reason { border-left-color: var(--reject); }
.receipt .excerpt { font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: var(--paper-2); border: 1px solid var(--rule-2); padding: 10px 12px; margin-top: 12px;
  line-height: 1.5; }
.receipt .excerpt .lbl { color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 10px; display: block; margin-bottom: 6px; }

/* ---- page head + mode switch ---- */
.pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modeswitch { display: flex; border: 1px solid var(--rule); margin-top: 6px; flex-shrink: 0; }
.modebtn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--paper-3); border: none; padding: 8px 14px; cursor: pointer; color: var(--muted); }
.modebtn + .modebtn { border-left: 1px solid var(--rule); }
.modebtn.on { background: var(--ink); color: var(--paper-3); }

/* ---- article (readable, defended prose) ---- */
.article { max-width: 40rem; }
.article .sec { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--muted); margin: 34px 0 6px; }
.prose { font-family: var(--serif); font-size: 21px; line-height: 1.72; margin: 0 0 4px; color: var(--ink); }
/* each defended sentence: a hairline underline in a stake-graded ink */
.defended { cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: var(--rule);
  border-radius: 2px; transition: background 0.12s; }
.defended.hi { text-decoration-color: var(--verified); }
.defended.mid { text-decoration-color: #9aa89f; }
.defended.lo { text-decoration-color: var(--rule); text-decoration-style: dotted; }
.defended:hover { background: var(--verified-2); }
.defended.active { background: var(--verified-2); text-decoration-color: var(--verified); }
.defended:focus-visible { outline: 2px solid var(--verified); outline-offset: 2px; }
.omit { color: var(--faint); }
.omit-txt { text-decoration: line-through; text-decoration-color: var(--reject);
  text-decoration-thickness: 1px; }
.omit-tag { font-family: var(--mono); font-size: 11px; color: var(--reject);
  text-transform: uppercase; letter-spacing: 0.08em; }

/* inline receipt slides in as its own block after the sentence */
.inline-receipt { display: block; margin: 12px 0; padding: 14px 16px;
  background: var(--paper-3); border: 1px solid var(--rule); border-left: 3px solid var(--verified);
  font-size: 16px; animation: unfurl 0.22s ease; }
.inline-receipt .ir-seal { font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--verified);
  border: 1px solid var(--verified); padding: 2px 7px; }
.inline-receipt .ir-seal.rej { color: var(--reject); border-color: var(--reject); }
.inline-receipt .ir-canon { font-family: var(--mono); font-size: 12px; color: var(--muted);
  display: block; margin: 12px 0 0; line-height: 1.5; }
.inline-receipt .ir-canon b { color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; }
.inline-receipt .ir-reason { font-family: var(--serif); font-style: italic; font-size: 17px;
  line-height: 1.5; color: var(--ink); border-left: 2px solid var(--verified); padding-left: 12px; margin: 12px 0; }
.inline-receipt .ir-meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.inline-receipt .ir-dom { color: var(--verified); font-weight: 500; }
.inline-receipt .ir-dom.blog { color: var(--reject); }
.inline-receipt .ir-meta a { color: var(--muted); }
.inline-receipt .ir-excerpt { font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: var(--paper-2); border: 1px solid var(--rule-2); padding: 9px 11px; margin-top: 10px; line-height: 1.5; }

/* ---- corrected statements + inline alternative ---- */
.defended.contested { text-decoration-style: double; text-decoration-color: var(--stake); }
.defended.contested::after { content: '±'; font-family: var(--mono); font-size: 0.62em;
  vertical-align: super; color: var(--stake); margin-left: 2px; }
.inline-receipt .ir-counter { margin-top: 12px; padding: 10px 12px; background: var(--paper-2);
  border-left: 2px solid var(--stake); }
.ir-counter-tag { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--stake); font-weight: 600; }
.ir-counter-claim { font-family: var(--serif); font-size: 16px; line-height: 1.4; margin: 5px 0; }
.ir-counter-src { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ir-challenge { display: block; margin-top: 14px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; background: none; border: 1px solid var(--stake);
  color: var(--stake); padding: 7px 12px; cursor: pointer; }
.ir-challenge:hover { background: var(--stake); color: var(--paper-3); }

/* source lean / type tags in a receipt */
.src-tag { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 1px 5px; margin-left: 6px; border: 1px solid; vertical-align: middle; }
.src-tag.lean-left { color: #1d4e79; border-color: #1d4e79; }
.src-tag.lean-right { color: var(--reject); border-color: var(--reject); }
.src-tag.lean-center { color: var(--muted); border-color: var(--rule); }
.src-tag.kind-primary { color: var(--verified); border-color: var(--verified); }
.src-tag.kind-secondary { color: var(--faint); border-color: var(--rule); }

/* floating single-input correction popover */
.correct-pop { position: absolute; z-index: 45; width: 360px; background: var(--paper-3);
  border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 rgba(20,23,26,0.13); padding: 10px; }
.correct-pop { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.correct-input { font-family: var(--serif); font-size: 16px; border: none; background: none;
  padding: 6px 4px; color: var(--ink); outline: none; }
.correct-input::placeholder { color: var(--faint); }
.correct-go { font-family: var(--mono); font-size: 16px; line-height: 1; background: var(--ink);
  color: var(--paper-3); border: none; width: 34px; height: 34px; cursor: pointer; }
.correct-go:hover { background: var(--verified); }
.correct-go:disabled { opacity: 0.5; cursor: wait; }
.correct-hint { grid-column: 1 / -1; font-family: var(--mono); font-size: 10.5px; color: var(--faint);
  line-height: 1.4; padding: 0 4px; }
.correct-out { grid-column: 1 / -1; }
.correct-out:empty { display: none; }
.correct-out .running { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 6px 4px; }
.correct-msg { font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.5; padding: 8px 4px 2px; }
.correct-result { padding: 8px 4px 2px; border-top: 1px solid var(--rule-2); margin-top: 4px; }
.cr-src { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.cr-verdict { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cr-verdict.ok { color: var(--verified); }
.cr-verdict.no { color: var(--reject); }
.cr-dom { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cr-reason { font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.45;
  color: var(--ink); margin-top: 6px; }

/* research / ingest trace */
.trace-summary { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--verified);
  text-transform: uppercase; margin-bottom: 16px; }
.trace-block { border: 1px solid var(--rule); background: var(--paper-3); margin-bottom: 14px; }
.trace-src { padding: 14px 16px; border-bottom: 1px solid var(--rule-2); }
.trace-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lean-tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 2px 7px; border: 1px solid; }
.lean-left { color: #1d4e79; border-color: #1d4e79; background: #e5edf3; }
.lean-right { color: var(--reject); border-color: var(--reject); background: var(--reject-2); }
.lean-center { color: var(--muted); border-color: var(--rule); }
.trace-dom { font-family: var(--mono); font-size: 12.5px; color: var(--ink); font-weight: 500; }
.trace-link { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.trace-lean-why { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted);
  margin-top: 8px; line-height: 1.45; }
.trace-excerpt { font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.5;
  margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--rule-2); }
.trace-claims { padding: 6px 16px 12px; }
.trace-claim { padding: 10px 0; border-bottom: 1px solid var(--rule-2); }
.trace-claim:last-child { border-bottom: none; }
.trace-verdict { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-right: 8px; }
.trace-claim.ok .trace-verdict { color: var(--verified); }
.trace-claim.no .trace-verdict { color: var(--reject); }
.trace-text { font-family: var(--serif); font-size: 16px; }
.trace-reason { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.contrib-switch { margin-top: 0; }

/* ---- page index list ---- */
.index { border-top: 1px solid var(--ink); }
.index a { display: flex; align-items: baseline; gap: 16px; text-decoration: none;
  padding: 16px 4px; border-bottom: 1px solid var(--rule-2); }
.index a:hover { background: var(--paper-3); }
.index .no { font-family: var(--mono); font-size: 12px; color: var(--faint); width: 34px; }
.index .name { font-family: var(--serif); font-size: 22px; flex: 1; }
.index a:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.index .figs { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }
.index .figs .s { color: var(--stake); font-weight: 500; }

/* ---- divergence ---- */
.diverge-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 6px; }
.diverge-head select { font-family: var(--mono); font-size: 13px; padding: 6px 26px 6px 10px;
  border: 1px solid var(--rule); background: var(--paper-3); appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--stake) 50%),
                    linear-gradient(135deg, var(--stake) 50%, transparent 50%);
  background-position: calc(100% - 15px) 12px, calc(100% - 10px) 12px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.diverge-head .vs { font-family: var(--mono); font-size: 12px; color: var(--reject);
  letter-spacing: 0.15em; text-transform: uppercase; }
.diff { border: 1px solid var(--rule); background: var(--paper-3); margin-top: 8px; }
.diff .grp-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding: 12px 16px;
  background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.diff .grp-h b { color: var(--reject); }
.drow { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule-2); }
.drow .side { padding: 14px 16px; }
.drow .side + .side { border-left: 1px dashed var(--rule); background: var(--reject-2); }
.drow .side .pg { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--faint); margin-bottom: 6px; }
.drow .side .cl { font-family: var(--serif); font-size: 17px; line-height: 1.35; }
.drow .side .why { font-family: var(--mono); font-size: 11.5px; color: var(--reject);
  margin-top: 8px; line-height: 1.5; }
.drow .side .why .v { text-transform: uppercase; letter-spacing: 0.1em; }
.empty-diff { padding: 40px 16px; text-align: center; color: var(--muted); font-style: italic; }

/* ---- bounties ---- */
.bounty { display: flex; gap: 16px; align-items: baseline; padding: 15px 4px;
  border-bottom: 1px solid var(--rule-2); }
.bounty .pg { font-family: var(--mono); font-size: 12px; color: var(--verified);
  text-transform: uppercase; letter-spacing: 0.08em; min-width: 200px; }
.bounty .desc { font-family: var(--serif); font-size: 18px; color: var(--ink); flex: 1; }

/* ---- submit ---- */
.form { max-width: 680px; }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form input, .form textarea {
  width: 100%; font-family: var(--serif); font-size: 17px; color: var(--ink);
  background: var(--paper-3); border: 1px solid var(--rule); padding: 11px 13px; border-radius: 0; }
.form input.mono-in { font-family: var(--mono); font-size: 14px; }
.form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--verified); outline-offset: 1px; }
.form .two { display: flex; gap: 16px; }
.form .two .field { flex: 1; }
button.burn {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; color: var(--paper-3); background: var(--ink);
  border: 1px solid var(--ink); padding: 13px 24px; cursor: pointer; }
button.burn:hover { background: var(--verified); border-color: var(--verified); }
button.burn:disabled { opacity: 0.5; cursor: wait; }
.hint { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 14px; line-height: 1.6; }

/* live trial */
.trial-live { margin-top: 26px; border: 1px solid var(--ink); background: var(--paper-3); padding: 22px 24px; }
.trial-live .running { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.trial-live .running .scan { display: inline-block; width: 200px; height: 8px; margin-top: 12px;
  background: var(--paper-2); border: 1px solid var(--rule); position: relative; overflow: hidden; vertical-align: middle; }
.trial-live .running .scan::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%;
  background: var(--stake); animation: scan 1.1s ease-in-out infinite; }
@keyframes scan { 0% { left: -40%; } 100% { left: 100%; } }
.verdict-reveal { animation: stamp 0.4s cubic-bezier(.2,1.4,.5,1); }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.3) rotate(-3deg); } 100% { opacity: 1; transform: none; } }

/* ---- misc ---- */
.callout { font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px dashed var(--rule); padding: 12px 14px; margin: 18px 0; line-height: 1.6; background: var(--paper-3); }
.loading, .err { font-family: var(--mono); font-size: 13px; color: var(--muted); padding: 30px 0; }
.err { color: var(--reject); }
.back { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 18px; }
.back:hover { color: var(--ink); }

footer { border-top: 1.5px solid var(--ink); margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 22px 24px;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
footer b { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .masthead .wrap { flex-wrap: wrap; gap: 12px; }
  .searchbox input { width: 130px; }
  h1.title { font-size: 30px; }
  .hero .specimen .claim { font-size: 23px; margin-right: 0; }
  .specimen .claim { margin-right: 0; }
  .seal { position: static; text-align: left; margin-bottom: 12px; }
  .drow { grid-template-columns: 1fr; }
  .drow .side + .side { border-left: none; border-top: 1px dashed var(--rule); }
  .stat { min-width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
