.brand-loading { display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-height:240px; color:var(--foreground,#182130); background:var(--background,#f8fafc); font-family:var(--ui-font,system-ui,sans-serif); }
.brand-loading-screen { min-height:100dvh; }
.workspace-loading > .brand-loading { height:auto; flex:1; min-height:0; }
.brand-loading-content { display:flex; flex-direction:column; align-items:center; width:min(280px,calc(100% - 48px)); padding:32px 0; text-align:center; }
.brand-loading-logo { width:80px; height:80px; object-fit:contain; margin-bottom:16px; }
.brand-loading-title { margin:0 0 18px; font-size:20px; font-weight:650; line-height:1.4; }
.brand-loading-progress { width:100%; }
.brand-loading [data-slot=progress-track] { display:block; width:100%; height:4px; overflow:hidden; border-radius:999px; background:var(--muted,#e5eaf1); }
.brand-loading [data-slot=progress-indicator] { display:block; height:100%; border-radius:inherit; background:var(--primary,#3265ee); }
.brand-loading [data-indeterminate] [data-slot=progress-indicator] { width:40% !important; animation:brand-loading-travel 1.4s ease-in-out infinite; }
.brand-loading-label { margin:12px 0 0; color:var(--muted-foreground,#64748b); font-size:13px; line-height:1.6; }
.brand-loading-reload { margin-top:16px; border:1px solid var(--border,#dce2eb); border-radius:8px; padding:8px 14px; background:var(--background,#fff); color:inherit; font:inherit; font-size:13px; cursor:pointer; }
.dark .brand-loading { color:var(--foreground,#f3f4f6); background:var(--background,#161618); }
.dark .brand-loading [data-slot=progress-track] { background:var(--muted,#303034); }
.dark .brand-loading-label { color:var(--muted-foreground,#a1a1aa); }
@keyframes brand-loading-travel { from { transform:translateX(-110%); } to { transform:translateX(360%); } }
@media (prefers-reduced-motion:reduce) { .brand-loading [data-indeterminate] [data-slot=progress-indicator] { animation:none; transform:translateX(75%); } }
body:has(#boot-loading) { margin:0; }
