// MOTIONS PLATFORM — Master Data Layer
// Exposed as window.MOTIONS_DATA — firm-wide motion-practice intelligence

const MOTIONS_DATA = {
  kpis: {
    activeMotions: 42,
    drafting: 8,
    partnerReview: 6,
    filed: 14,
    underSubmission: 9,
    grantedYtd: 64,
    grantedInPartYtd: 18,
    deniedYtd: 22,
    avgWinRate: 71.4,           // (granted + 0.5 * partial) / decided — YTD
    dueThisWeek: 7,
    dueNext30: 21,
    oralArgsNext14: 5,
    briefBankEntries: 184,
    templatesActive: 32,
    avgCiteCount: 34,           // per motion
    avgPageCount: 24,
    rulingsReceivedYtd: 104,
    avgDaysToRuling: 38,
    attorneysInvolved: 18,
    totalCitations: 1_428,       // tracked across active motions
  },

  // ── MOTIONS — all active (42 shown; representative 24) ──
  motions: [
    { id: 'M-9042', type: 'Motion for Summary Judgment', captionShort: 'Redstone MSJ Opposition', matter: 'Redstone v. Meridian', matterId: 'M-2024-0312', court: 'Del. Ch.', judge: 'V.C. Laster', filedDate: '2026-04-10', hearingDate: '2026-05-28', status: 'Fully Briefed', author: 'M. Kirkland', pages: 48, cites: 56, wordsTarget: 14000, wordsCurrent: 13840, pct: 98.9, opposing: 'Harrison Defense Group', kind: 'Opposition', expectedOutcome: 'Granted — 68%' },
    { id: 'M-9041', type: 'Motion to Compel Brady', captionShort: 'Harrell Compel Brady', matter: 'United States v. Harrell', matterId: 'M-2025-0384', court: 'S.D.N.Y.', judge: 'Hellerstein', filedDate: '2026-02-24', hearingDate: '2026-04-28', status: 'Under Submission', author: 'L. Torres', pages: 18, cites: 22, wordsTarget: 5000, wordsCurrent: 5000, pct: 100, opposing: 'AUSA S. Chen', kind: 'Motion', expectedOutcome: 'Granted in part — 62%' },
    { id: 'M-9040', type: 'Motion to Dismiss', captionShort: 'Venkataraman MTD (HHS-OIG Estoppel)', matter: 'United States v. Venkataraman', matterId: 'M-2025-0218', court: 'E.D. Pa.', judge: 'Pappert', filedDate: '2026-02-18', hearingDate: '2026-04-28', status: 'Awaiting Argument', author: 'L. Torres', pages: 38, cites: 44, wordsTarget: 11000, wordsCurrent: 10840, pct: 98.5, opposing: 'AUSA M. Reyes', kind: 'Motion', expectedOutcome: 'Granted in part — 48%' },
    { id: 'M-9039', type: 'Franks Hearing Motion', captionShort: 'Miller Franks', matter: 'United States v. Miller', matterId: 'M-2025-0302', court: 'E.D.N.Y.', judge: 'Matsumoto', filedDate: '2026-02-20', hearingDate: '2026-05-08', status: 'Granted', author: 'J. Park', pages: 22, cites: 31, wordsTarget: 6000, wordsCurrent: 6000, pct: 100, opposing: 'AUSA R. Harding', kind: 'Motion', expectedOutcome: 'Granted ok' },
    { id: 'M-9038', type: 'Motion to Suppress (4th Amend.)', captionShort: 'Miller Suppress', matter: 'United States v. Miller', matterId: 'M-2025-0302', court: 'E.D.N.Y.', judge: 'Matsumoto', filedDate: '2026-02-20', hearingDate: '2026-04-30', status: 'Awaiting Argument', author: 'J. Park', pages: 26, cites: 28, wordsTarget: 7000, wordsCurrent: 7000, pct: 100, opposing: 'AUSA R. Harding', kind: 'Motion', expectedOutcome: 'Granted — 70% (contingent on Franks)' },
    { id: 'M-9037', type: 'Motion in Limine — Exclude Patient Testimony', captionShort: 'Venkat MIL Patient Narrative', matter: 'United States v. Venkataraman', matterId: 'M-2025-0218', court: 'E.D. Pa.', judge: 'Pappert', filedDate: '2026-03-28', hearingDate: '2026-04-28', status: 'Filed', author: 'L. Torres', pages: 14, cites: 18, wordsTarget: 4000, wordsCurrent: 4000, pct: 100, opposing: 'AUSA M. Reyes', kind: 'Motion', expectedOutcome: 'Granted in part — 55%' },
    { id: 'M-9036', type: 'Motion for New Trial — Rule 33', captionShort: 'Barnwell New Trial (Brady)', matter: 'United States v. Barnwell', matterId: 'M-2025-0721', court: 'S.D.N.Y.', judge: 'Engelmayer', filedDate: '2026-03-30', hearingDate: '2026-04-28', status: 'Awaiting Argument', author: 'L. Torres', pages: 32, cites: 38, wordsTarget: 8000, wordsCurrent: 8000, pct: 100, opposing: 'AUSA T. Park', kind: 'Motion', expectedOutcome: 'Denied — 72% (long shot)' },
    { id: 'M-9035', type: 'Daubert Motion', captionShort: 'Okonkwo Exclude Gov\'t Expert', matter: 'United States v. Okonkwo', matterId: 'M-2024-0139', court: 'S.D.N.Y.', judge: 'Caproni', filedDate: '2026-03-18', hearingDate: '2026-04-22', status: 'Granted in Part', author: 'M. Kirkland', pages: 24, cites: 32, wordsTarget: 7000, wordsCurrent: 7000, pct: 100, opposing: 'AUSA D. Lee', kind: 'Motion', expectedOutcome: 'Granted in part ok' },
    { id: 'M-9034', type: 'Motion in Limine — 404(b)', captionShort: 'Okonkwo 404(b)', matter: 'United States v. Okonkwo', matterId: 'M-2024-0139', court: 'S.D.N.Y.', judge: 'Caproni', filedDate: '2026-03-20', hearingDate: '2026-04-22', status: 'Granted in Part', author: 'M. Kirkland', pages: 18, cites: 22, wordsTarget: 5000, wordsCurrent: 5000, pct: 100, opposing: 'AUSA D. Lee', kind: 'Motion', expectedOutcome: 'Granted in part ok' },
    { id: 'M-9033', type: 'Motion for Class Certification', captionShort: 'Greenfield Class Cert', matter: 'Greenfield Environmental', matterId: 'M-2024-0215', court: 'N.D. Cal.', judge: 'Gonzalez Rogers', filedDate: '2026-04-02', hearingDate: '2026-06-12', status: 'Opposition Pending', author: 'M. Kirkland', pages: 62, cites: 84, wordsTarget: 18000, wordsCurrent: 17840, pct: 99.1, opposing: 'Greenfield Legal', kind: 'Motion', expectedOutcome: 'Granted — 58%' },
    { id: 'M-9032', type: 'Motion to Quash Subpoena', captionShort: 'Ó Briain Grand Jury Quash', matter: 'United States v. Ó Briain', matterId: 'M-2026-0018', court: 'S.D.N.Y.', judge: 'Liman', filedDate: '2026-03-10', hearingDate: '2026-03-25', status: 'Denied', author: 'M. Kirkland', pages: 14, cites: 16, wordsTarget: 4000, wordsCurrent: 4000, pct: 100, opposing: 'AUSA J. Kang', kind: 'Motion', expectedOutcome: 'Denied ok' },
    { id: 'M-9031', type: 'Sentencing Memorandum — § 3553(a)', captionShort: 'Whitman Sentencing Memo', matter: 'United States v. Whitman', matterId: 'M-2025-0134', court: 'D.D.C.', judge: 'Moss', filedDate: '2026-04-15', hearingDate: '2026-05-22', status: 'Filed', author: 'R. Vasquez', pages: 28, cites: 21, wordsTarget: 8000, wordsCurrent: 8000, pct: 100, opposing: 'AUSA B. Osei', kind: 'Memorandum', expectedOutcome: 'Variance 8-12 mo — 65%' },
    { id: 'M-9030', type: 'Sentencing Memorandum', captionShort: 'Barnwell Sentencing Memo', matter: 'United States v. Barnwell', matterId: 'M-2025-0721', court: 'S.D.N.Y.', judge: 'Engelmayer', filedDate: null, hearingDate: '2026-06-04', status: 'Drafting', author: 'L. Torres', pages: null, cites: 14, wordsTarget: 10000, wordsCurrent: 6400, pct: 64.0, opposing: 'AUSA T. Park', kind: 'Memorandum', expectedOutcome: '72-mo variance — 60%' },
    { id: 'M-9029', type: 'Motion to Sever', captionShort: 'Harrell Sever Count 4', matter: 'United States v. Harrell', matterId: 'M-2025-0384', court: 'S.D.N.Y.', judge: 'Hellerstein', filedDate: '2026-03-14', hearingDate: '2026-04-14', status: 'Denied', author: 'L. Torres', pages: 16, cites: 19, wordsTarget: 4500, wordsCurrent: 4500, pct: 100, opposing: 'AUSA S. Chen', kind: 'Motion', expectedOutcome: 'Denied ok' },
    { id: 'M-9028', type: 'Motion for Bail Review', captionShort: 'Chen § 3145(b)', matter: 'United States v. Chen', matterId: 'M-2026-0042', court: 'D.D.C.', judge: 'Bates', filedDate: '2026-03-04', hearingDate: '2026-03-18', status: 'Denied', author: 'M. Kirkland', pages: 22, cites: 24, wordsTarget: 6000, wordsCurrent: 6000, pct: 100, opposing: 'AUSA F. Diaz', kind: 'Motion', expectedOutcome: 'Denied ok — appeal filed' },
    { id: 'M-9027', type: 'Appellate Brief — Detention', captionShort: 'Chen D.C. Cir. Brief', matter: 'United States v. Chen', matterId: 'M-2026-0042', court: 'D.C. Cir.', judge: '3-judge panel', filedDate: '2026-04-04', hearingDate: '2026-04-28', status: 'Awaiting Argument', author: 'M. Kirkland', pages: 48, cites: 52, wordsTarget: 14000, wordsCurrent: 14000, pct: 100, opposing: 'Appellate Section — DOJ', kind: 'Brief', expectedOutcome: 'Reversal — 52%' },
    { id: 'M-9026', type: 'Motion to Compel', captionShort: 'Redstone Board Minutes', matter: 'Redstone v. Meridian', matterId: 'M-2024-0312', court: 'Del. Ch.', judge: 'V.C. Laster', filedDate: '2026-04-04', hearingDate: '2026-04-28', status: 'Under Submission', author: 'L. Torres', pages: 18, cites: 24, wordsTarget: 5000, wordsCurrent: 5000, pct: 100, opposing: 'Harrison Defense Group', kind: 'Motion', expectedOutcome: 'Granted in part — 64%' },
    { id: 'M-9025', type: 'Motion for Sanctions — Rule 37(e)', captionShort: 'Redstone Osei Spoliation', matter: 'Redstone v. Meridian', matterId: 'M-2024-0312', court: 'Del. Ch.', judge: 'V.C. Laster', filedDate: '2026-04-02', hearingDate: '2026-05-05', status: 'Opposition Pending', author: 'L. Torres', pages: 38, cites: 42, wordsTarget: 11000, wordsCurrent: 11000, pct: 100, opposing: 'Harrison Defense Group', kind: 'Motion', expectedOutcome: 'Adverse inference — 58%' },
    { id: 'M-9024', type: 'Motion to Dismiss', captionShort: 'Pacific Shipping MTD', matter: 'Pacific Shipping Antitrust', matterId: 'M-2024-0456', court: '9th Cir.', judge: 'Gonzalez Rogers', filedDate: null, hearingDate: '2026-05-22', status: 'Drafting', author: 'S. Chen', pages: null, cites: 38, wordsTarget: 15000, wordsCurrent: 9800, pct: 65.3, opposing: 'Defense Consortium', kind: 'Motion', expectedOutcome: 'Denied — 60%' },
    { id: 'M-9023', type: 'Class Certification Reply', captionShort: 'Pacific Shipping Reply', matter: 'Pacific Shipping Antitrust', matterId: 'M-2024-0456', court: '9th Cir.', judge: 'Gonzalez Rogers', filedDate: null, hearingDate: '2026-06-02', status: 'Drafting', author: 'M. Kirkland', pages: null, cites: 31, wordsTarget: 10000, wordsCurrent: 6200, pct: 62.0, opposing: 'Defense Consortium', kind: 'Reply', expectedOutcome: 'Granted — 58%' },
    { id: 'M-9022', type: 'Markman Claim Construction Brief', captionShort: 'Blackwell Markman', matter: 'Blackwell IP', matterId: 'M-2024-0611', court: 'D. Del.', judge: 'Williams', filedDate: '2026-04-15', hearingDate: '2026-06-03', status: 'Opposition Pending', author: 'A. Petrov', pages: 42, cites: 48, wordsTarget: 12000, wordsCurrent: 11800, pct: 98.3, opposing: 'Verge IP Counsel', kind: 'Brief', expectedOutcome: 'Pro-patentee — 55%' },
    { id: 'M-9021', type: 'Daubert Motion', captionShort: 'Redstone Daubert (Harlan)', matter: 'Redstone v. Meridian', matterId: 'M-2024-0312', court: 'Del. Ch.', judge: 'V.C. Laster', filedDate: null, hearingDate: '2026-05-14', status: 'Partner Review', author: 'L. Torres', pages: null, cites: 22, wordsTarget: 4500, wordsCurrent: 4100, pct: 91.1, opposing: 'Harrison Defense Group', kind: 'Motion', expectedOutcome: 'Granted in part — 68%' },
    { id: 'M-9020', type: 'Motion in Limine — Matter Expert', captionShort: 'Redstone MIL Harlan Scope', matter: 'Redstone v. Meridian', matterId: 'M-2024-0312', court: 'Del. Ch.', judge: 'V.C. Laster', filedDate: null, hearingDate: '2026-05-20', status: 'Drafting', author: 'L. Torres', pages: null, cites: 8, wordsTarget: 3500, wordsCurrent: 2100, pct: 60.0, opposing: 'Harrison Defense Group', kind: 'Motion', expectedOutcome: 'Granted — 60%' },
    { id: 'M-9019', type: 'Motion for Protective Order', captionShort: 'Sterling DOJ Protective', matter: 'Sterling Pharma FCPA', matterId: 'M-2024-0701', court: 'D.D.C.', judge: 'Bates', filedDate: '2026-04-14', hearingDate: '2026-05-01', status: 'Opposition Pending', author: 'M. Kirkland', pages: 16, cites: 18, wordsTarget: 4500, wordsCurrent: 4500, pct: 100, opposing: 'DOJ FCPA Unit', kind: 'Motion', expectedOutcome: 'Granted — 72%' },
  ],

  // ── DRAFTING WORKSPACES (active drafts with sections) ──
  drafts: [
    {
      motionId: 'M-9030', caption: 'Sentencing Memorandum — Barnwell',
      author: 'L. Torres', lastEdit: '2h ago',
      sections: [
        { id: 'S1', title: 'Introduction',                          words: 420,  target: 500,  status: 'complete',   cites: 1 },
        { id: 'S2', title: 'Procedural History',                     words: 680,  target: 700,  status: 'complete',   cites: 2 },
        { id: 'S3', title: 'Personal Characteristics (§ 3553(a)(1))',words: 1820, target: 2000, status: 'drafting',   cites: 4 },
        { id: 'S4', title: 'Nature & Circumstances of Offense',      words: 1240, target: 1500, status: 'drafting',   cites: 3 },
        { id: 'S5', title: 'Collateral Consequences',                words: 1100, target: 1200, status: 'complete',   cites: 5 },
        { id: 'S6', title: 'Variance Arguments',                     words: 1140, target: 3000, status: 'outlined',   cites: 8 },
        { id: 'S7', title: 'Conclusion',                             words: 0,    target: 600,  status: 'not-started', cites: 0 },
      ],
    },
    {
      motionId: 'M-9024', caption: 'Motion to Dismiss — Pacific Shipping',
      author: 'S. Chen', lastEdit: '4h ago',
      sections: [
        { id: 'S1', title: 'Introduction',                        words: 680,  target: 700,  status: 'complete',   cites: 2 },
        { id: 'S2', title: 'Statement of Facts',                   words: 2840, target: 3000, status: 'complete',   cites: 12 },
        { id: 'S3', title: 'Argument I — Lack of Antitrust Injury',words: 2840, target: 4000, status: 'drafting',   cites: 14 },
        { id: 'S4', title: 'Argument II — Failure to State a Claim',words: 2100, target: 3500, status: 'drafting',   cites: 8 },
        { id: 'S5', title: 'Argument III — Statute of Limitations',words: 1340, target: 2500, status: 'drafting',   cites: 6 },
        { id: 'S6', title: 'Conclusion',                           words: 0,    target: 500,  status: 'not-started', cites: 0 },
      ],
    },
    {
      motionId: 'M-9023', caption: 'Class Certification Reply — Pacific Shipping',
      author: 'M. Kirkland', lastEdit: '6h ago',
      sections: [
        { id: 'S1', title: 'Introduction',                    words: 480, target: 500,  status: 'complete',   cites: 1 },
        { id: 'S2', title: 'Predominance',                    words: 2400, target: 3500, status: 'drafting',   cites: 14 },
        { id: 'S3', title: 'Damages Methodology',             words: 1800, target: 2400, status: 'drafting',   cites: 9 },
        { id: 'S4', title: 'Typicality & Adequacy',           words: 1200, target: 1500, status: 'drafting',   cites: 4 },
        { id: 'S5', title: 'Rebuttal to Opposition',          words: 0,    target: 1500, status: 'not-started', cites: 0 },
        { id: 'S6', title: 'Conclusion',                      words: 320,  target: 600,  status: 'outlined',   cites: 2 },
      ],
    },
    {
      motionId: 'M-9021', caption: 'Daubert Motion — Dr. Harlan',
      author: 'L. Torres', lastEdit: '1d ago',
      sections: [
        { id: 'S1', title: 'Introduction',                       words: 420, target: 400,  status: 'complete',   cites: 1 },
        { id: 'S2', title: 'Rule 702 Standard',                  words: 860, target: 900,  status: 'complete',   cites: 5 },
        { id: 'S3', title: 'Dr. Harlan\'s Methodology Unreliable',words: 1680,target: 1800, status: 'complete',   cites: 8 },
        { id: 'S4', title: 'Market-Multiples Approach Not Peer-Reviewed', words: 940, target: 1000, status: 'complete', cites: 4 },
        { id: 'S5', title: 'Remedy — Partial Exclusion',         words: 200, target: 400,  status: 'drafting',   cites: 4 },
      ],
    },
  ],

  // ── BRIEF BANK ── (prior-winning briefs + snippets, organized by motion type / issue)
  briefBank: [
    { id: 'BB-001', title: 'MSJ Opposition — Delaware BJR Framework',            type: 'MSJ Opposition',              matterOrigin: 'Redstone v. Meridian',        winRate: '12 of 14 prior uses', pages: 48, cites: 56, author: 'M. Kirkland', category: 'Corporate — BJR',              lastUpdated: '2026-04-10', tags: ['BJR','MFW','fiduciary','Delaware'] },
    { id: 'BB-002', title: 'Daubert — Economic Damages Methodology Challenge',   type: 'Daubert',                       matterOrigin: 'Various',                      winRate: '18 of 22 prior uses', pages: 24, cites: 32, author: 'Litigation Group',  category: 'Expert — Damages',            lastUpdated: '2026-03-22', tags: ['Daubert','702','damages','regression'] },
    { id: 'BB-003', title: 'Motion to Compel — Brady Materiality (Kyles)',        type: 'Compel',                        matterOrigin: 'Multiple criminal',           winRate: '14 of 18 prior uses', pages: 18, cites: 22, author: 'Criminal Defense',   category: 'Criminal — Discovery',        lastUpdated: '2026-02-24', tags: ['Brady','Kyles','Giglio','302s'] },
    { id: 'BB-004', title: 'Motion in Limine — Patient Narrative (Rule 403)',    type: 'MIL',                           matterOrigin: 'Healthcare Fraud matters',    winRate: '8 of 10 prior uses',  pages: 14, cites: 18, author: 'L. Torres',          category: 'Criminal — Evidence',         lastUpdated: '2026-03-28', tags: ['FRE 403','prejudice','patients'] },
    { id: 'BB-005', title: 'Class Certification — Predominance (Comcast)',        type: 'Class Cert',                   matterOrigin: 'Antitrust matters',          winRate: '6 of 8 prior uses',   pages: 42, cites: 58, author: 'S. Chen',            category: 'Antitrust — Class',           lastUpdated: '2026-04-02', tags: ['Comcast','Wal-Mart','predominance','Amex'] },
    { id: 'BB-006', title: 'Franks Hearing — Officer Affiant Misstatement',      type: 'Franks',                        matterOrigin: 'Criminal — Narcotics',        winRate: '5 of 6 prior uses',   pages: 22, cites: 31, author: 'J. Park',            category: 'Criminal — 4th Amend.',       lastUpdated: '2026-02-20', tags: ['Franks','affidavit','CI','probable cause'] },
    { id: 'BB-007', title: 'Sanctions — Rule 37(e) Adverse Inference',            type: 'Sanctions',                    matterOrigin: 'Redstone + Greenfield',       winRate: '10 of 14 prior uses', pages: 38, cites: 42, author: 'L. Torres',          category: 'Discovery — Spoliation',      lastUpdated: '2026-04-02', tags: ['Rule 37(e)','spoliation','ESI','adverse inference'] },
    { id: 'BB-008', title: 'Bail Pending Trial — § 3142 Flight Risk',             type: 'Bail',                          matterOrigin: 'Criminal — Cross-border',     winRate: '7 of 12 prior uses',  pages: 22, cites: 24, author: 'M. Kirkland',        category: 'Criminal — Bail',             lastUpdated: '2026-03-04', tags: ['§ 3142','flight risk','PRC','Kastigar'] },
    { id: 'BB-009', title: '§ 3553(a) Variance — Acceptance + Cooperation',       type: 'Sentencing',                   matterOrigin: 'Multiple criminal',           winRate: '22 of 28 prior uses', pages: 28, cites: 21, author: 'Criminal Defense',   category: 'Criminal — Sentencing',       lastUpdated: '2026-04-15', tags: ['§ 3553(a)','variance','acceptance','cooperation'] },
    { id: 'BB-010', title: 'Markman — §112(f) Means-Plus-Function',              type: 'Markman',                        matterOrigin: 'Blackwell IP',                 winRate: '9 of 11 prior uses',  pages: 42, cites: 48, author: 'A. Petrov',          category: 'Patent — Claim Construction', lastUpdated: '2026-04-15', tags: ['Williamson','§ 112(f)','means-plus-function'] },
    { id: 'BB-011', title: 'Motion to Dismiss — Securities PSLRA Scienter',       type: 'MTD',                           matterOrigin: 'Securities — 10b-5',          winRate: '6 of 10 prior uses',  pages: 32, cites: 41, author: 'L. Torres',          category: 'Securities — MTD',            lastUpdated: '2026-03-20', tags: ['PSLRA','Tellabs','scienter','Iqbal'] },
    { id: 'BB-012', title: 'Class Cert Reply — Amex Two-Sided Market',            type: 'Class Cert Reply',             matterOrigin: 'Pacific Shipping',             winRate: '4 of 6 prior uses',   pages: 32, cites: 28, author: 'M. Kirkland',        category: 'Antitrust — Class',           lastUpdated: '2026-04-19', tags: ['Amex','two-sided','Sherman §1'] },
    { id: 'BB-013', title: 'Motion to Quash — Grand Jury Subpoena Privilege',     type: 'Quash',                         matterOrigin: 'Criminal — Investigation',    winRate: '3 of 8 prior uses',   pages: 14, cites: 16, author: 'M. Kirkland',        category: 'Criminal — Privilege',        lastUpdated: '2026-03-10', tags: ['grand jury','attorney-client','privilege'] },
    { id: 'BB-014', title: 'Protective Order — Confidential Investigation',      type: 'Protective Order',              matterOrigin: 'Sterling FCPA',               winRate: '8 of 9 prior uses',   pages: 16, cites: 18, author: 'M. Kirkland',        category: 'Criminal — Discovery',        lastUpdated: '2026-04-14', tags: ['protective order','FCPA','DOJ'] },
    { id: 'BB-015', title: 'Appellate Brief — Detention Appeal (§ 3145)',         type: 'Appellate',                    matterOrigin: 'Criminal — Cross-border',     winRate: '2 of 4 prior uses',   pages: 48, cites: 52, author: 'M. Kirkland',        category: 'Criminal — Appeal',           lastUpdated: '2026-04-04', tags: ['D.C. Cir.','detention','§ 3145'] },
    { id: 'BB-016', title: 'Motion for New Trial — Rule 33 Brady Post-Verdict',  type: 'New Trial',                     matterOrigin: 'Barnwell',                     winRate: '1 of 3 prior uses',   pages: 32, cites: 38, author: 'L. Torres',          category: 'Criminal — Post-Trial',       lastUpdated: '2026-03-30', tags: ['Rule 33','Brady','Wearry'] },
  ],

  // ── CITATIONS (aggregate view — 80+ tracked; subset shown) ──
  citations: [
    { id: 'C-001', short: 'MFW v. Kahn',                 cite: '88 A.3d 635 (Del. 2014)',         motionIds: ['M-9042'],                  treatment: 'positive',  usesInMotion: 8, firmUsage: 42, lastVerified: '2026-04-18' },
    { id: 'C-002', short: 'Aronson v. Lewis',            cite: '473 A.2d 805 (Del. 1984)',         motionIds: ['M-9042'],                  treatment: 'caution',   usesInMotion: 4, firmUsage: 38, lastVerified: '2026-04-17', flagNote: 'Partially abrogated by Zuckerberg (Del. 2021)' },
    { id: 'C-003', short: 'Revlon',                       cite: '506 A.2d 173 (Del. 1986)',         motionIds: ['M-9042'],                  treatment: 'positive',  usesInMotion: 3, firmUsage: 34, lastVerified: '2026-04-15' },
    { id: 'C-004', short: 'Unocal',                       cite: '493 A.2d 946 (Del. 1985)',         motionIds: ['M-9042'],                  treatment: 'caution',   usesInMotion: 2, firmUsage: 22, lastVerified: '2026-04-10' },
    { id: 'C-005', short: 'Kyles v. Whitley',            cite: '514 U.S. 419 (1995)',              motionIds: ['M-9041'],                  treatment: 'positive',  usesInMotion: 6, firmUsage: 48, lastVerified: '2026-04-12' },
    { id: 'C-006', short: 'Brady v. Maryland',           cite: '373 U.S. 83 (1963)',               motionIds: ['M-9041','M-9036'],         treatment: 'positive',  usesInMotion: 4, firmUsage: 82, lastVerified: '2026-04-12' },
    { id: 'C-007', short: 'Giglio v. United States',     cite: '405 U.S. 150 (1972)',              motionIds: ['M-9041'],                  treatment: 'positive',  usesInMotion: 3, firmUsage: 42, lastVerified: '2026-04-10' },
    { id: 'C-008', short: 'Daubert v. Merrell Dow',      cite: '509 U.S. 579 (1993)',              motionIds: ['M-9035','M-9021'],         treatment: 'positive',  usesInMotion: 8, firmUsage: 64, lastVerified: '2026-04-08' },
    { id: 'C-009', short: 'Kumho Tire v. Carmichael',    cite: '526 U.S. 137 (1999)',              motionIds: ['M-9035','M-9021'],         treatment: 'positive',  usesInMotion: 5, firmUsage: 38, lastVerified: '2026-04-08' },
    { id: 'C-010', short: 'Heckler v. Chaney',           cite: '470 U.S. 821 (1985)',              motionIds: ['M-9040'],                  treatment: 'positive',  usesInMotion: 3, firmUsage: 12, lastVerified: '2026-02-12' },
    { id: 'C-011', short: 'Franks v. Delaware',          cite: '438 U.S. 154 (1978)',              motionIds: ['M-9039'],                  treatment: 'positive',  usesInMotion: 9, firmUsage: 28, lastVerified: '2026-04-05' },
    { id: 'C-012', short: 'Comcast Corp. v. Behrend',    cite: '569 U.S. 27 (2013)',               motionIds: ['M-9033','M-9023'],         treatment: 'caution',   usesInMotion: 6, firmUsage: 24, lastVerified: '2026-04-02' },
    { id: 'C-013', short: 'Wal-Mart v. Dukes',           cite: '564 U.S. 338 (2011)',              motionIds: ['M-9033','M-9023'],         treatment: 'positive',  usesInMotion: 5, firmUsage: 26, lastVerified: '2026-04-02' },
    { id: 'C-014', short: 'Amex (Ohio v. American Express)', cite: '138 S.Ct. 2274 (2018)',        motionIds: ['M-9033','M-9023','M-9024'],treatment: 'caution',   usesInMotion: 4, firmUsage: 18, lastVerified: '2026-04-19' },
    { id: 'C-015', short: 'Tellabs v. Makor',            cite: '551 U.S. 308 (2007)',              motionIds: [],                          treatment: 'positive',  usesInMotion: 0, firmUsage: 22, lastVerified: '2026-03-20' },
    { id: 'C-016', short: 'Twombly v. Bell Atlantic',    cite: '550 U.S. 544 (2007)',              motionIds: ['M-9040','M-9024'],         treatment: 'positive',  usesInMotion: 4, firmUsage: 96, lastVerified: '2026-04-14' },
    { id: 'C-017', short: 'Iqbal',                        cite: '556 U.S. 662 (2009)',              motionIds: ['M-9040','M-9024'],         treatment: 'positive',  usesInMotion: 3, firmUsage: 104, lastVerified: '2026-04-14' },
    { id: 'C-018', short: 'Williamson v. Citrix',        cite: '792 F.3d 1339 (Fed. Cir. 2015)',   motionIds: ['M-9022'],                  treatment: 'positive',  usesInMotion: 7, firmUsage: 24, lastVerified: '2026-04-14' },
    { id: 'C-019', short: 'Wearry v. Cain',              cite: '577 U.S. 385 (2016)',              motionIds: ['M-9036'],                  treatment: 'positive',  usesInMotion: 4, firmUsage: 14, lastVerified: '2026-03-30' },
    { id: 'C-020', short: 'Napue v. Illinois',           cite: '360 U.S. 264 (1959)',              motionIds: ['M-9036'],                  treatment: 'positive',  usesInMotion: 2, firmUsage: 18, lastVerified: '2026-03-28' },
  ],

  // ── CALENDAR (motion-specific deadlines) ──
  calendar: [
    { date: '2026-04-22', motionId: 'M-9035', caption: 'Okonkwo Daubert — hearing',           matter: 'US v. Okonkwo',         type: 'Hearing', urgency: 'high' },
    { date: '2026-04-22', motionId: 'M-9034', caption: 'Okonkwo 404(b) MIL — hearing',        matter: 'US v. Okonkwo',         type: 'Hearing', urgency: 'high' },
    { date: '2026-04-28', motionId: 'M-9041', caption: 'Harrell Compel Brady — argument',     matter: 'US v. Harrell',         type: 'Argument', urgency: 'critical' },
    { date: '2026-04-28', motionId: 'M-9040', caption: 'Venkat MTD + MIL — argument',         matter: 'US v. Venkataraman',    type: 'Argument', urgency: 'critical' },
    { date: '2026-04-28', motionId: 'M-9027', caption: 'Chen D.C. Cir. detention appeal',     matter: 'US v. Chen',            type: 'Oral Arg', urgency: 'critical' },
    { date: '2026-04-28', motionId: 'M-9036', caption: 'Barnwell Rule 33 — argument',          matter: 'US v. Barnwell',        type: 'Argument', urgency: 'high' },
    { date: '2026-04-28', motionId: 'M-9026', caption: 'Redstone Compel Board Minutes',        matter: 'Redstone v. Meridian',  type: 'Argument', urgency: 'high' },
    { date: '2026-04-30', motionId: 'M-9038', caption: 'Miller Suppress — argument',           matter: 'US v. Miller',          type: 'Argument', urgency: 'critical' },
    { date: '2026-05-01', motionId: 'M-9019', caption: 'Sterling Protective Order — argument', matter: 'Sterling FCPA',         type: 'Argument', urgency: 'high' },
    { date: '2026-05-05', motionId: 'M-9025', caption: 'Redstone Sanctions (37(e)) — argument', matter: 'Redstone v. Meridian', type: 'Argument', urgency: 'high' },
    { date: '2026-05-08', motionId: 'M-9039', caption: 'Miller Franks evidentiary hearing',    matter: 'US v. Miller',          type: 'Evidentiary', urgency: 'critical' },
    { date: '2026-05-14', motionId: 'M-9021', caption: 'Redstone Daubert (Harlan) — due',      matter: 'Redstone v. Meridian',  type: 'Filing', urgency: 'high' },
    { date: '2026-05-22', motionId: 'M-9024', caption: 'Pacific Shipping MTD — filing due',    matter: 'Pacific Shipping',      type: 'Filing', urgency: 'medium' },
    { date: '2026-05-22', motionId: 'M-9031', caption: 'Whitman Sentencing — hearing',          matter: 'US v. Whitman',         type: 'Hearing', urgency: 'critical' },
    { date: '2026-05-28', motionId: 'M-9042', caption: 'Redstone MSJ Opposition — argument',   matter: 'Redstone v. Meridian',  type: 'Argument', urgency: 'critical' },
    { date: '2026-06-02', motionId: 'M-9023', caption: 'Pacific Shipping Class Cert Reply',    matter: 'Pacific Shipping',      type: 'Filing', urgency: 'medium' },
    { date: '2026-06-03', motionId: 'M-9022', caption: 'Blackwell Markman hearing',             matter: 'Blackwell IP',          type: 'Hearing', urgency: 'high' },
    { date: '2026-06-04', motionId: 'M-9030', caption: 'Barnwell Sentencing — hearing',         matter: 'US v. Barnwell',        type: 'Hearing', urgency: 'critical' },
    { date: '2026-06-12', motionId: 'M-9033', caption: 'Greenfield Class Cert — hearing',       matter: 'Greenfield Env.',       type: 'Hearing', urgency: 'high' },
  ],

  // ── JUDGES — tendency database ──
  judges: [
    { id: 'JDG-001', name: 'V.C. J. Travis Laster',      court: 'Del. Ch.',      tenure: 14, opinionsAnalyzed: 1_842, grantRate: 46.2, msjGrantRate: 38.4, daubertGrantRate: 52.1, discoveryMotionGrant: 62.4, avgDaysToRuling: 42, tendency: 'balanced', notableNotes: 'Rewards well-documented record; skeptical of novel theories; favors oral argument.', firmWinRate: 71 },
    { id: 'JDG-002', name: 'Alvin K. Hellerstein',      court: 'S.D.N.Y.',      tenure: 28, opinionsAnalyzed: 3_420, grantRate: 52.4, msjGrantRate: 46.2, daubertGrantRate: 48.6, discoveryMotionGrant: 68.2, avgDaysToRuling: 38, tendency: 'pro-movant',  notableNotes: 'Pragmatic; values brevity (<25 pages); high grant rate on Rule 12.',                                           firmWinRate: 64 },
    { id: 'JDG-003', name: 'Gerald Austin McHugh Jr.',  court: 'E.D. Pa.',      tenure: 12, opinionsAnalyzed: 1_284, grantRate: 44.8, msjGrantRate: 34.2, daubertGrantRate: 58.4, discoveryMotionGrant: 56.2, avgDaysToRuling: 51, tendency: 'balanced',                              notableNotes: 'Thorough opinion writer; 8-10 week average to ruling.',                                  firmWinRate: 58 },
    { id: 'JDG-004', name: 'John Dennis Bates',         court: 'D.D.C.',        tenure: 18, opinionsAnalyzed: 2_180, grantRate: 48.6, msjGrantRate: 42.4, daubertGrantRate: 46.8, discoveryMotionGrant: 58.4, avgDaysToRuling: 45, tendency: 'balanced',                              notableNotes: 'Detention grants heavily; reversal rate on appeal 6%.',                                  firmWinRate: 52 },
    { id: 'JDG-005', name: 'Kiyo A. Matsumoto',          court: 'E.D.N.Y.',     tenure: 17, opinionsAnalyzed: 1_820, grantRate: 41.2, msjGrantRate: 32.4, daubertGrantRate: 44.6, discoveryMotionGrant: 64.8, avgDaysToRuling: 62, tendency: 'pro-defendant', notableNotes: 'Grants Franks hearings above avg; scrutinizes CI reliability.',                         firmWinRate: 82 },
    { id: 'JDG-006', name: 'Valerie Caproni',             court: 'S.D.N.Y.',     tenure: 12, opinionsAnalyzed: 1_640, grantRate: 49.2, msjGrantRate: 44.6, daubertGrantRate: 56.2, discoveryMotionGrant: 60.4, avgDaysToRuling: 36, tendency: 'balanced',                              notableNotes: 'Rigorous on Daubert; granular rulings on 404(b).',                                       firmWinRate: 74 },
    { id: 'JDG-007', name: 'Paul A. Engelmayer',         court: 'S.D.N.Y.',     tenure: 14, opinionsAnalyzed: 1_920, grantRate: 55.4, msjGrantRate: 52.8, daubertGrantRate: 51.4, discoveryMotionGrant: 62.2, avgDaysToRuling: 32, tendency: 'pro-movant',                           notableNotes: 'Grants well-supported § 3553(a) variances 18% avg.',                                     firmWinRate: 68 },
    { id: 'JDG-008', name: 'Yvonne Gonzalez Rogers',    court: 'N.D. Cal.',     tenure: 13, opinionsAnalyzed: 1_480, grantRate: 42.8, msjGrantRate: 36.2, daubertGrantRate: 52.4, discoveryMotionGrant: 58.6, avgDaysToRuling: 48, tendency: 'pro-defendant', notableNotes: 'Class certification rulings lean plaintiff; strict on predominance.',                   firmWinRate: 61 },
    { id: 'JDG-009', name: 'Lewis J. Liman',             court: 'S.D.N.Y.',     tenure: 6,  opinionsAnalyzed: 680,   grantRate: 50.2, msjGrantRate: 42.4, daubertGrantRate: 48.6, discoveryMotionGrant: 58.4, avgDaysToRuling: 42, tendency: 'balanced',                              notableNotes: 'Background as trial lawyer; detailed bench rulings.',                                    firmWinRate: 56 },
    { id: 'JDG-010', name: 'Gregory B. Williams',       court: 'D. Del.',       tenure: 5,  opinionsAnalyzed: 420,   grantRate: 54.4, msjGrantRate: 48.2, daubertGrantRate: 56.4, discoveryMotionGrant: 58.2, avgDaysToRuling: 58, tendency: 'pro-movant',                           notableNotes: 'Strong Markman rulings; claim-construction orientation.',                                firmWinRate: 72 },
  ],

  // ── OPPOSING COUNSEL ──
  opposingCounsel: [
    { id: 'OC-001', firm: 'Harrison Defense Group',        practice: 'Commercial Litigation',  typicalMotions: ['MSJ','Motion to Compel','Protective Order'], motionsFiledVsUs: 14, ourWinRate: 71, theirWinRate: 29, avgRespTime: 28, notable: 'Strong on privilege; weak on discovery disputes.' },
    { id: 'OC-002', firm: 'Cravath Antitrust Team',        practice: 'Antitrust',               typicalMotions: ['MTD','Class Cert Opposition'],               motionsFiledVsUs: 8,  ourWinRate: 63, theirWinRate: 37, avgRespTime: 34, notable: 'Aggressive briefing; strong economic-expert relationships.' },
    { id: 'OC-003', firm: 'AUSA Southern District of N.Y.',practice: 'Federal Criminal',        typicalMotions: ['Opposition','Detention'],                    motionsFiledVsUs: 22, ourWinRate: 48, theirWinRate: 52, avgRespTime: 14, notable: 'Brady-compliance disputes common; receptive to scope negotiation.' },
    { id: 'OC-004', firm: 'AUSA Eastern District of Pa.',  practice: 'Federal Criminal',        typicalMotions: ['Opposition','MIL'],                          motionsFiledVsUs: 6,  ourWinRate: 58, theirWinRate: 42, avgRespTime: 21, notable: 'Novel theories engaged in good faith; slow production.' },
    { id: 'OC-005', firm: 'AUSA District of Columbia',     practice: 'FCPA / White Collar',     typicalMotions: ['Opposition','Protective Order'],             motionsFiledVsUs: 12, ourWinRate: 54, theirWinRate: 46, avgRespTime: 18, notable: 'FCPA Unit highly specialized; extensive use of in-camera reviews.' },
    { id: 'OC-006', firm: 'DOJ Appellate Section',         practice: 'Federal Appellate',        typicalMotions: ['Appellate Brief','Opposition'],              motionsFiledVsUs: 4,  ourWinRate: 42, theirWinRate: 58, avgRespTime: 45, notable: 'Strategic ceding of weak points; high-quality briefs.' },
    { id: 'OC-007', firm: 'Verge IP Counsel (Fish)',      practice: 'Patent Litigation',        typicalMotions: ['Markman Opposition','MTD'],                  motionsFiledVsUs: 6,  ourWinRate: 68, theirWinRate: 32, avgRespTime: 32, notable: 'Aggressive on § 101 eligibility; claim-construction conservative.' },
    { id: 'OC-008', firm: 'Greenfield Legal (Latham)',    practice: 'Environmental / Class',    typicalMotions: ['Opposition','MTD'],                          motionsFiledVsUs: 5,  ourWinRate: 62, theirWinRate: 38, avgRespTime: 28, notable: 'Strong expert-witness preparation; weak on standing.' },
    { id: 'OC-009', firm: 'Defense Consortium (MDL)',     practice: 'Antitrust / MDL',          typicalMotions: ['MTD','Opposition','MIL'],                    motionsFiledVsUs: 10, ourWinRate: 56, theirWinRate: 44, avgRespTime: 42, notable: 'Coordinated filings; varying quality across firms.' },
    { id: 'OC-010', firm: 'SEC Enforcement',              practice: 'Securities',                typicalMotions: ['CID Response','Settlement Negotiation'],     motionsFiledVsUs: 3,  ourWinRate: 48, theirWinRate: 52, avgRespTime: 60, notable: 'Data-driven approach; willingness to narrow scope.' },
  ],

  // ── ORAL ARGUMENT PREPS ──
  oralArgs: [
    { id: 'OA-001', motionId: 'M-9027', caption: 'Chen D.C. Cir. Detention Appeal',  date: '2026-04-28', argueBy: 'M. Kirkland',    mootsScheduled: 2, mootsCompleted: 1, notesCount: 18, witnessesConfirmed: 0, preparationPct: 78, readiness: 'on-track' },
    { id: 'OA-002', motionId: 'M-9042', caption: 'Redstone MSJ Opposition',          date: '2026-05-28', argueBy: 'M. Kirkland',    mootsScheduled: 3, mootsCompleted: 1, notesCount: 34, witnessesConfirmed: 0, preparationPct: 52, readiness: 'on-track' },
    { id: 'OA-003', motionId: 'M-9040', caption: 'Venkat MTD Hearing',                date: '2026-04-28', argueBy: 'L. Torres',       mootsScheduled: 2, mootsCompleted: 2, notesCount: 28, witnessesConfirmed: 0, preparationPct: 88, readiness: 'ready' },
    { id: 'OA-004', motionId: 'M-9038', caption: 'Miller Suppression Hearing',        date: '2026-04-30', argueBy: 'J. Park',          mootsScheduled: 1, mootsCompleted: 1, notesCount: 22, witnessesConfirmed: 3, preparationPct: 84, readiness: 'ready' },
    { id: 'OA-005', motionId: 'M-9039', caption: 'Miller Franks Evidentiary Hearing', date: '2026-05-08', argueBy: 'J. Park',          mootsScheduled: 2, mootsCompleted: 1, notesCount: 32, witnessesConfirmed: 4, preparationPct: 68, readiness: 'on-track' },
    { id: 'OA-006', motionId: 'M-9041', caption: 'Harrell Compel Brady',              date: '2026-04-28', argueBy: 'L. Torres',       mootsScheduled: 1, mootsCompleted: 0, notesCount: 14, witnessesConfirmed: 0, preparationPct: 58, readiness: 'on-track' },
    { id: 'OA-007', motionId: 'M-9035', caption: 'Okonkwo Daubert',                    date: '2026-04-22', argueBy: 'M. Kirkland',    mootsScheduled: 1, mootsCompleted: 1, notesCount: 18, witnessesConfirmed: 1, preparationPct: 92, readiness: 'ready' },
  ],

  // ── ANALYTICS ── (win rates, trends)
  analytics: {
    winRateByType: [
      { type: 'MSJ Opposition',        filed: 18, granted: 12, partial: 4, denied: 2,  winRate: 77.8 },
      { type: 'MTD',                    filed: 14, granted: 8,  partial: 2, denied: 4,  winRate: 64.3 },
      { type: 'Motion to Compel',       filed: 28, granted: 18, partial: 6, denied: 4,  winRate: 75.0 },
      { type: 'Daubert',                 filed: 11, granted: 7,  partial: 3, denied: 1,  winRate: 77.3 },
      { type: 'MIL',                     filed: 22, granted: 14, partial: 6, denied: 2,  winRate: 77.3 },
      { type: 'Franks Hearing',         filed: 4,  granted: 3,  partial: 0, denied: 1,  winRate: 75.0 },
      { type: 'Class Cert',              filed: 6,  granted: 4,  partial: 1, denied: 1,  winRate: 75.0 },
      { type: 'Sanctions (Rule 37)',    filed: 8,  granted: 4,  partial: 2, denied: 2,  winRate: 62.5 },
      { type: 'Bail Review',            filed: 5,  granted: 2,  partial: 0, denied: 3,  winRate: 40.0 },
      { type: 'Markman',                 filed: 7,  granted: 5,  partial: 1, denied: 1,  winRate: 78.6 },
    ],
    winRateByAttorney: [
      { attorney: 'M. Kirkland',  motions: 42, granted: 28, partial: 8,  denied: 6,  winRate: 76.2 },
      { attorney: 'L. Torres',     motions: 38, granted: 24, partial: 10, denied: 4,  winRate: 76.3 },
      { attorney: 'J. Park',       motions: 18, granted: 11, partial: 5,  denied: 2,  winRate: 75.0 },
      { attorney: 'S. Chen',       motions: 22, granted: 14, partial: 4,  denied: 4,  winRate: 72.7 },
      { attorney: 'A. Petrov',     motions: 12, granted: 8,  partial: 2,  denied: 2,  winRate: 75.0 },
      { attorney: 'R. Vasquez',    motions: 14, granted: 8,  partial: 3,  denied: 3,  winRate: 67.9 },
    ],
    monthlyTrend: [
      { m: 'May 25', filed: 18, granted: 12 },
      { m: 'Jun 25', filed: 22, granted: 14 },
      { m: 'Jul 25', filed: 20, granted: 14 },
      { m: 'Aug 25', filed: 19, granted: 13 },
      { m: 'Sep 25', filed: 24, granted: 16 },
      { m: 'Oct 25', filed: 26, granted: 19 },
      { m: 'Nov 25', filed: 22, granted: 16 },
      { m: 'Dec 25', filed: 16, granted: 11 },
      { m: 'Jan 26', filed: 24, granted: 18 },
      { m: 'Feb 26', filed: 28, granted: 22 },
      { m: 'Mar 26', filed: 32, granted: 24 },
      { m: 'Apr 26', filed: 22, granted: 16 },
    ],
  },

  // ── RULINGS (recent court orders received) ──
  rulings: [
    { id: 'R-101', motionId: 'M-9039', caption: 'Miller — Franks Hearing', outcome: 'Granted',         rulingDate: '2026-04-18', daysToRuling: 57, judge: 'Matsumoto',         oneLineSummary: 'Evidentiary hearing granted on 3 affidavit misstatements re CI-2.' },
    { id: 'R-100', motionId: 'M-9029', caption: 'Harrell — Sever Count 4',  outcome: 'Denied',           rulingDate: '2026-04-14', daysToRuling: 31, judge: 'Hellerstein',      oneLineSummary: 'Rule 14 joinder balance does not preclude trial of § 1028A with Counts 1-3.' },
    { id: 'R-099', motionId: 'M-9035', caption: 'Okonkwo — Daubert',         outcome: 'Granted in Part', rulingDate: '2026-04-12', daysToRuling: 25, judge: 'Caproni',           oneLineSummary: 'Gov\'t expert permitted on methodology; excluded on ultimate issue.' },
    { id: 'R-098', motionId: 'M-9034', caption: 'Okonkwo — 404(b)',          outcome: 'Granted in Part', rulingDate: '2026-04-12', daysToRuling: 23, judge: 'Caproni',           oneLineSummary: 'Prior 2018 investigation excluded as propensity; admissible for intent if opened.' },
    { id: 'R-097', motionId: 'M-9032', caption: 'Ó Briain — Quash Subpoena', outcome: 'Denied',           rulingDate: '2026-03-25', daysToRuling: 15, judge: 'Liman',             oneLineSummary: 'No privilege attached to pre-engagement consulting advice.' },
    { id: 'R-096', motionId: 'M-9028', caption: 'Chen — Bail Review',        outcome: 'Denied',           rulingDate: '2026-03-18', daysToRuling: 14, judge: 'Bates',             oneLineSummary: 'Flight risk finding confirmed; detention appropriate.' },
    { id: 'R-095', motionId: null,      caption: 'Greenfield — MTD (2025)',   outcome: 'Denied',           rulingDate: '2026-01-28', daysToRuling: 42, judge: 'Gonzalez Rogers',   oneLineSummary: 'Class allegations plausibly pled under Twombly/Iqbal framework.' },
    { id: 'R-094', motionId: null,      caption: 'Thornton — MIL',            outcome: 'Granted',          rulingDate: '2026-01-18', daysToRuling: 28, judge: 'Reynolds',          oneLineSummary: 'Attorney-drafted will narrative excluded; limited to contemporaneous records.' },
    { id: 'R-093', motionId: null,      caption: 'Sterling — Protective',    outcome: 'Granted',          rulingDate: '2026-01-10', daysToRuling: 19, judge: 'Bates',              oneLineSummary: 'Confidential investigative materials may be sealed for in-camera review.' },
    { id: 'R-092', motionId: null,      caption: 'Blackwell — MSJ Invalidity', outcome: 'Denied',          rulingDate: '2025-12-20', daysToRuling: 52, judge: 'Williams',          oneLineSummary: 'Material disputes on prior art preclude summary judgment.' },
  ],

  // ── TEMPLATES ──
  templates: [
    { id: 'T-001', name: 'MSJ Opposition — Commercial Litigation',          category: 'Motion', words: 12000, sections: 6, coreCites: ['MFW','Aronson','Celotex','Anderson'],              usedBy: 18, updated: '2026-04-10', author: 'M. Kirkland',          description: 'MSJ opposition in commercial fraud / fiduciary duty context. Pre-built sections for BJR, MFW, entire-fairness.' },
    { id: 'T-002', name: 'Motion to Dismiss — Rule 12(b)(6)',                category: 'Motion', words: 8000,  sections: 5, coreCites: ['Twombly','Iqbal'],                                  usedBy: 34, updated: '2026-03-14', author: 'Litigation',           description: 'Standard 12(b)(6) template with plausibility framework and common defenses.' },
    { id: 'T-003', name: 'Daubert Motion to Exclude Expert',                 category: 'Motion', words: 5000,  sections: 5, coreCites: ['Daubert','Kumho Tire','Rule 702'],                 usedBy: 22, updated: '2026-04-02', author: 'Litigation',           description: 'Motion to exclude expert under Rule 702 / Daubert. Includes 2023 Rule 702 amendment arguments.' },
    { id: 'T-004', name: 'Motion to Compel — Brady (Criminal)',              category: 'Motion', words: 5000,  sections: 5, coreCites: ['Brady','Kyles','Giglio','Bagley'],                 usedBy: 14, updated: '2026-02-24', author: 'Criminal Defense',     description: 'Brady compel motion with Kyles materiality framework.' },
    { id: 'T-005', name: 'Motion in Limine — Rule 403 Prejudice',            category: 'Motion', words: 4000,  sections: 4, coreCites: ['FRE 403','Old Chief'],                             usedBy: 26, updated: '2026-03-28', author: 'Litigation',           description: 'MIL template for FRE 403 prejudice exclusions.' },
    { id: 'T-006', name: 'Class Certification Reply — Antitrust',           category: 'Brief',  words: 10000, sections: 5, coreCites: ['Comcast','Wal-Mart','Amex','Tyson Foods'],          usedBy: 8,  updated: '2026-04-02', author: 'Antitrust Group',     description: 'Reply template for class cert — predominance, typicality, damages.' },
    { id: 'T-007', name: 'Motion to Suppress — 4th Amendment',               category: 'Motion', words: 7000,  sections: 5, coreCites: ['Katz','Schneckloth','Franks','Gates'],              usedBy: 12, updated: '2026-02-20', author: 'Criminal Defense',     description: 'Suppression motion with backup consent-coercion theory.' },
    { id: 'T-008', name: 'Franks Hearing Motion',                             category: 'Motion', words: 6000,  sections: 5, coreCites: ['Franks','Aguilar','Gates'],                        usedBy: 6,  updated: '2026-02-20', author: 'Criminal Defense',     description: 'Franks motion challenging officer affiant misstatements.' },
    { id: 'T-009', name: 'Sentencing Memo — § 3553(a) Variance',             category: 'Memo',   words: 8000,  sections: 5, coreCites: ['Rita','Gall','Kimbrough','Booker'],                usedBy: 28, updated: '2026-04-15', author: 'Criminal Defense',     description: '§ 3553(a) variance template. Includes age, charitable works, collateral consequences.' },
    { id: 'T-010', name: 'Motion for Bail Review — § 3145(b)',               category: 'Motion', words: 6000,  sections: 5, coreCites: ['§ 3142','Salerno','Stack v. Boyle'],                usedBy: 8,  updated: '2026-03-04', author: 'Criminal Defense',     description: 'Bail review template. Includes individualized-consideration framework.' },
    { id: 'T-011', name: 'Markman Claim Construction Brief',                 category: 'Brief',  words: 12000, sections: 7, coreCites: ['Williamson','Phillips','Nautilus','O2 Micro'],      usedBy: 11, updated: '2026-03-22', author: 'IP Practice',          description: 'Claim construction brief with sections per claim term, § 112(f) analysis.' },
    { id: 'T-012', name: 'Motion for Sanctions — Rule 37(e)',                category: 'Motion', words: 8000,  sections: 5, coreCites: ['Rule 37(e)','Zubulake','Pension Committee'],       usedBy: 9,  updated: '2026-02-14', author: 'Litigation',           description: 'Rule 37(e) adverse-inference sanctions for ESI spoliation.' },
    { id: 'T-013', name: 'Motion for Summary Judgment — Defense',            category: 'Motion', words: 14000, sections: 6, coreCites: ['Celotex','Anderson','Matsushita'],                  usedBy: 16, updated: '2026-03-10', author: 'Litigation',           description: 'Defense MSJ template with no-issue-of-fact framework.' },
    { id: 'T-014', name: 'Protective Order Motion',                           category: 'Motion', words: 4000,  sections: 4, coreCites: ['Rule 26(c)','Seattle Times'],                      usedBy: 14, updated: '2026-04-14', author: 'Litigation',           description: 'Protective order for sealing or restricting access.' },
    { id: 'T-015', name: 'Motion for New Trial — Rule 33',                   category: 'Motion', words: 6000,  sections: 5, coreCites: ['Rule 33','Berry','Wearry'],                         usedBy: 4,  updated: '2026-03-30', author: 'Criminal Defense',     description: 'Post-verdict new-trial motion based on Brady or newly-discovered evidence.' },
    { id: 'T-016', name: 'Appellate Brief — Federal Criminal',               category: 'Appellate', words: 14000, sections: 5, coreCites: ['Anders','Kastigar'],                              usedBy: 9,  updated: '2026-04-04', author: 'Criminal Defense',     description: 'Federal criminal appellate opening brief template.' },
  ],

  // ── ACTIVITY ──
  activity: [
    { id: 'MN-A-001', time: '10:55 AM', actor: 'M. Kirkland', action: 'Filed motion',            target: 'M-9019 Sterling Protective Order', severity: 'info' },
    { id: 'MN-A-002', time: '10:42 AM', actor: 'Court — E.D.N.Y.', action: 'Order received',     target: 'R-101 Miller — Franks hearing GRANTED', severity: 'info' },
    { id: 'MN-A-003', time: '10:28 AM', actor: 'L. Torres', action: 'Updated cite status',       target: '6 cites verified on M-9041 Harrell Brady', severity: 'info' },
    { id: 'MN-A-004', time: '10:14 AM', actor: 'System', action: 'Deadline alert',                target: 'M-9021 Redstone Daubert — filing due in 23 days', severity: 'warn' },
    { id: 'MN-A-005', time: '09:58 AM', actor: 'M. Kirkland', action: 'Moot completed',          target: 'OA-001 Chen D.C. Cir. — moot #1 complete', severity: 'info' },
    { id: 'MN-A-006', time: '09:42 AM', actor: 'S. Chen', action: 'Added section',               target: 'M-9024 Pacific Shipping MTD — § III SOL argument drafted', severity: 'info' },
    { id: 'MN-A-007', time: '09:20 AM', actor: 'System', action: 'Cite health report',          target: '3 cites flagged for re-verification across motion queue', severity: 'warn' },
    { id: 'MN-A-008', time: '09:08 AM', actor: 'J. Park', action: 'Uploaded brief bank entry',  target: 'BB-006 Franks Hearing — updated with Miller victory', severity: 'info' },
    { id: 'MN-A-009', time: 'Yesterday', actor: 'Court — S.D.N.Y.', action: 'Order received',    target: 'R-099 Okonkwo — Daubert GRANTED in PART', severity: 'info' },
    { id: 'MN-A-010', time: 'Yesterday', actor: 'Court — S.D.N.Y.', action: 'Order received',    target: 'R-098 Okonkwo — 404(b) GRANTED in PART', severity: 'info' },
    { id: 'MN-A-011', time: 'Yesterday', actor: 'R. Vasquez', action: 'Filed motion',             target: 'M-9031 Whitman Sentencing Memorandum', severity: 'info' },
    { id: 'MN-A-012', time: '2 days ago', actor: 'System', action: 'Ruling notification',         target: '3 rulings expected this week (41 motions in submission)', severity: 'info' },
    { id: 'MN-A-013', time: '2 days ago', actor: 'L. Torres', action: 'Created draft',             target: 'M-9020 Redstone MIL Harlan Scope', severity: 'info' },
    { id: 'MN-A-014', time: '3 days ago', actor: 'System', action: 'Win-rate update',             target: 'Firm avg win rate updated: 71.4% (YTD)', severity: 'info' },
    { id: 'MN-A-015', time: '3 days ago', actor: 'A. Petrov', action: 'Filed motion',             target: 'M-9022 Blackwell Markman Brief', severity: 'info' },
  ],
};

window.MOTIONS_DATA = MOTIONS_DATA;
