:root {
  color-scheme: light dark;
  --bg: light-dark(#eef5f1, #0a0d0b);
  --surface: light-dark(#fff, #151916);
  --text: light-dark(#16201b, #f3f6f4);
  --muted: light-dark(#637069, #a9b2ad);
  --border: light-dark(#d9e4de, #2b312e);
  --green: light-dark(#087f5b, #5ee0a5);
  --green-soft: light-dark(#dff4eb, #14382b);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 50% 0, var(--green-soft), transparent 42%), var(--bg); color: var(--text); }
.login-shell { min-height: 100svh; display: grid; place-items: center; padding: max(24px,env(safe-area-inset-top)) 18px max(24px,env(safe-area-inset-bottom)); }
.login-card { width: min(430px,100%); padding: 32px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: 0 24px 70px rgb(0 0 0 / 12%); }
.identity { display: flex; align-items: center; gap: 10px; margin-bottom: 48px; font-size: 14px; }
.brand-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; font-size: 38px; letter-spacing: -.045em; }
.intro { margin: 10px 0 24px; color: var(--muted); font-size: 14px; line-height: 21px; }
.error { margin: 0 0 18px; padding: 11px 12px; border: 1px solid color-mix(in srgb,#e14b43 40%,var(--border)); border-radius: 10px; color: #e14b43; font-size: 12px; line-height: 18px; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
input { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 13px; outline: none; background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb,var(--green) 20%,transparent); }
button { margin-top: 4px; border: 0; border-radius: 12px; padding: 12px 16px; background: var(--green); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.google-button { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.google-button:hover { border-color: var(--green); background: var(--bg); }
.google-button:focus-visible { outline: 3px solid color-mix(in srgb,var(--green) 22%,transparent); outline-offset: 2px; }
.google-button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 11px; }
.divider::before,.divider::after { content: ""; height: 1px; flex: 1; background: var(--border); }
.security-note { margin: 24px 0 0; color: var(--muted); font-size: 11px; line-height: 17px; text-align: center; }
@media (max-width: 480px) { .login-card { padding: 26px 22px; } .identity { margin-bottom: 38px; } }
