body.identity-page main{max-width:720px;margin:40px auto;padding:0 20px 60px}
body.identity-page h1{font-size:clamp(2rem,5vw,2.8rem);line-height:1.15;letter-spacing:-.025em}
.identity-card{padding:clamp(22px,5vw,42px);border:1px solid var(--e-line);border-radius:18px;background:var(--e-surface,#fffefa)}
.identity-card p,.identity-card label,.identity-note{font-size:1.0625rem;line-height:1.65}
.identity-card label{display:block;font-weight:600;margin:20px 0 8px}
.identity-card input[type=email],.identity-card input[type=password],.identity-card input[type=text]{width:100%;min-width:0;min-height:50px;font:inherit;padding:12px;border:2px solid #818779;border-radius:8px;background:#fff;color:var(--e-ink)}
.identity-card .button{margin-top:24px;min-height:48px}
.identity-toggle{display:flex!important;align-items:center;gap:12px;min-height:44px;font-weight:400!important}
.identity-toggle input{width:20px;height:20px}
.identity-return{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:28px}
.identity-return a{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
#identityMessage:empty{display:none}
#identityMessage{padding:16px;border-left:5px solid var(--e-forest);background:var(--e-sunken,#f0eee7);overflow-wrap:anywhere}
#identityMessage.identity-error{border-color:#741d12;color:#741d12}
.identity-note{padding:4px 10px;color:var(--e-muted,#4e574c)}
body.identity-page header nav{display:flex;flex-wrap:wrap;gap:16px}
@media(max-width:540px){body.identity-page header{flex-wrap:wrap;gap:12px}body.identity-page header nav{flex-basis:100%}}
