/* ============================================================
   AI Project Audit — deliverable stylesheet

   Source 1: _system/design/soni-audit-deck.html (deck <style> block, verbatim)
   Source 2: Phase 4c augmentations (3-chip header, priority-map components)
   Source 3: Phase 4e augmentations (.remix-chip + .remix-banner — additive,
             only rendered when remix_source is set in .audit-config.json)

   Generated by: _system/templates/html-renderer/extract-css.py
   Do NOT edit this file by hand. Edit the deck or the augmentations script.
   ============================================================ */

  :root {
    --bg: #F1ECE0;
    --bg-alt: #E6DFCB;
    --bg-card: #FBF7EB;
    --ink: #15140F;
    --ink-soft: #4D4B43;
    --ink-mute: #8A8779;
    --accent: #2A4636;
    --accent-bright: #3E6650;
    --critical: #A53D24;
    --high: #BE7531;
    --medium: #8E7E36;
    --low: #6B7268;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Geist', system-ui, sans-serif;
    font-size: 16.5px;
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  ::selection { background: var(--ink); color: var(--bg); }

  .display {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    font-weight: 350;
    letter-spacing: -0.025em;
    line-height: 1.02;
  }

  .display-italic {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 80;
    font-weight: 350;
  }

  .mono {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-feature-settings: 'ss02';
    letter-spacing: -0.01em;
  }

  /* === Layout === */
  .shell {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
  }

  .shell > aside {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 36px 28px 36px 36px;
    border-right: 1px solid var(--ink);
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.5;
  }

  .brand strong { font-weight: 600; }

  .brand-divider {
    width: 28px; height: 1px; background: var(--ink);
    margin: 14px 0;
  }

  nav { flex: 1; display: flex; flex-direction: column; gap: 1px; margin-top: 8px; }

  nav a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    padding: 9px 0;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.3;
    border-bottom: 1px dotted transparent;
    transition: color 180ms ease;
  }

  nav a span:first-child {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink-mute);
    padding-top: 2px;
  }

  nav a:hover { color: var(--ink); }
  nav a.active { color: var(--ink); font-weight: 500; }
  nav a.active span:first-child { color: var(--accent); }

  .aside-foot {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--ink-mute);
    line-height: 1.6;
  }

  main { padding: 0 60px 160px 60px; min-width: 0; }

  section {
    padding: 88px 0;
    border-bottom: 1px solid var(--ink);
    scroll-margin-top: 0;
  }

  section:first-child { padding-top: 56px; }
  section:last-child { border-bottom: none; }

  .sec-head {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: baseline;
    margin-bottom: 56px;
  }

  .sec-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    padding-top: 10px;
  }

  .sec-title {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    font-weight: 350;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.025em;
  }

  .sec-title em {
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 80;
  }

  .sec-body { display: grid; grid-template-columns: 80px 1fr; gap: 24px; }

  .sec-body > .body-content {
    grid-column: 2;
    max-width: 760px;
  }

  .lead {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-weight: 350;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--ink);
  }

  .lead em {
    font-style: italic;
    font-variation-settings: 'opsz' 60, 'SOFT' 60;
  }

  p { margin-bottom: 1em; color: var(--ink-soft); max-width: 65ch; }
  p strong { color: var(--ink); font-weight: 500; }
  p:last-child { margin-bottom: 0; }

  /* === HERO === */
  .hero {
    padding: 80px 0 96px 0;
    border-bottom: 1px solid var(--ink);
  }

  .hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 80px;
  }

  .hero-title {
    font-size: clamp(96px, 16vw, 200px);
    font-weight: 300;
    letter-spacing: -0.045em;
    line-height: 0.92;
    margin-bottom: 24px;
  }

  .hero-sub {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    font-weight: 300;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--ink-soft);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 56px;
  }

  .hero-blurb {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin-bottom: 48px;
  }

  .hero-foot {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 64px;
    padding-top: 32px;
    border-top: 1px dotted var(--ink-mute);
  }

  .hero-foot-item .lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 6px;
  }

  .hero-foot-item .val { font-size: 16px; color: var(--ink); font-weight: 500; }

  /* === Dimension grid === */
  .dim-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
    margin-top: 40px;
  }

  .dim-cell {
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 22px 22px 26px;
    background: var(--bg-card);
  }

  .dim-cell .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }

  .dim-cell .name {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 21px;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
  }

  .dim-cell .desc {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.45;
  }

  /* === Heatmap === */
  .heatmap {
    margin-top: 48px;
    border-top: 1px solid var(--ink);
  }

  .hm-row {
    display: grid;
    grid-template-columns: 36px 1fr;
    border-bottom: 1px solid var(--ink);
    padding: 18px 0;
    align-items: center;
  }

  .hm-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
  }

  .hm-content {
    display: grid;
    grid-template-columns: 200px 1fr 110px;
    gap: 24px;
    align-items: center;
  }

  .hm-name {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 18px;
    letter-spacing: -0.01em;
  }

  .hm-bar {
    display: flex;
    height: 28px;
    background: transparent;
    align-items: stretch;
  }

  .seg {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-card);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    border-right: 1px solid var(--bg);
    min-width: 0;
  }

  .seg:last-child { border-right: none; }
  .seg.crit { background: var(--critical); }
  .seg.high { background: var(--high); }
  .seg.med  { background: var(--medium); }
  .seg.low  { background: var(--low); }

  .hm-total {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-align: right;
    color: var(--ink);
  }

  .hm-total .findings-label { font-size: 10.5px; color: var(--ink-mute); display: block; letter-spacing: 0.08em; }

  /* Heatmap legend */
  .hm-legend {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .hm-legend .swatch {
    display: inline-block;
    width: 12px; height: 12px;
    margin-right: 8px;
    vertical-align: -1px;
  }

  /* === Stats === */
  .stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 56px 0 16px 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
  }

  .stat {
    padding: 28px 24px;
    border-right: 1px solid var(--ink);
  }
  .stat:last-child { border-right: none; }

  .stat-num {
    font-family: 'Fraunces', serif;
    font-weight: 350;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
  }

  .stat-num.crit { color: var(--critical); }
  .stat-num.high { color: var(--high); }

  .stat-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .blocker-line {
    margin-top: 8px;
    padding: 18px 0 0 0;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-variation-settings: 'opsz' 60, 'SOFT' 60;
    font-size: 19px;
    color: var(--ink);
  }

  .blocker-line .num {
    font-style: normal;
    color: var(--critical);
    font-weight: 500;
  }

  /* === Top findings cards === */
  .findings-stack { margin-top: 16px; }

  .finding-card {
    border-top: 1px solid var(--ink);
    padding: 32px 0 32px 0;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 32px;
    align-items: start;
  }

  .finding-card:last-child { border-bottom: 1px solid var(--ink); }

  .finding-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ink-mute);
    letter-spacing: 0.05em;
  }

  .finding-id .sev {
    display: inline-block;
    padding: 2px 7px;
    background: var(--critical);
    color: var(--bg-card);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .finding-id .sev.high { background: var(--high); }
  .finding-id .id { display: block; }
  .finding-id .dim { display: block; margin-top: 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; }

  .finding-body { min-width: 0; }

  .finding-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 40;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
  }

  .finding-impact {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.55;
  }

  /* === Full finding anatomy === */
  .anatomy-card {
    margin-top: 16px;
    background: var(--bg-card);
    border: 1px solid var(--ink);
    padding: 0;
  }

  .anat-head {
    padding: 24px 32px;
    border-bottom: 1px solid var(--ink);
    background: var(--bg-alt);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .anat-head-l {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
  }

  .anat-head-l .badge {
    padding: 3px 10px;
    background: var(--critical);
    color: var(--bg-card);
    border-radius: 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .anat-head-r {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .anat-title {
    padding: 28px 32px 8px 32px;
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 40;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }

  .anat-rows { padding: 0 32px 28px 32px; }

  .anat-row {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    border-bottom: 1px dotted var(--ink-mute);
  }

  .anat-row:last-child { border-bottom: none; }

  .anat-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 3px;
  }

  .anat-val {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink);
  }

  .anat-val.code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    background: var(--bg-alt);
    padding: 10px 14px;
    border: 1px solid var(--ink-mute);
    border-radius: 2px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
  }

  .anat-val ol { margin-left: 18px; }
  .anat-val ol li { margin-bottom: 6px; }

  /* === Two-column comparison === */
  .compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 40px;
    border: 1px solid var(--ink);
  }

  .compare-col { padding: 32px; }
  .compare-col:first-child { border-right: 1px solid var(--ink); background: var(--bg-card); }
  .compare-col:last-child { background: var(--bg-card); position: relative; }

  .compare-col:last-child::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--accent);
  }

  .compare-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 14px;
  }

  .compare-col:last-child .compare-tag { color: var(--accent); }

  .compare-h {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
  }

  .compare-list { list-style: none; }
  .compare-list li {
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 10px 0;
    border-bottom: 1px dotted var(--ink-mute);
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 10px;
  }
  .compare-list li:last-child { border-bottom: none; }
  .compare-list li::before {
    content: '·';
    color: var(--ink-mute);
    font-weight: 700;
    line-height: 1.4;
  }

  /* === Deliverable cards === */
  .deliv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 32px;
    border: 1px solid var(--ink);
  }

  .deliv-card {
    padding: 32px 24px;
    border-right: 1px solid var(--ink);
    background: var(--bg-card);
  }

  .deliv-card:last-child { border-right: none; }

  .deliv-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
  }

  .deliv-h {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
  }

  .deliv-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 12px; }

  .deliv-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* === Pricing block === */
  .price-block {
    margin-top: 32px;
    background: var(--ink);
    color: var(--bg);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
  }

  .price-num {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 96px;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--bg);
    margin-bottom: 8px;
  }

  .price-num span {
    font-size: 24px;
    font-weight: 400;
    color: var(--bg-alt);
    letter-spacing: 0;
    margin-left: 8px;
  }

  .price-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bg-alt);
  }

  .price-include { color: var(--bg-alt); }

  .price-include li {
    list-style: none;
    padding: 8px 0;
    border-bottom: 1px dotted var(--ink-mute);
    font-size: 14px;
    line-height: 1.45;
    color: var(--bg-alt);
  }

  .price-include li:last-child { border-bottom: none; }

  /* === Range table === */
  .range-table {
    margin-top: 32px;
    border-top: 1px solid var(--ink);
  }

  .range-row {
    padding: 24px 0;
    border-bottom: 1px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: baseline;
  }

  .range-name {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 19px;
    letter-spacing: -0.015em;
  }

  .range-name .hint {
    display: block;
    font-family: 'Geist', sans-serif;
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-top: 4px;
    font-style: normal;
  }

  .range-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    text-align: right;
    color: var(--ink);
    font-weight: 500;
  }

  .range-num .unit { font-size: 11px; color: var(--ink-mute); display: block; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; font-weight: 400; }

  /* === Decision list === */
  .decision-list { margin-top: 32px; counter-reset: dec; }

  .decision-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--ink);
    counter-increment: dec;
  }

  .decision-item:first-child { border-top: 1px solid var(--ink); }

  .decision-item::before {
    content: counter(dec, decimal-leading-zero);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--ink-mute);
    letter-spacing: 0.08em;
    padding-top: 4px;
  }

  .decision-h {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
  }

  .decision-d { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

  /* === Footer === */
  .deck-foot {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }

  /* === Mobile === */
  @media (max-width: 900px) {
    .shell { grid-template-columns: 1fr; }
    .shell > aside {
      position: relative;
      height: auto;
      border-right: none;
      border-bottom: 1px solid var(--ink);
      padding: 24px 24px 16px;
    }
    nav { display: none; }
    main { padding: 0 24px 80px; }
    .sec-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
    .sec-body { grid-template-columns: 1fr; gap: 0; }
    .sec-body > .body-content { grid-column: 1; }
    .sec-title { font-size: 32px; }
    .dim-grid { grid-template-columns: 1fr; }
    .deliv-grid { grid-template-columns: 1fr; }
    .deliv-card { border-right: none; border-bottom: 1px solid var(--ink); }
    .deliv-card:last-child { border-bottom: none; }
    .compare { grid-template-columns: 1fr; }
    .compare-col:first-child { border-right: none; border-bottom: 1px solid var(--ink); }
    .price-block { grid-template-columns: 1fr; padding: 32px 24px; }
    .price-num { font-size: 64px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--ink); }
    .hm-content { grid-template-columns: 130px 1fr 60px; gap: 12px; }
    .hm-name { font-size: 14px; }
    .hero-foot { grid-template-columns: 1fr; gap: 20px; }
    .anat-row { grid-template-columns: 1fr; gap: 4px; }
    .finding-card { grid-template-columns: 1fr; gap: 12px; }
    .range-row { grid-template-columns: 1fr; gap: 8px; }
    .range-num { text-align: left; }
  }

