Offline-first collaboration engine in TypeScript with custom CRDTs, automatic conflict resolution, and peer-to-peer synchronization.