/* Loading-screen styles for the pre-React shell rendered by index.html.
 * Linked from index.html via <link rel="stylesheet" href="/loading.css">
 * so the loading screen renders correctly before the main JS bundle parses.
 *
 * Externalized from index.html's inline <style> in CSP Phase 1
 * (2026-05-13) so the page can ship with `style-src 'self'` without
 * an 'unsafe-inline' exception. See memory/csp-readiness.md.
 */

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

* {
  box-sizing: border-box;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #3752E0 0%, #887CE7 100%);
  color: white;
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
}
