The late Byzantine city: social, economic and institutional profile