/* wp-custom-css */



/* REDICO: телефон и почта в шапке, зоны нажатия контактов */
html body .rx-header .rx-header-in > .rx-header-contacts {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
html body .rx-header .rx-header-in > .rx-header-contacts > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px !important;
  white-space: nowrap;
}
.rx-hero-contacts > a:is([href^="tel:"], [href^="mailto:"]),
.rxhm-proof address > a:is([href^="tel:"], [href^="mailto:"]),
.rd-footer-contacts > a:is([href^="tel:"], [href^="mailto:"]),
.rx-foot-links > a:is([href^="tel:"], [href^="mailto:"]),
.rst-more-links > a:is([href^="tel:"], [href^="mailto:"]) {
  min-width: 48px;
  min-height: 48px;
}
.rx-hero-contacts, .rd-footer-contacts, .rx-foot-links, .rst-more-links {
  row-gap: 8px;
}
.rxhm-proof address > a:is([href^="tel:"], [href^="mailto:"]) {
  margin-block-end: 8px;
}
@media (max-width: 767px) {
  html body .rx-header .rx-header-in > .rx-header-contacts {
    position: static !important;
    flex: 0 0 100%;
    width: 100%;
    order: 3;
  }
  html body .rx-header .rx-header-in > .rx-header-contacts > a:is([href^="tel:"], [href^="mailto:"]) {
    width: auto;
    padding: 0;
    border: 0;
    font-size: 13px !important;
    line-height: 1.25;
  }
  html body .rx-header .rx-header-in > .rx-header-contacts > a[href^="tel:"]::before {
    content: none;
  }
}

/* Энциклопедия: выравнивание подписей и кнопки «Поделиться». */
.rx-enc-hero-with-meta .rx-enc-meta {
  align-items: center;
}

/* REDICO quote dialog: product testing and Telegram. */
@layer redicoReadability {
body #rx-modal#rx-modal#rx-modal .rx-modal::before {
  content: none !important;
  display: none !important;
}

body #rx-modal#rx-modal#rx-modal .rx-modal-l > .rd-modal-telegram {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 10px;
  margin: 18px 0 0 !important;
  padding: 16px !important;
  min-width: 0;
  border: 0 !important;
  border-radius: 16px;
  background: #25272c !important;
}

body #rx-modal#rx-modal#rx-modal .rd-modal-telegram::before {
  content: "";
  display: block;
  width: 100%;
  height: 124px;
  border-radius: 10px;
  background: #1c1e23 url("https://redico.ru/wp-content/plugins/redico-audit-fixes/assets/product-testing.webp") 76% center / cover no-repeat;
}

body #rx-modal#rx-modal#rx-modal .rd-modal-telegram > .rd-tg-copy {
  display: block !important;
  margin: 0;
  color: #dcd9d5;
  font-size: 14px;
  line-height: 1.45;
}

body #rx-modal#rx-modal#rx-modal .rd-modal-telegram > .rd-tg-link {
  align-self: stretch;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  width: 100% !important;
  gap: 8px;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--rdx-ui-red, #ae222d) !important;
  color: #fff !important;
  text-decoration: none !important;
}

body #rx-modal#rx-modal#rx-modal .rd-tg-link:hover {
  background: var(--rdx-ui-red-hover, #941d26) !important;
}
body #rx-modal#rx-modal#rx-modal .rd-tg-link::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: currentColor;
  clip-path: polygon(0 42%, 100% 0, 78% 98%, 51% 73%, 35% 87%, 37% 60%, 80% 22%, 29% 53%);
}
body #rx-modal#rx-modal#rx-modal .rd-tg-link > span {
  display: none !important;
}

@media (min-width: 820px) {
  body #rx-modal#rx-modal#rx-modal .rx-modal {
    display: grid !important;
    width: min(940px, calc(100vw - 48px)) !important;
    max-width: none !important;
    grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.35fr) !important;
    grid-template-rows: auto auto 1fr;
    column-gap: 24px !important;
  }

  body #rx-modal#rx-modal#rx-modal .rx-modal-l > h3 { grid-area: 1 / 2; }
  body #rx-modal#rx-modal#rx-modal .rx-modal-l > p { grid-area: 2 / 2; }
  body #rx-modal#rx-modal#rx-modal .rx-modal-r { grid-area: 3 / 2; min-width: 0; }

  body #rx-modal#rx-modal#rx-modal .rx-modal-l > .rd-modal-telegram {
    grid-area: 1 / 1 / 4 / 2;
    align-self: stretch !important;
    margin: 0 !important;
  }

  body #rx-modal#rx-modal#rx-modal .rd-modal-telegram::before { height: auto !important; flex: 1 1 0; min-height: 245px; }
}

}
/* REDICO: unified site grid, 2026-11-05. Previous Additional CSS was empty. */
@layer redicoBento {
html[data-rx-bento] body[class][class][class][class][class][class][class][class] { --redico-grid-width:1280px; --redico-grid-gutter:24px; }
@media(max-width:768px){ html[data-rx-bento] body[class][class][class][class][class][class][class][class] { --redico-grid-gutter:16px; } }
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] main > section:not(.rx-full-hero),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] #home-content > :is(section,.rr-lower-grid,.rr-quick-grid,details),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rx-header .rx-header-in,
html[data-rx-bento] body[class][class][class][class][class][class][class][class] footer#request > .rx-wrap {
box-sizing:border-box!important; width:min(calc(100% - var(--redico-grid-gutter)*2),var(--redico-grid-width))!important;
max-width:var(--redico-grid-width)!important; margin-left:auto!important; margin-right:auto!important; padding-left:0!important; padding-right:0!important; min-width:0!important;
}
/* A nested layout container inherits the available width, with no second gutter. */
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey) :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] main > section :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] #home-content > :is(section,.rr-lower-grid,.rr-quick-grid,details) :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rx-enc > .rx-enc-wrap > :not(.rx-enc-hero),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] > .rx-wrap:has(> .rx-prod-hero #rxh) > :not(.rx-prod-hero) {
width:100%!important; max-width:100%!important; margin-left:0!important; margin-right:0!important; padding-left:0!important; padding-right:0!important;
}
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rx-enc-wrap :is(.rx-full-hero-inner,.rx-hero-crumb-slot),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rxh-uni-host :is(.rx-full-hero-inner,.rxh-uni-grid,.rx-hero-crumb-slot),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] #home-content #rxh .rxhm-hero-inner {
width:100%!important; max-width:100%!important; margin-left:0!important; margin-right:0!important; padding-left:0!important; padding-right:0!important;
}
}
/* REDICO: unified site grid, 2026-11-05. Previous Additional CSS was empty. */
@layer redicoBento {
html[data-rx-bento] body[class][class][class][class][class][class][class][class] { --redico-grid-width:1280px; --redico-grid-gutter:24px; }
@media(max-width:768px){ html[data-rx-bento] body[class][class][class][class][class][class][class][class] { --redico-grid-gutter:16px; } }
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] main > section:not(.rx-full-hero),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] #home-content > :is(section,.rr-lower-grid,.rr-quick-grid,details),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rx-header .rx-header-in,
html[data-rx-bento] body[class][class][class][class][class][class][class][class] footer#request > .rx-wrap {
box-sizing:border-box!important; width:min(calc(100% - var(--redico-grid-gutter)*2),var(--redico-grid-width))!important;
max-width:var(--redico-grid-width)!important; margin-left:auto!important; margin-right:auto!important; padding-left:0!important; padding-right:0!important; min-width:0!important;
}
/* A nested layout container inherits the available width, with no second gutter. */
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey) :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] main > section :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] #home-content > :is(section,.rr-lower-grid,.rr-quick-grid,details) :is(.rx-wrap,.rx-container,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap,.rxh-uni-host,.rx-ux-journey),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rx-enc > .rx-enc-wrap > :not(.rx-enc-hero),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] > .rx-wrap:has(> .rx-prod-hero #rxh) > :not(.rx-prod-hero) {
width:100%!important; max-width:100%!important; margin-left:0!important; margin-right:0!important; padding-left:0!important; padding-right:0!important;
}
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rx-enc-wrap :is(.rx-full-hero-inner,.rx-hero-crumb-slot),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rxh-uni-host :is(.rx-full-hero-inner,.rxh-uni-grid,.rx-hero-crumb-slot),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] #home-content #rxh .rxhm-hero-inner {
width:100%!important; max-width:100%!important; margin-left:0!important; margin-right:0!important; padding-left:0!important; padding-right:0!important;
}
}

@layer redicoBento {
html[data-rx-bento] body[class][class][class][class][class][class][class][class] .rx-enc-main > :is(.rx-enc-body,.rx-enc-toc,section),
html[data-rx-bento] body[class][class][class][class][class][class][class][class] main.rx-wrap > section { width:100%!important; max-width:100%!important; margin-left:0!important; margin-right:0!important; }
}

