:root {
  --bg: #f4f6fb; --surface: #ffffff; --ink: #141a2e; --ink-2: #3f4860; --muted: #6a7389;
  --line: #e3e7ef; --accent: #3e63dd; --accent-ink: #ffffff; --danger: #d93d42;
  --f-ui: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Plus Jakarta Sans", "Geist", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b0f17; --surface: #131927; --ink: #eef1f8; --ink-2: #c3c9d8; --muted: #8b93a7; --line: #232b3d; --accent: #7088ff; --accent-ink: #0b0f17; --danger: #ff6b6f; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0b0f17; --surface: #131927; --ink: #eef1f8; --ink-2: #c3c9d8; --muted: #8b93a7; --line: #232b3d; --accent: #7088ff; --accent-ink: #0b0f17; --danger: #ff6b6f; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-size: 15px; line-height: 1.5;
}
.login {
  width: min(400px, 100%); padding: 32px 28px; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(20, 26, 46, .08); text-align: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 17px; }
.mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.mark svg { width: 19px; height: 19px; }
h1 { margin: 26px 0 6px; font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.lede { margin: 0 0 24px; color: var(--ink-2); }
.g-button { display: flex; justify-content: center; min-height: 44px; }
.dev { margin-top: 12px; padding: 10px 16px; border-radius: 10px; border: 1px dashed var(--muted); background: none; color: var(--ink-2); font: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pw-form { display: flex; flex-direction: column; gap: 10px; }
.pw-form input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; outline: none;
}
.pw-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); background: var(--surface); }
.pw-form button { height: 46px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; cursor: pointer; }
.pw-form button:disabled { opacity: .6; cursor: default; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.msg { margin: 18px 0 0; color: var(--danger); font-weight: 500; }
