.reset-page { background: var(--studio-soft); color: var(--studio-ink); }
.reset-nav { gap: 1rem; }
.reset-page header .reset-nav { flex-direction: row; align-items: center; }
.reset-language { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.reset-page .site-language-selector { min-height: 44px; font-size: 1rem; }
.reset-page :is(a, button, input, select):focus-visible,
.reset-status:focus { outline: 3px solid var(--studio-blue); outline-offset: 4px; }
.reset-skip { position: absolute; left: 1rem; top: -6rem; z-index: 200; background: white; padding: 0.75rem; }
.reset-skip:focus { top: 0.5rem; }
.reset-main { width: min(100% - 2.5rem, 560px); margin: 0 auto; padding: 3rem 0; }
.reset-intro { text-align: center; margin-bottom: 1.75rem; }
.reset-intro img { border-radius: 14px; margin-bottom: 1rem; }
.reset-intro .eyebrow { color: var(--studio-accent); margin-bottom: 0.5rem; }
.reset-intro h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.25; letter-spacing: -0.03em; margin-bottom: 1rem; }
.reset-intro > p:last-child { color: #47575d; }
.reset-card { padding: 2rem; background: white; border: 1px solid var(--studio-line); border-radius: 20px; box-shadow: 0 12px 32px #17212608; }
.reset-page h2 { font-size: 1.2rem; line-height: 1.4; margin-bottom: 1.25rem; }
.reset-card label { display: block; font-weight: 650; margin-bottom: 0.5rem; }
.reset-card input { width: 100%; min-height: 50px; padding: 0.75rem; font: inherit; font-size: 1rem; color: var(--studio-ink); background: white; border: 1px solid #839398; border-radius: 10px; }
.reset-card input[aria-invalid="true"] { border: 2px solid #a42b23; }
.reset-hint { font-size: 0.875rem; color: #47575d; margin-top: 0.5rem; }
.reset-field-error { color: #a42b23; font-size: 0.9rem; margin-top: 0.5rem; }
.reset-field-error:empty, #reset-cooldown:empty { display: none; }
.reset-card button { display: block; width: 100%; min-height: 52px; margin-top: 1.25rem; padding: 0.75rem 1rem; border: 0; border-radius: 10px; font: inherit; font-weight: 700; color: white; background: var(--studio-accent); cursor: pointer; }
.reset-card button:hover:not(:disabled) { background: #175b55; }
.reset-card button:disabled { background: #dce5e7; color: #46575c; cursor: default; }
.reset-card input:disabled { background: var(--studio-soft); }
.reset-status { margin-top: 1.25rem; padding: 1rem; border: 1px solid #b8ccc8; border-radius: 10px; background: #eff7f4; color: #244f43; overflow-wrap: anywhere; }
.reset-status[data-state="error"] { background: #fff6ec; border-color: #d7b99a; color: #713d15; }
.reset-privacy { margin-top: 1.25rem; color: #47575d; font-size: 0.8125rem; }
.reset-help { padding: 2rem 0.5rem 0; }
.reset-help ol { padding-left: 1.4rem; color: #47575d; }
.reset-help li { padding-left: 0.25rem; margin-bottom: 0.75rem; }
.reset-note { margin-top: 1.5rem; }
.reset-note h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.reset-note p, .reset-support { color: #47575d; font-size: 0.9375rem; }
.reset-support { margin-top: 1.5rem; }
.reset-page a { color: #245e7d; text-underline-offset: 0.2em; }
.reset-page .studio-logo { color: var(--studio-ink); }
.reset-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.reset-footer a, .reset-support a { display: inline-flex; align-items: center; min-height: 44px; }
.reset-page .studio-footer a { color: #ffffff; }
.reset-page .studio-footer a:focus-visible { outline-color: #ffffff; }
@media (max-width: 400px) {
    .reset-language { gap: 0.3rem; }
    .reset-main { width: calc(100% - 2rem); padding-top: 2rem; }
    .reset-card { padding: 1.25rem; }
    .reset-nav { padding: 0 16px; }
}

.reset-page { overflow-wrap: anywhere; }
.reset-page header .reset-nav { flex-wrap: wrap; }
.reset-language { min-width: 0; max-width: 100%; flex-wrap: wrap; }
.reset-language select { min-width: 0; max-width: 100%; }
[dir="rtl"] .reset-help ol { padding-left: 0; padding-right: 1.4rem; }
[dir="rtl"] .reset-help li { padding-left: 0; padding-right: 0.25rem; }
/* Keep a wrapped language header from covering form/status content on short screens. */
@media (max-height: 600px) {
    .reset-page header { position: static; }
}
