
  body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f4f6f9;
    color: #111827;
  }

  /* Login overlay */
  #loginOverlay {
    position: fixed;
    inset: 0;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .login-box {
    background: #ffffff;
    border: 1px solid #d1d9e0;
    border-radius: 12px;
    padding: 28px 32px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
  }

  .login-box h1 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
  }

  .login-box input {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid #d1d9e0;
    outline: none;
  }

  .login-box input:focus {
    border-color: #1a56db;
  }

  .login-box button {
    margin-top: 14px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1a56db;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .login-error {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #b91c1c;
    display: none;
  }

  /* App hidden until unlocked */
  #appContent {
    display: none;
  }

  footer {
    text-align: center;
    font-size: 10px;
    color: #6b7280;
    margin-top: 24px;
  }
