:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --line: #d7dee8;
  --panel: #f8fafc;
  --paper: #ffffff;
  --soft: #eef3f8;
  --blue: #2563a9;
  --blue-dark: #1d4f86;
  --red: #c24141;
  --green: #20805c;
  --amber: #c47a22;
  --shadow: 0 24px 70px rgba(15, 23, 42, .16);
  --panel-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #eef3f8;
}

body.dispatch-active {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 1px solid #c2ccda;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  min-height: 32px;
  padding: 0 12px;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(15, 23, 42, .04);
}

button:hover {
  border-color: #7b8da3;
  background: #f8fbfd;
}

button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.pending-call-alert {
  border-color: #c62828;
  background: #ffe1e1;
  color: #7a1010;
  animation: callBlink .85s infinite;
}

input,
select {
  width: 100%;
  border: 1px solid #c2ccda;
  border-radius: 7px;
  background: white;
  min-height: 34px;
  padding: 6px 8px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  letter-spacing: 0;
}

.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.start-screen {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.start-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}

h1 {
  margin-bottom: 0;
  font-size: 38px;
}

h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.login-box {
  display: grid;
  grid-template-columns: 150px 150px auto;
  gap: 8px;
  align-items: end;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 26px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px;
}

.screen-preview {
  min-height: 340px;
  display: grid;
  grid-template-columns: 1fr 180px;
  border: 1px solid #94a6b2;
  background: #d5dee6;
}

.preview-map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.52) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(rgba(255,255,255,.52) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(28deg, transparent 0 33%, rgba(78, 129, 96, .18) 33% 43%, transparent 43%),
    linear-gradient(118deg, transparent 0 46%, rgba(45, 106, 155, .18) 46% 52%, transparent 52%),
    #dfe8dc;
}

.preview-side {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #edf2f5;
  border-left: 1px solid #94a6b2;
}

.preview-side span {
  border: 1px solid #b8c4ce;
  background: white;
}

.intro-copy {
  align-self: center;
}

.intro-copy h2 {
  font-size: 28px;
}

.intro-copy p {
  color: #43515f;
  line-height: 1.55;
}

.shift-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.shift-form h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

label {
  display: grid;
  gap: 6px;
  color: #3f4d59;
  font-size: 13px;
}

.primary-action {
  min-width: 130px;
  background: linear-gradient(#2f78bf, #1d5287);
  border-color: #16446f;
  color: white;
}

.primary-action:hover {
  background: linear-gradient(#2b70b2, #184a7b);
  border-color: #123b61;
  color: white;
}

.dispatch-screen {
  width: 100vw;
  height: 100dvh;
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr) auto;
  overflow: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border-bottom: 1px solid #d6dee8;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}

.radio-alerts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

.radio-alert {
  min-height: 24px;
  padding: 0 7px;
  border: 2px solid #f0b429;
  border-radius: 999px;
  background: #fff4b8;
  color: #5d3b00;
  font-size: 12px;
  font-weight: 700;
  animation: alertPulse 1s infinite;
}

.radio-alert-0 {
  border-color: #f0b429;
  background: #ffdf6b;
  color: #5d2600;
}

.radio-title-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.topbar strong {
  display: block;
}

.topbar span {
  color: var(--muted);
  font-size: 13px;
}

.topbar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.topbar-controls select {
  width: auto;
  min-width: 72px;
}

.workspace {
  min-height: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(520px, 1.45fr) minmax(300px, .7fr) minmax(360px, .86fr);
  grid-template-rows: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 12px;
  overflow: hidden;
}

.panel {
  min-height: 0;
  border: 1px solid #d4dce7;
  border-radius: 12px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
}

.panel-title {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-bottom: 1px solid #d9e1eb;
  background: #fff;
}

.panel-title h2 {
  margin: 0;
  font-size: 15px;
}

.panel-title span,
.panel-title select {
  color: #445360;
  font-size: 13px;
}

.map-panel {
  grid-row: 1;
  grid-column: 1;
}

.incident-panel {
  grid-row: 1;
  grid-column: 2;
}

.vehicle-panel {
  grid-row: 1;
  grid-column: 3;
}

.call-panel {
  grid-row: 2;
  grid-column: 1 / 3;
}

.radio-panel {
  grid-row: 2;
  grid-column: 3;
}

.map {
  flex: 1;
  min-height: 0;
  background: #dce5d8;
}

.leaflet-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: #dce5d8;
}

.leaflet-pane,
.leaflet-map-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile {
  width: 256px;
  height: 256px;
  border: 0;
  filter: inherit;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-control-zoom {
  margin: 10px;
  border: 1px solid #8ea0b1;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(18, 32, 45, .16);
}

.leaflet-control-zoom a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #173d6b;
  text-decoration: none;
  font-weight: 700;
  background: white;
}

.leaflet-control-zoom a + a {
  border-top: 1px solid #d2dbe3;
}

.leaflet-control-attribution {
  margin: 0;
  padding: 2px 6px;
  background: rgba(255, 255, 255, .86);
  color: #425160;
  font-size: 11px;
}

.leaflet-control-attribution a {
  color: #245c9f;
}

.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
  padding: 8px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 28px rgba(18, 32, 45, .22);
}

