[hidden]{display:none!important}
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px}
.auth-card{width:min(440px,100%);background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:32px}
.auth-card .brand{font-size:25px;margin-bottom:24px;display:flex}.auth-card .brand .logo{font-size:29px}
.auth-card h1{font-size:25px;margin-bottom:12px}.auth-card p{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:20px}
.auth-card label{margin:16px 0}.auth-card input{width:100%;margin-top:6px}.auth-actions{display:flex;gap:10px;margin:20px 0}
#auth-message{margin:0}#sidebar-user{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis}
#sync-warning{position:sticky;top:0;z-index:45;margin:10px 20px;padding:14px;background:#fff0d0;color:#594318;border:1px solid #e2c57e;border-radius:8px;font-size:12px}
#sync-warning span{display:block;margin-bottom:8px}#sync-warning button{margin:4px}
#workspace.sync-blocked main,#workspace.sync-blocked .fab,#workspace.sync-blocked #modal{pointer-events:none;opacity:.65}
@media(max-width:650px){.auth-card{padding:24px}.header-actions{gap:5px}#saved{max-width:110px}#logout,#sync{padding:6px;font-size:11px}}
