/* Login — flat dark card. Matches app.css. */
:root {
  --river: #8FA8E8; --paper: #15171C; --surface: #1C1F26; --hover: #232731;
  --ink: #D9DCE3; --muted: #8C93A1; --line: #2A2E38; --line-strong: #3A404D;
  --font: "Instrument Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }

.login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 32px 20px; }

.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.brand .mark { width: 44px; height: 44px; border-radius: 12px; }
.brand .word { margin: 6px 0 0; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand .tag { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

.panel { width: 100%; max-width: 380px; }
.panel-inner { padding: 28px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
h1 { font-size: 19px; line-height: 1.3; font-weight: 650; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { color: var(--muted); margin: 0 0 22px; font-size: 14px; }

.google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 46px; padding: 11px 18px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .12s ease, border-color .12s ease;
}
.google svg { width: 20px; height: 20px; }
.google:hover { background: var(--hover); border-color: var(--muted); }
.google:focus-visible { outline: 2px solid var(--river); outline-offset: 2px; }

.fine { margin: 20px 0 0; font-size: 12.5px; color: var(--muted); }

@media (max-width: 820px) {
  .login { justify-content: flex-start; padding-top: 56px; }
  .panel-inner { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .google { transition: none; } }
