/* Email recovery shares one dialog across the storefront and business product pages. */
.password-reset-link { appearance: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.password-reset-link:hover { color: #459dac; }
.password-reset-dialog { box-sizing: border-box; position: fixed; inset: 0; margin: auto; width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 52px 24px 24px; border: 1px solid #e4e7e7; border-radius: 28px; background: #fff; color: #555; box-shadow: 0 18px 50px #0003; font: 16px/1.6 "Microsoft JhengHei", Arial, sans-serif; }
.password-reset-dialog:not([open]) { display: none; }
.password-reset-dialog::backdrop { background: #0008; backdrop-filter: blur(4px); }
.password-reset-dialog *, .password-reset-page * { box-sizing: border-box; }
.password-reset-dialog [hidden], .password-reset-page [hidden] { display: none !important; }
.password-reset-back { position: absolute; top: 8px; left: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: #59aabb; font-size: 28px; cursor: pointer; }
.password-reset-dialog h2, .password-reset-card h1 { margin: 4px 0 8px; text-align: center; color: #555; font: 500 24px/1.5 "Microsoft JhengHei", Arial, sans-serif; }
.password-reset-description { margin: 0 0 24px; text-align: center; font-size: 14px; line-height: 1.7; color: #777; }
.password-reset-channel { margin: 0 0 24px; padding: 10px; text-align: center; border-bottom: 2px solid #61b1c1; font-size: 16px; }
.password-reset-form label { display: block; margin: 0 0 4px; color: #4698aa; font-size: 14px; }
.password-reset-form input { display: block; width: 100%; min-height: 50px; margin: 0 0 18px; padding: 12px; border: 1px solid #acd1d9; border-radius: 4px; background: #fff; color: #333; font: inherit; }
.password-reset-form input::placeholder { color: #a4aaac; }
.password-reset-form input:focus { outline: 2px solid #61b1c1; outline-offset: 0; }
.password-reset-form input[aria-invalid="true"] { border-color: #b42318; }
.password-reset-submit { width: 100%; min-height: 48px; margin-top: 8px; padding: 10px 16px; border: 0; border-radius: 8px; background: #5aaabb; color: #fff; font: 600 16px/1.5 "Microsoft JhengHei", Arial, sans-serif; cursor: pointer; }
.password-reset-submit:hover:not(:disabled) { background: #438d9d; }
.password-reset-submit:disabled { background: #bbdce4; cursor: not-allowed; }
.password-reset-feedback { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #377567; overflow-wrap: anywhere; }
.password-reset-feedback.is-error { color: #b42318; }
.password-reset-link:focus-visible, .password-reset-back:focus-visible, .password-reset-submit:focus-visible { outline: 3px solid #438d9d; outline-offset: 3px; }
.password-reset-page { min-height: 100dvh; margin: 0; display: grid; place-items: center; padding: 24px 16px; background: #f2f5f4; color: #555; font: 16px/1.6 "Microsoft JhengHei", Arial, sans-serif; }
.password-reset-card { width: min(440px, 100%); padding: 32px 24px; border-radius: 24px; background: #fff; box-shadow: 0 12px 40px #0001; }
.password-reset-card .password-reset-description { margin-bottom: 24px; }
.password-reset-home { display: block; margin-top: 20px; text-align: center; color: #438d9d; }
@media (max-width: 480px) { .password-reset-dialog { padding-right: 20px; padding-left: 20px; border-radius: 24px; } }
