Text this: Variational analysis of flat-top solitions in Bose-Einstein condensates