# Phase 3 Time Tracking Flow

1. Employee selects task and clicks Start.
2. AJAX `POST /time-tracking/start` creates active `time_log`.
3. Live timer updates every second on UI.
4. Pause action stores elapsed segment and marks log paused.
5. Resume action restarts timer from now.
6. Stop action finalizes total seconds and triggers daily recalculation.
7. Idle action logs idle duration via AJAX and triggers recalculation.
8. Employee sees updated daily summary and recent log history.
9. Admin dashboard reads daily logs and running timers for monitoring.
