flowchart TB
%% =====================================================
%% 🚨 VERT LIFT EMERGENCY FLOW (All text wrapped)
%% =====================================================
start(("📞 Emergency Call
On VERT No"))
assess_risk{"⚠️ Is VERT Support
Needed?"}
cancel(["❌ No VERT Support Required
Record Log"])
alert_vert(["💬 Send WhatsApp Alert
to VERT Group"])
assemble(["👥 Volunteers Assemble
at Control Point"])
confirm_stuck{"🚪 Are People
Stuck Inside Lift?"}
inform_security(["🛡️ Inform Security
& Maintenance Team
Keep Power Off & Area Safe"])
contact_technician(["🔧 Call Lift Maintenance
Technician
to Reach Site Immediately"])
stay_calm(["💬 Reassure Occupants
Maintain Calm
Communication"])
supply_air(["🌬️ Ensure Airflow
Open Vent Grills / Fan"])
power_off(["⚡ Power Supply
to Lift Switched Off
(Except Emergency Light)"])
wait_technician(["🕐 Wait for Technician
Supervise Work
Till Door Opens"])
evacuate(["🚪 Evacuate Safely
Assist Persons Out
Check for Injury"])
record(["📝 Record Incident Details
Time, Tower, Lift No,
and Action Taken"])
close(["✅ Case Closed / Resolved"])
%% ---------- FLOW ----------
start --> assess_risk
assess_risk -->|No| cancel
assess_risk -->|Yes| alert_vert --> assemble --> confirm_stuck
confirm_stuck -->|No| inform_security --> record --> close
confirm_stuck -->|Yes| inform_security --> contact_technician --> stay_calm --> supply_air --> power_off --> wait_technician --> evacuate --> record --> close
%% ---------- STYLING ----------
classDef primary fill:#fffaf0,stroke:#4facfe,stroke-width:2px,color:#222,font-weight:600
classDef secondary fill:#f5faff,stroke:#1e90ff,stroke-width:1.5px,color:#0b4a78
classDef info fill:#f6fffa,stroke:#20b2aa,stroke-width:1.5px,color:#0b6655
classDef warn fill:#fff8e1,stroke:#ff8c00,stroke-width:1.5px,color:#664400
classDef danger fill:#fff0f0,stroke:#b22222,stroke-width:1.5px,color:#4a0000
classDef neutral fill:#f3f3f3,stroke:#999,stroke-width:1px,color:#333
classDef action fill:#f0f8ff,stroke:#6a5acd,stroke-width:1.8px,color:#2f2f69,font-style:italic
linkStyle default stroke:#333,stroke-width:1.2px,opacity:0.9
class start primary
class assess_risk warn
class cancel neutral
class alert_vert secondary
class assemble info
class confirm_stuck warn
class inform_security info
class contact_technician action
class stay_calm info
class supply_air info
class power_off danger
class wait_technician warn
class evacuate primary
class record secondary
class close primary