.social-login{margin-top:24px;border-top:1px solid #d8e8e3;padding-top:8px}.social-action{margin-top:12px}.social-profile{display:flex;align-items:center;gap:16px;margin:24px 0}.social-profile p{margin:4px 0}.social-avatar{position:relative;display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;overflow:hidden;border-radius:50%;background:#edf6f1;color:#344842;font-size:24px;font-weight:700}.social-avatar img{position:absolute;inset:0;width:64px;height:64px;object-fit:cover}.auth-document-link{display:block;font-size:13px;margin:6px 0 0 28px}

/* Server-rendered POST choices; no provider SDK is loaded. */
.auth-entrypoints-layout .social-login{margin:6px 0 0;padding:12px 0 0;border-top:1px solid var(--line)}
.auth-entrypoints-layout .social-login-title{font-size:14px;font-weight:500;line-height:1.5;margin:0 0 12px;color:#52665e}
.social-provider-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,104px),1fr));gap:10px}
.social-provider-options .social-action{margin:0;min-width:0}
.social-provider-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;min-height:44px;padding:10px 24px;border:0;border-radius:8px;font:500 14px/1.2 'Segoe UI',Arial,sans-serif;cursor:pointer}
.social-provider-button--yandex,.social-provider-button--yandex:hover{background:#000;color:#fff}
.social-provider-button--vk{background:#0077ff;color:#fff;font-size:20px;font-weight:700}
.social-provider-button--vk:hover{background:#0071f2}
.social-provider-button--vk:active{background:#0069e1}
.social-provider-button:focus-visible{outline:3px solid #08776e;outline-offset:4px}
.social-provider-icon,.social-provider-icon>svg{display:block;width:24px;height:24px;flex:0 0 24px}
.auth-entrypoints-layout .social-login-note{font-size:13px;line-height:1.55;color:#5d6b62;margin:12px 0 0}

/* A single, calm completion step shared by Yandex ID and VK ID. */
.social-completion{max-width:680px;padding-block:40px 64px}
.social-completion-card{padding:clamp(22px,5vw,44px);background:#fff;border:1px solid #dfdfd3;border-radius:24px;box-shadow:0 5px 0 #eee9df}
.social-completion .social-step{margin:0 0 10px;font-size:13px;font-weight:600;color:#126e63}
.social-completion h1{font-size:clamp(28px,4vw,36px);line-height:1.18;margin:0 0 10px;overflow-wrap:anywhere}
.social-completion .social-intro{margin:0;color:#5f655b;font-size:16px}
.social-completion-profile{padding:16px;margin:24px 0;background:#edf5ef;border-radius:16px;gap:12px;min-width:0}
.social-completion-profile .social-avatar,.social-completion-profile .social-avatar img{width:48px;height:48px;flex-basis:48px}
.social-completion-profile>div:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}
.social-completion-profile strong{font-size:16px}
.social-completion-profile p{font-size:13px;color:#52665e}
.social-completion-profile>svg{width:24px;height:24px;flex:0 0 24px;stroke:#126e63;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.social-completion-form .field{margin:0 0 18px;min-width:0}
.social-completion-form label{font-size:14px;font-weight:600}
.social-completion-form input:not([type=checkbox]){width:100%;min-width:0;min-height:48px;background:#fffdf9;border-color:#cdd7cb;border-radius:12px;font-size:16px}
.social-completion-form input:focus-visible{outline:3px solid #24b3a74d;outline-offset:2px}
.social-completion-form .help{font-size:13px;line-height:1.55;color:#5f655b}
.social-name-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.social-completion .social-mail-note{margin:-8px 0 22px;font-size:13px;line-height:1.6;color:#5f655b}
.social-optional{margin:0 0 24px;border-block:1px solid #e5e7de}
.social-optional summary{padding:16px 0;font-size:14px;font-weight:600;cursor:pointer}
.social-optional summary span{display:inline-block;margin-left:6px;font-size:13px;font-weight:400;color:#5f655b}
.social-optional>div{padding-top:4px}
.social-consents{margin-bottom:24px}
.social-completion .field-check label{align-items:flex-start;font-size:13px;font-weight:400;line-height:1.65}
.social-completion .field-check input{flex-shrink:0;margin-top:4px;accent-color:#126e63}
.social-consents .field{margin-bottom:0}
.social-completion .auth-document-link{width:fit-content;max-width:calc(100% - 28px);margin:4px 0 18px 28px;font-size:13px}
.social-completion .button{min-height:48px;font-size:16px}
.social-completion .social-existing{margin:24px 0 0;text-align:center;font-size:14px}
.social-signup-help{margin-top:20px;padding-top:16px;border-top:1px solid #e5e7de;font-size:13px;line-height:1.65;color:#5f655b}
.social-signup-help summary{cursor:pointer;color:#3a3d38}
.social-signup-help p{font-size:13px;line-height:1.65}
@media(max-width:400px){.social-completion{padding-block:24px 40px}.social-completion-card{padding:22px 18px;border-radius:18px}.social-name-fields{grid-template-columns:1fr;gap:0}}
@media(prefers-reduced-motion:no-preference){.social-completion-card{animation:social-arrive 180ms ease-out}@keyframes social-arrive{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}

/* Compact social signup/receipt only; shared login and provider buttons unchanged. */
.social-completion--compact .social-completion-profile{margin:18px 0;padding:12px;gap:10px}
.social-completion--compact .social-completion-profile .social-avatar,
.social-completion--compact .social-completion-profile .social-avatar img{width:40px;height:40px;flex-basis:40px}
.social-completion--compact .social-name-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.social-completion--compact .social-completion-form>.field,
.social-completion--compact .social-name-fields>.field{margin-bottom:14px}
.social-completion--compact .social-mail-note{margin:-4px 0 16px}
.social-completion--compact .social-optional{margin-bottom:18px}
.social-completion--compact .social-existing{margin-top:18px}
.social-completion--compact details>summary{min-height:44px;padding-block:12px}
.social-completion--compact details>summary:focus-visible{outline:2px solid #126e63;outline-offset:3px;border-radius:4px}
.social-completion--compact .field-check label{min-height:44px}
