Cosmic-ray transport away from galactic disks