"Are you driving the car, or just occupying the seat?"
I. THE GLASS (Visibility)
II. THE DASH (Mental State)
III. THE ENGINE (Energy)
IV. THE ROADMAP (Direction)
function runCommuterDiagnostic() { const checks = document.querySelectorAll('.violation-check'); let score = 0; checks.forEach(check => { if(check.checked) score++; }); const report = document.getElementById('commuter-report'); const statusText = document.getElementById('c-status-text'); const countText = document.getElementById('violation-count'); const gaugeFill = document.getElementById('c-gauge-fill'); const recText = document.getElementById('c-recommendation'); report.style.display = 'block'; countText.innerText = score + " / 12 VIOLATIONS"; gaugeFill.style.width = (score / 12 * 100) + "%"; if (score <= 4) { statusText.innerText = "Operator Alert"; statusText.style.color = "#4CAF50"; gaugeFill.style.backgroundColor = "#4CAF50"; recText.innerText = "You are steering your own life. You are checking the mirrors and trusting your own hands on the wheel. Maintain current course."; } else if (score <= 8) { statusText.innerText = "Distracted Driver"; statusText.style.color = "#e67e5f"; gaugeFill.style.backgroundColor = "#e67e5f"; recText.innerText = "Your focus is fragmented. The Algorithm or the Group is starting to grab the wheel. Time to pull over, clear the dash, and recalibrate."; } else { statusText.innerText = "License Suspended"; statusText.style.color = "#d32f2f"; gaugeFill.style.backgroundColor = "#d32f2f"; recText.innerText = "Sovereignty lost. The 'Grip' is in total control of your direction. Disengage from the commute immediately before the crash."; } report.scrollIntoView({ behavior: 'smooth' }); }