:root { color-scheme: dark; font-family: ui-sans-serif, system-ui, sans-serif; background: #000; color: #dedede; font-synthesis: none; }
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: #000; }
[hidden] { display: none !important; }
.shell { display: grid; width: min(100% - 40px, 390px); min-height: 100vh; min-height: 100dvh; margin: auto; align-items: center; padding: 32px 0; }
.eyebrow { margin: 0; color: #929292; font-family: ui-monospace, monospace; font-size: .7rem; letter-spacing: .14em; }
h1 { margin: 16px 0 8px; font-size: 1.6rem; font-weight: 500; letter-spacing: -.025em; }
.lede { margin: 0 0 24px; color: #aaa; font-size: .95rem; line-height: 1.65; }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid #aaa; outline-offset: 4px; }
.stack-form { display: grid; gap: 10px; }
label { color: #d0d0d0; font-size: .88rem; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input { min-width: 0; width: 100%; padding: 12px 14px; border: 1px solid #383838; border-radius: 4px; background: #090909; color: #f2f2f2; font-family: ui-monospace, monospace; font-size: 1.25rem; letter-spacing: .28em; }
input::placeholder { color: #666; }
.button { min-height: 46px; padding: 11px 16px; border: 1px solid #bcbcbc; border-radius: 4px; background: #dedede; color: #090909; cursor: pointer; }
.button:hover { border-color: #fff; background: #fff; }
button:disabled { cursor: wait; opacity: .6; }
#email-send { width: 100%; margin-bottom: 16px; }
.recovery-row { margin-top: 18px; }
.text-button, .auth-home { padding: 3px 0; border: 0; background: transparent; color: #c7c7c7; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.form-message { min-height: 1.5em; margin: 14px 0 0; color: #c9c9c9; font-size: .9rem; line-height: 1.6; }
.form-message.error { color: #ff9eac; }
.notice { margin-bottom: 18px; padding: 14px; border: 1px solid #555; color: #ccc; font-size: .9rem; line-height: 1.6; }
.recovery-action { margin-top: 14px; }
.auth-home { display: inline-block; margin-top: 28px; color: #8f8f8f; text-decoration: none; }
.auth-home:hover { color: #ddd; }
@media (max-width: 380px) { .code-row { grid-template-columns: 1fr; } }
