/* Auth usability revision 20260906. Shared by registration and sign-in. */
[hidden] { display: none !important; }
.auth-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; margin: 0 0 24px; background: var(--paper, var(--surface-2, #f4efe3)); border: 1px solid var(--border, #e8e4da); border-radius: 14px; }
.auth-nav a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 8px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--ink-soft, var(--text, #2a2a2a)); border-radius: 10px; transition: background .18s, box-shadow .18s; }
.auth-nav a:hover { background: var(--surface, #fff); }
.auth-nav a[aria-current="page"] { background: linear-gradient(120deg, #f5d99f, #dfb45f); color: #201606; box-shadow: 0 2px 8px #8a642b24; }
.auth-nav a:focus-visible, .password-eye:focus-visible, .forgot-link:focus-visible { outline: 3px solid #b78734; outline-offset: 3px; }
.field .pw-wrap input, .field .pw-field input { padding-right: 58px; }
.field .password-eye { width: 44px; height: 42px; display: inline-flex; align-items: center; justify-content: center; right: 4px; padding: 10px; color: var(--ink-dim, var(--text-dim, #4a4a4a)); border-radius: 8px; }
.password-eye svg { width: 22px; height: 22px; flex-shrink: 0; pointer-events: none; }
.password-eye .eye-open, .password-eye[aria-pressed="true"] .eye-slash { display: none; }
.password-eye[aria-pressed="true"] .eye-open { display: block; }
.field .forgot-link { display: flex; align-items: center; justify-content: flex-end; min-height: 44px; width: fit-content; margin: 8px 0 2px auto; padding: 5px 0 5px 12px; color: #6b4919; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.field .forgot-link:hover { color: #382306; }
.password-match { min-height: 18px; line-height: 1.5; color: var(--ink-dim, var(--text-dim, #4a4a4a)); font-size: 12px; margin-top: 6px; }
.password-match[data-state="error"] { color: var(--red, #b8332a); font-weight: 600; }
.password-match[data-state="ok"] { color: #28743b; }
.recovery-status { margin-top: 18px; padding: 16px; border: 1px solid #d9bb83; border-radius: 12px; background: #fbf6eb; color: #302718; }
.recovery-status p { font-size: 14px; font-weight: 600; line-height: 1.6; }
.recovery-progress { height: 5px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #e9dcc2; }
.recovery-progress::after { content: ''; display: block; height: 100%; width: 40%; border-radius: inherit; background: #967029; animation: recovery-slide 1.3s ease-in-out infinite alternate; }
@keyframes recovery-slide { from { transform: translateX(-70%); } to { transform: translateX(220%); } }
.recovery-guidance { font-size: 13px; line-height: 1.7; margin: 16px 0; color: var(--ink-dim, #4a4a4a); }
.recovery-guidance p + p { margin-top: 8px; }
.recovery-help .care-sub, .recovery-help .care-note { color: #59544b; }
.recovery-help .care-btn { min-height: 44px; }
.recovery-help .care-btn.tg { background: #006ca3; }
.recovery-help .care-btn.max { background: #8c4500; }
@media (max-width: 380px) { .auth-card { padding: 28px 20px; } .auth-nav a { font-size: 12px; padding-inline: 5px; } }
@media (prefers-reduced-motion: reduce) { .recovery-progress::after { animation: none; width: 100%; opacity: .75; } .auth-nav a { transition: none; } }
