:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202821; background: #fbf7ef; }
* { box-sizing: border-box; }
body { margin: 0; padding: 24px; }
header { max-width: 440px; margin: 24px auto 28px; }
a { color: #315b3b; text-underline-offset: 3px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { display: block; width: 148px; height: auto; transform: scale(1.2); transform-origin: left center; }
main { max-width: 440px; margin: 0 auto; padding: 32px; background: #fffaf3; border: 1px solid #dedfd4; border-radius: 12px; box-shadow: 0 12px 32px rgba(39,56,41,.06); }
h1 { color: #123f2c; font-size: 28px; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 14px; }
h1:focus { outline: none; }
p { font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
#intro { color: #657068; margin: 0 0 24px; }
form { display: grid; gap: 11px; margin: 0 0 22px; }
label { font-size: 14px; font-weight: 650; }
input, button { width: 100%; min-width: 0; font: inherit; min-height: 46px; border-radius: 8px; padding: 11px 12px; }
input { background: #fff; border: 1px solid #bac8bf; }
button { cursor: pointer; border: 1px solid #315b3b; color: #fff; background: #315b3b; font-weight: 700; margin-top: 8px; }
button:hover { background: #123f2c; }
button:disabled { opacity: .65; cursor: wait; }
.help { font-size: 13px; margin: 0 0 8px; color: #657068; }
#recoveryStatus:empty, p:has(> [hidden]) { display: none; }
#signInLink, #anotherLink { font-size: 14px; font-weight: 600; }
:focus-visible { outline: 3px solid #b56620; outline-offset: 3px; }
/* Programmatic focus announces reset status without framing it as a control. */
body[data-recovery="reset"] #recoveryStatus:focus { outline: none; }
[hidden] { display: none !important; }
@media (max-width: 480px) { body { padding: 16px; } header { margin: 16px auto 24px; } main { padding: 26px 22px; } h1 { font-size: 26px; } }

.password-input { position: relative; min-width: 0; }
.password-input input { padding-right: 54px; }
.password-visibility { position: absolute; top: 1px; right: 1px; display: grid; place-items: center; width: 44px; min-height: 44px; margin: 0; padding: 10px; border: 0; border-radius: 7px; background: transparent; color: #315b3b; }
.password-visibility:hover { background: #edf1df; }
.password-visibility svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.verification-secondary { width: auto; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #315b3b; font-size: 14px; font-weight: 400; text-decoration: underline; }
.verification-secondary:hover { background: transparent; color: #123f2c; }
