/* AI Police case viewer: evidence locker theme. Paper and ink by day, graphite evidence room by night. */

:root {
  color-scheme: light dark;
  --paper: #f3eee3;
  --paper-2: #fbf9f4;
  --folder: #ece2cc;
  --ink: #1c1b19;
  --ink-2: #4f4a42;
  --ink-3: #6b6458;
  --rule: #d6ccb7;
  --rule-strong: #b3a68c;
  --accent: #9e2a2b;
  --pass: #1d6b40;
  --pass-bg: #e2eee3;
  --fail: #a5281f;
  --fail-bg: #f6e0dc;
  --attempt: #7a5100;
  --attempt-bg: #f4e5c3;
  --neutral-bg: #e9e2d3;
  --focus: #1f5fbf;
  --add-bg: #dfeedd;
  --del-bg: #f5dedb;
  --code-bg: #f8f5ee;
  --tape-a: #23211d;
  --tape-b: #c99a37;
  --shadow: 0 1px 0 rgba(60, 45, 20, 0.06), 0 8px 24px -16px rgba(60, 45, 20, 0.35);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Courier Prime", "Courier New", ui-monospace, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111315;
    --paper-2: #181b1f;
    --folder: #1d2025;
    --ink: #ebe5d8;
    --ink-2: #c1b9a9;
    --ink-3: #a0988a;
    --rule: #2c3036;
    --rule-strong: #454a52;
    --accent: #e7797a;
    --pass: #7ad6a0;
    --pass-bg: #15301f;
    --fail: #ff948b;
    --fail-bg: #3b1c1a;
    --attempt: #f1c35f;
    --attempt-bg: #372b10;
    --neutral-bg: #23272d;
    --focus: #8ab4ff;
    --add-bg: #173323;
    --del-bg: #3b1d1d;
    --code-bg: #14171a;
    --tape-a: #0a0b0c;
    --tape-b: #a98530;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 10px 28px -18px rgba(0, 0, 0, 0.9);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 .03 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  /* Paper grain: inline SVG noise painted into the page background (no external asset). */
  background-image: var(--grain);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-ui);
}



.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

a { color: inherit; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}
.skip-link:focus { top: 12px; }

.tape {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--tape-a) 0 14px, var(--tape-b) 14px 28px);
}

/* ---------- Hero ---------- */

.hero, main, .footer {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.hero { padding: 40px 0 8px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.eyebrow, .exhibit, .stats dt, .segmented legend, .filters label, .runs th, .facts dt, .badge-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 24ch;
}
h1 a { text-decoration: none; }
.h1-mark { font-weight: 600; display: block; }

.lede {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--ink-2);
}

.banner {
  margin: 22px 0 0;
  max-width: 70ch;
  padding: 10px 14px;
  border-left: 4px solid var(--accent);
  background: var(--paper-2);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}

.stamp {
  margin-top: 8px;
  padding: 12px 18px;
  border: 3px double var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-4deg);
  opacity: 0.85;
  display: grid;
}

.pilot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 36px 0 14px;
}

.segmented {
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.segmented legend {
  float: left;
  padding: 8px 12px 8px 16px;
  font-size: 0.72rem;
  color: var(--ink-3);
}
.segmented label { position: relative; display: flex; }
.segmented input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.segmented span {
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  border-left: 1px solid var(--rule);
}
.segmented input:checked + span { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }

.pilot-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--neutral-bg);
  font-weight: 600;
  font-size: 0.92rem;
}
.pilot-label.warn { background: var(--attempt-bg); color: var(--attempt); border: 1px solid currentColor; }

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 8px;
}
.stat {
  min-height: 132px;
  padding: 14px 16px 12px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.stats dt { font-size: 0.7rem; color: var(--ink-3); line-height: 1.35; min-height: 2.7em; }
.stats dd { margin: 0; }
.stat-value {
  margin: 6px 0 2px !important;
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-note { font-size: 0.8rem; color: var(--ink-2); }

/* ---------- Panels ---------- */

main { padding: 24px 0 24px; }

.panel, .case-file {
  margin: 28px 0;
  padding: 28px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 18px; }
.section-head .exhibit { flex-basis: 100%; }

.exhibit { margin: 0; font-size: 0.74rem; color: var(--accent); }

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.15;
}
h2:focus { outline: none; }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0 0 8px; }
h4 { margin: 14px 0 6px; font-size: 0.78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }

.count { margin: 0; color: var(--ink-2); font-size: 0.92rem; }

.error { color: var(--fail); font-weight: 600; }

