* {
  box-sizing: border-box;
}

:root {
  --xp-blue-dark: #1f4ea8;
  --xp-blue-mid: #2f6fcb;
  --xp-blue-light: #5aa0ff;
  --xp-blue-soft: #d9e7ff;
  --xp-panel: #f2f6ff;
  --xp-border-dark: #2a3b58;
  --xp-border-mid: #7f95b8;
  --xp-border-light: #ffffff;
  --xp-gray: #e9e9e9;
  --xp-tooltip: #ffffe1;
  --xp-green: #4caf50;
  --xp-orange: #f2a13b;
  --egg-left: 8vw;
  --egg-bottom: 32vh;
  --egg-size: 180px;
  --egg-offset-y: -220px;
  --egg-offset-x: 0px;
  --egg-approach-y: 0px;
  --egg-scale: 1;
}

body {
  margin: 0;
  padding: 0;
  background-color: #7db4e6;
  background-image: url("rollingfields.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Tahoma, Verdana, sans-serif;
  color: #111;
  font-size: 11px;
}

#background-music {
  display: none;
}

.easter-egg {
  position: fixed;
  bottom: var(--egg-bottom);
  left: var(--egg-left);
  width: var(--egg-size);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
  z-index: 1;
  transform: translate(
      var(--egg-offset-x),
      calc(var(--egg-offset-y) + var(--egg-approach-y))
    )
    scale(var(--egg-scale));
  transform-origin: center bottom;
}

