/* Boot fallback styles — extracted from inline styles to comply with CSP (no 'unsafe-inline'). */
#lifeto-boot-fallback {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F1EA;
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  color: #2B4E3E;
  padding: 24px;
  z-index: 0;
}
.lifeto-boot-inner {
  max-width: 420px;
  width: 100%;
  text-align: center;
}
#lifeto-boot-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 24px;
}
.lifeto-boot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2B4E3E;
  display: inline-block;
  animation: lifeto-pulse 1.2s ease-in-out infinite;
}
.lifeto-boot-dot--d2 { animation-delay: 0.18s; }
.lifeto-boot-dot--d3 { animation-delay: 0.36s; }
.lifeto-boot-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
  font-weight: 600;
  color: #2B4E3E;
  letter-spacing: -0.01em;
}
.lifeto-boot-tagline {
  margin: 0;
  color: #2B4E3E;
  opacity: 0.65;
  font-size: 13px;
  letter-spacing: 0.02em;
}
#lifeto-boot-error { display: none; }
.lifeto-boot-error-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 12px;
}
.lifeto-boot-error-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 600;
  color: #2B4E3E;
}
.lifeto-boot-error-text {
  margin: 0 0 20px;
  color: #2B4E3E;
  opacity: 0.7;
  font-size: 14px;
  line-height: 1.5;
}
#lifeto-boot-reload {
  background: #2B4E3E;
  color: #F3F1EA;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  min-height: 44px;
  min-width: 140px;
}
.lifeto-boot-error-hint {
  margin: 16px 0 0;
  color: #2B4E3E;
  opacity: 0.55;
  font-size: 12px;
}
.lifeto-noscript {
  padding: 20px;
  text-align: center;
  font-family: sans-serif;
}
@keyframes lifeto-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lifeto-boot-dot { animation: none !important; opacity: 0.85 !important; }
}
