@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/outfit-latin-700.woff2') format('woff2'); }
:root { --bg: #0B0B0D; --card: #16161A; --border: #26262C; --text: #F2F2F3; --muted: #9A9AA2; --primary: #FFB020; --danger: #F0524F; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
h1 { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 6px; }
.app-logo { width: 32px; height: 32px; border-radius: 8px; }
.brand-x { color: var(--primary); }
form { display: flex; flex-direction: column; gap: 10px; }
form[hidden], [hidden] { display: none !important; }
label { font-size: 13px; font-weight: 600; }
input { padding: 12px; min-height: 48px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font-size: 16px; width: 100%; font-family: inherit; color-scheme: dark; }
input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
button { min-height: 48px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; }
button[type="submit"] { border: none; background: var(--primary); color: var(--bg); margin-top: 4px; }
button.secondary { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--primary); }
button.link { min-height: 44px; background: none; border: none; color: var(--muted); font-size: 13px; font-weight: 400; text-decoration: underline; }
button:disabled { opacity: 0.5; }
.divider { text-align: center; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.5; }
#status { color: var(--danger); font-size: 13px; min-height: 1em; }
#status.ok { color: var(--muted); }
