/* Brand v2.2: Deep Violet #241F45, accent #FF6600 (text on it is SD Paper #18130F), SD Ink #F5F1EA, SD Paper #18130F. */
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: #241f45; color: #18130f; font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.card { width: 100%; max-width: 440px; background: #f5f1ea; border-radius: 14px; padding: 28px 24px; box-shadow: 0 10px 30px rgb(0 0 0 / 30%); }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.wordmark { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.01em; }
h1 { font-size: 1.4rem; margin: 0 0 12px; font-weight: 800; }
p { margin: 0 0 12px; }
label { display: block; font-weight: 600; margin: 8px 0 6px; }
input { width: 100%; font: inherit; font-size: 1rem; padding: 12px; border: 1px solid #b9ad9a; border-radius: 8px; background: #fff; color: #18130f; margin-bottom: 12px; }
input.code { font-size: 1.6rem; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #ff6600; outline-offset: 2px; }
button { font: inherit; font-weight: 600; padding: 10px 14px; border-radius: 8px; border: 1px solid #b9ad9a; background: #fff; color: #18130f; cursor: pointer; }
button.primary { width: 100%; padding: 13px; background: #ff6600; border-color: #ff6600; color: #18130f; font-size: 1rem; }
button:disabled { opacity: 0.55; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.err { color: #a4161a; font-weight: 600; }
.timer { color: #5f564a; font-variant-numeric: tabular-nums; }
.help { margin-top: 20px; padding-top: 14px; border-top: 1px solid #ddd4c6; font-size: 0.9rem; color: #5f564a; }
.help a { color: #241f45; font-weight: 600; }
[hidden] { display: none !important; }
