/* Keep theme colors and the shared action style on the 404 page. */
.error-shell .markov-404 {
  box-sizing: border-box;
  width: 100%;
  max-width: 55rem;
  min-width: 0;
  margin: 1.5rem auto;
  padding: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule, currentColor);
  overflow-wrap: anywhere;
}

.error-shell .markov-404 h2 {
  margin-top: 0;
  font: inherit;
  font-weight: 700;
}

.error-shell .markov-404 .markov-404__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

.error-shell .markov-404 button {
  max-width: 100%;
  min-height: 44px;
  font: inherit;
  white-space: normal;
  cursor: pointer;
}

.error-shell .markov-404 button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.error-shell .markov-404 [hidden] {
  display: none !important;
}