/* REDICO: red text links throughout the site, 2026-11-05 */
@layer redicoUsability {
html[data-rx-bento] body[class][class][class][class][class][class][class][class] { --redico-text-link:#b9231b; --redico-text-link-hover:#941c16; }
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class] { --redico-text-link:#ff8f85; --redico-text-link-hover:#ffb4ac; }
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(.rx-foot-cta,.rx-page-enquiry,#accreditation,#telegram,.rr-final-request,#rx-enc-lead-dialog,.rx-modal-r) { --redico-text-link:#ff8f85; --redico-text-link-hover:#ffb4ac; }
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(#home-content,#article-content,main,article,section,footer,form,.rd-form-shell,.rx-wrap,.rx-prose) a[href]:not(:where(.rx-header *,#wpadminbar *,[role="button"],[class*="btn"],[class*="button"],.custom-logo-link,.rx-logo,.rx-hdr-cta)):not(:has(h2,h3,p,img,picture)) { color:var(--redico-text-link)!important; text-decoration-line:underline!important; text-decoration-color:currentColor!important; text-underline-offset:.18em; text-decoration-thickness:1px; }
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(#home-content,#article-content,main,article,section,footer,form,.rd-form-shell,.rx-wrap,.rx-prose) a[href]:not(:where(.rx-header *,#wpadminbar *,[role="button"],[class*="btn"],[class*="button"],.custom-logo-link,.rx-logo,.rx-hdr-cta)):not(:has(h2,h3,p,img,picture)) :is(span,strong,b,em,i) { color:inherit!important; }
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(#home-content,#article-content,main,article,section,footer,form,.rd-form-shell,.rx-wrap,.rx-prose) a[href]:not(:where(.rx-header *,#wpadminbar *,[role="button"],[class*="btn"],[class*="button"],.custom-logo-link,.rx-logo,.rx-hdr-cta)):not(:has(h2,h3,p,img,picture)):hover { color:var(--redico-text-link-hover)!important; text-decoration-thickness:2px!important; }
html[data-rx-bento] body[class][class][class][class][class][class][class][class] :is(#home-content,#article-content,main,article,section,footer,form,.rd-form-shell,.rx-wrap,.rx-prose) a[href]:not(:where(.rx-header *,#wpadminbar *,[role="button"],[class*="btn"],[class*="button"],.custom-logo-link,.rx-logo,.rx-hdr-cta)):not(:has(h2,h3,p,img,picture)):focus-visible { outline:2px solid currentColor!important; outline-offset:3px!important; border-radius:2px; }
}








/* REDICO: hide the floating quote button on mobile, 2026-11-05. */
@layer redicoBento {
  @media (max-width: 768px) {
    html[data-rx-reference="1"] body .rr-mobile-cta {
      display: none !important;
    }
  }
}

/* Страница ССС: контраст кнопок и карточек-ссылок */
@layer redicoReadability {
body.redico-page-sertifikaciya-sss {
  --sss-link-bg: #ffffff;
  --sss-link-hover: #f3f5f7;
  --sss-link-text: #1c1e23;
  --sss-link-border: #766f78;
  --sss-link-accent: #a52118;
}
html[data-rx-theme="dark"] body.redico-page-sertifikaciya-sss {
  --sss-link-bg: #25272c;
  --sss-link-hover: #25272c;
  --sss-link-text: #f7f9fc;
  --sss-link-border: #766f78;
  --sss-link-accent: #ff9b91;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) a.rx-design-cta,
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) a[download=""][style*="background:#DA291C"] {
  background: var(--rdx-ui-red, #ae222d) !important;
  color: #fff !important;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) a.rx-design-cta:is(:hover, :focus-visible, :active),
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) a[download=""][style*="background:#DA291C"]:is(:hover, :focus-visible, :active) {
  background: var(--rdx-ui-red-hover, #941d26) !important;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) a[download=""][style*="background:#DA291C"] span {
  color: inherit !important;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) a[href*="/reestr-tnved/"][style*="inline-flex"],
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) a[download=""][style*="background:#14171C"],
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) .rx-ux-secondary a[download],
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) .rx-cards > :is(a,article) {
  background: var(--sss-link-bg) !important;
  border-color: var(--sss-link-border) !important;
  color: var(--sss-link-text) !important;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) :is(a[href*="/reestr-tnved/"][style*="inline-flex"], a[download=""][style*="background:#14171C"], .rx-ux-secondary a[download], .rx-cards > :is(a,article)):is(:hover, :focus-visible, :active) {
  background: var(--sss-link-hover) !important;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) :is(a[download=""][style*="background:#14171C"], .rx-ux-secondary a[download], .rx-cards > :is(a,article)) span {
  color: var(--sss-link-text) !important;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) :is(.rx-cards > :is(a,article) > span:first-child, .rx-cards > :is(a,article) > span > span, a[download=""][style*="background:#14171C"] span) {
  color: var(--sss-link-accent) !important;
}
body.redico-page-sertifikaciya-sss :is(#redico-sss-actions, main) :is(a.rx-design-cta, a[href*="/reestr-tnved/"][style*="inline-flex"], a[download], .rx-cards > :is(a,article)):focus-visible {
  outline: 2px solid var(--sss-link-accent);
  outline-offset: 3px;
}
}

/* REDICO: меню и контакты в шапке */
[data-rst-header-nav] > details.rst-more-nav[data-rst-more-nav] {
  display: none !important;
}
.rx-header-in .rx-header-contacts > a {
  font-size: 15px !important;
}


/* Главная: выравнивание кнопок в блоке «С чем вы пришли?» */
.rx-offers .rx-offer-grid > .rx-offer-card {
  grid-template-rows: auto auto minmax(auto, 1fr);
}
.rx-offers .rx-offer-grid > .rx-offer-card:has(> .rx-offer-note) {
  grid-template-rows: auto auto auto minmax(auto, 1fr);
}
.rx-offers .rx-offer-grid > .rx-offer-card > .rx-scn-btn {
  grid-row: -2 / -1;
  align-self: end;
}

/* REDICO: порядок контактов и цвет переключателя темы */
html body .rx-header .rx-header-in > .rx-header-contacts {
  flex-direction: row-reverse;
  justify-content: flex-start;
  reading-flow: flex-visual;
}
@layer redicoBento {
  html[data-rx-bento][data-rx-reference="1"] body .rx-header #rr-theme-lamp,
  html[data-rx-bento][data-rx-reference="1"] body .rx-header #rr-theme-lamp > #rb-theme-toggle {
    width: 64px !important;
    min-width: 64px !important;
    flex-basis: 64px !important;
  }
  html[data-rx-bento][data-rx-reference="1"] body .rx-header #rr-theme-lamp > #rb-theme-toggle::before {
    background: #fff0dc !important;
    border-color: #e5aa59 !important;
  }
  html[data-rx-bento][data-rx-reference="1"] body .rx-header #rr-theme-lamp > #rb-theme-toggle::after {
    width: 28px !important;
  }
  html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] body .rx-header #rr-theme-lamp > #rb-theme-toggle::before {
    background: #25272c !important;
    border-color: #f8777a !important;
  }
  html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] body .rx-header #rr-theme-lamp > #rb-theme-toggle::after {
    transform: translateX(30px) !important;
    background: #39252b !important;
  }
  html[data-rx-bento][data-rx-reference="1"] body .rx-header #rb-theme-toggle .rb-theme-sun {
    color: #a84b00 !important;
  }
  html[data-rx-bento][data-rx-reference="1"] body .rx-header #rb-theme-toggle .rb-theme-moon {
    color: #9d2831 !important;
  }
  html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] body .rx-header #rb-theme-toggle .rb-theme-sun {
    color: #ffcd80 !important;
  }
  html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] body .rx-header #rb-theme-toggle .rb-theme-moon {
    color: #f6f4ef !important;
  }
}
@media (max-width: 767px) {
  html body .rx-header .rx-header-in > :first-child {
    min-width: 0;
    flex-shrink: 1;
  }
}


