/* ArendaGrad: compact cookie notice, 2026-10-30 */
.t657 {position:fixed!important;inset:auto auto max(12px, env(safe-area-inset-bottom)) 12px!important;max-width:calc(100vw - 24px)!important;padding:0!important;text-align:left!important;}
.t657 .t657__wrapper {box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:12px!important;width:min(520px, calc(100vw - 24px))!important;max-width:none!important;padding:8px 12px!important;border-radius:8px!important;background:#fff!important;color:#222!important;box-shadow:0 3px 16px rgb(0 0 0 / 12%)!important;}
.t657 .t657__text {flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1.4!important;font-weight:400!important;text-align:left!important;overflow-wrap:break-word;}
.t657 .t657__text a {color:inherit!important;border:0!important;text-decoration:underline!important;text-underline-offset:3px;}
.t657 .t657__btn {box-sizing:border-box!important;flex:0 0 auto!important;width:auto!important;min-width:76px!important;min-height:44px!important;height:auto!important;margin:0!important;padding:0 12px!important;font-size:14px!important;line-height:1.2!important;white-space:nowrap!important;}
.t657 .t657__close-button {display:block!important;position:absolute!important;top:8px!important;right:12px!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important;}
.t657 .t657__close-button:focus-visible {opacity:1!important;pointer-events:auto!important;background:#fff!important;border-radius:6px;outline:2px solid #244ce9!important;outline-offset:3px;}
.t657 a:focus-visible,.t657 .t657__btn:focus-visible {outline:2px solid #244ce9!important;outline-offset:3px;}
@media(max-width:359px){.t657 .t657__wrapper{gap:8px!important;}}
/* End compact cookie notice */


/* ArendaGrad cookie flow start 2026-10-31 */
@supports selector(:has(*)) {
/* Компактный T657 в потоке страницы. Штатные текст и закрытие сохраняются. */
#allrecords:has(:is(#rec2404644871, #rec3617946301, #rec3617169701, #rec3683893601, #rec2243678961, #rec3756646201, #rec2243656501, #rec2243654851, #rec2428338521) > .t657:not(.t657_closed)) {
  display: flex !important;
  flex-direction: column !important;
}

/* Размещаем существующий record выше содержимого, не меняя DOM и черновики. */
#allrecords:has(:is(#rec2404644871, #rec3617946301, #rec3617169701, #rec3683893601, #rec2243678961, #rec3756646201, #rec2243656501, #rec2243654851, #rec2428338521) > .t657:not(.t657_closed)) > #t-footer {
  display: contents !important;
}

#allrecords:has(:is(#rec2404644871, #rec3617946301, #rec3617169701, #rec3683893601, #rec2243678961, #rec3756646201, #rec2243656501, #rec2243654851, #rec2428338521) > .t657:not(.t657_closed)) .r.t-rec:is(#rec2404644871, #rec3617946301, #rec3617169701, #rec3683893601, #rec2243678961, #rec3756646201, #rec2243656501, #rec2243654851, #rec2428338521):has(> .t657:not(.t657_closed)) {
  order: -1 !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
  padding: calc(var(--ag-cookie-header-space, 0px) + 8px) 12px 8px !important;
  margin: 0 !important;
}

#allrecords:has(#t-header .t228__positionfixed, #t-header .tmenu-mobile_positionfixed) { --ag-cookie-header-space: 60px; }
#allrecords[data-tilda-project-id="9613773"]:has(#t-header .t228__positionfixed, #t-header .tmenu-mobile_positionfixed),
#allrecords[data-tilda-project-id="25613026"]:has(#t-header .t228__positionfixed, #t-header .tmenu-mobile_positionfixed) { --ag-cookie-header-space: 50px; }

/* Нативная мобильная шапка фиксирована, ее проверенная высота меньше 80px. */
@media (max-width: 980px) {
  #allrecords[data-tilda-project-id]:has(#t-header .t228__positionfixed, #t-header .tmenu-mobile_positionfixed) { --ag-cookie-header-space: 80px; }
}

#allrecords .r.t-rec:is(#rec2404644871, #rec3617946301, #rec3617169701, #rec3683893601, #rec2243678961, #rec3756646201, #rec2243656501, #rec2243654851, #rec2428338521) > .t657:not(.t657_closed) {
  position: static !important;
  inset: auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#allrecords .t657 .t657__wrapper {
  position: relative !important;
  width: min(520px, 100%) !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Длинная прежняя кнопка политики Москвы также должна помещаться. */
#allrecords .t657 .t657__btn {
  max-width: 45% !important;
}

#allrecords .t657 .t657__btn,
#allrecords .t657 .t657__btn .t-btnflex__text {
  white-space: normal !important;
  overflow-wrap: break-word;
}

}

/* ArendaGrad cookie flow end */
