#incidentBubbles{position:absolute;inset:0;z-index:18;pointer-events:none;overflow:hidden}
.map-warning-popups-hidden #incidentBubbles,.map-warning-popups-hidden #mapContextPopup,.map-warning-popups-hidden #mapAdvicePopup{display:none!important}
#warningVisibilityControl{position:absolute;top:72px;right:14px;z-index:50;display:flex;align-items:center;gap:5px;min-height:35px;box-sizing:border-box;padding:5px 8px;border:1px solid #72908777;border-radius:6px;background:#10242cbd;color:#bfd7d2;font:600 10px system-ui;white-space:nowrap;pointer-events:auto;cursor:pointer}
.console-app #mapTimeHud>#warningVisibilityControl{top:calc(100% + 5px);right:0}
.console-app.map-dimensions-available #mapTimeHud>#warningVisibilityControl{right:88px}
#warningVisibilityControl input{width:13px;height:13px;margin:0;accent-color:#97d8bf;cursor:pointer}
#warningVisibilityControl:focus-within{outline:2px solid #acf2d7;outline-offset:2px}
.incident-leaders{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.incident-leaders path{fill:none;stroke:#b5747b;stroke-width:1;opacity:.55}
.incident-leaders path.is-active{stroke:#d9a3a8;opacity:.9}
.incident-bubble-group{position:absolute;display:flex;gap:4px;align-items:center;pointer-events:auto;white-space:nowrap;filter:drop-shadow(0 3px 5px #0007)}
.incident-bubble-group[hidden]{display:none!important}
.incident-bubble-group button{position:relative;min-height:27px;border:1px solid #ab5d65;border-radius:10px 10px 10px 3px;padding:4px 8px;background:#421f29f2;color:#ffe6e6;cursor:pointer;font:600 10px/1.3 system-ui;letter-spacing:.015em}
.incident-bubble-group .incident-advice-bubble{min-width:32px;border-color:#4b9684;border-radius:10px 10px 3px 10px;background:#12382ff2;color:#baeedb}
.incident-bubble-group button:hover,.incident-bubble-group button:focus-visible{filter:brightness(1.25);outline:1px solid #ead7b5;outline-offset:2px}
.incident-bubble-group.is-expanded .incident-warning-bubble{background:#6b2d3c;border-color:#e18991}
.incident-bubble-group.is-expanded .incident-advice-bubble{background:#295a48;border-color:#86d0ad}
.incident-bubble-group.is-pinned:after{content:'•';color:#dfe8ce;font-size:13px}
.incident-attention .incident-warning-bubble{animation:incident-attention 2s ease-in-out 2}
@keyframes incident-attention{50%{box-shadow:0 0 0 4px #d6687930}}
.incident-pair-expanded #mapContextPopup,.incident-pair-expanded #mapAdvicePopup{z-index:24;box-sizing:border-box;padding:10px 11px;border-radius:11px;box-shadow:0 8px 24px #0007;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#895360 #251c26}
.incident-pair-expanded #mapAdvicePopup{scrollbar-color:#498d80 #102724}
.incident-pair-expanded #mapContextPopup>header,.incident-pair-expanded #mapAdvicePopup>header{position:sticky;top:-10px;z-index:2;padding:6px 0;margin:-4px 0 5px;display:flex;align-items:center;gap:6px;background:#351721f5}
.incident-pair-expanded #mapAdvicePopup>header{background:#102724f5}
.incident-pair-expanded #mapContextTitle,.incident-pair-expanded #mapAdviceTitle{font-size:11px;line-height:1.35}
.incident-pair-expanded #mapContextClose,.incident-pair-expanded #mapAdviceClose{flex:0 0 auto;width:auto;min-width:48px;min-height:24px;padding:3px 6px;border:1px solid #95727b;border-radius:5px;font-size:9px;color:#eddae0;background:#ffffff07;cursor:pointer}
.incident-pair-expanded #mapAdviceClose{border-color:#497b6b;color:#c9e7df}
.incident-pair-expanded #mapContextBody{font-size:10px;line-height:1.45}
.incident-pair-expanded #mapContextBody .warning-status{margin:0 0 5px;font-size:8px}
.incident-pair-expanded #mapContextBody .warning-reason{margin:5px 0 7px;font-size:10px;line-height:1.5}
.incident-pair-expanded #mapContextBody .warning-metrics{gap:5px;margin:6px 0}
.incident-pair-expanded #mapContextBody .warning-metrics>div{padding:6px}
.incident-pair-expanded #mapContextBody .warning-metrics dt{font-size:8px}
.incident-pair-expanded #mapContextBody .warning-metrics dd{font-size:11px;margin-top:3px}
.incident-pair-expanded .warning-actions{gap:4px;flex-wrap:wrap}
.incident-pair-expanded #mapContextBody .btn{font-size:9px;min-height:27px;padding:5px 7px}
.incident-pair-expanded #warningHistory{max-height:155px;overflow:hidden}
.incident-pair-expanded #warningHistory svg{height:90px;max-height:90px}
.incident-pair-expanded #voltageWarningHistory{max-height:140px;overflow:auto}
.incident-pair-expanded #mapAdviceBody .warning-advice-eyebrow{font-size:8px;margin-bottom:7px}
.incident-pair-expanded #mapAdviceBody .warning-advice-card{padding:9px;margin:6px 0}
.incident-pair-expanded #mapAdviceBody .warning-advice-card h4{font-size:11px;margin:6px 0}
.incident-pair-expanded #mapAdviceBody .warning-advice-card-head{font-size:8px;gap:4px}
.incident-pair-expanded #mapAdviceBody .warning-advice-card-head b{font-size:7px}
.incident-pair-expanded #mapAdviceBody .warning-advice-effect{font-size:18px;margin:7px 0 4px}
.incident-pair-expanded #mapAdviceBody .warning-advice-detail,.incident-pair-expanded #mapAdviceBody .warning-advice-scope{font-size:8px;line-height:1.45}
.incident-pair-expanded #mapAdviceBody .warning-advice-toolbar{gap:5px;margin-top:7px;padding-top:7px}
.incident-pair-expanded #mapAdviceBody .btn{min-height:27px;padding:5px 7px;font-size:9px}
.incident-pair-expanded .incident-pinned>header strong:after{content:' · pinned';font-size:8px;font-weight:400;opacity:.65}
.incident-run-controls{position:sticky;top:25px;z-index:3;margin:0 -2px 9px;padding:7px 2px 8px;background:#251b24;border-bottom:1px solid #77505c}
.incident-run-controls[hidden]{display:none!important}
#mapAdvicePopup .incident-run-controls{background:#102724;border-color:#345e53}
.incident-run-status{margin-bottom:5px;color:#e7ede9;font:600 9px/1.3 system-ui;letter-spacing:.025em}
.incident-run-status:before{content:'';display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:#cfb17e}
.incident-run-controls[data-running=true] .incident-run-status:before{background:#81e5bd;box-shadow:0 0 6px #81e5bd80}
.incident-run-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.incident-run-buttons button{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-height:43px;padding:6px 3px;border:1px solid #637581;border-radius:6px;background:#162832;color:#dcebf0;cursor:pointer;font-family:system-ui}
.incident-run-buttons strong{font-size:11px;font-weight:650;line-height:1.2}
.incident-run-buttons small{font-size:8px;line-height:1.2;color:#b6cbd4;white-space:nowrap}
.incident-run-buttons button[aria-pressed=true]{background:#244c48;border-color:#86dabf;box-shadow:inset 0 0 0 1px #86dabf33;color:#ecfff8}
.incident-run-buttons button[data-playback-mode=auto][aria-pressed=true]{background:#203f59;border-color:#87c5f2;box-shadow:inset 0 0 0 1px #87c5f233}
.incident-run-buttons button:hover:not(:disabled){filter:brightness(1.2)}
.incident-run-buttons button:focus-visible{outline:2px solid #e5d6ad;outline-offset:2px}
.incident-run-buttons button:disabled{opacity:.5;cursor:wait}
.incident-run-buttons button[data-running=true] strong:before{content:'Ⅱ ';font-size:10px}
#deckPanel .deck-row:has(#playBtn){display:grid;grid-template-columns:1fr 1fr auto;gap:6px}
#deckPanel #playBtn,#deckPanel #autoBtn{min-height:30px;font-weight:650;border-color:#65847d;background:#183d34}
#deckPanel #autoBtn{border-color:#65849c;background:#183448}
#deckPanel #playBtn[aria-pressed=true],#deckPanel #autoBtn[aria-pressed=true]{box-shadow:inset 0 0 0 1px #a4dfcc;border-color:#a4dfcc;color:#effff9}
@media(prefers-reduced-motion:reduce){.incident-attention .incident-warning-bubble{animation:none}}