/* REDICO readability and browser autofill repair — 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento] body[class][class][class] {
 --rx-readable-field-bg:#ffffff; --rx-readable-field-text:#1c1e23;
 --rx-readable-placeholder:#59565d; --rx-readable-border:#766f78;
 --rx-readable-muted:#59565d; --rx-readable-accent:#b9231b;
}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class] {
 --rx-readable-field-bg:#25272c; --rx-readable-field-text:#f6f4ef;
 --rx-readable-placeholder:#b7b7bc; --rx-readable-border:#766f78;
 --rx-readable-muted:#b7b7bc; --rx-readable-accent:#ffb0a6;
}
html[data-rx-bento] body[class][class][class] :is(.rx-modal,.rx-foot-cta,.rx-page-enquiry,.rx-lead-card) {
 --rx-readable-field-bg:#25272c; --rx-readable-field-text:#f6f4ef;
 --rx-readable-placeholder:#b7b7bc; --rx-readable-border:#766f78;
}
html[data-rx-bento] body[class][class][class] :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="reset"]),textarea,select):not(#adminbar-search) {
 background-color:var(--rx-readable-field-bg)!important;
 color:var(--rx-readable-field-text)!important;
 -webkit-text-fill-color:var(--rx-readable-field-text)!important;
 caret-color:var(--rx-readable-field-text)!important;
 border-color:var(--rx-readable-border)!important;
 opacity:1!important;
}
html[data-rx-bento] body[class][class][class] :is(input,textarea)::placeholder {
 color:var(--rx-readable-placeholder)!important;
 -webkit-text-fill-color:var(--rx-readable-placeholder)!important;
 opacity:1!important;
}
html[data-rx-bento] body[class][class][class] :is(input,textarea,select):is(:autofill,:-webkit-autofill) {
 -webkit-box-shadow:0 0 0 1000px var(--rx-readable-field-bg) inset!important;
 box-shadow:0 0 0 1000px var(--rx-readable-field-bg) inset!important;
 -webkit-text-fill-color:var(--rx-readable-field-text)!important;
 caret-color:var(--rx-readable-field-text)!important;
}
html[data-rx-bento] body[class][class][class] :is(input,textarea,select):focus-visible {
 outline:2px solid var(--rx-readable-accent)!important; outline-offset:3px!important;
}
html[data-rx-bento] body[class][class][class] select option {
 background:var(--rx-readable-field-bg)!important;color:var(--rx-readable-field-text)!important;
}
html[data-rx-bento] body[class][class][class] input::file-selector-button {
 background:#25272c!important;color:#fff!important;border:1px solid #766f78!important;
}
html[data-rx-bento] body[class][class][class] :is(.rx-design-cta,.rst-action,.rx-modal-btn,.rx-foot-btn) {
 background:var(--rdx-ui-red, #ae222d)!important;color:#fff!important;
}
html[data-rx-bento] body[class][class][class] :is(.rx-design-cta,.rst-action,.rx-modal-btn,.rx-foot-btn):is(:hover,:focus-visible) {
 background:var(--rdx-ui-red-hover, #941d26)!important;color:#fff!important;
}
html[data-rx-bento] body[class][class][class] :is(.rx-design-cta,.rst-action,.rx-modal-btn,.rx-foot-btn) :is(span,strong,b) {color:inherit!important}
html[data-rx-bento] body[class][class][class] .rx-cta {background:#1c1e23!important;color:#f6f4ef!important}
html[data-rx-bento] body[class][class][class] .rx-cta :is(h2,h3,p) {color:#f6f4ef!important}
html[data-rx-bento] body[class][class][class] :is(.rx-breadcrumb,nav[aria-label="Хлебные крошки"]) span {color:var(--rx-readable-muted)!important}
html[data-rx-bento] body[class][class][class] .rx-eyebrow span {color:var(--rx-readable-accent)!important}
html[data-rx-bento] body[class][class][class] .rx-enc-ghead>span {color:var(--rx-readable-muted)!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class] :is(.rxhm-files>a,.rx-pag>a) {
 background:#1c1e23!important;border-color:#303238!important;color:#f6f4ef!important;
}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class] :is(.rxhm-files>a,.rx-pag>a):hover {background:#25272c!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class] .rx-dash-bn {color:#f6f4ef!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class] .hm-case-facts span {color:#b7b7bc!important}
html[data-rx-bento] body[class][class][class] .rsc-price-summary p {color:#fff!important}
html[data-rx-bento] body[class][class][class] :is(.wpcf7-not-valid-tip,.wpforms-error,.rd-field-error) {color:#a61f16!important;background:#fff1ef!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class] :is(.wpcf7-not-valid-tip,.wpforms-error,.rd-field-error) {color:#ffb4ac!important;background:#3c2027!important}
}
/* End REDICO readability repair 2026-11-06 */


/* REDICO legacy page palettes — audited 147 pages, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) :is([style*="background:#fff" i],
[style*="background: #fff" i],
[style*="background:#fafbfc" i],
[style*="background: #fafbfc" i],
[style*="background:#f6f7f9" i],
[style*="background: #f6f7f9" i],
[style*="background:#f3f5f7" i],
[style*="background: #f3f5f7" i],
[style*="background:#fbf7f1" i],
[style*="background: #fbf7f1" i],
[style*="background:#fbecea" i],
[style*="background: #fbecea" i],
[style*="background:#eaf3ec" i],
[style*="background: #eaf3ec" i],
[style*="background:#f3f4f6" i],
[style*="background: #f3f4f6" i],
[style*="background:#f2f3f5" i],
[style*="background: #f2f3f5" i],
[style*="background:#f8f9fa" i],
[style*="background: #f8f9fa" i],[style*="background-color:#fff" i],
[style*="background-color: #fff" i],
[style*="background-color:#fafbfc" i],
[style*="background-color: #fafbfc" i],
[style*="background-color:#f6f7f9" i],
[style*="background-color: #f6f7f9" i],
[style*="background-color:#f3f5f7" i],
[style*="background-color: #f3f5f7" i],
[style*="background-color:#fbf7f1" i],
[style*="background-color: #fbf7f1" i],
[style*="background-color:#fbecea" i],
[style*="background-color: #fbecea" i],
[style*="background-color:#eaf3ec" i],
[style*="background-color: #eaf3ec" i],
[style*="background-color:#f3f4f6" i],
[style*="background-color: #f3f4f6" i],
[style*="background-color:#f2f3f5" i],
[style*="background-color: #f2f3f5" i],
[style*="background-color:#f8f9fa" i],
[style*="background-color: #f8f9fa" i]) {
 background-color:#1c1e23!important;border-color:#303238!important;
}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) :is(.rx-note,.rx-lnk,.rxgr-card,.rxgr-faq-item,.rxgr-contact,.sv-card,.rx-ux-legacy-form,.rx-dash-tile,.rx-dash-card,.sgrx-category,.rxv-link) {
 background-color:#1c1e23!important;border-color:#303238!important;color:#dcd9d5!important;
}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) :is([style*="color:#14171c" i],
[style*="color: #14171c" i],
[style*="color:#5a626e" i],
[style*="color: #5a626e" i],
[style*="color:#9aa1ac" i],
[style*="color: #9aa1ac" i],
[style*="color:#454c57" i],
[style*="color: #454c57" i],
[style*="color:#1a1d23" i],
[style*="color: #1a1d23" i],
[style*="color:#8b919b" i],
[style*="color: #8b919b" i],
[style*="color:#6a7280" i],
[style*="color: #6a7280" i],
[style*="color:#6b7280" i],
[style*="color: #6b7280" i],
[style*="color:#5a5040" i],
[style*="color: #5a5040" i],
[style*="color:#3a414b" i],
[style*="color: #3a414b" i],
[style*="color:#3a342a" i],
[style*="color: #3a342a" i],
[style*="color:#3a4049" i],
[style*="color: #3a4049" i]) {color:#dcd9d5!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) :is([style*="color:#da291c" i],
[style*="color: #da291c" i],
[style*="color:#8a2c22" i],
[style*="color: #8a2c22" i],
[style*="color:#7a2a22" i],
[style*="color: #7a2a22" i],
[style*="color:#7a3b36" i],
[style*="color: #7a3b36" i],
[style*="color:#b4791c" i],
[style*="color: #b4791c" i],.sv-eyebrow,.rxgr-kicker) {color:#ffb0a6!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) :is([style*="color:#15803d" i],
[style*="color: #15803d" i],
[style*="color:#1e9e5a" i],
[style*="color: #1e9e5a" i],
[style*="color:#1f8a4c" i],
[style*="color: #1f8a4c" i],
[style*="color:#3f6b4e" i],
[style*="color: #3f6b4e" i]) {color:#9bddb2!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) :is(.sv-nav a,.sv-price,.rxgr-nav a,.rxpi-nav a,.rx-enc-tcard em) {color:#f6f4ef!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) table {background:#1c1e23!important;color:#dcd9d5!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) :is(table th,table td) {background:#1c1e23!important;color:#dcd9d5!important;border-color:#303238!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class] :is(main,.rx-enc) thead th {background:#25272c!important;color:#f6f4ef!important}
html[data-rx-bento]:not([data-rx-theme="dark"]) body[class][class][class][class] main :is([style*="color:#9aa1ac" i],
[style*="color: #9aa1ac" i],
[style*="color:#8b919b" i],
[style*="color: #8b919b" i],
[style*="color:#6a7280" i],
[style*="color: #6a7280" i]) {color:#59565d!important}
html[data-rx-bento]:not([data-rx-theme="dark"]) body[class][class][class][class] main :is([style*="color:#da291c" i],
[style*="color: #da291c" i],.sgrx-kicker) {color:#b9231b!important}
}
/* End REDICO legacy page palettes */


