.auth-modal-root{position:fixed;inset:0;z-index:11000;display:flex;align-items:center;justify-content:center;padding:24px}.auth-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(20,12,40,.5);backdrop-filter:blur(4px)}.auth-modal-dialog{position:relative;z-index:1;width:min(920px,100%);max-height:min(90vh,760px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--brand-border);border-radius:8px;box-shadow:0 18px 50px rgba(42,33,64,.18);overflow:hidden}.auth-modal-close{position:absolute;top:10px;right:10px;z-index:2;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--brand-muted-soft);cursor:pointer}.auth-modal-layout{display:flex;min-height:0;flex:1}.auth-modal-brand{display:none;width:38%;flex-direction:column;justify-content:space-between;padding:32px;background:linear-gradient(165deg,var(--brand-surface) 0,#fff 42%,#fff5fb 100%);border-right:1px solid var(--brand-border);color:var(--brand-ink-soft)}.auth-modal-mark{width:48px;height:48px;margin-bottom:24px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--brand-gradient-mark);font-size:20px}.auth-modal-brand h2{margin:0;font-size:28px;line-height:1.2;font-weight:600}.auth-modal-brand>div>p{margin:12px 0 0;color:var(--brand-muted-soft);font-size:14px;line-height:1.6}.auth-modal-benefits{list-style:none;margin:32px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}.auth-modal-benefits li{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--brand-ink-soft)}.auth-modal-benefits i{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--brand-accent);flex-shrink:0}.auth-modal-panel{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0}.auth-modal-tabs{display:flex;gap:4px;padding:16px 24px 0;border-bottom:1px solid #f3eef8}.auth-modal-tabs button{border:0;background:transparent;padding:10px 16px;margin-bottom:-1px;border-bottom:2px solid transparent;color:#8a829c;font-size:14px;font-weight:600;cursor:pointer}.auth-modal-tabs button.is-active{color:var(--brand-ink-soft);border-bottom-color:var(--brand-ink-soft)}.auth-modal-body{flex:1;overflow:auto;padding:16px 24px 8px}.auth-modal-form{max-width:1440px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.auth-modal-names{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-field label{display:block;margin-bottom:4px;font-size:14px;font-weight:600;color:var(--brand-ink-soft)}.auth-field input[type=email],.auth-field input[type=password],.auth-field input[type=text]{width:100%;height:42px;border:1px solid #e4dcf3;border-radius:4px;padding:0 36px 0 40px;font-size:14px;color:var(--brand-ink-soft);outline:none;background:#fff}.auth-field input.plain{padding-left:12px}.auth-field input:focus{border-color:var(--brand-accent);box-shadow:0 0 0 3px rgba(123,92,255,.15)}.auth-field input.is-error{border-color:#f3a3a3}.auth-input-wrap{position:relative}.auth-input-wrap>i{left:12px}.auth-eye,.auth-input-wrap>i{position:absolute;top:50%;transform:translateY(-50%);color:var(--brand-metal)}.auth-eye{right:8px;border:0;background:transparent;cursor:pointer}.auth-error{margin:4px 0 0;color:#c2415a;font-size:12px}.auth-row{align-items:center;justify-content:space-between;gap:12px}.auth-check,.auth-row{display:flex;font-size:14px}.auth-check{align-items:flex-start;gap:8px;color:var(--brand-ink-soft)}.auth-check input{margin-top:2px;accent-color:var(--brand-accent)}.auth-link{color:var(--brand-accent);text-decoration:underline;text-underline-offset:2px}.auth-submit{height:44px;border:0;border-radius:4px;color:#fff;font-weight:600;cursor:pointer;background:var(--brand-gradient-cta)}.auth-submit:disabled{opacity:.6}.auth-google,.auth-google:disabled{width:100%;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e4dcf3;border-radius:4px;background:#fff;color:var(--brand-ink-soft);font-weight:600;cursor:pointer}.auth-google:disabled{opacity:.6}.auth-google-wrap{position:relative;width:100%}.auth-google.is-face{pointer-events:none}.auth-google-overlay{position:absolute;inset:0;z-index:2;overflow:hidden;opacity:.01}.auth-divider{display:flex;align-items:center;gap:12px;color:#8a829c;font-size:14px}.auth-divider:after,.auth-divider:before{content:"";flex:1;height:1px;background:var(--brand-border-soft)}.auth-banner{padding:10px 12px;border-radius:6px;font-size:13px}.auth-banner.error{background:#fff1f2;color:#be123c}.auth-banner.ok{background:var(--brand-accent-soft);color:#5b21b6}.auth-strength{margin-top:6px;font-size:12px;color:var(--brand-muted-soft)}.auth-strength-bar{height:4px;margin-top:4px;border-radius:99px;background:var(--brand-border-soft);overflow:hidden}.auth-strength-bar span{display:block;height:100%;background:var(--brand-accent)}.auth-modal-foot{border-top:1px solid #f3eef8;padding:16px 24px 20px;text-align:center}.auth-modal-foot p{margin:0;color:var(--brand-muted-soft);font-size:14px}.auth-modal-foot .fine{margin-top:8px;font-size:12px;color:#8a829c}.auth-text-btn{border:0;background:none;padding:0;color:var(--brand-accent);font-weight:600;cursor:pointer}@media (min-width:1024px){.auth-modal-brand{display:flex}}@media (max-width:640px){.auth-modal-root{padding:12px}.auth-modal-names{grid-template-columns:1fr}.auth-modal-body,.auth-modal-foot,.auth-modal-tabs{padding-left:16px;padding-right:16px}}