Quasi-bound states in the continuum (q-BICs) are resonant states of suitably tailored nanostructures with long optical lifetimes controlled by symmetry-breaking perturbations. While in planarized ultrathin devices the resulting Fano resonance is limited to linear polarization, we show here that chiral perturbations extend q-BIC concepts to arbitrary elliptical polarizations.Using geometric phase engineering, we realize metasurfaces with ultrasharp Fano spectral features that can shape the impinging wavefront with near-unity efficiency, while at the same time precisely filtering their spectral content.Suitably designed photonic crystal slabs (PCSs) have been recently shown to support quasi-bound states in the continuum (q-BICs), opening new opportunities to enhance and control light-matter interactions. Q-BICs are modes whose radiative lifetime is controlled by a symmetry-lowering perturbation [1]; they would be ideally non-radiating states [2]-[4] due to symmetry-protection in the absence of perturbation, despite their momentum being compatible with coupling energy to the radiation continuum. When light with a polarization state matching the eigenpolarization of the q-BIC impinges on the structure, an ultrasharp Fano response arises [5], and the resonantly scattered light maintains the same polarization. This property, combined with strong in-plane Bragg scattering in high-contrast index systems [6], enables compact optical devices concentrating light 2 in both space and time [7]- [11]. By perturbing every other unit cell in such systems, the Brillouin zone folds, enabling access to previously bound modes and providing additional design freedom to control q-BICs in real-and momentum-space [10]- [13]. Photonic crystals supporting q-BICs hence offer a highly versatile platform for biological sensing [14], planar optical modulators [15], notch filters [16] and nonlinear optics [17], [18].Recently, the selection rules for q-BICs in planar photonic crystals have been classified for both mono-atomic and multi-atomic lattices, clarifying to which (if any) free-space polarization state a q-BIC may couple due to a chosen symmetry perturbation [13]. This result implies that in planar structures that preserve symmetry across a horizontal plane, the q-BIC polarization must necessarily be linear. By adiabatically varying the polarization angle of the supported q-BICs in the lateral direction and thereby introducing a spatial variation of the geometric phase, it is possible to tailor the impinging wavefront and realize metasurface functionalities, such as anomalous reflection and refraction for circularly polarized light emanating from the metasurface [19].However, due to the planarized symmetry and the linear polarization constraint, the maximum achievable efficiency of wavefront shaping is 25% [20].Breaking this symmetry with the introduction of optical chirality may enable devices with strong circular dichroism [22]- [29]. Recent work has demonstrated metasurfaces that leverage this principle by varying the geometric phase ...