.maze-launch-copy p {
  font-size: .88rem;
  line-height: 1.45;
}

.maze-launch-panel .maze-prediction {
  min-inline-size: 0;
}

.maze-launch-panel .maze-prediction legend {
  color: var(--ink);
  font-size: .88rem;
}

.maze-launch-panel .maze-prediction > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maze-launch-panel .maze-prediction button {
  gap: 4px;
  min-height: 100px;
  padding: 9px 10px;
}

.maze-launch-panel .maze-prediction button:focus-visible,
.maze-launch-controls > .maze-run-button:focus-visible {
  outline: 3px solid #5143c8;
  outline-offset: 2px;
}

.maze-launch-panel .maze-prediction button strong {
  font-size: .88rem;
  line-height: 1.2;
}

.maze-launch-panel .maze-prediction button small {
  color: #514c67;
  font-size: .75rem;
  line-height: 1.2;
}

.maze-launch-panel .maze-prediction > p {
  color: #514c67;
  font-size: .75rem;
  line-height: 1.35;
}

.maze-launch-panel .maze-route-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 16px;
  gap: 2px;
  width: min(100%, 104px);
  margin-bottom: 3px;
  color: #3f395c;
  font-size: .68rem;
  line-height: 1;
}

.maze-route-preview i {
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #ece9f5;
  font-style: normal;
}

.maze-route-preview .maze-route-wall { background: #c9c4d9; }
.maze-route-preview .maze-route-start { background: #ded7ff; color: #4130a1; }
.maze-route-preview .maze-route-energy { background: #fff1bf; color: #76510a; }
.maze-route-preview .maze-route-safe { background: #c4f0e3; color: #145d49; }
.maze-route-preview .maze-route-storm { background: #f7e8ea; color: #88515b; }
.maze-route-preview .maze-route-risk { background: #ffdfb8; color: #7e3b19; }

.maze-launch-controls > .maze-run-button { font-size: .88rem; }
.maze-launch-controls > .maze-run-button:disabled {
  background: #ded9ef;
  color: #524b69;
  opacity: 1;
}

.maze-launch-controls .maze-survey .wovi-feedback-launcher {
  position: static;
  margin-top: 4px;
  padding: 6px 3px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
}

@media (max-width: 620px) {
  .agent-maze-page { padding-top: 80px; }
  .agent-maze-page .maze-intro { margin-block: 12px; }
  .maze-launch-copy p { font-size: .8rem; }
  .maze-launch-panel .maze-prediction button { padding-inline: 8px; }
}
