// CRIMINAL JUSTICE — Extended data for Witnesses, Investigators, Post-Conviction, Plea sub-platforms
// Merges into window.CRIMINAL_DATA

(function () {
  const D = window.CRIMINAL_DATA;
  if (!D) return;

  // ── WITNESSES — extended roster (expand from 10 → 18) + exhibits + proofing sessions + impeachment index ──
  D.witnesses = [
    ...D.witnesses,
    { id: 'WIT-011', name: 'Jennifer Cho',             role: 'Fact Witness — Defense',       matter: 'Marcus Harrell Jr.',       forSide: 'Defense',    status: 'Served; available',   exhibits: 4,  testimonyHours: '0.5 day', impeachment: 'N/A', priorTestimony: 'None' },
    { id: 'WIT-012', name: 'Dr. Howard Sang',          role: 'Expert — Damages',             matter: 'Olivia Barnwell',          forSide: 'Defense',    status: 'Retained',            exhibits: 14, testimonyHours: '1 day',   impeachment: 'N/A — our witness', priorTestimony: '11 federal trials' },
    { id: 'WIT-013', name: 'SA Brad Moreno',           role: 'Case Agent',                    matter: 'Samuel Okonkwo',           forSide: 'Government', status: 'FBI Special Agent',    exhibits: 36, testimonyHours: '1.5 days', impeachment: 'Prior perjury finding (2021, reversed)', priorTestimony: '9 federal trials' },
    { id: 'WIT-014', name: 'Dr. Ananya Desai',         role: 'Expert — Medical Necessity',    matter: 'Dr. Priya Venkataraman',   forSide: 'Government', status: 'Disclosed',            exhibits: 8,  testimonyHours: '1 day',   impeachment: 'Paid $1,400/hr; 80% govt retention', priorTestimony: '6 federal trials' },
    { id: 'WIT-015', name: 'Tyson Briggs (CI-4)',      role: 'Confidential Informant',        matter: 'Deshawn Miller',           forSide: 'Government', status: 'Fee-based ($28K)',     exhibits: 3,  testimonyHours: '0.5 day', impeachment: '2 prior fabrications; IA 2024', priorTestimony: 'None on record' },
    { id: 'WIT-016', name: 'Karen Liu',                role: 'Character Witness',             matter: 'James Whitman',            forSide: 'Defense',    status: 'Available for sentencing', exhibits: 0, testimonyHours: '15 min', impeachment: 'N/A', priorTestimony: 'None' },
    { id: 'WIT-017', name: 'Father Michael Doherty',   role: 'Character Witness',             matter: 'Olivia Barnwell',          forSide: 'Defense',    status: 'Letters + live testimony', exhibits: 0, testimonyHours: '20 min', impeachment: 'N/A', priorTestimony: 'None' },
    { id: 'WIT-018', name: 'Dr. Warren Yu',            role: 'Expert — Pharmacology',         matter: 'Dr. Priya Venkataraman',   forSide: 'Government', status: 'Disclosed',            exhibits: 18, testimonyHours: '1.5 days', impeachment: 'Methodology criticized in 8th Cir. 2023', priorTestimony: '32 federal trials' },
  ];

  // Per-witness exhibits (witnessId → list)
  D.witnessExhibits = {
    'WIT-002': [
      { id: 'EX-G-012', label: 'Harrell–Jensen text messages (Aug 2023)',   kind: 'Document',     batesStart: 'G-014820', batesEnd: 'G-014842', admitted: true, privilege: null },
      { id: 'EX-G-013', label: 'Wire transfer records (Citibank account)',  kind: 'Document',     batesStart: 'G-014850', batesEnd: 'G-014872', admitted: true, privilege: null },
      { id: 'EX-G-014', label: 'Jensen grand-jury testimony transcript',    kind: 'Transcript',   batesStart: 'G-GJ-002', batesEnd: 'G-GJ-041', admitted: 'Conditional', privilege: null },
      { id: 'EX-G-015', label: 'SEC Form 4 filings — Harrell (2022-2024)',   kind: 'Public record', batesStart: 'G-014900', batesEnd: 'G-014918', admitted: true, privilege: null },
    ],
    'WIT-004': [
      { id: 'EX-D-022', label: 'CI-2 informant file (unsealed)',             kind: 'Document',     batesStart: 'D-002140', batesEnd: 'D-002168', admitted: 'Pending', privilege: 'Informer redactions' },
      { id: 'EX-D-023', label: 'NYPD IA investigation — CI-2 (2023)',         kind: 'Document',     batesStart: 'D-002170', batesEnd: 'D-002184', admitted: 'Pending', privilege: null },
      { id: 'EX-D-024', label: 'CI-2 text messages with arresting officer',   kind: 'Document',     batesStart: 'D-002190', batesEnd: 'D-002212', admitted: 'Pending', privilege: null },
    ],
    'WIT-010': [
      { id: 'EX-D-031', label: 'Agent Reeves — body-camera footage',          kind: 'Video',        batesStart: 'D-003420', batesEnd: 'D-003420', admitted: 'Pending', privilege: null },
      { id: 'EX-D-032', label: 'Franks exhibit — discrepancies matrix',       kind: 'Demonstrative', batesStart: 'D-003500', batesEnd: 'D-003508', admitted: 'Pending', privilege: null },
    ],
    'WIT-006': [
      { id: 'EX-G-028', label: 'Forensic accounting report (168 pp)',         kind: 'Document',     batesStart: 'G-021420', batesEnd: 'G-021588', admitted: 'Conditional', privilege: null },
      { id: 'EX-G-029', label: 'Backup workpapers — Dr. Chen',                 kind: 'Document',     batesStart: 'G-021590', batesEnd: 'G-021742', admitted: true, privilege: null },
    ],
  };

  // Proofing sessions
  D.witnessProofing = [
    { id: 'PRF-001', witnessId: 'WIT-007', witness: 'Dr. Rebecca Nkrumah', matter: 'Samuel Okonkwo', date: '2026-04-28', duration: 180, attorney: 'M. Kirkland', focus: 'Direct + anticipated cross on 4 methodology points', readiness: 88, notes: 'Confident on causation; needs more prep on regression ranges' },
    { id: 'PRF-002', witnessId: 'WIT-008', witness: 'Dr. Warren McKinley', matter: 'Dr. Priya Venkataraman', date: '2026-05-02', duration: 240, attorney: 'L. Torres', focus: 'Medical necessity of contested treatment modalities', readiness: 92, notes: 'Published author on topic; very strong' },
    { id: 'PRF-003', witnessId: 'WIT-012', witness: 'Dr. Howard Sang', matter: 'Olivia Barnwell', date: '2026-05-20', duration: 120, attorney: 'M. Kirkland', focus: 'Damages rebuttal + materiality range', readiness: 74, notes: 'Need 2nd session — weak on 10b-5 materiality standard' },
    { id: 'PRF-004', witnessId: 'WIT-009', witness: 'Karen Hollis (CFO)', matter: 'Olivia Barnwell', date: '2026-05-22', duration: 90, attorney: 'L. Torres', focus: 'Chronology of board meetings; Barnwell directives', readiness: 64, notes: 'Reluctant witness; manage tone; don\'t push' },
    { id: 'PRF-005', witnessId: 'WIT-011', witness: 'Jennifer Cho', matter: 'Marcus Harrell Jr.', date: '2026-05-08', duration: 90, attorney: 'M. Kirkland', focus: 'Personal knowledge of Harrell\'s charitable activity', readiness: 96, notes: 'Polished; compelling sentencing witness' },
    { id: 'PRF-006', witnessId: 'WIT-016', witness: 'Karen Liu', matter: 'James Whitman', date: '2026-05-15', duration: 45, attorney: 'L. Torres', focus: 'Character / community ties', readiness: 100, notes: 'Short sentencing testimony; scripted' },
    { id: 'PRF-007', witnessId: 'WIT-017', witness: 'Father Michael Doherty', matter: 'Olivia Barnwell', date: '2026-05-26', duration: 60, attorney: 'M. Kirkland', focus: 'Character / charitable service', readiness: 90, notes: 'Clergy testimony — emphasize rehabilitation narrative' },
  ];

  // Impeachment index — 302s, prior inconsistents, Giglio material
  D.witnessImpeachment = [
    { witnessId: 'WIT-002', witness: 'CW-2 (Kyle Jensen)', matter: 'Marcus Harrell Jr.', kind: 'Target-letter lifted',       severity: 'high',     description: 'DOJ lifted target-letter in exchange for testimony — cooperation inducement', source: 'USAO letter 2025-09-14', cited: 'Giglio v. United States' },
    { witnessId: 'WIT-002', witness: 'CW-2 (Kyle Jensen)', matter: 'Marcus Harrell Jr.', kind: 'Financial motivation',        severity: 'medium',   description: 'Civil SEC settlement contingent on federal cooperation', source: 'SEC consent decree 2024-03-22', cited: null },
    { witnessId: 'WIT-004', witness: 'CI-2 (Marcus Hudson)', matter: 'Deshawn Miller', kind: 'Prior false report',           severity: 'critical', description: '3 prior false-report allegations in NYPD files', source: 'NYPD IA file 2023-11-08', cited: 'Kyles v. Whitley' },
    { witnessId: 'WIT-004', witness: 'CI-2 (Marcus Hudson)', matter: 'Deshawn Miller', kind: 'Fee-based payment',             severity: 'medium',   description: '$45K paid over 18 months — financial motivation', source: 'Discovery response 5(f) — Mar 2026', cited: null },
    { witnessId: 'WIT-010', witness: 'Agent T. Reeves',     matter: 'Deshawn Miller',    kind: 'Officer misconduct investigation', severity: 'critical', description: 'Pending IA investigation for 4th Amend. violations', source: 'NYPD IA letter 2026-02-12', cited: null },
    { witnessId: 'WIT-013', witness: 'SA Brad Moreno',      matter: 'Samuel Okonkwo',    kind: 'Prior perjury finding',       severity: 'high',     description: 'Prior finding of perjury in state matter (2021, reversed)', source: 'State reversal 2022-07', cited: 'Napue v. Illinois' },
    { witnessId: 'WIT-014', witness: 'Dr. Ananya Desai',   matter: 'Dr. Priya Venkataraman', kind: 'Hired gun',          severity: 'low',      description: '80% government retention in last 5 years; $1,400/hr', source: 'Expert disclosure', cited: null },
    { witnessId: 'WIT-001', witness: 'CW-1 (Javier Ramirez)', matter: 'Chen Wei-Long',  kind: 'Deportation leverage',         severity: 'high',     description: 'Removal proceedings stayed pending cooperation', source: 'ICE file 2025-04', cited: 'Giglio' },
    { witnessId: 'WIT-015', witness: 'Tyson Briggs (CI-4)', matter: 'Deshawn Miller',   kind: 'Prior fabrications',           severity: 'critical', description: '2 prior fabrications in separate narcotics case', source: 'IA file 2024-09', cited: 'Kyles v. Whitley' },
    { witnessId: 'WIT-001', witness: 'CW-1 (Javier Ramirez)', matter: 'Chen Wei-Long',  kind: 'Prior inconsistent statements', severity: 'medium',  description: '2 prior inconsistent statements re timeline', source: 'Proffer notes', cited: null },
  ];

  // ── INVESTIGATORS — expand to 12, add leads + budget + reports ──
  D.investigators = [
    ...D.investigators,
    { id: 'INV-007', firm: 'Garrison Investigations', type: 'Fact investigation',       matter: 'Samuel Okonkwo',           lead: 'L. Park',        hoursMTD: 108, budgetRemain: 24_000,  focus: 'Pattern-of-practice witnesses at Okonkwo\'s firm 2018-2022' },
    { id: 'INV-008', firm: 'Kestrel Forensic',        type: 'Ballistics / firearm',     matter: 'Deshawn Miller',           lead: 'J. Nakamura',    hoursMTD: 42,  budgetRemain: 12_500,  focus: 'Firearm trace + testing of § 924(c) weapon' },
    { id: 'INV-009', firm: 'Meridian Medical Review', type: 'Medical chart review',     matter: 'Dr. Priya Venkataraman',   lead: 'Dr. E. Kamara',  hoursMTD: 188, budgetRemain: 42_000,  focus: 'Chart-by-chart review of 142 challenged patient encounters' },
    { id: 'INV-010', firm: 'TrueNorth Polygraph',     type: 'Pre-test defensive polygraph', matter: 'James Whitman',        lead: 'R. Schumann',    hoursMTD: 8,   budgetRemain: 4_000,   focus: 'Defensive polygraph on voluntary-disclosure narrative' },
    { id: 'INV-011', firm: 'Alignment Forensics',     type: 'Mobile imaging',           matter: 'Marcus Harrell Jr.',       lead: 'R. Ozawa',       hoursMTD: 22,  budgetRemain: 8_000,   focus: 'Defense team phone imaging — exhibit prep' },
    { id: 'INV-012', firm: 'Hauser & Bren',           type: 'Background — cooperators', matter: 'Marcus Harrell Jr.',       lead: 'S. Bren',        hoursMTD: 64,  budgetRemain: 16_000,  focus: 'Cooperator history; Jensen + other CW backgrounds' },
  ];

  // Investigator leads — actionable items flowing from investigators
  D.investigatorLeads = [
    { id: 'LEAD-001', investigatorId: 'INV-001', matter: 'Marcus Harrell Jr.', opened: '2026-04-02', title: 'Locate former CFO (Jensen pre-cooperation period)',           status: 'In progress', priority: 'high',     assigned: 'T. Garrison',     expected: '2026-05-02', notes: '3 cities narrowed; 2 interviews scheduled' },
    { id: 'LEAD-002', investigatorId: 'INV-012', matter: 'Marcus Harrell Jr.', opened: '2026-04-08', title: 'Jensen bankruptcy filings (prior 7 years)',                   status: 'Completed',   priority: 'medium',   assigned: 'S. Bren',         expected: '2026-04-18', notes: 'Filed bankruptcies 2019, 2022 — financial stress documented' },
    { id: 'LEAD-003', investigatorId: 'INV-002', matter: 'Chen Wei-Long',        opened: '2026-03-14', title: 'Recover deleted WhatsApp messages (Sept 2023)',              status: 'Completed',   priority: 'critical', assigned: 'R. Ozawa',        expected: '2026-04-02', notes: '142 messages recovered; 38 exculpatory' },
    { id: 'LEAD-004', investigatorId: 'INV-004', matter: 'Deshawn Miller',       opened: '2026-03-04', title: 'CI-2 past contracts — NYPD informant history',              status: 'In progress', priority: 'critical', assigned: 'D. Sandoval',     expected: '2026-04-30', notes: 'FOIL request + subpoena combined approach' },
    { id: 'LEAD-005', investigatorId: 'INV-004', matter: 'Deshawn Miller',       opened: '2026-03-22', title: 'Agent Reeves IA file — parallel cases',                      status: 'Awaiting',    priority: 'high',     assigned: 'D. Sandoval',     expected: '2026-05-06', notes: 'Awaiting court order to unseal IA records' },
    { id: 'LEAD-006', investigatorId: 'INV-003', matter: 'Olivia Barnwell',      opened: '2026-02-14', title: '10b-5 materiality — comparable issuer analysis',             status: 'In progress', priority: 'high',     assigned: 'Dr. M. Abati',    expected: '2026-05-12', notes: '68 comparable issuers; damages range $14M-$38M' },
    { id: 'LEAD-007', investigatorId: 'INV-009', matter: 'Dr. Priya Venkataraman', opened: '2026-03-02', title: 'Chart review — Tranche 3 (42 patients)',                   status: 'In progress', priority: 'high',     assigned: 'Dr. E. Kamara',   expected: '2026-05-15', notes: '28 charts reviewed; 22 support medical necessity' },
    { id: 'LEAD-008', investigatorId: 'INV-008', matter: 'Deshawn Miller',       opened: '2026-04-04', title: 'Firearm — serial trace + forensic testing',                  status: 'Pending',     priority: 'medium',   assigned: 'J. Nakamura',     expected: '2026-05-20', notes: 'Testing scheduled with ATF lab; 3-week queue' },
    { id: 'LEAD-009', investigatorId: 'INV-001', matter: 'Marcus Harrell Jr.', opened: '2026-04-14', title: 'Harrell charitable contributions — IRS forms',               status: 'Completed',   priority: 'low',      assigned: 'T. Garrison',     expected: '2026-04-25', notes: '$4.2M verified over 15 years; sentencing mitigation' },
    { id: 'LEAD-010', investigatorId: 'INV-005', matter: 'Samuel Okonkwo',       opened: '2026-03-28', title: 'Jury-pool demographic analysis (S.D.N.Y.)',                  status: 'Completed',   priority: 'medium',   assigned: 'Dr. K. Murphy',   expected: '2026-04-20', notes: 'Mock-trial scheduled 2026-04-24' },
    { id: 'LEAD-011', investigatorId: 'INV-010', matter: 'James Whitman',        opened: '2026-04-10', title: 'Pre-test defensive polygraph — voluntary disclosure',        status: 'Scheduled',   priority: 'low',      assigned: 'R. Schumann',     expected: '2026-05-01', notes: 'For sentencing submission if favorable' },
    { id: 'LEAD-012', investigatorId: 'INV-006', matter: 'Dr. Priya Venkataraman', opened: '2026-03-18', title: 'Billing-pattern comparables — peer benchmarking',          status: 'In progress', priority: 'high',     assigned: 'Dr. M. Abati',   expected: '2026-05-30', notes: 'Peer group of 128 pain-management clinics; Venkat within 1σ on 8/11 metrics' },
    { id: 'LEAD-013', investigatorId: 'INV-007', matter: 'Samuel Okonkwo',       opened: '2026-04-12', title: 'Pattern-of-practice — firm historical billing',             status: 'In progress', priority: 'high',     assigned: 'L. Park',         expected: '2026-05-08', notes: '22 prior matters under review; 3 with similar billing patterns' },
  ];

  // Investigator reports
  D.investigatorReports = [
    { id: 'REP-001', investigatorId: 'INV-002', matter: 'Chen Wei-Long',        title: 'WhatsApp artifact recovery — technical report',                dated: '2026-04-04', pages: 62,  conclusion: '142 messages recovered; 38 directly exculpatory on Count 3 conspiracy scope' },
    { id: 'REP-002', investigatorId: 'INV-003', matter: 'Olivia Barnwell',      title: 'Damages reconstruction — 10b-5 materiality (draft)',           dated: '2026-04-10', pages: 94,  conclusion: 'Damages range $14M-$38M; ≤25% above sentencing threshold; 2.5σ deviation' },
    { id: 'REP-003', investigatorId: 'INV-004', matter: 'Deshawn Miller',       title: 'Franks-hearing foundational report — CI-2 + Reeves discrepancies', dated: '2026-04-15', pages: 38,  conclusion: '14 material misstatements; 6 omissions; IA overlap substantial' },
    { id: 'REP-004', investigatorId: 'INV-006', matter: 'Dr. Priya Venkataraman', title: 'Medicare billing-pattern peer analysis (preliminary)',       dated: '2026-04-02', pages: 48,  conclusion: 'Venkat within 1σ of peer group on 8/11 metrics; 3 metrics warrant further review' },
    { id: 'REP-005', investigatorId: 'INV-005', matter: 'Samuel Okonkwo',       title: 'Jury-pool demographic + mock-trial outcomes',                   dated: '2026-04-20', pages: 72,  conclusion: 'Mock juries: 58% acquittal baseline; 72% with current defense theory' },
    { id: 'REP-006', investigatorId: 'INV-009', matter: 'Dr. Priya Venkataraman', title: 'Medical chart review — Tranche 1 (48 patients)',              dated: '2026-03-28', pages: 186, conclusion: '42/48 support medical necessity; 6 marginal — standard-of-care defense viable' },
    { id: 'REP-007', investigatorId: 'INV-001', matter: 'Marcus Harrell Jr.', title: 'Cooperator background — CW-2 / Jensen comprehensive report',     dated: '2026-04-18', pages: 54,  conclusion: '2 prior bankruptcies; 3 regulatory actions; $2.1M SEC consent — rich impeachment trove' },
    { id: 'REP-008', investigatorId: 'INV-011', matter: 'Marcus Harrell Jr.', title: 'Defense mobile imaging — exhibit preservation',                 dated: '2026-04-22', pages: 12,  conclusion: 'All defense team phones imaged; 2.3TB preserved; chain of custody intact' },
  ];

  // ── POST-CONVICTION — extended ──
  D.postConviction = [
    ...D.postConviction,
    { id: 'PC-006', defendant: '— prior client —', defendantId: null, type: '§ 2254 Habeas (state conviction)', filed: '2025-12-14', hearing: 'Briefing pending', ground: 'Brady violation — state prosecutor suppressed exculpatory lab report', status: 'Amended petition filed', likelihood: 'Moderate' },
    { id: 'PC-007', defendant: 'Michael Ransom',  defendantId: null, type: '§ 2255 Motion',                    filed: '2026-02-22', hearing: '2026-06-04',        ground: 'Johnson residual-clause retroactive (career offender)',          status: 'Response filed', likelihood: 'High' },
    { id: 'PC-008', defendant: '— prior client —', defendantId: null, type: 'Direct appeal (2d Cir.)',           filed: '2025-08-10', hearing: 'Oral arg — 2026-05-18', ground: 'Rule 404(b) improperly admitted',                                status: 'Briefing complete', likelihood: 'Moderate' },
    { id: 'PC-009', defendant: 'Luis Oquendo',     defendantId: null, type: 'Compassionate release (§ 3582(c)(1)(A))', filed: '2026-04-02', hearing: '2026-05-28',  ground: 'Elderly + chronic illness; BOP unable to provide adequate care', status: 'Warden exhaustion pending', likelihood: 'Moderate' },
    { id: 'PC-010', defendant: 'Latonia Greer',    defendantId: null, type: 'First Step Act retroactive',        filed: '2026-01-18', hearing: '2026-05-06',      ground: 'Crack-cocaine sentence — FSA retroactive',                        status: 'Unopposed',      likelihood: 'High' },
  ];

  // Post-conviction briefs / filings
  D.postConvictionBriefs = [
    { id: 'PCB-001', pcId: 'PC-001', title: 'Amended § 2255 motion',                             filed: '2026-03-22', pages: 48,  author: 'M. Kirkland', status: 'Filed' },
    { id: 'PCB-002', pcId: 'PC-001', title: 'Defense affidavit re investigation failures',      filed: '2026-03-22', pages: 12,  author: 'M. Kirkland', status: 'Filed' },
    { id: 'PCB-003', pcId: 'PC-002', title: 'Opening brief — 11th Cir.',                         filed: '2025-06-10', pages: 72,  author: 'L. Torres',   status: 'Filed' },
    { id: 'PCB-004', pcId: 'PC-002', title: 'Reply brief — 11th Cir.',                           filed: '2025-10-02', pages: 38,  author: 'L. Torres',   status: 'Filed' },
    { id: 'PCB-005', pcId: 'PC-003', title: 'Clemency petition — Office of the Pardon Attorney', filed: '2026-02-02', pages: 22,  author: 'M. Kirkland', status: 'Pending DOJ' },
    { id: 'PCB-006', pcId: 'PC-004', title: 'Compassionate release motion',                      filed: '2026-03-18', pages: 24,  author: 'M. Kirkland', status: 'Filed' },
    { id: 'PCB-007', pcId: 'PC-004', title: 'Medical records exhibits (sealed)',                 filed: '2026-03-18', pages: 146, author: 'M. Kirkland', status: 'Filed — sealed' },
    { id: 'PCB-008', pcId: 'PC-007', title: 'Ransom § 2255 — Johnson retroactive',               filed: '2026-02-22', pages: 34,  author: 'L. Torres',   status: 'Filed' },
    { id: 'PCB-009', pcId: 'PC-007', title: 'Gov\'t response',                                    filed: '2026-04-12', pages: 28,  author: 'DOJ (EDNY)',  status: 'Received' },
    { id: 'PCB-010', pcId: 'PC-009', title: 'Warden request (BOP exhaustion)',                   filed: '2026-03-20', pages: 6,   author: 'M. Kirkland', status: 'Denied — triggers § 3582' },
    { id: 'PCB-011', pcId: 'PC-010', title: 'FSA retroactive motion — Greer',                    filed: '2026-01-18', pages: 18,  author: 'L. Torres',   status: 'Filed — unopposed' },
  ];

  // Evidentiary hearings (post-conviction-specific)
  D.postConvictionHearings = [
    { id: 'PCH-001', pcId: 'PC-001', date: '2026-05-28', court: 'S.D. Fla.',    judge: 'Judge Moreno',   purpose: 'Evidentiary hearing — ineffective assistance; trial counsel to testify', status: 'Scheduled' },
    { id: 'PCH-002', pcId: 'PC-002', date: '2026-07-12', court: '11th Cir.',    judge: '3-judge panel',  purpose: 'Oral argument — jury instruction error',                              status: 'Scheduled' },
    { id: 'PCH-003', pcId: 'PC-008', date: '2026-05-18', court: '2d Cir.',      judge: '3-judge panel',  purpose: 'Oral argument — Rule 404(b) error',                                     status: 'Scheduled' },
    { id: 'PCH-004', pcId: 'PC-004', date: '2026-05-14', court: 'E.D.N.Y.',     judge: 'Judge Garaufis', purpose: 'Compassionate release — Oquendo medical',                             status: 'Scheduled' },
    { id: 'PCH-005', pcId: 'PC-007', date: '2026-06-04', court: 'E.D.N.Y.',     judge: 'Judge Matsumoto',purpose: 'Ransom § 2255 — Johnson retroactive',                                 status: 'Scheduled' },
    { id: 'PCH-006', pcId: 'PC-010', date: '2026-05-06', court: 'S.D.N.Y.',     judge: 'Judge Koeltl',   purpose: 'FSA retroactive — Greer (unopposed)',                                 status: 'Scheduled' },
  ];

  // ── PLEA — expand offers + calculator scenarios + history ──
  D.pleaAnalysis = [
    ...D.pleaAnalysis,
    { defendantId: 'D-2026-0137', defendant: 'Olivia Barnwell',  trialConvictionProb: 65, trialGuideRange: '121-151 mo', trialExpected: 135, pleaOffer: 'Sentencing-stage negotiation — Rule 33 outcome dependent', pleaGuideRange: '97-121 mo', pleaExpected: 100, restitution: 18_600_000, cooperation: 'None', daysToDecide: 42, ourRecommendation: 'Hold — Rule 33 motion pending' },
    { defendantId: 'D-2026-0134', defendant: 'James Whitman',    trialConvictionProb: 80, trialGuideRange: '24-30 mo',   trialExpected: 27,  pleaOffer: 'Plea entered — sentencing 2026-05-22',            pleaGuideRange: '12-18 mo',  pleaExpected: 15, restitution: 2_800_000,  cooperation: 'Voluntary disclosure credit', daysToDecide: 0, ourRecommendation: 'Accepted — non-custodial likely' },
    { defendantId: 'D-2026-0135', defendant: 'Kathleen Ó Briain', trialConvictionProb: 25, trialGuideRange: '87-108 mo', trialExpected: 98,  pleaOffer: 'Declination negotiations — no formal offer',      pleaGuideRange: 'N/A',       pleaExpected: null, restitution: null, cooperation: 'Attempted but declined', daysToDecide: 60, ourRecommendation: 'Pre-indictment declination posture' },
    { defendantId: 'D-2026-0139', defendant: 'Samuel Okonkwo',   trialConvictionProb: 35, trialGuideRange: '78-97 mo',   trialExpected: 86,  pleaOffer: 'No offer — trial posture; deferred pending Daubert', pleaGuideRange: 'N/A',    pleaExpected: null, restitution: null, cooperation: 'N/A', daysToDecide: null, ourRecommendation: 'Trial — expert battle + 404(b) limited' },
  ];

  // Plea calculator scenarios (what-if tool)
  D.pleaCalculator = [
    {
      id: 'CALC-001', defendantId: 'D-2026-0142', defendant: 'Marcus Harrell Jr.',
      scenarios: [
        { label: 'Trial — conviction on all 8 counts',       prob: 55, offenseLevel: 32, guideRange: '121-151 mo', expected: 135, restitution: 28_400_000, path: 'Trial' },
        { label: 'Trial — conviction on 5 of 8 counts',       prob: 28, offenseLevel: 28, guideRange: '78-97 mo',   expected: 86,  restitution: 18_200_000, path: 'Trial' },
        { label: 'Trial — acquittal on all counts',           prob: 10, offenseLevel: 0,  guideRange: 'N/A',         expected: 0,   restitution: 0,          path: 'Trial' },
        { label: 'Trial — hung jury',                         prob: 7,  offenseLevel: 0,  guideRange: 'N/A',         expected: 0,   restitution: 0,          path: 'Trial' },
        { label: 'Plea — Counts 1 & 4; dismiss rest (offered)', prob: 100, offenseLevel: 26, guideRange: '51-63 mo',  expected: 57,  restitution: 14_200_000, path: 'Plea' },
        { label: 'Plea — w/ 5K1.1 cooperation (counter)',      prob: 100, offenseLevel: 24, guideRange: '37-46 mo',   expected: 32,  restitution: 14_200_000, path: 'Plea w/ coop' },
      ],
      expectedTrial: 82, expectedPlea: 57,
      savings: 25, decisionDeadline: '2026-05-14',
    },
    {
      id: 'CALC-002', defendantId: 'D-2026-0138', defendant: 'Lin Zhang',
      scenarios: [
        { label: 'Trial — conviction',                         prob: 70, offenseLevel: 28, guideRange: '78-97 mo',  expected: 86,  restitution: 4_800_000, path: 'Trial' },
        { label: 'Trial — partial acquittal',                  prob: 20, offenseLevel: 22, guideRange: '37-46 mo',  expected: 41,  restitution: 2_800_000, path: 'Trial' },
        { label: 'Trial — full acquittal',                     prob: 10, offenseLevel: 0,  guideRange: 'N/A',        expected: 0,   restitution: 0,         path: 'Trial' },
        { label: 'Plea — Count 1 + 5K1.1 cooperation (offered)', prob: 100, offenseLevel: 20, guideRange: '33-41 mo', expected: 28, restitution: 4_800_000, path: 'Plea w/ coop' },
      ],
      expectedTrial: 70, expectedPlea: 28,
      savings: 60, decisionDeadline: '2026-05-20',
    },
    {
      id: 'CALC-003', defendantId: 'D-2026-0136', defendant: 'Deshawn Miller',
      scenarios: [
        { label: 'Trial — full conviction + § 924(c)',         prob: 30, offenseLevel: 32, guideRange: '121-151 mo (+ mand 60)', expected: 195, restitution: 0, path: 'Trial' },
        { label: 'Trial — conviction after Franks win',         prob: 35, offenseLevel: 26, guideRange: '63-78 mo',             expected: 70,  restitution: 0, path: 'Trial' },
        { label: 'Trial — acquittal after suppression',         prob: 35, offenseLevel: 0,  guideRange: 'N/A',                   expected: 0,   restitution: 0, path: 'Trial' },
        { label: 'Plea — § 841 only, safety valve (offered)',    prob: 100, offenseLevel: 24, guideRange: '63-78 mo',             expected: 70,  restitution: 0, path: 'Plea' },
      ],
      expectedTrial: 83, expectedPlea: 70,
      savings: 16, decisionDeadline: '2026-06-10',
    },
  ];

  // Plea history — firm batting average
  D.pleaHistory = [
    { year: '2026 (YTD)', offers: 14, accepted: 9, rejected: 3, pending: 2, avgSavingsMo: 38 },
    { year: '2025',        offers: 48, accepted: 36, rejected: 8, pending: 4, avgSavingsMo: 42 },
    { year: '2024',        offers: 52, accepted: 41, rejected: 9, pending: 2, avgSavingsMo: 36 },
    { year: '2023',        offers: 44, accepted: 34, rejected: 8, pending: 2, avgSavingsMo: 33 },
  ];
})();