.leaflet-popup-tip-container {
  display: none;
}

.map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  color: #4d5c68;
  padding: 20px;
  text-align: center;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #c8d1d9;
}

.tab.active {
  background: #2563a9;
  border-color: #1d4f86;
  color: white;
}

.incident-list,
.vehicle-list,
.log-window,
.dialog-vehicle-list,
.editor-point-list {
  overflow: auto;
  padding: 8px;
}

.empty-state {
  color: var(--muted);
}

.incident-card,
.vehicle-row,
.log-entry,
.dialog-vehicle-row,
.editor-point {
  border: 1px solid #c5d0d9;
  border-radius: 10px;
  background: white;
  padding: 8px;
}

.admin-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-top: 1px solid #c8d1dc;
  background: #f5f7fa;
  color: #394756;
  font-size: 12px;
}

.admin-status-chip {
  border: 1px solid #d4dce7;
  border-radius: 999px;
  padding: 2px 8px;
  background: #fff;
}

.admin-status-chip.ok {
  border-color: #a7cfb3;
  background: #eefaf3;
  color: #1f5f41;
}

.admin-status-chip.warn {
  border-color: #efc083;
  background: #fff5e8;
  color: #87530f;
}

.admin-status-chip.neutral {
  border-color: #c8d1dc;
  background: #edf0f3;
  color: #4d5966;
}

.foreign-vehicle-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  color: #334252;
}

.foreign-vehicle-toggle input {
  width: auto;
  min-height: auto;
}

.foreign-hospital-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 1px dashed #b9c5d1;
  border-radius: 8px;
  background: #f2f5f8;
  color: #596778;
  font-size: 12px;
  font-weight: 700;
}

.foreign-hospital-toggle input {
  width: auto;
  min-height: auto;
}

.incident-card + .incident-card,
.vehicle-row + .vehicle-row,
.log-entry + .log-entry,
.dialog-vehicle-row + .dialog-vehicle-row,
.editor-point + .editor-point {
  margin-top: 7px;
}

.editor-point.foreign-point {
  border-style: dashed;
  background: #f5f7f9;
  opacity: .76;
}

.incident-card.active {
  border-color: #2d6fb5;
  box-shadow: inset 3px 0 0 #2d6fb5, 0 10px 24px rgba(37, 99, 169, .08);
}

.incident-card.attention {
  border-color: #e0ad35;
  background: #fffaf0;
}

