.agr-social-login{margin:0 auto 24px;font-family:inherit}
.agr-social-caption{text-align:center;margin:0 0 16px;font-size:14px;line-height:1.5;color:#65758b}
.agr-social-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.agr-social-button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:48px;padding:10px 12px;border:1px solid transparent;border-radius:8px;background:#fff;color:#1f1f1f!important;font-family:inherit;font-size:14px;font-weight:600;line-height:20px;text-decoration:none!important;transition:box-shadow .15s,filter .15s}
.agr-social-button:hover{filter:brightness(.96);box-shadow:0 2px 6px #152c4a18}
.agr-social-button:focus-visible{outline:3px solid #669bdf;outline-offset:3px}
.agr-social-icon{display:block;width:24px;height:24px;flex:0 0 24px;object-fit:contain}
.agr-social-yandex{background:#fc3f1d;color:#fff!important}
.agr-social-vkid{background:#0077ff;color:#fff!important}
.agr-social-vkid .agr-social-icon{width:28px;height:28px;flex-basis:28px}
.agr-social-mail{background:#005ff9;color:#fff!important}
.agr-social-google{background:#fff;border-color:#747775;color:#1f1f1f!important;font-weight:500}
.agr-social-google .agr-social-icon{width:20px;height:20px;flex-basis:20px}
.agr-social-disabled{background:#e9edf2;border-color:#e2e7ee;color:#7b8696!important;cursor:default}
.agr-social-disabled:hover{filter:none;box-shadow:none}
.agr-social-google.agr-social-disabled .agr-social-icon{filter:grayscale(1);opacity:.75}
.agr-social-label{display:flex;flex-direction:column;align-items:flex-start;line-height:18px}
.agr-social-disabled small{font-size:11px;line-height:14px;font-weight:400}
.agr-social-password{grid-column:1/-1;background:#003e95;color:#fff!important}
.agr-social-password .agr-social-icon{width:20px;height:20px;flex-basis:20px}
.agr-password-fields{margin-top:28px;padding-top:24px;border-top:1px solid #dfe4eb}
.agr-password-fields[hidden]{display:none!important}
#quick-login .agr-social-login{margin-bottom:0}
.agr-social-panel{max-width:460px;margin:28px auto 40px;padding:0 16px;line-height:1.5}.agr-social-panel h1{font-size:26px;line-height:1.2;margin-bottom:22px}.agr-social-panel p{margin-bottom:20px}.agr-social-alert{padding:16px;border:1px solid #e5b8b8;border-radius:8px;background:#fff5f5}.agr-social-form{display:grid;gap:10px}.agr-social-form button{margin-top:14px;justify-content:center}.agr-social-back{display:block;margin-top:22px;font-weight:600}.agr-social-connection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #dfe4eb}.agr-social-panel #agr-vk-widget{margin:24px 0;min-height:44px}.agr-social-login .agr-social-button:focus-visible{outline:2px solid #003e95;outline-offset:2px}
@media(max-width:420px){.agr-social-buttons{gap:10px}.agr-social-button{gap:8px;padding:10px 8px;font-size:13px}.agr-social-panel h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.agr-social-button{transition:none}}

/* Login and registration keep their ordinary forms visible; the popup links to login. */
.agr-social-registration .agr-social-label,.agr-social-login-page .agr-social-label{flex-direction:row;align-items:center;gap:8px}
.agr-required-marker{color:#cc3030;font-weight:600}
.agr-register-consents{display:grid;gap:12px;margin:24px 0 16px}
.agr-register-consent{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:12px;border:1px solid #dce2ea;border-radius:8px;background:#fff;font-size:14px;line-height:1.5;cursor:pointer}
.agr-register-consent input[type=checkbox]{appearance:auto;width:18px;height:18px;margin:2px 0 0;accent-color:#003e95;cursor:pointer}
.agr-register-consent a{color:#003e95;text-decoration:underline;text-underline-offset:2px}
.agr-required-note{font-size:12px;line-height:1.5;color:#65758b;margin:0}
.agr-consent-error{display:none;margin-top:6px;font-size:12px;line-height:1.4;color:#b42318}
.agr-consent-invalid,.agr-register-validated .agr-register-consent:has(input:invalid){border-color:#cc3030;background:#fff6f5}
.agr-consent-invalid .agr-consent-error,.agr-register-validated .agr-register-consent:has(input:invalid) .agr-consent-error{display:block}
.agr-consent-invalid input[type=checkbox],.agr-register-validated .agr-register-consent input:invalid{outline:1px solid #cc3030;outline-offset:2px}
#register.agr-register-validated .inputbox:invalid{border-color:#cc3030;background-color:#fff6f5}
