/* O ecrã de espera, antes do Flutter: as mesmas cores da consola (maquete v2). */
html, body { margin: 0; height: 100%; background: #f6f7f9; color: #17202b;
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
@media (prefers-color-scheme: dark) { html, body { background: #0f141a; color: #e6ebf1; } }
#a-carregar { position: fixed; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 16px; text-align: center; }
#a-carregar .marca { font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 8px; }
#a-carregar .ponto { width: 12px; height: 12px; border-radius: 50%; background: #1f5fbf; display: inline-block; }
#a-carregar .parc { font-weight: 400; color: #5a6676; }
#a-carregar p { margin: 0; font-size: 13px; color: #5a6676; }
#a-carregar .barra { width: 160px; height: 4px; border-radius: 2px; background: #d9dee6; overflow: hidden; }
#a-carregar .barra span { display: block; width: 40%; height: 100%; background: #1f5fbf;
  animation: vai 1.2s ease-in-out infinite; }
@keyframes vai { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
/* O Flutter acrescenta o seu elemento: o ecrã de espera sai de baixo. */
flutter-view ~ #a-carregar, body:has(flutter-view) #a-carregar { display: none; }
