/* Authentication is a separate surface; normal app styles stay intact. */
.shell[hidden],#auth-screen[hidden],.auth-screen [hidden]{display:none!important}
body.auth-locked .shell,body.auth-locked #toast-area,body.auth-locked dialog,
body.auth-locked #mobile-bottom-nav{display:none!important}
body.auth-locked{overflow:auto;padding:0!important}
.auth-screen{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:calc(24px + env(safe-area-inset-top,0px)) calc(20px + env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) calc(20px + env(safe-area-inset-left,0px));box-sizing:border-box}
.auth-panel{width:min(100%,420px);padding:32px;box-sizing:border-box;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow)}
.auth-mark{display:grid;place-items:center;width:60px;height:44px;margin-bottom:24px;color:var(--accent)}
.auth-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5}
.auth-mark .eye-pupil{fill:currentColor;stroke:none}
.auth-panel h1{font-family:inherit;color:var(--text);font-size:28px;line-height:1.15;margin:0 0 10px;letter-spacing:0}
.auth-subtitle{color:var(--muted);font-size:14px;letter-spacing:.06em;margin:0 0 28px}
.auth-panel label{display:block;font-size:14px;color:var(--text);margin-bottom:8px}
.auth-panel .auth-input{box-sizing:border-box;width:100%;min-height:48px;font:inherit;font-size:16px;padding:12px;background:var(--surface2);color:var(--text);border:1px solid var(--border);border-radius:6px}
.auth-panel .auth-input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.auth-panel .auth-submit{width:100%;min-height:48px;margin-top:18px;border:1px solid var(--accent);border-radius:6px;background:var(--accent);color:var(--bg);font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.auth-panel .auth-submit:disabled{opacity:.65;cursor:wait}
.auth-panel .auth-submit:focus-visible{outline:2px solid var(--text);outline-offset:3px}
.auth-feedback{font-size:14px;line-height:1.5;color:var(--text);margin:16px 0 0;overflow-wrap:anywhere}
.auth-feedback[data-error="true"]{color:var(--danger)}
.auth-version{display:block;text-align:right;font-size:12px;color:var(--muted);margin-top:24px}
@media(max-width:760px){.auth-panel{padding:26px 22px}.auth-panel h1{font-size:26px}}