/* ============================================================
   Phase 4c augmentations — additive only, no deck overrides
   ============================================================ */

/* === 3-chip header (Severity / Priority / Effort) ===

   Rationale (DD1c, DD2a):
   - Severity chip: solid filled, severity palette  (existing deck pattern)
   - Priority chip: outlined, severity palette       (DD1c — differentiates by style, preserves urgency cue)
   - Effort chip:   mono pill, bg-alt fill           (DD2a — terse, scannable)
   Three chips coexist in .anat-head-l (which already wraps via flex). */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}

/* Severity chip — solid fill (deck-native style, equivalent to .badge in deck CSS) */
.chip-sev-critical { background: var(--critical); color: var(--bg-card); }
.chip-sev-high     { background: var(--high);     color: var(--bg-card); }
.chip-sev-medium   { background: var(--medium);   color: var(--bg-card); }
.chip-sev-low      { background: var(--low);      color: var(--bg-card); }

/* Priority chip — DD1c outlined, severity-palette colour, bg-card fill */
.chip-pri-must_fix_before_launch { color: var(--critical); border: 1.5px solid var(--critical); background: var(--bg-card); padding: 1.5px 8.5px; }
.chip-pri-fix_in_first_sprint    { color: var(--high);     border: 1.5px solid var(--high);     background: var(--bg-card); padding: 1.5px 8.5px; }
.chip-pri-can_defer              { color: var(--low);      border: 1.5px solid var(--low);      background: var(--bg-card); padding: 1.5px 8.5px; }

