Reconcile the two CSVs in integer cents. Orders sharing an id are an error; payments may have multiple captures, refunds (negative amounts), and duplicate event ids. Count each event id ONCE, using its first row. Write reconciliation.json with sorted lists unpaid_orders, underpaid_orders, overpaid_orders, orphan_payment_orders; net_captured_cents (including orphans), and duplicate_events. No input edits.