/* Edgeify – Login-Seite (Spec 03) */
body.locked .app{display:none}
body:not(.locked) .auth{display:none}

.auth{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;box-sizing:border-box}
.auth-card{width:100%;max-width:400px;padding:30px 28px 26px;box-sizing:border-box}
.auth-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:22px}
.auth-brand img{width:44px;height:44px;border-radius:12px;box-shadow:0 8px 24px -8px rgba(61,123,255,.9)}
.auth-brand .wm{font-size:26px}
.auth-form{display:flex;flex-direction:column;gap:14px}
.auth-form[hidden]{display:none}
.auth-form h2{margin:0;font:600 19px var(--display);color:var(--fg);text-align:center}
.auth-p{margin:-6px 0 0;font-size:13px;color:var(--muted);text-align:center}
.auth-form .btn{width:100%;padding:12px 16px;margin-top:4px}
.auth-form .btn[disabled]{opacity:.55;cursor:wait;transform:none}
.auth-link{background:none;border:0;padding:4px;color:var(--blue2);font:500 13px var(--sans);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.auth-link:hover{color:var(--cyan)}
.auth-msg{margin-top:14px;font-size:13px;text-align:center;min-height:1em}
.auth-msg.err{color:var(--red)}
.auth-msg.ok{color:var(--green)}
.pw-rules{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;font-size:12px;color:var(--muted)}
.pw-rules li::before{content:"○ ";color:var(--muted)}
.pw-rules li.ok{color:var(--green)}
.pw-rules li.ok::before{content:"● ";color:var(--green)}

.nav.logout{margin-top:auto;color:var(--muted)}
.nav.logout:hover{color:var(--red)}
.nav.logout + .side-foot{margin-top:6px}

/* Speicher-Status in der Seitenleiste (Spec 05) */
.side-foot b[data-st="saving"]::before{background:var(--amber);box-shadow:0 0 8px var(--amber)}
.side-foot b[data-st="error"]::before,.side-foot b[data-st="conflict"]::before{background:var(--red);box-shadow:0 0 8px var(--red)}
.side-foot b[data-st="error"],.side-foot b[data-st="conflict"]{color:#ffb3c3}