.incident-summary {
  width: 100%;
  min-height: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.incident-summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.incident-state {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 7px;
  background: #eef4fb;
  color: #24517f;
  font-size: 12px;
  font-weight: 700;
}

.incident-details {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.incident-vehicle-status {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 7px;
  border: 1px solid #d5e0ea;
  border-radius: 8px;
  background: #f8fbfd;
}

.incident-vehicle-status > strong {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #334252;
}

.incident-vehicle-chip {
  display: grid;
  grid-template-columns: minmax(74px, .34fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 7px;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid #d6e0ea;
  border-radius: 7px;
  background: white;
  color: #394756;
}

.incident-vehicle-chip b,
.incident-vehicle-chip small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.incident-vehicle-chip small {
  grid-column: auto;
  color: #5d6b78;
}

.patient-assignment-list {
  display: grid;
  gap: 8px;
  padding: 7px;
  border: 1px solid #d6e0ea;
  border-radius: 8px;
  background: #fbfdff;
}

.patient-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.patient-table th,
.patient-table td {
  padding: 5px 6px;
  border-bottom: 1px solid #e2eaf1;
  text-align: left;
  vertical-align: top;
}

.patient-table th {
  color: #415162;
  background: #edf4fa;
  font-weight: 700;
}

.treatment-progress {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 8px;
  align-items: center;
  color: #415162;
  font-size: 12px;
}

.treatment-progress i {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #dbe6ef;
}

.treatment-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2d75b8;
}

.mini-progress {
  overflow: hidden;
  height: 5px;
  margin-top: 4px;
  border-radius: 999px;
  background: #dbe6ef;
}

.mini-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2d75b8;
}

.incident-card h3,
.vehicle-row h3,
.dialog-vehicle-row h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.incident-card p,
.vehicle-row p,
.log-entry p,
.dialog-vehicle-row p,
.editor-point p {
  margin: 0;
  color: #53616e;
  font-size: 13px;
  line-height: 1.35;
}

.incident-card button {
  margin-top: 8px;
}

.transport-choice {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #b8c7d4;
  border-radius: 8px;
  background: #f4f8fb;
}

.transport-choice-head,
.incident-report-card {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid #d5e0ea;
  border-radius: 8px;
  background: #ffffff;
}

.transport-choice-head strong,
.incident-report-card strong {
  color: #1f3448;
  font-size: 13px;
}

.transport-choice-head span,
.incident-report-card p {
  margin: 0;
  color: #536170;
  font-size: 12px;
  line-height: 1.35;
}

.assistance-decision {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #efb368;
  border-radius: 8px;
  background: #fff7e8;
}

.assistance-decision button {
  margin-top: 0;
  text-align: left;
}

.transport-choice strong {
  font-size: 13px;
}

.transport-choice button {
  margin-top: 0;
  min-height: 28px;
  text-align: left;
}

.transport-choice details {
  border: 1px solid #d6e0ea;
  border-radius: 8px;
  background: white;
  padding: 6px 8px;
}

.transport-choice summary {
  cursor: pointer;
  font-weight: 700;
}

.hospital-choice.suitable {
  border-color: rgba(32, 128, 92, .45);
  background: #effaf4;
}

.hospital-choice.unsuitable {
  border-color: rgba(194, 65, 65, .45);
  background: #fff1f1;
}

.hospital-choice.foreign-hospital {
  border-style: dashed;
  opacity: .68;
  filter: grayscale(.25);
}

.handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.handoff-actions button {
  margin-top: 0;
  min-height: 27px;
  font-size: 12px;
}

.service-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
}

.service-box {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 8px;
  padding: 7px 8px;
  border: 1px solid #c5d1dc;
  border-radius: 8px;
  background: #f7fafc;
  color: #25313d;
  font-size: 12px;
}

.service-box span {
  text-align: right;
  color: #5a6773;
}

.service-box button {
  grid-column: 1 / -1;
  margin-top: 2px;
  min-height: 26px;
  font-size: 12px;
}

.service-alarmiert {
  border-color: #e0ad35;
  background: #fff7dd;
}

.service-unterwegs {
  border-color: #2d75b8;
  background: #eaf3ff;
}

.service-an-Einsatzstelle {
  border-color: #20805c;
  background: #eefaf3;
}

.log-window {
  flex: 1;
  min-height: 0;
  background: #fbfdff;
}

.log-entry {
  border-left-width: 4px;
}

.log-entry.call {
  border-left-color: var(--blue);
}

.log-entry.radio {
  border-left-color: var(--green);
}

.log-entry.warn {
  border-left-color: var(--green);
}

.log-entry.radio-speech {
  background: #fff0dc;
  border-color: #efc083;
  border-left-color: #f97316;
}

