// Mock data for Saif Group Portal
const SAIF_COMPANIES = [
  { id: 'trd', name: 'Saif Trading', industry: 'General Trading', color: 'oklch(0.72 0.13 65)', code: 'STR' },
  { id: 'con', name: 'Saif Contracting', industry: 'Construction', color: 'oklch(0.62 0.14 30)', code: 'SCO' },
  { id: 'log', name: 'Saif Logistics', industry: 'Freight & Warehousing', color: 'oklch(0.65 0.12 200)', code: 'SLG' },
  { id: 'fac', name: 'Saif Facilities', industry: 'FM & Services', color: 'oklch(0.68 0.13 145)', code: 'SFM' },
  { id: 'svc', name: 'Saif Services', industry: 'Professional Services', color: 'oklch(0.62 0.14 290)', code: 'SSV' },
  { id: 'hld', name: 'Saif Holdings', industry: 'Group Holding', color: 'oklch(0.55 0.05 250)', code: 'SHD' },
];

const STAFF = [
  { id: 'u1', name: 'Aisha Al Mansouri', initials: 'AM', role: 'Procurement Lead', dept: 'Procurement', company: 'hld', tone: 'oklch(0.72 0.13 65)' },
  { id: 'u2', name: 'Khalid Rahman', initials: 'KR', role: 'Operations Manager', dept: 'Operations', company: 'log', tone: 'oklch(0.65 0.12 200)' },
  { id: 'u3', name: 'Layla Hassan', initials: 'LH', role: 'Compliance Officer', dept: 'Legal', company: 'hld', tone: 'oklch(0.62 0.14 290)' },
  { id: 'u4', name: 'Omar Bakhit', initials: 'OB', role: 'Site Engineer', dept: 'Projects', company: 'con', tone: 'oklch(0.62 0.14 30)' },
  { id: 'u5', name: 'Fatima Yousef', initials: 'FY', role: 'Finance Analyst', dept: 'Finance', company: 'hld', tone: 'oklch(0.68 0.13 145)' },
  { id: 'u6', name: 'Rajiv Menon', initials: 'RM', role: 'Facilities Coordinator', dept: 'Facilities', company: 'fac', tone: 'oklch(0.68 0.13 145)' },
  { id: 'u7', name: 'Sara Al Zaabi', initials: 'SZ', role: 'Trade Specialist', dept: 'Trading', company: 'trd', tone: 'oklch(0.72 0.13 65)' },
];

const ME_ADMIN = { id: 'me_admin', name: 'Hessa Al Saif', initials: 'HS', role: 'Group Administrator', dept: 'Executive', company: 'hld', tone: 'oklch(0.72 0.13 65)' };
const ME_STAFF = STAFF[0]; // Aisha
const ME_SUPPLIER = { id: 'me_sup', name: 'Marcus Chen', initials: 'MC', role: 'Director', company_name: 'Northwind Trading LLC', tone: 'oklch(0.62 0.14 290)' };

