.plant-demo{padding-block:64px;background:#f4f6fb;border-block:1px solid #e6e9ef}
.plant-title{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:30px}
.plant-title h2{font-size:42px;letter-spacing:-1.5px;line-height:1.12;margin:16px 0}
.plant-title p{max-width:700px;font-size:16px;line-height:1.65;color:#475166;margin:0}
.demo-controls{display:flex;gap:8px;flex-shrink:0}
.demo-controls button{background:white;border:1px solid #cdd4df;padding:12px 16px;border-radius:5px;color:#081430;font-size:12px;min-height:44px}
.demo-controls button:first-child{background:#081430;color:white;border-color:#081430}
.demo-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr);gap:22px;align-items:stretch}
.plant-map{background:white;border:1px solid #dde3eb;border-radius:12px;overflow:hidden;min-width:0}
.map-topline{padding:18px 22px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e6e9ef;font-size:12px}
.map-topline strong{font-size:13px}.map-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#277057}
.map-status:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.plant-map svg{display:block;width:100%;height:auto}
.plant-map svg text{font-family:Arial,sans-serif;fill:#44546c;font-size:14px;font-weight:600;letter-spacing:.6px}
.plant-map svg .small{font-size:10px;font-weight:400;letter-spacing:.3px}
.map-legend{padding:14px 20px;display:flex;gap:20px;flex-wrap:wrap;border-top:1px solid #e6e9ef;font-size:11px;color:#596477}
.map-legend span{display:flex;align-items:center;gap:7px}.map-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;background:#081430}
.map-legend .amber{background:#c37822}.map-legend .green{background:#298261}
.incident-panel{background:white;border:1px solid #dde3eb;border-radius:12px;padding:24px;min-width:0;display:flex;flex-direction:column}
.incident-panel .panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid #e6e9ef}
.panel-top img{width:130px;height:40px;object-fit:contain}.panel-top span{font-size:10px;color:#6b7585;text-align:right}
.event-badge{align-self:flex-start;font-size:11px;font-weight:700;background:#edf5f0;color:#277057;padding:7px 10px;border-radius:30px;margin-top:22px}
.incident-panel h3{font-size:25px;letter-spacing:-.6px;line-height:1.15;margin:15px 0 12px}.incident-panel>p{font-size:14px;line-height:1.65;color:#536176;margin:0 0 20px;min-height:68px}
.incident-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:17px 0;border-block:1px solid #e6e9ef}.incident-meta dt{font-size:10px;color:#788396;margin-bottom:5px;text-transform:uppercase;letter-spacing:.7px}.incident-meta dd{font-size:12px;margin:0;font-weight:600}
.event-log{list-style:none;padding:0;margin:20px 0 0}.event-log li{font-size:12px;padding:8px 0;display:flex;gap:9px;color:#7a8595}.event-log li:before{content:'○';color:#adb7c5}.event-log li.done{color:#2a624d}.event-log li.done:before{content:'✓';color:#298261}.event-log li.active{color:#081430;font-weight:700}.event-log li.active:before{content:'●';color:#c37822}
.demo-stages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:20px}
.demo-stages button{position:relative;text-align:left;border:1px solid #dde3eb;background:white;padding:16px 12px;border-radius:6px;min-height:72px;color:#596477;font-size:12px;line-height:1.4;overflow:hidden}
.demo-stages button span{display:block;font-size:10px;margin-bottom:5px;color:#768296}.demo-stages button[aria-current='step']{border-color:#081430;color:#081430;font-weight:700}.demo-stages button[aria-current='step']:after{content:'';position:absolute;left:0;bottom:0;height:3px;background:#c9a84c;width:calc(var(--stage-progress,0)*100%)}
.demo-note{font-size:11px!important;line-height:1.65;color:#67758a!important;margin:17px 0 0!important;max-width:none!important}
.map-floor{fill:#f7f9fc;stroke:#cbd4e0;stroke-width:2}.zone{fill:white;stroke:#d5dde8;stroke-width:2}.machine{fill:#dce4ed;stroke:#7a8da8;stroke-width:1.5}.machine-top{fill:#aabbd0}.belt{stroke:#e0e6ee;stroke-width:21;fill:none}.belt-boxes{stroke:#8197b1;stroke-width:13;stroke-dasharray:13 40;fill:none;animation:packages 6s linear infinite}.road-lines{stroke:#d8c58e;stroke-width:2;stroke-dasharray:8 7;fill:none}.worker{fill:#081430;stroke:white;stroke-width:4}.forklift{animation:forklift 11s ease-in-out infinite}.alert-zone{fill:#fff0e4;stroke:#c37822;stroke-width:2;opacity:0;transition:opacity .5s}.spill{opacity:0}.alert-marker{opacity:0}.alert-ring{fill:none;stroke:#cc6d25;stroke-width:2;animation:alert-pulse 2s ease-out infinite;transform-origin:650px 312px}.alert-icon{fill:#b4571d}.alert-marker text{fill:white;font-size:23px;text-anchor:middle;font-weight:700}.resolved-marker{opacity:0}.resolved-marker circle{fill:#298261}.resolved-marker path{stroke:white;stroke-width:4;fill:none}.response-route{fill:none;stroke:#c9a84c;stroke-width:3;stroke-dasharray:7 6;opacity:0}.doh-team{opacity:0}.doh-team text{font-size:11px;fill:#081430}.doh-team .team-person{fill:#081430;stroke:white;stroke-width:4}.cleaning-sweep{stroke:#298261;stroke-width:4;stroke-linecap:round;animation:sweep .9s ease-in-out infinite;transform-origin:0 0}.notification-path{stroke:#1e8b93;stroke-width:3;stroke-dasharray:4 6;fill:none;opacity:0;animation:packages 3s linear infinite}
.plant-demo[data-stage='1'] .alert-zone,.plant-demo[data-stage='2'] .alert-zone,.plant-demo[data-stage='3'] .alert-zone,.plant-demo[data-stage='4'] .alert-zone{opacity:1}
.plant-demo[data-stage='1'] .alert-marker,.plant-demo[data-stage='2'] .alert-marker,.plant-demo[data-stage='3'] .alert-marker,.plant-demo[data-stage='4'] .alert-marker{opacity:1}
.plant-demo[data-stage='2'] .notification-path,.plant-demo[data-stage='3'] .notification-path{opacity:1}
.plant-demo[data-stage='3'] .response-route,.plant-demo[data-stage='4'] .response-route{opacity:1}
.plant-demo[data-stage='3'] .doh-team,.plant-demo[data-stage='4'] .doh-team,.plant-demo[data-stage='5'] .doh-team{opacity:1}
.plant-demo[data-stage='5'] .resolved-marker{opacity:1}
.plant-demo[data-stage='1'] .event-badge,.plant-demo[data-stage='2'] .event-badge{background:#fff1e6;color:#994b1d}.plant-demo[data-stage='3'] .event-badge,.plant-demo[data-stage='4'] .event-badge{background:#fff4db;color:#855f16}
.plant-demo[data-stage='1'] .map-status,.plant-demo[data-stage='2'] .map-status,.plant-demo[data-stage='3'] .map-status,.plant-demo[data-stage='4'] .map-status{color:#ac5b21}
.plant-demo[data-paused='true'] svg *{animation-play-state:paused!important}
@keyframes packages{to{stroke-dashoffset:-106}}
@keyframes forklift{0%,100%{transform:translate(0,0)}45%,55%{transform:translate(180px,0)}}
@keyframes alert-pulse{0%{transform:scale(.8);opacity:.8}100%{transform:scale(1.5);opacity:0}}
@keyframes sweep{50%{transform:rotate(30deg)}}
@media(max-width:1000px){.demo-layout{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.plant-title{align-items:flex-start;flex-direction:column}.plant-title h2{font-size:34px}.incident-panel{padding:19px}.incident-panel h3{font-size:22px}.demo-stages{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.plant-demo{padding-block:40px}.plant-title h2{font-size:32px}.plant-title p{font-size:15px}.demo-layout{grid-template-columns:1fr}.plant-map{border-radius:8px}.map-topline{padding:13px 14px;align-items:flex-start}.map-topline strong{font-size:11px}.map-status{font-size:10px}.map-legend{gap:14px;font-size:10px;padding:12px}.demo-stages{gap:6px}.demo-stages button{font-size:11px;padding:12px 9px}.incident-panel>p{min-height:0}.incident-panel{padding:20px}.plant-title{gap:20px}.demo-controls button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.plant-demo svg *{animation:none!important;transition:none!important}}
