/* SAFE demo signals: a slow halo, never full-screen flashing. */
.btn-simulate{background:#e5efdb;border-color:#c8d9b5;font-weight:600}.btn-simulate:hover{background:#d8e7cb}.head-actions{justify-content:flex-end}.nav-count{margin-left:auto;min-width:23px;height:23px;padding:0 6px;border-radius:8px;display:grid;place-items:center;background:#f6d9d2;color:#8f4034;font-size:11px;font-weight:700}
.alert-banner{--signal:#c97925;--signal-bg:#fff5e6;--signal-ring:#da9b4133;display:flex;align-items:center;gap:17px;margin:-5px 0 25px;padding:17px 21px;border:1px solid #edd3ae;border-left:5px solid var(--signal);border-radius:19px;background:var(--signal-bg);color:#7b5223;box-shadow:0 3px 13px #855c1910}.alert-banner.urgent{--signal:#c76d5e;--signal-bg:#fff2ee;--signal-ring:#d3795b33;color:#81483e;border-color:#ebc4b9}.alert-beacon{display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:50%;background:#fff;border:1px solid #e9c9bc;color:var(--signal)}.alert-beacon .icon{width:25px;height:25px}.alert-copy{flex:1;min-width:0}.alert-copy>strong{font-size:17px}.alert-copy b{font-size:22px;margin:0 3px}.alert-copy p{font-size:12px;margin-top:2px;line-height:1.7}.mini-label{font-size:10px;opacity:.75;white-space:nowrap}.alert-banner-actions{display:flex;gap:9px;align-items:center}.alert-open{background:#fffaf5;border-color:#e6c7b8;font-size:12px}.motion-control{background:transparent;border:0;padding:6px;font-size:11px;text-decoration:underline;text-underline-offset:3px;min-height:36px}
.urgent{--alarm-dark:#b73125;--alarm-bright:#e95332}.attention{--alarm-dark:#965700;--alarm-bright:#c77a05}
.attention-pulse{background:var(--alarm-dark,#b73125);color:#fff;animation:alarm-beat 1.6s steps(1,end) infinite}
@keyframes alarm-beat{0%,100%{background-color:var(--alarm-dark,#b73125);box-shadow:0 0 0 3px #fff,0 0 0 6px #bb392929}50%{background-color:var(--alarm-bright,#e95332);box-shadow:0 0 0 3px #fff,0 0 0 9px #e9533242,0 0 25px #d3443b42}}
body.motion-paused .attention-pulse{animation:none!important}
.event-row.needs-attention{margin:12px 0;padding:17px 15px;border:1px solid #efdab8;border-left:4px solid #d4a354;border-radius:15px;background:#fffbf1}.event-row.needs-attention.urgent{background:#fff8f5;border-color:#f0d8cf;border-left-color:#ce7d68}.event-tags{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.priority-label{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:600;color:#a27129;white-space:nowrap}.priority-label.urgent{color:#ad5747}.priority-label .icon{width:13px;height:13px}.site-has-alert{border-color:#e8c9bd}.site-alert-count{display:flex;align-items:center;width:fit-content;gap:5px;padding:3px 8px;border-radius:8px;background:#fff0ea;color:#a15340;font-size:11px;font-weight:600;margin-bottom:9px}.site-alert-count .icon{width:13px;height:13px}.table-needs-attention{background:#fffcf4}.table-needs-attention.urgent{background:#fff8f5}.table-needs-attention td:first-child{border-left:3px solid #d9a355}.table-needs-attention.urgent td:first-child{border-left-color:#ce7d68}.table-needs-attention .priority-label{margin-top:5px}
.alert-pin{z-index:2;width:42px;min-height:42px;color:#996521;background:#fff2d5;border-color:#d6a957}.alert-pin.urgent{color:#a34838;background:#ffece5;border-color:#ce7d68}.alert-pin.handled-pin{background:#e2f2f8;border-color:#74aac0;color:#3f7486}.alert-pin .pin-count{position:absolute;right:-7px;top:-8px;background:#fff;border:1px solid #e7c9b6;border-radius:50%;min-width:20px;height:20px;padding:0 4px;display:grid;place-items:center;color:inherit;font-size:10px}.map-key{display:flex;gap:17px;flex-wrap:wrap;padding:10px 19px 14px;font-size:11px;color:var(--muted)}.key-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.key-dot.urgent{background:#cd7b65}.key-dot.working{background:#74aac0}
.simulator-dialog{width:min(790px,calc(100vw - 32px));max-height:92dvh;border:1px solid #e3e9dd;border-radius:25px;padding:0;background:#fbfcf8;color:var(--ink);box-shadow:0 25px 100px #143e2938}.simulator-dialog::backdrop{background:#142f2466;backdrop-filter:blur(4px)}.simulator-dialog form{padding:29px}.simulator-header{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.simulator-header h2{font-size:29px;margin:12px 0 6px;letter-spacing:-.7px}.simulator-header p{font-size:13px;color:var(--muted)}.simulator-close{border:0;background:#eef2e8;border-radius:50%;font-size:25px;line-height:1;width:37px;min-height:37px;padding:0;flex-shrink:0}.scenario-fieldset{border:0;padding:0;margin:0 0 21px;min-width:0}.scenario-fieldset legend{font-weight:600;font-size:13px;margin-bottom:11px;padding:0}.scenario-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scenario-choice{position:relative;cursor:pointer;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e0e6d9;padding:16px 15px;border-radius:15px;min-width:0}.scenario-choice:has(input:checked){background:#eef5e7;border-color:#9fbb88;box-shadow:inset 0 0 0 1px #9fbb88}.scenario-choice:focus-within{outline:2px solid #59a7bc;outline-offset:2px}.scenario-choice input{position:absolute;right:12px;top:12px;accent-color:var(--forest);width:14px;height:14px;margin:0}.scenario-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#f0f5e9;color:#709354;flex-shrink:0}.scenario-choice strong{display:block;font-size:13px;padding-right:15px}.scenario-choice small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.scenario-choice:last-child{grid-column:1/-1}.sim-fields{display:grid;grid-template-columns:1fr 1.3fr;gap:12px}.sim-fields label{display:grid;gap:7px;font-size:12px;color:#526454;min-width:0}.sim-fields select{width:100%;font-size:13px;padding:10px}.sim-fields label:last-child{grid-column:1/-1}.sim-preview{display:flex;align-items:center;gap:13px;border-radius:15px;background:#f4f1e6;border:1px solid #ebe3c9;padding:16px;margin-bottom:17px}.preview-beacon{display:grid;place-items:center;width:39px;height:39px;background:#fffaf0;border-radius:50%;color:#b88a3e;flex-shrink:0}.sim-preview strong{font-size:13px}.sim-preview p{font-size:11px;color:#8f805f;margin-top:4px}.sim-check{display:flex;align-items:center;gap:9px;font-size:12px;margin:10px 0;cursor:pointer}.sim-check input{flex-shrink:0;margin:0}.sim-error{font-size:12px;color:#ae5643;margin-top:9px}.sim-error:empty{display:none}.simulator-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.simulator-footer small{max-width:300px;color:var(--muted);font-size:10px;line-height:1.7}.simulator-footer button{flex-shrink:0}
@media(max-width:1100px){.alert-banner{flex-wrap:wrap}.alert-banner-actions{margin-left:64px}.compact .event-row.needs-attention{padding:14px 12px}.event-row.needs-attention{gap:12px}.event-row.needs-attention img{width:90px}}
@media(max-width:650px){.page-head{flex-wrap:wrap}.head-actions{width:100%;justify-content:space-between}.head-actions .btn-simulate{font-size:12px;padding:8px 13px;min-height:38px}.alert-banner{padding:14px;gap:12px;margin:0 0 20px}.alert-copy>strong{font-size:15px}.alert-copy p{font-size:10px}.alert-copy b{font-size:19px}.alert-beacon{width:37px;height:37px}.alert-beacon .icon{width:20px;height:20px}.alert-banner-actions{margin-left:49px;flex-wrap:wrap}.alert-open{min-height:35px;font-size:11px;padding:5px 9px}.motion-control{font-size:10px}.alert-pin{width:31px;min-height:31px}.alert-pin .pin-count{min-width:16px;height:16px;font-size:9px;top:-6px;right:-6px}.map-key{font-size:10px;gap:9px}.simulator-dialog{width:calc(100vw - 20px);border-radius:20px;max-height:95dvh}.simulator-dialog form{padding:20px 16px}.simulator-header{gap:10px;margin-bottom:20px}.simulator-header h2{font-size:24px}.simulator-header p{font-size:11px}.simulator-header .pill{font-size:10px}.scenario-grid{grid-template-columns:1fr}.scenario-choice{padding:13px}.scenario-choice strong{font-size:13px}.sim-fields{grid-template-columns:1fr}.sim-fields label:last-child{grid-column:auto}.simulator-footer{flex-direction:column;align-items:stretch;gap:12px}.simulator-footer small{max-width:none;order:2;text-align:center}.simulator-footer button{width:100%}.site-alert-count{font-size:10px}}
.simulator-dialog{overflow:hidden}.simulator-dialog form{padding:0;display:flex;flex-direction:column;max-height:92dvh}.simulator-header{padding:24px 26px 19px;margin:0;flex-shrink:0}.simulator-body{overflow-y:auto;padding:0 26px 13px;min-height:0}.simulator-footer{margin:0;padding:17px 26px;flex-shrink:0;background:#fbfcf8;box-shadow:0 -5px 16px #214d2810}
@media(max-width:650px){.simulator-dialog form{padding:0;max-height:95dvh}.simulator-header{padding:20px 16px 17px;margin:0}.simulator-body{padding:0 16px 12px}.simulator-footer{padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.attention-pulse{animation:none!important}.simulator-dialog::backdrop{backdrop-filter:none}button{transition:none}}


/* Strong, labeled alarm symbols. The page and incident copy stay steady. */
.alert-banner{border-left-width:7px;border-color:#dcae75;background:#fff7e9;color:#77500c}.alert-banner.urgent{border-color:#dca79b;background:#fff0eb;color:#823429}.alert-beacon{width:68px;height:75px;display:flex;flex-direction:column;gap:1px;justify-content:center;align-items:center;border:3px solid white;border-radius:17px;color:white;flex-shrink:0}.alert-beacon .icon{width:35px;height:35px;stroke-width:2.4}.alert-beacon b{font-size:12px;line-height:1.2}.alert-copy>strong{font-size:19px}.alert-copy b{font-size:27px}.alert-copy p{font-size:13px}.alert-open{background:#fff;border:1px solid #ceaa9e;font-weight:600}.nav-count{background:#bb382b;color:#fff;font-size:12px;font-weight:800;min-width:25px;height:25px}.site-alert-count{background:#b73125;color:#fff;font-size:12px;padding:5px 9px;border-radius:9px}.site-alert-count .icon{width:16px;height:16px}.site-has-alert{border:2px solid #d49786}
.incident-alert-symbol{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;width:58px;min-height:65px;flex-shrink:0;border:3px solid #fff;border-radius:15px}.incident-alert-symbol .icon{width:32px;height:32px;stroke-width:2.3}.incident-alert-symbol b{font-size:11px;line-height:1.3}.event-row.needs-attention{border-left-width:5px}.event-row.needs-attention.urgent{border-left-color:#bb382b}.compact .event-row.needs-attention{display:grid;grid-template-columns:58px minmax(0,1fr);column-gap:13px;row-gap:10px}.compact .event-row.needs-attention>.incident-alert-symbol{grid-column:1;grid-row:1}.compact .event-row.needs-attention>img{grid-column:1;grid-row:2;width:58px;height:42px;float:none;margin:0}.compact .event-row.needs-attention>.grow{grid-column:2;grid-row:1/span 2}.compact .event-row.needs-attention>.actions{grid-column:1/-1;display:flex;margin:0;justify-content:flex-end}
.alert-pin{left:clamp(40px,var(--pin-x),calc(100% - 40px))!important;top:clamp(46px,var(--pin-y),calc(100% - 46px))!important;display:flex;align-items:center;justify-content:center;width:70px;min-height:72px;padding:5px;border-radius:18px;border:3px solid #fff;z-index:3;overflow:visible}.alert-pin.needs-attention,.alert-pin.needs-attention:hover{background:var(--alarm-dark,#b73125);color:white;outline:2px solid var(--alarm-dark,#b73125)}.alert-pin:after{content:'';position:absolute;bottom:-9px;left:calc(50% - 7px);width:14px;height:14px;background:inherit;transform:rotate(45deg);border-right:2px solid white;border-bottom:2px solid white;z-index:-1}.map-alert-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.alert-pin .icon{width:33px;height:33px;stroke-width:2.5}.map-alert-label{font-size:12px;line-height:1.25;white-space:nowrap}.alert-pin .pin-count{min-width:25px;height:25px;font-size:12px;font-weight:800;background:#fff;color:#93392d;right:-11px;top:-11px;border:2px solid #c7614d}.alert-pin.handled-pin{background:#d6edf5;border-color:#fff;color:#39758d;outline:2px solid #76a9bb;min-height:60px;width:59px;box-shadow:0 3px 8px #143e2920}.alert-pin.handled-pin .icon{width:25px;height:25px}.alert-pin.handled-pin .pin-count{color:#39758d;border-color:#76a9bb}.map-key .key-dot.urgent{background:#bb382b}.priority-label{font-size:11px}.priority-label.urgent{color:#aa3122;font-weight:700}
@media(max-width:1100px){.alert-banner-actions{margin-left:85px}.compact .event-row.needs-attention>img{width:58px}.event-row.needs-attention{column-gap:12px}}
@media(max-width:650px){.alert-beacon{width:56px;height:65px;border-radius:14px}.alert-beacon .icon{width:29px;height:29px}.alert-beacon b{font-size:10px}.alert-copy>strong{font-size:16px}.alert-copy b{font-size:23px}.alert-copy p{font-size:11px}.alert-banner-actions{margin-left:68px}.alert-pin{width:53px;min-height:60px;border-radius:14px;left:clamp(32px,var(--pin-x),calc(100% - 32px))!important;top:clamp(42px,var(--pin-y),calc(100% - 42px))!important}.alert-pin .icon{width:27px;height:27px}.map-alert-label{font-size:10px}.alert-pin .pin-count{min-width:21px;height:21px;font-size:10px;right:-9px;top:-9px}.alert-pin.handled-pin{width:46px;min-height:52px}.alert-pin.handled-pin .icon{width:23px;height:23px}.incident-alert-symbol{width:48px;min-height:59px;border-radius:12px}.incident-alert-symbol .icon{width:27px;height:27px}.incident-alert-symbol b{font-size:10px}.event-row.needs-attention>img{width:65px}.compact .event-row.needs-attention{grid-template-columns:48px minmax(0,1fr)}.compact .event-row.needs-attention>img{width:48px;height:36px}.site-alert-count{font-size:11px}}
.alert-copy{min-width:220px}
@media(max-width:650px){.alert-banner{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start}.alert-banner>.alert-beacon{grid-column:1;grid-row:1}.alert-copy{grid-column:2;grid-row:1;min-width:0}.alert-banner-actions{grid-column:1/-1;margin-left:0;justify-content:flex-end;padding-top:3px}.alert-copy>strong{line-height:1.7}.alert-copy p{line-height:1.7}}
@media(prefers-reduced-motion:reduce){.attention-pulse{animation:none!important}}