const SUPPLIERS = [
  { id: 's01', name: 'Northwind Trading LLC', industry: 'General Trading', tradeLicense: 'CN-1124857', vat: '100234567800003', status: 'approved', companies: ['trd', 'hld'], country: 'UAE', city: 'Dubai', registered: '2024-03-12', contact: 'Marcus Chen', email: 'm.chen@northwind.ae', phone: '+971 4 332 1180', docHealth: 'green', poCount: 14, openValue: 482300, tone: 'oklch(0.62 0.14 290)' },
  { id: 's02', name: 'Al Faraj Construction Materials', industry: 'Construction Materials', tradeLicense: 'CN-0918432', vat: '100192847500003', status: 'approved', companies: ['con'], country: 'UAE', city: 'Sharjah', registered: '2023-11-04', contact: 'Yousef Al Faraj', email: 'yousef@alfaraj.ae', phone: '+971 6 553 8842', docHealth: 'amber', poCount: 28, openValue: 1240500, tone: 'oklch(0.62 0.14 30)' },
  { id: 's03', name: 'Cedar IT Solutions', industry: 'IT Services', tradeLicense: 'CN-2284901', vat: '100445628900003', status: 'pending', companies: ['hld', 'svc'], country: 'UAE', city: 'Dubai', registered: '2026-04-18', contact: 'Priya Krishnan', email: 'priya@cedarit.com', phone: '+971 4 887 2210', docHealth: 'green', poCount: 0, openValue: 0, tone: 'oklch(0.62 0.14 290)' },
  { id: 's04', name: 'Gulf Logistics Express', industry: 'Logistics', tradeLicense: 'CN-1576220', vat: '100332244500003', status: 'approved', companies: ['log', 'trd'], country: 'UAE', city: 'Jebel Ali', registered: '2023-06-22', contact: 'Hamad Al Otaibi', email: 'hamad@gulflog.ae', phone: '+971 4 881 5500', docHealth: 'red', poCount: 41, openValue: 2104700, tone: 'oklch(0.65 0.12 200)' },
  { id: 's05', name: 'Crescent Facilities Co.', industry: 'Facilities Maintenance', tradeLicense: 'CN-0772100', vat: '100221133400003', status: 'approved', companies: ['fac'], country: 'UAE', city: 'Abu Dhabi', registered: '2024-01-15', contact: 'Reem Al Hashmi', email: 'reem@crescentfm.ae', phone: '+971 2 445 7720', docHealth: 'green', poCount: 19, openValue: 380200, tone: 'oklch(0.68 0.13 145)' },
  { id: 's06', name: 'Pinewood Office Supplies', industry: 'General Trading', tradeLicense: 'CN-2148903', vat: '100557788900003', status: 'approved', companies: ['hld', 'svc', 'trd'], country: 'UAE', city: 'Dubai', registered: '2024-08-03', contact: 'Daniel Park', email: 'd.park@pinewood.ae', phone: '+971 4 220 9988', docHealth: 'amber', poCount: 33, openValue: 142300, tone: 'oklch(0.72 0.13 65)' },
  { id: 's07', name: 'Steelcore Engineering', industry: 'Construction Materials', tradeLicense: 'CN-1098432', vat: '100876544300003', status: 'rejected', companies: ['con'], country: 'UAE', city: 'Ras Al Khaimah', registered: '2026-04-09', contact: 'Anwar Bashir', email: 'anwar@steelcore.ae', phone: '+971 7 226 4400', docHealth: 'red', poCount: 0, openValue: 0, tone: 'oklch(0.62 0.14 30)' },
  { id: 's08', name: 'Veridian Professional Services', industry: 'Professional Services', tradeLicense: 'CN-2447012', vat: '100998877600003', status: 'approved', companies: ['svc', 'hld'], country: 'UAE', city: 'Dubai', registered: '2024-05-28', contact: 'Eleanor Wright', email: 'e.wright@veridian.ae', phone: '+971 4 776 8821', docHealth: 'green', poCount: 12, openValue: 295600, tone: 'oklch(0.62 0.14 290)' },
  { id: 's09', name: 'Desert Rose Catering', industry: 'Facilities Maintenance', tradeLicense: 'CN-0334521', vat: '100445566700003', status: 'approved', companies: ['fac', 'hld'], country: 'UAE', city: 'Dubai', registered: '2023-09-12', contact: 'Mariam Al Ali', email: 'mariam@desertrose.ae', phone: '+971 4 559 1133', docHealth: 'green', poCount: 22, openValue: 184400, tone: 'oklch(0.68 0.13 145)' },
  { id: 's10', name: 'Atlas Heavy Equipment', industry: 'Construction Materials', tradeLicense: 'CN-1882776', vat: '100118822700003', status: 'pending', companies: ['con', 'log'], country: 'UAE', city: 'Sharjah', registered: '2026-04-22', contact: 'Sergei Volkov', email: 's.volkov@atlas-eq.com', phone: '+971 6 884 2200', docHealth: 'amber', poCount: 0, openValue: 0, tone: 'oklch(0.62 0.14 30)' },
  { id: 's11', name: 'Nimbus Cloud Networks', industry: 'IT Services', tradeLicense: 'CN-2901334', vat: '100776655400003', status: 'approved', companies: ['hld', 'svc'], country: 'UAE', city: 'Dubai', registered: '2025-02-19', contact: 'Tariq Bahar', email: 't.bahar@nimbus.cloud', phone: '+971 4 990 1100', docHealth: 'green', poCount: 8, openValue: 670000, tone: 'oklch(0.62 0.14 290)' },
  { id: 's12', name: 'Falcon Freight Services', industry: 'Logistics', tradeLicense: 'CN-1665443', vat: '100665544200003', status: 'approved', companies: ['log'], country: 'UAE', city: 'Jebel Ali', registered: '2024-07-30', contact: 'Bilal Hossain', email: 'bilal@falconfreight.ae', phone: '+971 4 442 1188', docHealth: 'amber', poCount: 26, openValue: 933200, tone: 'oklch(0.65 0.12 200)' },
];

