/* Authentication controls stay grouped and never run together as inline links. */
.auth-panel .card{max-width:450px;width:100%}.auth-panel h2{letter-spacing:-.035em}.auth-panel input{font-size:16px;min-height:48px}
#smsLoginForm>.primary{display:block;width:100%;min-height:48px;margin-top:22px}
.auth-secondary{display:grid;gap:12px;margin-top:14px}.auth-secondary button{width:100%;min-height:46px}.auth-secondary .fine{margin:0;text-align:center}
.auth-help{border-top:1px solid var(--line);margin-top:26px;padding-top:18px;display:grid;gap:10px}
.auth-help .text-button{display:block;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:white;text-align:left;text-decoration:none;font-weight:600;min-height:46px}
.auth-help .text-button:hover{background:#edf5f1}.auth-help .fine{margin:0}.auth-other{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}
.auth-other summary{padding:8px 0;cursor:pointer;color:var(--muted);font-size:.9rem}.auth-other>div{display:grid;gap:10px;padding-top:12px}.auth-other button{display:block;width:100%;min-height:46px}
#recoverForm>.primary,#smsVerifyForm>.primary,#inviteForm>.primary{min-height:48px;margin-top:22px}
#recoveryBack,#smsStartOver,#inviteBack,#backLogin{display:block;width:100%;padding:14px;margin-top:12px;text-align:center}
.auth-hint{font-size:.83rem;color:var(--muted);line-height:1.5;margin:8px 0 16px}.auth-error{background:#fff0eb;color:#7d2c21;border:1px solid #dfb6a9;border-radius:10px;padding:14px 16px;margin:18px 0 0;line-height:1.55;white-space:normal}
.auth-error:focus{outline:2px solid #a64b39;outline-offset:3px}#recoverForm details{margin:20px 0;color:var(--muted);font-size:.9rem}#recoverForm details summary{cursor:pointer;padding:8px 0}#recoverForm details p{margin-top:8px}
@media(max-width:760px){.auth-panel{padding:30px 22px 48px;align-items:flex-start}.auth-panel .card h2{font-size:1.9rem}.auth-help{margin-top:22px}.auth-shell .welcome{padding:20px 22px}}
