/* Cookie banner */
#cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;

  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 -6px 24px rgba(0,0,0,.08);

  font: 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
}

#cookie-banner .cookie-text{
  max-width: 980px;
}

#cookie-banner .cookie-text a{
  color: #0a66c2;
  text-decoration: underline;
}

#cookie-banner .cookie-btn{
  border: 0;
  padding: 10px 16px;
  border-radius: 8px;
  background: #e53935;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

#cookie-banner .cookie-btn:focus{
  outline: 3px solid rgba(229,57,53,.35);
  outline-offset: 2px;
}

@media (max-width: 640px){
  #cookie-banner{
    flex-direction: column;
    align-items: flex-start;
  }
  #cookie-banner .cookie-btn{
    width: 100%;
  }
  #cookie-banner .cookie-text{
    max-width: 100%;
  }
}


/* Russian system labels for T972; consent logic remains native. */
.t972__toggle-txt{font-size:0!important;}
.t972__toggle-txt::after{content:"Выключены";font-size:12px;line-height:1.3;}
.t972__category-toggle:has(.t972__toggle-input:checked) .t972__toggle-txt::after{content:"Включены";}
.t972__toggle-txt.js_always-enabled::after{content:"Всегда включены";}

/* Keep notices at the bottom and show them sequentially. */
#rec4383668403 .t972:not(.t972_widgetview){top:auto!important;bottom:16px!important;right:16px!important;left:auto!important;}
body:has(#rec4383668403 .t972:not(.t972_widgetview)) #rec4383553703{display:none!important;}
#rec4383553703 .t654{bottom:16px!important;}
@media(max-width:640px){#rec4383668403 .t972:not(.t972_widgetview){bottom:8px!important;left:8px!important;right:8px!important;}#rec4383553703 .t654{bottom:8px!important;}}

/* Compact fixed consultation banner */
#rec4383553703.dt-consult-open{display:block!important;position:fixed!important;left:50%!important;bottom:0!important;top:auto!important;transform:translateX(-50%)!important;width:min(900px,calc(100% - 32px))!important;height:auto!important;z-index:99990!important;}
#rec4383553703 .t654{position:relative!important;left:auto!important;right:auto!important;bottom:0!important;width:100%!important;height:auto!important;}
#rec4383553703 .t654__maincontainer{padding:12px 52px 12px 20px!important;}
#rec4383553703 .t654__container-flex{justify-content:center!important;gap:12px!important;}
#rec4383553703 .t654__text{font-size:16px!important;}
#rec4383553703 .t654__close-button{display:block!important;z-index:10!important;right:12px!important;top:10px!important;cursor:pointer!important;}
#rec4383553703 .t-btntext{padding:8px 15px!important;font-size:15px!important;}
@media(max-width:640px){#rec4383553703.dt-consult-open{width:100%!important;}#rec4383553703 .t654__maincontainer{padding:10px 38px 10px 12px!important;}#rec4383553703 .t654__text{font-size:14px!important;}}

/* Mobile already has the fixed Discuss task button. Hide duplicate consultation banner. */
@media(max-width:640px){#rec4383553703{display:none!important;}}

/* Mobile header refinement */
@media(max-width:640px){
#rec1536138323 .tmenu-mobile{min-height:76px!important;height:76px!important;background:#0b1011!important;}
#rec1536138323 .tmenu-mobile__container{height:76px!important;padding:8px 18px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;}
#rec1536138323 .tmenu-mobile__burgerlogo{height:60px!important;width:170px!important;display:flex!important;align-items:center!important;}
#rec1536138323 .tmenu-mobile__imglogo{width:150px!important;min-width:0!important;height:60px!important;object-fit:contain!important;object-position:left center!important;}
#rec1536138323 .t-menuburger{margin:0!important;width:30px!important;height:30px!important;}
#rec1536138323 .t-menuburger span{height:2px!important;}
}

/* Global mobile hero spacing */
@media(max-width:640px){#rec2207244643 .t-container{padding-top:22px!important;padding-bottom:28px!important;}#rec2207244643 .t-cover__wrapper{min-height:0!important;}#rec2207244643 h1{margin-top:10px!important;margin-bottom:18px!important;}#rec2207244643 .t-descr{margin-bottom:20px!important;}}

/* Mobile visible navigation */
@media(max-width:640px){
#rec1536138323 .tmenu-mobile__menucontent_hidden{display:block!important;position:absolute!important;top:64px!important;left:0!important;right:0!important;background:#0b1011!important;z-index:998!important;}
#rec1536138323 .t228__maincontainer{display:block!important;padding:4px 12px 8px!important;}
#rec1536138323 .t228__leftside,#rec1536138323 .t228__rightside{display:none!important;}
#rec1536138323 .t228__centerside{display:block!important;}
#rec1536138323 .t228__centercontainer{display:block!important;}
#rec1536138323 .t228__list{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:0!important;margin:0!important;padding:0!important;}
#rec1536138323 .t228__list_item{padding:0 8px!important;}
#rec1536138323 .t228__list_item:nth-child(5){display:none!important;}
#rec1536138323 .t-menu__link-item{display:block!important;padding:7px 0!important;color:#fff!important;font-size:13px!important;line-height:1.2!important;}
}
