html:has(.hivenue-error-page),
body:has(.hivenue-error-page),
.hivenue-error-document,
.hivenue-error-document__header {
  background-color: #fff;
}
.hivenue-error-document {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
}
.hivenue-error-document__header {
  padding: 18px 22px;
  border-bottom: 1px solid #eee9e5;
}
.hivenue-error-document__header img { display: block; width: 111px; height: auto; }
.hivenue-error-document > .hivenue-error-page { flex: 1; min-height: 0; }
.hivenue-error-page {
  display: flex;
  min-height: 100svh;
  padding: 24px;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  color: #18181b;
  text-align: center;
  font-family: system-ui, sans-serif;
}
.hivenue-error-page--contained { min-height: 0; height: 100%; overflow: auto; }
.hivenue-error-page__art {
  position: relative;
  width: min(100%, 302px);
  aspect-ratio: 3 / 2;
}
.hivenue-error-page--contained .hivenue-error-page__art { width: min(100%, 219px); }
.hivenue-error-page__art img, .hivenue-error-page__art svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hivenue-error-page__art svg { pointer-events: none; overflow: visible; }
.hivenue-error-page h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.hivenue-error-page p, .hivenue-error-page__code {
  margin: 0;
  color: #57534e;
  line-height: 1.5;
}
.hivenue-error-page__code { font-size: .8rem; font-weight: 650; }
.hivenue-error-page__action {
  margin-top: 6px;
  padding: 11px 17px;
  border: 0;
  border-radius: 8px;
  background: #18181b;
  color: white;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.hivenue-error-page__action:focus-visible { outline: 2px solid #18181b; outline-offset: 3px; }
.hivenue-error-page__route, .hivenue-error-page__steam { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hivenue-error-page__route {
    stroke-dasharray: 28;
    animation: hivenue-error-route 2.6s .35s ease both;
  }
  .hivenue-error-page__steam {
    animation: hivenue-error-steam 1.55s .65s ease-out 2 both;
  }
  .hivenue-error-page__steam + .hivenue-error-page__steam { animation-delay: .9s; }
}
@keyframes hivenue-error-route {
  0% { opacity: 0; stroke-dashoffset: 28; }
  16% { opacity: .88; }
  64% { opacity: .88; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes hivenue-error-steam {
  0% { opacity: 0; transform: translateY(4px); }
  30% { opacity: .68; }
  100% { opacity: 0; transform: translateY(-11px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hivenue-error-page__washer-light {
    animation: hivenue-error-washer-light 1.35s .45s ease-in-out 2;
  }
}
.hivenue-error-page__washer-light { opacity: 0; }
@keyframes hivenue-error-washer-light {
  0%, 14%, 68%, 100% { opacity: 0; }
  38%, 51% { opacity: .56; }
}
