Files
ims/design-system/IMS Admin.dc.html
T
adminandClaude Haiku 4.5 f117605775 docs(design): add design.md for the IMS Admin refresh and track its mockup references
Derived from IMS Admin Spec.dc.html and IMS Admin.dc.html. Defines tokens,
components (StatusTag, TableCard, shells, drawer), screen index, build order
and the changes from the live Modernist build. CLAUDE.md already cites it as
the source of truth.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-10-01 08:37:36 +08:00

537 lines
304 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet><meta name="design_doc_mode" content="canvas"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap"><style>body{margin:0;background:#dededb;font-family:'Geist',system-ui,sans-serif;color:#1f1f1f;-webkit-font-smoothing:antialiased}a{color:#0f766e;text-decoration:none}a:hover{text-decoration:underline}table{border-collapse:separate;border-spacing:0;width:100%}</style></helmet>
<div style="padding:56px 64px 24px;max-width:1100px;display:flex;flex-direction:column;gap:10px">
<div style="font:600 12px 'Geist Mono',monospace;color:#616161;letter-spacing:.04em">IMS · HSE INCIDENT MANAGEMENT · UI REFRESH</div>
<div style="font-size:32px;font-weight:600;letter-spacing:-.02em">Admin redesign: rounded tables, commerce-admin ergonomics</div>
<div style="font-size:15px;line-height:1.55;color:#4a4a4a;max-width:820px;text-wrap:pretty">Sixteen desktop screens and eight mobile screens rebuilt from the current IMS routes (HSE, Admin, Reporter). Neutral grey ground, white 12px-radius cards, dark primary buttons and one teal accent. Every list is a rounded index table with saved-view tabs, search and filter chips, sortable headers, bulk selection, hover quick actions and a pagination footer. Status colours map 1:1 to the existing workflow (Reported → Triaged → Investigating → CAPA Pending → Verification → Closed). Data shown is sample content.</div>
</div>
<section id="desktop" style="padding:32px 64px 64px;display:flex;flex-wrap:wrap;gap:72px 64px;align-items:flex-start">
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">01</span><span style="font-size:15px;font-weight:600">Incidents · index table</span></div><div data-screen-label="01 Incidents · index table" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.incidents.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.incidents.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.incidents.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.incidents.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:center;justify-content:space-between;gap:16px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Incidents</h1><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.upload }}Bulk import</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}New incident</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);position:relative;overflow:hidden">
<div style="display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 8px;border-bottom:1px solid #ebebeb"><div style="display:flex;gap:2px;align-items:center"><sc-for list="{{ incTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for><div style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.plus }}</div></div><div style="display:flex;gap:6px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.search }}{{ ic.filter }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.sort }}</span></div></div>
<div style="display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb;flex-wrap:wrap"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;color:#616161;font-size:13px;min-width:300px">{{ ic.search }}<span>Search reference, site, zone or reporter</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 6px 0 10px;border-radius:8px;font-size:12.5px;color:#1f1f1f;background:#e3e3e3;font-weight:500;white-space:nowrap">Site is Shah Alam DC, Port Klang Hub, Senai DC<span style="width:18px;height:18px;border-radius:5px;display:grid;place-items:center;color:#4a4a4a">{{ ic.x12 }}</span></span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Type{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Severity{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Reported date{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#616161;border:1px dashed #b5b5b5;cursor:pointer">Add filter {{ ic.plus12 }}</span><span style="font-size:12.5px;color:#0f766e;font-weight:550;cursor:pointer">Clear all</span><div style="flex:1"></div><span style="font-size:13px;color:#4a4a4a;font-weight:550;padding:0 8px;cursor:pointer">Cancel</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;height:28px">Save as view</span></div>
<table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:28px;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.minus12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;color:#1f1f1f"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reference{{ ic.down12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Type<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Status<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Severity<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Site · Zone<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reporter<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reported<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:100px"></th></tr></thead>
<tbody><sc-for list="{{ incidents }}" as="r" hint-placeholder-count="10"><tr style="background:{{ r.bg }};cursor:pointer">
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><sc-if value="{{ r.sel }}"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.tick12 }}</span></sc-if><sc-if value="{{ r.unsel }}"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></sc-if></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="font-family:'Geist Mono',monospace;font-size:12.5px;font-weight:500">{{ r.ref }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div>{{ r.type }}</div><sc-if value="{{ r.truck }}"><div style="font-size:12px;color:#616161">Truck {{ r.truck }}</div></sc-if></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.st.bg }};color:{{ r.st.fg }}">{{ r.st.label }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:8px"><div style="display:flex;gap:2px"><sc-for list="{{ r.bars }}" as="b"><span style="width:4px;height:12px;border-radius:2px;background:{{ b.c }}"></span></sc-for></div><span style="font-size:12px;color:#616161">{{ r.sevL }}</span></div></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div>{{ r.site }}</div><div style="font-size:12px;color:#616161">{{ r.zone }}</div></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle">{{ r.rep }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#616161;white-space:nowrap">{{ r.date }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-right:12px"><sc-if value="{{ r.hover }}"><div style="display:flex;gap:4px;justify-content:flex-end"><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer" title="View">{{ ic.eye }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer" title="Triage">{{ ic.pencil }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer" title="More">{{ ic.more }}</span></div></sc-if></td>
</tr></sc-for></tbody></table>
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>Showing 1–10 of 37 open incidents</span><div style="display:flex;align-items:center;gap:12px"><span>Page 1 of 4</span><div style="display:flex"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:8px 0 0 8px;color:#b5b5b5">{{ ic.chevLeft }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:0 8px 8px 0;margin-left:-1px">{{ ic.chevRight }}</span></div></div></div>
<div style="position:absolute;left:50%;bottom:62px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:6px 6px 6px 12px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 12px 32px rgba(0,0,0,.18)"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.minus12 }}</span><span style="font-size:13px;font-weight:600;padding:0 8px 0 4px">3 selected</span><span style="width:1px;height:20px;background:#e3e3e3"></span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">Assign investigator</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">Change status</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">{{ ic.download }}Export</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.more }}</span></div>
</div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">01b</span><span style="font-size:15px;font-weight:600">Notifications drawer</span></div><div data-screen-label="01b Notifications drawer" style="position:relative;width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#fff;color:#1f1f1f;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.incidents.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.incidents.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.incidents.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.incidents.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:center;justify-content:space-between;gap:16px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Incidents</h1><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.upload }}Bulk import</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}New incident</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);position:relative;overflow:hidden">
<div style="display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 8px;border-bottom:1px solid #ebebeb"><div style="display:flex;gap:2px;align-items:center"><sc-for list="{{ incTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for><div style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.plus }}</div></div><div style="display:flex;gap:6px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.search }}{{ ic.filter }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.sort }}</span></div></div>
<div style="display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb;flex-wrap:wrap"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;color:#616161;font-size:13px;min-width:300px">{{ ic.search }}<span>Search reference, site, zone or reporter</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 6px 0 10px;border-radius:8px;font-size:12.5px;color:#1f1f1f;background:#e3e3e3;font-weight:500;white-space:nowrap">Site is Shah Alam DC, Port Klang Hub, Senai DC<span style="width:18px;height:18px;border-radius:5px;display:grid;place-items:center;color:#4a4a4a">{{ ic.x12 }}</span></span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Type{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Severity{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Reported date{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#616161;border:1px dashed #b5b5b5;cursor:pointer">Add filter {{ ic.plus12 }}</span><span style="font-size:12.5px;color:#0f766e;font-weight:550;cursor:pointer">Clear all</span><div style="flex:1"></div><span style="font-size:13px;color:#4a4a4a;font-weight:550;padding:0 8px;cursor:pointer">Cancel</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;height:28px">Save as view</span></div>
<table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:28px;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.minus12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;color:#1f1f1f"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reference{{ ic.down12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Type<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Status<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Severity<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Site · Zone<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reporter<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reported<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:100px"></th></tr></thead>
<tbody><sc-for list="{{ incidents }}" as="r" hint-placeholder-count="10"><tr style="background:{{ r.bg }};cursor:pointer">
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><sc-if value="{{ r.sel }}"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.tick12 }}</span></sc-if><sc-if value="{{ r.unsel }}"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></sc-if></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="font-family:'Geist Mono',monospace;font-size:12.5px;font-weight:500">{{ r.ref }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div>{{ r.type }}</div><sc-if value="{{ r.truck }}"><div style="font-size:12px;color:#616161">Truck {{ r.truck }}</div></sc-if></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.st.bg }};color:{{ r.st.fg }}">{{ r.st.label }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:8px"><div style="display:flex;gap:2px"><sc-for list="{{ r.bars }}" as="b"><span style="width:4px;height:12px;border-radius:2px;background:{{ b.c }}"></span></sc-for></div><span style="font-size:12px;color:#616161">{{ r.sevL }}</span></div></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div>{{ r.site }}</div><div style="font-size:12px;color:#616161">{{ r.zone }}</div></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle">{{ r.rep }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#616161;white-space:nowrap">{{ r.date }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-right:12px"><sc-if value="{{ r.hover }}"><div style="display:flex;gap:4px;justify-content:flex-end"><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer" title="View">{{ ic.eye }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer" title="Triage">{{ ic.pencil }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer" title="More">{{ ic.more }}</span></div></sc-if></td>
</tr></sc-for></tbody></table>
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>Showing 1–10 of 37 open incidents</span><div style="display:flex;align-items:center;gap:12px"><span>Page 1 of 4</span><div style="display:flex"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:8px 0 0 8px;color:#b5b5b5">{{ ic.chevLeft }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:0 8px 8px 0;margin-left:-1px">{{ ic.chevRight }}</span></div></div></div>
<div style="position:absolute;left:50%;bottom:62px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:6px 6px 6px 12px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 12px 32px rgba(0,0,0,.18)"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.minus12 }}</span><span style="font-size:13px;font-weight:600;padding:0 8px 0 4px">3 selected</span><span style="width:1px;height:20px;background:#e3e3e3"></span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">Assign investigator</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">Change status</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">{{ ic.download }}Export</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.more }}</span></div>
</div>
</main></div><div style="position:absolute;inset:0;background:rgba(0,0,0,.28)"></div><div style="position:absolute;top:8px;right:8px;bottom:8px;width:420px;background:#fff;border-radius:14px;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 24px 60px rgba(0,0,0,.24);display:flex;flex-direction:column;overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px"><span style="font-size:16px;font-weight:650;letter-spacing:-.01em">Notifications</span><div style="display:flex;align-items:center;gap:4px"><span style="font-size:12.5px;color:#0f766e;font-weight:550;padding:0 8px;cursor:pointer">Mark all read</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.settings }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.x }}</span></div></div><div style="display:flex;gap:2px;padding:0 12px 8px;border-bottom:1px solid #ebebeb"><sc-for list="{{ notifTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for></div><div style="flex:1;overflow:hidden"><sc-for list="{{ notifs }}" as="n" hint-placeholder-count="7"><sc-if value="{{ n.group }}"><div style="padding:12px 16px 4px;font-size:11.5px;font-weight:600;color:#8a8a8a;letter-spacing:.04em;text-transform:uppercase">{{ n.group }}</div></sc-if><div style="display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid #f0f0f0;background:{{ n.bg }};cursor:pointer"><span style="width:32px;height:32px;border-radius:9px;background:{{ n.iBg }};color:{{ n.iFg }};display:grid;place-items:center;flex:none">{{ n.icon }}</span><div style="flex:1;min-width:0;display:flex;flex-direction:column;gap:3px"><div style="font-size:13px;line-height:1.45;text-wrap:pretty;color:#1f1f1f">{{ n.title }}</div><div style="display:flex;align-items:center;gap:6px;font-size:12px;color:#616161"><a href="#" style="font-family:'Geist Mono',monospace;font-size:11.5px">{{ n.ref }}</a><span>·</span><span>{{ n.when }}</span><sc-if value="{{ n.ch }}"><span>·</span><span style="display:inline-flex;align-items:center;gap:3px">{{ n.ch }}</span></sc-if></div><sc-if value="{{ n.action }}"><span style="align-self:flex-start;margin-top:4px;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 1px #d4d4d4;font-size:12px;font-weight:550">{{ n.action }}</span></sc-if></div><sc-if value="{{ n.unread }}"><span style="width:8px;height:8px;border-radius:99px;background:#0f766e;flex:none;margin-top:6px"></span></sc-if></div></sc-for></div><div style="padding:10px 16px;border-top:1px solid #ebebeb;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#616161"><span>Also sent by email and WhatsApp per your preferences</span><span style="color:#0f766e;font-weight:550;cursor:pointer">Preferences</span></div></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">02</span><span style="font-size:15px;font-weight:600">Incident detail</span></div><div data-screen-label="02 Incident detail" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.incidents.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.incidents.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.incidents.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.incidents.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;gap:12px;align-items:flex-start"><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;width:32px;height:32px">{{ ic.arrowLeft }}</span><div style="display:flex;flex-direction:column;gap:4px"><div style="display:flex;align-items:center;gap:8px"><h1 style="margin:0;font-size:20px;font-weight:650;font-family:'Geist Mono',monospace;letter-spacing:-.02em">IMS-2026-0247</h1><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#e0efff;color:#00527c">Triaged</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">DOSH reportable</span></div><div style="font-size:13px;color:#616161">Reported 25 Sep 2026, 14:32 by Muthu Kumar via zone QR · Port Klang Hub, Racking B</div></div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Download PDF</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">More actions{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">Start investigation</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:18px 24px;display:grid;grid-template-columns:repeat(6,1fr)">
<div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center"><span style="width:22px;height:22px;border-radius:999px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.tick12 }}</span><span style="flex:1;height:2px;background:#0f766e;margin:0 8px"></span></div><div style="font-size:13px;font-weight:600">Reported</div><div style="font-size:12px;color:#616161">25 Sep, 14:32</div></div>
<div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center"><span style="width:22px;height:22px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 2px #0f766e,0 0 0 4px #d5ece8;display:grid;place-items:center"><span style="width:8px;height:8px;border-radius:9px;background:#0f766e"></span></span><span style="flex:1;height:2px;background:#e3e3e3;margin:0 8px"></span></div><div style="font-size:13px;font-weight:600">Triaged</div><div style="font-size:12px;color:#616161">25 Sep, 16:05 · Nadia H.</div></div>
<div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center"><span style="width:22px;height:22px;border-radius:999px;box-shadow:inset 0 0 0 1.5px #c4c4c4;background:#fff"></span><span style="flex:1;height:2px;background:#e3e3e3;margin:0 8px"></span></div><div style="font-size:13px;color:#616161">Investigating</div></div>
<div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center"><span style="width:22px;height:22px;border-radius:999px;box-shadow:inset 0 0 0 1.5px #c4c4c4;background:#fff"></span><span style="flex:1;height:2px;background:#e3e3e3;margin:0 8px"></span></div><div style="font-size:13px;color:#616161">CAPA pending</div></div>
<div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center"><span style="width:22px;height:22px;border-radius:999px;box-shadow:inset 0 0 0 1.5px #c4c4c4;background:#fff"></span><span style="flex:1;height:2px;background:#e3e3e3;margin:0 8px"></span></div><div style="font-size:13px;color:#616161">Verification</div></div>
<div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center"><span style="width:22px;height:22px;border-radius:999px;box-shadow:inset 0 0 0 1.5px #c4c4c4;background:#fff"></span></div><div style="font-size:13px;color:#616161">Closed</div></div>
</div>
<div style="display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start">
<div style="display:flex;flex-direction:column;gap:16px">
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:20px;display:flex;flex-direction:column;gap:14px"><div style="font-size:14px;font-weight:650">Incident summary</div><p style="margin:0;font-size:14px;line-height:1.6;color:#303030;text-wrap:pretty">Reach-truck operator reported lower back strain after manually repositioning a pallet that had shifted on racking level 3 (upright B-14). First aid given on site; worker referred to panel clinic.</p><div style="display:grid;grid-template-columns:repeat(4,1fr);border-radius:10px;box-shadow:inset 0 0 0 1px #e3e3e3;overflow:hidden">
<div style="padding:12px 14px;display:flex;flex-direction:column;gap:3px"><span style="font-size:12px;color:#616161">Body part</span><span style="font-size:13px;font-weight:550">Lower back</span></div><div style="padding:12px 14px;display:flex;flex-direction:column;gap:3px;border-left:1px solid #e3e3e3"><span style="font-size:12px;color:#616161">Injury type</span><span style="font-size:13px;font-weight:550">Strain</span></div><div style="padding:12px 14px;display:flex;flex-direction:column;gap:3px;border-left:1px solid #e3e3e3"><span style="font-size:12px;color:#616161">Treatment</span><span style="font-size:13px;font-weight:550">Panel clinic</span></div><div style="padding:12px 14px;display:flex;flex-direction:column;gap:3px;border-left:1px solid #e3e3e3"><span style="font-size:12px;color:#616161">Days lost</span><span style="font-size:13px;font-weight:550">Pending MC</span></div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:20px;display:flex;flex-direction:column;gap:14px"><div style="display:flex;justify-content:space-between;align-items:center"><div style="font-size:14px;font-weight:650">Evidence <span style="color:#8a8a8a;font-weight:500">4</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;height:28px">{{ ic.upload }}Add files</span></div><div style="display:grid;grid-template-columns:repeat(4,1fr);gap:12px">
<div style="aspect-ratio:4/3;border-radius:10px;background:#ebebeb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8a8a8a;font-size:12px">{{ ic.img24 }}rack-b14-01.jpg</div><div style="aspect-ratio:4/3;border-radius:10px;background:#ebebeb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8a8a8a;font-size:12px">{{ ic.img24 }}rack-b14-02.jpg</div><div style="aspect-ratio:4/3;border-radius:10px;background:#ebebeb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8a8a8a;font-size:12px">{{ ic.img24 }}pallet-shift.jpg</div><div style="aspect-ratio:4/3;border-radius:10px;background:#f7f7f7;box-shadow:inset 0 0 0 1px #e3e3e3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#616161;font-size:12px">{{ ic.file }}clinic-referral.pdf</div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;justify-content:space-between;align-items:center;padding:16px 20px"><div style="font-size:14px;font-weight:650">Corrective &amp; preventive actions</div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;height:28px">{{ ic.plus }}Add CAPA</span></div><table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;padding-left:20px;border-top:1px solid #e3e3e3">Action</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;border-top:1px solid #e3e3e3">Owner</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;border-top:1px solid #e3e3e3">Due</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;border-top:1px solid #e3e3e3">Status</th></tr></thead><tbody>
<tr><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:20px">Retrain reach-truck operators on pallet shift handling</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle">Sarah Lim</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#b3261e">20 Sep 2026</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">Overdue</span></td></tr>
<tr><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:20px;border-bottom:none">Inspect racking level 3, bays B-12 to B-16</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;border-bottom:none">Kumar Selvam</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;border-bottom:none;color:#616161">04 Oct 2026</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;border-bottom:none"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#ebebeb;color:#4a4a4a">Open</span></td></tr>
</tbody></table></div>
</div>
<div style="display:flex;flex-direction:column;gap:16px">
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden;box-shadow:0 0 0 1px #f3b8ae,0 1px 2px rgba(0,0,0,.06)"><div style="display:flex;gap:10px;align-items:center;padding:12px 16px;background:#fee3e0;color:#8e1f0b;font-size:13px;font-weight:650">{{ ic.alert }}NADOPOD 2004 obligation</div><div style="padding:16px;display:flex;flex-direction:column;gap:12px"><div style="font-size:14px;font-weight:600">JKKP 6 required</div><div style="font-size:13px;color:#4a4a4a;line-height:1.5">Occupational injury with expected medical leave above 4 days. Submit to DOSH by <strong style="color:#1f1f1f">02 Oct 2026</strong> (5 days left).</div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap;align-self:flex-start">{{ ic.file }}Generate JKKP 6</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:4px 0"><div style="font-size:14px;font-weight:650;padding:14px 16px 8px">Details</div>
<div style="display:flex;justify-content:space-between;padding:9px 16px;font-size:13px"><span style="color:#616161">Type</span><span>Injury / Medical</span></div>
<div style="display:flex;justify-content:space-between;align-items:center;padding:9px 16px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Severity</span><span style="display:flex;align-items:center;gap:8px"><span style="display:flex;gap:2px"><span style="width:4px;height:12px;border-radius:2px;background:#c4290f"></span><span style="width:4px;height:12px;border-radius:2px;background:#c4290f"></span><span style="width:4px;height:12px;border-radius:2px;background:#c4290f"></span><span style="width:4px;height:12px;border-radius:2px;background:#c4290f"></span><span style="width:4px;height:12px;border-radius:2px;background:#e3e3e3"></span></span>4 · Major</span></div>
<div style="display:flex;justify-content:space-between;padding:9px 16px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Site</span><span>Port Klang Hub</span></div>
<div style="display:flex;justify-content:space-between;padding:9px 16px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Zone</span><span>Racking B</span></div>
<div style="display:flex;justify-content:space-between;padding:9px 16px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Reporter</span><span>Muthu Kumar</span></div>
<div style="display:flex;justify-content:space-between;padding:9px 16px 14px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Triaged by</span><span>Nadia Hassan</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px"><div style="font-size:14px;font-weight:650">Similar incidents</div><span style="display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#0b4f47;background:#d5ece8;padding:2px 8px;border-radius:8px">{{ ic.sparkles }}AI match</span></div>
<div style="display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid #f0f0f0;font-size:13px"><div><div style="font-family:'Geist Mono',monospace;font-size:12px;color:#0f766e">IMS-2026-0188</div><div style="color:#4a4a4a">Shoulder strain re-stacking pallet, Racking B</div></div><span style="color:#616161;font-size:12px">92%</span></div>
<div style="display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid #f0f0f0;font-size:13px"><div><div style="font-family:'Geist Mono',monospace;font-size:12px;color:#0f766e">IMS-2026-0152</div><div style="color:#4a4a4a">Pallet overhang on level 3, near miss</div></div><span style="color:#616161;font-size:12px">87%</span></div>
<div style="display:flex;justify-content:space-between;gap:12px;padding:10px 16px 14px;border-top:1px solid #f0f0f0;font-size:13px"><div><div style="font-family:'Geist Mono',monospace;font-size:12px;color:#0f766e">IMS-2025-0917</div><div style="color:#4a4a4a">Manual handling injury, Senai DC</div></div><span style="color:#616161;font-size:12px">81%</span></div></div>
</div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">02b</span><span style="font-size:15px;font-weight:600">Triage form</span></div><div data-screen-label="02b Triage form" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.incidents.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.incidents.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.incidents.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.incidents.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;gap:12px;align-items:flex-start"><span style="width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff">{{ ic.arrowLeft }}</span><div style="display:flex;flex-direction:column;gap:4px"><div style="display:flex;align-items:center;gap:8px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Triage</h1><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fff1c2;color:#6b4a00">Reported</span></div><div style="font-size:13px;color:#616161"><a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">IMS-2026-0246</a> · Hazard · Reported 25 Sep 2026, 09:12 by Lee Wei Jie · Shah Alam DC, Chiller Room</div></div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">Save draft</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">Save and mark triaged</span></div></div>
<div style="display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start"><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;flex-direction:column;gap:2px;padding:16px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Classification</span><span style="font-size:12px;color:#616161">Confirm type and severity. Severity drives the CAPA due date and escalation.</span></div><div style="padding:20px;display:flex;flex-direction:column;gap:20px">
<div style="display:grid;grid-template-columns:1fr 1fr;gap:16px"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Incident type</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span>Hazard</span>{{ ic.chev12 }}</div><span style="font-size:12px;color:#616161">Reporter selected Hazard. Change if the evidence says otherwise.</span></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Zone</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span>Chiller Room · Shah Alam DC</span>{{ ic.chev12 }}</div><span style="font-size:12px;color:#616161">Filled from QR scan</span></div></div>
<div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Severity</span><div style="display:flex;gap:6px"><sc-for list="{{ sevScale }}" as="s" hint-placeholder-count="5"><div style="flex:1;display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:8px;box-shadow:{{ s.sh }};background:{{ s.bg }};cursor:pointer"><span style="font-size:15px;font-weight:650;font-family:'Geist Mono',monospace;color:{{ s.numC }}">{{ s.n }}</span><span style="font-size:12px;font-weight:550;color:#1f1f1f">{{ s.label }}</span><span style="font-size:11.5px;color:#616161;line-height:1.35">{{ s.sub }}</span></div></sc-for></div></div>
<div style="display:grid;grid-template-columns:1fr 1fr;gap:16px"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Medical status</span><div style="display:flex;padding:2px;border-radius:10px;background:#e3e3e3;align-self:flex-start"><span style="padding:6px 12px;border-radius:8px;background:#fff;font-size:13px;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.1);white-space:nowrap">None</span><span style="padding:6px 12px;font-size:13px;color:#4a4a4a;white-space:nowrap">First aid</span><span style="padding:6px 12px;font-size:13px;color:#4a4a4a;white-space:nowrap">Medical treatment</span><span style="padding:6px 12px;font-size:13px;color:#4a4a4a;white-space:nowrap">Lost-time injury</span></div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Lost days</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f;width:140px;color:#8a8a8a"><span>0</span></div><span style="font-size:12px;color:#616161">Only for medical treatment or LTI</span></div></div>
</div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;flex-direction:column;gap:2px;padding:16px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">DOSH notification</span><span style="font-size:12px;color:#616161">Tick anything that applies. Any tick marks the incident reportable and opens a JKKP 6 draft.</span></div><div style="padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:10px"><label style="display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer"><span style="width:16px;height:16px;border-radius:5px;flex:none;margin-top:1px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span><span style="display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:500">Fatality</span><span style="font-size:12px;color:#616161">Report within 24 hours</span></span></label><label style="display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer"><span style="width:16px;height:16px;border-radius:5px;flex:none;margin-top:1px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span><span style="display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:500">Serious bodily injury</span><span style="font-size:12px;color:#616161">Hospitalisation, amputation, loss of sight</span></span></label><label style="display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #0f766e;background:#f2f7f6;cursor:pointer"><span style="width:16px;height:16px;border-radius:5px;flex:none;margin-top:1px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.tick12 }}</span><span style="display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:500">Dangerous occurrence</span><span style="font-size:12px;color:#616161">Ammonia leak from chiller compressor line</span></span></label><label style="display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer"><span style="width:16px;height:16px;border-radius:5px;flex:none;margin-top:1px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span><span style="display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:500">Occupational disease</span><span style="font-size:12px;color:#616161">JKKP 7 within 7 days of diagnosis</span></span></label></div><div style="display:flex;align-items:center;gap:10px;margin:0 20px 20px;padding:12px 14px;border-radius:10px;background:#fee3e0;color:#8e1f0b;font-size:13px">{{ ic.alert }}<span style="flex:1"><b style="font-weight:600">Reportable.</b> DOSH must be notified within 7 days · due 02 Oct 2026. A JKKP 6 draft will be created on save.</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;flex-direction:column;gap:2px;padding:16px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Assignment</span></div><div style="padding:20px;display:flex;flex-direction:column;gap:16px"><div style="display:grid;grid-template-columns:1fr 1fr;gap:16px"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Lead investigator</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span style="display:flex;align-items:center;gap:8px"><span style="width:22px;height:22px;border-radius:6px;background:#e0dcf5;color:#3f2f85;font-size:10px;font-weight:650;display:grid;place-items:center">RP</span>Rajesh Pillai · Engineering</span>{{ ic.chev12 }}</div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Investigation due</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span>09 Oct 2026</span>{{ ic.calendar }}</div><span style="font-size:12px;color:#616161">Severity 4 default: 14 days</span></div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Triage notes</span><div style="min-height:96px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;line-height:1.5;color:#1f1f1f;text-wrap:pretty">Reporter photo shows frost and ammonia odour reported at compressor line 2. Chiller isolated at 09:40 by shift supervisor. Treat as dangerous occurrence pending engineering confirmation.</div><span style="font-size:12px;color:#616161">Visible to the investigator and management. Not shown to the reporter.</span></div></div></div></div><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="padding:14px 16px;border-bottom:1px solid #ebebeb;display:flex;align-items:center;justify-content:space-between"><span style="font-size:13px;font-weight:600">Original report</span><a href="#" style="font-size:12.5px">Open full</a></div><div style="padding:16px;display:flex;flex-direction:column;gap:12px"><div style="font-size:13px;line-height:1.5;color:#303030;text-wrap:pretty">Strong ammonia smell near compressor line 2 in chiller room. Frost build-up on the pipe joint. Area cleared, told supervisor.</div><div style="display:grid;grid-template-columns:1fr 1fr;gap:6px"><div style="aspect-ratio:4/3;border-radius:8px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a">{{ ic.img24 }}</div><div style="aspect-ratio:4/3;border-radius:8px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a">{{ ic.img24 }}</div></div><div style="display:flex;flex-direction:column;gap:8px;font-size:12.5px"><div style="display:flex;justify-content:space-between"><span style="color:#616161">Reporter</span><span>Lee Wei Jie</span></div><div style="display:flex;justify-content:space-between"><span style="color:#616161">Reported</span><span>25 Sep 2026, 09:12</span></div><div style="display:flex;justify-content:space-between"><span style="color:#616161">Source</span><span>Zone QR · 2c77-0a5e</span></div><div style="display:flex;justify-content:space-between"><span style="color:#616161">Injury involved</span><span>No</span></div></div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="padding:14px 16px;border-bottom:1px solid #ebebeb;display:flex;align-items:center;gap:6px"><span style="color:#0f766e">{{ ic.sparkles }}</span><span style="font-size:13px;font-weight:600">Similar incidents</span></div><sc-for list="{{ similar }}" as="m" hint-placeholder-count="3"><div style="display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-bottom:1px solid #ebebeb;cursor:pointer"><div style="display:flex;justify-content:space-between;align-items:center"><a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">{{ m.ref }}</a><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ m.st.bg }};color:{{ m.st.fg }}">{{ m.st.label }}</span></div><div style="font-size:12.5px;color:#303030;line-height:1.4">{{ m.desc }}</div><div style="font-size:12px;color:#616161">{{ m.meta }}</div></div></sc-for></div></div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">02c</span><span style="font-size:15px;font-weight:600">Investigation form</span></div><div data-screen-label="02c Investigation form" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.incidents.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.incidents.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.incidents.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.incidents.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;gap:12px;align-items:flex-start"><span style="width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff">{{ ic.arrowLeft }}</span><div style="display:flex;flex-direction:column;gap:4px"><div style="display:flex;align-items:center;gap:8px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Investigation</h1><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#ede7ff;color:#4b2e99">Investigating</span></div><div style="font-size:13px;color:#616161"><a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">IMS-2026-0246</a> · Hazard · Reported 25 Sep 2026, 09:12 by Lee Wei Jie · Shah Alam DC, Chiller Room</div></div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">Save draft</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">Complete investigation</span></div></div>
<div style="display:flex;gap:4px;padding:4px;border-radius:10px;background:#e3e3e3;align-self:flex-start"><sc-for list="{{ invSteps }}" as="p" hint-placeholder-count="5"><div style="display:flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:8px;background:{{ p.bg }};color:{{ p.fg }};font-size:13px;font-weight:{{ p.fw }};box-shadow:{{ p.sh }}"><span style="width:18px;height:18px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:600;background:{{ p.dotBg }};color:{{ p.dotFg }}">{{ p.dot }}</span>{{ p.label }}</div></sc-for></div>
<div style="display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start"><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;flex-direction:column;gap:2px;padding:16px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Root cause analysis</span><span style="font-size:12px;color:#616161">Five whys is the default. Switch method if the team used a fishbone.</span></div><div style="padding:20px;display:flex;flex-direction:column;gap:20px"><div style="display:flex;align-items:center;justify-content:space-between"><div style="display:flex;padding:2px;border-radius:10px;background:#e3e3e3"><span style="padding:6px 12px;border-radius:8px;background:#fff;font-size:13px;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.1);white-space:nowrap">Five whys</span><span style="padding:6px 12px;font-size:13px;color:#4a4a4a;white-space:nowrap">Fishbone</span><span style="padding:6px 12px;font-size:13px;color:#4a4a4a;white-space:nowrap">Other</span></div><span style="font-size:12px;color:#616161">Autosaved 2 min ago</span></div><div style="display:flex;flex-direction:column;gap:0"><sc-for list="{{ whys }}" as="w" hint-placeholder-count="5"><div style="display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:start"><div style="display:flex;flex-direction:column;align-items:center;gap:0;height:100%"><span style="width:28px;height:28px;border-radius:999px;background:{{ w.bg }};color:{{ w.fg }};box-shadow:{{ w.sh }};font-size:12px;font-weight:650;display:grid;place-items:center;font-family:'Geist Mono',monospace">{{ w.n }}</span><span style="width:2px;flex:1;background:{{ w.line }};margin:4px 0"></span></div><div style="display:flex;flex-direction:column;gap:6px;padding-bottom:14px"><span style="font-size:13px;font-weight:550;color:#303030">{{ w.q }}</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f;height:auto;min-height:36px;padding:8px 12px;color:{{ w.c }};box-shadow:inset 0 0 0 1px {{ w.ring }};background:{{ w.fill }}"><span style="text-wrap:pretty;line-height:1.45">{{ w.a }}</span></div></div></div></sc-for></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Root cause summary</span><div style="min-height:96px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;line-height:1.5;color:#1f1f1f;text-wrap:pretty">No preventive maintenance interval defined for chiller compressor line joints; last inspection 14 months ago. Ammonia detector in chiller room out of calibration since Mar 2026.</div><span style="font-size:12px;color:#616161">One or two sentences. This appears on the CAPA and the JKKP form.</span></div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;flex-direction:column;gap:2px;padding:16px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Findings</span></div><div style="padding:20px;display:flex;flex-direction:column;gap:16px"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Findings</span><div style="min-height:96px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;line-height:1.5;color:#1f1f1f;text-wrap:pretty;min-height:120px">Compressor line 2 flange gasket degraded, minor ammonia release detected at 09:05. Detector alarm did not trigger. Chiller isolated 09:40 by shift supervisor. No exposure symptoms reported by the four staff on shift.</div></div><div style="display:grid;grid-template-columns:1fr 1fr;gap:16px"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Alcohol test</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span>Not required</span>{{ ic.chev12 }}</div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Urine test</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span>Not required</span>{{ ic.chev12 }}</div><span style="font-size:12px;color:#616161">Required for transport incidents</span></div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Witness statements</span><div style="display:flex;flex-direction:column;gap:6px"><div style="display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #e3e3e3"><span style="color:#4a4a4a">{{ ic.file }}</span><span style="flex:1;font-size:13px">Statement_LeeWeiJie_25Sep.pdf</span><span style="font-size:12px;color:#616161">212 KB</span><span style="color:#8a8a8a;cursor:pointer">{{ ic.x12 }}</span></div><div style="display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #e3e3e3"><span style="color:#4a4a4a">{{ ic.file }}</span><span style="flex:1;font-size:13px">Statement_Supervisor_Amir_25Sep.pdf</span><span style="font-size:12px;color:#616161">188 KB</span><span style="color:#8a8a8a;cursor:pointer">{{ ic.x12 }}</span></div><div style="display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:8px;border:1.5px dashed #c4c4c4;color:#616161;font-size:13px;cursor:pointer">{{ ic.upload }}Drop statements or photos, or browse</div></div></div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #ebebeb"><div style="display:flex;flex-direction:column;gap:2px"><span style="font-size:14px;font-weight:600">Corrective and preventive actions</span><span style="font-size:12px;color:#616161">At least one action per root cause before the investigation can be completed.</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.plus }}Add action</span></div><sc-for list="{{ invCapas }}" as="a" hint-placeholder-count="2"><div style="display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:16px;align-items:center;padding:12px 20px;border-bottom:1px solid #ebebeb"><div style="display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:500">{{ a.desc }}</span><span style="font-size:12px;color:#616161">{{ a.rc }}</span></div><span style="display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap"><span style="width:24px;height:24px;border-radius:7px;background:{{ a.avBg }};color:{{ a.avFg }};font-size:10.5px;font-weight:650;display:grid;place-items:center">{{ a.ini }}</span>{{ a.owner }}</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ a.pri.bg }};color:{{ a.pri.fg }}">{{ a.pri.label }}</span><span style="font-size:13px;color:#616161;white-space:nowrap">Due {{ a.due }}</span></div></sc-for><div style="display:flex;align-items:center;gap:10px;padding:12px 20px;background:#fff8e1;color:#6b4a00;font-size:12.5px">{{ ic.alert }}Root cause 2 (detector calibration) has no action yet.</div></div></div><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="padding:14px 16px;border-bottom:1px solid #ebebeb;font-size:13px;font-weight:600">Investigation</div><div style="padding:16px;display:flex;flex-direction:column;gap:10px;font-size:12.5px"><div style="display:flex;justify-content:space-between"><span style="color:#616161">Lead</span><span>Rajesh Pillai</span></div><div style="display:flex;justify-content:space-between"><span style="color:#616161">Started</span><span>26 Sep 2026</span></div><div style="display:flex;justify-content:space-between"><span style="color:#616161">Due</span><span style="color:#0c5132;font-weight:550">09 Oct 2026 · 8 days left</span></div><div style="display:flex;justify-content:space-between"><span style="color:#616161">Severity</span><span>4 · Major</span></div><div style="display:flex;justify-content:space-between"><span style="color:#616161">DOSH</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">JKKP 6 pending</span></div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="padding:14px 16px;border-bottom:1px solid #ebebeb;font-size:13px;font-weight:600">Completion checklist</div><div style="padding:8px 16px 12px;display:flex;flex-direction:column"><sc-for list="{{ invCheck }}" as="c" hint-placeholder-count="5"><div style="display:flex;align-items:center;gap:10px;padding:8px 0;font-size:13px;color:{{ c.fg }}"><span style="width:16px;height:16px;border-radius:999px;flex:none;background:{{ c.bg }};color:#fff;display:grid;place-items:center;box-shadow:{{ c.sh }}"><sc-if value="{{ c.done }}">{{ ic.tick12 }}</sc-if></span>{{ c.label }}</div></sc-for></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="padding:14px 16px;border-bottom:1px solid #ebebeb;font-size:13px;font-weight:600">Evidence · investigation stage</div><div style="padding:12px 16px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px"><div style="aspect-ratio:1;border-radius:8px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a">{{ ic.img24 }}</div><div style="aspect-ratio:1;border-radius:8px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a">{{ ic.img24 }}</div><div style="aspect-ratio:1;border-radius:8px;border:1.5px dashed #c4c4c4;display:grid;place-items:center;color:#8a8a8a">{{ ic.plus }}</div></div></div></div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">02d</span><span style="font-size:15px;font-weight:600">DOSH reporting · JKKP 6</span></div><div data-screen-label="02d DOSH reporting · JKKP 6" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.incidents.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.incidents.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.incidents.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.incidents.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;gap:12px;align-items:flex-start"><span style="width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff">{{ ic.arrowLeft }}</span><div style="display:flex;flex-direction:column;gap:4px"><div style="display:flex;align-items:center;gap:8px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">DOSH reporting</h1><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">Reportable</span></div><div style="font-size:13px;color:#616161"><a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">IMS-2026-0246</a> · Hazard · Dangerous occurrence · Shah Alam DC, Chiller Room · Triaged 25 Sep 2026 by Nadia Hassan</div></div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Download JKKP 6 PDF</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">Mark as submitted</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);display:grid;grid-template-columns:minmax(0,1.3fr) 1fr 1fr 1fr"><div style="padding:16px 20px;display:flex;flex-direction:column;gap:8px;border-right:1px solid #ebebeb"><span style="font-size:12px;color:#616161">Why this is reportable</span><div style="display:flex;flex-direction:column;gap:6px"><sc-for list="{{ doshReasons }}" as="r" hint-placeholder-count="1"><div style="display:flex;align-items:center;gap:8px;font-size:13px"><span style="color:#b3261e">{{ ic.alert }}</span><span><b style="font-weight:600">{{ r.what }}</b> · {{ r.law }}</span></div></sc-for></div></div><sc-for list="{{ doshForms }}" as="f" hint-placeholder-count="3"><div style="padding:16px 20px;display:flex;flex-direction:column;gap:8px;border-right:1px solid #ebebeb;background:{{ f.bg }}"><div style="display:flex;align-items:center;justify-content:space-between"><span style="font-size:13px;font-weight:600">{{ f.name }}</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ f.st.bg }};color:{{ f.st.fg }}">{{ f.st.label }}</span></div><span style="font-size:12.5px;color:#303030">{{ f.desc }}</span><span style="font-size:12px;color:{{ f.dueC }};font-weight:{{ f.dueW }}">{{ f.due }}</span></div></sc-for></div>
<div style="display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start"><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Borang JKKP 6 — Notis Kemalangan / Kejadian Berbahaya</span><div style="display:flex;padding:2px;border-radius:10px;background:#e3e3e3"><span style="padding:4px 10px;border-radius:8px;background:#fff;font-size:12.5px;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.1);white-space:nowrap">JKKP 6</span><span style="padding:4px 10px;font-size:12.5px;color:#4a4a4a;white-space:nowrap">JKKP 7</span></div></div><div style="padding:4px 20px 8px"><div style="display:flex;align-items:center;gap:10px;padding:10px 12px;margin:12px 0 4px;border-radius:10px;background:#f7f7f7;font-size:12.5px;color:#4a4a4a">{{ ic.sparkles }}<span style="flex:1">Fields are filled from the incident record. Edit anything here; changes are saved to the incident and audited.</span></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Rujukan</span><span style="font-size:12px;color:#616161">Reference</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty"><span style="font-family:'Geist Mono',monospace">IMS-2026-0246</span></span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Nama &amp; alamat majikan</span><span style="font-size:12px;color:#616161">Employer name and address</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty">Setia Logistics Sdn Bhd · Lot 12, Jalan Perusahaan 3, Seksyen 23, 40300 Shah Alam, Selangor</span><span style="font-size:11.5px;color:#8a8a8a;display:flex;align-items:center;gap:4px">From Settings · Company profile</span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Tapak</span><span style="font-size:12px;color:#616161">Site</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty">Shah Alam DC · Chiller Room</span><span style="font-size:11.5px;color:#8a8a8a;display:flex;align-items:center;gap:4px">From incident</span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Tarikh &amp; masa kejadian</span><span style="font-size:12px;color:#616161">Date and time of occurrence</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty">25 Sep 2026, 09:05</span><span style="font-size:11.5px;color:#8a8a8a;display:flex;align-items:center;gap:4px">From incident · reported 09:12</span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Jenis insiden</span><span style="font-size:12px;color:#616161">Incident type</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty">Hazard · Kejadian berbahaya / Dangerous occurrence</span><span style="font-size:11.5px;color:#8a8a8a;display:flex;align-items:center;gap:4px">From triage</span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Penerangan</span><span style="font-size:12px;color:#616161">Description</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty">Ammonia release from chiller compressor line 2 flange gasket. Detector alarm did not trigger. Chiller isolated at 09:40 by shift supervisor. No exposure symptoms reported by the four staff on shift.</span><span style="font-size:11.5px;color:#8a8a8a;display:flex;align-items:center;gap:4px">From triage notes · <span style="color:#0f766e;font-weight:550">Edit</span></span></div></div>
<div style="display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #f0f0f0"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:12px;color:#616161">Kematian / Fatality</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#ebebeb;color:#4a4a4a">Tidak / No</span></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:12px;color:#616161">Kecederaan serius / Serious bodily injury</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#ebebeb;color:#4a4a4a">Tidak / No</span></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:12px;color:#616161">Kejadian berbahaya / Dangerous occurrence</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">Ya / Yes</span></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:12px;color:#616161">Hari hilang kerja / Lost days</span><span style="font-size:13px">—</span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Dilaporkan oleh</span><span style="font-size:12px;color:#616161">Reported by</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty">Lee Wei Jie · Warehouse Operator · lee.weijie@setia.com.my</span><span style="font-size:11.5px;color:#8a8a8a;display:flex;align-items:center;gap:4px">From incident</span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #f0f0f0;"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Pegawai bertanggungjawab</span><span style="font-size:12px;color:#616161">Responsible officer</span></div><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:13px;line-height:1.5;text-wrap:pretty"><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f;max-width:360px"><span style="display:flex;align-items:center;gap:8px"><span style="width:22px;height:22px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:10px;font-weight:650;display:grid;place-items:center">NH</span>Nadia Hassan · HSE Manager · 012-345 6789</span>{{ ic.chev12 }}</div></span></div></div>
<div style="display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;padding:12px 0"><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:550">Lampiran</span><span style="font-size:12px;color:#616161">Attachments</span></div><div style="display:flex;gap:8px;flex-wrap:wrap"><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;font-size:12.5px">{{ ic.image }}Photo_compressor_line2.jpg</span><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;font-size:12.5px">{{ ic.image }}Photo_frost_joint.jpg</span><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;font-size:12.5px">{{ ic.file }}Incident_report_IMS-2026-0246.pdf</span><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1.5px dashed #a3a3a3;font-size:12.5px;color:#4a4a4a;border:1.5px dashed #a3a3a3;box-shadow:none">{{ ic.plus12 }}Add</span></div></div></div></div></div><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden;box-shadow:0 0 0 2px #0f766e,0 1px 2px rgba(0,0,0,.06)"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Submission record</span></div><div style="padding:16px;display:flex;flex-direction:column;gap:14px"><div style="display:flex;flex-direction:column;gap:4px"><span style="font-size:12px;color:#616161">JKKP 6 is submitted outside IMS on the DOSH MyKKP portal. Record it here so the deadline clears and the PDF is archived with the incident.</span></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Submitted on</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span style="color:#8a8a8a">Select date</span>{{ ic.calendar }}</div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">MyKKP reference</span><div style="height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span style="color:#8a8a8a;font-family:'Geist Mono',monospace">e.g. JKKP/SEL/2026/00412</span></div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Acknowledgement</span><div style="display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:8px;border:1.5px dashed #c4c4c4;color:#616161;font-size:13px;cursor:pointer">{{ ic.upload }}Upload receipt PDF</div></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap;justify-content:center">Mark as submitted</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Deadline</span></div><div style="padding:16px;display:flex;flex-direction:column;gap:10px"><div style="display:flex;align-items:baseline;gap:8px"><span style="font-size:28px;font-weight:650;letter-spacing:-.02em;color:#b3261e">1 day</span><span style="font-size:13px;color:#616161">left · due 02 Oct 2026</span></div><span style="width:100%;height:6px;border-radius:99px;background:#ebebeb;overflow:hidden;display:block"><span style="display:block;height:100%;width:86%;background:#c4290f;border-radius:99px"></span></span><span style="font-size:12px;color:#616161">7 days from 25 Sep 2026 occurrence, NADOPOD 2004 s.9(1). Reminders sent to Nadia Hassan and Azlan Ismail at 3 days and 1 day.</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">History</span></div><div style="padding:8px 16px 12px;display:flex;flex-direction:column;font-size:12.5px"><div style="display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#8a8a8a;white-space:nowrap;width:74px">30 Sep 09:00</span><span>1-day reminder emailed and sent via WhatsApp</span></div><div style="display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#8a8a8a;white-space:nowrap;width:74px">28 Sep 09:00</span><span>3-day reminder emailed</span></div><div style="display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#8a8a8a;white-space:nowrap;width:74px">25 Sep 10:48</span><span>JKKP 6 draft created on triage by Nadia Hassan</span></div><div style="display:flex;gap:10px;padding:8px 0"><span style="color:#8a8a8a;white-space:nowrap;width:74px">25 Sep 10:48</span><span>Dangerous occurrence flagged · reportable</span></div></div></div></div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">03</span><span style="font-size:15px;font-weight:600">HSE dashboard</span></div><div data-screen-label="03 HSE dashboard" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.dashboard.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.dashboard.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.dashboard.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.dashboard.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:center;justify-content:space-between;gap:16px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Dashboard</h1><div style="display:flex;gap:8px;align-items:center"><div style="display:flex;padding:2px;border-radius:10px;background:#e3e3e3"><span style="padding:5px 12px;border-radius:8px;background:#fff;font-size:13px;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.1)">Overview</span><span style="padding:5px 12px;font-size:13px;color:#4a4a4a">Trends</span><span style="padding:5px 12px;font-size:13px;color:#4a4a4a">Compliance</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.calendar }}Last 30 days{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">All sites{{ ic.chev12 }}</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);display:grid;grid-template-columns:repeat(5,1fr)">
<div style="padding:16px 20px;display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;color:#616161;border-bottom:1px dashed #c4c4c4;align-self:flex-start">Open incidents</span><span style="font-size:24px;font-weight:650;letter-spacing:-.02em">37</span><span style="display:flex;align-items:center;gap:4px;font-size:12px;color:#8e1f0b">{{ ic.trendUp }}4 vs prior 30 days</span></div>
<div style="padding:16px 20px;display:flex;flex-direction:column;gap:6px;border-left:1px solid #ebebeb"><span style="font-size:13px;color:#616161;border-bottom:1px dashed #c4c4c4;align-self:flex-start">Leading (near miss + hazard)</span><span style="font-size:24px;font-weight:650;letter-spacing:-.02em">22</span><span style="display:flex;align-items:center;gap:4px;font-size:12px;color:#0c5132">{{ ic.trendUp }}More reporting, good sign</span></div>
<div style="padding:16px 20px;display:flex;flex-direction:column;gap:6px;border-left:1px solid #ebebeb"><span style="font-size:13px;color:#616161;border-bottom:1px dashed #c4c4c4;align-self:flex-start">Lagging (injuries)</span><span style="font-size:24px;font-weight:650;letter-spacing:-.02em">3</span><span style="display:flex;align-items:center;gap:4px;font-size:12px;color:#0c5132">{{ ic.trendDown }}1 vs prior 30 days</span></div>
<div style="padding:16px 20px;display:flex;flex-direction:column;gap:6px;border-left:1px solid #ebebeb"><span style="font-size:13px;color:#616161;border-bottom:1px dashed #c4c4c4;align-self:flex-start">CAPA on-time rate</span><span style="font-size:24px;font-weight:650;letter-spacing:-.02em">84%</span><div style="height:6px;border-radius:9px;background:#ebebeb;overflow:hidden;margin-top:4px"><div style="width:84%;height:100%;background:#0f766e;border-radius:9px"></div></div></div>
<div style="padding:16px 20px;display:flex;flex-direction:column;gap:6px;border-left:1px solid #ebebeb"><span style="font-size:13px;color:#616161;border-bottom:1px dashed #c4c4c4;align-self:flex-start">DOSH filings pending</span><span style="font-size:24px;font-weight:650;letter-spacing:-.02em;color:#b3261e">2</span><span style="font-size:12px;color:#616161">Next due 02 Oct (JKKP 6)</span></div>
</div>
<div style="display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:stretch">
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:20px;display:flex;flex-direction:column;gap:16px"><div style="display:flex;justify-content:space-between;align-items:center"><div style="font-size:14px;font-weight:650">Incidents, last 12 months</div><div style="display:flex;gap:14px;font-size:12px;color:#616161"><span style="display:flex;align-items:center;gap:6px"><span style="width:10px;height:10px;border-radius:3px;background:#9fd3c9"></span>Leading</span><span style="display:flex;align-items:center;gap:6px"><span style="width:10px;height:10px;border-radius:3px;background:#0f766e"></span>Lagging</span></div></div>
<div style="display:grid;grid-template-columns:repeat(12,1fr);gap:14px;align-items:end;height:200px;padding-top:10px;background:repeating-linear-gradient(to top,#f0f0f0 0 1px,transparent 1px 50px)"><sc-for list="{{ trend }}" as="t" hint-placeholder-count="12"><div style="display:flex;flex-direction:column;justify-content:flex-end;height:100%;gap:2px"><div style="height:{{ t.lh }};background:#9fd3c9;border-radius:6px 6px 2px 2px"></div><div style="height:{{ t.gh }};background:#0f766e;border-radius:2px 2px 4px 4px"></div></div></sc-for></div>
<div style="display:grid;grid-template-columns:repeat(12,1fr);gap:14px;margin-top:-8px"><sc-for list="{{ trend }}" as="t" hint-placeholder-count="12"><span style="text-align:center;font-size:11px;color:#616161;font-weight:{{ t.fw }}">{{ t.m }}</span></sc-for></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden;display:flex;flex-direction:column"><div style="display:flex;align-items:center;justify-content:space-between;padding:16px 16px 10px"><div style="font-size:14px;font-weight:650">Rising-risk flags</div><span style="display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#0b4f47;background:#d5ece8;padding:2px 8px;border-radius:8px">{{ ic.sparkles }}AI</span></div>
<div style="padding:12px 16px;border-top:1px solid #f0f0f0;display:flex;gap:10px"><span style="color:#c4290f;margin-top:1px">{{ ic.alert }}</span><div style="font-size:13px;line-height:1.45"><div style="font-weight:600">Dock 3, Shah Alam DC</div><div style="color:#4a4a4a">Near misses up 3× against the 90-day average. 4 involve forklift and pedestrian crossing.</div></div></div>
<div style="padding:12px 16px;border-top:1px solid #f0f0f0;display:flex;gap:10px"><span style="color:#c77700;margin-top:1px">{{ ic.alert }}</span><div style="font-size:13px;line-height:1.45"><div style="font-weight:600">Battery Charging, Senai DC</div><div style="color:#4a4a4a">Sev 5 fire event plus 2 open hazards in 14 days.</div></div></div>
<div style="padding:12px 16px;border-top:1px solid #f0f0f0;display:flex;gap:10px"><span style="color:#c77700;margin-top:1px">{{ ic.alert }}</span><div style="font-size:13px;line-height:1.45"><div style="font-weight:600">Racking B, Port Klang Hub</div><div style="color:#4a4a4a">Repeat manual-handling root cause across 3 incidents.</div></div></div></div>
</div>
<div style="display:grid;grid-template-columns:1fr 1fr;gap:16px">
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:20px;display:flex;flex-direction:column;gap:12px"><div style="font-size:14px;font-weight:650">Zone heatmap, 90 days</div><sc-for list="{{ zones }}" as="z" hint-placeholder-count="6"><div style="display:grid;grid-template-columns:170px 1fr 28px;gap:12px;align-items:center;font-size:13px"><div><div>{{ z.name }}</div><div style="font-size:11.5px;color:#616161">{{ z.site }}</div></div><div style="height:10px;border-radius:9px;background:#f0f0f0;overflow:hidden"><div style="height:100%;width:{{ z.w }};background:{{ z.c }};border-radius:9px"></div></div><span style="text-align:right;font-weight:600">{{ z.n }}</span></div></sc-for></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:20px;display:flex;flex-direction:column;gap:12px"><div style="font-size:14px;font-weight:650">Top root causes</div><sc-for list="{{ causes }}" as="c" hint-placeholder-count="5"><div style="display:flex;flex-direction:column;gap:6px;font-size:13px"><div style="display:flex;justify-content:space-between"><span>{{ c.name }}</span><span style="font-weight:600">{{ c.n }}</span></div><div style="height:6px;border-radius:9px;background:#f0f0f0;overflow:hidden"><div style="height:100%;width:{{ c.w }};background:#303030;border-radius:9px"></div></div></div></sc-for></div>
</div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;justify-content:space-between;align-items:center;padding:14px 16px"><div style="font-size:14px;font-weight:650">Recent incidents</div><a href="#" style="font-size:13px;font-weight:550">View all</a></div><table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;padding-left:16px;border-top:1px solid #e3e3e3">Reference</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;border-top:1px solid #e3e3e3">Type</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;border-top:1px solid #e3e3e3">Status</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;border-top:1px solid #e3e3e3">Site · Zone</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;border-top:1px solid #e3e3e3">Reported</th></tr></thead><tbody><sc-for list="{{ recent }}" as="r" hint-placeholder-count="5"><tr><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><span style="font-family:'Geist Mono',monospace;font-size:12.5px;font-weight:500">{{ r.ref }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle">{{ r.type }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.st.bg }};color:{{ r.st.fg }}">{{ r.st.label }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle">{{ r.site }} · <span style="color:#616161">{{ r.zone }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#616161">{{ r.date }}</td></tr></sc-for></tbody></table></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">04</span><span style="font-size:15px;font-weight:600">CAPA · list view</span></div><div data-screen-label="04 CAPA · list view" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.capa.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.capa.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.capa.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.capa.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:center;justify-content:space-between;gap:16px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">CAPA</h1><div style="display:flex;gap:8px;align-items:center"><div style="display:flex;padding:2px;border-radius:10px;background:#e3e3e3"><span style="display:flex;align-items:center;gap:6px;padding:5px 10px;border-radius:8px;background:#fff;font-size:13px;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.1)">{{ ic.rows }}List</span><span style="display:flex;align-items:center;gap:6px;padding:5px 10px;font-size:13px;color:#4a4a4a">{{ ic.kanban }}Board</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden;position:relative">
<div style="display:flex;align-items:center;justify-content:space-between;padding:8px;border-bottom:1px solid #ebebeb"><div style="display:flex;gap:2px;align-items:center"><sc-for list="{{ capaTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for><div style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.plus }}</div></div><div style="display:flex;gap:6px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.search }}{{ ic.filter }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.sort }}</span></div></div>
<div style="display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;color:#616161;font-size:13px;min-width:300px">{{ ic.search }}<span>Search action or incident reference</span></div><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Owner{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Department{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Priority{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Due date{{ ic.chev12 }}</span></div>
<table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:28px;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.minus12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Action<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Incident<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Owner<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Department<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Priority<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;color:#1f1f1f"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Due{{ ic.down12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Status<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:100px"></th></tr></thead>
<tbody><sc-for list="{{ capas }}" as="r" hint-placeholder-count="8"><tr style="background:{{ r.bg }};cursor:pointer">
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><sc-if value="{{ r.sel }}"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.tick12 }}</span></sc-if><sc-if value="{{ r.unsel }}"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></sc-if></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;max-width:340px;font-weight:500">{{ r.desc }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">{{ r.ref }}</a></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:8px;white-space:nowrap"><span style="width:24px;height:24px;border-radius:7px;background:{{ r.avBg }};color:{{ r.avFg }};font-size:10.5px;font-weight:650;display:grid;place-items:center">{{ r.ini }}</span>{{ r.owner }}</div></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#4a4a4a">{{ r.dept }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.pri.bg }};color:{{ r.pri.fg }}">{{ r.pri.label }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;white-space:nowrap"><div>{{ r.due }}</div><div style="font-size:12px;color:{{ r.dueC }}">{{ r.dueSub }}</div></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.st.bg }};color:{{ r.st.fg }}">{{ r.st.label }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-right:12px"><sc-if value="{{ r.hover }}"><div style="display:flex;gap:4px;justify-content:flex-end"><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.eye }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.clip }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.more }}</span></div></sc-if></td>
</tr></sc-for></tbody></table>
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>Showing 1–8 of 42 actions</span><div style="display:flex;align-items:center;gap:12px"><span>Page 1 of 6</span><div style="display:flex"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:8px 0 0 8px;color:#b5b5b5">{{ ic.chevLeft }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:0 8px 8px 0;margin-left:-1px">{{ ic.chevRight }}</span></div></div></div>
<div style="position:absolute;left:50%;bottom:62px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:6px 6px 6px 12px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 12px 32px rgba(0,0,0,.18)"><span style="width:16px;height:16px;border-radius:5px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.minus12 }}</span><span style="font-size:13px;font-weight:600;padding:0 8px 0 4px">2 selected</span><span style="width:1px;height:20px;background:#e3e3e3"></span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">Send reminder</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">Reassign owner</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;box-shadow:none">Escalate</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.more }}</span></div>
</div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">04b</span><span style="font-size:15px;font-weight:600">CAPA · board view</span></div><div data-screen-label="04b CAPA · board view" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.capa.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.capa.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.capa.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.capa.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:center;justify-content:space-between;gap:16px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">CAPA</h1><div style="display:flex;gap:8px;align-items:center"><div style="display:flex;padding:2px;border-radius:10px;background:#e3e3e3"><span style="display:flex;align-items:center;gap:6px;padding:5px 10px;font-size:13px;color:#4a4a4a">{{ ic.rows }}List</span><span style="display:flex;align-items:center;gap:6px;padding:5px 10px;border-radius:8px;background:#fff;font-size:13px;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.1)">{{ ic.kanban }}Board</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export</span></div></div>
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px"><div style="display:flex;align-items:center;gap:8px"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;color:#616161;font-size:13px;min-width:280px">{{ ic.search }}<span>Search action or incident reference</span></div><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Owner{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Department{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Priority{{ ic.chev12 }}</span></div><div style="display:flex;align-items:center;gap:8px;font-size:13px;color:#616161"><span>Group by</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Status{{ ic.chev12 }}</span></div></div>
<div style="display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:start"><sc-for list="{{ board }}" as="c" hint-placeholder-count="5"><div style="display:flex;flex-direction:column;gap:10px;min-width:0"><div style="display:flex;align-items:center;gap:8px;padding:0 4px;height:28px"><span style="width:8px;height:8px;border-radius:999px;background:{{ c.dot }}"></span><span style="font-size:13px;font-weight:600">{{ c.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ c.count }}</span><span style="flex:1"></span><span style="width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:#6b6b6b;cursor:pointer">{{ ic.plus }}</span></div><div style="display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:12px;background:#e8e8e8;min-height:560px"><sc-for list="{{ c.cards }}" as="k" hint-placeholder-count="2"><div style="background:#fff;border-radius:10px;box-shadow:{{ k.sh }};padding:12px;display:flex;flex-direction:column;gap:10px;cursor:pointer;transform:{{ k.tf }}"><div style="display:flex;align-items:center;justify-content:space-between;gap:8px"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ k.pri.bg }};color:{{ k.pri.fg }}">{{ k.pri.label }}</span><a href="#" style="font-family:'Geist Mono',monospace;font-size:11.5px;color:#616161">{{ k.ref }}</a></div><div style="font-size:13px;font-weight:500;line-height:1.4;text-wrap:pretty">{{ k.desc }}</div><div style="display:flex;align-items:center;justify-content:space-between;gap:8px"><span style="display:inline-flex;align-items:center;gap:5px;font-size:12px;color:{{ k.dueC }};font-weight:{{ k.dueW }}">{{ ic.cal12 }}{{ k.due }}</span><span style="width:24px;height:24px;border-radius:7px;background:{{ k.avBg }};color:{{ k.avFg }};font-size:10.5px;font-weight:650;display:grid;place-items:center" title="{{ k.owner }}">{{ k.ini }}</span></div></div></sc-for><sc-if value="{{ c.empty }}"><div style="border:1.5px dashed #c4c4c4;border-radius:10px;padding:20px 12px;text-align:center;font-size:12.5px;color:#8a8a8a">{{ c.emptyText }}</div></sc-if></div></div></sc-for></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">04c</span><span style="font-size:15px;font-weight:600">CAPA detail · verification</span></div><div data-screen-label="04c CAPA detail · verification" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.capa.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.capa.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.capa.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.capa.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;gap:12px;align-items:flex-start"><span style="width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff">{{ ic.arrowLeft }}</span><div style="display:flex;flex-direction:column;gap:6px"><div style="display:flex;align-items:center;gap:8px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em;max-width:720px;text-wrap:pretty">Anti-slip coating, Loading Bay 1 ramp</h1><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#e3e8ff;color:#2c3e8f">Pending verification</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fff1c2;color:#6b4a00">Medium</span></div><div style="font-size:13px;color:#616161;display:flex;align-items:center;gap:6px">From <a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">IMS-2026-0243</a> · Near miss · Shah Alam DC, Loading Bay 1 · Root cause: Why #2 — ramp surface worn smooth</div></div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.edit }}Edit</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">More actions{{ ic.chev12 }}</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:16px 20px;display:grid;grid-template-columns:repeat(5,1fr)"><sc-for list="{{ capaSteps }}" as="p" hint-placeholder-count="5"><div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center"><span style="width:22px;height:22px;border-radius:999px;background:{{ p.bg }};color:{{ p.fg }};box-shadow:{{ p.sh }};display:grid;place-items:center;font-size:11px;font-weight:650;flex:none"><sc-if value="{{ p.done }}">{{ ic.tick12 }}</sc-if><sc-if value="{{ p.num }}">{{ p.num }}</sc-if></span><span style="flex:1;height:2px;background:{{ p.line }};margin:0 8px"></span></div><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:{{ p.fw }};color:{{ p.tc }}">{{ p.label }}</span><span style="font-size:12px;color:#616161">{{ p.sub }}</span></div></div></sc-for></div>
<div style="display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start"><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden;box-shadow:0 0 0 2px #0f766e,0 1px 2px rgba(0,0,0,.06)"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Verify this action</span><span style="font-size:12px;color:#616161">You are verifying as Nadia Hassan · HSE</span></div><div style="padding:20px;display:flex;flex-direction:column;gap:16px"><div style="display:grid;grid-template-columns:1fr 1fr;gap:10px"><div style="display:flex;gap:12px;padding:14px;border-radius:10px;box-shadow:inset 0 0 0 2px #0f766e;background:#f2f7f6;cursor:pointer"><span style="width:18px;height:18px;border-radius:999px;background:#0f766e;flex:none;margin-top:1px;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px #0f766e"></span><div style="display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:600">Verified — effective</span><span style="font-size:12px;color:#616161">Root cause addressed. A 30-day effectiveness recheck is scheduled automatically.</span></div></div><div style="display:flex;gap:12px;padding:14px;border-radius:10px;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer"><span style="width:18px;height:18px;border-radius:999px;box-shadow:inset 0 0 0 1.5px #8a8a8a;flex:none;margin-top:1px"></span><div style="display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:600">Reopen — ineffective</span><span style="font-size:12px;color:#616161">Returns to the owner with a required reason and a new due date.</span></div></div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Verification note <span style="color:#8a8a8a;font-weight:400">optional</span></span><div style="min-height:88px;padding:10px 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:13px;line-height:1.5;color:#1f1f1f;text-wrap:pretty;min-height:64px;color:#8a8a8a">Walked the ramp on 28 Sep, coating intact, slip test passed…</div></div><div style="display:flex;align-items:center;justify-content:space-between"><span style="font-size:12px;color:#616161">Recheck date will be set to 28 Oct 2026 (round 1 of 2).</span><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">Ask owner a question</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.tick12 }}Confirm verification</span></div></div></div></div><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Completion report</span><span style="font-size:12px;color:#616161">Submitted by Tan Mei Ling · 27 Sep 2026, 16:05</span></div><div style="padding:20px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px"><div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:12px;color:#616161">Owner notes</span><span style="font-size:13px;line-height:1.55;text-wrap:pretty">Ramp ground back and two coats of aggregate anti-slip epoxy applied by contractor on 26 Sep. Cured 24 h, bay reopened 27 Sep 08:00. Wet-slip test with the drum trolley passed. Yellow edge marking repainted at the same time.</span></div><div style="display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px"><div style="display:flex;flex-direction:column;gap:2px"><span style="font-size:12px;color:#616161">Completed</span><span style="font-size:13px">27 Sep 2026</span></div><div style="display:flex;flex-direction:column;gap:2px"><span style="font-size:12px;color:#616161">Due</span><span style="font-size:13px">12 Sep 2026 <span style="color:#b3261e">· 15 days late</span></span></div><div style="display:flex;flex-direction:column;gap:2px"><span style="font-size:12px;color:#616161">Cost</span><span style="font-size:13px">RM 4,200 · contractor</span></div></div></div><div style="display:flex;flex-direction:column;gap:8px"><span style="font-size:12px;color:#616161">Evidence · 3 files</span><div style="display:grid;grid-template-columns:1fr 1fr;gap:6px"><div style="aspect-ratio:4/3;border-radius:8px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a">{{ ic.img24 }}</div><div style="aspect-ratio:4/3;border-radius:8px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a">{{ ic.img24 }}</div></div><div style="display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #e3e3e3;font-size:12.5px"><span style="color:#4a4a4a">{{ ic.file }}</span><span style="flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis">Contractor_completion_cert.pdf</span><span style="font-size:12px;color:#616161">340 KB</span></div></div></div></div><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Activity</span></div><div style="padding:8px 20px 16px"><sc-for list="{{ capaLog }}" as="g" hint-placeholder-count="5"><div style="display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px"><div style="display:flex;flex-direction:column;align-items:center"><span style="width:24px;height:24px;border-radius:7px;background:{{ g.avBg }};color:{{ g.avFg }};font-size:10px;font-weight:650;display:grid;place-items:center;margin-top:10px">{{ g.ini }}</span><span style="width:2px;flex:1;background:{{ g.line }};margin-top:6px"></span></div><div style="padding:10px 0 14px;display:flex;flex-direction:column;gap:3px"><div style="font-size:13px"><b style="font-weight:600">{{ g.who }}</b> {{ g.what }}</div><sc-if value="{{ g.note }}"><div style="font-size:13px;color:#303030;padding:8px 10px;border-radius:8px;background:#f7f7f7;line-height:1.5">{{ g.note }}</div></sc-if><span style="font-size:12px;color:#616161">{{ g.when }}</span></div></div></sc-for><div style="display:flex;align-items:center;gap:8px;margin-top:4px"><span style="width:24px;height:24px;border-radius:7px;background:#c5e8e0;color:#0b4f47;font-size:10px;font-weight:650;display:grid;place-items:center">NH</span><div style="flex:1;height:36px;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;display:flex;align-items:center;color:#8a8a8a;font-size:13px">Add a comment for the owner…</div></div></div></div></div><div style="display:flex;flex-direction:column;gap:16px"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Details</span></div><div style="padding:8px 16px 12px;display:flex;flex-direction:column;font-size:12.5px"><div style="display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#616161">Owner</span><span style="display:flex;align-items:center;gap:6px"><span style="width:24px;height:24px;border-radius:7px;background:#f5d9d9;color:#8e1f0b;font-size:10.5px;font-weight:650;display:grid;place-items:center">TM</span>Tan Mei Ling</span></div><div style="display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#616161">Department</span><span>Facilities</span></div><div style="display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#616161">Priority</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fff1c2;color:#6b4a00">Medium</span></div><div style="display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#616161">Created</span><span>22 Aug 2026 · Rajesh Pillai</span></div><div style="display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#616161">Due</span><span>12 Sep 2026</span></div><div style="display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f0f0f0"><span style="color:#616161">Completed</span><span>27 Sep 2026</span></div><div style="display:flex;justify-content:space-between;padding:8px 0"><span style="color:#616161">Verifier</span><span style="display:flex;align-items:center;gap:6px"><span style="width:24px;height:24px;border-radius:7px;background:#c5e8e0;color:#0b4f47;font-size:10.5px;font-weight:650;display:grid;place-items:center">NH</span>Nadia Hassan</span></div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Effectiveness recheck</span></div><div style="padding:16px;display:flex;flex-direction:column;gap:10px"><div style="display:flex;align-items:center;gap:10px"><span style="width:32px;height:32px;border-radius:9px;background:#f1f1f1;display:grid;place-items:center;color:#4a4a4a">{{ ic.calendar }}</span><div style="display:flex;flex-direction:column;gap:1px"><span style="font-size:13px;font-weight:600">Round 1 · 28 Oct 2026</span><span style="font-size:12px;color:#616161">Scheduled on verification · 30 days</span></div></div><div style="font-size:12.5px;color:#4a4a4a;line-height:1.5;text-wrap:pretty">HSE re-inspects the ramp and checks for repeat incidents in Loading Bay 1. A second round follows at 90 days if the first passes.</div></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #ebebeb"><span style="font-size:14px;font-weight:600">Related actions on this incident</span></div><div style="display:flex;flex-direction:column"><div style="display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #f0f0f0;cursor:pointer"><span style="width:8px;height:8px;border-radius:99px;background:#0c5132;flex:none"></span><span style="flex:1;font-size:12.5px;line-height:1.4">Toolbox talk on ramp speed for all Bay 1 operators</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#d7f4e3;color:#0c5132">Verified</span></div><div style="display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer"><span style="width:8px;height:8px;border-radius:99px;background:#2b7fd0;flex:none"></span><span style="flex:1;font-size:12.5px;line-height:1.4">Add ramp gradient signage and floor arrows</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#e0efff;color:#00527c">In progress</span></div></div></div></div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">05</span><span style="font-size:15px;font-weight:600">Admin · users</span></div><div data-screen-label="05 Admin · users" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.admin.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.admin.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.admin.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.admin.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;flex-direction:column;gap:4px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Admin</h1><span style="font-size:13px;color:#616161">Manage users, sites, zones, and trucks</span></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.upload }}Bulk import incidents</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}Invite user</span></div></div>
<div style="display:flex;gap:24px;border-bottom:1px solid #dcdcdc;font-size:13px"><span style="padding:8px 0;font-weight:600;box-shadow:inset 0 -2px 0 #1f1f1f">Users <span style="color:#8a8a8a;font-weight:500">24</span></span><span style="padding:8px 0;color:#4a4a4a">Sites &amp; zones <span style="color:#8a8a8a">3 · 26</span></span><span style="padding:8px 0;color:#4a4a4a">Trucks <span style="color:#8a8a8a">18</span></span></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden">
<div style="display:flex;align-items:center;justify-content:space-between;padding:8px;border-bottom:1px solid #ebebeb"><div style="display:flex;gap:2px;align-items:center"><sc-for list="{{ userTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for><div style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.plus }}</div></div><div style="display:flex;gap:6px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.search }}{{ ic.filter }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.sort }}</span></div></div>
<div style="display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;color:#616161;font-size:13px;min-width:300px">{{ ic.search }}<span>Search name or email</span></div><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Role{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Site{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Department{{ ic.chev12 }}</span></div>
<table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:28px;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;color:#1f1f1f"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Name{{ ic.down12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Role<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Department<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Site<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Status<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:100px"></th></tr></thead>
<tbody><sc-for list="{{ users }}" as="u" hint-placeholder-count="8"><tr style="background:{{ u.bg }};cursor:pointer">
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:10px"><span style="width:32px;height:32px;border-radius:9px;background:{{ u.avBg }};color:{{ u.avFg }};font-size:12px;font-weight:650;display:grid;place-items:center">{{ u.ini }}</span><div><div style="font-weight:550">{{ u.name }}</div><div style="font-size:12px;color:#616161">{{ u.email }}</div></div></div></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#ebebeb;color:#303030">{{ u.role }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#4a4a4a">{{ u.dept }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#4a4a4a">{{ u.site }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ u.st.bg }};color:{{ u.st.fg }}">{{ u.st.label }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-right:12px"><sc-if value="{{ u.hover }}"><div style="display:flex;gap:4px;justify-content:flex-end"><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.pencil }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.key }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.more }}</span></div></sc-if></td>
</tr></sc-for></tbody></table>
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>Showing 1–8 of 24 users</span><div style="display:flex;align-items:center;gap:12px"><span>Page 1 of 3</span><div style="display:flex"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:8px 0 0 8px;color:#b5b5b5">{{ ic.chevLeft }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:0 8px 8px 0;margin-left:-1px">{{ ic.chevRight }}</span></div></div></div>
</div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">05b</span><span style="font-size:15px;font-weight:600">Admin · sites & zones</span></div><div data-screen-label="05b Admin · sites & zones" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.admin.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.admin.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.admin.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.admin.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;flex-direction:column;gap:4px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Admin</h1><div style="font-size:13px;color:#616161">Manage users, sites, zones, and trucks</div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}Add site</span></div></div>
<div style="display:flex;gap:24px;border-bottom:1px solid #dcdcdc;font-size:13px"><span style="padding:8px 0;color:#616161;cursor:pointer">Users <span style="color:#a3a3a3">24</span></span><span style="padding:8px 0;font-weight:600;box-shadow:inset 0 -2px 0 #1f1f1f">Sites &amp; zones <span style="color:#8a8a8a;font-weight:500">3 · 26</span></span><span style="padding:8px 0;color:#616161;cursor:pointer">Trucks <span style="color:#a3a3a3">18</span></span></div>
<div style="display:grid;grid-template-columns:340px minmax(0,1fr);gap:16px;align-items:start"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden;display:flex;flex-direction:column"><div style="padding:12px 12px 8px;display:flex;align-items:center;gap:8px"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;color:#616161;font-size:13px;flex:1">{{ ic.search }}<span>Search sites</span></div></div><sc-for list="{{ sites }}" as="s" hint-placeholder-count="3"><div style="display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid #ebebeb;background:{{ s.bg }};box-shadow:{{ s.sh }};cursor:pointer"><span style="width:32px;height:32px;border-radius:9px;background:{{ s.tileBg }};color:{{ s.tileFg }};font-size:11px;font-weight:650;display:grid;place-items:center;font-family:'Geist Mono',monospace">{{ s.code }}</span><div style="flex:1;min-width:0;display:flex;flex-direction:column;gap:2px"><span style="font-size:13px;font-weight:{{ s.fw }}">{{ s.name }}</span><span style="font-size:12px;color:#616161;white-space:nowrap;overflow:hidden;text-overflow:ellipsis">{{ s.region }} · {{ s.zones }} zones · {{ s.users }} users</span></div><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ s.st.bg }};color:{{ s.st.fg }}">{{ s.st.label }}</span></div></sc-for><div style="display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid #ebebeb;color:#4a4a4a;font-size:13px;font-weight:550;cursor:pointer">{{ ic.plus }}Add site</div></div><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #ebebeb"><div style="display:flex;flex-direction:column;gap:6px"><div style="display:flex;align-items:center;gap:10px"><span style="font-size:16px;font-weight:650;letter-spacing:-.01em">Shah Alam DC</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#d7f4e3;color:#0c5132">Active</span></div><div style="font-size:13px;color:#616161">Lot 12, Jalan Perusahaan 3, Seksyen 23, 40300 Shah Alam, Selangor · Central region</div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.edit }}Edit site</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.more }}</span></div></div><div style="display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb"><div style="display:flex;align-items:center;gap:8px"><span style="font-size:13px;font-weight:600;padding:0 4px">Zones <span style="color:#8a8a8a;font-weight:500">9</span></span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Status: Active{{ ic.chev12 }}</span></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.qr }}Print all QR</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.plus }}Add zone</span></div></div><table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:28px;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Zone<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">QR code<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Incidents · 12 mo<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Status<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:100px"></th></tr></thead><tbody><sc-for list="{{ zoneRows }}" as="z" hint-placeholder-count="8"><tr style="background:{{ z.bg }};cursor:pointer"><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;font-weight:500">{{ z.name }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:8px"><span style="width:24px;height:24px;border-radius:6px;background:#f1f1f1;box-shadow:inset 0 0 0 1px #dcdcdc;display:grid;place-items:center;color:#4a4a4a">{{ ic.qr }}</span><span style="font-family:'Geist Mono',monospace;font-size:12px;color:#616161">{{ z.token }}</span><span style="font-size:12px;color:#8a8a8a">{{ z.scans }}</span></div></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:10px"><span style="width:80px;height:6px;border-radius:99px;background:#ebebeb;overflow:hidden;display:block"><span style="display:block;height:100%;width:{{ z.w }};background:{{ z.barC }};border-radius:99px"></span></span><span style="font-size:13px;font-variant-numeric:tabular-nums">{{ z.n }}</span></div></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ z.st.bg }};color:{{ z.st.fg }}">{{ z.st.label }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-right:12px"><sc-if value="{{ z.hover }}"><div style="display:flex;gap:4px;justify-content:flex-end"><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.download }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.edit }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.more }}</span></div></sc-if></td></tr></sc-for></tbody></table><div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>9 zones · 1 inactive hidden</span><span style="color:#0f766e;font-weight:550;cursor:pointer">Show inactive</span></div></div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">05c</span><span style="font-size:15px;font-weight:600">Admin · trucks</span></div><div data-screen-label="05c Admin · trucks" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.admin.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.admin.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.admin.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.admin.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;flex-direction:column;gap:4px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Admin</h1><div style="font-size:13px;color:#616161">Manage users, sites, zones, and trucks</div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}Add truck</span></div></div>
<div style="display:flex;gap:24px;border-bottom:1px solid #dcdcdc;font-size:13px"><span style="padding:8px 0;color:#616161;cursor:pointer">Users <span style="color:#a3a3a3">24</span></span><span style="padding:8px 0;color:#616161;cursor:pointer">Sites &amp; zones <span style="color:#a3a3a3">3 · 26</span></span><span style="padding:8px 0;font-weight:600;box-shadow:inset 0 -2px 0 #1f1f1f">Trucks <span style="color:#8a8a8a;font-weight:500">18</span></span></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden;position:relative"><div style="display:flex;align-items:center;justify-content:space-between;padding:8px;border-bottom:1px solid #ebebeb"><div style="display:flex;gap:2px;align-items:center"><sc-for list="{{ truckTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for><div style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.plus }}</div></div><div style="display:flex;gap:6px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.search }}{{ ic.filter }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.sort }}</span></div></div>
<div style="display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;color:#616161;font-size:13px;min-width:300px">{{ ic.search }}<span>Search truck number or carrier</span></div><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Carrier{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Status{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Last incident{{ ic.chev12 }}</span></div>
<table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:28px;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Truck no.<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Carrier<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Incidents<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Last incident<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Added<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Status<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:100px"></th></tr></thead><tbody><sc-for list="{{ trucks }}" as="k" hint-placeholder-count="8"><tr style="background:{{ k.bg }};cursor:pointer"><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><span style="width:16px;height:16px;border-radius:5px;box-shadow:inset 0 0 0 1.5px #8a8a8a;background:#fff;display:block"></span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:10px"><span style="width:28px;height:28px;border-radius:8px;background:#f1f1f1;box-shadow:inset 0 0 0 1px #dcdcdc;display:grid;place-items:center;color:#4a4a4a">{{ ic.truck }}</span><span style="font-family:'Geist Mono',monospace;font-size:13px;font-weight:550">{{ k.no }}</span></div></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#303030">{{ k.carrier }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;font-variant-numeric:tabular-nums">{{ k.n }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;white-space:nowrap"><sc-if value="{{ k.last }}"><a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">{{ k.last }}</a><span style="font-size:12px;color:#616161;margin-left:8px">{{ k.lastDate }}</span></sc-if><sc-if value="{{ k.noLast }}"><span style="color:#a3a3a3">—</span></sc-if></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#616161;white-space:nowrap">{{ k.added }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ k.st.bg }};color:{{ k.st.fg }}">{{ k.st.label }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-right:12px"><sc-if value="{{ k.hover }}"><div style="display:flex;gap:4px;justify-content:flex-end"><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.list }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.edit }}</span><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.more }}</span></div></sc-if></td></tr></sc-for></tbody></table>
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>Showing 1–8 of 18 trucks</span><div style="display:flex;align-items:center;gap:12px"><span>Page 1 of 3</span><div style="display:flex"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:8px 0 0 8px;color:#b5b5b5">{{ ic.chevLeft }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:0 8px 8px 0;margin-left:-1px">{{ ic.chevRight }}</span></div></div></div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">05d</span><span style="font-size:15px;font-weight:600">Admin · audit log</span></div><div data-screen-label="05d Admin · audit log" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.admin.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.admin.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.admin.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.admin.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:16px"><div style="display:flex;flex-direction:column;gap:4px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Admin</h1><div style="font-size:13px;color:#616161">Manage users, sites, zones, and trucks</div></div><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}Add truck</span></div></div>
<div style="display:flex;gap:24px;border-bottom:1px solid #dcdcdc;font-size:13px"><span style="padding:8px 0;color:#616161;cursor:pointer">Users <span style="color:#a3a3a3">24</span></span><span style="padding:8px 0;color:#616161;cursor:pointer">Sites &amp; zones <span style="color:#a3a3a3">3 · 26</span></span><span style="padding:8px 0;color:#616161;cursor:pointer">Trucks <span style="color:#a3a3a3">18</span></span><span style="padding:8px 0;font-weight:600;box-shadow:inset 0 -2px 0 #1f1f1f">Audit log</span></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb"><div style="display:flex;align-items:center;gap:8px"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;color:#616161;font-size:13px;min-width:280px">{{ ic.search }}<span>Search record, user or field</span></div><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Table{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Action{{ ic.chev12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap;background:#e6f4f1;box-shadow:inset 0 0 0 1px #9fd3c7;color:#0b4f47">User: Nadia Hassan{{ ic.x12 }}</span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Last 7 days{{ ic.chev12 }}</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.download }}Export CSV</span></div>
<table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">When<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">User<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Action<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Record<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap">Change</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:40px"></th></tr></thead><tbody><sc-for list="{{ auditRows }}" as="a" hint-placeholder-count="9"><tr style="background:{{ a.bg }};cursor:pointer"><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;white-space:nowrap;color:#616161;font-variant-numeric:tabular-nums;padding-left:16px">{{ a.when }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><div style="display:flex;align-items:center;gap:8px;white-space:nowrap"><span style="width:24px;height:24px;border-radius:7px;background:{{ a.avBg }};color:{{ a.avFg }};font-size:10.5px;font-weight:650;display:grid;place-items:center">{{ a.ini }}</span>{{ a.who }}</div></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ a.act.bg }};color:{{ a.act.fg }}">{{ a.act.label }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;white-space:nowrap"><span style="color:#616161">{{ a.table }}</span> <a href="#" style="font-family:'Geist Mono',monospace;font-size:12.5px">{{ a.rec }}</a></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#303030">{{ a.summary }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#8a8a8a">{{ a.chev }}</td></tr><sc-if value="{{ a.open }}"><tr><td colspan="6" style="padding:0 16px 16px;border-bottom:1px solid #ebebeb;background:#f7f7f7"><div style="display:grid;grid-template-columns:1fr 1fr;gap:12px"><div style="background:#fff;border-radius:10px;box-shadow:inset 0 0 0 1px #e3e3e3;overflow:hidden"><div style="padding:8px 12px;font-size:11.5px;font-weight:600;color:#8a8a8a;letter-spacing:.04em;text-transform:uppercase;border-bottom:1px solid #ebebeb">Before</div><sc-for list="{{ a.diff }}" as="d" hint-placeholder-count="3"><div style="display:grid;grid-template-columns:150px 1fr;gap:12px;padding:8px 12px;font-size:12.5px;border-bottom:1px solid #f0f0f0"><span style="font-family:'Geist Mono',monospace;color:#616161">{{ d.k }}</span><span style="background:{{ d.oldBg }};border-radius:4px;padding:0 4px;align-self:start">{{ d.old }}</span></div></sc-for></div><div style="background:#fff;border-radius:10px;box-shadow:inset 0 0 0 1px #e3e3e3;overflow:hidden"><div style="padding:8px 12px;font-size:11.5px;font-weight:600;color:#8a8a8a;letter-spacing:.04em;text-transform:uppercase;border-bottom:1px solid #ebebeb">After</div><sc-for list="{{ a.diff }}" as="d" hint-placeholder-count="3"><div style="display:grid;grid-template-columns:150px 1fr;gap:12px;padding:8px 12px;font-size:12.5px;border-bottom:1px solid #f0f0f0"><span style="font-family:'Geist Mono',monospace;color:#616161">{{ d.k }}</span><span style="background:{{ d.newBg }};border-radius:4px;padding:0 4px;align-self:start">{{ d.new }}</span></div></sc-for></div></div></td></tr></sc-if></sc-for></tbody></table>
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>Showing 1–9 of 143 entries</span><div style="display:flex;align-items:center;gap:12px"><span>Page 1 of 16</span><div style="display:flex"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:8px 0 0 8px;color:#b5b5b5">{{ ic.chevLeft }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:0 8px 8px 0;margin-left:-1px">{{ ic.chevRight }}</span></div></div></div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">06</span><span style="font-size:15px;font-weight:600">Settings · API keys</span></div><div data-screen-label="06 Settings · API keys" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.settings.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.settings.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.settings.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.settings.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">Settings</h1>
<div style="display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:start;padding-top:8px">
<div style="display:flex;flex-direction:column;gap:6px;padding-top:4px"><div style="font-size:14px;font-weight:650">API keys</div><div style="font-size:13px;line-height:1.5;color:#4a4a4a">API keys are stored securely in the database. Leave blank to use environment variables.</div></div>
<div style="display:flex;flex-direction:column;gap:16px">
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;padding-left:16px">Service</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap">Stored value</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap">Status</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap">Updated</th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;width:80px"></th></tr></thead><tbody><sc-for list="{{ keys }}" as="k" hint-placeholder-count="5"><tr style="background:{{ k.bg }}"><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><div style="font-weight:550">{{ k.name }}</div><div style="font-size:12px;color:#616161">{{ k.use }}</div></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="font-family:'Geist Mono',monospace;font-size:12px;color:#4a4a4a">{{ k.val }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ k.st.bg }};color:{{ k.st.fg }}">{{ k.st.label }}</span></td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#616161">{{ k.upd }}</td><td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;text-align:right;padding-right:16px"><a href="#" style="font-weight:550">Edit</a></td></tr></sc-for></tbody></table></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:20px;display:flex;flex-direction:column;gap:14px"><div style="display:flex;justify-content:space-between;align-items:center"><div style="font-size:14px;font-weight:650">Edit Resend API key</div><span style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.x }}</span></div>
<div style="display:flex;flex-direction:column;gap:6px"><label style="font-size:13px;font-weight:550">API key</label><div style="height:34px;border-radius:8px;box-shadow:inset 0 0 0 1px #0f766e,0 0 0 3px #d5ece8;background:#fff;display:flex;align-items:center;padding:0 12px;font-family:'Geist Mono',monospace;font-size:13px;color:#1f1f1f">re_7Hk2<span style="width:1px;height:16px;background:#1f1f1f;margin-left:1px"></span></div><span style="font-size:12px;color:#616161">Currently falling back to RESEND_API_KEY from the server environment.</span></div>
<div style="display:flex;gap:8px;justify-content:flex-end;padding-top:14px;border-top:1px solid #ebebeb"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">Cancel</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">Save key</span></div></div>
</div></div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">07</span><span style="font-size:15px;font-weight:600">Reporter · My reports</span></div><div data-screen-label="07 Reporter · My reports" style="width:1440px;border-radius:14px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="height:56px;background:#1a1a1a;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;gap:16px"><div style="display:flex;align-items:center;gap:10px;width:224px"><span style="width:28px;height:28px;border-radius:8px;background:#0f766e;color:#fff;display:grid;place-items:center">{{ ic.shield }}</span><span style="color:#fff;font-weight:650;font-size:15px;letter-spacing:-.01em">IMS</span><span style="color:#a3a3a3;font-size:13px">Setia HSE</span></div><div style="flex:1;max-width:520px;height:34px;border-radius:10px;background:#303030;box-shadow:inset 0 0 0 1px #3d3d3d;display:flex;align-items:center;gap:8px;padding:0 10px;color:#a3a3a3;font-size:13px">{{ ic.search }}<span style="flex:1">Search incidents, CAPAs, people</span><span style="display:flex;gap:3px"><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">⌘</span><span style="font:500 11px 'Geist Mono',monospace;padding:1px 5px;border-radius:5px;background:#404040;color:#d4d4d4">K</span></span></div><div style="display:flex;align-items:center;gap:8px;width:224px;justify-content:flex-end"><span style="position:relative;width:32px;height:32px;border-radius:8px;background:#303030;color:#e3e3e3;display:grid;place-items:center">{{ ic.bell }}<span style="position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:9px;background:#e5484d;box-shadow:0 0 0 2px #303030"></span></span><div style="display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:8px;background:#303030"><span style="width:24px;height:24px;border-radius:6px;background:#c5e8e0;color:#0b4f47;font-size:11px;font-weight:650;display:grid;place-items:center">{{ nv.reporter.ini }}</span><span style="color:#e3e3e3;font-size:13px">{{ nv.reporter.name }}</span></div></div></div><div style="display:flex;min-height:900px"><aside style="width:240px;flex:none;background:#ebebeb;padding:12px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #e0e0e0"><sc-for list="{{ nv.reporter.items }}" as="n" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ n.fw }};background:{{ n.bg }};color:{{ n.fg }};box-shadow:{{ n.sh }};cursor:pointer"><span style="color:{{ n.ic }}">{{ n.icon }}</span><span style="flex:1">{{ n.label }}</span><sc-if value="{{ n.badge }}"><span style="font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#dcdcdc;color:#303030">{{ n.badge }}</span></sc-if></div></sc-for><div style="flex:1"></div><div style="border-top:1px solid #dcdcdc;padding-top:10px;display:flex;flex-direction:column;gap:2px"><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.user }}</span>Account</div><div style="display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:8px;font-size:13px;color:#3d3d3d"><span style="color:#6b6b6b">{{ ic.logout }}</span>Logout</div><div style="font-size:11px;color:#8a8a8a;padding:8px 10px 0">v1.2.0 · {{ nv.reporter.role }}</div></div></aside><main style="flex:1;min-width:0;padding:24px 32px 48px;display:flex;flex-direction:column;gap:16px">
<div style="display:flex;align-items:center;justify-content:space-between;gap:16px"><h1 style="margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em">My reports</h1><div style="display:flex;gap:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">{{ ic.qr }}Scan zone QR</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}Report incident</span></div></div>
<div style="display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:12px;background:#e0efff;box-shadow:inset 0 0 0 1px #b9d8f5;color:#00527c;font-size:13px"><span>{{ ic.wifiOff }}</span><span style="flex:1"><strong>1 report saved offline.</strong> It will sync automatically when you are back online.</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;height:28px">Sync now</span></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden">
<div style="display:flex;align-items:center;justify-content:space-between;padding:8px;border-bottom:1px solid #ebebeb"><div style="display:flex;gap:2px;align-items:center"><sc-for list="{{ repTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for><div style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.plus }}</div></div><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 8px">{{ ic.search }}</span></div>
<table><thead><tr><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reference<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Type<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Site · Zone<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Status<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap;color:#1f1f1f"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Reported{{ ic.down12 }}</span></th><th style="padding:9px 12px;font-size:12px;font-weight:550;color:#616161;text-align:left;background:#f7f7f7;border-bottom:1px solid #e3e3e3;white-space:nowrap"><span style="display:inline-flex;align-items:center;gap:4px;cursor:pointer">Latest update<span style="color:#c4c4c4">{{ ic.sort12 }}</span></span></th></tr></thead>
<tbody><sc-for list="{{ reports }}" as="r" hint-placeholder-count="5"><tr style="cursor:pointer">
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;padding-left:16px"><span style="font-family:'Geist Mono',monospace;font-size:12.5px;font-weight:500">{{ r.ref }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle">{{ r.type }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle">{{ r.site }} · <span style="color:#616161">{{ r.zone }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.st.bg }};color:{{ r.st.fg }}">{{ r.st.label }}</span></td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#616161">{{ r.date }}</td>
<td style="padding:12px;font-size:13px;border-bottom:1px solid #ebebeb;vertical-align:middle;color:#4a4a4a">{{ r.note }}</td>
</tr></sc-for></tbody></table>
<div style="display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#f7f7f7;font-size:13px;color:#616161"><span>Showing 5 of 5 reports</span><div style="display:flex;align-items:center;gap:12px"><span>Page 1 of 1</span><div style="display:flex"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:8px 0 0 8px;color:#b5b5b5">{{ ic.chevLeft }}</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;padding:0 7px;border-radius:0 8px 8px 0;margin-left:-1px">{{ ic.chevRight }}</span></div></div></div>
</div>
</main></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">08</span><span style="font-size:15px;font-weight:600">Empty state · no matching incidents</span></div>
<div data-screen-label="08 Empty state" style="width:1120px;padding:32px;border-radius:14px;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.1)"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden">
<div style="display:flex;align-items:center;justify-content:space-between;padding:8px;border-bottom:1px solid #ebebeb"><div style="display:flex;gap:2px;align-items:center"><sc-for list="{{ emptyTabs }}" as="t" hint-placeholder-count="4"><div style="display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:{{ t.fw }};background:{{ t.bg }};color:{{ t.fg }};cursor:pointer"><span>{{ t.label }}</span><span style="font-size:12px;color:#8a8a8a;font-weight:500">{{ t.count }}</span></div></sc-for><div style="width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#4a4a4a;cursor:pointer">{{ ic.plus }}</div></div></div>
<div style="display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #ebebeb"><div style="display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border-radius:8px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;color:#1f1f1f;font-size:13px;min-width:280px">{{ ic.search }}<span>forklift battery</span></div><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 6px 0 10px;border-radius:8px;font-size:12.5px;color:#1f1f1f;background:#e3e3e3;font-weight:500;white-space:nowrap">Type is Fire / Emergency<span style="width:18px;height:18px;border-radius:5px;display:grid;place-items:center;color:#4a4a4a">{{ ic.x12 }}</span></span><span style="display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 6px 0 10px;border-radius:8px;font-size:12.5px;color:#1f1f1f;background:#e3e3e3;font-weight:500;white-space:nowrap">Site is Port Klang Hub<span style="width:18px;height:18px;border-radius:5px;display:grid;place-items:center;color:#4a4a4a">{{ ic.x12 }}</span></span><span style="display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:8px;font-size:12.5px;color:#303030;box-shadow:inset 0 0 0 1px #d4d4d4;background:#fff;cursor:pointer;white-space:nowrap">Severity{{ ic.chev12 }}</span><span style="font-size:12.5px;color:#0f766e;font-weight:550">Clear all</span></div>
<div style="padding:72px 24px 80px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center"><span style="width:64px;height:64px;border-radius:20px;background:#ebebeb;color:#8a8a8a;display:grid;place-items:center">{{ ic.big }}</span><div style="font-size:16px;font-weight:650;margin-top:6px">No incidents match these filters</div><div style="font-size:13px;color:#616161;max-width:360px;line-height:1.5">Try a different search term, or remove a filter to widen the results.</div><div style="display:flex;gap:8px;margin-top:8px"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap">Clear filters</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap">{{ ic.plus }}New incident</span></div></div>
</div></div></div>
</section>
<section id="mobile" style="padding:8px 64px 96px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start">
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">09</span><span style="font-size:15px;font-weight:600">Mobile · Reporter home</span></div><div data-screen-label="09 Mobile · Reporter home" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="padding:8px 16px 12px;display:flex;justify-content:space-between;align-items:center"><div style="font-size:22px;font-weight:650;letter-spacing:-.02em">My reports</div><span style="width:34px;height:34px;border-radius:10px;background:#c5e8e0;color:#0b4f47;font-size:12px;font-weight:650;display:grid;place-items:center">AR</span></div>
<div style="padding:0 16px;display:flex;flex-direction:column;gap:12px;flex:1">
<span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap;height:48px;border-radius:12px;font-size:15px;padding:0 16px">{{ ic.plus }}Report incident</span>
<div style="display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:#e0efff;color:#00527c;font-size:12.5px">{{ ic.wifiOff }}<span style="flex:1">1 report waiting to sync</span><span style="font-weight:600">Sync</span></div>
<div style="display:flex;gap:6px"><span style="padding:6px 12px;border-radius:999px;background:#303030;color:#fff;font-size:13px;font-weight:550">All 5</span><span style="padding:6px 12px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #d4d4d4;font-size:13px">Open 3</span><span style="padding:6px 12px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px #d4d4d4;font-size:13px">Closed 1</span></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><sc-for list="{{ reports }}" as="r" hint-placeholder-count="5"><div style="display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #ebebeb;min-height:44px"><div style="flex:1;min-width:0;display:flex;flex-direction:column;gap:3px"><div style="display:flex;justify-content:space-between;gap:8px"><span style="font-family:'Geist Mono',monospace;font-size:12.5px;font-weight:500">{{ r.ref }}</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.st.bg }};color:{{ r.st.fg }}">{{ r.st.label }}</span></div><div style="font-size:13px;color:#303030">{{ r.type }} · {{ r.zone }}</div><div style="font-size:12px;color:#616161">{{ r.date }}</div></div><span style="color:#b5b5b5">{{ ic.chevRight }}</span></div></sc-for></div>
</div>
<div style="display:flex;background:#fff;border-top:1px solid #e3e3e3;padding-bottom:18px"><div style="flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#0f766e;font-size:10.5px;font-weight:600">{{ ic.m.list }}My Reports</div><div style="flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#8a8a8a;font-size:10.5px;font-weight:500">{{ ic.m.plus }}New Incident</div><div style="flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#8a8a8a;font-size:10.5px;font-weight:500">{{ ic.m.logout }}Logout</div></div>
</div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">10</span><span style="font-size:15px;font-weight:600">Mobile · HSE incidents</span></div><div data-screen-label="10 Mobile · HSE incidents" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="padding:8px 16px 12px;display:flex;justify-content:space-between;align-items:center"><div style="font-size:22px;font-weight:650;letter-spacing:-.02em">Incidents</div><div style="display:flex;gap:6px"><span style="width:40px;height:40px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #d4d4d4;display:grid;place-items:center">{{ ic.search }}</span><span style="width:40px;height:40px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #d4d4d4;display:grid;place-items:center">{{ ic.filter }}</span></div></div>
<div style="padding:0 16px;display:flex;flex-direction:column;gap:12px;flex:1;overflow:hidden">
<div style="display:flex;gap:6px"><sc-for list="{{ mTabs }}" as="t" hint-placeholder-count="4"><span style="padding:6px 12px;border-radius:999px;background:{{ t.bg }};color:{{ t.fg }};font-weight:{{ t.fw }};font-size:13px;white-space:nowrap;box-shadow:inset 0 0 0 1px #d4d4d4">{{ t.label }} <span style="color:#8a8a8a">{{ t.count }}</span></span></sc-for></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><sc-for list="{{ mobileInc }}" as="r" hint-placeholder-count="6"><div style="display:flex;gap:10px;padding:12px 14px;border-bottom:1px solid #ebebeb"><div style="flex:1;min-width:0;display:flex;flex-direction:column;gap:4px"><div style="display:flex;justify-content:space-between;align-items:center;gap:8px"><span style="font-family:'Geist Mono',monospace;font-size:12.5px;font-weight:500">{{ r.ref }}</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:{{ r.st.bg }};color:{{ r.st.fg }}">{{ r.st.label }}</span></div><div style="font-size:13px">{{ r.type }}</div><div style="display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#616161"><span>{{ r.site }} · {{ r.zone }}</span><span style="display:flex;gap:2px"><sc-for list="{{ r.bars }}" as="b"><span style="width:3px;height:10px;border-radius:2px;background:{{ b.c }}"></span></sc-for></span></div></div></div></sc-for></div>
</div>
<div style="display:flex;background:#fff;border-top:1px solid #e3e3e3;padding-bottom:18px"><div style="flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#8a8a8a;font-size:10.5px;font-weight:500">{{ ic.m.chart }}Dashboard</div><div style="flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#0f766e;font-size:10.5px;font-weight:600">{{ ic.m.list }}Incidents</div><div style="flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#8a8a8a;font-size:10.5px;font-weight:500">{{ ic.m.check }}CAPA</div><div style="flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:#8a8a8a;font-size:10.5px;font-weight:500">{{ ic.m.settings }}Settings</div></div>
</div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">11</span><span style="font-size:15px;font-weight:600">Mobile · Incident detail</span></div><div data-screen-label="11 Mobile · Incident detail" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="padding:4px 12px 12px;display:flex;align-items:center;gap:8px"><span style="width:40px;height:40px;border-radius:10px;display:grid;place-items:center">{{ ic.arrowLeft }}</span><span style="font-family:'Geist Mono',monospace;font-size:15px;font-weight:600;flex:1">IMS-2026-0247</span><span style="width:40px;height:40px;border-radius:10px;display:grid;place-items:center">{{ ic.more }}</span></div>
<div style="padding:0 16px;display:flex;flex-direction:column;gap:12px;flex:1;overflow:hidden">
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:14px;display:flex;flex-direction:column;gap:10px"><div style="display:flex;gap:6px"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#e0efff;color:#00527c">Triaged</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">DOSH reportable</span></div><div style="font-size:12px;color:#616161">Step 2 of 6 · next: Investigation</div><div style="display:grid;grid-template-columns:repeat(6,1fr);gap:4px"><span style="height:5px;border-radius:9px;background:#0f766e"></span><span style="height:5px;border-radius:9px;background:#0f766e"></span><span style="height:5px;border-radius:9px;background:#e3e3e3"></span><span style="height:5px;border-radius:9px;background:#e3e3e3"></span><span style="height:5px;border-radius:9px;background:#e3e3e3"></span><span style="height:5px;border-radius:9px;background:#e3e3e3"></span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;gap:8px;align-items:center;padding:10px 14px;background:#fee3e0;color:#8e1f0b;font-size:13px;font-weight:650">{{ ic.alert }}JKKP 6 due 02 Oct 2026</div><div style="padding:12px 14px;font-size:13px;color:#4a4a4a;line-height:1.5">Occupational injury, expected MC above 4 days. 5 days left to notify DOSH.</div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06)"><div style="display:flex;justify-content:space-between;padding:12px 14px;font-size:13px"><span style="color:#616161">Type</span><span>Injury / Medical</span></div><div style="display:flex;justify-content:space-between;padding:12px 14px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Severity</span><span>4 · Major</span></div><div style="display:flex;justify-content:space-between;padding:12px 14px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Location</span><span>Port Klang Hub · Racking B</span></div><div style="display:flex;justify-content:space-between;padding:12px 14px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Reporter</span><span>Muthu Kumar</span></div><div style="display:flex;justify-content:space-between;padding:12px 14px;font-size:13px;border-top:1px solid #f0f0f0"><span style="color:#616161">Evidence</span><span>4 files</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:14px;font-size:13px;line-height:1.55;color:#303030">Reach-truck operator reported lower back strain after manually repositioning a pallet that had shifted on racking level 3 (upright B-14).</div>
</div>
<div style="display:flex;gap:8px;padding:12px 16px 30px;background:#fff;border-top:1px solid #e3e3e3"><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#fff;color:#1f1f1f;font-size:13px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4,0 1px 0 rgba(0,0,0,.05);cursor:pointer;white-space:nowrap;height:48px;border-radius:12px;padding:0 16px;font-size:15px">PDF</span><span style="display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;background:#303030;color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap;height:48px;border-radius:12px;flex:1;font-size:15px;padding:0 16px">Start investigation</span></div>
</div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">12</span><span style="font-size:15px;font-weight:600">Mobile · New incident 1/3</span></div><div data-screen-label="12 Mobile · New incident 1/3" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="padding:4px 12px 8px;display:flex;align-items:center;gap:8px"><span style="width:40px;height:40px;border-radius:10px;display:grid;place-items:center">{{ ic.arrowLeft }}</span><span style="flex:1;font-size:17px;font-weight:650;letter-spacing:-.01em">Report incident</span><span style="font-size:13px;color:#616161">1 of 3</span></div><div style="display:flex;gap:4px;padding:0 16px 12px"><span style="flex:1;height:3px;border-radius:9px;background:#0f766e"></span><span style="flex:1;height:3px;border-radius:9px;background:#d4d4d4"></span><span style="flex:1;height:3px;border-radius:9px;background:#d4d4d4"></span></div><div style="padding:0 16px;display:flex;flex-direction:column;gap:20px;flex:1;overflow:hidden"><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:12px 14px;display:flex;align-items:center;gap:12px"><span style="width:40px;height:40px;border-radius:10px;background:#c5e8e0;color:#0b4f47;display:grid;place-items:center">{{ ic.qr }}</span><div style="flex:1;display:flex;flex-direction:column;gap:2px"><span style="font-size:15px;font-weight:600">Shah Alam DC · Dock 3</span><span style="font-size:12px;color:#616161">Zone detected from QR scan</span></div><span style="font-size:13px;color:#0f766e;font-weight:550">Change</span></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">What happened? <span style="color:#b3261e">*</span></span><div style="display:grid;grid-template-columns:1fr 1fr;gap:8px"><sc-for list="{{ mTypes }}" as="ty" hint-placeholder-count="8"><div style="display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;border-radius:12px;background:{{ ty.bg }};box-shadow:{{ ty.sh }};font-size:14px;font-weight:{{ ty.fw }}"><span style="color:{{ ty.ic }}">{{ ty.icon }}</span>{{ ty.label }}</div></sc-for></div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Truck <span style="color:#b3261e">*</span></span><div style="min-height:48px;padding:0 14px;border-radius:12px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:15px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f"><span style="display:flex;align-items:center;gap:8px">{{ ic.truck }}WXY 4821 · Setia Logistics</span>{{ ic.chev12 }}</div><span style="font-size:12px;color:#616161">Required for transport incidents</span></div></div><div style="padding:12px 16px 30px;display:flex;flex-direction:column;gap:8px;background:#f1f1f1;border-top:1px solid #e3e3e3"><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#303030;color:#fff;font-size:15px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2)">Continue</span></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">13</span><span style="font-size:15px;font-weight:600">Mobile · New incident 2/3</span></div><div data-screen-label="13 Mobile · New incident 2/3" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="padding:4px 12px 8px;display:flex;align-items:center;gap:8px"><span style="width:40px;height:40px;border-radius:10px;display:grid;place-items:center">{{ ic.arrowLeft }}</span><span style="flex:1;font-size:17px;font-weight:650;letter-spacing:-.01em">Report incident</span><span style="font-size:13px;color:#616161">2 of 3</span></div><div style="display:flex;gap:4px;padding:0 16px 12px"><span style="flex:1;height:3px;border-radius:9px;background:#0f766e"></span><span style="flex:1;height:3px;border-radius:9px;background:#0f766e"></span><span style="flex:1;height:3px;border-radius:9px;background:#d4d4d4"></span></div><div style="padding:0 16px;display:flex;flex-direction:column;gap:16px;flex:1;overflow:hidden"><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Describe what happened <span style="color:#b3261e">*</span></span><div style="min-height:48px;padding:0 14px;border-radius:12px;box-shadow:inset 0 0 0 1px #8a8a8a;background:#fff;font-size:15px;display:flex;align-items:center;justify-content:space-between;color:#1f1f1f;min-height:96px;align-items:flex-start;padding:12px 14px;line-height:1.5;font-size:15px;display:block">Reach truck reversed out of Dock 3 without horn. Pedestrian in walkway stepped back, no contact. Mirror at corner is missing.</div></div><div style="display:flex;gap:10px;padding:12px 14px;border-radius:12px;background:#fff8e1;color:#6b4a00"><span style="flex:none;margin-top:1px">{{ ic.sparkles }}</span><div style="display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.4"><span style="font-weight:600">Quality check · 62/100</span><span>Add the approximate time and the truck operator's name if known.</span><span style="font-weight:550;text-decoration:underline">Submit anyway</span></div></div><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:13px;font-weight:550;color:#303030">Photos</span><div style="display:grid;grid-template-columns:repeat(3,1fr);gap:8px"><div style="aspect-ratio:1;border-radius:12px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a;position:relative">{{ ic.img24 }}<span style="position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:999px;background:#1f1f1f;color:#fff;display:grid;place-items:center">{{ ic.x12 }}</span></div><div style="aspect-ratio:1;border-radius:12px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a;position:relative">{{ ic.img24 }}<span style="position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:999px;background:#1f1f1f;color:#fff;display:grid;place-items:center">{{ ic.x12 }}</span></div><div style="aspect-ratio:1;border-radius:12px;border:1.5px dashed #a3a3a3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#4a4a4a;font-size:12px">{{ ic.image }}Add</div></div><span style="font-size:12px;color:#616161">Up to 6 · taken now, stored on device until synced</span></div><div style="display:flex;flex-direction:column;gap:8px"><div style="display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #d4d4d4"><span style="font-size:15px">Anyone injured?</span><span style="width:44px;height:26px;border-radius:999px;background:#c4c4c4;position:relative;display:block"><span style="position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)"></span></span></div><div style="display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #d4d4d4"><span style="font-size:15px">Asset or equipment damaged?</span><span style="width:44px;height:26px;border-radius:999px;background:#c4c4c4;position:relative;display:block"><span style="position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)"></span></span></div></div></div><div style="padding:12px 16px 30px;display:flex;flex-direction:column;gap:8px;background:#f1f1f1;border-top:1px solid #e3e3e3"><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#fff;color:#1f1f1f;font-size:15px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4">Back</span><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#303030;color:#fff;font-size:15px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2)">Continue</span></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">14</span><span style="font-size:15px;font-weight:600">Mobile · Review (offline)</span></div><div data-screen-label="14 Mobile · Review (offline)" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="padding:4px 12px 8px;display:flex;align-items:center;gap:8px"><span style="width:40px;height:40px;border-radius:10px;display:grid;place-items:center">{{ ic.arrowLeft }}</span><span style="flex:1;font-size:17px;font-weight:650;letter-spacing:-.01em">Review</span><span style="font-size:13px;color:#616161">3 of 3</span></div><div style="display:flex;gap:4px;padding:0 16px 12px"><span style="flex:1;height:3px;border-radius:9px;background:#0f766e"></span><span style="flex:1;height:3px;border-radius:9px;background:#0f766e"></span><span style="flex:1;height:3px;border-radius:9px;background:#0f766e"></span></div><div style="padding:0 16px;display:flex;flex-direction:column;gap:16px;flex:1;overflow:hidden"><div style="display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:#e0efff;color:#00527c;font-size:12.5px">{{ ic.wifiOff }}<span style="flex:1">You're offline. The report saves to this phone and syncs automatically.</span></div><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161;flex:none">Type</span><span style="text-align:right"><b style="font-weight:600">Near miss</b></span></div><div style="display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161;flex:none">Where</span><span style="text-align:right">Shah Alam DC · Dock 3</span></div><div style="display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161;flex:none">Truck</span><span style="text-align:right">WXY 4821</span></div><div style="display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161;flex:none">Injury</span><span style="text-align:right">No</span></div><div style="display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161;flex:none">Asset damage</span><span style="text-align:right">No</span></div><div style="display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161;flex:none">Photos</span><span style="text-align:right">2 attached</span></div><div style="padding:12px 14px;display:flex;flex-direction:column;gap:4px"><span style="font-size:12px;color:#616161">Description</span><span style="font-size:14px;line-height:1.5;text-wrap:pretty">Reach truck reversed out of Dock 3 without horn. Pedestrian in walkway stepped back, no contact. Mirror at corner is missing.</span></div></div><span style="font-size:12px;color:#616161;padding:0 4px">Reported as Aina Rahman · 25 Sep 2026, 14:32. A reference number is assigned when the report syncs.</span></div><div style="padding:12px 16px 30px;display:flex;flex-direction:column;gap:8px;background:#f1f1f1;border-top:1px solid #e3e3e3"><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#fff;color:#1f1f1f;font-size:15px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4">Back</span><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#303030;color:#fff;font-size:15px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2)">{{ ic.download }}Save on this phone</span></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">15</span><span style="font-size:15px;font-weight:600">Mobile · Saved offline</span></div><div data-screen-label="15 Mobile · Saved offline" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px;text-align:center"><span style="width:72px;height:72px;border-radius:24px;background:#d7f4e3;color:#0c5132;display:grid;place-items:center">{{ ic.checkBig }}</span><div style="display:flex;flex-direction:column;gap:6px"><span style="font-size:22px;font-weight:650;letter-spacing:-.02em">Saved on this phone</span><span style="font-size:14px;color:#616161;line-height:1.5;text-wrap:pretty">It will sync when you're back online and appear in My reports as Pending sync. Your supervisor is notified the moment it lands.</span></div><div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:12px 14px;display:flex;align-items:center;gap:10px;width:100%;text-align:left"><span style="width:8px;height:8px;border-radius:99px;background:#e08a2c"></span><span style="flex:1;font-size:14px">Near miss · Dock 3</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#ebebeb;color:#4a4a4a">Pending sync</span></div></div><div style="padding:12px 16px 30px;display:flex;flex-direction:column;gap:8px;background:#f1f1f1;border-top:1px solid #e3e3e3"><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#fff;color:#1f1f1f;font-size:15px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4">Report another</span><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#303030;color:#fff;font-size:15px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2)">Done</span></div></div></div>
<div style="display:flex;flex-direction:column;gap:14px"><div style="display:flex;align-items:baseline;gap:10px"><span style="font:600 11px 'Geist Mono',monospace;padding:3px 7px;border-radius:6px;background:#1f1f1f;color:#fff">16</span><span style="font-size:15px;font-weight:600">Mobile · CAPA owner action</span></div><div data-screen-label="16 Mobile · CAPA owner action" style="width:390px;height:844px;border-radius:44px;overflow:hidden;background:#f1f1f1;box-shadow:0 24px 60px rgba(0,0,0,.16),0 0 0 10px #1a1a1a,0 0 0 11px #3a3a3a;display:flex;flex-direction:column"><div style="height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 30px;font-size:15px;font-weight:600"><span>9:41</span><span style="width:26px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1.5px #1f1f1f;padding:2px;box-sizing:border-box"><span style="display:block;height:100%;width:70%;background:#1f1f1f;border-radius:2px"></span></span></div>
<div style="padding:4px 12px 12px;display:flex;align-items:center;gap:8px"><span style="width:40px;height:40px;border-radius:10px;display:grid;place-items:center">{{ ic.arrowLeft }}</span><span style="flex:1;font-size:17px;font-weight:650;letter-spacing:-.01em">My action</span><span style="width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:#4a4a4a">{{ ic.more }}</span></div>
<div style="padding:0 16px;display:flex;flex-direction:column;gap:12px;flex:1;overflow:hidden"><div style="display:flex;gap:6px;align-items:center"><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">Overdue · 2 days</span><span style="display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:550;white-space:nowrap;background:#fee3e0;color:#8e1f0b">Critical</span></div><div style="font-size:19px;font-weight:650;letter-spacing:-.02em;line-height:1.3;text-wrap:pretty">Replace damaged racking upright B-14 and re-inspect bay</div><div style="font-size:13px;color:#616161">From <span style="font-family:'Geist Mono',monospace;color:#0f766e">IMS-2026-0245</span> · Senai DC, MHE Bay</div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);overflow:hidden"><div style="display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161">Due</span><span style="text-align:right"><span style="color:#b3261e;font-weight:550">25 Sep 2026</span></span></div><div style="display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161">Root cause</span><span style="text-align:right">Why #1 — forklift impact</span></div><div style="display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #ebebeb;font-size:14px"><span style="color:#616161">Assigned by</span><span style="text-align:right">Rajesh Pillai</span></div><div style="padding:11px 14px;display:flex;flex-direction:column;gap:4px"><span style="font-size:12px;color:#616161">Description</span><span style="font-size:14px;line-height:1.5;text-wrap:pretty">Isolate bays B-12 to B-16, replace bent upright, torque check and re-certify load rating before restocking.</span></div></div>
<div style="background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.06);padding:14px;display:flex;flex-direction:column;gap:10px"><span style="font-size:13px;font-weight:550;color:#303030">Progress note</span><div style="min-height:72px;padding:10px 12px;border-radius:10px;box-shadow:inset 0 0 0 1px #8a8a8a;font-size:14px;line-height:1.5;color:#1f1f1f">Upright delivered 26 Sep. Contractor on site tomorrow 08:00, bay stays isolated.</div><div style="display:flex;gap:8px"><div style="width:64px;height:64px;border-radius:10px;background:#ebebeb;display:grid;place-items:center;color:#8a8a8a">{{ ic.img24 }}</div><div style="width:64px;height:64px;border-radius:10px;border:1.5px dashed #a3a3a3;display:grid;place-items:center;color:#4a4a4a">{{ ic.image }}</div></div></div></div>
<div style="padding:12px 16px 30px;display:flex;flex-direction:column;gap:8px;background:#f1f1f1;border-top:1px solid #e3e3e3"><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#fff;color:#1f1f1f;font-size:15px;font-weight:550;box-shadow:inset 0 0 0 1px #d4d4d4">Save note</span><span style="display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;background:#303030;color:#fff;font-size:15px;font-weight:600;box-shadow:inset 0 -1px 0 #000,inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.2)">{{ ic.tick12 }}Mark complete</span></div></div></div>
</section>
</x-dc>
<script type="text/x-dc" data-dc-script>
class Component extends DCLogic {
renderVals() {
const h = React.createElement;
const I = (paths, s = 16, sw = 2) => h('svg', { width: s, height: s, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: sw, strokeLinecap: 'round', strokeLinejoin: 'round', style: { display: 'block', flex: 'none' } }, ...paths.map((d, i) => h('path', { key: i, d })));
const P = {
search: ['m21 21-4.3-4.3', 'M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16z'],
bell: ['M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9', 'M10.3 21a1.94 1.94 0 0 0 3.4 0'],
chart: ['M3 3v18h18', 'M18 17V9', 'M13 17V5', 'M8 17v-3'],
list: ['M9 2h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z', 'M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2', 'M9 12h6', 'M9 16h6'],
check: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20z', 'm9 12 2 2 4-4'],
settings: ['M4 21v-7', 'M4 10V3', 'M12 21v-9', 'M12 8V3', 'M20 21v-5', 'M20 12V3', 'M1 14h6', 'M9 8h6', 'M17 16h6'],
users: ['M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2', 'M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8z', 'M22 21v-2a4 4 0 0 0-3-3.87', 'M16 3.13a4 4 0 0 1 0 7.75'],
grid: ['M3 3h7v7H3z', 'M14 3h7v7h-7z', 'M14 14h7v7h-7z', 'M3 14h7v7H3z'],
plus: ['M12 5v14', 'M5 12h14'],
filter: ['M22 3H2l8 9.46V19l4 2v-8.54L22 3z'],
sort: ['m21 16-4 4-4-4', 'M17 20V4', 'm3 8 4-4 4 4', 'M7 4v16'],
down: ['M12 5v14', 'm19 12-7 7-7-7'],
chevDown: ['m6 9 6 6 6-6'], chevLeft: ['m15 18-6-6 6-6'], chevRight: ['m9 18 6-6-6-6'],
download: ['M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4', 'm7 10 5 5 5-5', 'M12 15V3'],
upload: ['M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4', 'm17 8-5-5-5 5', 'M12 3v12'],
eye: ['M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z', 'M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'],
pencil: ['M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5z'],
x: ['M18 6 6 18', 'm6 6 12 12'],
alert: ['m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3z', 'M12 9v4', 'M12 17h.01'],
user: ['M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2', 'M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8z'],
logout: ['M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4', 'm16 17 5-5-5-5', 'M21 12H9'],
clock: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20z', 'M12 6v6l4 2'],
sparkles: ['M12 3l1.9 5.8L20 11l-6.1 2.2L12 19l-1.9-5.8L4 11l6.1-2.2z'],
wifiOff: ['M2 2l20 20', 'M8.5 16.5a5 5 0 0 1 7 0', 'M5 12.86a10 10 0 0 1 5.17-2.69', 'M19 12.86a10 10 0 0 0-2.93-2.02', 'M2 8.82a15 15 0 0 1 4.17-2.65', 'M22 8.82a15 15 0 0 0-11.29-3.76', 'M12 20h.01'],
file: ['M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z', 'M14 2v6h6'],
kanban: ['M6 5v11', 'M12 5v6', 'M18 5v14'],
rows: ['M3 5h18', 'M3 12h18', 'M3 19h18'],
key: ['M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z', 'M16.5 7.5h.01'],
arrowLeft: ['m12 19-7-7 7-7', 'M19 12H5'],
tick: ['M20 6 9 17l-5-5'],
minus: ['M5 12h14'],
flame: ['M12 22c4.4 0 7-3 7-7 0-3.5-2-5.5-3-7-.5 2-1.5 3-3 3.5C13 8 12.5 4 10 2c0 3.5-1.5 5-3 7-1.3 1.6-2 3.2-2 5 0 4 2.6 8 7 8Z'],
cross: ['M9 3h6v6h6v6h-6v6H9v-6H3V9h6z'],
leaf: ['M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 21 2c1 2 2 4.2 2 8 0 5.5-4.8 10-10 10Z', 'M2 21c0-3 1.9-5.5 5-6.5'],
box: ['M21 8 12 3 3 8v8l9 5 9-5V8Z', 'M3 8l9 5 9-5', 'M12 13v8'],
edit: ['M12 20h9', 'M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'],
truck: ['M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2', 'M15 18H9', 'M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14', 'M17 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z', 'M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'],
calendar: ['M8 2v4', 'M16 2v4', 'M3 10h18', 'M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'],
image: ['M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z', 'M9 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z', 'm21 15-3.09-3.09a2 2 0 0 0-2.82 0L6 21'],
shield: ['M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'],
trendUp: ['m22 7-8.5 8.5-5-5L2 17', 'M16 7h6v6'],
trendDown: ['m22 17-8.5-8.5-5 5L2 7', 'M16 17h6v-6'],
clip: ['m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'],
more: ['M12 12h.01', 'M19 12h.01', 'M5 12h.01'],
inbox: ['M22 12h-6l-2 3h-4l-2-3H2', 'M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'],
qr: ['M3 3h6v6H3z', 'M15 3h6v6h-6z', 'M3 15h6v6H3z', 'M15 15h2v2h-2z', 'M19 19h2v2h-2z', 'M15 19h2', 'M19 15h2']
};
const ic = {};
Object.keys(P).forEach(k => { ic[k] = I(P[k]); });
ic.tick12 = I(P.tick, 12, 3); ic.minus12 = I(P.minus, 12, 3); ic.more = I(P.more, 16, 3);
ic.sort12 = I(P.sort, 12); ic.down12 = I(P.down, 12, 2.5); ic.x12 = I(P.x, 12, 2.5); ic.chev12 = I(P.chevDown, 12, 2.5); ic.cal12 = I(P.calendar, 12, 2);
ic.plus12 = I(P.plus, 12, 2.5); ic.big = I(P.search, 28, 1.75); ic.checkBig = I(P.tick, 32, 2.5); ic.img24 = I(P.image, 24, 1.5);
ic.m = {}; Object.keys(P).forEach(k => { ic.m[k] = I(P[k], 22, 1.8); });
const ST = {
reported: ['Reported', '#fff1c2', '#6b4a00'], triaged: ['Triaged', '#e0efff', '#00527c'],
investigating: ['Investigating', '#ede7ff', '#4b2e99'], capa_pending: ['CAPA pending', '#ffe6cf', '#7a3a00'],
verification: ['Verification', '#e3e8ff', '#2c3e8f'], closed: ['Closed', '#d7f4e3', '#0c5132'],
open: ['Open', '#ebebeb', '#4a4a4a'], in_progress: ['In progress', '#e0efff', '#00527c'],
overdue: ['Overdue', '#fee3e0', '#8e1f0b'], completed: ['Completed', '#d7f4e3', '#0c5132'],
verified: ['Verified', '#c9ecd8', '#0a4028'], draft: ['Offline draft', '#ebebeb', '#4a4a4a'],
active: ['Active', '#d7f4e3', '#0c5132'], inactive: ['Inactive', '#ebebeb', '#616161'],
set: ['Set', '#d7f4e3', '#0c5132'], env: ['Using env', '#fff1c2', '#6b4a00']
};
const st = k => ({ label: ST[k][0], bg: ST[k][1], fg: ST[k][2] });
const sevC = n => n >= 4 ? '#c4290f' : n === 3 ? '#c77700' : '#5c5c5c';
const bars = n => [0, 1, 2, 3, 4].map(i => ({ c: n && i < n ? sevC(n) : '#e3e3e3' }));
const TYPES = { injury: 'Injury / Medical', near_miss: 'Near Miss', hazard: 'Hazard', asset_damage: 'Asset Damage', environmental: 'Environmental', security: 'Security', fire: 'Fire / Emergency', transport: 'Transport / Vehicle' };
const rawInc = [
['IMS-2026-0248', 'near_miss', 'investigating', 2, 'Shah Alam DC', 'Dock 3', 'Aina Rahman', '26 Sep 2026', ''],
['IMS-2026-0247', 'injury', 'triaged', 4, 'Port Klang Hub', 'Racking B', 'Muthu Kumar', '25 Sep 2026', ''],
['IMS-2026-0246', 'hazard', 'reported', 0, 'Shah Alam DC', 'Chiller Room', 'Lee Wei Jie', '25 Sep 2026', ''],
['IMS-2026-0245', 'asset_damage', 'capa_pending', 3, 'Senai DC', 'MHE Bay', 'Hafiz Azman', '24 Sep 2026', 'WXY 4821'],
['IMS-2026-0244', 'environmental', 'verification', 2, 'Port Klang Hub', 'Wash Bay', 'Siti Nurhaliza', '22 Sep 2026', ''],
['IMS-2026-0243', 'near_miss', 'closed', 1, 'Shah Alam DC', 'Loading Bay 1', 'Tan Mei Ling', '21 Sep 2026', ''],
['IMS-2026-0242', 'fire', 'triaged', 5, 'Senai DC', 'Battery Charging', 'Rajesh Pillai', '20 Sep 2026', ''],
['IMS-2026-0241', 'security', 'reported', 0, 'Port Klang Hub', 'Gatehouse', 'Nurul Izzah', '19 Sep 2026', ''],
['IMS-2026-0240', 'transport', 'investigating', 3, 'Shah Alam DC', 'Yard', 'Chong Kah Wai', '18 Sep 2026', 'BNM 2210'],
['IMS-2026-0239', 'hazard', 'closed', 2, 'Senai DC', 'Mezzanine', 'Farah Liyana', '17 Sep 2026', '']
];
const selRefs = ['IMS-2026-0247', 'IMS-2026-0245', 'IMS-2026-0242'];
const incidents = rawInc.map(r => {
const sel = selRefs.includes(r[0]); const hover = r[0] === 'IMS-2026-0244';
return { ref: r[0], short: r[0].slice(4), type: TYPES[r[1]], st: st(r[2]), bars: bars(r[3]), sevL: r[3] ? 'Sev ' + r[3] : 'Untriaged', site: r[4], zone: r[5], rep: r[6], date: r[7], truck: r[8], sel, unsel: !sel, hover, bg: sel ? '#f2f7f6' : hover ? '#f7f7f7' : '#ffffff' };
});
const tabs = (arr, a) => arr.map((t, i) => ({ label: t[0], count: t[1], bg: i === a ? '#e3e3e3' : 'transparent', fg: i === a ? '#1f1f1f' : '#4a4a4a', fw: i === a ? 600 : 500 }));
const PRI = { Critical: ['#fee3e0', '#8e1f0b'], High: ['#ffe6cf', '#7a3a00'], Medium: ['#fff1c2', '#6b4a00'], Low: ['#ebebeb', '#4a4a4a'] };
const rawCapa = [
['Replace damaged racking upright B-14 and re-inspect bay', 'IMS-2026-0245', 'Kumar Selvam', 'Facilities', 'Critical', '25 Sep 2026', 'overdue', '2 days overdue'],
['Retrain reach-truck operators on pallet shift handling', 'IMS-2026-0247', 'Sarah Lim', 'Operations', 'High', '20 Sep 2026', 'overdue', '7 days overdue'],
['Install convex mirror at Dock 3 blind corner', 'IMS-2026-0248', 'Hafiz Azman', 'Facilities', 'High', '30 Sep 2026', 'in_progress', 'Due in 3 days'],
['Thermal inspection of battery charging stations', 'IMS-2026-0242', 'Rajesh Pillai', 'Engineering', 'Critical', '02 Oct 2026', 'in_progress', 'Due in 5 days'],
['Add spill kit and bunding to wash bay', 'IMS-2026-0244', 'Siti Nurhaliza', 'HSE', 'Medium', '10 Oct 2026', 'open', ''],
['Update gatehouse visitor log SOP', 'IMS-2026-0241', 'Nurul Izzah', 'Security', 'Low', '15 Oct 2026', 'open', ''],
['Anti-slip coating, Loading Bay 1 ramp', 'IMS-2026-0243', 'Tan Mei Ling', 'Facilities', 'Medium', '12 Sep 2026', 'completed', 'Recheck at 30 days'],
['Speed humps and signage near Yard Gate 2', 'IMS-2026-0240', 'Chong Kah Wai', 'Operations', 'High', '05 Sep 2026', 'verified', 'Effective at 30 days']
];
const ini = n => n.split(' ').map(w => w[0]).join('').slice(0, 2).toUpperCase();
const AV = ['#c5e8e0', '#e0dcf5', '#fbe2c8', '#dbe8f7', '#f5d9d9', '#e2ecd0'];
const AVF = ['#0b4f47', '#3f2f85', '#7a3a00', '#1f4b7a', '#8e1f0b', '#3c5a14'];
const capas = rawCapa.map((r, i) => {
const sel = i === 0 || i === 1;
return { desc: r[0], ref: r[1], owner: r[2], ini: ini(r[2]), avBg: AV[i % 6], avFg: AVF[i % 6], dept: r[3], pri: { label: r[4], bg: PRI[r[4]][0], fg: PRI[r[4]][1] }, due: r[5], dueSub: r[7], dueC: r[6] === 'overdue' ? '#b3261e' : '#616161', st: st(r[6]), sel, unsel: !sel, hover: i === 3, bg: sel ? '#f2f7f6' : i === 3 ? '#f7f7f7' : '#ffffff' };
});
const boardCols = [['open', 'Open', '#8a8a8a', 'Nothing to do here'], ['in_progress', 'In progress', '#2b7fd0', ''], ['overdue', 'Overdue', '#c4290f', ''], ['completed', 'Completed', '#0f766e', 'Drop a card here to mark it complete'], ['verified', 'Verified', '#0c5132', '']];
const board = boardCols.map(([key, label, dot, emptyText]) => {
const cards = rawCapa.map((r, i) => ({ r, i })).filter(x => x.r[6] === key).map(({ r, i }) => {
const drag = r[0].startsWith('Install convex');
return { desc: r[0], ref: r[1], owner: r[2], ini: ini(r[2]), avBg: AV[i % 6], avFg: AVF[i % 6], pri: { label: r[4], bg: PRI[r[4]][0], fg: PRI[r[4]][1] }, due: r[7] || r[5], dueC: r[6] === 'overdue' ? '#b3261e' : '#616161', dueW: r[6] === 'overdue' ? 550 : 400, sh: drag ? '0 0 0 1px rgba(15,118,110,.5), 0 12px 28px rgba(0,0,0,.18)' : '0 0 0 1px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06)', tf: drag ? 'rotate(-1.5deg)' : 'none' };
});
return { key, label, dot, count: String(cards.length), cards, empty: cards.length < 2 && !!emptyText, emptyText };
});
const rawSites = [['SA', 'Shah Alam DC', 'Central', 9, 11, 'active', true], ['PK', 'Port Klang Hub', 'Central', 10, 8, 'active', false], ['SN', 'Senai DC', 'Southern', 7, 5, 'active', false]];
const sites = rawSites.map((s, i) => ({ code: s[0], name: s[1], region: s[2], zones: s[3], users: s[4], st: st(s[5]), fw: s[6] ? 600 : 500, bg: s[6] ? '#f2f7f6' : '#ffffff', sh: s[6] ? 'inset 3px 0 0 #0f766e' : 'none', tileBg: s[6] ? '#c5e8e0' : '#ebebeb', tileFg: s[6] ? '#0b4f47' : '#4a4a4a' }));
const rawZones = [['Dock 3', '7f3a-2c19', '212 scans', 14, 'active'], ['Loading Bay 1', 'b81e-9d04', '148 scans', 6, 'active'], ['Chiller Room', '2c77-0a5e', '96 scans', 5, 'active'], ['Yard', 'e4d1-77b2', '301 scans', 8, 'active'], ['Racking A', '19f0-c3a8', '54 scans', 2, 'active'], ['Battery Charging', '6a2b-4e91', '77 scans', 3, 'active'], ['Gatehouse', 'd05c-18f7', '410 scans', 1, 'active'], ['Mezzanine Office', '93ab-e602', 'Never scanned', 0, 'active']];
const zoneRows = rawZones.map((z, i) => ({ name: z[0], token: z[1], scans: z[2], n: z[3], w: Math.round(z[3] / 14 * 100) + '%', barC: z[3] >= 11 ? '#c4290f' : z[3] >= 6 ? '#e08a2c' : '#8fc9bd', st: st(z[4]), hover: i === 0, bg: i === 0 ? '#f7f7f7' : '#ffffff' }));
const rawTrucks = [['WXY 4821', 'Setia Logistics', 3, 'IMS-2026-0245', '24 Sep 2026', '12 Jan 2025', 'active'], ['BMK 7730', 'Setia Logistics', 1, 'IMS-2026-0233', '14 Sep 2026', '12 Jan 2025', 'active'], ['JRD 1092', 'Kontena Nasional', 2, 'IMS-2026-0219', '29 Aug 2026', '03 Mar 2025', 'active'], ['VDE 5518', 'Tiong Nam', 0, '', '', '18 Apr 2025', 'active'], ['WQA 3364', 'Setia Logistics', 1, 'IMS-2026-0187', '11 Jul 2026', '12 Jan 2025', 'active'], ['PLM 9047', 'Kontena Nasional', 0, '', '', '22 Jun 2025', 'active'], ['JKT 2281', 'Tiong Nam', 1, 'IMS-2026-0142', '02 May 2026', '18 Apr 2025', 'active'], ['WTF 6603', 'Setia Logistics', 2, 'IMS-2025-0398', '19 Nov 2025', '12 Jan 2025', 'inactive']];
const trucks = rawTrucks.map((k, i) => ({ no: k[0], carrier: k[1], n: k[2], last: k[3], noLast: !k[3], lastDate: k[4], added: k[5], st: st(k[6]), hover: i === 2, bg: i === 2 ? '#f7f7f7' : '#ffffff' }));
const sevScale = [[1, 'Minor', 'No injury, no damage'], [2, 'Low', 'First aid or minor damage'], [3, 'Moderate', 'Medical treatment'], [4, 'Major', 'LTI or dangerous occurrence'], [5, 'Severe', 'Fatality or multiple LTI']].map(s => { const on = s[0] === 4; return { n: s[0], label: s[1], sub: s[2], sh: on ? 'inset 0 0 0 2px #0f766e' : 'inset 0 0 0 1px #d4d4d4', bg: on ? '#f2f7f6' : '#fff', numC: on ? '#0f766e' : '#8a8a8a' }; });
const similar = [['IMS-2025-0312', 'closed', 'Ammonia odour reported at chiller compressor line 1, gasket replaced', 'Shah Alam DC · Chiller Room · Nov 2025'], ['IMS-2025-0188', 'closed', 'Frost build-up on chiller refrigerant line, insulation failure', 'Shah Alam DC · Chiller Room · Jun 2025'], ['IMS-2024-0421', 'closed', 'Refrigerant detector alarm fault during monthly test', 'Port Klang Hub · Cold Store · Dec 2024']].map(m => ({ ref: m[0], st: st(m[1]), desc: m[2], meta: m[3] }));
const invSteps = [['Findings', 'done'], ['Root cause', 'active'], ['Actions', 'todo'], ['Evidence', 'todo'], ['Review', 'todo']].map(([label, s], i) => ({ label, dot: s === 'done' ? '' : String(i + 1), bg: s === 'active' ? '#fff' : 'transparent', fg: s === 'todo' ? '#616161' : '#1f1f1f', fw: s === 'active' ? 600 : 500, sh: s === 'active' ? '0 1px 2px rgba(0,0,0,.1)' : 'none', dotBg: s === 'done' ? '#0f766e' : s === 'active' ? '#1f1f1f' : '#d4d4d4', dotFg: s === 'todo' ? '#4a4a4a' : '#fff' }));
invSteps[0].dot = '✓';
const whys = [['Why did ammonia leak?', 'Flange gasket on compressor line 2 degraded and lost seal.'], ['Why was the gasket degraded?', 'It exceeded its service life; no replacement since commissioning in 2021.'], ['Why was it not replaced?', 'No preventive maintenance interval defined for line joints in the chiller PM schedule.'], ['Why was the leak not detected earlier?', 'Ammonia detector out of calibration since Mar 2026; alarm did not trigger.'], ['Why was calibration missed?', '']].map((w, i) => { const empty = !w[1]; return { n: i + 1, q: w[0], a: empty ? 'Type the next why, or mark the chain complete' : w[1], c: empty ? '#8a8a8a' : '#1f1f1f', ring: empty ? '#0f766e' : '#d4d4d4', fill: empty ? '#fff' : '#fafafa', bg: empty ? '#fff' : '#1f1f1f', fg: empty ? '#1f1f1f' : '#fff', line: i === 4 ? 'transparent' : '#dcdcdc', sh: 'none' }; });
whys[4].bg = '#fff'; whys[4].fg = '#1f1f1f'; whys[4].sh = 'inset 0 0 0 1.5px #8a8a8a';
const invCapas = [['Define PM interval for chiller line joints and replace all line 2 gaskets', 'Root cause 1 · No PM interval', 'Rajesh Pillai', 'High', '09 Oct 2026'], ['Recalibrate ammonia detectors at all three sites; add to monthly checklist', 'Root cause 2 · Detector calibration', 'Hafiz Azman', 'Critical', '02 Oct 2026']].map((a, i) => ({ desc: a[0], rc: a[1], owner: a[2], ini: ini(a[2]), avBg: AV[(i + 1) % 6], avFg: AVF[(i + 1) % 6], pri: { label: a[3], bg: PRI[a[3]][0], fg: PRI[a[3]][1] }, due: a[4] }));
const invCheck = [['Findings recorded', true], ['Root cause summary', true], ['Five whys chain complete', false], ['One action per root cause', false], ['Evidence attached', false]].map(c => ({ label: c[0], done: c[1], fg: c[1] ? '#1f1f1f' : '#616161', bg: c[1] ? '#0f766e' : '#fff', sh: c[1] ? 'none' : 'inset 0 0 0 1.5px #c4c4c4' }));
const mTypes = [['Injury', 'cross'], ['Near miss', 'eye'], ['Hazard', 'alert'], ['Asset damage', 'box'], ['Environmental', 'leaf'], ['Security', 'shield'], ['Fire', 'flame'], ['Transport', 'truck']].map(([label, icon]) => { const on = label === 'Near miss'; return { label, icon: ic[icon], bg: on ? '#f2f7f6' : '#fff', sh: on ? 'inset 0 0 0 2px #0f766e' : 'inset 0 0 0 1px #d4d4d4', fw: on ? 600 : 500, ic: on ? '#0f766e' : '#6b6b6b' }; });
const capaSteps = [['Open', '22 Aug', 'done'], ['In progress', '01 Sep', 'done'], ['Completed', '27 Sep · 15 d late', 'done'], ['Verification', 'Awaiting HSE', 'active'], ['Recheck', '30 days after verification', 'todo']].map(([label, sub, s], i) => ({ label, sub, done: s === 'done', num: s === 'done' ? '' : String(i + 1), bg: s === 'done' ? '#0f766e' : s === 'active' ? '#1f1f1f' : '#fff', fg: s === 'todo' ? '#8a8a8a' : '#fff', sh: s === 'todo' ? 'inset 0 0 0 1.5px #c4c4c4' : 'none', line: i === 4 ? 'transparent' : (s === 'done' ? '#0f766e' : '#e3e3e3'), fw: s === 'active' ? 600 : 500, tc: s === 'todo' ? '#8a8a8a' : '#1f1f1f' }));
const capaLog = [['Tan Mei Ling', 'TM', '#f5d9d9', '#8e1f0b', 'marked the action complete and attached 3 files', '', '27 Sep 2026, 16:05'], ['System', 'S', '#ebebeb', '#4a4a4a', 'flagged the action overdue and reminded the owner', '', '13 Sep 2026, 00:00'], ['Tan Mei Ling', 'TM', '#f5d9d9', '#8e1f0b', 'added a note', 'Contractor quote approved, works scheduled 26 Sep. Bay 1 ramp coned off in the meantime.', '08 Sep 2026, 11:20'], ['Tan Mei Ling', 'TM', '#f5d9d9', '#8e1f0b', 'started the action', '', '01 Sep 2026, 09:02'], ['Rajesh Pillai', 'RP', '#e0dcf5', '#3f2f85', 'created the action from investigation of IMS-2026-0243', '', '22 Aug 2026, 15:44']].map((g, i, a) => ({ who: g[0], ini: g[1], avBg: g[2], avFg: g[3], what: g[4], note: g[5], when: g[6], line: i === a.length - 1 ? 'transparent' : '#ebebeb' }));
const doshReasons = [{ what: 'Dangerous occurrence', law: 'NADOPOD 2004 s.9(1)(c)' }];
const doshForms = [['JKKP 6', 'Notice of accident / dangerous occurrence', 'pending', 'Due 02 Oct 2026 · 1 day left', true], ['JKKP 7', 'Investigation report', 'pending', 'Due after investigation · 09 Oct 2026', false], ['JKKP 8', 'Occupational disease', 'not_required', 'Not triggered', false]].map(f => ({ name: f[0], desc: f[1], st: f[2] === 'pending' ? { label: 'Pending', bg: '#fff1c2', fg: '#6b4a00' } : { label: 'Not required', bg: '#ebebeb', fg: '#4a4a4a' }, due: f[3], dueC: f[4] ? '#b3261e' : '#616161', dueW: f[4] ? 550 : 400, bg: f[4] ? '#fff8f7' : '#fff' }));
const NCH = { email: 'Email', whatsapp: 'WhatsApp', in_app: '' };
const notifs = [['Today', 'alert', '#fee3e0', '#8e1f0b', 'JKKP 6 for IMS-2026-0246 is due tomorrow. Submit on MyKKP and record the reference.', 'IMS-2026-0246', '09:00', 'whatsapp', 'Open DOSH reporting', true], ['', 'check', '#e3e8ff', '#2c3e8f', 'Tan Mei Ling marked "Anti-slip coating, Loading Bay 1 ramp" complete. Awaiting your verification.', 'CAPA-0243-01', '08:12', 'email', 'Verify', true], ['', 'list', '#fff1c2', '#6b4a00', 'New hazard reported at Shah Alam DC, Dock 3 by Aina Rahman. Awaiting triage.', 'IMS-2026-0249', '07:45', '', 'Triage', true], ['Yesterday', 'clock', '#fee3e0', '#8e1f0b', '"Replace damaged racking upright B-14" is 2 days overdue. Owner Kumar Selvam reminded.', 'CAPA-0245-01', 'Mon 00:00', 'email', '', false], ['', 'user', '#ede7ff', '#4b2e99', 'Rajesh Pillai added a witness statement to the investigation of IMS-2026-0246.', 'IMS-2026-0246', 'Mon 16:40', '', '', false], ['', 'sparkles', '#e0efff', '#00527c', 'IMS-2026-0248 matches 3 earlier incidents at Dock 3. Review the suggested root cause.', 'IMS-2026-0248', 'Mon 11:05', '', '', false], ['Last week', 'check', '#d7f4e3', '#0c5132', 'Effectiveness recheck passed for "Speed humps and signage near Yard Gate 2" (round 1).', 'CAPA-0240-02', '24 Sep', 'email', '', false]].map(n => ({ group: n[0], icon: ic[n[1]], iBg: n[2], iFg: n[3], title: n[4], ref: n[5], when: n[6], ch: NCH[n[7]] || '', action: n[8], unread: n[9], bg: n[9] ? '#f7fbfa' : '#fff' }));
const ACT = { update: ['Updated', '#e0efff', '#00527c'], insert: ['Created', '#d7f4e3', '#0c5132'], delete: ['Deleted', '#fee3e0', '#8e1f0b'], login: ['Signed in', '#ebebeb', '#4a4a4a'], export: ['Exported', '#ede7ff', '#4b2e99'] };
const auditRows = [['01 Oct 2026 09:14', 'Nadia Hassan', 'update', 'incidents', 'IMS-2026-0246', 'status: triaged → investigating; severity: 3 → 4', true, [['status', 'triaged', 'investigating'], ['severity', '3', '4'], ['is_dangerous_occurrence', 'false', 'true'], ['triage_notes', '—', 'Reporter photo shows frost and ammonia odour…']]], ['01 Oct 2026 09:12', 'Nadia Hassan', 'update', 'capa_actions', 'CAPA-0243-01', 'status: pending_verification → verified', false, []], ['01 Oct 2026 08:58', 'Nadia Hassan', 'export', 'incidents', '42 rows', 'CSV export · filter: Open, Shah Alam DC', false, []], ['30 Sep 2026 17:20', 'Nadia Hassan', 'insert', 'dosh_reports', 'IMS-2026-0246', 'form_type: jkkp6; status: pending', false, []], ['30 Sep 2026 17:18', 'Nadia Hassan', 'update', 'users', 'kumar.selvam@setia.com.my', 'role: capa_owner → supervisor', false, []], ['30 Sep 2026 09:02', 'Nadia Hassan', 'login', 'sessions', '—', 'Chrome on macOS · 175.143.22.10', false, []], ['29 Sep 2026 14:31', 'Nadia Hassan', 'update', 'app_settings', 'capa_default_due_days', 'value: 14 → 10', false, []], ['29 Sep 2026 11:05', 'Nadia Hassan', 'delete', 'zones', 'Mezzanine Office', 'active: true → false (soft delete)', false, []], ['28 Sep 2026 16:47', 'Nadia Hassan', 'update', 'incidents', 'IMS-2026-0243', 'status: verification → closed; closed_at set', false, []]].map((a, i) => ({ when: a[0], who: a[1], ini: ini(a[1]), avBg: '#c5e8e0', avFg: '#0b4f47', act: { label: ACT[a[2]][0], bg: ACT[a[2]][1], fg: ACT[a[2]][2] }, table: a[3], rec: a[4], summary: a[5], open: a[6], chev: a[6] ? ic.chev12 : ic.chevRight, bg: a[6] ? '#f7f7f7' : '#fff', diff: a[7].map(d => ({ k: d[0], old: d[1], new: d[2], oldBg: d[1] === '—' ? 'transparent' : '#fee3e0', newBg: '#d7f4e3' })) }));
const rawUsers = [
['Daniel Ong', 'daniel.ong@setia.com.my', 'Admin', 'IT', 'All sites', 'active'],
['Nadia Hassan', 'nadia.hassan@setia.com.my', 'HSE', 'HSE', 'All sites', 'active'],
['Sarah Lim', 'sarah.lim@setia.com.my', 'Supervisor', 'Operations', 'Port Klang Hub', 'active'],
['Kumar Selvam', 'kumar.selvam@setia.com.my', 'CAPA Owner', 'Facilities', 'Senai DC', 'active'],
['Azlan Ismail', 'azlan.ismail@setia.com.my', 'Management', 'Operations', 'All sites', 'active'],
['Aina Rahman', 'aina.rahman@setia.com.my', 'Reporter', 'Warehouse', 'Shah Alam DC', 'active'],
['Hafiz Azman', 'hafiz.azman@setia.com.my', 'CAPA Owner', 'Facilities', 'Senai DC', 'active'],
['Jason Tee', 'jason.tee@setia.com.my', 'Supervisor', 'Warehouse', 'Shah Alam DC', 'inactive']
];
const users = rawUsers.map((u, i) => ({ name: u[0], email: u[1], ini: ini(u[0]), avBg: AV[i % 6], avFg: AVF[i % 6], role: u[2], dept: u[3], site: u[4], st: st(u[5]), hover: i === 2, bg: i === 2 ? '#f7f7f7' : '#ffffff' }));
const keys = [
['Anthropic (Claude)', 'Report quality check, severity suggestion, RCA drafting', 'sk-ant-••••••••••••3f9a', 'set', '12 Sep 2026'],
['Voyage AI', 'Embeddings for similar-incident search', 'pa-••••••••••••81c2', 'set', '12 Sep 2026'],
['Resend', 'Email notifications', 'Not stored', 'env', '—'],
['WhatsApp Cloud API token', 'Meta WhatsApp notifications', 'EAAG••••••••••••Zx0', 'set', '03 Aug 2026'],
['WhatsApp phone number ID', 'Sender number', '1098••••••4471', 'set', '03 Aug 2026']
].map((k, i) => ({ name: k[0], use: k[1], val: k[2], st: st(k[3]), upd: k[4], edit: i === 2, bg: i === 2 ? '#f7f7f7' : '#ffffff' }));
const reports = [
['Pending sync', 'hazard', 'draft', 'Shah Alam DC', 'Dock 3', 'Today, 08:14', 'Saved on this device'],
['IMS-2026-0248', 'near_miss', 'investigating', 'Shah Alam DC', 'Dock 3', '26 Sep 2026', 'Investigation started 26 Sep'],
['IMS-2026-0231', 'hazard', 'capa_pending', 'Shah Alam DC', 'Chiller Room', '11 Sep 2026', 'Action due 30 Sep'],
['IMS-2026-0219', 'near_miss', 'triaged', 'Shah Alam DC', 'Loading Bay 1', '29 Aug 2026', 'Triaged by Nadia Hassan'],
['IMS-2026-0198', 'hazard', 'closed', 'Shah Alam DC', 'Yard', '02 Aug 2026', 'Closed 20 Aug']
].map(r => ({ ref: r[0], type: TYPES[r[1]], st: st(r[2]), site: r[3], zone: r[4], date: r[5], note: r[6], draft: r[2] === 'draft' }));
const nav = (role, active, badge) => {
const N = {
hse: [['Dashboard', 'chart'], ['Incidents', 'list'], ['CAPA', 'check'], ['Settings', 'settings']],
admin: [['Admin', 'users'], ['Dashboard', 'chart'], ['Incidents', 'list'], ['CAPA', 'check'], ['Management', 'grid'], ['Settings', 'settings']],
reporter: [['My Reports', 'list'], ['New Incident', 'plus']]
}[role];
const who = { hse: ['Nadia Hassan', 'HSE'], admin: ['Daniel Ong', 'Admin'], reporter: ['Aina Rahman', 'Reporter'] }[role];
return {
name: who[0], ini: ini(who[0]), role: who[1],
items: N.map(([label, icon]) => {
const a = label === active;
return { label, icon: ic[icon], bg: a ? '#ffffff' : 'transparent', fg: a ? '#1f1f1f' : '#3d3d3d', ic: a ? '#0f766e' : '#6b6b6b', fw: a ? 600 : 500, sh: a ? '0 0 0 1px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.06)' : 'none', badge: (badge && badge[label]) || '' };
})
};
};
const nv = {
incidents: nav('hse', 'Incidents', { Incidents: '6', CAPA: '4' }),
dashboard: nav('hse', 'Dashboard', { Incidents: '6', CAPA: '4' }),
capa: nav('hse', 'CAPA', { Incidents: '6', CAPA: '4' }),
admin: nav('admin', 'Admin'),
settings: nav('admin', 'Settings'),
reporter: nav('reporter', 'My Reports')
};
const months = ['Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep'];
const lead = [14, 18, 12, 20, 16, 22, 19, 24, 17, 21, 26, 22], lag = [3, 2, 4, 1, 3, 2, 2, 3, 1, 2, 4, 3];
const trend = months.map((m, i) => ({ m, lh: Math.round(lead[i] / 30 * 170) + 'px', gh: Math.round(lag[i] / 30 * 170) + 'px', last: i === 11, fw: i === 11 ? 600 : 400 }));
const zones = [['Dock 3', 'Shah Alam DC', 14], ['Racking B', 'Port Klang Hub', 11], ['Battery Charging', 'Senai DC', 9], ['Yard', 'Shah Alam DC', 8], ['MHE Bay', 'Senai DC', 7], ['Chiller Room', 'Shah Alam DC', 5]]
.map(z => ({ name: z[0], site: z[1], n: z[2], w: Math.round(z[2] / 14 * 100) + '%', c: z[2] >= 11 ? '#c4290f' : z[2] >= 8 ? '#e08a2c' : '#f2c46b' }));
const causes = [['Blind corners / poor visibility', 12], ['Inadequate training', 9], ['Poor housekeeping', 7], ['PPE non-compliance', 5], ['Equipment wear', 4]]
.map(c => ({ name: c[0], n: c[1], w: Math.round(c[1] / 12 * 100) + '%' }));
return {
ic, nv, incidents, capas, board, users, sites, zoneRows, trucks, mTypes, capaSteps, capaLog, doshReasons, doshForms, notifs, auditRows, sevScale, similar, invSteps, whys, invCapas, invCheck, keys, reports, trend, zones, causes,
recent: incidents.slice(0, 5).map(r => Object.assign({}, r, { bg: '#ffffff' })),
mobileInc: incidents.slice(0, 6),
incTabs: tabs([['All', '248'], ['Open', '37'], ['Awaiting triage', '6'], ['Overdue CAPA', '4'], ['DOSH reportable', '2'], ['Closed', '211']], 1),
capaTabs: tabs([['All', '42'], ['Open', '12'], ['In progress', '9'], ['Overdue', '4'], ['Completed', '11'], ['Verified', '6']], 0),
notifTabs: tabs([['All', '23'], ['Unread', '3'], ['Assigned to me', '5'], ['Deadlines', '2']], 0),
truckTabs: tabs([['All', '18'], ['Active', '17'], ['Inactive', '1'], ['With incidents', '11']], 0),
userTabs: tabs([['All', '24'], ['Active', '22'], ['Inactive', '2']], 0),
repTabs: tabs([['All', '5'], ['Open', '3'], ['Closed', '1'], ['Offline drafts', '1']], 0),
mTabs: tabs([['Open', '37'], ['Triage', '6'], ['Overdue', '4'], ['All', '248']], 0),
emptyTabs: tabs([['All', '248'], ['Open', '37'], ['Awaiting triage', '6'], ['Overdue CAPA', '4']], 1)
};
}
}
</script>
</body>
</html>