/* Login page: white, the user name and the password only (the user's rule of 2026-11-27). Enter signs in. */
body.auth { margin:0; min-height:100vh; min-height:100dvh; background:#fff; font:16px/1.4 -apple-system, system-ui, sans-serif; color:#111 }
.auth-main { min-height:100vh; min-height:100dvh; display:grid; place-items:center; padding:16px; box-sizing:border-box }
.auth-card { width:min(320px, 100%); display:grid; gap:12px }
.auth-card input { width:100%; box-sizing:border-box; height:44px; padding:0 12px; border:1px solid #d4d4d8; border-radius:8px; background:#fff; color:#111; font:inherit }
.auth-card input:focus { outline:2px solid #111; outline-offset:-1px; border-color:transparent }
.auth-card input[aria-invalid=true] { border-color:#c0392b }
.auth-card input[hidden] { display:none }
.auth-card .err { margin:0; color:#c0392b; font-size:14px }
.hide { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; padding:0 }
.auth-brand { justify-content:center; margin-bottom:14px }
/* Dark theme (her rule of 2026-12-03, every page; /static/brand/theme.js, dark by default): TUITA's navy, the logo in white */
[data-theme="dark"] body.auth { background:var(--tuita-bg); color:var(--tuita-text) }
[data-theme="dark"] .auth-card input { background:var(--tuita-panel); color:var(--tuita-text); border-color:var(--tuita-border-strong) }
[data-theme="dark"] .auth-card input:focus { outline-color:var(--tuita-focus) }
[data-theme="dark"] .auth-card .err { color:#ff9d94 }
[data-theme="dark"] .auth-brand .tuita-logo { background:#fff }
[data-theme="dark"] .auth-brand .flying3d { color:#fff; border-left-color:rgb(255 255 255 / .3) }
