/* Full-screen, original code canvas. Foreground controls remain still and legible. */
.space-login { --auth-bg:#f5f5f3; --auth-ink:#202322; --auth-muted:#626863; --auth-line:#d8dcd7; --auth-token:#3c6454; min-height:100svh; position:relative; isolation:isolate; overflow:hidden; display:grid; place-items:center; padding:140px 32px 116px; background:var(--auth-bg); color:var(--auth-ink); }
.space-login .auth-code-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:-1; pointer-events:none; color:#51545d; --auth-particle-accent:#7452a3; }
.space-login .login-card { position:static; width:min(480px,100%); min-height:0; padding:0; border:0; border-radius:0; background:none; color:inherit; box-shadow:none; text-align:center; }
.space-login .auth-brand { position:absolute; top:36px; left:48px; }
.space-login .brand { padding:0; font:600 19px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:-.04em; }
.space-login .auth-themes { position:absolute; display:flex; gap:4px; top:36px; right:48px; }
.space-login .auth-themes button { display:grid; place-items:center; width:36px; height:36px; padding:8px; border-radius:8px; color:var(--auth-muted); }
.space-login .auth-themes svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; }
.space-login .auth-themes button[aria-pressed="true"], .space-login .auth-themes button:hover { background:#78807818; color:var(--auth-ink); }
.space-login .auth-main { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; padding:0; }
.space-login[data-auth-exit="true"] .auth-main { opacity:var(--auth-exit-opacity,1); transform:scale(var(--auth-exit-scale,1)); pointer-events:none; }
.space-login[data-auth-exit="true"] .auth-themes { pointer-events:none; }
.space-login[data-auth-exit="true"] .auth-cursor { animation:none; }
.space-login .auth-command { width:340px; max-width:100%; min-height:28px; margin:0 0 40px; text-align:left; white-space:nowrap; font:14px/28px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:-.02em; color:var(--auth-token); }
.space-login .auth-command-prompt { color:var(--auth-muted); }
.space-login .auth-cursor { display:inline-block; width:7px; height:14px; margin-left:3px; vertical-align:-2px; background:var(--auth-token); animation:code-cursor 1.1s step-end infinite; }
.space-login [data-auth-command][data-phase="typing"]+.auth-cursor { animation:none; }
.space-login .auth-review { margin:0 0 24px; color:var(--auth-muted); font-size:11px; line-height:1.7; max-width:340px; }
.space-login h1 { margin:0 0 24px; font-size:36px; font-weight:600; line-height:1.4; letter-spacing:-.04em; }
.space-login .slogan-focus { display:block; font-size:48px; line-height:1.3; color:var(--auth-ink); font-weight:600; }
.space-login .auth-intro { margin:0 0 36px; color:var(--auth-muted); font-size:14px; line-height:1.8; }
.space-login .auth-google { display:flex; align-items:center; justify-content:flex-start; gap:12px; width:min(360px,100%); min-height:52px; margin:0; padding:0 20px; border:1px solid var(--auth-line); border-radius:8px; background:#e8eae6; color:var(--auth-ink); box-shadow:none; font-size:14px; font-weight:500; transition:background .15s,border-color .15s; }
.space-login .auth-google:hover { background:#dfe3dd; border-color:#b8c2b9; }
.space-login .auth-google[aria-busy="true"] { cursor:progress; }
.space-login .google-mark { width:18px; height:18px; padding:0; background:none; }
.space-login .auth-button-arrow { margin-left:auto; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; transition:transform .15s; }
.space-login .auth-google:hover .auth-button-arrow { transform:translateX(3px); }
.space-login .auth-google[aria-busy="true"] .auth-button-arrow { animation:code-connecting .8s ease-in-out infinite alternate; }
.space-login .auth-status { margin:12px 0 0; font-size:12px; line-height:1.6; color:var(--auth-muted); }
.space-login .auth-status:empty { display:none; }
.space-login .auth-help { margin:28px 0 8px; font-size:12px; line-height:1.7; color:var(--auth-muted); }
.space-login .auth-link { align-self:center; margin:0; padding:4px 0; color:var(--auth-ink); font-size:13px; text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--auth-line); }
.space-login .auth-link:hover { text-decoration-color:currentColor; }
.space-login .notice { margin:0; max-width:380px; padding:16px 0; background:none; border:0; border-radius:0; color:var(--auth-muted); font-size:13px; line-height:1.8; }
.space-login .auth-update { position:absolute; bottom:28px; left:24px; right:24px; border:0; padding:0; margin:0; text-align:center; color:var(--auth-muted); font-size:11px; pointer-events:none; }
.space-login .auth-art-footer { position:absolute; inset:auto 48px 24px; display:flex; justify-content:space-between; align-items:center; gap:16px; color:var(--auth-muted); font-size:10px; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.06em; pointer-events:none; }
.space-login [data-auth-motion] { min-height:36px; padding:8px 0 8px 12px; pointer-events:auto; font-family:inherit; font-size:11px; letter-spacing:0; }
.space-login[data-motion="paused"] *, .space-login[data-motion="hidden"] * { animation-play-state:paused !important; }
:root[data-theme="dark"] .space-login { --auth-bg:#101312; --auth-ink:#eef0ed; --auth-muted:#9ca59e; --auth-line:#2b332e; --auth-token:#9bc4ac; }
:root[data-theme="dark"] .space-login .auth-code-canvas { color:#c0bfc9; --auth-particle-accent:#c0a7ed; }
:root[data-theme="dark"] .space-login .auth-google { background:#252c28; border-color:#3a453e; color:#eef0ed; }
:root[data-theme="dark"] .space-login .auth-google:hover { background:#303b33; border-color:#687d6f; }
@keyframes code-cursor { 0%,49% {opacity:1} 50%,100% {opacity:0} }
@keyframes code-connecting { from {opacity:.4} to {opacity:1} }
@keyframes workspace-panel-in { from {opacity:0;transform:translateY(8px)} to {opacity:1;transform:none} }
@keyframes workspace-nav-in { from {opacity:0;transform:translateX(-12px)} to {opacity:1;transform:none} }
.workspace-arrival .ws-sidebar { animation:workspace-nav-in .45s ease-out both; }
.workspace-arrival .ws-topbar { animation:workspace-panel-in .4s ease-out both; }
.workspace-arrival .ws-body { animation:workspace-panel-in .5s .08s ease-out both; }
.workspace-frame .ws-brand { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:-.04em; }
.workspace-frame #clock-time, .workspace-frame kbd { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric:tabular-nums; letter-spacing:0; }
@media(max-width:760px) {
  .space-login { padding:124px 24px 124px; }
  .space-login .login-card { width:min(420px,100%); }
  .space-login .auth-brand { top:24px; left:24px; }
  .space-login .brand { font-size:16px; gap:8px; }
  .space-login .auth-themes { top:24px; right:20px; }
  .space-login .auth-command { width:300px; font-size:12px; margin-bottom:28px; }
  .space-login h1 { margin-bottom:20px; font-size:28px; }
  .space-login .slogan-focus { font-size:28px; }
  .space-login .auth-intro { margin-bottom:28px; font-size:13px; }
  .space-login .auth-help { margin-top:24px; }
  .space-login .auth-review { margin-bottom:20px; }
  .space-login .auth-art-footer { inset:auto 24px 52px; font-size:8px; }
  .space-login .auth-update { bottom:28px; font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
  .space-login *, .workspace-arrival * { animation:none !important; transition:none !important; }
}
