/* Sign-in screens */
.auth{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:var(--navy)}
.auth-card{background:var(--surface);color:var(--ink);border-radius:16px;padding:30px 28px;width:min(400px,100%);box-shadow:0 20px 60px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:10px}
.auth-card h1{font-size:22px;margin:6px 0 0}
.auth-card p{margin:0}
.auth-brand{display:flex;flex-direction:column;gap:2px}
.auth-brand b{font-family:var(--f-display);font-weight:800;font-size:26px;letter-spacing:.06em;color:var(--navy)}
:root[data-theme="dark"] .auth-brand b{color:var(--ink)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .auth-brand b{color:var(--ink)}}
.auth-brand b i{font-style:normal;color:var(--accent)}
.auth-brand span{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);font-weight:600}
.auth-form{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.auth-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--ink-2)}
.auth-form .btn{justify-content:center;padding:10px 14px;margin-top:4px}
.auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:4px}
.linkbtn{all:unset;cursor:pointer;color:var(--s-cfo);font-size:13px;font-weight:500}
.linkbtn:hover{text-decoration:underline}
.auth-msg{font-size:13px;min-height:1.2em}
.auth-msg.bad{color:var(--crit)} .auth-msg.ok{color:var(--good)}
code{font-family:var(--f-mono);font-size:12.5px}
input[type=password]{background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;padding:8px 10px;width:100%}
/* Phones: keep only "Sign out" from the sidebar footer, at the end of the top bar */
@media (max-width:820px){
  .side-foot{display:flex!important;margin:0 0 0 auto;flex-direction:row;padding:0}
  .side-foot > :not(button){display:none}
  .side-foot button{white-space:nowrap}
}
