/**
 * CreationSpace FIDELITY-007b — footer polish (Owner visual corrections).
 *
 * Accent = exact legal-link / chat-button color:
 *   rgb(255, 136, 0)  (Положение / Согласие / cs-ask)
 *
 * Copyright grid align kept (Owner accepted).
 * Наверх: sit in the band between legal consent line and copyright;
 *   keep RIGHT side; do not vertically shift copyright row.
 */
:root {
  --cs-footer-accent: rgb(255, 136, 0);
}

/* --- Copyright: align with primary footer/content grid (KEEP) --- */
.t452 .t452__maincontainer {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  position: relative;
}

.t452 .t452__content {
  padding-top: 2px;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media screen and (max-width: 1200px) {
  .t452 .t452__maincontainer {
    max-width: 960px;
  }
}

@media screen and (max-width: 960px) {
  .t452 .t452__maincontainer {
    max-width: 640px;
  }
}

/* Allow Наверх to sit above the copyright row without being clipped */
.t452 {
  overflow: visible !important;
}

/* --- Accent: beat Tilda #rec… .t464__descr { color:#000 } inheritance --- */
#t-footer .t464__text a,
#t-footer .t464__text a[data-cs-public-email],
#t-footer .t464__descr a,
#t-footer .t464__descr li,
footer .t464__text a,
footer .t464__descr a,
footer .t464__descr li,
.t464__text a,
.t464__text a[data-cs-public-email],
.t464__descr a,
.t464__descr li,
/* header + any public email hooks */
a[data-cs-public-email],
.t770 a[data-cs-public-email],
.t770__descr a[href^="mailto:"] {
  color: rgb(255, 136, 0) !important;
}

/* Headings stay neutral (Меню / соц.сети) */
#t-footer .t464__title,
footer .t464__title,
.t464__title {
  color: #525252 !important;
}

/* --- Наверх: into band between legal line and copyright; RIGHT preserved --- */
@media screen and (min-width: 961px) {
  .t452 .t452__scroll {
    position: absolute;
    right: 20px;
    /* Sit just above the copyright row (= between t051 legal text and © line).
       Copyright row itself is not vertically shifted. */
    top: -28px;
    bottom: auto;
    width: auto;
    z-index: 4;
    text-align: right;
  }

  .t452 .t452__col:last-child {
    position: static;
    width: 250px; /* keep table geometry; scroll is out-of-flow */
  }
}

@media screen and (max-width: 960px) {
  .t452 .t452__scroll {
    position: static;
  }
}

/* --- Chat widget: force visible above footer chrome --- */
.cs-ask {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 2147483000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.cs-ask__btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 56px !important;
  height: 56px !important;
  background: rgb(255, 136, 0) !important;
}
