/*
 * Styling for the boot-resilience fallback panel (#boot-fallback in index.html).
 * Served as a same-origin stylesheet (CSP `style-src 'self'` compatible) and
 * deliberately self-contained — it must look right even when the app's own CSS
 * chunk failed to load. System fonts only; no design-token / @zooyak deps.
 */
#boot-fallback {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #faf9f7;
  color: #1a1a1a;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

#boot-fallback[hidden] {
  display: none;
}

#boot-fallback .boot-fallback__card {
  max-width: 30rem;
  text-align: center;
}

#boot-fallback .boot-fallback__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

#boot-fallback .boot-fallback__body {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

#boot-fallback .boot-fallback__btn {
  appearance: none;
  cursor: pointer;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
}

#boot-fallback .boot-fallback__btn:hover {
  background: #000;
}

#boot-fallback .boot-fallback__btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}
