/* ================================================================== Overview → Academics ------------------------------------------------------------------ Master data at a glance: teaching staff, the student roll broken down by class, the class/section/subject registry, and how far syllabus mapping has actually got. Reads /admin/cockpit/academics. Every count comes from the Cockpit database; nothing here is illustrative. ================================================================== */ const AcademicsScreen = ({ setScreen }) => { const CX = window.CX; const state = CX.useCockpitData("/admin/cockpit/academics"); const d = state.data; const statusPill = (s) => s === "present" ? Present : s === "on_leave" ? On leave : No record; const WING_COLOR = { primary: "var(--pink-solid)", middle: "var(--blue-solid)", senior: "var(--green-solid)", }; return (