/* Sign-in front page: form on the left third, an animated scene on the right two thirds. */
html, body { height: 100%; }
body.signin { margin: 0; background: var(--bg); color: var(--ink); }
.si { display: grid; grid-template-columns: minmax(360px, 1fr) 2fr; min-height: 100vh; }
.si-form { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 64px); gap: 0; background: var(--panel); position: relative; z-index: 1; }
.si-in { width: 100%; max-width: 380px; margin: 0 auto; }
.si-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin-bottom: 40px; }
.si-brand img { width: 34px; height: 34px; border-radius: 9px; }
.si h1 { font-size: 1.7rem; margin: 0 0 6px; letter-spacing: -.01em; }
.si .lead { color: var(--muted); margin: 0 0 26px; line-height: 1.5; }
.si .sso { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 16px; font-size: 1rem; text-decoration: none; border-radius: 11px; box-sizing: border-box; }
.si .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin: 24px 0; }
.si .or::before, .si .or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.si form { display: grid; gap: 16px; }
.si .input { width: 100%; box-sizing: border-box; padding: 12px 13px; border-radius: 10px; font-size: .98rem; }
.si .keywrap { position: relative; }
.si .keywrap .input { padding-right: 64px; }
.si .keywrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.si .keywrap button:hover { color: var(--ink); }
.si #go { padding: 13px 16px; font-size: 1rem; border-radius: 11px; width: 100%; }
.si #go[data-busy] { opacity: .7; cursor: progress; }
.si .alert { margin: 0; }
.si .fine { margin-top: 26px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.si #captcha { min-height: 0; }
.si-scene { position: relative; background: #06182b; min-height: 100vh; }
.si-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 900px) {
  .si { grid-template-columns: 1fr; }
  .si-scene { display: none; }
  .si-form { min-height: 100vh; }
}