.log-entry.radio-critical {
  background: #ffe1e1;
  border-color: #f0a7a7;
  border-left-color: #dc2626;
}

.log-entry.radio-status {
  background: #fff7dd;
  border-color: #ead08a;
  border-left-color: #d69b12;
}

.log-entry.admin {
  background: #edf0f3;
  border-color: #c8d0d8;
  border-left-color: #7b8492;
}

.log-entry.radio-new {
  background: #e8f2ff;
  border-left-color: #2d75b8;
}

.call-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 48px;
  padding: 8px;
  border-top: 1px solid #c8d1d9;
  background: #f7fafc;
}

.call-disposition-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d6e0ea;
  border-radius: 10px;
  background: #f8fbfd;
}

.call-disposition-summary h3,
.call-disposition-summary p {
  margin: 0;
}

.keyword-search-box {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.keyword-inline-search {
  margin-bottom: 6px;
}

.keyword-search-results {
  width: 100%;
  min-height: 140px;
  margin-top: 8px;
  border: 1px solid #bfd0e2;
  border-radius: 8px;
  background: #fff;
}

.multi-select-box {
  display: grid;
  gap: 7px;
}

.multi-select-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.selected-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 28px;
  align-items: center;
  color: #617182;
  font-size: 12px;
}

.selected-chip {
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  border-color: #bfd0e2;
  background: #eef4fb;
  color: #24517f;
  font-size: 12px;
  font-weight: 700;
}

.poi-category-grid {
  max-height: 240px;
  overflow: auto;
  padding-right: 2px;
}

.incident-card.slow-alert {
  animation: slowYellowPulse 2.4s ease-in-out infinite;
}

.call-type {
  justify-self: start;
  border-radius: 999px;
  padding: 3px 8px;
  background: #e8f2ff;
  color: #24517f;
  font-size: 12px;
  font-weight: 700;
}

.call-location {
  color: #31465a;
  font-weight: 700;
}

.call-disposition-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.call-disposition-actions .primary-action,
#call-create-button {
  grid-column: span 2;
}

.vehicle-row,
.dialog-vehicle-row,
.editor-point {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.vehicle-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 6px 8px;
  gap: 8px;
}

.vehicle-row.active {
  border-color: #2d6fb5;
}

.vehicle-row.shift-warning {
  border-color: #f0a0a0;
  background: #fff2f2;
}

.vehicle-summary {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 58px minmax(100px, .85fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.vehicle-summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #52606d;
  font-size: 12px;
}

.vehicle-summary .status-pill {
  justify-self: end;
}

.vehicle-station-shift {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.vehicle-station-shift span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shift-current {
  justify-self: start;
  border: 1px solid #c1d5a4;
  border-radius: 999px;
  padding: 1px 6px;
  background: #edf8df;
  color: #315414;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.shift-current-inactive {
  border-color: #c8d1dc;
  background: #edf0f3;
  color: #4d5966;
}

.shift-current-ending {
  border-color: #e5bd4d;
  background: #fff6cf;
  color: #6f4b00;
}

.shift-current-expired {
  border-color: #e0b3b3;
  background: #fff2f2;
  color: #8a2424;
}

.vehicle-type-label {
  justify-self: start;
  min-width: 46px;
  border-radius: 999px;
  padding: 3px 7px;
  background: #e8f1fb;
  color: #174d82 !important;
  font-size: 11px !important;
  font-weight: 800;
  text-align: center;
}

.vehicle-type-label.vehicle-type-KTW {
  background: #f5c84c;
  color: #2e2b19 !important;
}

.vehicle-type-label.vehicle-type-RTW {
  background: #f28d52;
  color: #2e2b19 !important;
}

.vehicle-type-label.vehicle-type-NEF,
.vehicle-type-label.vehicle-type-RTH {
  background: #d94b4b;
  color: #ffffff !important;
}

.vehicle-type-label.vehicle-type-REF {
  background: #9aa4ae;
  color: #ffffff !important;
}

.start-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 7px;
}

.check-grid label {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 7px 9px;
  border: 1px solid #d4dfe8;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
}

.check-grid input[type="checkbox"],
.check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  justify-self: center;
  accent-color: #778b2e;
}