/* ---------- Filters and table ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 0 0 16px; }
.filters label { display: grid; gap: 4px; font-size: 0.7rem; color: var(--ink-3); }
.filters select {
  min-width: 11rem;
  padding: 8px 32px 8px 10px;
  font: 500 0.95rem var(--font-ui);
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
}

.table-wrap { min-height: 320px; border-top: 2px solid var(--ink); }

.runs { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.runs th {
  padding: 10px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-3);
  text-align: left;
  border-bottom: 1px solid var(--rule-strong);
  white-space: nowrap;
}
.runs td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.runs .num { text-align: right; font-variant-numeric: tabular-nums; }
.runs tbody tr { position: relative; }
.runs tbody tr:hover { background: var(--neutral-bg); }
.cell-app a { font-weight: 700; text-decoration: none; }
.cell-app a::after { content: ""; position: absolute; inset: 0; }
.cell-app a:focus-visible { outline: none; }
.runs tbody tr:focus-within { outline: 3px solid var(--focus); outline-offset: -3px; }
.case-id { display: block; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3); }
.cell-bug { font-family: var(--font-mono); font-size: 0.9rem; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }

.skeleton td { padding: 16px 12px; }
.skeleton span {
  display: block;
  height: 14px;
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--neutral-bg), var(--rule), var(--neutral-bg));
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.field-notes {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.field-notes p { margin: 0; }
.field-notes strong { color: var(--ink); }

/* ---------- Badges ---------- */

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.badge-pass { color: var(--pass); background: var(--pass-bg); border-color: color-mix(in srgb, var(--pass) 35%, transparent); }
.badge-fail { color: var(--fail); background: var(--fail-bg); border-color: color-mix(in srgb, var(--fail) 45%, transparent); }
.badge-attempt { color: var(--attempt); background: var(--attempt-bg); border-color: color-mix(in srgb, var(--attempt) 45%, transparent); }
.badge-neutral { color: var(--ink-2); background: var(--neutral-bg); border-color: var(--rule); }
.badge-file { color: var(--ink-2); background: transparent; border-color: var(--rule-strong); font-family: var(--font-mono); font-weight: 400; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }

/* ---------- Case file (detail) ---------- */

body[data-view="detail"] .pilot-bar,
body[data-view="detail"] .stats,
body[data-view="detail"] .stamp,
body[data-view="detail"] .lede { display: none; }
body[data-view="detail"] .hero { padding-top: 24px; }
body[data-view="detail"] h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); max-width: none; }
body[data-view="detail"] .h1-mark { display: inline; }

.case-file {
  background: var(--folder);
  padding-top: 36px;
  margin-top: 40px;
  position: relative;
}
.case-file::before {
  content: "Case file";
  position: absolute;
  top: -30px;
  left: -1px;
  padding: 6px 18px 4px;
  background: var(--folder);
  border: 1px solid var(--rule);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
}

.back-link {
  display: inline-flex;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.case-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); overflow-wrap: anywhere; }
.case-id-line { margin: 6px 0 14px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-2); overflow-wrap: anywhere; }

.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.status-row .badge { font-size: 0.86rem; padding: 4px 10px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
  background: var(--paper-2);
}
.fact { padding: 10px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 0.68rem; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.fact-note { display: block; margin-top: 4px; font-size: 0.8rem; color: var(--ink-2); }
.fact.wide { grid-column: 1 / -1; }

.exhibit-block { margin-top: 34px; }
.exhibit-block > .exhibit { margin-bottom: 4px; }

pre {
  margin: 0;
  padding: 14px 16px;
  max-height: 34rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--code-bg);
  border: 1px solid var(--rule);
  font: 0.86rem/1.5 var(--font-mono);
  color: var(--ink);
}
pre.report { background: var(--paper-2); border-left: 4px solid var(--rule-strong); max-height: 40rem; }

.pending {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.pending-slot {
  padding: 14px 16px;
  border: 2px dashed var(--rule-strong);
  color: var(--ink-2);
}
.pending-slot h3 { font-size: 1.05rem; color: var(--ink); }
.pending-slot p { margin: 0; font-size: 0.9rem; }

/* Timeline */

.timeline { list-style: none; margin: 12px 0 0; padding: 0 0 0 22px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  border-left: 2px solid var(--rule-strong);
}
.timeline > li { position: relative; margin: 0 0 8px; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--ink);
}
.timeline > li.note::before { width: 8px; height: 8px; left: -18px; top: 9px; border-color: var(--rule-strong); }
.timeline > li.note p { margin: 0; padding: 2px 0; font-size: 0.8rem; color: var(--ink-3); }

