.auth-dialog {width:min(30rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto}
.auth-dialog .sheet {margin:0}
.auth-dialog p {line-height:1.5;margin:.4rem 0 1rem}
.auth-dialog .auth-close {font-size:1.4rem;line-height:1;min-width:44px;min-height:44px}
.auth-value {display:grid;gap:.5rem;margin:.75rem 0;font-size:.9rem}
.auth-value textarea {font: .875rem/1.55 var(--mono,monospace);width:100%;max-width:100%;padding:.65rem;border:1px solid var(--line);border-radius:8px;background:var(--rail);color:inherit;resize:vertical}
.auth-forgot {min-height:44px;margin:.25rem 0 0;padding-left:0;background:transparent;color:var(--accent)}
.auth-security {margin-top:1rem}
.auth-row {display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding:1rem 0}
.auth-row strong {font-size:1rem}
.auth-row .smallcopy {overflow-wrap:anywhere;margin:.25rem 0 0}
.auth-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.auth-form .btn,.auth-actions .btn {min-height:44px}
@media(max-width:600px){.auth-row {align-items:flex-start;flex-direction:column}.auth-dialog input,.auth-dialog select {font-size:16px}.auth-dialog .sheet {padding:1rem}}
