





.hdr--auth{position:absolute}
.hdr__back{position:absolute;top:28px;right:max(var(--gut),calc((100% - var(--wrap)) / 2));pointer-events:auto;padding-left:18px}
.hdr__back svg{width:16px;height:16px;margin-top:-1px}
body.mg-auth .fb-btn{bottom:80px}

.mau{display:flex;flex-direction:column;min-height:calc(100svh / var(--z,1));padding-top:100px}

.mau__grid{flex:1 0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--mg-gap);min-height:calc(100svh / var(--z,1) - 164px)}
.mau-card{display:flex;align-items:center;justify-content:center;padding:32px 40px;background:#fff;border-radius:var(--r-card)}
.mau-card__in{width:min(100%,400px);transform:translateY(-8px)}


.mau-seg{position:relative;display:grid;grid-template-columns:1fr 1fr;height:48px;padding:4px;border-radius:var(--r-pill);background:var(--fog)}
.mau-seg__ind{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:var(--r-pill);background:#fff;
  box-shadow:0 1px 2px rgba(28,29,32,.06),0 0 0 1px rgba(28,29,32,.04);transition:transform 420ms var(--e-butter)}
.mau[data-mode="up"] .mau-seg__ind{transform:translateX(100%)}
.mau-seg__b{position:relative;z-index:1;padding:3px 12px 0;border-radius:var(--r-pill);font-stretch:var(--w-hyper);font-weight:500;font-size:15px;line-height:18px;color:var(--ink-55);
  transition:color var(--d-ui) var(--e-state)}
.mau-seg__b.is-on{color:var(--ink)}
@media (hover:hover){ .mau-seg__b:not(.is-on):hover{color:var(--ink)} }

.mau-h1{margin-top:28px;font-stretch:var(--w-hyper);font-weight:500;font-size:36px;line-height:40px;letter-spacing:-.01em}
.mau-sub{margin-top:12px;font-stretch:var(--w-hyper);font-weight:400;font-size:16px;line-height:21px;color:var(--ink-55);text-wrap:pretty}
.mau-h1,.mau-sub{transition:opacity 160ms linear}
.mau.is-swap .mau-h1,.mau.is-swap .mau-sub{opacity:0}

.mau-form{width:100%;margin-top:24px}

.mau-fld--pass,.mau-fld--phone,.mau-checks,.mau-who,.mau-forgot{display:none}
.mau-form[data-step="pass"] .mau-fld--email{display:none}
.mau-form[data-step="pass"] .mau-who,.mau-form[data-step="pass"] .mau-fld--pass,.mau-form[data-step="pass"] .mau-forgot{display:flex}
.mau[data-mode="up"] .mau-fld--phone{display:flex}
.mau[data-mode="up"] .mau-checks{display:flex;margin:8px 0 4px}
.mau-who{align-items:center;justify-content:space-between;gap:12px;height:56px;padding:1px 8px 0 20px;border-radius:var(--r-widget);background:var(--fog)}
.mau-who__e{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-stretch:var(--w-hyper);font-weight:500;font-size:15px;line-height:18px}
.mau-who__b{flex:none;height:40px;padding:2px 14px 0;border-radius:var(--r-pill);font-stretch:var(--w-hyper);font-weight:500;font-size:14px;line-height:18px;color:var(--ink-55);
  transition:color var(--d-ui) var(--e-state),background-color var(--d-ui) var(--e-state)}
@media (hover:hover){ .mau-who__b:hover{color:var(--ink);background:#fff} }
.mau-pass{padding-right:56px}
.mau-eye{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:var(--ink-55);transition:color var(--d-ui) var(--e-state)}
.mau-eye svg{width:20px;height:20px}
.mau-eye__off{display:none}
.mau-eye[aria-pressed="true"] .mau-eye__on{display:none}
.mau-eye[aria-pressed="true"] .mau-eye__off{display:block}
@media (hover:hover){ .mau-eye:hover{color:var(--ink)} }
.mau-send{position:relative;width:100%;height:56px;margin-top:8px;border-radius:var(--r-widget);padding-top:21px;padding-bottom:18px}
.mau-send__t{transition:opacity 160ms var(--e-state)}
.mau-send__spin{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0}
.mau-form.is-sending .mau-send__t{opacity:0}
.mau-form.is-sending .mau-send__spin{opacity:1}
.mau-forgot{align-self:center;margin-top:8px;padding:12px 8px 10px;font-stretch:var(--w-hyper);font-weight:500;font-size:14px;line-height:18px;color:var(--ink-55);transition:color var(--d-ui) var(--e-state)}
@media (hover:hover){ .mau-forgot:hover{color:var(--ink)} }

.mau-or{display:flex;align-items:center;gap:16px;margin-top:20px;font-stretch:var(--w-hyper);font-weight:400;font-size:13px;line-height:16px;color:var(--ink-55)}
.mau-or::before,.mau-or::after{content:"";flex:1;height:1px;background:var(--mg-line)}
.mau-ids{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}
.mau-alfa{grid-column:1/-1}
.mau-alfa,.mau-id{display:flex;align-items:center;justify-content:center;height:56px;border-radius:var(--r-widget);background:#fff;box-shadow:inset 0 0 0 1px var(--mg-line);
  transition:box-shadow var(--d-ui) var(--e-state),transform var(--d-ui) var(--e-appear)}
.mau-alfa{gap:12px;padding:3px 16px 0 12px;font-stretch:var(--w-hyper);font-weight:500;font-size:15px;line-height:18px;white-space:nowrap}



.mau-alfa img,.mau-id img{width:24px;height:24px}
.mau-alfa img{width:22px;height:30px;margin:-2px 0 0 -6px}
.mau-id img[src*="tochka"]{width:22px;height:22px;border-radius:6px}
@media (hover:hover){ .mau-alfa:hover,.mau-id:hover{box-shadow:inset 0 0 0 1px rgba(35,36,39,.24)} }
.mau-alfa:active,.mau-id:active{transform:scale(.97)}
.mau-legal{margin-top:20px;font-stretch:var(--w-hyper);font-weight:400;font-size:12px;line-height:16px;color:var(--ink-55);text-wrap:pretty}
.mau-legal a{color:var(--ink);transition:opacity var(--d-ui) linear}
@media (hover:hover){ .mau-legal a:hover{text-decoration:underline;text-underline-offset:2px} }


.mau-side{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:40px;padding:40px;background:var(--mg-dark);border-radius:var(--r-card);color:#fff}

.mau-side__h{max-width:520px;font-stretch:var(--w-hyper);font-weight:500;font-size:clamp(28px,2.3vw,32px);line-height:calc(1em + 4px);letter-spacing:-.01em;text-wrap:balance}

.mau-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding:2px 0 0;
  font-stretch:var(--w-hyper);font-weight:400;font-size:13px;line-height:16px;color:var(--ink-55)}
.mau-foot a{color:var(--ink)}
@media (hover:hover){ .mau-foot a:hover{text-decoration:underline;text-underline-offset:2px} }

@media (max-width:1199px){
  .mau{min-height:0}
  .mau__grid{grid-template-columns:minmax(0,1fr);min-height:0}
  .mau-card{padding:64px 32px 56px}
  .mau-card__in{transform:none}
  .mau-side{gap:32px;padding:32px}
}
@media (max-width:767px){
  .mau{padding-top:84px}
  .hdr__back{top:20px;height:40px;padding:12px 16px 10px 14px;font-size:14px;line-height:16px}
  .mau-card{padding:24px 16px 20px;border-radius:20px}
  .mau-seg{height:44px}
  .mau-h1{margin-top:28px;font-size:28px;line-height:32px}
  .mau-sub{font-size:15px;line-height:20px}
  .mau-form{margin-top:24px}
  .mau-side{padding:20px;gap:28px;border-radius:20px}
  .mau-side__h{font-size:24px}
  .mau-foot{flex-direction:column;align-items:flex-start;gap:6px;padding:20px 0 96px}
}


.mau[data-mode="up"] .mau-legal{display:none}


.mau-side__top{display:flex;flex-direction:column;gap:16px}
.mau-tools{display:flex;flex-direction:column;margin-top:8px}
.mau-offer{margin-top:24px}
.mau-tools li{display:flex;align-items:center;gap:16px;padding:14px 0;border-top:1px solid rgba(255,255,255,.1)}
.mau-tools li:last-child{border-bottom:1px solid rgba(255,255,255,.1)}
.mau-tool__pic{width:40px;height:40px;border-radius:12px}
.mau-tool__pic svg{width:24px;height:24px}
.mau-tool__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.mau-tool__t{font-stretch:var(--w-hyper);font-weight:500;font-size:16px;line-height:20px}
.mau-tool__d{font-stretch:var(--w-hyper);font-weight:400;font-size:14px;line-height:18px;color:var(--on-dark-2)}
.mau-offer{display:flex;align-items:center;gap:14px;padding:16px 20px;border-radius:16px;background:var(--green);color:var(--ink)}
.mau-offer img{flex:none;width:20px;height:28px;transform:translateY(-1.5px)}
.mau-offer__t{font-stretch:var(--w-hyper);font-weight:400;font-size:15px;line-height:20px}
.mau-offer__t b{font-weight:500}
@media (max-width:767px){
  .mau-tools li{padding:12px 0}
  .mau-offer{padding:14px 16px}
}



@media (min-width:1200px){
  .mau{min-height:calc(100svh / var(--z,1))}
  .mau__grid{flex:1 0 auto;min-height:calc(100svh / var(--z,1) - 164px)}
  .mau-h1{font-size:32px;line-height:36px;white-space:nowrap}
  .mau-side{gap:24px;padding:32px 40px}
  .mau-side__h{font-size:28px;line-height:32px}
  .mau-tools li{padding:12px 0}
}
@media (min-width:1200px) and (max-height:860px){

  .mau-seg{height:40px}
  .mau-sub{display:none}
  .mau .fin-input,.mau-who,.mau-send,.mau-alfa,.mau-id{height:48px}
  .mau-send{padding-top:17px;padding-bottom:14px}
  .mau-eye{top:4px}
  .mau-or{margin-top:14px}
  .mau-ids{margin-top:12px}
  .mau[data-mode="up"] .mau-checks{margin:4px 0 0}
  .mau-card{padding:24px 40px}
  .mau-h1{margin-top:20px}
  .mau-form{margin-top:20px}
  .mau-legal{margin-top:16px}
  .mau-tool__d{display:none}
  .mau-tools li{padding:10px 0}
  .mau-tool__pic{width:36px;height:36px;border-radius:10px}
  .mau-tool__pic svg{width:22px;height:22px}
}
@media (min-width:768px) and (max-width:1199px){ .mau-h1{white-space:nowrap} }

.mau-form[data-step="pass"] ~ .mau-or,.mau-form[data-step="pass"] ~ .mau-ids{display:none}

@media (min-width:1200px) and (max-height:800px){
  .mau-side{gap:20px;padding:24px 40px}
  .mau-side__h{font-size:24px;line-height:28px}
  .mau-tools li{padding:7px 0}
  .mau-offer{margin-top:16px;padding:12px 18px}
  .mau-h1{margin-top:16px}
  .mau-form{margin-top:16px}
}
@media (max-width:767px){ .mau-offer img{transform:none} }
