/* The sign-in card — the same as app.tuhi.me (TUHI-Cloud src/util/http.ts html()) and chat.tuhi.me (BrainTrust apps/openwebui
   src/gate.ts page()): logo, type and colours. Sisters: change them together. */
:root{color-scheme:light}
body{margin:0;font-family:-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#2a1a14;background:#fbf6f2}
.si{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;gap:18px;box-sizing:border-box}
.card{width:min(440px,100%);background:#fff;border:1px solid #eedfd6;border-radius:14px;box-shadow:0 10px 30px rgba(42,26,20,.12);padding:28px;box-sizing:border-box}
.logo{display:block;margin:0 auto 14px;width:200px;max-width:60vw;height:auto;border-radius:16px}
.logo.glow{animation:glow 1.4s ease-in-out infinite alternate}@keyframes glow{from{box-shadow:0 0 0 rgba(217,72,15,0)}to{box-shadow:0 0 34px rgba(217,72,15,.5)}}
.brand h1{margin:0;font-size:22px;color:#2a1a14}.brand p{margin:2px 0 14px;color:#7a6157;font-size:13px}
.card h1:not(.t){font-size:17px;margin:4px 0 10px;color:#2a1a14}
p{line-height:1.55;color:#4a342b;font-size:13.5px;margin:0 0 12px}a{color:#b93c0b}
label{display:block;font-size:12px;font-weight:600;color:#7a6157;margin:6px 0 6px}
input[type=email]{width:100%;box-sizing:border-box;height:44px;padding:0 12px;border-radius:10px;border:1px solid #e2c9bb;background:#fff;color:#2a1a14;font-size:16px}
input[type=email]:focus{outline:2px solid rgba(217,72,15,.25);border-color:#d9480f}
button{width:100%;margin-top:12px;background:#d9480f;color:#fff;border:0;border-radius:10px;height:44px;font-weight:600;font-size:14px;cursor:pointer}button:hover{background:#b93c0b}
button:disabled{opacity:.6;cursor:not-allowed}
.msg{padding:10px 12px;border-radius:10px;font-size:13.5px;margin-bottom:12px;line-height:1.5}.msg b{display:block;font-size:14px;margin-bottom:2px}
.warn{background:#fdf3e2;border:1px solid #f0d29b;color:#9a4b06}.ok{background:#eef8f0;border:1px solid #bfe3c8;color:#166534}.err{background:#fdecec;border:1px solid #f2c0c0;color:#b91c1c}
.ts{margin-top:12px;min-height:65px;display:flex;justify-content:center}
.foot{display:flex;gap:8px;font-size:12px;color:#7a6157}
[hidden]{display:none !important}
@media (prefers-reduced-motion:reduce){.logo.glow{animation:none}}
