
body{background:var(--auth-bg)!important}.auth-system-page{--auth-bg:#fff;--auth-text:#16181d;--auth-muted:#747b87;--auth-field:#f4f4f6;--auth-outline:#e1e2e5;--auth-primary:#3b87f8;--auth-primary-hover:#2879ef;--auth-telegram:#59aee8;--auth-segment:#f2f2f4;--auth-active:#fff;--auth-status:#fff0f3;--auth-status-text:#a82d49;--auth-shadow:0 6px 18px rgba(20,24,31,.09);width:100%;min-height:100vh;min-height:100svh;padding:clamp(20px,4vh,36px) 24px max(18px,env(safe-area-inset-bottom));background:var(--auth-bg);color:var(--auth-text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}.auth-system-frame{width:min(100%,500px);min-height:calc(100vh - 56px);min-height:calc(100svh - 56px);margin-inline:auto;display:flex;flex-direction:column}.auth-system-orbit{width:min(100%,460px);margin-inline:auto;color:var(--auth-text)}.auth-system-orbit svg{display:block;width:100%;height:auto;overflow:visible}.auth-system-content{width:100%;margin-top:clamp(22px,3.4vh,30px)}.auth-system-heading h1{margin:0;font-size:clamp(40px,3.5vw,48px);line-height:1;letter-spacing:-2px;font-weight:700;text-wrap:balance}.auth-system-heading p{max-width:450px;margin:clamp(11px,1.8vh,16px) 0 0;font-size:clamp(17px,1.45vw,20px);line-height:1.32;letter-spacing:-.18px;font-weight:600}.auth-system-form{display:grid;gap:10px;margin-top:clamp(20px,3vh,28px)}.auth-system-field{position:relative;width:100%;height:56px;padding:0 19px;border:1px solid transparent;border-radius:15px;background:var(--auth-field);display:flex;align-items:center;gap:15px;box-shadow:inset 0 0 0 1px rgba(127,135,148,.05)}.auth-system-field>svg{width:26px;height:26px;flex:0 0 auto;color:var(--auth-muted);stroke:var(--auth-muted)}.auth-system-field input{min-width:0;flex:1;width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--auth-text);font-size:18px;line-height:1;font-weight:600;letter-spacing:-.15px}.auth-system-field input::placeholder{color:var(--auth-muted);opacity:1}.auth-system-field:focus-within{border-color:var(--auth-primary);box-shadow:0 0 0 3px rgba(59,135,248,.17)}.auth-system-field--code input{font-variant-numeric:tabular-nums;letter-spacing:.16em}.auth-system-primary{width:100%;height:56px;padding:0 20px;border:0;border-radius:15px;background:var(--auth-primary);color:#fff;font-size:18px;font-weight:700;letter-spacing:-.15px;cursor:pointer}.auth-system-primary:hover:not(:disabled){background:var(--auth-primary-hover);transform:scale(1.01)}.auth-system-primary:active:not(:disabled){transform:scale(.985)}.auth-system-secondary-form{margin-top:10px}.auth-system-secondary{border:2px solid var(--auth-outline);background:var(--auth-bg);color:var(--auth-text);box-shadow:none}.auth-system-secondary:hover:not(:disabled){border-color:var(--auth-primary);background:var(--auth-bg);color:var(--auth-primary)}.auth-system-divider{margin-top:clamp(15px,2.6vh,22px);text-align:center;color:#92969e;font-size:18px;line-height:1;font-weight:500}.auth-system-socials{display:grid;gap:9px;margin-top:12px}.auth-system-social{width:100%;height:48px;padding:0 18px;border:2px solid var(--auth-outline);border-radius:14px;background:var(--auth-bg);color:var(--auth-text);display:flex;align-items:center;justify-content:center;gap:12px;font-size:16px;line-height:1;font-weight:600;letter-spacing:-.15px}.auth-system-social:disabled{opacity:1;cursor:not-allowed}.auth-social-icon,.auth-yandex-badge{width:24px;height:24px;flex:0 0 24px}.auth-yandex-badge{border-radius:50%;background:#ff3b30;color:#fff;display:grid;place-items:center;font-size:16px;font-weight:700;line-height:1;padding-bottom:1px}.auth-system-social--telegram{width:78%;height:46px;margin:4px auto 0;border:0;border-radius:23px;background:var(--auth-telegram);color:#fff;font-weight:500}.auth-social-icon--telegram{fill:#fff}.auth-system-theme{width:176px;height:42px;margin:clamp(18px,3vh,26px) auto 0;padding:3px;border-radius:12px;background:var(--auth-segment);display:grid;grid-template-columns:1fr 1fr;gap:2px}.auth-system-theme button{min-width:0;border:0;border-radius:9px;background:transparent;color:var(--auth-muted);display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.auth-system-theme button svg{width:16px;height:16px;flex:0 0 16px}.auth-system-theme button:first-child svg{fill:currentColor}.auth-system-theme button:last-child svg{stroke:currentColor;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round}.auth-system-theme button.is-active{background:var(--auth-active);color:var(--auth-text);box-shadow:var(--auth-shadow)}.auth-system-meta{margin:8px 0 0;color:var(--auth-muted);font-size:11px;text-align:center}.auth-system-meta a,.auth-system-legal a{color:var(--auth-text);text-decoration-color:var(--auth-outline);text-underline-offset:3px}.auth-system-back{width:max-content;min-height:36px;margin:0 0 8px;display:inline-flex;align-items:center;gap:5px;color:var(--auth-muted);font-size:14px;font-weight:650;text-decoration:none}.auth-system-back svg{width:18px;height:18px}.auth-system-back:hover{color:var(--auth-text)}.auth-system-legal{margin:12px 2px 0;color:var(--auth-muted);font-size:12px;line-height:1.45}.auth-system-status{margin:14px 0 0;padding:11px 13px;border-radius:11px;background:var(--auth-status);color:var(--auth-status-text);font-size:13px;font-weight:600;line-height:1.4}.auth-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html[data-theme=dark] .auth-system-page{--auth-bg:#121316;--auth-text:#f5f6f8;--auth-muted:#9aa1ad;--auth-field:#1c1e23;--auth-outline:#30333a;--auth-primary:#3b87f8;--auth-primary-hover:#4c91f7;--auth-segment:#1c1e23;--auth-active:#2b2e35;--auth-status:#35202a;--auth-status-text:#ffafc0;--auth-shadow:0 6px 18px rgba(0,0,0,.26)}
@media(max-width:560px){.auth-system-page{padding:20px 24px max(18px,env(safe-area-inset-bottom))}.auth-system-frame{min-height:calc(100vh - 58px);min-height:calc(100svh - 58px)}.auth-system-orbit{width:min(100%,382px)}.auth-system-content{margin-top:clamp(24px,4.2vh,34px)}.auth-system-heading h1{font-size:clamp(36px,10.25vw,42px);letter-spacing:-1.7px}.auth-system-heading p{max-width:360px;margin-top:14px;font-size:clamp(18px,4.8vw,20px);line-height:1.34}.auth-system-form{margin-top:clamp(24px,4vh,32px);gap:11px}.auth-system-field,.auth-system-primary{height:58px;border-radius:17px}.auth-system-field{padding-inline:18px;gap:14px}.auth-system-field input{font-size:18px}.auth-system-divider{margin-top:21px;font-size:19px}.auth-system-socials{gap:11px;margin-top:17px}.auth-system-social{height:54px;border-radius:16px;font-size:16px}.auth-system-social--telegram{width:82%;height:49px;margin-top:7px;border-radius:25px}.auth-system-theme{width:174px;height:44px;margin-top:26px}.auth-system-meta{margin-top:11px}.auth-system-legal{font-size:12px}.auth-system-back{margin-bottom:10px}}
@media(max-width:360px){.auth-system-page{padding-inline:18px}.auth-system-heading h1{font-size:35px}.auth-system-social{padding-inline:10px;font-size:15px}.auth-system-theme{width:164px}}
@media(min-width:700px) and (max-height:820px){.auth-system-page{padding-top:18px;padding-bottom:14px}.auth-system-frame{min-height:calc(100vh - 32px);min-height:calc(100svh - 32px)}.auth-system-orbit{width:420px}.auth-system-content{margin-top:18px}.auth-system-heading h1{font-size:43px}.auth-system-heading p{margin-top:9px;font-size:17px}.auth-system-form{margin-top:16px;gap:8px}.auth-system-field,.auth-system-primary{height:50px;border-radius:13px}.auth-system-divider{margin-top:13px;font-size:16px}.auth-system-socials{margin-top:9px;gap:7px}.auth-system-social{height:43px;border-radius:12px;font-size:15px}.auth-system-social--telegram{height:41px;margin-top:3px}.auth-system-theme{height:38px;margin-top:12px}.auth-system-meta{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.auth-system-page *,.auth-system-page *:before,.auth-system-page *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

html,body{margin:0;min-height:100%}.auth-system-body{margin-top:clamp(20px,3vh,28px)}.auth-system-body .card,.auth-system-body form{display:grid;gap:10px;margin:0}.auth-system-body form+form{margin-top:10px}.auth-system-body input{width:100%;height:56px;padding:0 19px;border:1px solid transparent;border-radius:15px;background:var(--auth-field);color:var(--auth-text);font-size:18px;font-weight:600;outline:0}.auth-system-body input:focus{border-color:var(--auth-primary);box-shadow:0 0 0 3px rgba(59,135,248,.17)}.auth-system-body button,.auth-system-body .btn{width:100%;height:56px;padding:0 20px;border:0;border-radius:15px;background:var(--auth-primary);color:#fff;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.auth-system-body button.secondary,.auth-system-body .secondary{border:2px solid var(--auth-outline);background:var(--auth-bg);color:var(--auth-text)}.auth-system-body .lead{margin:0 0 18px;font-size:18px;line-height:1.4;font-weight:600}.auth-system-body .hint{margin-top:10px}.auth-system-status--ok{background:#ecfdf3;color:#027a48}html[data-theme=dark] .auth-system-status--ok{background:#102719;color:#62d486}.google-mark,.yandex-mark{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:800}.google-mark{color:#4285f4}.yandex-mark{background:#ff3b30;color:#fff}.auth-system-social--telegram{font-size:14px}.auth-system-body .field{height:56px;padding:0 19px;border:1px solid transparent;border-radius:15px;background:var(--auth-field);display:flex;align-items:center;gap:15px}.auth-system-body .field svg{width:26px;height:26px;color:var(--auth-muted)}.auth-system-body .field input{height:100%;padding:0;background:transparent;box-shadow:none;border:0}.auth-system-body #email-form button{margin-top:10px}.auth-system-body #login-loader,.auth-system-body #login-error{color:var(--auth-muted)}
.auth-system-page,.auth-system-frame,.auth-system-orbit,.auth-system-content{max-width:100%}.auth-system-orbit svg{overflow:hidden}
.auth-system-page{box-sizing:border-box}.auth-system-frame{width:100%;box-sizing:border-box}.auth-system-body input,.auth-system-social{box-sizing:border-box;max-width:100%;min-width:0}
