Thin shells buckle and wrinkle when compressed. While this behavior is generally detrimental in engineering, it has been widely implicated in epithelial morphogenesis and patterning during development. Yet the rules governing buckling of active viscoelastic shells like epithelia remain unclear. Here we delineate those rules by combining an experimental system that allows us to sculpt epithelial shells and subject them to controlled deflation with a 3D computational model linking cytoskeletal dynamics to tissue mechanics. Experiments and simulations across several orders of magnitude in time and space reveal that buckling emerges for fast deflation relative to the cortex\'s relaxation time, and is suppressed by high contractility. We show, further, that the tissue develops wrinkle patterns with different degrees of symmetry breaking that depend on its size and viscous confinement. Strikingly, we find that epithelial buckling is a multiscale phenomenon involving long-lived supracellular folds but also short-lived subcellular wrinkles in the actin cortex. Finally, by forming epithelial shells with anisotropic curvature we rationally direct buckling into predictable wrinkle patterns. Our study shows that epithelial tissues can be understood as hierarchical materials with mechanical instabilities that can be harnessed to engineer epithelial morphogenesis.