.app {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.window {
  width: 960px;
  height: 720px;
  background: linear-gradient(180deg, #f9fbff 0%, #edf2ff 80%);
  border: 2px solid var(--xp-border-dark);
  box-shadow: 0 0 0 1px var(--xp-border-light) inset, 0 10px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}

.titlebar {
  height: 34px;
  background: linear-gradient(180deg, #78b2ff 0%, #3f7de3 45%, #1f4ea8 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 12px;
  border-bottom: 1px solid #143a84;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.titlebar-icon {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #f8fbff 0%, #c6dbff 55%, #7aa6e6 100%);
  color: #1f4ea8;
  display: grid;
  place-items: center;
  font-weight: bold;
  border: 1px solid #0f2e75;
  border-radius: 4px;
  text-shadow: 0 1px 0 #fff;
}

.titlebar-title {
  font-weight: bold;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.titlebar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.titlebar-button {
  padding: 2px 10px;
  border: 1px solid #0f2e75;
  background: linear-gradient(180deg, #f8fbff 0%, #d6e6ff 55%, #b7cdf6 100%);
  color: #0f2e75;
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 3px;
  box-shadow: 0 1px 0 #ffffff inset, 0 1px 0 rgba(0, 0, 0, 0.15);
}

.titlebar-button:active {
  background: linear-gradient(180deg, #a9c5f1 0%, #d6e6ff 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
}

.titlebar-button.is-active {
  background: linear-gradient(180deg, #d6e6ff 0%, #b7cdf6 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
}

.help-button {
  width: 24px;
  padding: 2px 0;
  background: linear-gradient(180deg, #fff1b8 0%, #ffd889 100%);
  border-color: #9b6a1f;
  color: #6d4a0d;
}

.badge {
  background: #e6f0ff;
  color: #1b3a86;
  border: 1px solid #0f2e75;
  padding: 2px 8px;
  font-size: 12px;
}

.signals-panel {
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px inset #b1c2de;
  padding: 8px;
}

.signals-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
}

.clue-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #333;
}

.clue-list li {
  margin: 0;
  line-height: 1.3;
}

.signals-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mode-button {
  padding: 6px 10px;
  border: 1px solid #2c2c2c;
  background: linear-gradient(180deg, #ffffff 0%, #e5e5e5 100%);
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: 0 1px 0 #ffffff inset;
}

.mode-button.is-active {
  background: linear-gradient(180deg, #5aa0ff 0%, #2f6fcb 100%);
  color: #fff;
  border-color: #1f4ea8;
}

.signals-helper {
  font-size: 10px;
  color: #444;
  line-height: 1.3;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1a1a1a;
}

.toggle-input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #2f6fcb;
}

.toggle-label {
  user-select: none;
}

.signal-badge {
  padding: 4px 8px;
  border: 1px solid #1a1a1a;
  font-size: 12px;
  text-transform: uppercase;
}

.signal-badge.sev-0 {
  background: #e2f7e2;
}
.signal-badge.sev-1 {
  background: #fff5cc;
}
.signal-badge.sev-2 {
  background: #ffe1b3;
}
.signal-badge.sev-3 {
  background: #ffd6d6;
}

.signal-label {
  color: #333;
}

.content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #f7faff 0%, #eaf1ff 100%);
}

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  background: linear-gradient(180deg, #f7faff 0%, #dfe9ff 100%);
  border-top: 2px inset #b1c2de;
  box-shadow: 0 1px 0 #ffffff inset;
}

.action-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.action-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.action-tooltip .tooltip-text {
  top: auto;
  bottom: 32px;
  left: auto;
  right: 0;
  width: 220px;
}

.action-tooltip:hover .tooltip-text {
  opacity: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 4px;
  background: #dfe8fb;
  border: 2px inset #b1c2de;
  padding: 6px;
}

.tile {
  background: linear-gradient(180deg, #ffffff 0%, #e9eef7 100%);
  border: 1px solid #8ea1c2;
  display: grid;
  place-items: center;
  font-size: 10px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 0 #ffffff inset;
}

.tile-tooltip {
  position: absolute;
  z-index: 50;
  min-width: 160px;
  max-width: 220px;
  background: var(--xp-tooltip);
  color: #111;
  border: 1px solid #6f6f6f;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.tile-tooltip.hidden {
  display: none;
}

.tile-tooltip-title {
  font-weight: bold;
  margin-bottom: 6px;
}

.tile-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #444;
}

.tile-tooltip-row span:last-child {
  color: #111;
}

.tile.hidden {
  background: linear-gradient(180deg, #ffffff 0%, #e9eef7 100%);
  border-color: #b5b5b5;
}

.tile.held {
  background: linear-gradient(180deg, #f6fbff 0%, #d7e6ff 100%);
  border-color: #5a7bc9;
  box-shadow: 0 0 0 2px #b9c9f2 inset;
}

.tile.inspected {
  background: linear-gradient(180deg, #ffffff 0%, #cfe3ff 100%);
  border-color: #3f7de3;
}

.tile.approved {
  background: linear-gradient(180deg, #4d4d4d 0%, #1f1f1f 100%);
  border-color: #0f0f0f;
  box-shadow: 0 0 0 2px #4a4a4a inset;
}

.tile-label {
  font-size: 9px;
  color: #1b1b1b;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-align: center;
  line-height: 1.1;
  opacity: 0.8;
}

.tile.hidden .tile-label {
  opacity: 0.45;
}

.tile.approved .tile-label {
  opacity: 1;
  font-weight: bold;
  color: #fff;
}

.tile.dim {
  opacity: 0.35;
}

.tile.risk-0 {
  background: linear-gradient(180deg, #eaf9ea 0%, #c9efc9 100%);
  box-shadow: 0 0 0 2px #7fcf7f inset;
}

.tile.risk-1 {
  background: linear-gradient(180deg, #fff3c7 0%, #ffd889 100%);
  box-shadow: 0 0 0 2px #e2b84f inset;
}

.tile.risk-2 {
  background: linear-gradient(180deg, #ffd7ad 0%, #ffb56b 100%);
  box-shadow: 0 0 0 2px #d97a2c inset;
}

.tile.risk-3 {
  background: linear-gradient(180deg, #ffc7c7 0%, #ff8a8a 100%);
  box-shadow: 0 0 0 2px #c73737 inset;
}

.tile.approved.risk-0,
.tile.approved.risk-1,
.tile.approved.risk-2,
.tile.approved.risk-3 {
  background: #2f2f2f;
  box-shadow: 0 0 0 2px #4a4a4a inset;
}

.tile.approved.risk-outline {
  outline: 2px solid #c73737;
}

.tile.contributor {
  outline: 2px solid #cc2f2f;
  box-shadow: 0 0 0 2px #ffd6d6 inset;
}

.side-panel {
  background: linear-gradient(180deg, #f8fbff 0%, #e4edff 100%);
  border: 2px inset #b1c2de;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaderboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
  color: #1b1b1b;
  background: #f7faff;
  border: 1px solid #9fb2d4;
  border-radius: 4px;
  overflow: hidden;
}

.leaderboard-table thead th {
  text-align: left;
  font-weight: bold;
  color: #1b2c4f;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.3px;
  background: #e9f1ff;
  border-bottom: 2px solid #b7c8e6;
  padding: 6px 8px;
}

.leaderboard-table thead th + th {
  border-left: 1px solid #b7c8e6;
}

.leaderboard-table tbody td {
  padding: 6px 8px;
  border-bottom: 1px solid #d6e0f2;
  background: #f9fbff;
}

.leaderboard-table tbody tr td + td {
  border-left: 1px solid #e0e8f6;
}

.leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}

.leaderboard-table tbody tr:hover td {
  background: #eef4ff;
}

.leaderboard-table td,
.leaderboard-table th {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-rank {
  text-align: left;
  width: 56px;
}

.leaderboard-num {
  text-align: left;
  font-variant-numeric: tabular-nums;
  width: 96px;
}

.leaderboard-entry {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.leaderboard-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.leaderboard-input {
  padding: 8px 10px;
  border: 1px solid #2c3f63;
  border-radius: 3px;
  font-size: 11px;
  min-width: 180px;
}

.leaderboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}

.leaderboard-overlay.hidden {
  display: none;
}

.leaderboard-modal {
  width: 520px;
  max-width: 90vw;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px solid var(--xp-border-dark);
  padding: 20px;
  box-shadow: 0 0 0 1px #ffffff inset, 8px 8px 0 rgba(0, 0, 0, 0.4);
  justify-self: center;
  align-self: center;
  transform: translateY(-2%);
  position: relative;
  border-radius: 6px;
}

.leaderboard-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.panel-title {
  font-size: 11px;
  font-weight: bold;
  text-transform: none;
  color: #1b2c4f;
  margin-bottom: 6px;
}

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: help;
}

.tooltip::after {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid #6c7d9b;
  border-radius: 50%;
  font-size: 10px;
  color: #1b2c4f;
  background: #eef4ff;
}

.tooltip-text {
  position: absolute;
  top: 18px;
  left: 0;
  width: 220px;
  padding: 8px;
  background: var(--xp-tooltip);
  border: 1px solid #6f6f6f;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
  font-size: 10px;
  font-weight: normal;
  line-height: 1.4;
  color: #111;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.tooltip:hover .tooltip-text {
  opacity: 1;
}

.status-label {
  font-size: 14px;
  font-weight: bold;
  color: #1b1b1b;
}

.status-subtext {
  font-size: 11px;
  color: #333;
  margin-top: 4px;
}

.time-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.time-row .status-subtext {
  margin-top: 0;
}

.meter {
  height: 14px;
  border: 1px solid #6c7d9b;
  background: #fdfdfd;
  box-shadow: 0 1px 0 #ffffff inset;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(180deg, #7fb1ff 0%, #2f6fcb 100%);
}

.meter-fill.hotspot {
  background: linear-gradient(180deg, #ffbf6b 0%, #d47a4a 100%);
}

.incident-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}

.incident-overlay.hidden {
  display: none;
}

.incident-modal {
  width: 520px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px solid var(--xp-border-dark);
  padding: 20px;
  box-shadow: 0 0 0 1px #ffffff inset, 8px 8px 0 rgba(0, 0, 0, 0.4);
  justify-self: center;
  align-self: center;
  transform: translateY(-2%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
  border-radius: 6px;
}

.victory-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}

.victory-overlay.hidden {
  display: none;
}

.victory-modal {
  width: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px solid var(--xp-border-dark);
  padding: 20px;
  box-shadow: 0 0 0 1px #ffffff inset, 8px 8px 0 rgba(0, 0, 0, 0.4);
  justify-self: center;
  align-self: center;
  transform: translateY(-2%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
  border-radius: 6px;
}

.victory-subtitle {
  font-size: 12px;
  font-weight: bold;
  color: #1b1b1b;
  text-transform: none;
}

.victory-trophy {
  margin: 6px auto;
  font-size: 12px;
  line-height: 1.1;
  color: #5b4300;
  font-family: "Courier New", Courier, monospace;
  white-space: pre;
  text-align: left;
  display: block;
  width: fit-content;
}

.incident-trophy {
  margin: 6px auto;
  font-size: 11px;
  line-height: 1.1;
  color: #5b4300;
  font-family: "Courier New", Courier, monospace;
  white-space: pre;
  text-align: left;
  display: block;
  width: fit-content;
}

.victory-modal .victory-trophy {
  color: #4b3a00;
}

.victory-body {
  font-size: 12px;
  color: #222;
  line-height: 1.4;
}


.intro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}

.intro-overlay.hidden {
  display: none;
}

.intro-modal {
  width: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px solid var(--xp-border-dark);
  padding: 20px;
  box-shadow: 0 0 0 1px #ffffff inset, 8px 8px 0 rgba(0, 0, 0, 0.4);
  justify-self: center;
  align-self: center;
  transform: translateY(-3.5%);
  border-radius: 6px;
}

.help-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}

.help-overlay.hidden {
  display: none;
}

.help-modal {
  width: 520px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px solid var(--xp-border-dark);
  padding: 20px;
  box-shadow: 0 0 0 1px #ffffff inset, 8px 8px 0 rgba(0, 0, 0, 0.4);
  justify-self: center;
  align-self: center;
  transform: translateY(-2%);
  position: relative;
  border-radius: 6px;
}

.how-to-win-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}

.how-to-win-overlay.hidden {
  display: none;
}

.how-to-win-modal {
  width: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px solid var(--xp-border-dark);
  padding: 20px;
  box-shadow: 0 0 0 1px #ffffff inset, 8px 8px 0 rgba(0, 0, 0, 0.4);
  justify-self: center;
  align-self: center;
  transform: translateY(-2%);
  position: relative;
  border-radius: 6px;
}

.tutorial-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  width: 100vw;
  height: 100vh;
}

.tutorial-overlay.hidden {
  display: none;
}

.tutorial-modal {
  width: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #edf2ff 100%);
  border: 2px solid var(--xp-border-dark);
  padding: 20px;
  box-shadow: 0 0 0 1px #ffffff inset, 8px 8px 0 rgba(0, 0, 0, 0.4);
  justify-self: center;
  align-self: center;
  transform: translateY(-2%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  border-radius: 6px;
}

.tutorial-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tutorial-actions {
  display: flex;
  gap: 8px;
}

.tutorial-step {
  font-size: 12px;
  color: #333;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border: 1px solid #0f2e75;
  background: linear-gradient(180deg, #f8fbff 0%, #d6e6ff 55%, #b7cdf6 100%);
  color: #0f2e75;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.modal-close:active {
  background: linear-gradient(180deg, #a9c5f1 0%, #d6e6ff 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
}

.tutorial-visual {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #dfe8fb;
  border: 1px inset #b1c2de;
  padding: 6px;
}

.mini-tile {
  width: 54px;
  height: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #e9eef7 100%);
  border: 1px solid #8ea1c2;
  display: grid;
  place-items: center;
  font-size: 8px;
  color: #333;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 1px 0 #ffffff inset;
}

.mini-tile.dim {
  opacity: 0.35;
}

.mini-tile.highlight {
  background: linear-gradient(180deg, #f6fbff 0%, #d7e6ff 100%);
  border-color: #5a7bc9;
  box-shadow: 0 0 0 2px #b9c9f2 inset;
}

.mini-tile.approved {
  background: linear-gradient(180deg, #4d4d4d 0%, #1f1f1f 100%);
  border-color: #0f0f0f;
  color: #fff;
}

.mini-tile.risk {
  background: linear-gradient(180deg, #fff3c7 0%, #ffd889 100%);
  box-shadow: 0 0 0 2px #e2b84f inset;
}

.mini-caption {
  font-size: 10px;
  color: #444;
  text-align: center;
  max-width: 240px;
}

.intro-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1b2c4f;
}

.intro-body {
  font-size: 12px;
  color: #222;
  line-height: 1.4;
}

.intro-body p {
  margin: 8px 0;
}

.intro-body h4 {
  margin: 10px 0 4px;
  font-size: 11px;
  text-transform: uppercase;
  color: #1b2c4f;
}
.intro-note {
  font-weight: bold;
}

.intro-actions {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
}

.incident-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 2px;
  color: #1b2c4f;
}

.incident-cause {
  font-size: 12px;
  font-weight: bold;
  color: #1b1b1b;
}

.incident-hint {
  display: none;
}

.incident-summary {
  font-size: 11px;
  color: #222;
  line-height: 1.45;
}

.incident-impact {
  font-size: 11px;
  color: #222;
  line-height: 1.4;
}

.incident-recommendation {
  font-size: 11px;
  color: #333;
  font-weight: bold;
}

.incident-list {
  display: none;
}

.incident-item {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 4px 0;
  border-bottom: 1px solid #e5e5e5;
}

.incident-item:last-child {
  border-bottom: none;
}

.restart-button {
  padding: 8px 16px;
  border: 1px solid #2c3f63;
  background: linear-gradient(180deg, #ffffff 0%, #dde7fb 100%);
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: 0 1px 0 #ffffff inset;
  font-size: 11px;
}

.restart-button:active {
  background: linear-gradient(180deg, #c7d7f3 0%, #ffffff 100%);
}

.restart-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.debug-only {
  display: none;
}
.modal-actions.center {
  display: flex;
  justify-content: center;
}

.victory-modal .restart-button,
.incident-modal .restart-button {
  width: 160px;
}
