/* Canonical static boot pattern; backoffice copy is checked for byte parity. */
#app:not(:empty) + #app-boot { display: none; }
#app-boot {
  --boot-bg: #fff;
  --boot-text: #444050;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  box-sizing: border-box;
  background: var(--boot-bg);
  color: var(--boot-text);
  font: 1rem/1.5 system-ui, sans-serif;
}
#app-boot .boot-logo { width: min(17rem, 75vw); height: auto; }
#app-boot .boot-logo-dark { display: none; }
#app-boot[data-theme="dark"] { --boot-bg: #2f3349; --boot-text: #eee; }
#app-boot[data-theme="dark"] .boot-logo-light { display: none; }
#app-boot[data-theme="dark"] .boot-logo-dark { display: block; }
#app-boot .boot-status { display: flex; align-items: center; gap: .75rem; }
#app-boot .boot-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: sid-boot-spin 1s linear infinite;
}
@media (prefers-color-scheme: dark) {
  #app-boot[data-theme="system"] { --boot-bg: #2f3349; --boot-text: #eee; }
  #app-boot[data-theme="system"] .boot-logo-light { display: none; }
  #app-boot[data-theme="system"] .boot-logo-dark { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  #app-boot .boot-spinner { animation: none; }
}
@keyframes sid-boot-spin { to { transform: rotate(360deg); } }
