:root { --bg: #f4f5f6; --fg: #17191c; --mut: #5d6269; --line: #cfd3d8; --card: #ffffff; --acc: #1d5c49; --acc-fg: #ffffff; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #121417; --fg: #ececed; --mut: #9aa0a6; --line: #363a40; --card: #1b1e22; --acc: color-mix(in srgb, #1d5c49 60%, #ffffff); --acc-fg: #0e1012; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: grid; place-items: center; padding: 24px 16px; min-height: 100dvh; }
main { width: 100%; max-width: 26rem; }
h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 6px; }
.lead { margin: 0 0 4px; font-weight: 650; }
.sub { margin: 0 0 22px; color: var(--mut); }
form { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 16px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 5px; }
label:first-of-type { margin-top: 0; }
input { width: 100%; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 10px 11px; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
small { display: block; color: var(--mut); font-size: 13px; margin-top: 4px; }
button { width: 100%; margin-top: 16px; font: inherit; font-weight: 650; padding: 11px 14px; border-radius: 7px; border: 1px solid var(--acc); background: var(--acc); color: var(--acc-fg); cursor: pointer; }
button[disabled] { opacity: .6; cursor: progress; }
.err { margin: 12px 0 0; padding: 9px 11px; border-radius: 7px; border: 1px solid #c2410c; background: color-mix(in srgb, #c2410c 12%, var(--card)); font-size: 14px; }
.notes { margin: 18px 2px 0; padding: 0; list-style: none; color: var(--mut); font-size: 13px; line-height: 1.5; }
.notes li { margin: 0 0 7px; padding-left: 14px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.notes strong { color: var(--fg); font-weight: 600; }
.mid { margin: 0 0 18px; }
.mid .err { margin: 0 0 12px; }
.mid-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 7px; background: #1e6b59; color: #f6fbf8; font-weight: 650; text-decoration: none; border: 1px solid #1e6b59; }
.mid-btn:hover { background: #278168; }
.mid-mark { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; flex: none; }
.mid-mark::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; margin-left: -.75px; background: currentColor; }
.mid-mark::after { content: ""; position: absolute; inset: 2px 5px; border: 1.5px solid currentColor; border-radius: 50%; }
.mid small { text-align: center; }
.or { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; color: var(--mut); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (prefers-color-scheme: dark) { .mid-btn { background: #5fbea4; border-color: #5fbea4; color: #0b1a15; } .mid-btn:hover { background: #7fd1bb; } }
