/* Status pages — Error, NotFound (404), AccessDenied (403).
   Centered single-panel layouts sharing one icon/eyebrow/title/actions vocabulary. */

.status-page {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-panel {
  width: 100%;
  max-width: 34rem;
  background: var(--sg-surface);
  border: 1px solid var(--sg-edge);
  border-radius: var(--sg-radius-xl);
  box-shadow: var(--sg-shadow-2);
  padding: 2.5rem 2rem;
  text-align: center;
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--sg-radius-lg);
  margin-bottom: 1.5rem;
}

.status-icon svg {
  width: 2rem;
  height: 2rem;
}

.status-icon--warning {
  background: var(--sg-warning-soft);
  color: var(--sg-warning);
}

.status-icon--danger {
  background: var(--sg-danger-soft);
  color: var(--sg-danger);
}

.status-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--sg-ink-muted);
  margin-bottom: 0.5rem;
}

.status-title {
  font-family: var(--sg-font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--sg-ink-strong);
  margin-bottom: 0.75rem;
}

.status-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sg-ink);
  margin-bottom: 0.75rem;
}

.status-message {
  color: var(--sg-ink-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.status-message code {
  word-break: break-all;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Dev-only detail block on the Error page. */
.status-detail {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sg-edge-faint);
  text-align: left;
  color: var(--sg-ink-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.status-detail h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sg-ink);
  margin-bottom: 0.5rem;
}

.status-detail p + p {
  margin-top: 0.75rem;
}
