How to shape the day
Karlštejn depends on that day's regional train from a Prague station. The castle itself is not a place on this station. Kutná Hora is also a full day: leave in the morning if you want to be back. Do not schedule both and Prague Castle. Use the city day for Vyšehrad or the Old Town.