// Documents per supplier
const DOCUMENTS = [
  { id: 'd001', supplierId: 's01', type: 'Trade License', fileName: 'TradeLicense-2025.pdf', uploaded: '2025-03-12', expires: '2026-03-11', status: 'red' },
  { id: 'd002', supplierId: 's01', type: 'VAT Certificate', fileName: 'VAT-Cert.pdf', uploaded: '2024-03-12', expires: '2027-03-11', status: 'green' },
  { id: 'd003', supplierId: 's01', type: 'Chamber of Commerce', fileName: 'CoC-2024.pdf', uploaded: '2024-03-12', expires: '2026-06-15', status: 'amber' },
  { id: 'd004', supplierId: 's01', type: 'Insurance', fileName: 'Insurance-Q4.pdf', uploaded: '2025-10-01', expires: '2026-10-01', status: 'green' },
  { id: 'd005', supplierId: 's02', type: 'Trade License', fileName: 'AlFaraj-TL.pdf', uploaded: '2024-11-04', expires: '2026-05-22', status: 'amber' },
  { id: 'd006', supplierId: 's02', type: 'VAT Certificate', fileName: 'AlFaraj-VAT.pdf', uploaded: '2023-11-04', expires: '2026-11-04', status: 'green' },
  { id: 'd007', supplierId: 's02', type: 'Insurance', fileName: 'AlFaraj-Ins.pdf', uploaded: '2024-12-15', expires: '2026-04-15', status: 'red' },
  { id: 'd008', supplierId: 's04', type: 'Trade License', fileName: 'GulfLog-TL-2023.pdf', uploaded: '2023-06-22', expires: '2026-04-12', status: 'red' },
  { id: 'd009', supplierId: 's04', type: 'VAT Certificate', fileName: 'GulfLog-VAT.pdf', uploaded: '2023-06-22', expires: '2026-06-22', status: 'amber' },
  { id: 'd010', supplierId: 's04', type: 'Customs Permit', fileName: 'Customs-2025.pdf', uploaded: '2024-09-01', expires: '2026-04-08', status: 'red' },
  { id: 'd011', supplierId: 's05', type: 'Trade License', fileName: 'Crescent-TL.pdf', uploaded: '2025-01-15', expires: '2027-01-15', status: 'green' },
  { id: 'd012', supplierId: 's05', type: 'VAT Certificate', fileName: 'Crescent-VAT.pdf', uploaded: '2024-01-15', expires: '2027-01-15', status: 'green' },
  { id: 'd013', supplierId: 's06', type: 'Trade License', fileName: 'Pinewood-TL.pdf', uploaded: '2024-08-03', expires: '2026-05-18', status: 'amber' },
  { id: 'd014', supplierId: 's08', type: 'Trade License', fileName: 'Veridian-TL.pdf', uploaded: '2024-05-28', expires: '2026-12-01', status: 'green' },
  { id: 'd015', supplierId: 's08', type: 'Professional Indemnity', fileName: 'Veridian-PI.pdf', uploaded: '2025-06-01', expires: '2026-06-01', status: 'amber' },
  { id: 'd016', supplierId: 's09', type: 'Trade License', fileName: 'DesertRose-TL.pdf', uploaded: '2024-09-12', expires: '2026-09-12', status: 'green' },
  { id: 'd017', supplierId: 's09', type: 'Food Safety Cert', fileName: 'FSC-2025.pdf', uploaded: '2025-04-01', expires: '2026-04-01', status: 'red' },
  { id: 'd018', supplierId: 's11', type: 'Trade License', fileName: 'Nimbus-TL.pdf', uploaded: '2025-02-19', expires: '2027-02-19', status: 'green' },
  { id: 'd019', supplierId: 's12', type: 'Trade License', fileName: 'Falcon-TL.pdf', uploaded: '2024-07-30', expires: '2026-07-30', status: 'green' },
  { id: 'd020', supplierId: 's12', type: 'Insurance', fileName: 'Falcon-Ins.pdf', uploaded: '2025-04-29', expires: '2026-05-15', status: 'amber' },
];

