body.auth-configured .shell{display:none}
body.auth-configured .auth-screen{display:grid}
body.auth-configured.authenticated .shell{display:grid}
body.auth-configured.authenticated .auth-screen{display:none}
.auth-screen{display:none;min-height:calc(100vh - 45px);place-items:center;padding:28px;background:#f4f7f4}
.auth-card{width:min(440px,100%);padding:34px;background:white;border:1px solid #dce6de;border-radius:16px;box-shadow:0 12px 38px #183b2810}
.auth-card h1{margin:0 0 8px;font-size:1.55rem;color:#174d37}
.auth-card p{color:#66756b;line-height:1.6}
.auth-form{display:grid;gap:14px;margin-top:22px}
.auth-form label{display:grid;gap:6px;font-weight:600;font-size:.9rem}
.auth-form input{width:100%;min-height:44px;border:1px solid #cfdbd1;border-radius:8px;padding:10px 12px;font:inherit}
.auth-actions{display:grid;gap:10px;margin-top:8px}
.auth-actions button{min-height:46px}
.auth-switch{border:0;background:transparent;color:#17664a;text-decoration:underline;cursor:pointer;font:inherit}
.auth-message{min-height:1.4em;color:#46584b;font-size:.9rem}
.auth-message.error{color:#a03327}
.auth-error{color:#a03327;background:#fde7e3;border-radius:8px;padding:10px}
.auth-user{font-size:.85rem;color:#59695f}
