.em-workspace{grid-column:1/-1;min-width:0;font-size:12px}.em-workspace nav{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.em-workspace button{padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);cursor:pointer}.em-workspace button[aria-current=page],.em-workspace form button{color:var(--primary);border-color:var(--primary);background:var(--primary-soft)}.em-workspace button:disabled{opacity:.45;cursor:default}.em-workspace section{padding:16px;border:1px solid var(--line);border-radius:9px}.em-workspace h3{margin:0 0 14px;font-size:15px}.em-workspace p{color:var(--muted);line-height:1.8}.em-scroll{overflow:auto}.em-workspace table{border-collapse:collapse;width:100%;text-align:left}.em-workspace th,.em-workspace td{padding:12px 9px;border-bottom:1px solid var(--line);white-space:nowrap}.em-workspace th{color:var(--muted);font-weight:500}.em-workspace form{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:20px 0}.em-workspace label{display:flex;flex-direction:column;gap:8px}.em-workspace label:has([type=checkbox]){flex-direction:row;align-items:center}.em-workspace input:not([type=checkbox]),.em-workspace select,.em-workspace textarea{color:var(--ink);font:inherit;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:10px}.em-workspace textarea{width:min(460px,70vw);min-height:90px}.em-log{margin-top:14px}.section-head h2 button{background:none;border:0;padding:0;text-align:left;font:inherit;cursor:pointer}#emPanelLogs{font-size:11px;line-height:1.7;color:var(--muted)}

