html[data-erp-startup] { background: #f4f6f9; }
html[data-erp-startup] body > :not(#erpStartupOverlay) { visibility: hidden !important; }
html[data-erp-startup] body::before { display: none !important; }
html[data-erp-startup-mode="dark"] { background: #1d2632; }
#erpStartupOverlay { position: fixed; inset: 0; z-index: 2147483647; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 24px; background: #f4f6f9; color: #24344a; font-family: sans-serif; text-align: center; }
#erpStartupOverlay strong { font-size: 24px; }
#erpStartupOverlay p { max-width: 34em; margin: 0; line-height: 1.5; }
#erpStartupOverlay button { min-height: 44px; padding: 10px 20px; border: 1px solid #9caec6; border-radius: 8px; background: #fff; color: #24344a; cursor: pointer; }
#erpStartupOverlay button[hidden] { display: none; }
html[data-erp-startup-mode="dark"] #erpStartupOverlay { background: #1d2632; color: #e5edf8; }
html[data-erp-startup="pending"] #erpStartupOverlay strong::after { content: ''; display: block; width: 28px; height: 28px; margin: 16px auto; border: 3px solid #b9c8de; border-top-color: #365eb3; border-radius: 50%; animation: erp-startup-spin .9s linear infinite; }
@keyframes erp-startup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html[data-erp-startup="pending"] #erpStartupOverlay strong::after { animation: none; } }
