The Variant Half-Elf: Mark of Detection, from Eberron: Rising from the Last War p. 40, replaces the PHB half-elf's Skill Versatility trait with several new traits, one of which is the Magical Detection trait (bold for emphasis mine):
You can cast the detect magic and detect poison and disease spells with this trait. Starting at 3rd level, you can also cast the see invisibility spell with it. Once you cast any of these spells with this trait, you can’t cast that spell with it again until you finish a long rest. [...]
If you cast detect magic using that trait, does that mean you can still cast each of the other spells once before you finish a long rest (i.e. it only prevents you from casting detect magic again using the trait before then)?
Or does it mean you can't cast any of the spells from the trait (including the ones you haven't used yet) again until you finish a long rest?