How does the education system in the Everrealm even work. Elena, Mateo and Naomi are not in school even though they are secondary school age. All we see is primary school for Isabel, the StF kids
I imagine the different Kingdoms have their own approaches to education, like how real world countries have different education systems. I'm assuming most of the kingdoms require primary education and have varying degrees of requirement for secondary education, with access to tertiary education for those that would need higher education in more specialized subjects.
Enchancia we know has Royal Prep and the village school for primary education, with the former being specifically for royals from a variety of kingdoms. The other kingdoms presumably have their own village schools as well for non-royal folks. Royal Prep and the village school have different curriculum, with RPA teaching magic and the village school teaching construction, as examples. Hexley Hall is a magic academy that seems to cover primary, secondary, and tertiary education for sorcerers considering Cedric says he studied there for 15 years. Other primary schools introduced in StF include the Junior Knights Academy and Westloch.
I don't think we really see any secondary school students in StF, but we do learn a little about secondary education, at least for the upper class, when the Royal Prep students get sent to pick a school to attend after RPA graduation in The Royal School Fair. Like Royal Prep, these schools don't seem to be restricted by kingdom. So at least in the "Eastern Hemisphere" EverRealm, royals seem to be educated together for primary school before being split up for more specialized secondary school.
I don't remember if its ever made clear how secondary education works for normal kids, nor how admission into Hexley Hall works as opposed to just going to a regular school. Considering StF is entirely focused on primary school aged kids, it makes sense that we wouldn't learn a whole lot about what happens afterward.
We learn even less about education in the "Western Hemisphere" EverRealm in Elena of Avalor, since unlike StF, EoA's focus isn't on the characters being in school. Royal education doesn't seem to be as centralized in Avalor as it is in Enchancia (& Enchancia's neighbors), since Isabel was being privately tutored in the castle before going to school. There also doesn't seem to be a specific school for royals, since when she does start attending school, she just goes to the regular school in the city. We also know Avalor has tertiary education in the form of the Science Academy, and there are presumably other specialist schools as well. Esteban mentions a "royal academy" when he says he's bringing in professional dancers for Naomi's birthday in My Fair Naomi, but this is never really elaborated on.
As to why we don't see the teens in school - I touched briefly on this in my magic in Avalor post, but my headcanon is that education in Avalor is only required through lower secondary education (through the end of 9th grade for Americans). This is based off the fact that upper secondary school was only made mandatory in Mexico in 2012. Elena presumably had private tutors growing up (seeing as Isabel canonically did), so we wouldn't see her going to school even if she was still studying. Mateo and Naomi, then, would've been upper secondary school-aged at the start of the show, so it's possible that they just dropped out once they got their jobs at the palace.
It might also be possible for them to just still be in school during the run of the show. We don't see every detail of their lives, and the school day in a lot of Latin America tends to be structured around the morning, with classes ending early so students can go home for lunch. They could be going to school in the morning and then heading to the palace in the afternoons, and the episodes where we see them hanging around at other hours are weekends or holidays. I mean, the show starts during summer break, so it wouldn't be an issue for a few months anyway.