Markov-Airy description of optical scattering, waveguides, and resonators.