<?php

return [
    'expected_start' => env('ATTENDANCE_EXPECTED_START', '09:00'),
    'late_grace_minutes' => (int) env('ATTENDANCE_LATE_GRACE_MINUTES', 0),
    'half_day_max_hours' => (float) env('ATTENDANCE_HALF_DAY_MAX_HOURS', 4.5),
    'missing_checkout_hours_after_shift_end' => (float) env('ATTENDANCE_MISSING_CHECKOUT_HOURS_AFTER_SHIFT', 2),
    'missing_checkout_hours_after_check_in' => (float) env('ATTENDANCE_MISSING_CHECKOUT_HOURS_AFTER_IN', 16),
    'overtime_exception_threshold_minutes' => (int) env('ATTENDANCE_OVERTIME_EXCEPTION_MINUTES', 180),
    'overtime_critical_minutes' => (int) env('ATTENDANCE_OVERTIME_CRITICAL_MINUTES', 360),
    'suspicious_duration_max_minutes' => (int) env('ATTENDANCE_SUSPICIOUS_DURATION_MAX_MINUTES', 15),
    'exception_detection_lookback_days' => (int) env('ATTENDANCE_EXCEPTION_LOOKBACK_DAYS', 7),
    /** Default weekend ISO weekday keys when employee has no shift (see ShiftWeekday). */
    'default_weekend_days' => ['friday', 'saturday'],
];
