time <= amEnd incorrectly allowed 12:00 when the office closes at 12:00. Changed to time < amEnd (and time < pmEnd) so the session end time is treated as a closed boundary — a patient cannot start an appointment at exactly the time the session ends. Fixes both the SMS reschedule flow and the schedule grid slot highlighting. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>