/* Acceso por correo: la misma identidad visual del login y de la página 404. */
.password-layout {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: 40px 24px;
    background: radial-gradient(ellipse at top right, #e8e4dd 0, transparent 55%), #f4f1ec;
}
.password-card {
    width: min(100%, 470px);
    padding: 38px;
    border: 1px solid #ded8cf;
    border-radius: 22px;
    background: #fffdf9;
    box-shadow: 0 16px 48px rgba(25, 25, 25, .06);
}
.password-brand { text-align: center; }
.password-brand .brand { font-size: 27px; }
.password-brand .brand-mark, .password-brand .brand-mark img { width: 34px; height: 34px; }
.password-eyebrow {
    margin: 36px 0 12px;
    color: #716c65;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.password-card h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.7rem, 5vw, 2rem);
    line-height: 1.15;
    letter-spacing: -.045em;
}
.password-copy { margin: 14px 0 26px; color: #716c65; font-size: 14px; line-height: 1.65; }
.password-form { display: grid; gap: 20px; }
.password-field { display: grid; gap: 9px; }
.password-field label { color: #35312d; font-size: 13px; font-weight: 600; }
.password-field input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #ded8cf;
    border-radius: 10px;
    color: #191919;
    background: #f7f3ee;
    font: inherit;
}
.password-field input:focus-visible { outline: 2px solid #716c65; outline-offset: 2px; }
.password-hint { margin: 0; color: #716c65; font-size: 12px; line-height: 1.5; }
.password-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    border: 1px solid #191919;
    border-radius: 10px;
    background: #191919;
    color: #fffdf9;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.password-submit:hover { background: #35312d; }
.password-submit:focus-visible, .password-text-link:focus-visible, .password-page .home-link:focus-visible {
    outline: 2px solid #716c65;
    outline-offset: 4px;
}
.password-text-link { display: block; width: fit-content; margin: 22px auto 0; color: #514d47; font-size: 13px; text-underline-offset: 4px; }
.password-text-link:hover { color: #191919; }
.password-footer { margin: 30px 0 0; text-align: center; color: #8b857c; font-size: 11px; }
.password-feedback { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #ded8cf; border-radius: 10px; background: #f1eee8; color: #514d47; font-size: 13px; line-height: 1.6; }
.password-support { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #e0d9d2; color: #716c65; font-size: 12px; line-height: 1.6; text-align: center; }
.password-alert { padding: 12px 14px; border: 1px solid #d9b6b6; border-radius: 10px; color: #853939; background: #f7eeee; font-size: 13px; line-height: 1.5; }
.password-success-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border: 1px solid #ded8cf; border-radius: 50%; color: #35312d; background: #f0ede7; font-size: 22px; }
.password-link-error .error-label { margin-top: clamp(40px, 8vh, 80px); }
.password-link-error .error-copy { max-width: 420px; }
.password-error-actions { display: flex; flex-direction: column; align-items: center; }
.password-error-actions .home-link { border-radius: 10px; gap: 24px; }
.password-error-note { max-width: 380px; margin: 26px auto 0; color: #77736e; font-size: 12px; line-height: 1.6; }
@media (max-width: 560px) {
    .password-layout { padding: 24px 16px; }
    .password-card { padding: 28px 24px; border-radius: 18px; }
    .password-eyebrow { margin-top: 28px; }
    .password-link-error .error-label { margin-top: 54px; }
}