.check-row {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid #d4dfe8;
  border-radius: 8px;
  background: #fff;
}

.vehicle-details {
  display: grid;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid #e1e8ef;
}

.vehicle-shift-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #53616e;
  font-size: 12px;
}

.vehicle-shift-list strong {
  margin-right: 2px;
  color: #334252;
  font-size: 12px;
}

.vehicle-shift-chip {
  border: 1px solid #d5dee9;
  border-radius: 999px;
  padding: 2px 7px;
  background: #f7fafc;
  color: #596778;
  font-weight: 700;
}

.vehicle-shift-chip.active {
  border-color: #8fb864;
  background: #e8f7d8;
  color: #284d10;
  box-shadow: inset 0 0 0 1px rgba(143, 184, 100, .28);
}

.vehicle-shift-chip.ending {
  border-color: #e5bd4d;
  background: #fff6cf;
  color: #6f4b00;
}

.vehicle-shift-chip.expired {
  border-color: #e0b3b3;
  background: #fff2f2;
  color: #8a2424;
}

.vehicle-row h3 span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.vehicle-row p {
  font-size: 12px;
  line-height: 1.2;
}

.vehicle-actions {
  grid-column: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.vehicle-actions button {
  min-height: 23px;
  padding: 0 6px;
  font-size: 11px;
}

.status-stack {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.dialog-vehicle-row.selected {
  border-color: #2d75b8;
  background: #edf6ff;
}

.dialog-vehicle-row.foreign-vehicle-row {
  border-style: dashed;
  background: #f5f7f9;
  opacity: .78;
}

.dialog-vehicle-row.foreign-vehicle-row.selected {
  border-color: #2d75b8;
  background: #edf6ff;
  opacity: .9;
}

.dialog-vehicle-row {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: left;
}

.dialog-vehicle-row > div {
  min-width: 0;
}

.dialog-vehicle-row h3,
.dialog-vehicle-row p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-vehicle-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 6px;
}

.quick-vehicle-picker button {
  min-height: 28px;
  padding: 0 7px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-type-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  margin-right: 5px;
  border-radius: 999px;
  padding: 2px 6px;
  background: #e8f2ff;
  color: #24517f;
  font-size: 11px;
}

.status-pill {
  min-width: 34px;
  text-align: center;
  border-radius: 999px;
  padding: 4px 6px;
  color: white;
  font-weight: 700;
  background: #5f6b76;
}

.status-1 {
  background: #8bdc9d;
  color: #12381e;
}

.status-2 {
  background: #197347;
}

.status-3 {
  background: #f0c94a;
  color: #3d3100;
}

.status-4 {
  background: #c24141;
}

.status-7 {
  background: #7c3aed;
}

.status-8 {
  background: #2563a9;
}

.status-6 {
  background: #7b8492;
}

#test-mode-button.active {
  border-color: #f4b942;
  background: #fff6d8;
  color: #5b3a00;
}

.radio-5 {
  background: var(--amber);
}

.radio-0 {
  background: var(--red);
}

.assigned-vehicles-note,
.coverage-row {
  border: 1px solid #c5d0d9;
  border-radius: 8px;
  background: white;
  padding: 8px;
}

.assigned-vehicles-note {
  color: var(--muted);
  font-size: 13px;
  display: grid;
  gap: 7px;
}

.assigned-vehicle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.assigned-vehicle-line button {
  min-height: 26px;
  padding: 0 8px;
  color: var(--red);
}

.coverage-list {
  display: grid;
  gap: 8px;
}

.coverage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.coverage-row h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.coverage-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.preview-pin,
.preview-vehicle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(20, 30, 40, .22);
}

.preview-pin {
  width: 34px;
  height: 34px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
}

.map-marker.coverage {
  background: #f4b942;
  color: #1f2933;
  border: 2px solid white;
}

.station {
  background: var(--green);
}

.hospital {
  background: var(--blue);
}

.incident {
  background: var(--red);
}

.preview-vehicle {
  width: 42px;
  height: 24px;
  border-radius: 4px;
  border: 2px solid white;
  background: #f5c84c;
  color: #2e2b19;
}

