/* ── /login — dedicated sign-in page. Calm, single accent, no motion. ── */
:root {
    --bg: #0B0F17; --surface: #121826; --border: rgba(148,163,184,0.16); --border-strong: rgba(148,163,184,0.32);
    --text: #E6EAF2; --body: #C3CBD9; --muted: #98A2B3;
    --accent: #4F5FE6; --accent-hover: #4352D6; --accent-text: #A5B4FC; --accent-ring: rgba(129,140,248,0.28);
    --notice-bg: rgba(251,191,36,0.08); --notice-border: rgba(251,191,36,0.32); --notice-text: #F5D98B;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--body);
       font: 15px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

.si-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; }
.si-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.si-logo:hover { text-decoration: none; }
.si-logo .bt-brand-mark { height: 28px; width: auto; display: block; }
.bt-brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1; color: var(--text); white-space: nowrap; }
.bt-brand-name span { color: #9BCB5E; }
.si-top-link { font-size: 14px; color: var(--muted); }

.si-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px 40px; }
.si-back { width: 100%; max-width: 400px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.si-back:hover { color: var(--text); }
.si-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px 28px 24px; }
.si-card h1 { margin: 0; font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.si-sub { margin: 4px 0 24px; color: var(--muted); font-size: 14px; }

.si-notice { margin: 0 0 18px; padding: 10px 12px; border-radius: 8px; font-size: 14px;
             background: var(--notice-bg); border: 1px solid var(--notice-border); color: var(--notice-text); }

.si-google { display: flex; justify-content: center; min-height: 44px; }
.si-google-loading { text-align: center; font-size: 14px; color: var(--muted); padding: 10px 0; }
.si-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 13px; }
.si-divider::before, .si-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.si-label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.si-label-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.si-forgot { font-size: 13px; }
.si-input { width: 100%; height: 44px; padding: 0 12px; font: inherit; color: var(--text); background: var(--bg);
            border: 1px solid var(--border-strong); border-radius: 8px; transition: border-color .15s, box-shadow .15s; }
.si-input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-ring); }
.si-pw { position: relative; }
.si-pw .si-input { padding-right: 64px; }
.si-pw-toggle { position: absolute; right: 6px; top: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px;
                background: transparent; color: var(--muted); font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.si-pw-toggle:hover { color: var(--text); background: rgba(148,163,184,0.10); }

.si-btn { width: 100%; height: 44px; margin-top: 24px; border: 0; border-radius: 8px; background: var(--accent); color: #fff;
          font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.si-btn:hover { background: var(--accent-hover); }
.si-btn:disabled { opacity: .7; cursor: default; }

.si-terms { margin: 18px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.si-terms a { color: var(--body); text-decoration: underline; }
.si-alt { width: 100%; max-width: 400px; margin: 20px auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.si-alt-q { font-size: 14px; color: var(--body); font-weight: 500; }
.si-create { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; padding: 0 20px;
             border: 1px solid var(--border-strong); border-radius: 8px; color: var(--text); font-size: 15px; font-weight: 600;
             text-decoration: none; transition: border-color .15s, background-color .15s, color .15s; }
.si-create:hover { border-color: var(--accent-text); background: rgba(79,95,230,0.10); color: var(--text); text-decoration: none; }
.si-alt-sub { font-size: 12.5px; color: var(--muted); }

.si-foot { padding: 20px 16px 28px; text-align: center; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--border); }
.si-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 8px; }
.si-foot-links a { color: var(--muted); }
.si-foot p { margin: 0; }

@media (max-width: 480px) {
    .si-top { padding: 16px; }
    .si-top-link { font-size: 13px; }
    .si-card { padding: 24px 18px 20px; border-radius: 10px; }
}
