main:has(>.auth-card){align-self:center;width:min(62rem,100% - 3rem);margin:clamp(2rem,7vh,5rem) auto}body:has(.auth-card){min-height:100svh}@media (min-width:901px){body:has(.auth-card){grid-template-rows:auto 1fr auto}}.auth-card{--auth-green:#20583e;color:#1b382d;background:#fff;border:1px solid #d5e3d9;border-radius:1.75rem;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);padding:.6rem;display:grid;box-shadow:0 1.2rem 3.2rem -2rem #284a3b55}.auth-cover{isolation:isolate;color:#184738;background-color:#ddf2cd;background-image:linear-gradient(#648a5a13 1px,#0000 1px),linear-gradient(90deg,#648a5a13 1px,#0000 1px);background-size:1.45rem 1.45rem;border-radius:1.25rem;flex-direction:column;justify-content:space-between;align-items:center;gap:1.5rem;padding:clamp(1.7rem,3vw,2.8rem) 1.65rem 2rem;display:flex;position:relative;overflow:hidden}.auth-cover:before{content:"";z-index:-1;aspect-ratio:1;background:#c2e6a8;border-radius:50%;width:85%;position:absolute;bottom:-16%;left:7.5%}.auth-cover-text{width:100%}.auth-cover-text strong{letter-spacing:-.045em;max-width:8em;font-size:clamp(1.9rem,3.5vw,3.05rem);font-weight:900;line-height:1.04;display:block}.auth-cover-text p{max-width:16rem;margin:.8rem 0 0;font-size:1.05rem}.auth-cover img{width:min(81%,16rem);height:auto;transform:rotate(-4deg)}.auth-content{align-self:center;min-width:0;padding:clamp(1.65rem,3.7vw,3.7rem)}.auth-heading h1{font-size:clamp(1.85rem,3vw,2.65rem);line-height:1.12}.auth-heading p{color:#4a6257;overflow-wrap:anywhere;margin:.5rem 0 0}.auth-modes{background:#eef3ef;border-radius:.9rem;grid-template-columns:repeat(2,1fr);gap:.25rem;margin-top:1.5rem;padding:.25rem;display:grid}.auth-modes button{color:#52635a;background:0 0;border:1px solid #0000;border-radius:.7rem;min-height:2.75rem;padding:.55rem .25rem;font-weight:800;line-height:1.15}.auth-modes button[aria-pressed=true]{color:var(--auth-green);background:#fff;border-color:#d3ded5;box-shadow:0 2px 3px #153d2412}.auth-form{gap:1.1rem;margin-top:1.4rem;display:grid}.auth-form label{gap:var(--field-gap);font-size:1rem;font-weight:800}.auth-form input{color:#193e2f;background:#fff;border:1.5px solid #aebfb4;border-radius:.8rem;width:100%;min-height:3.25rem;padding:.65rem .95rem;font-weight:650}.auth-form input::placeholder{color:#68786d;font-weight:500}.auth-form input:focus-visible{outline-offset:1px;border-color:var(--auth-green);outline:3px solid #b5dac0}.auth-code{letter-spacing:.3em;font-variant-numeric:tabular-nums}.auth-submit{background:var(--auth-green);color:#fff;border:0;border-radius:.8rem;width:100%;min-height:3.25rem;padding:.65rem 1rem;font-size:1.08rem;font-weight:850;box-shadow:0 3px #123a29}.auth-submit:hover:enabled{background:#174a32}.auth-submit:active:enabled{transform:translateY(2px);box-shadow:0 1px #123a29}.auth-links,.auth-footer{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.35rem .65rem;display:flex}.auth-links{margin-top:.9rem}.auth-footer{color:#506357;border-top:1px solid #dce5de;margin:1.5rem 0 0;padding-top:1.1rem}.auth-footer a,.auth-links button,.auth-footer button{color:var(--auth-green);text-underline-offset:.2em;font-weight:850;text-decoration:underline}.auth-links button,.auth-footer button{background:0 0;border:0;padding:.3rem}.auth-feedback{border-radius:.65rem;margin:0;padding:.7rem .85rem}.auth-error{color:#8a3029;background:#fff0ef}.auth-success{color:#1f583a;background:#eaf5e9}@media (max-width:700px){main:has(>.auth-card){width:min(28rem,100% - 1.5rem);margin:1.25rem auto 2rem}.auth-card{border-radius:1.35rem;grid-template-columns:1fr;padding:.4rem}.auth-cover{border-radius:1rem;flex-direction:row;gap:.5rem;min-height:6rem;padding:.9rem 1.15rem}.auth-cover:before{width:6rem;bottom:-2rem;left:auto;right:0}.auth-cover-text strong{font-size:1.5rem}.auth-cover-text p{display:none}.auth-cover img{width:5.3rem}.auth-content{padding:1.4rem 1rem}.auth-modes{margin-top:1rem}}.auth-providers{gap:.65rem;margin-block:1.15rem;display:grid}.auth-provider{color:#fff;cursor:pointer;border:0;border-radius:.8rem;width:100%;min-height:3.1rem;font-size:1rem;font-weight:800}.auth-yandex{background:#232323}.auth-vk{background:#0067d8}.auth-provider:hover{filter:brightness(1.12)}.auth-provider:focus-visible{outline-offset:3px;outline:3px solid #296d45}.auth-connected{color:#295e39;margin:0;font-weight:750}