/* REDICO remaining legacy components, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is([style*="background:#f0f1f2" i],[style*="background: #f0f1f2" i],[style*="background:#fbf1f0" i],[style*="background: #fbf1f0" i],[style*="background:#eef0f3" i],[style*="background: #eef0f3" i],[style*="background:#f7f8fa" i],[style*="background: #f7f8fa" i],[style*="background:#fef3f1" i],[style*="background: #fef3f1" i],[style*="background:#f4f6f9" i],[style*="background: #f4f6f9" i],[style*="background:#fdf4f3" i],[style*="background: #fdf4f3" i],[style*="background:#eef8f1" i],[style*="background: #eef8f1" i],[style*="background:#fcf6e3" i],[style*="background: #fcf6e3" i],[style*="background:#f0fbf4" i],[style*="background: #f0fbf4" i],[style*="background-color:#f0f1f2" i],[style*="background-color: #f0f1f2" i],[style*="background-color:#fbf1f0" i],[style*="background-color: #fbf1f0" i],[style*="background-color:#eef0f3" i],[style*="background-color: #eef0f3" i],[style*="background-color:#f7f8fa" i],[style*="background-color: #f7f8fa" i],[style*="background-color:#fef3f1" i],[style*="background-color: #fef3f1" i],[style*="background-color:#f4f6f9" i],[style*="background-color: #f4f6f9" i],[style*="background-color:#fdf4f3" i],[style*="background-color: #fdf4f3" i],[style*="background-color:#eef8f1" i],[style*="background-color: #eef8f1" i],[style*="background-color:#fcf6e3" i],[style*="background-color: #fcf6e3" i],[style*="background-color:#f0fbf4" i],[style*="background-color: #f0fbf4" i],[style*="background:rgba(255,255,255" i],[style*="background: rgba(255,255,255" i],.rxpi-contact,.rxpi-card,.sgrx-stage,.rx-btn-ghost) {
 background-color:#1c1e23!important;border-color:#303238!important;
}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(main.rx-service,.sv-nav,.rxgr-nav,.rxpi-nav,.rxgr-hero-actions,.rxgr-quick,.rxgr-contact address,.rx-dash-l,.rx-dash-bv,.rx-dash-tl span) {color:#dcd9d5!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is(.sv-nav a,.rxgr-nav a,.rxpi-nav a,.rxgr-secondary,.rxgr-contact address a) {color:#dcd9d5!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is([style*="color:#596473" i],[style*="color: #596473" i]) {color:#b7b7bc!important}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is([style*="color:#b92218" i],[style*="color: #b92218" i],[style*="color:#b0524c" i],[style*="color: #b0524c" i],.rx-dash-k,.sv-num,.sgrx-category>span) {color:#ffb0a6!important}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is(a.sgrx-cta,a.p4-cta) {background:var(--rdx-ui-red, #ae222d)!important;color:#fff!important}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rxop-price.is-main {background:var(--rdx-ui-red, #ae222d)!important;color:#fff!important}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rxop-price.is-main .rxop-term {color:#fff!important}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is([style*="background:#1e9e5a" i],[style*="background: #1e9e5a" i]) {background-color:#14783f!important;color:#fff!important}
}


/* REDICO light mode and permanent dark surfaces, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.hm-marquee-set,.rpm-rail),
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.hm-marquee-set,.rpm-rail) a {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .hm-case {background-color:#1c1e23!important;color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .hm-case :is(h3,dt,dd,summary,.hm-case-stat,.hm-case-stat span,.hm-case-tag,.hm-case-origin) {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .hm-case :is(.hm-case-details,.hm-case-facts) {background-color:#25272c!important;color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .hm-case :is(.hm-case-details,.hm-case-facts) :is(p,span,summary,dt,dd) {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] main a:is([style*="background:#DA291C" i],[style*="background: #DA291C" i]),
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .edu-button:not(.secondary) {background-color:var(--rdx-ui-red, #ae222d)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] main a:is([style*="background:#DA291C" i],[style*="background: #DA291C" i]) * {color:#fff!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.sv-dark,.rx-local-map,[style*="background:#101216" i],[style*="background: #101216" i]) :is(h2,h3) {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.rx-page-enquiry,.rx-modal,.rx-foot-cta,.rx-lead-card,#rxop) :is(.rd-field__label,.rd-consent-copy,.rd-consent-copy span,.rd-consent-copy a) {color:#dcd9d5!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] #rxop {
 background-color:#1c1e23!important;color:#f6f4ef!important;
 --rx-readable-field-bg:#25272c; --rx-readable-field-text:#f6f4ef;
 --rx-readable-placeholder:#b7b7bc; --rx-readable-border:#766f78;
}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] #rxop :is(.rxop-price:not(.is-main),.rxhm-reply label) {background-color:#25272c!important;color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] #rxop :is(.rxop-title,.rxop-lead,.rxhm-label,.rxhm-opt,.rxhm-label small,.rxhm-reply legend) {color:#dcd9d5!important;}
html[data-rx-bento][data-rx-theme="light"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is([style*="color:#FF8C7E" i],[style*="color: #FF8C7E" i],.rxgr-kicker) {color:#b9231b!important;}
html[data-rx-bento][data-rx-theme="light"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is(.rxgr-hero-lead,.rxgr-note) {color:#59565d!important;}
html[data-rx-bento][data-rx-theme="light"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is([style*="color:#B4894D" i],[style*="color: #B4894D" i],[style*="color:#B4791C" i],[style*="color: #B4791C" i]) {color:#7a511c!important;}
html[data-rx-bento][data-rx-theme="light"] body[class][class][class][class][class][class][class][class][class][class][class][class] main :is([style*="color:#15803D" i],[style*="color: #15803D" i],[style*="color:#1E9E5A" i],[style*="color: #1E9E5A" i],[style*="color:#1F8A4C" i],[style*="color: #1F8A4C" i]) {color:#116b37!important;}
}


/* REDICO readability verification refinements, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rpm-rail {background-color:var(--rx-readable-field-bg)!important;color:var(--rx-readable-field-text)!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rpm-rail a {color:var(--rx-readable-field-text)!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .hm-case-facts :is(strong,b) {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(#rxop,.rx-page-enquiry,.rx-modal,.rx-foot-cta,.rx-lead-card) .rx-audit-note {color:#b7b7bc!important;}
html[data-rx-bento][data-rx-theme="light"] body[class][class][class][class][class][class][class][class][class][class][class][class]:not(.redico-page-deklaraciya) main :is([style*="color:#FF8C7E" i],[style*="color: #FF8C7E" i]) {color:#ff8c7e!important;}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.rxpi-card a,.rxpi-contact address,.rxpi-contact address a) {color:#dcd9d5!important;}
}


/* REDICO final dark-surface corrections, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-btn-ghost {color:#f6f4ef!important;}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] .sgrx-stage-num {color:#ffb0a6!important;}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.sgrx-table-wrap,.sgrx-table-wrap table,.sgrx-table-wrap caption,.sgrx-prep,.sgrx-prep>div) {background-color:#1c1e23!important;color:#dcd9d5!important;}
}


/* REDICO encyclopedia, metrology and classifier templates, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.rx-enc-crumbs a,.rx-ic-note,.rx-hf>span,.rx-enc-tnved small,.rx-met-form-txt p,#rx-okpd .crumbs,#rx-okpd .crumbs a,#rx-okpd .stat,#rx-okpd .rg) {color:var(--rx-readable-muted)!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-enc-btn {background-color:var(--rdx-ui-red, #ae222d)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-enc-btn:hover {background-color:var(--rdx-ui-red-hover, #941d26)!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-met-hero :is(h1,.rx-enc-lead) {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-met-hero .rx-enc-kicker {color:#ffb0a6!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] #rx-okpd .cta h2 {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] #rx-okpd .chip.on {color:var(--rx-readable-accent)!important;}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.rx-enc-tnved,.rx-enc-svg,.rx-hf,.rx-why,.rx-enc-nav a,.rx-cat-card i,.rx-met-scard,.rx-schips a,#rx-okpd .short,#rx-okpd .faq details,#rx-okpd .rel a) {background-color:#1c1e23!important;border-color:#303238!important;}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.rx-enc-side>b,.rx-met-scard p) {color:#dcd9d5!important;}
html[data-rx-bento][data-rx-theme="light"] body[class][class][class][class][class][class][class][class][class][class][class][class] main [style*="background:#F3F4F6" i][style*="color:#6B7280" i] {color:#59565d!important;}
}


/* REDICO expanded article and classifier content, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-why>span {color:#ffb0a6!important;}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] #rx-okpd :is(.faq .a,.rel a) {color:#dcd9d5!important;}
}


/* REDICO responsive and live theme-switch states, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-map-story :is(li,b) {color:var(--rx-readable-field-text)!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-svc-link {color:var(--rx-readable-field-text)!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-btn-ghost {background-color:var(--rx-readable-field-bg)!important;color:var(--rx-readable-field-text)!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] #rx-enc-q#rx-enc-q {background-color:var(--rx-readable-field-bg)!important;color:var(--rx-readable-field-text)!important;-webkit-text-fill-color:var(--rx-readable-field-text)!important;}
}


/* REDICO readable surfaces over image and gradient sections, 2026-11-06 */
@layer redicoReadability {
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .hm-case-link {background-color:#25272c!important;color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .hm-case-link span {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-lead-in {background-color:#1c1e23!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-lead-txt :is(h2,p,li) {color:#f6f4ef!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] :is(.rxhm-nav a,.rx008-btn) {background-color:var(--rx-readable-field-bg)!important;color:var(--rx-readable-field-text)!important;}
html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class][class][class][class][class] .rx-mid-see-grid a {background-color:#1c1e23!important;color:#f6f4ef!important;}
}


/* REDICO: мобильные контакты рядом с логотипом. */
@layer redicoUsability {
  @media (max-width: 760px) {
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header {
      grid-template-areas: "brand contacts . menu theme";
      grid-template-columns: auto auto minmax(0, 1fr) auto auto !important;
      gap: 0 6px !important;
      min-height: 64px !important;
      padding: 6px 12px !important;
      reading-flow: grid-columns;
    }
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header > .rx-hdr-right {
      width: 64px !important;
    }
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header .rx-logo img {
      width: clamp(84px, 28vw, 132px) !important;
      height: auto !important;
    }
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header > .rx-header-contacts {
      position: static !important;
      width: auto !important;
      flex-flow: row-reverse nowrap !important;
      gap: 2px !important;
      border: 0 !important;
      reading-flow: flex-visual;
    }
    html body .rx-header.rpm-header .rx-header-in > .rx-header-contacts > a:is([href^="tel:"], [href^="mailto:"]) {
      position: relative;
      display: block !important;
      box-sizing: border-box;
      inline-size: 44px !important;
      min-inline-size: 44px !important;
      min-block-size: 44px !important;
      overflow: hidden;
      border: 1px solid var(--rb-line, #dce0e4) !important;
      border-radius: 10px;
      color: var(--rb-ink, #1c1e23);
      text-align: left;
      text-indent: -100em;
    }
    html body .rx-header.rpm-header .rx-header-in > .rx-header-contacts > a:is([href^="tel:"], [href^="mailto:"])::before {
      content: "" !important;
      position: absolute;
      inset: 0;
      margin: auto;
      inline-size: 21px;
      block-size: 21px;
      background: currentColor;
      mask: var(--redico-contact-icon) center / contain no-repeat;
    }
    .rx-header.rpm-header .rx-header-contacts > a[href^="mailto:"] {
      --redico-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
    }
    .rx-header.rpm-header .rx-header-contacts > a[href^="tel:"] {
      --redico-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 18 18 0 0 1-7.9-2.8 18 18 0 0 1-5.5-5.5 18 18 0 0 1-2.8-8A2 2 0 0 1 5.6 3h3a2 2 0 0 1 2 1.7l.6 2.9a2 2 0 0 1-.5 2.1l-1.3 1.2a14 14 0 0 0 5.5 5.5l1.3-1.3a2 2 0 0 1 2.1-.5l2.8.6a2 2 0 0 1 .9 1.7Z'/%3E%3C/svg%3E");
    }
    .rx-header.rpm-header .rx-header-contacts > a:focus-visible {
      outline: 2px solid currentColor;
      outline-offset: 2px;
    }
  }
  @media (max-width: 430px) {
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header {
      gap: 0 4px !important;
      padding-inline: 8px !important;
    }
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header > .rpm {
      min-inline-size: 44px !important;
    }
    html body .rx-header.rpm-header .rx-header-in > .rpm .rpm-burger {
      box-sizing: border-box;
      min-inline-size: 44px;
      padding-inline: 0;
      gap: 0;
      font-size: 0 !important;
    }
  }
  @media (max-width: 350px) {
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header {
      gap: 0 3px !important;
      padding-inline: 6px !important;
    }
  }
}

/* REDICO 2026-11-06: restored marketplace cards and calculator focus */
body.page-id-26 {--rx-card-surface:#fff;--rx-card-border:#d9d5cf;--rx-card-muted:#59565d;}
html[data-rx-theme="dark"] body.page-id-26 {--rx-card-surface:#1c1e23;--rx-card-border:#303238;--rx-card-muted:#b7b7bc;}
body.page-id-26 .rx-prose section[id^="rl-"] {margin-block:32px; padding:clamp(18px,3vw,32px); border:1px solid var(--rx-card-border); border-radius:24px; background:var(--rx-card-surface); min-width:0; scroll-margin-top:110px;}
body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div:has(>a>b) {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin-block:24px;}
body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div:has(>a>b)>br {display:none;}
body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div>a:has(>b) {display:flex!important;flex-direction:column;gap:8px;box-sizing:border-box;min-width:0;min-height:106px;padding:18px 20px;border:1px solid var(--rx-card-border);border-radius:16px;background:var(--rx-card-surface);font-size:13px!important;line-height:1.45!important;text-decoration:none!important;color:var(--rx-card-muted)!important;transition:box-shadow .18s ease,border-color .18s ease;}
body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div>a>b {display:block!important;margin:0;font-size:18px!important;line-height:1.4!important;color:var(--rb-ink,#1c1e23)!important;overflow-wrap:anywhere;}
body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div>a:hover {border-color:#bf5146;box-shadow:0 8px 24px rgb(20 30 45 / 12%);}
body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div>a:focus-visible {outline:3px solid #c25043;outline-offset:3px;}
body.page-id-26 #rl-uslugi>div:has(>div>h3),body.page-id-26 #rl-proverka>div:has(>div>h3) {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;}
body.page-id-26 #rl-uslugi>div>div:has(>h3),body.page-id-26 #rl-proverka>div>div:has(>h3) {padding:22px;border:1px solid var(--rx-card-border);border-radius:18px;min-width:0;}
body.page-id-26 #rl-uslugi>div>div>span {display:block;font-size:14px;color:var(--rx-card-muted);margin-bottom:12px;}
body.page-id-26 #rl-uslugi>div>div>p:empty {display:none;}
body.page-id-26 #rl-uslugi h3 {margin-top:0;}
body.page-id-26 section[id^="rl-"]>div:first-child:not(:has(*)) {font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--rx-card-muted);margin-bottom:10px;}
body.page-id-15 #rc-catalog .rc-filters {background:#fff2cf!important;border:1px solid #dcc28c!important;box-shadow:0 14px 38px rgb(95 64 15 / 16%)!important;border-radius:24px!important;padding:clamp(20px,3vw,32px)!important;}
html[data-rx-theme="dark"] body.page-id-15 #rc-catalog .rc-filters {background:#3b3323!important;border-color:#8e794e!important;box-shadow:0 14px 38px rgb(0 0 0 / 30%)!important;}
@layer redicoReadability {
html[data-rx-bento] body.page-id-15[class][class][class][class][class][class][class][class][class][class][class][class] #rc-catalog .rc-filters .rc-field>span {color:#44341c!important;}
html[data-rx-bento][data-rx-theme="dark"] body.page-id-15[class][class][class][class][class][class][class][class][class][class][class][class] #rc-catalog .rc-filters .rc-field>span {color:#fff2cf!important;}
}
body.page-id-15 #rc-catalog .rc-filters .rc-button {min-height:52px;box-shadow:0 5px 16px rgb(153 44 30 / 22%);}
body.page-id-15 .rc-results-column {scroll-margin-top:110px;}
@media(max-width:760px) {
body.page-id-26 .rx-prose section[id^="rl-"] {margin-block:20px;padding:18px 14px;border-radius:20px;}
body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div>a:has(>b) {min-height:94px;padding:16px;}
body.page-id-15 main {display:flex;flex-direction:column;}
body.page-id-15 main>.rc-theme-band {order:0;}
body.page-id-15 main>.rx-wrap {order:1;}
body.page-id-15 #rc-request.rc-request-after-calculator {margin:28px 0;}
body.page-id-15 #rc-catalog .rc-search-row {gap:12px;}
body.page-id-15 #rc-catalog .rc-search-row>.rc-button {width:100%;}
}
@media(prefers-reduced-motion:reduce) {body.page-id-26 :is(#rl-dokumenty,#rl-svyaz)>div>a {transition:none;}}

/* REDICO calculator empty-result dialog */
.rc-empty-dialog {box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;margin:auto;padding:clamp(24px,5vw,40px);border:1px solid #ddc595;border-radius:24px;background:#fff4d9;color:#302718;box-shadow:0 24px 80px rgb(0 0 0 / 28%);}
.rc-empty-dialog::backdrop {background:rgb(8 15 26 / 72%);}
.rc-empty-dialog h2 {font-size:clamp(23px,5vw,30px);line-height:1.2;margin:0 0 18px;}
.rc-empty-dialog p {font-size:17px;line-height:1.6;margin:0;}
.rc-empty-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;}
.rc-empty-actions a,.rc-empty-actions button {box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:12px;font-family:inherit;font-size:15px;font-weight:700;line-height:1.4;cursor:pointer;}
.rc-empty-actions .rc-empty-email {background:#a73528;color:#fff;text-decoration:none;}
.rc-empty-actions button {border:1px solid currentColor;background:transparent;color:inherit;}
.rc-empty-dialog :is(a,button):focus-visible {outline:3px solid #bd5740;outline-offset:4px;}
html[data-rx-theme="dark"] .rc-empty-dialog {background:#312b20;color:#fff2cf;border-color:#9a8357;}
@layer redicoReadability {
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rc-empty-dialog :is(h2,p,button) {color:inherit!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rc-empty-dialog p a {color:inherit!important;text-decoration:underline!important;}
html[data-rx-bento] body[class][class][class][class][class][class][class][class][class][class][class][class] .rc-empty-dialog .rc-empty-email {color:#fff!important;}
}
@media(max-width:540px) {.rc-empty-actions {flex-direction:column;}.rc-empty-actions>* {width:100%;}}

/* REDICO restored labels, steps and numbered cards */
body.page-id-26 #rl-etapy li>b,body.page-id-26 #rl-etapy li>strong {display:block;margin-bottom:6px;}
body.page-id-26 #rl-etapy li {margin-block:16px;}
body.page-id-26 #rl-oshibki>div:has(>div>span) {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;}
@layer redicoReadability {
html[data-rx-bento] body.page-id-26[class][class][class][class][class][class][class][class][class][class][class][class] :is(#rl-dokumenty,#rl-svyaz)>div>a:has(>b),
html[data-rx-bento] body.page-id-26[class][class][class][class][class][class][class][class][class][class][class][class] :is(#rl-dokumenty,#rl-svyaz)>div>a>b {text-decoration:none!important;}
}

/* REDICO useful services fill the shorter calculator column */
body.page-id-15 .rc-side-column {display:flex;flex-direction:column;gap:20px;min-width:0;align-self:stretch;}
body.page-id-15 .rc-side-column[hidden] {display:none!important;}
body.page-id-15 .rc-side-column>.rc-estimate {position:static!important;width:100%;box-sizing:border-box;flex:none;}
body.page-id-15 .rc-list {display:flex;flex-direction:column;min-width:0;}
body.page-id-15 .rc-service-tools {box-sizing:border-box;display:flex;flex-direction:column;gap:12px;flex:1;margin-top:20px;padding:22px;border:1px solid var(--rb-line,#d9d5cf);border-radius:22px;background:var(--rb-surface,#fff);min-width:0;}
body.page-id-15 .rc-side-column>.rc-service-tools {margin-top:0;}
body.page-id-15 .rc-service-tools h3 {font-size:24px;line-height:1.2;margin:0;}
body.page-id-15 .rc-service-tools>p {font-size:15px;line-height:1.5;margin:0;}
body.page-id-15 .rc-service-tools-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1;}
body.page-id-15 .rc-side-column .rc-service-tools-grid {grid-template-columns:1fr;}
body.page-id-15 .rc-service-tools-grid>a {display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:16px;border:1px solid var(--rb-line,#d9d5cf);border-radius:14px;background:var(--rb-bg,#f4f5f7);transition:box-shadow .18s,border-color .18s;}
body.page-id-15 .rc-service-tools-grid strong {display:block;font-size:17px;line-height:1.3;}
body.page-id-15 .rc-service-tools-grid span {font-size:14px;line-height:1.5;}
body.page-id-15 .rc-service-tools-grid>a:hover {border-color:#ba5142;box-shadow:0 6px 18px rgb(25 35 50 / 12%);}
body.page-id-15 .rc-service-tools-grid>a:focus-visible {outline:3px solid #ba5142;outline-offset:3px;}
body.page-id-15 .rc-workbench.rc-no-results {grid-template-columns:1fr!important;}
html[data-rx-theme="dark"] body.page-id-15 .rc-service-tools {background:#1c1e23;border-color:#303238;}
html[data-rx-theme="dark"] body.page-id-15 .rc-service-tools-grid>a {background:#25272c;border-color:#303238;}
@layer redicoReadability {
html[data-rx-bento] body.page-id-15[class][class][class][class][class][class][class][class][class][class][class][class] .rc-service-tools :is(h3,p,a,strong,span) {color:var(--rb-ink,#1c1e23)!important;text-decoration:none!important;}
}
@media(min-width:901px) {body.page-id-15 .rc-cards>.rc-card:last-child:nth-child(odd) {grid-column:1/-1;}}
@media(max-width:900px) {body.page-id-15 .rc-service-tools {padding:20px;margin-top:22px;}body.page-id-15 .rc-service-tools-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));}}
@media(prefers-reduced-motion:reduce) {body.page-id-15 .rc-service-tools-grid>a {transition:none;}}

body.page-id-15 .rc-workbench>.rc-list {align-self:stretch;}

/* REDICO encyclopedia mobile contrast */
html[data-rx-theme="dark"] .rx-enc .rx-enc-toc,
html[data-rx-theme="dark"] .rx-enc-article #rx-sticky-cta {
  background: #1c1e23;
  border-color: var(--rx-ln, #303238);
}
html[data-rx-theme="dark"] .rx-enc-article #rx-sticky-cta .rx-sc-txt span {
  color: var(--rx-mut2, #b7b7bc);
}
html[data-rx-theme="dark"] .rx-enc-article #rx-sticky-cta .rx-sc-txt b,
html[data-rx-theme="dark"] .rx-enc-article #rx-sticky-cta .rx-sc-tel {
  color: var(--rx-red, #ffb3a8);
}
.rx-enc .rx-enc-toc a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
@media (max-width: 760px) {
  .rx-enc-article #rx-sticky-cta {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .rx-enc-article #rx-sticky-cta .rx-sc-txt,
  .rx-enc-article #rx-sticky-cta .rx-sc-tel {
    display: none;
  }
  .rx-enc-article #rx-sticky-cta .rx-enc-btn {
    flex: 1 1 100%;
    min-height: 44px;
    padding: 8px 12px;
    line-height: 1.25;
  }
  .rx-enc-article #rx-float-tools {
    flex-direction: row;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .rx-enc-article:has(#rx-sticky-cta.on) #rx-float-tools {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* REDICO: палитра и типографика главной на общих шаблонах. */
@layer redicoBento {
  html:is([data-rx-bento][data-rx-theme],[data-rx-bento][data-rx-reference],[data-theme]),
  html:is([data-rx-bento][data-rx-theme],[data-rx-bento][data-rx-reference],[data-theme]) body,
  html[data-rx-bento][data-rx-reference][data-rx-theme] body:not(.home) {
    --rb-bg:var(--rdx-ui-bg)!important;
    --rb-surface:var(--rdx-ui-surface)!important;
    --rb-soft:var(--rdx-ui-soft)!important;
    --rb-ink:var(--rdx-ui-ink)!important;
    --rb-muted:var(--rdx-ui-muted)!important;
    --rb-line:var(--rdx-ui-line)!important;
    --rb-accent:var(--rdx-ui-red)!important;
    --rb-accent-text:var(--rdx-ui-accent)!important;
    --rb-accent-soft:var(--rdx-ui-tint)!important;
    --rb-focus:var(--rdx-ui-accent)!important;
    --rb-font:var(--rdx-ui-font)!important;
    --rb-heading:var(--rdx-ui-font)!important;
    --rb-shadow:0 12px 36px -24px #0006!important;
    --rb-shadow-hover:0 16px 40px -24px #0008!important;
  }
  html:is([data-rx-bento],[data-theme]) body {
    background-color:var(--rdx-ui-bg)!important;
    color:var(--rdx-ui-ink)!important;
    font-family:var(--rdx-ui-font)!important;
  }
  html[data-rx-bento][data-rx-reference] body:not(.rdx-live) :is(main,.rx-enc,.rx-modal,.rx-sitefoot,.rx-header)
  :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,a,label,summary,button,input,select,textarea,th,td) {
    font-family:var(--rdx-ui-font)!important;
  }
  html[data-rx-bento][data-rx-reference] body:not(.rdx-live) :is(main,.rx-enc) h1 {
    font-weight:750!important;
    letter-spacing:-.055em!important;
  }
  html[data-rx-bento][data-rx-reference] body:not(.rdx-live) :is(main,.rx-enc) h2 {
    font-weight:750!important;
    letter-spacing:-.045em!important;
  }
  html[data-rx-bento][data-rx-reference] body:not(.rdx-live) :is(main,.rx-enc) h3 {
    font-weight:700!important;
    letter-spacing:-.035em!important;
  }
  html[data-rx-bento][data-rx-reference] .rx-enc {
    --rx-blue:var(--rdx-ui-accent)!important;
    --rx-bg2:var(--rdx-ui-soft)!important;
    --rx-b:var(--rdx-ui-line)!important;
    --rx-t:var(--rdx-ui-ink)!important;
    --rx-t2:var(--rdx-ui-muted)!important;
  }
  html[data-rx-bento] :is(.rx-ux-form-wrap,.rx-ux-journey) {
    --ux-paper:var(--rdx-ui-surface)!important;
    --ux-soft:var(--rdx-ui-soft)!important;
    --ux-ink:var(--rdx-ui-ink)!important;
    --ux-muted:var(--rdx-ui-muted)!important;
    --ux-line:var(--rdx-ui-line)!important;
    --ux-accent:var(--rdx-ui-accent)!important;
    --ux-accent-fill:var(--rdx-ui-red)!important;
    --ux-blush:var(--rdx-ui-tint)!important;
  }
}
@layer redicoUsability {
  html[data-rx-bento] body[class][class][class][class][class][class][class][class] {
    --redico-text-link:var(--rdx-ui-accent);
    --redico-text-link-hover:var(--rdx-ui-red-hover);
  }
  html[data-rx-bento][data-rx-theme="dark"] body[class][class][class][class][class][class][class][class] {
    --redico-text-link:var(--rdx-ui-accent);
    --redico-text-link-hover:#ff9ea1;
  }
}

@layer redicoBento {
  html[data-rx-bento][data-rx-reference] body:not(.rdx-live) {
    --rb-radius:var(--rdx-ui-radius)!important;
  }
  html[data-rx-bento][data-rx-reference] body:not(.rdx-live)
  :is(.rx-hdr-cta,.rx-modal-btn,.rx-foot-btn,.rd-submit,.rx-enc-btn,.rdd-button,.rst-action) {
    border-radius:9px!important;
    font-family:var(--rdx-ui-font)!important;
    font-weight:680!important;
  }
  html[data-rx-bento][data-rx-reference] body:not(.rdx-live) :is(main,.rx-enc,.rx-modal)
  :is(input:not([type=checkbox],[type=radio],[type=range],[type=hidden]),select,textarea) {
    border-radius:8px;
  }
}


/* REDICO: мегаменю использует палитру главной. */
html[data-rx-bento] #rst-services-panel[data-redico-megamenu] {
  --mega-bg:var(--rdx-ui-surface);
  --mega-card:var(--rdx-ui-soft);
  --mega-card-hover:var(--rdx-ui-surface);
  --mega-line:var(--rdx-ui-line);
  --mega-text:var(--rdx-ui-ink);
  --mega-muted:var(--rdx-ui-muted);
  --mega-accent:var(--rdx-ui-accent);
  --mega-accent-bg:var(--rdx-ui-tint);
  --mega-focus:var(--rdx-ui-accent);
}

/* REDICO: контраст результатов поиска ОКПД 2 в обеих темах. */
@layer redicoReadability {
  html[data-rx-bento] #rx-okpd :is(#rxres > .it,#rxres .empty,#rxmore) {
    background-color:var(--rdx-ui-surface)!important;
    border-color:var(--rdx-ui-line)!important;
  }
  html[data-rx-bento] #rx-okpd #rxres .nm {
    color:var(--rdx-ui-ink)!important;
  }
  html[data-rx-bento] #rx-okpd #rxres :is(.path,.empty,.cd button,.bd) {
    color:var(--rdx-ui-muted)!important;
  }
  html[data-rx-bento] #rx-okpd #rxres .bd {
    background-color:var(--rdx-ui-soft)!important;
  }
  html[data-rx-bento] #rx-okpd #rxres :is(.bd.s,mark) {
    background-color:var(--rdx-ui-tint)!important;
    color:var(--rdx-ui-ink)!important;
  }
  html[data-rx-bento] #rx-okpd #rxres :is(.go,.cd button:hover) {
    color:var(--rdx-ui-accent)!important;
  }
  html[data-rx-bento] #rx-okpd :is(#rxres > .it:hover,#rxmore) {
    border-color:var(--rdx-ui-accent)!important;
  }
  html[data-rx-bento] #rx-okpd #rxmore:hover {
    background-color:var(--rdx-ui-red)!important;
    color:var(--rdx-ui-on-red)!important;
  }
}

/* REDICO: боковые отступы карточки «Первый шаг» на главной. */
@layer redicoReadability {
  body.home.rdx-live #rdx-layout #content > .rdx-closing {
    padding-inline:clamp(16px,3vw,32px)!important;
  }
}

/* REDICO: контраст, отступы и адаптивные сетки по аудиту дизайна. */
@layer redicoReadability {
  html:is([data-rx-bento],[data-theme]) body :is(.rso-enhancement a.rso-service-action,#rx-okpd .cta a.btn) {
    background-color:var(--rdx-ui-red,#ae222d)!important;
    color:var(--rdx-ui-on-red,#fff)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  html:is([data-rx-bento],[data-theme]) body :is(.rso-enhancement a.rso-service-action,#rx-okpd .cta a.btn):is(:hover,:active) {
    background-color:var(--rdx-ui-red-hover,#941d26)!important;
  }
  html[data-rx-bento] body #rnt-service .rnt-hero-band .rnt-breadcrumb > span {
    color:var(--rnt-hero-muted,#dcd9d5)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  html[data-rx-bento] body :is(.rx-enc-main > .rx-enc-faq,#edu-matrix.edu-panel,#edu-faq.edu-panel,#edu-request.edu-panel,.rxpd-tile:has(> #rxpd-gost-h)) {
    padding-inline:clamp(16px,3vw,28px)!important;
  }
  html[data-rx-bento] body :is(.rxpd-tile.rxpd-prep,#rp-catalog .rp-catalog > div,.ree-page-content > :is(#sv-declaration,#sv-foreign)) {
    align-self:start!important;
  }

  html[data-rx-bento] body.redico-page-notifikaciya :is(.sv-grid > .sv-card,.sv-two > .sv-card,#sv-downloads) {
    align-self:start!important;
  }

  @media (max-width:760px) {
    html[data-rx-bento] body.redico-page-deklaraciya :is(.rxdc-grid,.rxdc-quick) {
      grid-template-columns:minmax(0,1fr)!important;
      gap:12px;
    }
    html[data-rx-bento] body.redico-page-deklaraciya :is(.rxdc-card,.rxdc-quick) {
      min-width:0;
      padding:clamp(14px,4vw,20px);
      overflow-wrap:anywhere;
    }
  }
}

/* REDICO: кнопки и крошки используют цвета своей поверхности. */
@layer redicoReadability {
  html:is([data-rx-bento],[data-theme]) body .rso-enhancement a.rso-service-action {
    --redico-text-link:var(--rdx-ui-on-red,#fff);
    --redico-text-link-hover:var(--rdx-ui-on-red,#fff);
    --rnt-link:var(--rdx-ui-on-red,#fff);
  }
  html[data-rx-bento] body #rnt-service .rnt-breadcrumb > span {
    --rx-readable-muted:var(--rnt-hero-muted,#dcd9d5);
  }
  html[data-rx-bento] body.redico-page-obuchenie .edu {
    --ed-bg:var(--rdx-ui-bg)!important;
    --ed-card:var(--rdx-ui-surface)!important;
    --ed-text:var(--rdx-ui-ink)!important;
    --ed-muted:var(--rdx-ui-muted)!important;
    --ed-border:var(--rdx-ui-line)!important;
    --ed-accent:var(--rdx-ui-accent)!important;
  }
}

/* REDICO: палитра первого экрана и карточек декларации. */
@layer redicoReadability {
  html[data-rx-theme] body.redico-page-deklaraciya {
    --dc-tile:var(--rdx-ui-soft)!important;
    --dc-line:var(--rdx-ui-line)!important;
    --dc-ink:var(--rdx-ui-ink)!important;
    --dc-copy:var(--rdx-ui-muted)!important;
    --dc-accent:var(--rdx-ui-accent)!important;
  }
}

/* REDICO UX · 2026-11-10 · Контраст меню и двух страниц услуг */
@media (prefers-reduced-motion: no-preference) {
  html.rb-theme-changing .rpm-dialog :is(.rpm-link, .rpm-tool) {
    transition-property: transform;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-rx-bento] .rpm-dialog {
    transition: none !important;
  }
}
@layer redicoReadability {
  html[data-rx-theme="light"] body.redico-page-licenziya-orv #sv-equipment .sv-dark h3 {
    color: inherit !important;
  }
  html[data-rx-theme="light"] body.redico-page-zaklyuchenie-tpp-bu #tpp-page .tp-button.primary {
    color: #fff !important;
  }
}

/* REDICO UX · 2026-11-10 · Поля заявки на узком экране */
@layer redicoReadability {
  @media (max-width: 390px) {
    html body[class] :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid {
      grid-template-columns: minmax(0, 1fr) !important;
    }
    html body[class] :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid .rd-field :is(input[type="text"], input[type="email"], input[type="tel"], select).rd-control {
      height: 44px !important;
      min-height: 44px !important;
    }
  }
}

/* REDICO UX · 2026-11-10 · Появление первого экрана */
@media (prefers-reduced-motion: no-preference) {
  html[data-rx-theme] :is(
    body.home .rdx-hero .rdx-intro-copy,
    .rx-ux-theme-hero > :is(.rx-ux-intro, .rx-ux-tail),
    .rx-ux-product-search > .rx-ux-hero__intro
  ) {
    animation: redicoFirstScreen 250ms ease-out;
  }
  html[data-rx-theme] [data-rx-server-layout] h1 {
    animation-duration: 250ms;
  }
  @keyframes redicoFirstScreen {
    from { opacity: .94; }
    to { opacity: 1; }
  }
}

/* REDICO UX · 2026-11-10 · Номера этапов ГОСТ Р в тёмной теме */
html[data-rx-theme="dark"] body.redico-page-sertifikat-gost-r .rxgr-card .rxgr-step {
  color: #ff9d93 !important;
}

/* REDICO UX · 2026-11-10 · Перечень СГР при загрузке */
html[data-rx-js="1"] body.page-id-45 #perechen #rx-reg-out:is(:empty,[data-rx-reg-state="default"]):not([data-rx-reg-state="error"]) {
  min-height: 480px;
}
html[data-rx-js="1"] body.page-id-45 #perechen #rx-reg-count {
  min-height: 18px;
  line-height: 18px;
  white-space: normal !important;
}
html[data-rx-js="1"] body.page-id-45 #perechen #rx-reg-count:empty::before {
  content: "Загружаем перечень…";
}
body.page-id-45 #perechen #rx-reg-out:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

/* REDICO UX · 2026-11-10 · Высота блока шагов СГР */
@layer redicoBento {
  html[data-rx-bento][data-rx-js="1"] body.redico-page-sgr #rx-ux-next-steps .rx-ux-check-foot[hidden] {
    display: flex !important;
    visibility: hidden !important;
    pointer-events: none;
  }
}


/* REDICO: keep the five main navigation items visible on wide screens. */
@layer redicoUsability {
  @media (min-width: 1391px) {
    html body .rx-header.rpm-header .rx-header-in > .rx-header-contacts {
      flex-direction: column !important;
      align-items: flex-end !important;
      gap: 3px !important;
    }
  }
}


/* REDICO: keep all primary links available on desktop and laptop widths. */
@layer redicoUsability {
  @media (min-width: 761px) {
    html body .rx-header.rpm-header .rx-header-in > .rx-header-contacts > a {
      min-height: 28px !important;
    }
  }
  @media (761px <= width < 1280px) {
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header:has(> #rpm-primary-nav) {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto auto !important;
      grid-template-areas: "brand contacts actions" "nav nav nav";
      align-items: center;
      row-gap: 0 !important;
      padding-bottom: 6px !important;
      reading-flow: grid-rows;
    }
    .rx-header.rpm-header .rr-reference-header > :first-child { grid-area: brand; }
    .rx-header.rpm-header .rr-reference-header > #rpm-primary-nav { grid-area: nav; }
    .rx-header.rpm-header .rr-reference-header > .rx-hdr-right { grid-area: actions; }
    html body .rx-header.rpm-header .rr-reference-header > .rx-header-contacts {
      grid-area: contacts;
      position: static !important;
      width: auto !important;
    }
  }
  @media (1280px <= width < 1320px) {
    #rpm-primary-nav > .rpm-rail > a { padding-inline: 8px !important; }
  }
}

/* REDICO cases: the hero has a dark surface in both themes. */
@layer redicoReadability {
  #redico-cases-content .rcx-hero #rcx-title {
    color: #f7f9fb !important;
  }
  #redico-cases-content .rcx-hero .rcx-crumb > span {
    color: #c7d0dc !important;
  }
}


/* REDICO: compact mobile header; contacts beside menu, R2D2 below lamp. */
@layer redicoReadability { @media (max-width:760px) {
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in.rr-reference-header{display:grid!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;grid-template-columns:minmax(64px,1fr) 92px 44px 56px!important;grid-template-areas:"brand contacts menu theme" "brand contacts menu search"!important;grid-template-rows:48px 44px!important;align-items:center!important;gap:0 4px!important;height:auto!important;min-height:100px!important;padding:4px 12px!important;reading-flow:grid-columns!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > :first-child{grid-area:brand!important;min-width:0!important;min-height:0!important;align-self:center!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-logo img{width:clamp(72px,23vw,108px)!important;max-width:100%!important;height:auto!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-hdr-tag{display:none!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rx-header-contacts{grid-area:contacts!important;position:static!important;inset:auto!important;display:flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:center!important;width:92px!important;min-width:0!important;gap:4px!important;padding:0!important;margin:0!important;border:0!important;reading-flow:normal!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-contacts > a:is([href^="tel:"],[href^="mailto:"]){position:relative!important;display:inline-flex!important;box-sizing:border-box!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;inline-size:44px!important;min-inline-size:44px!important;block-size:44px!important;min-block-size:44px!important;padding:0!important;margin:0!important;border:1px solid var(--rdx-ui-line,#d6d2cc)!important;border-radius:11px!important;background:transparent!important;color:inherit!important;font-size:0!important;line-height:0!important;text-indent:0!important;overflow:hidden!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-contacts > a::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;margin:auto!important;width:20px!important;height:20px!important;inline-size:20px!important;block-size:20px!important;background:currentColor!important;mask:var(--redico-contact-icon) center / contain no-repeat!important;}
html[data-rx-bento] body .rx-header.rpm-header .rx-header-in > #rpm-primary-nav{grid-area:menu!important;width:44px!important;min-width:44px!important;inline-size:44px!important;min-inline-size:44px!important;height:44px!important;padding:0!important;margin:0!important;}
html[data-rx-bento] body .rx-header.rpm-header #rpm-primary-nav > .rpm-rail{display:none!important;}
html[data-rx-bento] body .rx-header.rpm-header #rpm-primary-nav > .rpm-burger{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;gap:0!important;font-size:0!important;border:1px solid var(--rdx-ui-line,#d6d2cc)!important;border-radius:11px!important;color:inherit!important;background:transparent!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rx-hdr-right{grid-area:theme!important;display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;justify-content:center!important;align-self:start!important;width:56px!important;min-width:0!important;height:44px!important;min-height:0!important;padding:0!important;margin:0!important;gap:0!important;overflow:visible!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-hdr-right #rb-theme-toggle{flex:0 0 64px!important;transform:scale(.7)!important;transform-origin:center top!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-hdr-right > :is(.rx-hdr-cta,#rr-theme-lamp:not(:has(#rb-theme-toggle))){display:none!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > #rxmax-trigger{grid-area:search!important;position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;justify-self:center!important;align-self:center!important;box-sizing:border-box!important;width:56px!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:4px!important;gap:0!important;font-size:0!important;transform:none!important;}
html[data-rx-bento] body .rx-header.rpm-header #rxmax-trigger > .rxmax-trigger-label{display:none!important;}
html[data-rx-bento] body .rx-header.rpm-header #rxmax-trigger > .rxmax-trigger-tip{left:auto!important;right:0!important;transform:none!important;max-width:calc(100vw - 32px)!important;}
html[data-rx-bento] body .rx-header.rpm-header :is(.rx-header-contacts > a,#rpm-primary-nav > .rpm-burger,#rxmax-trigger):focus-visible{outline:2px solid var(--rdx-ui-accent,#ae222d)!important;outline-offset:2px!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-hdr-right > #rr-theme-lamp:has(#rb-theme-toggle){display:flex!important;position:static!important;align-items:flex-start!important;justify-content:center!important;box-sizing:border-box!important;width:56px!important;min-width:56px!important;height:44px!important;min-height:0!important;flex:0 0 56px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;overflow:visible!important;}
html[data-rx-bento] body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-hdr-right #rr-theme-lamp > .rr-lamp-root{display:none!important;}
html[data-rx-bento] body .rx-header.rpm-header #rpm-primary-nav > .rpm-burger > .rpm-burger-icon{color:inherit!important;}
} }