/* Effort chip — DD2a mono pill, bg-alt fill */
.chip-eff-S { background: var(--bg-alt); color: var(--ink); }
.chip-eff-M { background: var(--bg-alt); color: var(--ink); }
.chip-eff-L { background: var(--bg-alt); color: var(--ink); }

/* Anatomy head: when 3 chips coexist, ensure flex wrap is graceful */
.anat-head-l { gap: 8px; }


/* === Cross-reference inline links + cross_dimension_notes prose === */

.xref-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
  white-space: nowrap;
}
.xref-link:hover { color: var(--accent-bright); border-bottom-style: solid; }

.xref-list { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

.xref-dangling {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--ink-mute);
  font-style: italic;
}

.xnotes-prose {
  margin-top: 10px;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}


/* === Tech-report: dimension cell as link variant === */

.dim-cell.dim-link-cell {
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.dim-cell.dim-link-cell:hover {
  background: var(--bg-alt);
}
.dim-cell.dim-link-cell a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.dim-cell .findings-count {
  margin-top: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dim-cell .severity-mix {
  margin-top: 6px;
  display: flex;
  gap: 4px;
}
.dim-cell .severity-mix .sev-pip {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dim-cell .severity-mix .sev-pip-critical { background: var(--critical); }
.dim-cell .severity-mix .sev-pip-high     { background: var(--high); }
.dim-cell .severity-mix .sev-pip-medium   { background: var(--medium); }
.dim-cell .severity-mix .sev-pip-low      { background: var(--low); }


/* === Priority-map: top-line gauge bar === */

.gauge-bar {
  margin-top: 24px;
  display: flex;
  height: 36px;
  border: 1px solid var(--ink);
  background: var(--bg-card);
  overflow: hidden;
}

.gauge-seg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-card);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid var(--bg);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 8px;
}
.gauge-seg:last-child { border-right: none; }
.gauge-seg-must_fix_before_launch { background: var(--critical); }
.gauge-seg-fix_in_first_sprint    { background: var(--high); }
.gauge-seg-can_defer              { background: var(--low); }

.gauge-legend {
  margin-top: 14px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gauge-legend .swatch {
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 8px;
  vertical-align: -1px;
}


/* === Priority-map: cluster cards === */

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.cluster-card {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 24px 22px 26px;
  background: var(--bg-card);
}

.cluster-card-named .cluster-tag { color: var(--accent); }
.cluster-card-algorithmic .cluster-tag { color: var(--ink-mute); }

.cluster-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cluster-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'opsz' 60, 'SOFT' 30;
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.cluster-hub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.cluster-hub strong { color: var(--ink); font-weight: 500; }

.cluster-members {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.cluster-meta {
  margin-top: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cluster-unlocks {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  font-style: italic;
}


/* === Priority-map: 3-tier sprint kanban === */

.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--ink);
}

.kanban-col {
  border-right: 1px solid var(--ink);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}
.kanban-col:last-child { border-right: none; }

.kanban-col-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ink);
  position: relative;
  background: var(--bg-alt);
}
.kanban-col-head::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
}
.kanban-col-must_fix_before_launch .kanban-col-head::before { background: var(--critical); }
.kanban-col-fix_in_first_sprint    .kanban-col-head::before { background: var(--high); }
.kanban-col-can_defer              .kanban-col-head::before { background: var(--low); }

