.clearhead-auth{min-height:100dvh;display:grid;place-items:center;padding:var(--space-8) var(--space-6);background:var(--background);color:var(--foreground);font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif}.clearhead-auth *{box-sizing:border-box}.clearhead-auth-panel{width:min(100%,440px)}.clearhead-auth-back{display:inline-flex;align-items:center;gap:var(--space-2);min-height:var(--control-height);font-size:var(--text-secondary);color:var(--muted-foreground);margin:0 var(--space-2) var(--space-4);text-decoration:none;border-radius:8px}.clearhead-auth-back:hover{color:var(--foreground)}.clearhead-auth-card{background:var(--card);padding:var(--space-8);border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow-dialog)}.clearhead-auth-brand{display:flex;align-items:center;gap:var(--space-3);color:var(--foreground);text-decoration:none;font-size:var(--text-title);font-weight:650;letter-spacing:-.04em;margin-bottom:var(--space-8)}.clearhead-auth-brand>span{width:40px;height:40px;background:var(--brand);border-radius:12px;color:var(--brand-foreground);display:grid;place-items:center}.clearhead-auth-card h1{font-family:inherit;font-size:var(--text-page);font-weight:650;letter-spacing:-.035em;line-height:1.2;margin:0 0 var(--space-3);text-wrap:balance}.clearhead-auth-description{font-size:var(--text-body);color:var(--muted-foreground);line-height:1.6;margin:0 0 var(--space-6)}.clearhead-auth form label{display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-secondary);font-weight:550;margin-bottom:var(--space-4)}.clearhead-auth input{width:100%;min-height:var(--control-height);padding:9px var(--space-3);background:var(--background);border:1px solid var(--input);border-radius:10px;color:var(--foreground);font:inherit;font-size:var(--text-body);line-height:20px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.clearhead-auth input::placeholder{color:var(--muted-foreground);opacity:1}.clearhead-auth input:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent)}.clearhead-auth input:disabled{opacity:.6;cursor:not-allowed}.clearhead-auth-password{position:relative;display:block}.clearhead-auth-password input{padding-right:48px}.clearhead-auth-password button{position:absolute;right:4px;top:4px;width:32px;height:32px;background:transparent;border:0;color:var(--muted-foreground);display:grid;place-items:center;border-radius:8px;cursor:pointer}.clearhead-auth-password button:hover{background:var(--muted);color:var(--foreground)}.clearhead-auth-password-help{color:var(--muted-foreground);font-size:var(--text-caption);line-height:1.5;display:block;margin:-4px 0 var(--space-4)}.clearhead-auth-submit{width:100%;min-height:var(--control-height);display:flex;align-items:center;justify-content:center;gap:var(--space-2);background:var(--primary);color:var(--primary-foreground);border:0;border-radius:12px;font:inherit;font-size:var(--text-body);font-weight:600;cursor:pointer;margin-top:var(--space-6);transition:transform .15s ease,filter .15s ease}.clearhead-auth-submit:hover:not(:disabled){filter:brightness(1.06)}.clearhead-auth-submit:active:not(:disabled){transform:scale(.98)}.clearhead-auth-submit:disabled{opacity:.5;cursor:not-allowed}.clearhead-auth-submit svg{animation:auth-spin 1s linear infinite}.clearhead-auth-switch{font-size:var(--text-secondary);color:var(--muted-foreground);text-align:center;margin:var(--space-6) 0 0;line-height:1.6}.clearhead-auth-switch a{color:var(--primary);text-decoration:none;font-weight:600;margin-left:3px}.clearhead-auth-switch a:hover{text-decoration:underline;text-underline-offset:3px}.clearhead-auth-local{display:flex;align-items:center;justify-content:center;min-height:var(--control-height);margin-top:var(--space-4);font-size:var(--text-secondary);color:var(--primary);font-weight:550;text-decoration:none;border-radius:10px}.clearhead-auth-local:hover{background:var(--muted)}.clearhead-auth-note{text-align:center;color:var(--muted-foreground);margin:var(--space-2) 0 0;font-size:var(--text-caption);line-height:1.5}.clearhead-auth-error,.clearhead-auth-message{background:var(--brand-soft);color:var(--brand-ink);font-size:var(--text-secondary);line-height:1.55;padding:var(--space-3) var(--space-4);border-radius:12px;margin:0 0 var(--space-6)}.clearhead-auth-error{background:color-mix(in srgb,var(--destructive) 10%,var(--card));color:var(--destructive);margin-bottom:var(--space-4)}.clearhead-auth-google{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:var(--space-3);border:1px solid var(--input);border-radius:12px;background:var(--card);color:var(--foreground);font:inherit;font-size:var(--text-body);font-weight:550;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.clearhead-auth-google:hover:not(:disabled){background:var(--muted);border-color:var(--muted-foreground)}.clearhead-auth-google:disabled{opacity:.6;cursor:not-allowed}.clearhead-auth-google svg{flex:0 0 auto}.clearhead-auth-spinner{animation:auth-spin 1s linear infinite}.clearhead-auth-divider{display:flex;align-items:center;gap:var(--space-3);color:var(--muted-foreground);font-size:var(--text-caption);line-height:1.5;margin:var(--space-4) 0}.clearhead-auth-divider:after,.clearhead-auth-divider:before{content:"";height:1px;background:var(--border);flex:1}.clearhead-auth a:focus-visible,.clearhead-auth button:focus-visible{outline:2px solid var(--ring);outline-offset:3px}@keyframes auth-spin{to{transform:rotate(1turn)}}@media (max-width:767px){.clearhead-auth input{font-size:16px;padding-top:11px;padding-bottom:11px}.clearhead-auth-password button{top:2px;right:2px;width:40px;height:40px}}@media (max-width:420px){.clearhead-auth{padding:var(--space-6) var(--space-4)}.clearhead-auth-card{padding:var(--space-6)}.clearhead-auth-brand{margin-bottom:var(--space-6)}}@media (prefers-reduced-motion:reduce){.clearhead-auth *{animation:none!important;transition:none!important}.clearhead-auth-submit:active:not(:disabled){transform:none}}