/* Tela de carga do workspace. Antes o loading usava o mesmo componente do erro,
   entao um F5 — o caminho mais comum de quem entra no sistema — abria com
   "Nao foi possivel carregar" antes de qualquer dado chegar. Carregar e esperar
   nao e falhar, e a tela precisa parecer isso. */
.boot-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.boot-screen strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.045em;
}

.boot-screen p {
  font-size: 12px;
  max-width: 40ch;
}

.boot-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  background: var(--lime);
  /* A mesma marca do sistema: o F da sidebar, em vez de um circulo generico. */
  clip-path: polygon(0 0,100% 0,100% 30%,35% 30%,35% 44%,85% 44%,85% 73%,35% 73%,35% 100%,0 100%);
}

.boot-bar {
  width: 160px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.boot-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  animation: boot-slide 1.1s ease-in-out infinite;
}

@keyframes boot-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@media (prefers-reduced-motion: reduce) {
  .boot-bar span {
    animation: none;
    width: 100%;
  }
}
