/* extracted from receipts/index.html by ops/inline_style_extract.py — linked in the same document position to preserve cascade order */
:root {
    --bg: #06070a;
    --panel: #101218;
    --line: #303642;
    --ink: #f1ece2;
    --muted: #a7b2bd;
    --faint: #6f7b87;
    --gold: #e7c384;
    --green: #45a862;
    --blue: #3e84d6;
    --violet: #8c5ad2;
    --red: #d15b5b;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
  }
  * { box-sizing: border-box; }
  html { background: var(--bg); color: var(--ink); font-family: var(--sans); }
  body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, var(--bg) 0, var(--bg) 440px); color: var(--ink); }
  a { color: inherit; text-decoration: none; }
  a:hover { color: var(--gold); }
  .shell { width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: 0 0 var(--space-64); }
  .topbar { min-height: 64px; display: flex; align-items: center; gap: var(--space-12); border-bottom: 1px solid var(--line); font-family: var(--mono); color: var(--muted); font-size: var(--text-13); }
  .brand { display: inline-flex; align-items: center; gap: var(--space-8); color: var(--gold); font-weight: 700; }
  .brand::before { content: ""; width: 9px; height: 9px; border-radius: var(--radius-2); background: var(--gold); transform: rotate(45deg); }
  .nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-12); flex-wrap: wrap; }
  .nav a, .chip { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: var(--space-4) var(--space-8); color: var(--muted); background: rgba(255,255,255,0.02); font-family: var(--mono); font-size: var(--text-12); }
  .chip.good { color: var(--green); border-color: color-mix(in srgb, var(--act) 38%, transparent); }
  .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr); gap: var(--space-16); padding: var(--space-40) 0 var(--space-16); align-items: stretch; }
  h1 { margin: 0 0 var(--space-8); font-family: var(--serif); color: var(--gold); font-size: var(--text-40); line-height: 1.05; }
  h2 { margin: 0 0 var(--space-8); color: var(--ink); font-size: var(--text-16); }
  h3 { margin: 0; color: var(--ink); font-size: var(--text-16); overflow-wrap: anywhere; }
  p { margin: 0; color: var(--muted); line-height: 1.58; }
  .lead { max-width: 82ch; font-size: var(--text-16); }
  .statusbox, .stat, .receipt { border: 1px solid var(--line); border-radius: var(--radius-8); background: var(--panel); min-width: 0; }
  .statusbox { padding: var(--space-16); display: grid; gap: var(--space-8); }
  .statusbox strong { color: var(--ink); overflow-wrap: anywhere; }
  .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); margin: 0 0 var(--space-16); }
  .stat { padding: var(--space-12); }
  .stat span { display: block; color: var(--faint); font-family: var(--mono); font-size: var(--text-12); margin-bottom: var(--space-4); }
  .stat strong { display: block; color: var(--ink); font-size: var(--text-16); overflow-wrap: anywhere; }
  .stat.gold { border-top: 3px solid var(--gold); }
  .stat.green { border-top: 3px solid var(--green); }
  .stat.blue { border-top: 3px solid var(--blue); }
  .stat.violet { border-top: 3px solid var(--violet); }
  .toolbar { display: flex; gap: var(--space-8); flex-wrap: wrap; margin: 0 0 var(--space-12); }
  .toolbar input, .toolbar select { min-height: 42px; border: 1px solid var(--line); border-radius: var(--radius-8); background: var(--bg); color: var(--ink); padding: 0 var(--space-12); font-family: var(--mono); font-size: var(--text-14); }
  .toolbar input { flex: 1 1 320px; min-width: 0; }
  .toolbar select { flex: 0 1 230px; }
  .statusline { min-height: 20px; color: var(--faint); font-family: var(--mono); font-size: var(--text-12); margin-bottom: var(--space-8); }
  .receipts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-12); align-items: start; }
  .receipt { display: grid; gap: var(--space-8); padding: var(--space-16); }
  .receipt .meta, .tags, .links { display: flex; flex-wrap: wrap; gap: var(--space-8); }
  .tag { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-8); padding: var(--space-4) var(--space-8); color: var(--muted); font-family: var(--mono); font-size: var(--text-11); overflow-wrap: anywhere; word-break: break-word; }
  .tag.gold { color: var(--gold); border-color: color-mix(in srgb, var(--sand) 46%, transparent); }
  .tag.green { color: var(--green); border-color: color-mix(in srgb, var(--act) 45%, transparent); }
  .tag.blue { color: var(--blue); border-color: color-mix(in srgb, var(--move) 45%, transparent); }
  .tag.violet { color: var(--violet); border-color: color-mix(in srgb, var(--tab) 45%, transparent); }
  .summary { border-left: 2px solid var(--blue); padding-left: var(--space-8); color: var(--muted); font-size: var(--text-14); line-height: 1.5; }
  .boundary { border-left: 2px solid var(--red); padding-left: var(--space-8); color: var(--rose); font-size: var(--text-12); line-height: 1.45; }
  .links a { color: var(--gold); font-family: var(--mono); font-size: var(--text-12); border: 1px solid color-mix(in srgb, var(--sand) 42%, transparent); border-radius: var(--radius-8); padding: var(--space-4) var(--space-8); }
  .footer { margin-top: var(--space-24); color: var(--faint); font-family: var(--mono); font-size: var(--text-12); line-height: 1.55; }

  /* Tier 1 Attached Proof component styles */
  .attached-proof { border-left: 3px solid var(--green); }
  .attached-proof .meta { margin: var(--space-4) 0; }
  .attached-proof .summary { border-left-color: var(--green); }
  .ships-group { margin-top: var(--space-16); }
  .ship-header { font-family: var(--mono); font-size: var(--text-12); color: var(--gold); margin: var(--space-12) 0 var(--space-4); display:flex; align-items:center; gap:var(--space-8); }
  @media (max-width: 820px) {
    .intro { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topbar { align-items: flex-start; flex-direction: column; padding: var(--space-12) 0; }
    .nav { margin-left: 0; }
    h1 { font-size: var(--text-28); }
  }
  @media (max-width: 500px) {
    .shell { width: min(100% - 20px, 1220px); }
    .stats, .receipts { grid-template-columns: 1fr; }
    .toolbar input, .toolbar select { flex-basis: 100%; }
  }
