/* БЛОКРЕЙН — страница регистрации компании. Всё внутри .bkr-reg; форма WPUF перестилизована. */
body.bkr-reg-page .l-main section.l-section:has(.w-post-elm.post_title),
body.bkr-reg-page .l-main section.l-section:has(.g-breadcrumbs){display:none!important}
body.bkr-reg-page .l-main section.redister_set{padding-top:calc(var(--header-height,80px) + 24px)!important}

#bkr-reg{--r:#db3e33;--r-d:#b92f25;--r-s:#fdecea;--ink:#1f2330;--tx:#374151;--mu:#6b7280;--li:#e5e7eb;--li2:#eef0f3;--bg:#f6f7f9;--gr:#15803d;--gr-s:#e8f6ed;
  container-type:inline-size;container-name:reg;font-size:16px;line-height:1.55;color:var(--tx);text-align:left;max-width:1200px;margin:0 auto}
#bkr-reg *,#bkr-reg *::before,#bkr-reg *::after{box-sizing:border-box}
#bkr-reg h1,#bkr-reg h2,#bkr-reg h3{font-family:inherit;color:var(--ink);margin:0;padding:0;letter-spacing:-.01em;text-transform:none;line-height:1.2}
#bkr-reg p{margin:0 0 .6em;padding:0}
#bkr-reg a{color:var(--r);text-decoration:none}
#bkr-reg ul,#bkr-reg ol{list-style:none;margin:0;padding:0}
#bkr-reg li{margin:0;padding:0}
#bkr-reg li::before{content:none}

/* ---------- Сетка первого экрана ---------- */
.bkr-reg__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
.bkr-reg__card{order:1}
.bkr-reg__pitch{order:2}
@container reg (min-width:900px){
  .bkr-reg__grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:24px}
  #bkr-reg .bkr-reg__pitch{order:0;position:sticky;top:calc(var(--header-height,0px) + 20px)}
}