.map-marker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 700;
  border: 2px solid white;
  border-radius: 10px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(18, 32, 45, .28);
}

.map-marker.station {
  background: var(--green);
  border-radius: 8px;
}

.map-marker.station-empty {
  background: var(--red);
}

.map-marker.station-available {
  background: var(--green);
}

.map-marker.hospital {
  background: var(--blue);
  border-radius: 50%;
  outline: 2px solid rgba(255, 255, 255, .75);
  outline-offset: 2px;
}

.map-marker.foreign-map-point {
  opacity: .55;
  filter: grayscale(.35);
  border-style: dashed;
  box-shadow: 0 2px 8px rgba(18, 32, 45, .16);
}

.map-marker.poi {
  background: #6b7280;
  border-radius: 6px;
}

.map-marker.incident {
  background: var(--red);
}

.map-marker.incident.attention {
  animation: pulse 1.5s infinite;
}

.vehicle-marker {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px;
  min-width: 64px;
  height: 30px;
  position: relative;
  z-index: 710;
  padding: 1px 5px;
  border: 2px solid white;
  border-radius: 7px;
  background: #9aa4ae;
  color: #2e2b19;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(18, 32, 45, .28);
}

.vehicle-marker-text {
  display: grid;
  grid-template-rows: 14px 12px;
  place-items: center;
}

.vehicle-marker strong,
.vehicle-marker small {
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-marker small {
  font-size: 8px;
  line-height: 1;
}

.vehicle-marker-status {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .8);
  color: white;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.vehicle-marker.vehicle-KTW {
  background: #f5c84c;
}

.vehicle-marker.vehicle-RTW {
  background: #f28d52;
}

.vehicle-marker.vehicle-NEF,
.vehicle-marker.vehicle-RTH {
  background: #d94b4b;
  color: white;
}

.vehicle-marker.vehicle-REF {
  background: #9aa4ae;
  color: white;
}

.vehicle-marker.signal {
  border-color: #2f80ed;
  animation: signalPulse 1s infinite;
}

.vehicle-marker.radio-attention {
  box-shadow: 0 0 0 4px rgba(240, 180, 41, .4), 0 2px 8px rgba(18, 32, 45, .28);
}

.map-popup-actions {
  min-width: 190px;
  display: grid;
  gap: 6px;
  text-align: left;
}

.map-popup-actions p {
  margin: 0;
  color: #4c5967;
  font-size: 12px;
}

.map-popup-actions button {
  min-height: 27px;
  padding: 0 8px;
  font-size: 12px;
}

.modal {
  width: min(820px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

#editor-dialog {
  width: min(1060px, calc(100vw - 28px));
}

.modal::backdrop {
  background: rgba(9, 18, 27, .34);
}

.modal-card {
  max-height: min(760px, calc(100dvh - 28px));
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid #c9d4e2;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-card.draggable-modal {
  position: fixed;
  margin: 0;
}

.modal-header {
  cursor: move;
}

.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
}

.modal-header {
  justify-content: space-between;
  border-bottom: 1px solid #c2ccd5;
}

.modal-footer {
  justify-content: flex-end;
  border-top: 1px solid #c2ccd5;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.icon-button {
  min-width: 32px;
  padding: 0;
  font-weight: 700;
}

.modal-body {
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.incident-create-grid {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 12px;
}

.wide {
  grid-column: 1 / -1;
}

.support-picker {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 8px;
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #f8fafc;
}

.support-picker legend {
  padding: 0 4px;
  color: #415162;
  font-size: 12px;
  font-weight: 700;
}

.support-picker label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.support-picker input {
  width: auto;
  min-height: auto;
}

.patient-condition-editor {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #f8fafc;
}

.patient-condition-editor > strong {
  font-size: 12px;
  color: #334252;
}

.patient-condition-editor label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #415162;
}

.patient-condition-editor textarea {
  width: 100%;
  min-height: 56px;
  resize: vertical;
  font: inherit;
  font-weight: 400;
}

.signal-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 8px;
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #f8fafc;
}

.signal-toggle legend {
  padding: 0 4px;
  color: #415162;
  font-size: 12px;
  font-weight: 700;
}