.step { background: var(--paper-2); border: 1px solid var(--rule); }
.step > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 10px 40px 10px 14px;
  position: relative;
}
.step > summary::-webkit-details-marker { display: none; }
.step > summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 8px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-3);
}
.step[open] > summary::after { content: "\2212"; }
.step[open] > summary { border-bottom: 1px solid var(--rule); }
.step-no { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3); white-space: nowrap; }
.step-tool { font-family: var(--font-mono); font-weight: 700; }
.step-preview {
  flex: 1 1 100%;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.step-badges { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.step-body { padding: 4px 14px 14px; }
.step-body .meta { margin: 8px 0 0; font-size: 0.8rem; color: var(--ink-3); }

/* Diff */

.diff { padding: 0; }
.diff span { display: block; padding: 0 16px; }
.diff span:first-child { padding-top: 12px; }
.diff span:last-child { padding-bottom: 12px; }
.diff-add { background: var(--add-bg); color: var(--pass); }
.diff-del { background: var(--del-bg); color: var(--fail); }
.diff-hunk { color: var(--attempt); }
.diff-file { color: var(--ink-3); }

/* ---------- About ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps li {
  counter-increment: step;
  padding: 18px 18px 16px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  background: var(--paper);
}
.steps li::before {
  content: "Step " counter(step);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
}
.steps p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.about-note { margin: 18px 0 0; color: var(--ink-2); font-size: 0.92rem; }
.links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 14px 0 0; font-weight: 600; }

.footer { padding: 8px 0 40px; font-size: 0.82rem; color: var(--ink-3); }

.loading { font-family: var(--font-mono); color: var(--ink-2); }

/* ---------- Motion ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-copy > *, .stat { animation: rise 0.5s ease-out both; }
.hero-copy > :nth-child(2) { animation-delay: 0.05s; }
.hero-copy > :nth-child(3) { animation-delay: 0.1s; }
.hero-copy > :nth-child(4) { animation-delay: 0.15s; }
.stat:nth-child(2) { animation-delay: 0.05s; }
.stat:nth-child(3) { animation-delay: 0.1s; }
.stat:nth-child(4) { animation-delay: 0.15s; }
.stat:nth-child(5) { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .stamp { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 116px; padding: 12px; }
  .stat-value { font-size: 1.9rem; }
  .stat:last-child { grid-column: 1 / -1; }
  .panel, .case-file { padding: 18px 16px; margin-inline: 0; }
  .filters label { flex: 1 1 100%; }
  .filters select { min-width: 0; width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }

  /* Table rows become case cards. */
  .runs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .runs, .runs tbody { display: block; }
  .runs tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 12px 0;
    padding: 14px;
    border: 1px solid var(--rule);
    border-left: 4px solid var(--ink);
    background: var(--paper);
  }
  .runs tbody tr.skeleton { display: block; border-left-color: var(--rule); }
  .runs td { display: block; padding: 0; border: none; }
  .runs td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.64rem;
    color: var(--ink-3);
  }
  .runs .num { text-align: left; }
  .runs td.cell-app { grid-column: 1 / -1; font-size: 1.05rem; }
  .runs td.cell-app::before { display: none; }
  .runs td.cell-hidden { grid-column: 1 / -1; }
  .table-wrap { border-top: none; }

  .step > summary { padding: 10px 12px; }
  .timeline { padding-left: 18px; }
  .timeline > li::before { left: -17px; }
  .timeline > li.note::before { left: -15px; }
  .timeline::before { left: 5px; }
}

/* ---------- Law 1 and sentencing ---------- */

.banner-block {
  margin: 0 0 8px;
  display: grid;
  gap: 8px;
  max-width: 78ch;
}
.banner-block p { margin: 0; }
.banner-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

#law1-view h3, #law2-view h3 { margin-top: 32px; }
#law1-view .table-wrap + .field-note { margin-top: 12px; }

.field-note {
  margin: 10px 0 0;
  max-width: 78ch;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.field-note strong { color: var(--ink); }
.warn-note {
  border-left: 4px solid var(--attempt);
  padding-left: 12px;
  color: var(--ink-2);
}

.runs tbody tr.row-policy td { background: var(--paper-2); font-weight: 600; }

.examples { display: grid; gap: 22px; margin-top: 16px; }
.case-example {
  padding: 18px 20px;
  border: 1px solid var(--rule-strong);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.case-example h4 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.case-example .status-row { margin: 12px 0 14px; }
.case-example .table-wrap { background: var(--paper); }
.planted { margin: 0 0 14px; font-size: 0.94rem; }
.claims { font-size: 0.88rem; }
.claims q { font-style: normal; }

.pending-slot .status-row { margin: 10px 0; }
.pending-slot p + p { margin-top: 8px; }
.pending-slot .meta { font-size: 0.82rem; color: var(--ink-3); }

/* ---------- Law 2 turns ---------- */

.turn { margin-top: 12px; padding-left: 12px; border-left: 3px solid var(--rule-strong); }
.turn-head { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.9rem; }
.turn-mark { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.turn-why { margin: 6px 0 0; font-size: 0.9rem; color: var(--ink-2); }
