Replaced the ambiguous exam scheduling model with a structured approach using scheduleMode and latePolicy to eliminate silent duration clipping and configuration conflicts. All scheduling logic is now centralized in lib/exam-schedule.ts, ensuring consistent behavior across APIs and UI surfaces. This release also includes an upgrade to Next.js 16, transitioning to the new flat ESLint configuration and introducing a proxy-based approach for middleware. Scheduling logic simplified

Refactored exam scheduling logic and upgraded to Next.js 16 - subh05sus/sparkmentis-fork