.signal-option.active {
  background: #2563a9;
  border-color: #1d4f86;
  color: white;
}

.keyword-field {
  position: relative;
  min-width: 0;
}

.keyword-combobox {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
}

.keyword-combobox input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.keyword-combobox > button {
  min-width: 34px;
  padding: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  font-size: 14px;
}

.keyword-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 236px;
  overflow: auto;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid #c4d0dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 32, 46, .18);
}

.keyword-option {
  min-height: 42px;
  display: grid;
  gap: 2px;
  justify-items: start;
  padding: 6px 8px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}

.keyword-option:hover,
.keyword-option:focus-visible {
  border-color: #bfd5e8;
  background: #eef6fd;
}

.keyword-option strong {
  color: #18283a;
  font-size: 13px;
}

.keyword-option span,
.keyword-option-empty {
  color: var(--muted);
  font-size: 12px;
}

.keyword-option-empty {
  padding: 9px;
}

.disposition-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid #b8d5ee;
  border-radius: 8px;
  background: #eef7ff;
  color: #16324a;
}

.disposition-copy {
  display: grid;
  gap: 2px;
}

.disposition-suggestion strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #2b638f;
}

.disposition-suggestion span {
  font-weight: 800;
  text-align: right;
}

.vehicle-picker {
  min-height: 260px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #d5dee9;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px;
  border-bottom: 1px solid #c0cad3;
}

.picker-head span {
  color: var(--muted);
  font-size: 12px;
}

.editor-card {
  width: min(1060px, calc(100vw - 28px));
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 14px;
}

.editor-fields {
  display: grid;
  align-content: start;
  gap: 10px;
}

.editor-vehicle-counts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.standalone-editor {
  overflow: hidden;
}

.editor-shell {
  width: 100vw;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr) minmax(300px, 360px);
  gap: 12px;
  padding: 12px;
}

.editor-sidebar,
.editor-map-panel,
.editor-list-sidebar {
  min-height: 0;
}

.editor-sidebar,
.editor-list-sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.editor-standalone-form {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 10px;
  overflow: auto;
  min-height: 0;
}

.editor-action-section,
.editor-empty-workbench,
.editor-workbench,
.editor-subform {
  border: 1px solid #cbd6e1;
  border-radius: 10px;
  background: #f8fbfd;
  padding: 10px;
}

.editor-action-section {
  display: grid;
  gap: 8px;
}

.editor-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.editor-empty-workbench {
  color: #617182;
  line-height: 1.4;
  background: #ffffff;
}

.editor-workbench {
  display: grid;
  gap: 10px;
}

.editor-workbench-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.editor-point-dialog {
  width: min(760px, calc(100vw - 32px));
}

.editor-dialog-body {
  display: grid;
  gap: 10px;
}

.editor-workbench > label,
.editor-subform > label {
  display: grid;
  gap: 4px;
  color: #314152;
  font-size: 13px;
}

.editor-subform {
  display: grid;
  gap: 8px;
  background: #ffffff;
}

.editor-subform h3 {
  margin: 0;
  font-size: 13px;
}

.rate-grid {
  display: grid;
  grid-template-columns: 56px repeat(3, minmax(58px, 1fr));
  gap: 5px;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
}

.rate-grid input {
  width: 100%;
  min-width: 0;
}

.pin-mode {
  cursor: crosshair !important;
}

.editor-section {
  display: grid;
  gap: 8px;
  border: 1px solid #cbd6e1;
  border-radius: 9px;
  background: #f8fbfd;
  overflow: visible;
}

.editor-section summary {
  padding: 9px 10px;
  cursor: pointer;
  font-weight: 700;
  background: #eef4fa;
}

.editor-section > label,
.editor-section > button,
.editor-section > textarea,
.editor-section > p,
.editor-section > .editor-actions,
.editor-section > .editor-vehicle-counts,
.editor-section > .unit-editor,
.editor-section > .check-grid {
  margin: 0 10px 10px;
}

.editor-section > label {
  display: grid;
  gap: 4px;
  color: #314152;
  font-size: 13px;
}

