/* Sign-in page (rendered by server/app.py). */
@font-face { font-family: "TenonSans"; font-weight: 400; font-display: swap; src: url("/static/assets/fonts/TenonSans-400.v2.woff2") format("woff2"); }
@font-face { font-family: "TenonSans"; font-weight: 600; font-display: swap; src: url("/static/assets/fonts/TenonSans-600.v2.woff2") format("woff2"); }
:root { color-scheme: light dark; --bg: #f4f6fa; --surface: #fff; --ink: #0b1017; --muted: #5b6875; --line: rgba(11, 16, 23, 0.18); }
@media (prefers-color-scheme: dark) { :root { --bg: #0b1017; --surface: #131b24; --ink: #eef2f7; --muted: #8e9cab; --line: rgba(238, 242, 247, 0.22); } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--bg); color: var(--ink); font: 400 15px/1.5 "TenonSans", "Segoe UI", Helvetica, Arial, sans-serif; }
.card { width: 100%; max-width: 380px; padding: 36px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-align: center; box-shadow: 0 18px 50px rgba(11, 16, 23, 0.10); }
.logo { height: 60px; width: auto; }
h1 { margin: 10px 0 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.3em; color: var(--muted); }
.ms-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.ms-button:hover { border-color: #016def; }
.ms-button:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #016def; outline-offset: 2px; }
.hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.notice { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: rgba(1, 109, 239, 0.10); font-size: 14px; text-align: left; }
.notice.error { background: rgba(197, 48, 42, 0.14); }
code { font-size: 12.5px; }
.dev { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.dev .hint { margin: 0 0 4px; }
.dev input, .dev button { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.dev button { background: #016def; border-color: #016def; color: #fff; font-weight: 600; cursor: pointer; }
