/* What shows before the app's code arrives (index.html): the app's frame (sidebar, top bar) with a spinner where the
   page will be, so the screen is never blank. A file, not inline, because the CRM's Content-Security-Policy allows
   styles from 'self' only. React replaces it on its first render. */
body {
  margin: 0;
}
.boot {
  display: flex;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #475569;
  background: #f8fafc;
}
.boot-sidebar {
  width: 16rem;
  flex-shrink: 0;
  border-right: 1px solid #e2e8f0;
  background: #fff;
}
.boot-logo {
  height: 64px;
  border-bottom: 1px solid #e2e8f0;
}
.boot-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.boot-topbar {
  height: 64px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.boot-content {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px;
  font-weight: 500;
}
.boot-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #dbeafe;
  border-top-color: #1373b3;
  border-radius: 50%;
  animation: boot-spin 0.8s linear infinite;
}
@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 767px) {
  .boot-sidebar {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-spinner {
    animation: none;
  }
}