.editor-section > label:first-of-type,
.editor-section > button:first-of-type,
.editor-section > textarea:first-of-type,
.editor-section > p:first-of-type,
.editor-section > .editor-actions:first-of-type,
.editor-section > .editor-vehicle-counts:first-of-type,
.editor-section > .unit-editor:first-of-type,
.editor-section > .check-grid:first-of-type {
  margin-top: 10px;
}

.editor-standalone-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #c2ccda;
  border-radius: 7px;
  padding: 8px;
  font: inherit;
}

.unit-editor {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid #cbd6e1;
  border-radius: 8px;
  background: #f7fafc;
}

.unit-editor h3 {
  margin: 0;
  font-size: 14px;
}

.unit-list {
  display: grid;
  gap: 6px;
}

.unit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid #d2dce6;
  border-radius: 7px;
  background: white;
}

.unit-row span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.editor-list-sidebar {
  background: #f8fbfd;
}

.editor-list-panels {
  display: grid;
  grid-template-rows: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 10px;
  min-height: 0;
  padding: 10px;
}

.editor-list-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid #cbd6e1;
  border-radius: 10px;
  background: white;
}

.editor-list-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  padding: 9px 10px;
  border-bottom: 1px solid #d8e1ea;
  background: #eef4fa;
}

.editor-list-header h3 {
  margin: 0;
  font-size: 14px;
}

.editor-list-header span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.editor-list-section .editor-point-list {
  min-height: 0;
}

.editor-actions,
.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-actions {
  justify-content: flex-end;
}

.editor-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 51, 51, .45); }
  50% { box-shadow: 0 0 0 10px rgba(184, 51, 51, 0); }
}

@keyframes alertPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 122, 34, .36); }
  50% { box-shadow: 0 0 0 8px rgba(196, 122, 34, 0); }
}

@keyframes signalPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 128, 237, .55), 0 2px 8px rgba(18, 32, 45, .28); }
  50% { box-shadow: 0 0 0 8px rgba(47, 128, 237, 0), 0 2px 8px rgba(18, 32, 45, .28); }
}

@keyframes slowYellowPulse {
  0%, 100% { background: #fff; border-color: #b9c7d8; }
  50% { background: #fff4c2; border-color: #d6a900; }
}

@keyframes callBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, .45); }
  50% { box-shadow: 0 0 0 6px rgba(198, 40, 40, 0); }
}

@media (max-width: 1180px) {
  .editor-shell {
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 310px;
  }

  .editor-list-sidebar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .editor-list-panels {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .workspace {
    grid-template-columns: minmax(420px, 1fr) minmax(300px, .72fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, .84fr) minmax(0, .84fr);
  }

  .map-panel {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .incident-panel {
    grid-column: 2;
    grid-row: 1;
  }

  .vehicle-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .call-panel {
    grid-column: 1;
    grid-row: 3;
  }

  .radio-panel {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 820px) {
  body.dispatch-active {
    overflow: auto;
  }

  .standalone-editor {
    overflow: auto;
  }

  .vehicle-row {
    grid-template-columns: 1fr auto;
  }

  .vehicle-summary {
    grid-template-columns: 1fr 48px auto;
  }

  .vehicle-summary span:nth-of-type(2) {
    grid-column: 1 / -1;
  }

  .vehicle-row > p,
  .vehicle-actions {
    grid-column: 1 / -1;
  }

  .incident-vehicle-chip {
    grid-template-columns: 1fr auto;
  }

  .incident-vehicle-chip small {
    grid-column: 1 / -1;
  }

  .dispatch-screen {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .start-header,
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .login-box,
  .intro-band,
  .shift-form,
  .screen-preview,
  .workspace,
  .editor-shell,
  .incident-create-grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-shell {
    height: auto;
    min-height: 100dvh;
    grid-template-rows: auto 430px 420px;
    overflow: visible;
  }

  .editor-map-panel,
  .editor-list-sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .editor-list-panels {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }

  .workspace {
    grid-template-rows: 420px 280px 320px 320px 300px;
    overflow: visible;
  }

  .map-panel,
  .incident-panel,
  .vehicle-panel,
  .call-panel,
  .radio-panel {
    grid-column: 1;
    grid-row: auto;
  }
}