// Tasks (15-20)
const TASKS = [
  { id: 't01', title: 'Review trade license expiry — Gulf Logistics Express', type: 'document review', status: 'pending review', priority: 'high', assignee: 'u1', creator: 'u3', company: 'log', supplier: 's04', due: '2026-05-02', created: '2026-04-26', watchers: ['u2', 'u5'], comments: 4, description: 'TL expired 12 Apr. Need updated copy before next shipment release. Coordinate with supplier and customs.' },
  { id: 't02', title: 'Approve PO for Al Faraj — site B aggregate delivery', type: 'approval request', status: 'pending review', priority: 'high', assignee: 'me_admin', creator: 'u4', company: 'con', supplier: 's02', due: '2026-04-30', created: '2026-04-27', watchers: ['u1'], comments: 2, description: 'PO-2026-0418 for AED 184,500. Awaiting executive sign-off.' },
  { id: 't03', title: 'Onboard Cedar IT Solutions — initial review', type: 'supplier follow-up', status: 'in progress', priority: 'medium', assignee: 'u1', creator: 'u3', company: 'svc', supplier: 's03', due: '2026-05-05', created: '2026-04-22', watchers: [], comments: 3, description: 'New supplier registration. Verify documents and schedule capability call.' },
  { id: 't04', title: 'Quarterly compliance audit — all approved suppliers', type: 'internal request', status: 'in progress', priority: 'medium', assignee: 'u3', creator: 'me_admin', company: 'hld', supplier: null, due: '2026-05-15', created: '2026-04-15', watchers: ['u1', 'u5'], comments: 8, description: 'Q2 audit — pulling samples from each industry segment.' },
  { id: 't05', title: 'Renew insurance certificate — Al Faraj', type: 'supplier follow-up', status: 'new', priority: 'high', assignee: 'u1', creator: 'u3', company: 'con', supplier: 's02', due: '2026-05-01', created: '2026-04-28', watchers: [], comments: 0, description: 'Insurance expires 15 Apr. Already sent notice. Follow up if no response by EOW.' },
  { id: 't06', title: 'Customs permit refresh — Gulf Logistics', type: 'document review', status: 'in progress', priority: 'high', assignee: 'u2', creator: 'u1', company: 'log', supplier: 's04', due: '2026-04-30', created: '2026-04-25', watchers: ['u3'], comments: 5, description: 'Permit expired 8 Apr. Customs broker engaged.' },
  { id: 't07', title: 'Update payment terms — Pinewood Office Supplies', type: 'general', status: 'new', priority: 'low', assignee: 'u5', creator: 'u1', company: 'svc', supplier: 's06', due: '2026-05-10', created: '2026-04-26', watchers: [], comments: 1, description: 'Move from NET-30 to NET-45 per Q2 cashflow plan.' },
  { id: 't08', title: 'Approve new supplier — Atlas Heavy Equipment', type: 'approval request', status: 'pending review', priority: 'medium', assignee: 'me_admin', creator: 'u4', company: 'con', supplier: 's10', due: '2026-05-04', created: '2026-04-22', watchers: ['u1'], comments: 2, description: 'Pre-qualified for Site C heavy equipment rental. Pending final approval.' },
  { id: 't09', title: 'Reject application — Steelcore Engineering', type: 'approval request', status: 'done', priority: 'medium', assignee: 'u3', creator: 'me_admin', company: 'con', supplier: 's07', due: '2026-04-15', created: '2026-04-09', watchers: [], comments: 6, description: 'Failed compliance check. Communicated to supplier with appeal window.' },
  { id: 't10', title: 'Schedule capability call — Nimbus Cloud Networks', type: 'supplier follow-up', status: 'in progress', priority: 'low', assignee: 'u1', creator: 'u1', company: 'svc', supplier: 's11', due: '2026-05-08', created: '2026-04-26', watchers: [], comments: 0, description: 'Coordinate with their solutions architect for Q3 infra refresh.' },
  { id: 't11', title: 'Reconcile Q1 PO variances — Trading division', type: 'internal request', status: 'in progress', priority: 'medium', assignee: 'u5', creator: 'me_admin', company: 'trd', supplier: null, due: '2026-05-12', created: '2026-04-20', watchers: ['u1', 'u7'], comments: 3, description: 'Variance > 8% on three POs. Need explanation before close.' },
  { id: 't12', title: 'Update facilities maintenance SLA template', type: 'internal request', status: 'new', priority: 'low', assignee: 'u6', creator: 'me_admin', company: 'fac', supplier: null, due: '2026-05-20', created: '2026-04-27', watchers: [], comments: 0, description: 'Reflect new response-time tiers from policy update.' },
  { id: 't13', title: 'Catering contract renewal — Desert Rose', type: 'approval request', status: 'in progress', priority: 'medium', assignee: 'u6', creator: 'u3', company: 'fac', supplier: 's09', due: '2026-05-06', created: '2026-04-21', watchers: ['u1'], comments: 4, description: 'Annual renewal. Awaiting updated food safety cert.' },
  { id: 't14', title: 'Document expiry sweep — May 2026', type: 'document review', status: 'new', priority: 'medium', assignee: 'u3', creator: 'me_admin', company: 'hld', supplier: null, due: '2026-05-03', created: '2026-04-28', watchers: ['u1'], comments: 0, description: 'Pull all docs expiring May. Send 30-day notices.' },
  { id: 't15', title: 'Capability assessment — Veridian Professional Services', type: 'supplier follow-up', status: 'done', priority: 'low', assignee: 'u1', creator: 'u3', company: 'svc', supplier: 's08', due: '2026-04-25', created: '2026-04-12', watchers: [], comments: 5, description: 'Annual review. Tier 1 capability confirmed.' },
  { id: 't16', title: 'Site visit — Al Faraj Sharjah warehouse', type: 'general', status: 'in progress', priority: 'medium', assignee: 'u4', creator: 'u1', company: 'con', supplier: 's02', due: '2026-05-07', created: '2026-04-24', watchers: ['u2'], comments: 2, description: 'Verify stock levels for Q3 schedule.' },
  { id: 't17', title: 'Renew Falcon Freight insurance', type: 'supplier follow-up', status: 'new', priority: 'medium', assignee: 'u1', creator: 'u2', company: 'log', supplier: 's12', due: '2026-05-15', created: '2026-04-28', watchers: [], comments: 0, description: 'Insurance expires 15 May. Send renewal request.' },
  { id: 't18', title: 'Group-wide supplier health report — April', type: 'internal request', status: 'pending review', priority: 'high', assignee: 'me_admin', creator: 'u3', company: 'hld', supplier: null, due: '2026-04-30', created: '2026-04-25', watchers: ['u1'], comments: 6, description: 'Cross-company supplier dashboard. Ready for executive review.' },
];

