:root {
  color-scheme: light;
  --ink: #20292c;
  --muted: #637077;
  --green: #007c64;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #f4f5f7;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 12px; }
.auth-card { width: min(100%, 420px); padding: clamp(22px, 5vw, 36px); background: #fff; border-radius: 12px; }
.wordmark { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 21px; font-weight: 700; }
.wordmark svg { width: 27px; height: 26px; }
h1 { margin: 27px 0 20px; font-size: clamp(25px, 5vw, 31px); line-height: 1.15; letter-spacing: -.035em; }
.intro { color: var(--muted); margin: -6px 0 22px; font-size: 15px; line-height: 1.45; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-size: 15px; font-weight: 550; }
input, button { font: inherit; }
input { width: 100%; min-height: 46px; border: 1px solid #c6d1ce; border-radius: 12px; background: #fff; color: var(--ink); padding: 10px 13px; font-size: 16px; font-weight: 400; }
input::placeholder { color: #77838a; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.code-input { letter-spacing: .25em; font-variant-numeric: tabular-nums; }
.hint { margin: -10px 0 0; font-size: 13px; color: var(--muted); }
.primary { min-height: 46px; border: 0; border-radius: 12px; background: var(--green); color: #fff; font-weight: 650; cursor: pointer; }
.primary:hover { background: #006953; }
.links { display: grid; justify-items: center; gap: 10px; margin-top: 18px; }
.links a, .links button { color: var(--green); font-size: 15px; font-weight: 550; text-underline-offset: 3px; background: none; border: none; padding: 5px; cursor: pointer; }
.links button { text-decoration: underline; }
button:disabled { opacity: .65; cursor: wait; }
.notice { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.notice:empty { display: none; }
.notice.error { color: #9b2c35; }
