/** Autofill for “action taken” when closing (CI `flags_management.php`). */
export const INCIDENT_ACTION_TEMPLATES: Record<string, string> = {
  payment:
    'Reminder/clarify expectations → parent contact if needed → admin follow-up if unresolved.',
  attendance:
    'Log + warning → lunch detention/supervised study → parent contact → admin conference + attendance plan.',
  grade:
    'Clarify expectations → support/reteach → parent contact if pattern → admin referral if unresolved.',
  behavior:
    'Start small → reteach expectations → repair harm → escalate only for repeat or safety issues.',
  talking_off_task:
    'Reminder → seat change/separation → reflection + reteach → parent contact + lunch detention/supervised study → admin referral (pattern).',
  calling_out:
    'Reminder → seat change → reflection + reteach → parent contact + lunch detention/supervised study → admin referral (pattern).',
  minor_disruption:
    'Reminder → seat change/separation → reflection + reteach → parent contact + lunch detention/supervised study → admin referral (pattern).',
  minor_dress_code:
    'Reminder/clarify → reflection + reteach → parent contact + lunch detention/supervised study → admin referral (pattern).',
  forgetting_materials:
    'Reminder + reteach routines → reflection → parent contact + lunch detention/supervised study → admin referral (pattern).',
  repeated_defiance:
    'Reflection + restorative chat → parent contact + lunch detention → behavior contract + counselor check-in → admin referral (ISS if needed).',
  disrespectful_tone:
    'Warning + rephrase → reflection + apology plan → parent contact + lunch detention → admin referral if repeated.',
  minor_profanity:
    'Warning + rephrase → reflection + apology plan → parent contact + lunch detention → admin referral if repeated.',
  repeated_tardiness:
    'Log + warning → lunch detention/supervised study → parent contact → admin conference + attendance plan.',
  device_misuse:
    'Warning → device away/confiscate (end of day) → loss of privilege + lunch detention/supervised study → admin referral if repeated.',
  minor_conflict:
    'Reflection + restorative chat → parent contact + lunch detention → behavior contract + counselor check-in → admin referral if repeated.',
  bullying_harassment:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  fighting_aggression:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  threats:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  theft:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  vandalism:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  sexual_harassment:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  serious_cyber_incident:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  contraband:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  weapons_drugs:
    'Immediate removal + admin referral → parent contact + investigation → safety/restorative plan → consequence based on severity (lunch detention/ISS/OSS) + restitution when applicable.',
  other: '',
}

/** Autofill for new incident description (CI `flags_management.php`). */
export const INCIDENT_DESCRIPTIONS: Record<string, string> = {
  payment:
    'Payment-related concern, such as an overdue balance, missing tuition installment, or a fee that was not submitted on time.',
  attendance:
    'Attendance-related concern involving absences, patterns of late arrival, or missed instructional time affecting progress.',
  grade:
    'Grade-related concern where current performance is below expected level, missing work is affecting progress, or a trend needs attention.',
  behavior:
    'General behavior concern that does not fit a specific category but needs documentation for follow-up and support.',
  talking_off_task:
    'Student was talking or off-task during instruction or independent work, impacting focus or the learning environment.',
  calling_out: 'Student called out without permission or interrupted instruction, affecting classroom flow.',
  minor_disruption:
    'Student caused a minor disruption (noise, movement, or distractions) that interrupted learning briefly.',
  minor_dress_code:
    'Student was out of dress code in a minor way (e.g., small uniform issue) needing a reminder.',
  forgetting_materials:
    'Student did not bring required materials (books, supplies, device) needed for class activities.',
  repeated_defiance:
    'Student repeatedly refused to follow directions after being prompted, impacting class routines.',
  disrespectful_tone:
    'Student used a disrespectful tone or language toward staff or peers, requiring documentation.',
  minor_profanity:
    'Student used mild or inappropriate language that is not threatening but is still unacceptable.',
  repeated_tardiness:
    'Student has a pattern of arriving late to class or school, disrupting routines.',
  device_misuse:
    'Student used a phone or device inappropriately (off-task apps, messaging, or during instruction).',
  minor_conflict:
    'Student engaged in minor conflict or horseplay that could escalate if not addressed.',
  bullying_harassment:
    'Bullying or harassment behavior reported, including repeated targeted actions or intimidation.',
  fighting_aggression: 'Physical fighting or aggressive contact occurred or was attempted.',
  threats: 'Verbal or written threats made toward a person or group that raise safety concerns.',
  theft: 'Theft or attempted theft of property was reported.',
  vandalism: 'Intentional damage to property or school materials was reported.',
  sexual_harassment:
    'Sexual harassment reported, including inappropriate comments, gestures, or contact.',
  serious_cyber_incident:
    'Serious online incident reported (harassment, threats, or harmful digital behavior).',
  contraband: 'Possession of unauthorized or prohibited items on campus.',
  weapons_drugs: 'Possession or involvement with weapons or drugs reported.',
  other: '',
}