/* ---------- Левая панель ---------- */
.bkr-reg__pitch{position:relative;overflow:hidden;border-radius:24px;padding:28px 22px;color:#dfe2e8;
  background:radial-gradient(120% 120% at 100% 0%,#3a2126 0%,rgba(58,33,38,0) 55%),linear-gradient(140deg,#1b1f2a 0%,#262b39 100%)}
.bkr-reg__pitch::after{content:"";position:absolute;right:-100px;bottom:-140px;width:340px;height:340px;border-radius:50%;border:52px solid rgba(219,62,51,.13);pointer-events:none}
.bkr-reg__pitch>*{position:relative;z-index:1}
.bkr-reg__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#ffb4ad}
.bkr-reg__eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--r);box-shadow:0 0 0 4px rgba(219,62,51,.25)}
#bkr-reg .bkr-reg__h1{color:#fff;font-size:30px;font-weight:800;margin:12px 0 10px}
#bkr-reg .bkr-reg__h1 em{font-style:normal;color:#ff7a70}
#bkr-reg .bkr-reg__lede{color:#c3c7d2;font-size:16.5px;margin:0 0 20px}
.bkr-reg__perks{display:grid;gap:10px;margin-bottom:22px!important}
#bkr-reg .bkr-reg__perks li{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:start}
.bkr-reg__pi{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;color:#ff8d84;line-height:0}
#bkr-reg .bkr-reg__pi svg{display:block;width:22px;height:22px;margin:0}
.bkr-reg__perks b{display:block;color:#fff;font-size:15.5px}
.bkr-reg__perks span{display:block;font-size:14px;color:#aab0bd;line-height:1.45}

.bkr-reg__preview{margin-bottom:18px}
.bkr-reg__pvlabel{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#8f96a3;margin-bottom:8px}
.bkr-reg__pvcard{background:#fff;border-radius:16px;padding:14px;color:var(--tx);box-shadow:0 18px 40px -18px rgba(0,0,0,.6);display:grid;gap:10px;transition:transform .3s}
.bkr-reg__pitch:hover .bkr-reg__pvcard{transform:translateY(-2px)}
.bkr-reg__pvtop{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center}
.bkr-reg__pvlogo{width:48px;height:48px;border-radius:12px;background:var(--r-s);color:var(--r);display:grid;place-content:center;font-weight:900;font-size:20px;text-transform:uppercase}
.bkr-reg__pvtxt{min-width:0}
.bkr-reg__pvtxt b{display:block;color:var(--ink);font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bkr-reg__pvtxt>span{display:block;font-size:12.5px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bkr-reg__pvbadge{justify-self:start;font-size:11.5px;font-weight:700;border-radius:999px;padding:3px 9px;background:var(--r-s);color:var(--r-d)}
.bkr-reg__pvurl{font-size:12.5px;color:var(--mu);background:var(--bg);border-radius:8px;padding:6px 9px;word-break:break-all}
.bkr-reg__pvurl b{color:var(--gr)}
.bkr-reg__pvcard.is-pop{animation:bkrPop .35s ease}
@keyframes bkrPop{50%{transform:scale(1.02)}}

.bkr-reg__stats{display:flex;flex-wrap:wrap;gap:10px}
.bkr-reg__stats div{flex:1 1 140px;border-radius:14px;padding:12px 14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.bkr-reg__stats b{display:block;color:#fff;font-size:24px;font-weight:800;line-height:1.1}
.bkr-reg__stats span{font-size:13px;color:#aab0bd}

/* ---------- Карточка формы ---------- */
.bkr-reg__card{background:#fff;border:1px solid var(--li);border-radius:24px;padding:24px 18px 20px;box-shadow:0 1px 2px rgba(16,24,40,.05),0 16px 40px -20px rgba(16,24,40,.18)}
@container reg (min-width:520px){.bkr-reg__card{padding:30px 30px 24px}}
.bkr-reg__head h2{font-size:26px;font-weight:800}
.bkr-reg__head p{color:var(--mu);font-size:15px;margin:6px 0 14px}
.bkr-reg__prog{height:6px;border-radius:999px;background:var(--li2);overflow:hidden}
.bkr-reg__prog i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--r),#ff7a70);transition:width .35s ease}
.bkr-reg__progt{font-size:12.5px;color:var(--mu);margin-top:6px;font-weight:600}
.bkr-reg__progt.is-done{color:var(--gr)}

/* Группы полей (вставляются скриптом) */
#bkr-reg .bkr-reg__grp{display:flex!important;align-items:center;gap:10px;margin:22px 0 4px!important;padding:0!important;list-style:none!important;border:0!important;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
#bkr-reg .bkr-reg__grp:first-child{margin-top:14px!important}
#bkr-reg .bkr-reg__grp i{width:24px;height:24px;border-radius:50%;background:var(--ink);color:#fff;font-style:normal;font-size:12px;display:grid;place-content:center;letter-spacing:0;transition:background .2s}
#bkr-reg .bkr-reg__grp.is-done i{background:var(--gr)}
#bkr-reg .bkr-reg__grp::after{content:"";flex:1;height:1px;background:var(--li2)}

/* WPUF */
#bkr-reg .wpuf-form-add{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;max-width:none!important}
#bkr-reg ul.wpuf-form{display:grid;grid-template-columns:minmax(0,1fr);gap:0 14px;margin:0!important;padding:0!important}
@container reg (min-width:620px){
  #bkr-reg ul.wpuf-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  #bkr-reg ul.wpuf-form>li.display_name,#bkr-reg ul.wpuf-form>li.user_login,#bkr-reg ul.wpuf-form>li.city_field,
  #bkr-reg ul.wpuf-form>li.bkr-reg__grp,#bkr-reg ul.wpuf-form>li.wpuf-submit,#bkr-reg ul.wpuf-form>li.bkr-reg__strength{grid-column:1/-1}
}
#bkr-reg ul.wpuf-form>li{margin:0!important;padding:10px 0 0!important;border:0!important;background:none!important;list-style:none!important;width:auto!important;float:none!important;min-width:0}
#bkr-reg ul.wpuf-form>li::before,#bkr-reg ul.wpuf-form>li::after{display:none!important}
#bkr-reg .wpuf-label{float:none!important;width:auto!important;margin:0 0 5px!important;padding:0!important;text-align:left!important}
#bkr-reg .wpuf-label label{font-size:13.5px!important;font-weight:700!important;color:var(--ink)!important;margin:0!important;display:inline!important}
#bkr-reg .wpuf-label .required{color:var(--r)!important}
#bkr-reg .wpuf-field-icon{display:none!important}
#bkr-reg .wpuf-fields{float:none!important;width:auto!important;margin:0!important;padding:0!important;position:relative}
#bkr-reg .wpuf-fields input[type=text],#bkr-reg .wpuf-fields input[type=email],#bkr-reg .wpuf-fields input[type=password],#bkr-reg .wpuf-fields input[type=tel]{
  display:block!important;width:100%!important;max-width:none!important;height:48px!important;margin:0!important;padding:0 14px!important;border:1.5px solid #d9dce2!important;border-radius:12px!important;
  background:#fff!important;font:inherit!important;font-size:15.5px!important;color:var(--ink)!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s!important;line-height:normal!important}
#bkr-reg .wpuf-fields input::placeholder{color:#a3a9b3!important}
#bkr-reg .wpuf-fields input:focus{border-color:var(--r)!important;box-shadow:0 0 0 4px rgba(219,62,51,.12)!important;outline:0!important}
#bkr-reg li.is-ok .wpuf-fields input{border-color:#9fd3b0!important;background:#fbfefc!important}
#bkr-reg .wpuf-fields .iti{display:block!important;width:100%!important}
#bkr-reg .wpuf-fields .iti input{padding-left:52px!important}
#bkr-reg .wpuf-help{display:block!important;font-size:12.5px!important;color:var(--mu)!important;margin-top:5px!important;font-style:normal!important;line-height:1.4!important}
#bkr-reg .wpuf-help:empty,#bkr-reg .wpuf-wordlimit-message:empty{display:none!important}
#bkr-reg li.user_login .wpuf-fields>.wpuf-help:not(.wpuf-wordlimit-message){display:none!important}
.bkr-reg__url{margin-top:6px;font-size:13px;color:var(--mu);word-break:break-all}
.bkr-reg__url b{color:var(--gr);font-weight:700}
#bkr-reg .wpuf-fields-inline{position:relative;display:block!important}
#bkr-reg .wpuf-fields-inline input{padding-right:46px!important}
#bkr-reg img.wpuf-eye{position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;width:20px!important;height:20px!important;margin:0!important;opacity:.55;cursor:pointer}
#bkr-reg img.wpuf-eye:hover{opacity:1}
#bkr-reg .bkr-reg__strength .wpuf-label{display:none!important}
#bkr-reg .pass-strength-result{display:inline-flex!important;align-items:center;margin:2px 0 0!important;padding:4px 12px!important;border-radius:999px!important;border:0!important;font-size:12.5px!important;font-weight:700!important;width:auto!important;background:var(--li2)!important;color:var(--mu)!important;text-align:left!important}
#bkr-reg .pass-strength-result.short,#bkr-reg .pass-strength-result.bad{background:var(--r-s)!important;color:var(--r-d)!important}
#bkr-reg .pass-strength-result.good{background:#fff5e0!important;color:#a15c07!important}
#bkr-reg .pass-strength-result.strong{background:var(--gr-s)!important;color:var(--gr)!important}
#bkr-reg .wpuf-error,#bkr-reg .wpuf-errors,#bkr-reg .wpuf-error-msg{color:var(--r-d)!important;font-size:13px!important}
#bkr-reg li.wpuf-submit{padding-top:22px!important}
#bkr-reg li.wpuf-submit .wpuf-label{display:none!important}
#bkr-reg li.wpuf-submit input[type=submit]{display:block!important;width:100%!important;height:54px!important;margin:0!important;border:0!important;border-radius:999px!important;background:var(--r)!important;color:#fff!important;
  font:inherit!important;font-size:16.5px!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer;box-shadow:0 10px 24px -10px rgba(219,62,51,.7)!important;transition:background .15s,transform .15s!important}
#bkr-reg li.wpuf-submit input[type=submit]:hover{background:var(--r-d)!important;transform:translateY(-1px)}

.bkr-reg__after{margin-top:14px}
#bkr-reg .bkr-reg__legal{font-size:12.5px;color:var(--mu);text-align:center;margin:0 0 14px}
.bkr-reg__legal a{color:var(--mu)!important;text-decoration:underline!important}
.bkr-reg__alt{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding-top:14px;border-top:1px solid var(--li2);font-size:14.5px;color:var(--mu)}
.bkr-reg__alt a{font-weight:700}

/* ---------- Ниже ---------- */
.bkr-reg__next,.bkr-reg__faq{margin-top:28px}
.bkr-reg__sh{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:14px}
#bkr-reg .bkr-reg__sh h2,#bkr-reg .bkr-reg__faq h2{font-size:24px;font-weight:800}
.bkr-reg__sh a{font-weight:700}
.bkr-reg__steps{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;counter-reset:rs}
@container reg (min-width:760px){.bkr-reg__steps{grid-template-columns:repeat(4,minmax(0,1fr))}}
#bkr-reg .bkr-reg__steps li{counter-increment:rs;position:relative;background:#fff;border:1px solid var(--li);border-radius:16px;padding:16px 16px 16px 60px}
#bkr-reg .bkr-reg__steps li::before{content:counter(rs)!important;display:grid!important;place-content:center;position:absolute;left:16px;top:15px;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;font-weight:800;font-size:14px}
#bkr-reg .bkr-reg__steps li:last-child::before{background:var(--r)}
@container reg (min-width:760px){#bkr-reg .bkr-reg__steps li{padding:56px 16px 16px}#bkr-reg .bkr-reg__steps li::before{top:14px}}
.bkr-reg__steps b{display:block;color:var(--ink);font-size:15.5px;margin-bottom:3px}
.bkr-reg__steps span{font-size:14px;color:var(--tx);line-height:1.45}

.bkr-reg__help{margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;border-radius:20px;padding:18px 20px;background:var(--r-s);border:1px solid #f6cfca}
.bkr-reg__helpi{width:48px;height:48px;border-radius:14px;background:#fff;display:grid;place-content:center;font-size:24px;flex:none}
.bkr-reg__helpt{flex:1 1 260px;min-width:0}
.bkr-reg__helpt b{display:block;color:var(--ink);font-size:17px}
.bkr-reg__helpt span{font-size:14.5px;color:#6b3a36}
#bkr-reg .bkr-reg__btn{border:0;border-radius:999px;background:var(--r);color:#fff;font:inherit;font-weight:800;font-size:15px;padding:13px 22px;cursor:pointer;white-space:nowrap;margin:0;box-shadow:none;text-transform:none;min-height:0;line-height:1.2}
#bkr-reg .bkr-reg__btn:hover{background:var(--r-d)}

.bkr-reg__faql{display:grid;gap:8px;margin-top:14px}
@container reg (min-width:760px){.bkr-reg__faql{grid-template-columns:1fr 1fr;align-items:start}}
.bkr-reg__faq details{background:#fff;border:1px solid var(--li);border-radius:14px;overflow:hidden}
.bkr-reg__faq summary{list-style:none;cursor:pointer;padding:14px 48px 14px 16px;font-weight:700;color:var(--ink);position:relative;font-size:15.5px}
.bkr-reg__faq summary::-webkit-details-marker{display:none}
.bkr-reg__faq summary::after{content:"+";position:absolute;right:14px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:50%;background:var(--li2);display:grid;place-content:center;font-weight:800;color:var(--ink)}
.bkr-reg__faq details[open] summary::after{content:"−";background:var(--r);color:#fff}
.bkr-reg__faq details>div{padding:0 16px 16px;font-size:15px}

@container reg (min-width:900px){#bkr-reg .bkr-reg__h1{font-size:38px}.bkr-reg__pitch{padding:36px 32px}}
@media (prefers-reduced-motion:reduce){#bkr-reg *{animation:none!important;transition:none!important}}

/* 1.5.3: пустая строка WPUF после кнопки (li без класса с пустой меткой) */
#bkr-reg ul.wpuf-form>li.bkr-reg__empty{display:none!important}
#bkr-reg ul.wpuf-form>li:not([class]):not(:has(input,select,textarea,.pass-strength-result)){display:none!important}
