#relok-shared-header{position:fixed;z-index:900;top:10px;left:50%;transform:translateX(-50%);width:min(1180px,calc(100% - 20px));min-height:60px;box-sizing:border-box;padding:8px 12px 8px 20px;border-radius:16px;background:#FBFCFF;color:#232323;display:flex;gap:20px;align-items:center;justify-content:space-between;font:500 16px/1.2 'Inter Tight',sans-serif}
#relok-shared-header[data-sticky="0"]{position:absolute}
#relok-shared-header a{color:inherit;text-decoration:none}#relok-shared-header [data-global-brand]{flex-shrink:0}#relok-shared-header [data-global-brand] img{display:block;width:100px;height:auto;max-height:40px;object-fit:contain}
#relok-shared-header nav{display:flex;gap:20px;align-items:center}#relok-shared-header nav a{padding:8px 0}#relok-shared-header .rh-cta{font:inherit;border:0;border-radius:10px;padding:10px;background:#EAEFFD;color:#232323;cursor:pointer;max-width:260px}
#relok-shared-header .rh-menu{display:none;font-size:24px;border:0;background:transparent;min-width:44px;min-height:44px;cursor:pointer}
#relok-shared-header a:focus-visible,#relok-shared-header button:focus-visible{outline:2px solid #0050E3;outline-offset:3px}
html{scroll-padding-top:0px}[id]{scroll-margin-top:var(--relok-anchor-gap,0px)}
.qz-overlay{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.35);backdrop-filter:blur(10px);font-family:'Inter Tight',sans-serif;padding:24px;overflow:auto;box-sizing:border-box}.qz-overlay.open{display:flex}
.qz-overlay .qz-close{position:fixed;z-index:2;top:8px;right:8px;min-width:44px;min-height:44px;font-size:36px;line-height:1;color:#FBFCFF;border:0;border-radius:50%;background:rgba(35,35,35,.7);cursor:pointer}
.qz-screen{box-sizing:border-box;display:flex;flex-direction:column}.qz-intro{width:470px;border-radius:16px;overflow:hidden;background:#FBFCFF}.qz-intro-img{height:238px;padding:15px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;isolation:isolate}.qz-intro-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.qz-intro-img::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 48%,rgba(0,0,0,.5) 72%);z-index:-1}.qz-intro-img .nm{color:#FBFCFF;font-size:22px;font-weight:600;line-height:1.1}.qz-intro-img .rl{color:#FBFCFF;font-size:16px;line-height:1.2;margin-top:8px}.qz-intro-bd{padding:15px;display:flex;flex-direction:column;gap:15px}.qz-intro-bd .tx{font-size:25px;line-height:1.1;font-weight:600;color:#232323}.qz-intro-bd .tx b{color:#0050E3}
.qz-card{width:635px;max-width:100%;min-height:500px;padding:20px;background:#FBFCFF;border-radius:16px;gap:20px;color:#232323}.qz-head{display:flex;flex-direction:column;gap:10px}.qz-qrow{display:flex;gap:20px;justify-content:space-between;align-items:start}.qz-q{font-size:25px;line-height:1.1;font-weight:600;margin:0}.qz-step{font-size:16px;line-height:1.2;white-space:nowrap;color:rgba(35,35,35,.6)}.qz-sub{font-size:16px;line-height:1.2;margin:0;color:rgba(35,35,35,.8);white-space:pre-line}
.qz-fields,.qz-lblrow{display:flex;flex-direction:column;gap:8px}.qz-field{box-sizing:border-box;width:100%;padding:15px;background:#EAEFFD;border:1px solid transparent;border-radius:10px;color:#232323;font:500 16px/1.2 'Inter Tight',sans-serif;min-height:48px}.qz-field[aria-invalid]{border-color:#D54700}.qz-field:focus{outline:2px solid #0050E3;outline-offset:2px}.qz-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;border:0;margin:0;padding:0;min-width:0}.qz-opt{display:flex;align-items:center;gap:10px;min-height:50px;padding:15px;background:#EAEFFD;border-radius:10px;cursor:pointer;overflow-wrap:anywhere}.qz-opt input{accent-color:#0050E3;width:20px;height:20px;flex:0 0 20px}.qz-opt:has(input:checked){background:#dbe5fc}.qz-opt:focus-within{outline:2px solid #0050E3}
.qz-nav{display:flex;gap:5px;margin-top:auto}.qz-btn{display:block;flex:1;box-sizing:border-box;padding:15px 20px;border-radius:10px;text-align:center;font:500 18px/1.2 'Inter Tight',sans-serif;cursor:pointer;border:0;text-decoration:none;min-height:48px;white-space:normal}.qz-btn.pri{background:#0050E3;color:#FBFCFF}.qz-btn.dark{background:#232323;color:#FBFCFF}.qz-btn.gh{background:#FBFCFF;color:#0050E3;border:1px solid #0050E3}.qz-btn:focus-visible{outline:2px solid #0050E3;outline-offset:3px}.qz-note{color:rgba(35,35,35,.6);font-size:14px;line-height:1.2;margin:0}.qz-error{font-size:14px;color:#B23600;margin:0}.qz-error:empty{display:none}.qz-link{color:#0050E3;text-decoration:underline}
#sg-exit-offer.flow-offer{position:fixed;inset:0;z-index:99998;display:none;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:rgba(0,0,0,.4);overflow:auto;font-family:'Inter Tight',sans-serif}#sg-exit-offer.flow-offer.is-open{display:flex}.flow-offer-card{position:relative;isolation:isolate;width:387px;max-width:100%;min-height:420px;padding:24px;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;border-radius:16px;background:#0050E3;color:#FBFCFF;overflow:hidden}.flow-offer-card h2{font-size:25px;line-height:1.16;white-space:pre-line;margin:0;padding-right:20px}.flow-offer-card p{font-size:16px;line-height:1.3;white-space:pre-line;margin:0}.flow-offer-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.flow-offer-card::after{content:'';position:absolute;inset:0;background:linear-gradient(rgba(0,80,227,.65),rgba(0,80,227,.2));z-index:-1}.flow-offer-close{position:absolute;right:0;top:0;width:44px;height:44px;font-size:28px;background:transparent;border:0;color:#FBFCFF;cursor:pointer}.flow-offer-button{margin-top:auto;text-align:center;padding:14px;background:#FBFCFF;color:#232323;font:600 16px/1.25 'Inter Tight',sans-serif;border:0;border-radius:12px;text-decoration:none;cursor:pointer}.flow-offer-card button:focus-visible,.flow-offer-card a:focus-visible{outline:2px solid #FBFCFF;outline-offset:2px}
@media(max-width:900px){#relok-shared-header{width:100%;top:0;border-radius:0;padding:4px 8px;gap:8px;min-height:52px}#relok-shared-header .rh-menu{display:block}#relok-shared-header .rh-cta{font-size:12px;max-width:145px;min-height:44px}#relok-shared-header nav{display:none;position:absolute;top:100%;left:0;right:0;background:#FBFCFF;padding:12px;flex-direction:column;align-items:stretch;gap:0;border-radius:0 0 12px 12px}#relok-shared-header[data-open] nav{display:flex}#relok-shared-header nav a{min-height:44px;display:flex;align-items:center}.qz-grid{grid-template-columns:1fr}.qz-qrow{flex-direction:column;gap:8px}.qz-card{min-height:0}.qz-q{font-size:22px}.qz-intro,.qz-card{max-width:100%}.qz-overlay{padding:56px 14px 20px}.qz-intro-img{height:180px}.flow-offer-card{min-height:380px}}

.qz-card.qz-done{min-height:0}

/* ===== 27.10.2026, квиз по макету «шаг 0-5.pdf» (relocant-quiz): только вёрстка и цвета ===== */
.qz-overlay{background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:24px}
.qz-overlay .qz-close{top:8px;right:8px;width:44px;height:44px;min-width:0;min-height:0;padding:0;border-radius:50%;font-size:0;color:transparent;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M1 1l20 20M21 1L1 21' stroke='%23fbfcff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/22px 22px no-repeat}
.qz-overlay .qz-screen{width:500px;max-width:100%;margin:auto;border-radius:16px;background:#FBFCFF;color:#232323;font-family:'Inter Tight',sans-serif}
/* шаг 0 */
.qz-overlay .qz-intro-img{height:253px;padding:15px}
.qz-overlay .qz-intro-img .nm{font-size:16px;font-weight:600;line-height:19px}
.qz-overlay .qz-intro-img .rl{font-size:14px;font-weight:500;line-height:17px;margin-top:2px}
.qz-overlay .qz-intro-bd{padding:15px;gap:0}
.qz-overlay .qz-intro-bd .tx{font-size:25px;font-weight:600;line-height:28px;margin-bottom:20px}
.qz-overlay .qz-intro-bd .tx b{font-weight:600}
.qz-overlay .qz-intro-bd .qz-btn+.qz-btn{margin-top:5px}
/* шаги 1-5 */
.qz-overlay .qz-card{min-height:0;padding:15px;gap:20px}
.qz-overlay .qz-qrow{flex-direction:column-reverse;align-items:flex-start;gap:8px}
.qz-overlay .qz-q{font-size:25px;font-weight:600;line-height:28px;text-wrap:balance}
.qz-overlay .qz-step{font-size:14px;font-weight:500;line-height:17px;color:rgba(35,35,35,.5)}
.qz-overlay .qz-head{gap:10px}
.qz-overlay .qz-sub{font-size:14px;font-weight:500;line-height:17px;color:rgba(35,35,35,.8)}
.qz-overlay .qz-sub{max-width:420px;text-wrap:pretty}
.qz-overlay .qz-sub .qz-link{color:#0050E3;text-decoration:underline;text-underline-offset:2px}
.qz-overlay .qz-fields{gap:20px}
.qz-overlay .qz-lblrow{gap:6px}
.qz-overlay .qz-fields:has(>.qz-lblrow){gap:18px;margin-bottom:-3px}
.qz-overlay .qz-lblrow .lbl{font-size:16px;font-weight:500;line-height:19px;color:#232323}
/* плитки радио: в 2 колонки сверху вниз, как в макете */
.qz-overlay .qz-grid{display:block;columns:2;column-gap:5px}
.qz-overlay .qz-opt{display:flex;break-inside:avoid;margin:0 0 5px;min-height:48px;padding:12px 15px;box-sizing:border-box;gap:6px;border-radius:10px;background:#EAEFFD;font-size:16px;font-weight:500;line-height:19px;color:#232323}
.qz-overlay .qz-grid{margin-bottom:-5px}
.qz-overlay .qz-opt input{-webkit-appearance:none;appearance:none;margin:0;width:16px;height:16px;flex:0 0 16px;border:2px solid #0050E3;border-radius:50%;background:transparent;box-sizing:border-box;display:grid;place-content:center;cursor:pointer}
.qz-overlay .qz-opt input::before{content:'';width:8px;height:8px;border-radius:50%;background:#0050E3;transform:scale(0)}
.qz-overlay .qz-opt input:checked::before{transform:scale(1)}
.qz-overlay .qz-opt input[type=checkbox]{border-radius:4px}
.qz-overlay .qz-opt input[type=checkbox]::before{border-radius:2px}
.qz-overlay .qz-opt:has(input:checked){background:#dce4fb}
.qz-overlay .qz-opt:focus-within{outline:0}
.qz-overlay .qz-opt:has(input:focus-visible){outline:2px solid #0050E3;outline-offset:2px}
/* поля */
.qz-overlay .qz-field{height:48px;min-height:48px;padding:0 15px;border:0;border-radius:10px;background:#EAEFFD;color:#232323;font:500 16px/19px 'Inter Tight',sans-serif;box-shadow:inset 0 0 0 1px transparent}
.qz-overlay .qz-field::placeholder{color:rgba(35,35,35,.3);opacity:1}
.qz-overlay .qz-field:focus{outline:0;box-shadow:inset 0 0 0 1.5px #0050E3;background:#FBFCFF}
.qz-overlay .qz-field[aria-invalid]{box-shadow:inset 0 0 0 1.5px #D54700;background:#FFF4EE}
.qz-overlay .qz-error{font-size:14px;font-weight:500;line-height:17px;color:#B23600;margin:-10px 0 0}
.qz-overlay .qz-note{font-size:14px;font-weight:500;line-height:15px;color:rgba(35,35,35,.5);margin:0 0 -10px}
/* кнопки: «Далее» над «Назад», как в макете */
.qz-overlay .qz-nav{flex-direction:column;gap:5px;margin-top:0}
.qz-overlay .qz-btn{flex:0 0 auto;width:100%;height:48px;min-height:48px;padding:0 20px;display:flex;align-items:center;justify-content:center;border:0;border-radius:10px;font:600 16px/19px 'Inter Tight',sans-serif;text-decoration:none}
.qz-overlay .qz-btn.pri{background:#0050E3;color:#FBFCFF}
.qz-overlay .qz-btn.dark{background:#232323;color:#FBFCFF}
.qz-overlay .qz-btn.gh{background:#FBFCFF;color:#0050E3;border:0;box-shadow:0 0 0 1px #0050E3}
.qz-overlay .qz-card>.qz-link{align-self:flex-start;font-size:14px;font-weight:500}
/* наведение, нажатие, фокус в системе главной (relocant-steps) */
.qz-overlay :is(.qz-btn,.qz-opt,.qz-field,.qz-close,.qz-link){transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,translate .18s ease,opacity .18s ease}
.qz-overlay .qz-opt input::before{transition:transform .15s ease}
.qz-overlay :is(.qz-btn,.qz-close,.qz-link):focus-visible{outline:2px solid #0050E3;outline-offset:3px}
.qz-overlay .qz-close:focus-visible{outline-color:#FBFCFF}
@media (hover:hover) and (pointer:fine){
 .qz-overlay .qz-btn.pri:hover{background-color:#0045c5}
 .qz-overlay .qz-btn.dark:hover{background-color:#3a3a3a}
 .qz-overlay .qz-btn.gh:hover{background-color:rgba(0,80,227,.07)}
 .qz-overlay .qz-opt:hover{background-color:#dce4fb}
 .qz-overlay .qz-field:not(:focus):hover{box-shadow:inset 0 0 0 1px rgba(0,80,227,.35)}
 .qz-overlay .qz-close:hover{background-color:rgba(251,252,255,.14)}
 .qz-overlay .qz-link:hover{color:#0045c5}
}
.qz-overlay .qz-btn:active{translate:0 1px}
.qz-overlay .qz-btn.pri:active{background-color:#003ba9}
.qz-overlay .qz-btn.dark:active{background-color:#000}
.qz-overlay .qz-btn.gh:active,.qz-overlay .qz-opt:active{background-color:#dce4fb}
.qz-overlay .qz-btn:disabled{opacity:.6;cursor:default;translate:none}
@media (prefers-reduced-motion:reduce){
 .qz-overlay :is(.qz-btn,.qz-opt,.qz-field,.qz-close,.qz-link),.qz-overlay .qz-opt input::before{transition:none}
 .qz-overlay .qz-btn:active{translate:none}
}
/* мобильная: окно на всю ширину с полями 12px, плитки в 2 колонки. Мобильная главная масштабирует html (zoom = ширина/320),
   а в её шаблоне остались правила старого квиза с !important: перекрываем их здесь, шаблон не трогаем */
@media (max-width:900px){
 #qzOverlay.qz-overlay{padding:56px 12px 16px!important;align-items:flex-start!important}
 .qz-overlay .qz-close{top:6px;right:6px;background-color:rgba(35,35,35,.4)}
 .qz-overlay .qz-screen{width:100%!important;max-width:500px!important;margin:0 auto auto!important;box-shadow:none!important}
 .qz-overlay .qz-card{min-height:0!important;padding:15px!important;gap:16px}
 .qz-overlay .qz-intro-img{height:auto!important;aspect-ratio:500/253;padding:12px 15px}
 .qz-overlay .qz-intro-img .nm{font-size:16px;line-height:19px}
 .qz-overlay .qz-intro-img .rl{font-size:13px;line-height:16px;margin-top:2px}
 .qz-overlay .qz-intro-bd{gap:0!important}
 .qz-overlay .qz-intro-bd .tx{font-size:20px!important;line-height:23px!important;margin-bottom:16px}
 .qz-overlay .qz-q{font-size:20px!important;line-height:23px!important}
 .qz-overlay .qz-qrow{flex-direction:column-reverse;gap:6px!important}
 .qz-overlay .qz-step{font-size:13px;line-height:16px}
 .qz-overlay .qz-sub{font-size:13px!important;line-height:16px!important}
 .qz-overlay .qz-opt{padding:10px 12px!important;gap:6px!important;min-height:44px;font-size:15px;line-height:18px;overflow-wrap:anywhere}
 .qz-overlay .qz-opt .lb{font-size:15px!important;line-height:18px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
 .qz-overlay .qz-fields{gap:16px}
 .qz-overlay .qz-fields:has(>.qz-lblrow){gap:14px;margin-bottom:0}
 .qz-overlay .qz-lblrow .lbl{font-size:15px;line-height:18px}
 .qz-overlay .qz-field{padding:0 12px;text-overflow:ellipsis}
 .qz-overlay .qz-field::placeholder{font-size:14px}
 .qz-overlay .qz-note{font-size:12px!important;line-height:14px!important;margin-bottom:-6px}
 .qz-overlay .qz-error{margin-top:-6px}
 .qz-overlay .qz-btn{font-size:16px!important;line-height:19px!important;padding:0 10px!important}
}
/* Страницы Relocant масштабируют html через zoom = var(--as) (внутренние на телефоне до 0.33): квиз всегда в реальных пикселях */
#qzOverlay.qz-overlay{zoom:calc(1 / var(--as,1))}
/* ===== 28.10.2026, попап Telegram-канала по макету popup.pdf (relocant-tgpopup): только вёрстка и цвета ===== */
/* оверлей: чёрный 35% + размытие, как у квиза; окно по центру через margin:auto (на низком экране прокручивается, верх не срезается) */
#sg-exit-offer.flow-offer{padding:24px;background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:flex-start;justify-content:flex-start;zoom:calc(1 / var(--as,1))}
#sg-exit-offer .flow-offer-card{width:387px;max-width:100%;min-height:335px;margin:auto;padding:15px;gap:0;border-radius:13px;background:#0050E3;color:#FBFCFF;font-family:'Inter Tight',sans-serif;overflow:hidden}
#sg-exit-offer .flow-offer-card::after{content:none}
#sg-exit-offer .flow-offer-image{object-fit:cover;object-position:50% 50%;border-radius:inherit}
#sg-exit-offer .flow-offer-card h2{font-size:25px;font-weight:600;line-height:28px;letter-spacing:0;color:#FBFCFF;padding:0;margin:0;text-wrap:balance}
#sg-exit-offer .flow-offer-card p{margin:10px 0 20px;font-size:16px;font-weight:500;line-height:18px;color:rgba(251,252,255,.8);text-wrap:pretty}
#sg-exit-offer .flow-offer-card p::first-line{font-weight:600;color:#FBFCFF}
#sg-exit-offer .flow-offer-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:43px;margin-top:auto;padding:0 15px;border:0;border-radius:8px;background:#FBFCFF;color:#232323;font:600 16px/19px 'Inter Tight',sans-serif;text-align:center;text-decoration:none;flex:0 0 auto}
/* крестик вне окна, у правого верхнего края экрана: линии 22px, толщина 2 */
#sg-exit-offer .flow-offer-close{position:fixed;top:8px;right:8px;z-index:2;width:44px;height:44px;padding:0;border:0;border-radius:50%;font-size:0;color:transparent;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M1 1l20 20M21 1L1 21' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/22px 22px no-repeat;cursor:pointer}
/* наведение, нажатие, фокус в системе главной (relocant-steps) */
#sg-exit-offer :is(.flow-offer-button,.flow-offer-close){transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,translate .18s ease}
#sg-exit-offer .flow-offer-button:focus-visible{outline:2px solid #FBFCFF;outline-offset:2px;box-shadow:0 0 0 2px #0050E3}
#sg-exit-offer .flow-offer-close:focus-visible{outline:2px solid #FBFCFF;outline-offset:0}
@media (hover:hover) and (pointer:fine){
 #sg-exit-offer .flow-offer-button:hover{background-color:#EAEFFD}
 #sg-exit-offer .flow-offer-close:hover{background-color:rgba(251,252,255,.14)}
}
#sg-exit-offer .flow-offer-button:active{translate:0 1px;background-color:#DCE4FB}
#sg-exit-offer .flow-offer-close:active{background-color:rgba(251,252,255,.22)}
@media (prefers-reduced-motion:reduce){
 #sg-exit-offer :is(.flow-offer-button,.flow-offer-close){transition:none}
 #sg-exit-offer .flow-offer-button:active{translate:none}
}
/* мобильная: окно во всю ширину с полями 16, кнопка 48, заголовок 22/25 */
@media (max-width:900px){
 #sg-exit-offer.flow-offer{padding:60px 16px 16px}
 #sg-exit-offer.flow-offer{container-type:inline-size}
 #sg-exit-offer .flow-offer-card{min-height:min(335px,86.56cqw)}
 #sg-exit-offer .flow-offer-card h2{font-size:22px;line-height:25px}
 #sg-exit-offer .flow-offer-card p{margin:8px 0 20px}
 #sg-exit-offer .flow-offer-button{height:48px;border-radius:10px}
 #sg-exit-offer .flow-offer-close{top:6px;right:6px;background-color:rgba(35,35,35,.4)}
}
@media (max-width:360px){#sg-exit-offer .flow-offer-card h2{font-size:20px;line-height:23px}}
