/* Shared geometry with ErrorPageTemplate, restored from approved 89ec0f907c.
   Static documents follow OS appearance; React preserves Command preference. */
* {
  box-sizing: border-box;
}
:root {
  color-scheme: light dark;
  --error-background: #fff;
  --error-foreground: #070707;
  --error-title: var(--error-foreground);
  --error-description: #484848;
}
body {
  margin: 0;
  background: var(--error-background);
  color: var(--error-foreground);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}
.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}
.error-content {
  width: 100%;
  max-width: 672px;
  text-align: center;
}
.error-code {
  margin: 0 0 8px;
  font-size: 128px;
  font-weight: 700;
  line-height: 1;
}
h1 {
  margin: 0 0 16px;
  color: var(--error-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.error-description {
  margin: 0 auto;
  color: var(--error-description);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.625;
}
.error-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 50px;
  margin: 32px auto 0;
  padding: 12px 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.error-action:hover {
  background: var(--error-foreground);
  color: var(--error-background);
}
.error-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin-top: 28px;
}
.error-languages a {
  padding: 5px 0;
  color: inherit;
  font-size: 14px;
  text-underline-offset: 3px;
}
.error-languages a[aria-current] {
  font-weight: 700;
}
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@media (min-width: 640px) {
  .error-code {
    font-size: 150px;
  }
  h1 {
    font-size: 24px;
    line-height: 32px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --error-background: #050505;
    --error-foreground: #fff;
    --error-title: #fff;
    --error-description: #b0b0b0;
  }
}