.em-scroll-panel{overflow-y:auto;scrollbar-width:thin}.em-panel{display:flex;flex-direction:column;gap:10px}.em-panel .section{padding:13px}.em-incident h3{font-size:15px;margin:0 0 8px}.em-incident p{font-size:11px;line-height:1.7;color:var(--muted)}.em-incident>small{display:block;margin-top:9px;font-size:10px;color:var(--muted)}.em-danger{color:var(--danger)!important}.em-good{color:var(--ok)}.em-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.em-entry{background:var(--bg);border:1px solid var(--line);border-radius:7px;text-align:left;padding:11px;cursor:pointer;min-width:0}.em-entry b{display:block;font-size:12px;font-weight:500}.em-entry b span{float:right;color:var(--space)}.em-entry small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:7px}.em-entry:hover,.em-role-row:hover{border-color:var(--space)}.em-dispatch-link{display:flex;flex-direction:column;gap:7px;border:1px solid var(--primary);border-radius:7px;background:var(--primary-soft);padding:10px;width:100%;text-align:left;cursor:pointer;margin-top:9px}.em-dispatch-link b{font-size:12px;color:var(--primary)}.em-dispatch-link span{font-size:10px;color:var(--ink)}.em-stage-strip{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding-bottom:9px;border-bottom:1px solid var(--line)}.em-next-tasks>button{display:flex;width:100%;gap:9px;align-items:center;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;padding:10px 0;cursor:pointer}.em-next-tasks>button>span{font-size:11px;color:var(--space)}.em-next-tasks div{flex:1}.em-next-tasks b{display:block;font-size:11px;font-weight:500}.em-next-tasks small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.em-next-tasks em{font-size:10px;font-style:normal;color:var(--warning)}.em-panel-logs p{display:flex;gap:9px;line-height:1.6;font-size:10px;margin:8px 0}.em-panel-logs time{color:var(--space);flex-shrink:0}.em-panel-logs span{color:var(--muted)}.em-refuge{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 0;font-size:12px}.em-refuge small,.em-refuge .progress{grid-column:1/-1}.em-refuge small{font-size:10px;color:var(--muted)}.em-route-note{font-size:11px;line-height:1.7;color:var(--muted)}.em-wide{width:100%;padding:9px;border:1px solid var(--line);border-radius:6px;background:var(--bg);cursor:pointer;font-size:11px}.em-role-row{background:none;border:1px solid var(--line);border-radius:7px;width:100%;padding:10px;text-align:left;margin-bottom:8px;cursor:pointer}.em-role-row b{display:block;font-size:12px;font-weight:500}.em-role-row small{display:block;margin:8px 0;font-size:10px;color:var(--muted);line-height:1.6}.em-role-row span{font-size:10px;color:var(--primary)}.em-workspace td{white-space:normal;line-height:1.65;min-width:70px}.em-workspace td:nth-last-child(2){max-width:300px}.em-workspace h3:not(:first-child){margin-top:22px}.em-workspace .em-demo-note{color:var(--warning);font-size:11px}.em-app-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;margin:20px 0}.em-app-summary{border:0!important;padding:0!important}.em-phone{width:320px;max-width:100%;border:1px solid var(--line);border-radius:26px;background:var(--bg);padding:8px;box-shadow:0 12px 30px #0005}.em-phone header{background:var(--surface);padding:16px;border-radius:20px 20px 0 0}.em-phone header span{display:block;color:var(--muted);font-size:10px;margin-bottom:12px}.em-phone header b{font-size:18px}.em-phone header small{font-size:12px;color:var(--muted);font-weight:400}.em-phone-body{padding:16px}.em-phone-body h3{font-size:16px;line-height:1.5;margin-top:12px}.em-phone-body article{margin:14px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.em-phone-body h4{font-size:14px;margin:0}.em-phone-body button{display:block;width:100%;margin:8px 0;white-space:normal}.em-phone-body footer{font-size:10px;line-height:1.6;color:var(--muted);margin-top:18px}.em-pill{font-size:10px;color:var(--danger)}@media(max-width:680px){.em-app-layout{grid-template-columns:1fr}.em-phone{justify-self:center}.em-scroll-panel{overflow:visible}}
.em-scroll-panel{overflow-x:hidden}.em-panel{width:100%;min-width:0;flex-shrink:0}.em-workspace nav{position:sticky;top:0;z-index:2;padding:8px 0;background:oklch(0.97 0.012 178)}.em-workspace td button{margin:4px 0}
.em-metric-link{font:inherit;color:inherit;border:0;text-align:left;cursor:pointer;border-radius:0;transition:background .15s}.em-metric-link:hover{background:var(--space-soft)}.em-metric-link:focus-visible{outline:2px solid var(--space);outline-offset:-3px}.em-metric-link>span{color:var(--muted)}@media(prefers-reduced-motion:reduce){.em-metric-link{transition:none}}
.em-ai-flow{margin-bottom:24px}.em-ai-inputs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.em-ai-inputs span{padding:8px 11px;background:var(--space-soft);border:1px solid var(--line);border-radius:6px;color:var(--space);font-size:11px}.em-ai-details{margin-top:16px}.em-ai-details summary{cursor:pointer;padding:12px 0;color:var(--muted)}.em-ai-flow>button{margin:8px 8px 8px 0}
.em-direction-trigger{display:flex;align-items:center;gap:10px;width:100%;padding:8px;background:var(--space-soft);border:1px solid var(--line);border-radius:7px;text-align:left;cursor:pointer;margin:12px 0}.em-direction-trigger img{width:72px;aspect-ratio:16/9;object-fit:cover;border-radius:4px}.em-direction-trigger b{display:block;font-size:11px;font-weight:500;color:var(--ink)}.em-direction-trigger small{display:block;font-size:10px;color:var(--muted);line-height:1.5;margin-top:5px}.em-direction-trigger:hover{border-color:var(--space)}.em-direction-video{display:block;width:100%;max-height:55vh;background:#000;border:1px solid var(--line);border-radius:8px}.em-direction-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.em-direction-steps b{font-size:12px;color:var(--space)}@media(max-width:620px){.em-direction-steps{grid-template-columns:1fr;gap:6px}}
.em-review-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.em-review-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.em-review-metrics>div{border:1px solid var(--line);padding:16px;border-radius:8px}.em-review-metrics small{display:block;color:var(--muted);margin-bottom:8px}.em-review-metrics b{font-size:24px}.em-review-section{border:1px solid var(--line);border-radius:8px;margin:12px 0;overflow:hidden}.em-review-section summary{cursor:pointer;padding:15px;font-weight:600}.em-review-section summary span{float:right;color:var(--muted);font-weight:400}.em-review-section .em-table-wrap{margin:0}.em-review-section table{margin:0}@media(max-width:650px){.em-review-head{align-items:flex-start;flex-direction:column}.em-review-metrics{grid-template-columns:repeat(2,1fr)}}
/* Larger touch targets and progressive disclosure for urgent response. */
.em-workspace{font-size:14px}.em-workspace button,.em-workspace select,.em-workspace input:not([type=checkbox]){min-height:44px}.em-workspace details>summary{padding:14px 0;cursor:pointer;color:var(--muted)}.em-workspace h3{font-size:18px}.em-workspace td{line-height:1.6}.em-workspace .em-demo-note{font-size:12px}.em-workspace .em-ai-flow{margin-bottom:16px}
.em-analysis-progress{max-width:560px;margin:14px 0 20px}.em-analysis-progress>div{display:flex;justify-content:space-between;gap:16px;margin-bottom:8px;font-size:12px}.em-analysis-progress progress{display:block;width:100%;height:8px;appearance:none;border:0;border-radius:8px;background:var(--line)}.em-analysis-progress progress::-webkit-progress-bar{background:var(--line);border-radius:8px}.em-analysis-progress progress::-webkit-progress-value{background:var(--primary);border-radius:8px}.em-analysis-progress progress::-moz-progress-bar{background:var(--primary);border-radius:8px}
.em-spatial-map.fire .route,.em-spatial-map.fire .exit{opacity:.2}.em-spatial-map.fire .em-fire-point{stroke-width:16;stroke-opacity:.35;filter:drop-shadow(0 0 8px var(--danger))}.em-spatial-map.routes .route{stroke-width:5;opacity:1}.em-spatial-map.routes .exit{stroke:var(--primary);stroke-width:3}.em-spatial-map .em-fire-point{stroke:var(--danger);stroke-width:5;paint-order:stroke;stroke-opacity:.25}

.em-spatial-map.routes .em-fire-point{opacity:.45}.em-spatial-map.routes .route{filter:drop-shadow(0 0 5px var(--primary))}
.em-resource-points{opacity:.18}.em-resource-points circle{fill:var(--primary);stroke:var(--primary);stroke-width:3}.em-spatial-map.resources .em-resource-points{opacity:1;filter:drop-shadow(0 0 6px var(--primary))}.em-spatial-map.resources .route,.em-spatial-map.resources .em-fire-point{opacity:.22}