.kanban-col-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.kanban-col-must_fix_before_launch .kanban-col-tag { color: var(--critical); }
.kanban-col-fix_in_first_sprint    .kanban-col-tag { color: var(--high); }
.kanban-col-can_defer              .kanban-col-tag { color: var(--low); }

.kanban-col-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'opsz' 60, 'SOFT' 30;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.kanban-col-meta {
  margin-top: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

.kanban-col-body { padding: 14px 0 20px 0; }

.kanban-dim-group { margin-top: 12px; }
.kanban-dim-group:first-child { margin-top: 0; }

.kanban-dim-head {
  padding: 10px 20px 6px 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px dotted var(--ink-mute);
}

.kanban-item {
  padding: 12px 20px;
  border-bottom: 1px dotted var(--ink-mute);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
}
.kanban-item:last-child { border-bottom: none; }

.kanban-item-id {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
  padding-top: 1px;
}
.kanban-item-id a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--ink-mute); }
.kanban-item-id a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.kanban-item-body { min-width: 0; }

.kanban-item-title {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 6px;
}

.kanban-item-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Kanban chips are sized down from the anatomy-head chips */
.kanban-item-chips .chip { font-size: 9.5px; padding: 2px 7px; letter-spacing: 0.06em; }
.kanban-item-chips .chip-pri-must_fix_before_launch,
.kanban-item-chips .chip-pri-fix_in_first_sprint,
.kanban-item-chips .chip-pri-can_defer { padding: 0.5px 5.5px; }


