.brand h1 {
  font-size: 30px;
}

.terminal-entry {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.terminal-entry__arrow {
  position: absolute;
  right: 13px;
  top: 11px;
  color: rgba(126, 203, 244, .78);
  font-size: 20px;
  transition: transform .16s ease, color .16s ease;
}

.terminal-entry:hover,
.terminal-entry:focus-visible {
  border-color: rgba(60, 190, 249, .9);
  box-shadow: inset 0 0 24px rgba(0, 119, 190, .2), 0 0 14px rgba(0, 145, 220, .18);
  outline: none;
}

.terminal-entry:hover .terminal-entry__arrow,
.terminal-entry:focus-visible .terminal-entry__arrow {
  color: #ffffff;
  transform: translateX(3px);
}

.district-panel .table-row {
  grid-template-columns: 155px 225px 260px 185px 350px 230px 1fr;
}

.district-panel .table-row > span:nth-child(5) {
  justify-content: flex-start;
  padding-left: 20px;
}

.incident-summary h2 {
  margin-top: 11px;
}

.incident-summary .divider {
  margin-bottom: 13px;
}



/* Equal-width summary cards and reference-matched incident frame. */
.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics > .metric-card {
  width: 100%;
}

.terminal-entry .sparkline {
  width: 76px;
  min-width: 58px;
}

.incident-card {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(20, 157, 225, .82);
  border-radius: 10px;
  clip-path: none;
}

.incident-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  padding: 0;
  border: 2px solid #28caff;
  border-radius: 10px;
  background: none;
  box-shadow: 0 0 5px rgba(24, 181, 255, .46);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) left top / 23px 23px no-repeat,
    linear-gradient(#000 0 0) right top / 23px 23px no-repeat,
    linear-gradient(#000 0 0) left bottom / 23px 23px no-repeat,
    linear-gradient(#000 0 0) right bottom / 23px 23px no-repeat;
  mask:
    linear-gradient(#000 0 0) left top / 23px 23px no-repeat,
    linear-gradient(#000 0 0) right top / 23px 23px no-repeat,
    linear-gradient(#000 0 0) left bottom / 23px 23px no-repeat,
    linear-gradient(#000 0 0) right bottom / 23px 23px no-repeat;
}

.incident-card::after {
  content: none;
}

.incident-card > * {
  position: relative;
  z-index: 2;
}

/* Restore control layout without changing the established typography. */
.terminal-entry .metric-icon {
  margin-right: 10px;
}

.terminal-entry .terminal-metric {
  flex: 0 0 180px;
  min-width: 180px;
}

.terminal-entry .terminal-counts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0;
}

.terminal-entry .terminal-counts strong {
  min-width: 0;
  justify-content: center;
}

.terminal-entry .terminal-counts strong:first-child {
  padding-right: 10px;
}

.terminal-entry .terminal-counts strong small {
  white-space: nowrap;
}

.incident-card > .command-button {
  position: absolute;
  left: 22px;
  right: 22px;
  top: auto;
  bottom: 20px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 54px;
}

.incident-card > .command-button span {
  top: 50%;
  right: 18px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
