:root { color-scheme: light; font-family: system-ui, sans-serif; color: #213547; background: #f4f7fa; }
* { box-sizing: border-box; }
body { margin: 0; padding: 28px 16px; }
main { max-width: 560px; margin: 0 auto; padding: 32px; background: white; border-radius: 16px; box-shadow: 0 4px 24px #1232; }
.brand { display: block; text-align: center; margin-bottom: 28px; }
.brand img { width: 280px; max-width: 100%; height: auto; }
h1 { color: #1a5d99; margin: 0 0 16px; font-size: 1.8rem; }
h2 { font-size: 1.15rem; }
p { line-height: 1.55; }
label { display: block; font-weight: 650; margin-top: 18px; }
input[type="email"], input[type="text"] { width: 100%; font: inherit; padding: 12px; border: 1px solid #8799aa; border-radius: 8px; margin-top: 8px; }
#code { letter-spacing: .16em; }
button { width: 100%; font: inherit; font-weight: 650; border: 0; padding: 14px; border-radius: 8px; background: #1a5d99; color: white; cursor: pointer; margin-top: 12px; min-height: 48px; }
button:hover { filter: brightness(.9); }
button:disabled { opacity: .55; cursor: not-allowed; }
.danger { background: #a4262c; }
.confirmation { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.confirmation input { margin-top: 4px; width: 20px; height: 20px; flex-shrink: 0; }
.secondary-actions { display: flex; gap: 8px; }
.secondary { color: #1a5d99; background: #edf3f8; font-size: .9rem; }
.hint { font-size: .9rem; color: #536777; }
a { color: #1a5d99; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #0676d2; outline-offset: 3px; }
#status:not(:empty), #error, .notice { padding: 14px; border-radius: 8px; line-height: 1.5; margin-bottom: 16px; }
#status:not(:empty) { background: #e9f3fc; }
#error, .notice { background: #fff0ed; color: #802322; }
.details { border-top: 1px solid #dde5ed; margin-top: 28px; padding-top: 12px; font-size: .92rem; }
footer { margin-top: 24px; text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 420px) { main { padding: 22px 18px; } .secondary-actions { flex-direction: column; gap: 0; } }