/* === Dependency map (priority-map section 5) — minimal text-block style === */

.depmap-list { margin-top: 24px; }

.depmap-block {
  margin-bottom: 18px;
  padding: 18px 22px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
}

.depmap-block-head {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.depmap-block-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'opsz' 60, 'SOFT' 30;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.depmap-block-arrow {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.depmap-block-arrow .arrow {
  display: inline-block;
  margin: 0 6px;
  color: var(--accent);
  font-weight: 500;
}


/* === Evidence code-block readability override (Phase 4c iter-2) ===
   The deck base sets `word-break: break-all` on `.anat-val.code` which chops
   long lines mid-letter. Override to break at word boundaries first, falling
   back to anywhere only for unbreakable tokens (long URLs, hashes). The
   evidence is also rendered via <pre><code> by the macro now (semantic),
   keeping any embedded line breaks intact. */

.anat-val.code {
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
}
.anat-val.code pre,
.anat-val.code code {
  font-family: inherit;
  font-size: inherit;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  white-space: inherit;
  overflow-wrap: inherit;
}


/* === Exec card — COMPACT finding rendering (Phase 4c iter-2) ===
   Used in the client-facing executive-report.html. Distinct from
   .anatomy-card (which lives in tech-report dimension pages and
   tech-report/by-theme.html). Goal: a meeting-paced one-pager —
   3-chip header, ID + title, 2-3 sentence client_explanation,
   1-sentence recommendation, link out to full anatomy in tech-report.
*/

.exec-card {
  background: var(--bg-card);
  border: 1px solid var(--ink);
  padding: 22px 26px 20px 26px;
  margin-bottom: 0;
  page-break-inside: avoid;
  break-inside: avoid;
}

.exec-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.exec-card-id-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dotted var(--ink-mute);
}

.exec-card-id {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.exec-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'opsz' 60, 'SOFT' 20;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  flex: 1;
}

.exec-card-section {
  margin-bottom: 12px;
}
.exec-card-section:last-of-type { margin-bottom: 0; }

.exec-card-lbl {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}

.exec-card-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}