// PO & Quotes
const POS = [
  { id: 'PO-2026-0418', supplierId: 's02', company: 'con', amount: 184500, status: 'pending approval', date: '2026-04-26', desc: 'Site B aggregate delivery — 240 tonnes' },
  { id: 'PO-2026-0411', supplierId: 's04', company: 'log', amount: 96200, status: 'open', date: '2026-04-22', desc: 'April freight schedule — JEA→DXB' },
  { id: 'PO-2026-0405', supplierId: 's01', company: 'trd', amount: 41800, status: 'fulfilled', date: '2026-04-18', desc: 'Industrial fasteners — Q2 stock' },
  { id: 'PO-2026-0398', supplierId: 's06', company: 'svc', amount: 12450, status: 'open', date: '2026-04-15', desc: 'Office supplies replenishment' },
  { id: 'PO-2026-0392', supplierId: 's05', company: 'fac', amount: 28900, status: 'open', date: '2026-04-12', desc: 'HVAC quarterly maintenance' },
  { id: 'PO-2026-0385', supplierId: 's11', company: 'svc', amount: 67000, status: 'fulfilled', date: '2026-04-08', desc: 'Cloud infra — Q2 retainer' },
  { id: 'PO-2026-0379', supplierId: 's08', company: 'hld', amount: 22500, status: 'open', date: '2026-04-04', desc: 'Legal advisory — group restructure' },
  { id: 'QT-2026-0124', supplierId: 's10', company: 'con', amount: 412000, status: 'quote', date: '2026-04-22', desc: 'Quote — heavy equipment rental, Site C' },
  { id: 'QT-2026-0118', supplierId: 's03', company: 'svc', amount: 89500, status: 'quote', date: '2026-04-19', desc: 'Quote — endpoint security rollout' },
];

