>>1964346The US and Canada have both been on standard gauge for like 150 years.
Similarly for signaling and electrical systems, while they might not always match up perfectly, they've been aware of each other for long enough that both systems more or less are designed to operate with the other. Both systems have mostly settled on 480V HEPs, though with different wiring, they can still be used on each other's systems with adapters.