/* The passcode page is rendered by the Worker (src/gate.js) outside the React app, so it carries its own styles. */
@font-face { font-family: Suisse; src: url(/assets/SuisseIntl-Regular.otf) format("opentype"); font-weight: 400; font-display: swap; }
:root { --bg: #f5f5f2; --surface: #ffffff; --line: rgba(10, 10, 11, .1); --line-strong: rgba(10, 10, 11, .18); --text: #0a0a0b; --muted: rgba(10, 10, 11, .62); --blue: #0055ff; --blue-hi: #3478ff; --blue-soft: rgba(0, 85, 255, .08); --inset: 20px; --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 8px 24px rgba(10, 10, 11, .06); }
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 Suisse, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.gate { min-height: 100dvh; display: grid; place-items: center; padding: var(--inset); }
.gate-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 40px 32px; box-shadow: var(--shadow); }
.gate-logo { display: block; margin-bottom: 40px; }
.gate h1 { font-size: 36px; line-height: 1; letter-spacing: -1px; font-weight: 400; margin: 0 0 12px; }
.gate p.muted { margin: 0 0 32px; }
.gate form { display: grid; gap: 20px; }
.gate label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.field { height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 16px; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.gate-error { color: #c4282d; margin: -4px 0 0; font-size: 14px; }
.btn-primary { height: 48px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font-size: 15px; cursor: pointer; transition: background .2s; }
.btn-primary:hover { background: var(--blue-hi); }