// Activity feed
const ACTIVITY = [
  { id: 'a1', actor: 'u3', verb: 'flagged document expiry on', target: 'Gulf Logistics Express', time: '12 min ago', icon: 'alert', company: 'log' },
  { id: 'a2', actor: 'u4', verb: 'submitted PO for approval', target: 'PO-2026-0418', time: '38 min ago', icon: 'po', company: 'con' },
  { id: 'a3', actor: 'me_admin', verb: 'approved supplier', target: 'Veridian Professional Services', time: '1 hr ago', icon: 'check', company: 'svc' },
  { id: 'a4', actor: 'u1', verb: 'commented on', target: 'Onboard Cedar IT Solutions', time: '2 hr ago', icon: 'comment', company: 'svc' },
  { id: 'a5', actor: 'u5', verb: 'updated payment terms for', target: 'Pinewood Office Supplies', time: '3 hr ago', icon: 'edit', company: 'svc' },
  { id: 'a6', actor: 'u2', verb: 'closed task', target: 'Customs permit refresh — Gulf Logistics', time: '4 hr ago', icon: 'check', company: 'log' },
  { id: 'a7', actor: 'me_admin', verb: 'rejected supplier', target: 'Steelcore Engineering', time: '6 hr ago', icon: 'reject', company: 'con' },
  { id: 'a8', actor: 'u6', verb: 'started capability review on', target: 'Desert Rose Catering', time: 'Yesterday', icon: 'eye', company: 'fac' },
  { id: 'a9', actor: 'u3', verb: 'uploaded compliance audit plan', target: 'Q2 Compliance Audit', time: 'Yesterday', icon: 'upload', company: 'hld' },
  { id: 'a10', actor: 'u7', verb: 'logged variance note on', target: 'PO-2026-0405', time: '2 days ago', icon: 'edit', company: 'trd' },
];

// Notifications
const NOTIFICATIONS = [
  { id: 'n1', kind: 'mention', text: 'Layla Hassan mentioned you in "Quarterly compliance audit"', time: '8 min ago', unread: true },
  { id: 'n2', kind: 'task', text: 'PO-2026-0418 awaiting your approval', time: '38 min ago', unread: true },
  { id: 'n3', kind: 'doc', text: '3 documents will expire in the next 7 days', time: '1 hr ago', unread: true },
  { id: 'n4', kind: 'supplier', text: 'Cedar IT Solutions completed registration', time: '4 hr ago', unread: false },
  { id: 'n5', kind: 'task', text: 'Khalid Rahman closed "Customs permit refresh"', time: '4 hr ago', unread: false },
  { id: 'n6', kind: 'mention', text: 'Omar Bakhit assigned you to "Site visit — Al Faraj"', time: 'Yesterday', unread: false },
];

// Chat — Slack-style (separate channels for internal vs supplier)
const CHAT_CHANNELS = [
  { id: 'c1', kind: 'internal', name: 'procurement-leads', members: 8, unread: 3, last: 'Aisha: Pulling the variance report now', time: '11:42' },
  { id: 'c2', kind: 'internal', name: 'compliance-q2', members: 5, unread: 0, last: 'Layla: Audit sample list attached', time: '10:18' },
  { id: 'c3', kind: 'internal', name: 'logistics-ops', members: 6, unread: 1, last: 'Khalid: Customs broker confirmed', time: '09:55' },
  { id: 'c4', kind: 'supplier', name: 'Northwind Trading', members: 3, unread: 2, last: 'Marcus: Thanks — sent updated TL', time: '11:20' },
  { id: 'c5', kind: 'supplier', name: 'Gulf Logistics Express', members: 4, unread: 5, last: 'Hamad: When do you need permit by?', time: '10:48' },
  { id: 'c6', kind: 'supplier', name: 'Cedar IT Solutions', members: 2, unread: 0, last: 'Priya: Available Wed 2pm for call', time: '09:30' },
];

const CHAT_MESSAGES = {
  c1: [
    { id: 'm1', user: 'u3', text: 'Heads up — TL for Gulf Log expired 12 Apr. We can\'t release the next shipment.', time: '11:30' },
    { id: 'm2', user: 'u1', text: 'Aware. Hamad said he\'d send updated copy today. @Khalid can you push from your side?', time: '11:34' },
    { id: 'm3', user: 'u2', text: 'On it. Customs broker also engaged for the permit.', time: '11:36' },
    { id: 'm4', user: 'u1', text: 'Pulling the variance report now', time: '11:42' },
  ],
  c4: [
    { id: 'm1', user: 's01', text: 'Hi team — uploading the renewed trade license now.', time: '11:18', external: true },
    { id: 'm2', user: 'u1', text: 'Received, thanks Marcus. Reviewing now.', time: '11:19' },
    { id: 'm3', user: 's01', text: 'Thanks — sent updated TL', time: '11:20', external: true },
  ],
};

window.SaifData = { SAIF_COMPANIES, STAFF, ME_ADMIN, ME_STAFF, ME_SUPPLIER, SUPPLIERS, DOCUMENTS, TASKS, POS, ACTIVITY, NOTIFICATIONS, CHAT_CHANNELS, CHAT_MESSAGES };
