.auth-dialog{width:min(540px,calc(100% - 28px));max-width:none;max-height:min(88vh,820px);padding:0;border:1px solid rgba(36,38,40,.16);border-radius:18px;background:#f8f7f3;color:#252628;box-shadow:0 28px 90px rgba(20,20,20,.3)}
.auth-dialog::backdrop{background:rgba(20,22,24,.62);backdrop-filter:blur(5px)}
.auth-card{padding:clamp(22px,5vw,38px)}
.auth-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.auth-top h2{margin:7px 0 0;font-size:clamp(28px,6vw,38px);letter-spacing:-.045em}.auth-close{border:0;background:transparent;color:inherit;font-size:30px;line-height:1;cursor:pointer}.auth-message{min-height:24px;margin:0 0 20px;color:#62656a;line-height:1.55}.auth-message[data-kind="error"]{color:#a33220}.auth-message[data-kind="success"]{color:#216b4a}
#auth-form,.auth-account{display:grid;gap:15px}#auth-form label,.auth-account label{display:grid;gap:7px;font-size:13px;font-weight:650}#auth-form input,#auth-form select,#auth-form textarea,.auth-account input,.auth-account textarea{width:100%;border:1px solid #c9c8c2;border-radius:9px;background:#fff;padding:12px 13px;color:#252628;font:inherit;font-weight:450}#auth-form textarea,.auth-account textarea{resize:vertical}#auth-form small{font-size:11px;color:#73777c;font-weight:400}.auth-submit{width:100%;justify-content:center;margin-top:2px}.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.auth-links button{border:0;background:none;color:#a83c24;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px;cursor:pointer}.auth-config-note{margin:16px 0 0;padding:12px 14px;border-left:3px solid #ed623b;background:#f1e8df;color:#48484a;font-size:13px;line-height:1.5}.auth-profile-summary{display:flex;align-items:center;gap:12px;padding:13px 0 18px;border-bottom:1px solid #deddd7}.auth-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f4d6c7;color:#c5492a;font-size:22px}.auth-profile-summary div{display:grid;gap:4px}.auth-profile-summary span:last-child{color:#6b6c6f;font-size:12px}.auth-account-actions{display:flex;gap:10px;flex-wrap:wrap}.auth-account-actions .button{flex:1;justify-content:center}
@media(max-width:520px){.auth-links{flex-direction:column;align-items:flex-start}.auth-account-actions{display:grid}.auth-account-actions .button{width:100%}}
