.auth-screen{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:40px 24px;background:#f3f6fc}
.auth-layout{width:100%;max-width:420px}.auth-shell{display:block;background:#fff;border:1px solid #e3e9f2;border-radius:20px;overflow:hidden;box-shadow:0 12px 38px #1023470b}
.auth-screen .brand{font-size:24px;font-weight:650;letter-spacing:-.6px;color:#18253d;gap:10px}.auth-screen .brand img{width:37px;height:37px}
.auth-screen .auth-card{width:auto;min-width:0;max-width:none;padding:32px;border:0;border-radius:0;box-shadow:none;background:#fff}.auth-card .auth-mobile-brand{display:flex;margin-bottom:30px}.auth-card #auth-heading{font-size:27px;line-height:1.22;letter-spacing:-.75px;font-weight:650;margin:0 0 10px;color:#18253d}.auth-card .auth-intro{font-size:14px;color:#69778e;line-height:1.65;margin:0 0 25px}
.auth-screen [hidden]{display:none!important}.auth-card .yandex-login{display:flex;justify-content:center;align-items:center;width:100%;height:56px;background:#000;border-radius:12px;padding:0;margin:0;border:0}.auth-card .yandex-login img{display:block;width:260px;max-width:100%;height:56px;object-fit:contain}.auth-card .yandex-login:focus-visible{outline:3px solid #a8baf1;outline-offset:3px}
.auth-divider{display:flex;align-items:center;gap:12px;color:#69778e;font-size:12px;margin:22px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e3e9f2;flex:1}
.auth-card #auth-form{display:block}.auth-card .field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;font-size:13px;font-weight:500;color:#18253d}.auth-card .field input{display:block;width:100%;min-width:0;height:48px;padding:0 13px;border:1px solid #e3e9f2;border-radius:10px;background:#fff;color:#18253d;font-size:16px;font-weight:400}.auth-card input::placeholder{color:#69778e;opacity:.75}.auth-password{position:relative;display:block}.auth-card .auth-password input{padding-right:85px}.auth-card #auth-show-password{position:absolute;right:9px;top:0;height:48px;padding:0 6px;font-size:12px;color:#69778e;background:transparent;border:0}.auth-card #auth-show-password:hover{color:#3668f5}
.auth-card .auth-link{padding:0;border:0;background:transparent;color:#3668f5}.auth-card .auth-link:hover{text-decoration:underline}.auth-recovery{text-align:right;margin:-4px 0 21px}.auth-recovery button{font-size:13px;min-height:28px}.auth-card .auth-submit{width:100%;height:48px;border-radius:10px;font-size:14px;font-weight:600}.auth-card .auth-switch{margin:23px 0 0;text-align:center;color:#69778e;font-size:13px;line-height:1.8}.auth-switch button{font-size:13px;font-weight:600;min-height:28px}.auth-card .auth-email-help{display:block;margin:9px auto 0;font-size:11px;min-height:26px;color:#69778e;white-space:normal}
.auth-legal{font-size:11px;line-height:1.65;text-align:center;margin-top:20px;padding-top:21px;border-top:1px solid #e3e9f2;color:#69778e}.auth-legal a{color:#69778e;text-decoration:underline;text-underline-offset:3px}.auth-legacy{margin-top:16px}.auth-card #external-auth-error{margin-bottom:17px}
.auth-footer{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:center;margin-top:20px;color:#69778e}.auth-footer a,.auth-footer button{font-size:12px;color:#69778e;background:transparent;border:0;padding:8px 0}.auth-footer a:hover,.auth-footer button:hover{color:#3668f5}
@media(max-width:600px){.auth-screen{padding:24px 12px;align-items:flex-start}.auth-layout{max-width:420px}.auth-shell{display:block}.auth-story{display:none}.auth-screen .auth-card{padding:28px 22px}.auth-card .auth-mobile-brand{display:flex;margin-bottom:28px}.auth-card #auth-heading{font-size:27px}.auth-footer{gap:24px;margin-top:15px}}
@media(pointer:coarse){.auth-footer a,.auth-footer button,.auth-switch button,.auth-card .auth-email-help,.auth-recovery button{min-height:44px}}

.invite-context{margin:16px 0;padding:14px 16px;background:#f0f5ff;border:1px solid #d5e1ff;border-radius:10px;font-size:13px;line-height:1.7;color:#294f96}