.exec-card-foot {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dotted var(--ink-mute);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
}
.exec-card-foot code {
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: 10.5px;
}


/* === Two-tier exec-report (Phase 4c iter-3) ===

   The executive-report.html now renders findings in two tiers:
   - Tier 1 (.exec-card)     — top 5 launch-blockers per cluster, full compact
                               card. Rendered inside .exec-cluster-section
                               wrappers that label each cluster.
   - Tier 2 (.exec-list-row) — all other findings, theme-grouped. One row per
                               finding, scannable in a meeting flow. Each
                               theme is preceded by an .exec-list-section
                               header.
*/


/* Cluster section header — subtle accent line + label + name + count.
   Sits above the 5 .exec-card cards belonging to this cluster. */

.exec-cluster-section {
  margin-top: 40px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--accent);
}
.exec-cluster-section:first-child { margin-top: 0; }

.exec-cluster-section .exec-cluster-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.exec-cluster-section .exec-cluster-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'opsz' 60, 'SOFT' 30;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}

.exec-cluster-section .exec-cluster-count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}


/* Theme section header — sits inside section 04 above each theme's list-row
   bucket. Lighter weight than the cluster header (dotted bottom rule). */

.exec-list-section {
  margin-top: 36px;
  margin-bottom: 0;
  padding: 0 0 10px 0;
  border-bottom: 1px dotted var(--ink-mute);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.exec-list-section:first-of-type { margin-top: 0; }

.exec-list-section .exec-list-section-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'opsz' 60, 'SOFT' 30;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.exec-list-section .exec-list-section-count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* List-row — one finding per row, dense scannable layout.
   Grid columns: chips (fixed-ish) | ID | title (1fr) | dim hint */

.exec-list-row {
  display: grid;
  grid-template-columns: 220px 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dotted var(--ink-mute);
  font-size: 13.5px;
  line-height: 1.4;
  page-break-inside: avoid;
  break-inside: avoid;
}
.exec-list-row:last-of-type { border-bottom: 1px solid var(--ink); }

.exec-list-row-chips {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  align-items: center;
}
.exec-list-row-chips .chip {
  font-size: 9.5px;
  padding: 2px 7px;
  letter-spacing: 0.06em;
}
.exec-list-row-chips .chip-pri-must_fix_before_launch,
.exec-list-row-chips .chip-pri-fix_in_first_sprint,
.exec-list-row-chips .chip-pri-can_defer { padding: 0.5px 5.5px; }

.exec-list-row-id {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.exec-list-row-title {
  color: var(--ink);
  min-width: 0;
}
.exec-list-row-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
.exec-list-row-title a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.exec-list-row-dim {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.exec-list-row-dim code {
  background: var(--bg-alt);
  padding: 1px 5px;
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: 10px;
}


/* === Mobile augmentations for Phase 4c components === */

@media (max-width: 900px) {
  .cluster-grid { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: 1fr; }
  .kanban-col { border-right: none; border-bottom: 1px solid var(--ink); }
  .kanban-col:last-child { border-bottom: none; }
  .gauge-bar { height: 28px; }
  .gauge-seg { font-size: 9.5px; }
  .exec-card { padding: 18px 18px 16px; }
  .exec-card-id-row { flex-direction: column; gap: 6px; }

  /* Two-tier mobile: list-row collapses to stacked layout */
  .exec-cluster-section .exec-cluster-name { font-size: 22px; }
  .exec-list-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
  .exec-list-row-chips { flex-wrap: wrap; }
  .exec-list-row-dim { display: none; }
}


/* ============================================================
   Phase 4e augmentations — remix-aware pre-filter visuals
   ============================================================

   Two new components, both backward-compatible:
   - .remix-chip   — 4th chip on finding cards when finding.remix_artifact
                     is true. Reads as METADATA, not a primary attribute:
                     dotted border, muted background, lower-key colour.
                     If the existing 3 chips "shout", the remix chip "whispers".
   - .remix-banner — top-of-page band rendered between hero and first content
                     section on every HTML report when remix_source is set.
                     Left accent-bordered card with platform name + count
                     summary + per-pattern breakdown.

   Both styles are additive — never rendered when remix_source is absent
   (template-side @if guards), so they have zero visual effect on the
   default backward-compat output. */

/* --- Remix chip (the 4th chip) ----------------------------- */
.remix-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.5px 8.5px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1.5px dotted var(--ink-mute);
}
.remix-chip .remix-chip-icon {
  font-size: 11.5px;
  line-height: 1;
}

/* Compact form inside kanban-item (matches the 3-chip size step-down
   that the existing .kanban-item-chips selectors apply). */
.kanban-item-chips .remix-chip { font-size: 9.5px; padding: 0.5px 5.5px; letter-spacing: 0.06em; }
.exec-list-row-chips .remix-chip { padding: 0.5px 5.5px; }

/* Mobile: let the remix chip wrap to its own line when the row is tight.
   The .anat-head-l gap: 8px (from Phase 4c) already handles graceful wrap;
   this just nudges priority so the metadata chip is the one to drop. */
@media (max-width: 900px) {
  .remix-chip { order: 4; }
}


/* --- Remix banner (top-of-page) ----------------------------
   The banner renders as <aside class="remix-banner"> inside <main>, so it is
   NOT a direct child of .shell. The deck's sidebar rule is scoped to
   `.shell > aside` for exactly that reason. As belt-and-braces against any
   future generic `aside { ... }` rule, the .remix-banner block below opens
   with an explicit layout reset, then applies its own visuals. */
.remix-banner {
  /* Layout reset — counter any past or future generic aside rule */
  position: static;
  top: auto;
  height: auto;
  width: auto;
  display: block;
  border-right: none;
  gap: 0;

  /* Banner-specific visuals */
  margin: 24px 0 32px;
  padding: 18px 24px;
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.remix-banner-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.remix-banner-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.remix-banner-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px dotted var(--accent);
  background: var(--bg-card);
  padding: 1.5px 8.5px;
  border-radius: 2px;
}
.remix-banner-body p {
  margin: 0 0 8px;
}
.remix-banner-body p:last-child { margin-bottom: 0; }
.remix-banner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.remix-banner-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.remix-banner-stat-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.remix-banner-breakdown {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-mute);
  font-size: 13px;
  color: var(--ink-soft);
}
.remix-banner-breakdown-head {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.remix-banner-breakdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.remix-banner-breakdown li {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}
.remix-banner-breakdown code {
  color: var(--accent);
  background: transparent;
  padding: 0;
}
.remix-banner-meta {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
}

@media (max-width: 900px) {
  .remix-banner { padding: 14px 18px; }
  .remix-banner-head { flex-direction: column; gap: 6px; }
  .remix-banner-title { font-size: 17px; }
  .remix-banner-stats { gap: 8px 18px; }
}
