.redico-assistant {
  --assistant-paper:var(--rd-paper,#f2f3f5);
  --assistant-card:var(--rd-card,#fff);
  --assistant-ink:var(--rd-ink,#191b1f);
  --assistant-muted:var(--rd-muted,#4f545c);
  --assistant-red:#b42318;
  --assistant-accent:var(--rd-deep,#851e1a);
  --assistant-border:var(--rd-line,#d9dde3);
  --assistant-tint:var(--rd-tint,#fbedec);
  --assistant-font:Redico,'Noto Sans',Arial,sans-serif;
  color:var(--assistant-ink);
  font:400 16px/1.45 var(--assistant-font);
}
.redico-assistant *, .redico-assistant *::before,.redico-assistant *::after { box-sizing:border-box; }
.redico-assistant [hidden] { display:none !important; }
.redico-assistant :is(button,input) { font:inherit; }
.redico-assistant button { cursor:pointer; }
.redico-assistant :focus-visible { outline:3px solid #c75b4e; outline-offset:3px; }
:is(.redico-assistant__launcher,.redico-assistant > .redico-assistant__launch) {
  position:fixed;
  right:max(14px,env(safe-area-inset-right));
  bottom:max(16px,env(safe-area-inset-bottom));
  z-index:800;
}
.redico-assistant__launch {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:62px;
  padding:4px 15px 4px 5px;
  border:1px solid var(--assistant-border);
  border-radius:20px;
  color:var(--assistant-ink);
  background:var(--assistant-card);
  box-shadow:0 10px 28px #191b1f25;
}
.redico-assistant__avatar {
  position:relative;
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border:1px solid var(--assistant-border);
  border-radius:15px;
  background:var(--assistant-tint);
}
.redico-assistant__avatar::after {
  content:"";
  position:absolute;
  inset:-3px;
  border:1px solid var(--assistant-red);
  border-radius:17px;
  opacity:0;
  pointer-events:none;
}
.redico-assistant__avatar img { display:block; width:49px; height:49px; object-fit:contain; }
.redico-assistant__launch-label { font-size:14px; font-weight:700; white-space:nowrap; }
.redico-assistant__launch:is(:hover,:focus-visible) { border-color:var(--assistant-red); }
.redico-assistant__hint {
  position:absolute;
  inset:auto 0 100% auto;
  width:min(264px,calc(100vw - 32px));
  padding-bottom:10px;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
}
.redico-assistant__hint-card {
  padding:12px 14px;
  border:1px solid var(--assistant-border);
  border-inline-start:3px solid var(--assistant-red);
  border-radius:12px;
  background:var(--assistant-card);
  color:var(--assistant-ink);
  box-shadow:0 9px 24px #191b1f25;
  line-height:1.4;
}
.redico-assistant__hint-card strong { font-size:15px; }
.redico-assistant__hint-card p { margin:4px 0 0; color:var(--assistant-muted); font-size:14px; }
.redico-assistant__launch:focus-visible + .redico-assistant__hint {
  visibility:visible;
  opacity:1;
  pointer-events:auto;
}
@media (hover:hover) {
  .redico-assistant__launcher:hover .redico-assistant__hint {
    visibility:visible;
    opacity:1;
    pointer-events:auto;
  }
}
.redico-assistant__launch:is([aria-expanded="true"],[data-hint-dismissed]) + .redico-assistant__hint {
  visibility:hidden;
  opacity:0;
  pointer-events:none;
}
.redico-assistant__dialog {
  position:fixed; inset:0; margin:auto; padding:0; width:min(1024px,calc(100% - 24px)); max-width:none;
  min-height:min(640px,calc(100dvh - 24px));
  max-height:calc(100dvh - 24px); border:1px solid var(--assistant-border); border-radius:20px;
  color:var(--assistant-ink); background:var(--assistant-paper); box-shadow:0 23px 85px #191b1f65; overscroll-behavior:contain;
}
.redico-assistant__dialog::backdrop { background:#191b1fb8; }
.redico-assistant__inner { padding:17px; }
.redico-assistant__head { display:flex; justify-content:space-between; align-items:start; gap:8px; }
.redico-assistant__intro { display:flex; align-items:center; gap:9px; }
.redico-assistant__intro img { display:block; width:76px; height:76px; object-fit:contain; flex:none; }
.redico-assistant__intro h2 { margin:0; color:var(--assistant-ink); font:700 clamp(27px,4vw,40px)/1.03 var(--assistant-font); letter-spacing:-.046em; }
.redico-assistant__intro p { margin:4px 0 0; color:var(--assistant-muted); font-size:14px; }
.redico-assistant__close { width:43px; height:43px; flex:none; border:1px solid var(--assistant-border); border-radius:50%; background:var(--assistant-card); color:var(--assistant-ink); font-size:27px !important; line-height:1; }
.redico-assistant__form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; margin-top:9px; }
.redico-assistant__form input { width:100%; min-width:0; min-height:46px; border:1px solid var(--assistant-border); padding:8px 10px; border-radius:8px; color:var(--assistant-ink); background:var(--assistant-card); }
.redico-assistant__form input::placeholder { color:var(--assistant-muted); }
.redico-assistant__primary { min-height:46px; border:1px solid var(--assistant-red); border-radius:8px; color:white; background:var(--assistant-red); padding:7px 13px; font-weight:700 !important; }
.redico-assistant__primary:hover { background:#851e1a; }
.redico-assistant__status { color:var(--assistant-muted); font-size:14px; margin:8px 0 0; }
.redico-assistant__status:empty { display:none; }
.redico-assistant__results { display:grid; gap:6px; margin-top:8px; }
.redico-assistant__results:empty { margin:0; }
.redico-assistant__result { border:1px solid var(--assistant-border); background:var(--assistant-card); border-radius:8px; display:grid; gap:2px; padding:8px 10px; }
.redico-assistant__result small { color:var(--assistant-accent); font-size:13px; }
.redico-assistant__result a { color:var(--assistant-ink); font-weight:700; text-underline-offset:3px; }
.redico-assistant__result p { margin:0; color:var(--assistant-muted); font-size:14px; }
.redico-assistant__more { min-height:39px; margin-top:7px; border:1px solid var(--assistant-border); border-radius:7px; background:var(--assistant-card); color:var(--assistant-accent); padding:5px 10px; }
.redico-assistant__sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.redico-search-native-mount[hidden] { display:none !important; }
body:has(.redico-assistant) #rxmax-trigger .rxmax-droid-asset { background:transparent url("https://redico.ru/wp-content/plugins/redico-search-assistant/assets/robot-silver.webp") center/contain no-repeat; }
body:has(.redico-assistant) #rxmax-trigger :is(.rxmax-droid,.rxmax-droid-image) { display:none !important; }
html:has(.redico-assistant__dialog[open]) { overflow:hidden; scrollbar-gutter:stable; }
@media (prefers-reduced-motion:no-preference) {
  .redico-assistant__avatar::after { animation:redico-assistant-pulse 1.8s ease-out 2; }
  .redico-assistant__launch { transition:border-color .16s ease,box-shadow .16s ease; }
  .redico-assistant__hint { transition:opacity .16s ease; }
  .redico-assistant__launch:is(:hover,:focus-visible) .redico-assistant__avatar img { animation:redico-assistant-float .56s ease-out; }
  .redico-assistant__dialog[open] { animation:redico-assistant-appear .27s ease-out both; }
  .redico-assistant__dialog[open] .redico-assistant__intro img { animation:redico-assistant-float .64s ease-out 1; }
  body:has(.redico-assistant) #rxmax-trigger:is(:hover,:focus-visible) .rxmax-droid-asset { animation:redico-assistant-float .64s ease-out 1; }
}
@keyframes redico-assistant-pulse {
  0% { opacity:0; transform:scale(.94); }
  25% { opacity:.46; }
  85%,100% { opacity:0; transform:scale(1.15); }
}
@keyframes redico-assistant-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-5px); } }
@keyframes redico-assistant-appear { from { opacity:0; transform:translateY(13px); } to { opacity:1; transform:none; } }
@media (max-width:580px) {
  :is(.redico-assistant__launcher,.redico-assistant > .redico-assistant__launch) {
    right:max(10px,env(safe-area-inset-right));
    bottom:max(10px,env(safe-area-inset-bottom));
  }
  .redico-assistant__launch { padding:3px; min-width:60px; min-height:60px; justify-content:center; }
  .redico-assistant__launch-label { display:none; }
  .redico-assistant__dialog { inset:auto 0 0; margin:0; width:100%; min-height:min(680px,calc(100dvh - 12px)); border-radius:16px 16px 0 0; }
  .redico-assistant__intro img { width:56px; height:56px; }
  .redico-assistant__inner { padding:12px 10px max(10px,env(safe-area-inset-bottom)); }
}

[data-rst-menu]{display:block}
[data-rst-menu] .rxmm2-all,.rst-action,.rst-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65em 1em;border-radius:10px;text-decoration:none}
[data-rst-menu] .rxmm2-all,.rst-action{background:var(--rb-accent,#a82620);color:white;font-weight:650}
[data-rst-menu] .rxmm2-panel{position:fixed;z-index:99980;top:var(--rr-header-bottom,70px);left:50%;transform:translateX(-50%);width:min(100% - 24px,1040px);max-height:calc(100vh - var(--rr-header-bottom,70px) - 12px);overflow:auto;padding:18px;border-radius:18px;border:1px solid var(--rb-line,#ccc);color:var(--rb-ink,#222);background:var(--rb-surface,#fff);box-shadow:0 10px 38px rgba(0,0,0,.14)}
html body [data-rst-menu] .rxmm2:not(.rxmm2-open) .rxmm2-panel,html body [data-rst-menu] [hidden]{display:none!important}
[data-rst-menu] .rxmm2-find{display:block;margin:10px}.rst-secondary{color:var(--rb-accent-text,#99231d)}
.rst-fields{display:flex;flex-wrap:wrap;gap:14px;margin:16px 0}.rst-fields label{display:grid;gap:6px;flex:1 1 180px}
.rst-fields select,.rst-fields input,[data-rst-menu] input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid var(--rb-line,#aaa);border-radius:8px;background:var(--rb-surface,#fff);color:var(--rb-ink,#222);padding:9px 12px;font:inherit;font-size:16px}
.rst-card{padding:clamp(16px,2.5vw,32px);color:var(--rb-ink,inherit)}.rst-card h2{margin-top:0}.rst-card [role=status]{font-weight:600}
@media(max-width:700px){.rst-fields{display:grid}.rst-fields>*{min-width:0}}

/* The package renders the same service destinations in the menu and on /uslugi/. */
[data-rst-menu] {
  --rst-ink:var(--rb-ink,#20242b);--rst-muted:var(--rb-muted,#555f6a);
  --rst-surface:var(--rb-surface,#fff);--rst-soft:var(--rb-soft,#f6f7f8);
  --rst-line:var(--rb-line,#dce0e4);--rst-accent:var(--rb-accent-text,#a42720);
}
[data-rst-menu] #rst-menu-panel {padding:0;text-align:left;overscroll-behavior:contain;color:var(--rst-ink);font-family:var(--rb-font,inherit)}
[data-rst-menu] :is(a,summary,button,input):focus-visible {outline:3px solid var(--rb-focus,#246dbd);outline-offset:2px}
[data-rst-menu] .rst-menu-head {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--rst-line);background:var(--rst-surface);color:var(--rst-ink)}
[data-rst-menu] .rr-menu-heading {display:grid;gap:4px}
[data-rst-menu] .rr-menu-heading strong {font-size:20px;line-height:1.25}
[data-rst-menu] .rr-menu-heading span {font-size:14px;color:var(--rst-muted)}
[data-rst-menu] .rr-menu-close {display:grid;place-items:center;flex:0 0 44px;min-height:44px;background:var(--rst-soft);color:var(--rst-ink);border:1px solid var(--rst-line);border-radius:10px;font:400 24px/1 sans-serif;cursor:pointer}
[data-rst-menu] .rst-menu-body {padding:clamp(12px,2vw,24px)}
[data-rst-menu] .rst-menu-bar {display:flex;align-items:center;gap:16px;margin-bottom:16px}
[data-rst-menu] .rst-menu-bar .rxmm2-find {display:flex;align-items:center;flex:1;gap:10px;min-width:0;margin:0;padding:0 12px;background:var(--rst-soft);border:1px solid var(--rst-line);border-radius:10px}
[data-rst-menu] .rxmm2-find > svg {flex:0 0 20px;color:var(--rst-muted)}
[data-rst-menu] .rxmm2-find input {border:0;background:transparent;padding:8px 0;color:var(--rst-ink);width:100%;min-width:0}
[data-rst-menu] .rxmm2-find:focus-within {outline:2px solid var(--rb-focus,#246dbd);outline-offset:2px}
[data-rst-menu] .rxmm2-find input:focus {outline:0}
[data-rst-menu] .rst-menu-catalog {display:inline-flex;align-items:center;justify-content:center;gap:.65em;flex:none;padding:10px 15px;min-height:44px;background:var(--rst-soft);border:1px solid var(--rst-line);border-radius:10px;color:var(--rst-accent);font-size:.92rem;font-weight:650;text-decoration:none}
[data-rst-menu] .rst-service-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px}
[data-rst-menu] .rst-service-group {min-width:0;margin:0;padding:0;border:1px solid var(--rst-line);border-radius:12px;background:var(--rst-surface);color:var(--rst-ink);overflow:clip}
[data-rst-menu] .rst-service-group summary {display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;min-height:50px;padding:10px 13px;background:var(--rst-soft);color:var(--rst-ink);font-size:15px;line-height:1.25;font-weight:650;white-space:normal;cursor:pointer;list-style:none}
[data-rst-menu] .rst-service-group summary::-webkit-details-marker {display:none}
[data-rst-menu] .rst-service-group summary::after {content:'';width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:0 1px 4px;color:var(--rst-muted)}
[data-rst-menu] .rst-service-group[open] summary::after {transform:rotate(225deg);margin:4px 1px 0}
[data-rst-menu] .rst-service-group summary svg {width:22px;height:22px;color:var(--rst-accent)}
[data-rst-menu] .rst-service-group summary small {color:var(--rst-muted);font-size:12px;font-weight:500;line-height:1.3}
[data-rst-menu] .rst-service-group :is(summary,a):focus-visible {outline-offset:-3px}
[data-rst-menu] .rst-service-group ul {display:block;list-style:none;padding:0;margin:0}
[data-rst-menu] #rst-menu-results li {list-style:none;margin:0;padding:0}
[data-rst-menu] .rst-service-link {display:flex;align-items:center;min-height:36px;padding:7px 13px;color:var(--rst-ink);font-size:14px;line-height:1.4;overflow-wrap:anywhere;text-decoration:none}
[data-rst-menu] .rst-group-index {display:flex;align-items:center;gap:.4em;min-height:36px;padding:7px 13px;border-top:1px solid var(--rst-line);color:var(--rst-accent);font-size:13px;font-weight:600;text-decoration:none}
[data-rst-menu] :is(.rst-service-link,.rst-group-index,.rst-menu-catalog):is(:hover,:focus-visible,[aria-current=page]) {color:var(--rst-accent);background:var(--rst-soft);text-decoration:underline;text-underline-offset:.17em}
[data-rst-menu] .rst-empty {margin:10px 0 0;padding:16px;border-radius:10px;background:var(--rst-soft);color:var(--rst-ink)}
[data-rst-menu] .screen-reader-text {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1000px) {
  [data-rst-menu] .rst-service-grid {grid-template-columns:1fr;gap:7px}
  [data-rst-menu] .rst-service-group summary,[data-rst-menu] .rst-service-link,[data-rst-menu] .rst-group-index {min-height:44px}
}
@media(max-width:500px) {
  [data-rst-menu] .rst-menu-bar {flex-wrap:wrap;gap:4px;margin-bottom:7px}
  [data-rst-menu] .rst-menu-bar .rxmm2-find {flex:1 1 100%}
  [data-rst-menu] .rst-menu-catalog {margin-left:auto;padding:3px 5px;border:0;background:none}
}
@media(prefers-reduced-motion:reduce) {
  [data-rst-menu] *,[data-rst-menu] *::before,[data-rst-menu] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

[data-rst-menu] .rst-service-column {display:grid;gap:14px;min-width:0;align-content:start}
[data-rst-menu] .rst-service-column:not(:has(.rst-service-group:not([hidden]))) {display:none}
[data-rst-menu] .rst-menu-bar .rxmm2-find {box-sizing:border-box;max-width:100%}
body:has([data-rst-menu] .rxmm2-open) #rx-cookie-bar {visibility:hidden}
@media(max-width:1000px) {
  [data-rst-menu] .rst-service-column {display:contents}
}
@layer redicoUsability {
  html[data-rx-bento] #rst-menu-panel .rxmm2-find input:focus-visible {outline:0!important;box-shadow:none!important}
  html[data-rx-bento] #rst-menu-panel .rxmm2-find:focus-within {outline:2px solid var(--rb-focus,#246dbd)!important;outline-offset:-1px!important;box-shadow:none!important}
}

/* Native disclosures keep every reference service reachable before scripts run. */
[data-rst-header-nav] {
  --rst-ink:var(--rb-ink,#20242b);--rst-muted:var(--rb-muted,#555f6a);--rst-line:var(--rb-line,#dce0e4);
  --rst-surface:var(--rb-surface,#fff);--rst-soft:var(--rb-soft,#f5f6f8);--rst-accent:var(--rb-accent-text,#a42720);
  display:flex;align-items:center;justify-content:center;min-width:0;gap:clamp(8px,1.5vw,21px);color:var(--rst-ink);
}
[data-rst-header-nav] .rst-disclosure {position:static;display:block;padding:0;margin:0}
[data-rst-header-nav] .rst-disclosure > summary,
[data-rst-header-nav] .rxmm2-all {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:4px 2px;border:0;background:transparent;color:var(--rst-ink);font:500 14px/1.3 var(--rb-font,system-ui);list-style:none;text-decoration:none;cursor:pointer;white-space:nowrap}
[data-rst-header-nav] .rst-disclosure > summary::-webkit-details-marker {display:none}
[data-rst-header-nav] .rst-disclosure > summary::after,[data-rst-header-nav] .rxmm2-all::after {content:'';width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
[data-rst-header-nav] .rst-disclosure[open] > summary::after,[data-rst-header-nav] .rxmm2-all[aria-expanded=true]::after {transform:translateY(2px) rotate(225deg)}
[data-rst-header-nav] .rst-disclosure[open] > summary,[data-rst-header-nav] .rst-disclosure > summary:hover {color:var(--rst-accent)}
[data-rst-header-nav] .rst-drop-panel {position:fixed;z-index:160;top:var(--rr-header-bottom,72px);left:50%;right:auto;transform:translateX(-50%);width:min(900px,calc(100% - 32px));max-height:calc(100vh - var(--rr-header-bottom,72px) - 12px);max-height:calc(100dvh - var(--rr-header-bottom,72px) - 12px);overflow:auto;overscroll-behavior:contain;padding:clamp(14px,2.1vw,24px);border:1px solid var(--rst-line);border-radius:0 0 16px 16px;background:var(--rst-surface);box-shadow:0 20px 45px rgba(12,20,32,.18);color:var(--rst-ink);text-align:left}
[data-rst-header-nav] .rst-drop-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
[data-rst-header-nav] .rst-drop-head > strong {font-size:clamp(19px,2vw,24px);line-height:1.25;letter-spacing:-.025em}
[data-rst-header-nav] .rst-drop-head button {display:grid;place-items:center;height:44px;width:44px;border:1px solid var(--rst-line);border-radius:10px;background:var(--rst-soft);color:var(--rst-ink);font:400 22px/1 sans-serif;cursor:pointer}
[data-rst-header-nav] .rst-drop-head button[hidden] {display:none!important}
[data-rst-header-nav] .rst-tool-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
[data-rst-header-nav] .rst-tool-link {display:grid;grid-template-columns:1fr auto;align-content:start;gap:10px;padding:clamp(13px,1.8vw,20px);min-width:0;color:var(--rst-ink);background:var(--rst-soft);border:1px solid var(--rst-line);border-radius:12px;text-decoration:none}
[data-rst-header-nav] .rst-tool-link:hover,[data-rst-header-nav] .rst-tool-link:focus-visible {border-color:var(--rst-accent);color:var(--rst-accent)}
[data-rst-header-nav] .rst-tool-link[aria-current=page] {border-color:var(--rst-accent)}
[data-rst-header-nav] .rst-tool-icon {grid-column:1;grid-row:1;color:var(--rst-accent)}
[data-rst-header-nav] .rst-tool-arrow {grid-column:2;grid-row:1;color:var(--rst-muted)}
[data-rst-header-nav] .rst-tool-copy {grid-column:1/-1;display:grid;gap:5px;line-height:1.4;overflow-wrap:break-word}
[data-rst-header-nav] .rst-tool-copy strong {font-size:16px;color:inherit}
[data-rst-header-nav] .rst-tool-copy > span {font-size:14px;color:var(--rst-muted)}
[data-rst-header-nav] .rst-more-links {display:flex;flex-wrap:wrap;gap:6px 12px}
[data-rst-header-nav] .rst-more-links > a {display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--rst-line);border-radius:8px;background:var(--rst-soft);color:var(--rst-ink);text-decoration:none}
[data-rst-header-nav] .rst-more-links > a:hover {color:var(--rst-accent);text-decoration:underline}
[data-rst-header-nav] :is(a,button,summary):focus-visible {outline:3px solid var(--rb-focus,#246dbd);outline-offset:2px}
body:has([data-rst-header-nav] > details[open]) #rx-cookie-bar {visibility:hidden}
@media(max-width:660px) {
  .rx-header:has([data-rst-header-nav]) .rx-header-in {display:flex;flex-wrap:wrap;height:auto;gap:0;justify-content:space-between}
  .rx-header-in > [data-rst-header-nav] {order:4;flex:0 0 100%;justify-content:flex-start;gap:16px;border-top:1px solid var(--rst-line)}
  [data-rst-header-nav] .rst-drop-panel {width:100%;top:var(--rr-header-bottom,96px);max-height:calc(100vh - var(--rr-header-bottom,96px));max-height:calc(100dvh - var(--rr-header-bottom,96px));border-radius:0 0 12px 12px}
  [data-rst-header-nav] .rst-tool-grid {grid-template-columns:1fr;gap:7px}
  [data-rst-header-nav] .rst-tool-link {grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px}
  [data-rst-header-nav] .rst-tool-copy {grid-column:2;grid-row:1}
  [data-rst-header-nav] .rst-tool-arrow {grid-column:3}
  [data-rst-header-nav] .rst-tool-copy strong {font-size:15px}
  [data-rst-header-nav] .rst-tool-copy > span {font-size:13px}
}
@layer redicoUsability {
  html[data-rx-bento] .rx-header .rx-header-in > [data-rst-header-nav] {display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(10px,1.4vw,22px)!important}
  html[data-rx-bento] [data-rst-header-nav] > rx-megamenu,
  html[data-rx-bento] [data-rst-header-nav] :is(nav.rxmm2,.rxmm2-barin,.rxmm2-all) {display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;flex:0 0 auto!important;order:0!important}
  html[data-rx-bento] [data-rst-header-nav] .rxmm2-all {gap:6px!important;color:var(--rst-ink)!important;font-weight:500!important}
  html[data-rx-bento] [data-rst-header-nav] .rxmm2-all > span:last-child {position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important}
  html[data-rx-bento] [data-rst-header-nav] .rxmm2-all::after {content:''!important;display:block!important;position:static!important;background:none!important;width:6px!important;height:6px!important;border:solid currentColor!important;border-width:0 1.5px 1.5px 0!important;transform:translateY(-2px) rotate(45deg)!important;color:inherit!important}
  html[data-rx-bento] [data-rst-header-nav] .rxmm2-all[aria-expanded=true]::after {transform:translateY(2px) rotate(225deg)!important}
  @media(min-width:661px) and (max-width:1000px) {
    html[data-rx-bento] .rx-header .rx-header-in > [data-rst-header-nav] {order:1!important;flex:1 1 auto!important}
    html[data-rx-bento] .rx-header .rx-header-in:has([data-rst-header-nav]) > .rx-hdr-right {order:2!important}
  }
  @media(max-width:660px) {
    html[data-rx-bento] .rx-header:has([data-rst-header-nav]) {height:auto!important}
    html[data-rx-bento] .rx-header .rx-header-in:has([data-rst-header-nav]) {flex-wrap:wrap!important;align-content:start!important;min-height:0!important;height:auto!important;gap:0!important;padding:0!important}
    html[data-rx-bento] .rx-header .rx-header-in:has([data-rst-header-nav]) > :first-child {min-height:48px!important}
    html[data-rx-bento] .rx-header .rx-header-in > [data-rst-header-nav] {order:4!important;flex:0 0 100%!important;justify-content:space-between!important;min-height:44px!important;margin:0!important}
  }
}

[data-rst-header-nav]:not([data-rst-nav-ready]) .rst-drop-panel {position:absolute;top:100%}

/* REDICO Inter 4.001 variable: real wght axis 100–900; used range 400–800.
 * Self-hosted Google Fonts WOFF2 subsets; see fonts/inter-OFL.txt. */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("https://redico.ru/wp-content/plugins/redico-bento/assets/fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("https://redico.ru/wp-content/plugins/redico-bento/assets/fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("https://redico.ru/wp-content/plugins/redico-bento/assets/fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("https://redico.ru/wp-content/plugins/redico-bento/assets/fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
Theme Name: Redico Site
Theme URI: https://redico.ru
Author: REDICO / ООО «РЭДИ КОНСАЛТ»
Description: Фирменная тема redico.ru — сертификация и разрешительная документация. Редактирование текстов и фото через Гутенберг и Настройщик, импорт реестра ТН ВЭД и продукции из Excel/CSV, заявки на почту и в Telegram.
Version: 3.26.0
Requires at least: 6.0
Requires PHP: 7.4
License: proprietary
Text Domain: redico
*/

:root{
  --ink:#14171C; --ink2:#3A4049; --ink3:#525A66; --muted:#8A919B; --muted2:#9AA1AC;
  --line:#EFF1F4; --line2:#ECEEF1; --soft:#F7F8F9; --soft2:#F7F8FA;
  --red:#DA291C; --red-d:#B92218; --dark:#101216;
  --ff:'Manrope',-apple-system,'Segoe UI',sans-serif;
  --mono:'JetBrains Mono',monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--ff);color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.6}
a{color:var(--red)}
a:hover{color:var(--red-d)}
img{max-width:100%;height:auto}
.custom-logo-link{display:flex;align-items:center}
.custom-logo{height:44px;width:auto;max-width:220px;object-fit:contain}
.rx-wrap{max-width:1280px;margin:0 auto;padding:0 32px}
@media(max-width:640px){.rx-wrap{padding:0 20px}}

/* Header */
.rx-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.rx-header-in{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.rx-logo{text-decoration:none;color:var(--ink);font-weight:800;font-size:23px;letter-spacing:-.02em}
.rx-logo span{color:var(--red)}
.rx-logo img{max-height:44px;width:auto;display:block}
.rx-hdr-right{display:flex;align-items:center;gap:16px}
.rx-desknav{display:none}
.rx-desknav ul{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}
.rx-desknav a{position:relative;text-decoration:none;color:var(--ink);font-weight:700;font-size:14.5px;padding:9px 13px;border-radius:9px;transition:color .18s,background .18s;white-space:nowrap;display:inline-flex}
.rx-desknav a:hover{color:var(--red);background:#FBF1F0}
.rx-desknav li{position:relative}
.rx-desknav li ul{position:absolute;top:calc(100% + 10px);left:0;min-width:300px;background:#fff;border:1px solid #EAECEF;border-radius:16px;box-shadow:0 30px 70px -30px rgba(16,18,22,.35);padding:9px;flex-direction:column;gap:1px;max-height:min(72vh,640px);overflow-y:auto;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s;display:flex}
.rx-desknav li:hover>ul,.rx-desknav li:focus-within>ul{opacity:1;visibility:visible;transform:translateY(0)}
.rx-desknav li ul .rx-sub-head{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted2);font-weight:700;padding:9px 13px 8px}
.rx-desknav li ul a{color:var(--ink2);font-weight:600;font-size:14px;padding:10px 13px;border-radius:9px;display:block}
.rx-desknav li ul a:hover{background:#FBF1F0;color:var(--red)}
.rx-hdr-tel{text-decoration:none;color:var(--ink);font-weight:700;font-size:14.5px;white-space:nowrap}
.rx-burger{display:inline-flex;align-items:center;gap:9px;border:1px solid #D7DBE0;background:#fff;border-radius:10px;padding:9px 15px;cursor:pointer;font-family:inherit;font-weight:700;font-size:14px;color:var(--ink);transition:all .2s}
.rx-burger:hover{border-color:var(--red);color:var(--red)}
@media(min-width:1024px){.rx-desknav{display:block}.rx-burger{display:none}}
.rx-menu-toggle{position:absolute;opacity:0;pointer-events:none}
.rx-drawer-overlay{position:fixed;inset:0;background:rgba(16,18,22,.5);opacity:0;pointer-events:none;transition:opacity .22s;z-index:200}
.rx-drawer{position:fixed;top:0;right:0;height:100%;width:min(360px,88vw);background:#fff;box-shadow:-30px 0 80px -30px rgba(0,0,0,.4);transform:translateX(100%);transition:transform .3s cubic-bezier(.2,.8,.25,1);z-index:201;padding:22px 24px 28px;display:flex;flex-direction:column;overflow-y:auto}
.rx-menu-toggle:checked ~ .rx-drawer-overlay{opacity:1;pointer-events:auto}
.rx-menu-toggle:checked ~ .rx-drawer{transform:translateX(0)}
.rx-drawer nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.rx-drawer nav ul ul{padding-left:14px}
.rx-drawer nav a{text-decoration:none;color:var(--ink2);font-weight:600;font-size:15.5px;padding:11px 12px;border-radius:10px;transition:all .15s;display:block}
.rx-drawer nav a:hover{background:#FBF1F0;color:var(--red)}
.rx-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.rx-drawer-close{border:none;background:#F2F3F5;color:var(--ink);width:38px;height:38px;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1}
.rx-drawer-foot{margin-top:auto;padding-top:24px;border-top:1px solid var(--line)}
.rx-drawer-foot a{text-decoration:none;color:var(--ink);font-weight:800;font-size:19px}

/* Buttons */
.rx-btn{display:inline-flex;align-items:center;gap:10px;border:none;cursor:pointer;font-family:inherit;background:var(--red);color:#fff;padding:15px 28px;border-radius:12px;font-size:15px;font-weight:700;text-decoration:none;transition:all .2s}
.rx-btn:hover{background:var(--red-d);color:#fff;transform:translateY(-2px);box-shadow:0 16px 30px -14px rgba(218,41,28,.55)}
.rx-btn-ghost{display:inline-flex;align-items:center;gap:10px;border:1.5px solid #D7DBE0;color:var(--ink);font-weight:700;font-size:15px;padding:14px 26px;border-radius:12px;text-decoration:none;transition:all .2s;background:#fff}
.rx-btn-ghost:hover{border-color:var(--red);color:var(--red)}

/* Hero / sections */
.rx-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.rx-eyebrow i{display:block;width:44px;height:3px;border-radius:3px;background:var(--red)}
.rx-eyebrow span{font-family:var(--mono);font-size:12px;letter-spacing:.14em;color:var(--red);text-transform:uppercase}
h1.rx-h1{font-weight:800;letter-spacing:-.03em;font-size:clamp(32px,4.4vw,56px);line-height:1.04;margin:0 0 18px}
h2.rx-h2{font-weight:800;letter-spacing:-.02em;font-size:clamp(24px,2.6vw,32px);margin:0}
.rx-lead{max-width:60ch;color:var(--ink3);font-size:16.5px;line-height:1.65;text-wrap:pretty}
.rx-section{padding:56px 0 8px}
.rx-hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.rx-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding:56px 0 64px}
@media(max-width:960px){.rx-hero-grid{grid-template-columns:1fr}}
.rx-grid-bg{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#14171C0a 1px,transparent 1px),linear-gradient(90deg,#14171C0a 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(circle at 30% 20%,#000,transparent 70%);mask-image:radial-gradient(circle at 30% 20%,#000,transparent 70%)}
@keyframes rxAurora{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(40px,26px) scale(1.08)}}
.rx-aurora{position:absolute;top:-40%;left:-8%;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(218,41,28,.13),rgba(218,41,28,0) 62%);animation:rxAurora 16s ease-in-out infinite;pointer-events:none}
@keyframes rxHueShift{0%{background-position:0% 50%}100%{background-position:200% 50%}}
@keyframes rxShimmer{0%{transform:translateX(-120%)}100%{transform:translateX(220%)}}
@keyframes rxFieldIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes rxTick{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes rxBlink{0%,100%{opacity:1}50%{opacity:.25}}

/* Form card */
.rx-form-card-ring{padding:2px;border-radius:20px;background:linear-gradient(115deg,#DA291C,#FF6A3D,#F2B8B2,#DA291C);background-size:300% 300%;animation:rxHueShift 8s linear infinite alternate;box-shadow:0 44px 90px -42px rgba(218,41,28,.45)}
.rx-form-card{background:#fff;border-radius:18px;overflow:hidden}
.rx-form-head{position:relative;display:flex;align-items:center;justify-content:space-between;background:var(--dark);color:#EDEFF2;padding:15px 22px;overflow:hidden}
.rx-form-head b{font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:#C7CCD4;font-weight:400}
.rx-form-head em{display:flex;align-items:center;gap:7px;font-family:var(--mono);font-size:11px;color:#FF8C7E;font-style:normal}
.rx-form-head em i{width:7px;height:7px;border-radius:50%;background:#34D17E;animation:rxBlink 1.6s ease-in-out infinite}
.rx-form-body{padding:26px 24px 24px}
.rx-form{display:flex;flex-direction:column;gap:12px}
.rx-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:520px){.rx-form-row{grid-template-columns:1fr}}
.rx-input,.rx-form input,.rx-form textarea{background:var(--soft2);border:1.5px solid #E4E7EB;color:var(--ink);padding:14px 16px;border-radius:10px;font-family:inherit;font-size:15px;transition:border-color .2s,background .2s,box-shadow .2s;width:100%}
.rx-form input:focus,.rx-input:focus,.rx-form textarea:focus{outline:none;border-color:var(--red);background:#fff;box-shadow:0 0 0 4px rgba(218,41,28,.1)}
.rx-submit{position:relative;overflow:hidden;border:none;background:linear-gradient(115deg,#DA291C,#FF6A3D,#DA291C);background-size:200% 200%;color:#fff;padding:16px;border-radius:10px;font-family:inherit;font-size:15.5px;font-weight:700;cursor:pointer;box-shadow:0 14px 30px -12px rgba(218,41,28,.6);transition:transform .2s,box-shadow .2s;animation:rxHueShift 6s linear infinite alternate;width:100%}
.rx-submit:hover{transform:translateY(-2px);box-shadow:0 20px 40px -12px rgba(218,41,28,.7)}
.rx-submit i{position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.4),transparent);animation:rxShimmer 2.6s ease-in-out infinite;pointer-events:none}
.rx-consent{margin:4px 0 0;font-size:12px;line-height:1.5;color:#6A7280;text-align:center}
.rx-consent a{color:inherit;text-decoration:underline}
label.rx-consent{display:flex;gap:8px;align-items:flex-start;text-align:left}
label.rx-consent input[type=checkbox]{width:16px;height:16px;flex:none;margin:3px 0 0;accent-color:#DA291C}
label.rx-consent span{flex:1 1 auto}
.rx-sent{padding:28px 6px}
.rx-sent-tick{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#DA291C,#FF6A3D);display:flex;align-items:center;justify-content:center;box-shadow:0 16px 34px -12px rgba(218,41,28,.7);animation:rxTick .5s both}

/* Cards / grids */
.rx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px;margin-top:26px}
.rx-card{text-decoration:none;color:var(--ink);background:#fff;border:1px solid var(--line2);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s,border-color .25s}
.rx-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px -28px rgba(20,23,28,.4);border-color:#E0D3D1;color:var(--ink)}
.rx-card-img{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#EDEFF2}
.rx-card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rx-card-body{display:flex;flex-direction:column;gap:8px;padding:18px 18px 20px}
.rx-card-cat{font-family:var(--mono);font-size:11px;font-weight:700;color:var(--red)}
.rx-card-title{font-weight:800;font-size:16.5px;line-height:1.3}
.rx-card-more{font-weight:700;font-size:13.5px;color:var(--red)}
.rx-chip{display:inline-block;text-decoration:none;color:var(--ink2);font-weight:600;font-size:13.5px;border:1px solid #E1E4E8;border-radius:100px;padding:8px 14px;transition:all .15s;background:#fff;cursor:pointer;font-family:inherit}
.rx-chip:hover,.rx-chip.is-active{border-color:var(--red);color:var(--red);background:#FBF1F0}

/* Dark CTA */
.rx-cta{position:relative;overflow:hidden;background:var(--dark);color:#EDEFF2;border-radius:18px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:48px 0 72px}
.rx-cta h2{margin:0;font-weight:800;font-size:clamp(24px,2.6vw,32px);letter-spacing:-.02em}
/* Keep the page enquiry readable on its dark panel under the site-wide colour presets. */
/* On opening, make the dialog immediately focusable while the opacity fades in. */
#rx-modal.rx-modal-overlay.on{transition-property:opacity}
/* Inline badge and the close control share the first row on narrow screens. */
@media(max-width:860px){
  #rx-modal .rx-modal-l > span:first-child{max-width:calc(100% - 44px);box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
}
.rx-enc-hero .rx-hero-facts .rx-hf > span{display:block;margin-bottom:3px}
@layer redicoBento {
html[data-rx-reference="1"] body:has(#rx-sticky-cta.on) .rr-mobile-cta{display:none!important}
body .rx-page-enquiry.rx-cta h2{color:#F5F7FA!important}
body .rx-page-enquiry.rx-cta p,
body .rx-page-enquiry.rx-cta .rx-form label,
body .rx-page-enquiry.rx-cta .rx-form .rx-consent a{color:#D1D8E1!important}
}
.rx-page-enquiry .rx-consent a{text-decoration:underline}
.rx-cta p{margin:10px 0 0;color:#A8AEB8;font-size:16px;max-width:48ch;line-height:1.6}
@media(max-width:620px){.rx-cta{flex-direction:column;align-items:flex-start;padding:32px 24px}}

/* Footer */
.rx-footer{border-top:1px solid var(--line)}
.rx-footer-in{padding:26px 0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px;color:var(--muted2)}
.rx-footer a{color:inherit;text-decoration:underline}
.rx-footer a.rx-footer-brand{color:var(--red);text-decoration:none;font-weight:700}

/* Generic page content (Gutenberg) */
.rx-prose{max-width:820px;font-size:16px;line-height:1.7;color:var(--ink2)}
.rx-prose h2{font-weight:800;letter-spacing:-.01em;font-size:26px;color:var(--ink);margin:36px 0 12px}
.rx-prose h3{font-weight:800;font-size:20px;color:var(--ink);margin:28px 0 10px}
.rx-prose img{border-radius:14px}
.rx-prose blockquote{border-left:3px solid var(--red);margin:20px 0;padding:12px 20px;background:#FBF1F0;border-radius:0 10px 10px 0}
.rx-prose table{border-collapse:collapse;width:100%}
.rx-prose td,.rx-prose th{border:1px solid var(--line2);padding:10px 14px;text-align:left;font-size:14.5px}
.rx-prose th{background:var(--soft)}
.rx-breadcrumb{font-family:var(--mono);font-size:13px;color:var(--muted);padding-top:40px}
.rx-breadcrumb a{color:var(--red);text-decoration:none}

/* Registry */
.rx-reg-card{background:#fff;border:1px solid #E6E8EC;border-radius:18px;box-shadow:0 30px 64px -44px rgba(20,23,28,.26);overflow:hidden;margin-top:34px}
.rx-reg-top{display:flex;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #F2F3F5;flex-wrap:wrap}
.rx-reg-top .rx-input{flex:1;min-width:240px;width:auto}
.rx-reg-count{font-family:var(--mono);font-size:12.5px;color:var(--muted2);white-space:nowrap}
.rx-reg-list{max-height:640px;overflow:auto}
.rx-reg-group{position:sticky;top:0;z-index:1;background:#FAFBFC;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 24px;font-family:var(--mono);font-size:11.5px;letter-spacing:.05em;color:#6A7280;font-weight:700}
.rx-reg-row{display:grid;grid-template-columns:130px 1fr 250px;gap:16px;padding:18px 24px;border-top:1px solid #F2F3F5;align-items:start}
@media(max-width:860px){.rx-reg-row{grid-template-columns:1fr;gap:6px}}
.rx-reg-code{font-family:var(--mono);font-size:13.5px;font-weight:700;color:var(--red);line-height:1.4}
.rx-reg-title{text-decoration:none;color:var(--ink);font-weight:700;font-size:15px;line-height:1.35;display:inline-block;border-bottom:1px dashed rgba(20,23,28,.25)}
.rx-reg-title:hover{color:var(--red);border-bottom:1px solid var(--red)}
.rx-reg-note{font-size:12.5px;line-height:1.5;color:#8B919B;margin-top:5px}
.rx-reg-badge{display:inline-block;font-family:var(--mono);font-size:10.5px;letter-spacing:.04em;color:var(--red);background:rgba(218,41,28,.08);padding:3px 9px;border-radius:100px;margin-bottom:6px}
.rx-reg-form{font-size:13px;line-height:1.45}
.rx-reg-form a{color:#454C57;text-decoration:none;border-bottom:1px dashed rgba(69,76,87,.35)}
.rx-reg-form a:hover{color:var(--red);border-bottom:1px solid var(--red)}

/* Product page */
.rx-prod-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;margin-top:26px}
.rx-prod-hero > :only-child{grid-column:1/-1}
@media(max-width:900px){.rx-prod-hero{grid-template-columns:1fr}}
.rx-prod-img{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:4/3;background:#EDEFF2;box-shadow:0 30px 60px -30px rgba(20,23,28,.35)}
.rx-prod-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rx-badge-pill{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid #EAE0DE;border-radius:100px;padding:7px 15px;font-family:var(--mono);font-size:11.5px;font-weight:700;color:var(--red)}
.rx-doc-chip{display:inline-flex;align-items:center;gap:8px;background:var(--soft);border:1px solid var(--line2);border-radius:10px;padding:9px 14px;font-family:var(--mono);font-size:12.5px;font-weight:700;color:var(--ink2)}
.rx-kv{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.rx-kv>div{background:var(--soft);border:1px solid var(--line2);border-radius:12px;padding:14px 18px;min-width:180px}
.rx-kv b{font-family:var(--mono);font-size:11px;color:var(--muted);font-weight:400;display:block}
.rx-kv span{font-weight:800;font-size:15.5px;margin-top:5px;display:block}
.rx-test-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:20px;margin-top:26px}
@media(max-width:860px){.rx-test-grid{grid-template-columns:1fr}}
.rx-test-col{background:#fff;border:1px solid var(--line2);border-radius:16px;padding:26px 24px}
.rx-test-col.alt{background:#FAFBFC;border-color:#E9EBEF}
.rx-test-label{font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;color:var(--red);font-weight:700}
.rx-gost-row{display:flex;gap:13px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid #F2F3F5;margin-top:12px}
.rx-gost-row b{flex:0 0 auto;font-family:var(--mono);font-weight:700;font-size:12px;color:var(--red);white-space:nowrap;margin-top:1px}
.rx-gost-row span{font-size:14px;line-height:1.5;color:var(--ink2)}
.rx-ind{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #E6E8EC;border-radius:100px;padding:8px 14px;font-size:13.5px;font-weight:600;color:var(--ink2);margin:0 9px 9px 0}
.rx-ind i{width:6px;height:6px;border-radius:50%;background:var(--red)}
.rx-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:26px}
.rx-step{background:#fff;border:1px solid var(--line2);border-radius:14px;padding:22px}
.rx-step b{font-family:var(--mono);font-weight:700;font-size:13px;color:var(--red)}
.rx-step h3{font-weight:800;font-size:16.5px;margin:10px 0 0}
.rx-step p{margin:8px 0 0;font-size:13.5px;line-height:1.55;color:#5A626E}

/* 404 */
.rx-404{font-family:var(--mono);font-weight:700;font-size:clamp(90px,16vw,200px);line-height:1;letter-spacing:-.04em;color:#F2F3F5;-webkit-text-stroke:2px var(--red)}

/* Stats */
.rx-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:24px;margin-top:40px}
.rx-stats b{font-weight:800;font-size:clamp(34px,3vw,46px);line-height:1;letter-spacing:-.02em;display:block}
.rx-stats b em{color:var(--red);font-style:normal}
.rx-stats span{margin-top:9px;font-size:13.5px;color:#6A7280;display:block;line-height:1.4}


/* === v3: полный дизайн Redico Tech === */
.rx-hdr-tag{font-family:'JetBrains Mono',monospace;font-size:10.5px;color:#9AA1AC;letter-spacing:.08em;border-left:1px solid #E4E7EB;padding-left:14px;line-height:1.3;display:none}
@media(min-width:1200px){.rx-hdr-tag{display:block}}
.rx-hdr-cta{display:none;text-decoration:none;background:#14171C;color:#fff;padding:11px 22px;border-radius:9px;font-size:14px;font-weight:700;white-space:nowrap;transition:all .2s}
.rx-hdr-cta:hover{background:var(--red);color:#fff;transform:translateY(-2px);box-shadow:0 10px 24px -8px rgba(218,41,28,.55)}
@media(min-width:1024px){.rx-hdr-cta{display:inline-block}}
.rx-desknav li.rx-cols-2>ul{display:grid;grid-template-columns:repeat(2,minmax(230px,1fr));min-width:560px;gap:2px}
.rx-desknav li ul a{white-space:normal;line-height:1.35}
.rx-desknav li.rx-cols-2>ul .rx-sub-head{grid-column:1/-1}

/* Мега-меню «ТР ТС ЕАС»: колонки по тематике вместо плоского списка. position:fixed центрирует панель по viewport (не по triggerʼу) — никогда не уезжает за край экрана, что бы далеко в nav ни стоял пункт. */
.rx-mega{position:fixed;top:82px;left:50%;transform:translateX(-50%) translateY(10px);width:min(1180px,94vw);background:#fff;border:1px solid #EAECEF;border-radius:18px;box-shadow:0 34px 80px -30px rgba(16,18,22,.38);padding:26px 28px 20px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:2px 20px;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;max-height:76vh;overflow-y:auto;overflow-x:hidden}
.rx-desknav li:hover>.rx-mega,.rx-desknav li:focus-within>.rx-mega{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.rx-mega-col{display:flex;flex-direction:column;gap:1px;min-width:0;padding-right:18px;border-right:1px solid var(--line)}
.rx-mega-col:last-of-type{border-right:none;padding-right:0}
.rx-mega-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px 12px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.rx-mega-h span{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--red);font-weight:700;line-height:1.3}
.rx-mega-h i{font-style:normal;font-family:'JetBrains Mono',monospace;font-size:10px;color:var(--muted2);background:var(--soft);border-radius:100px;padding:2px 7px;flex:0 0 auto}
.rx-mega-item{display:flex;align-items:baseline;gap:9px;min-width:0;overflow-wrap:anywhere;text-decoration:none;color:var(--ink2);font-size:13px;font-weight:600;padding:7px 6px;border-radius:8px;line-height:1.3;transition:background .15s,color .15s;white-space:normal}
.rx-mega-item b{font-family:'JetBrains Mono',monospace;font-weight:700;font-size:10.5px;color:#B0B6BE;flex:0 0 auto;min-width:24px;transition:color .15s}
.rx-mega-item:hover{background:#FBF1F0;color:var(--red)}
.rx-mega-item:hover b{color:var(--red)}
.rx-mega-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.rx-mega-foot span{font-size:12px;color:var(--muted2)}
.rx-mega-foot a{font-size:13px;font-weight:700;color:var(--red);text-decoration:none;white-space:normal}
.rx-mega-foot a:hover{text-decoration:underline}
@media(max-width:1360px){.rx-mega{gap:2px 16px;padding:22px 22px 16px}.rx-mega-col{padding-right:14px}}
@media(max-width:1180px){.rx-mega{width:97vw;gap:2px 12px;padding:18px 18px 14px}.rx-mega-col{padding-right:10px}.rx-mega-item{font-size:12.5px;padding:6px 4px}}
.rx-drawer-group{padding-top:12px}
.rx-drawer-label{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:#9AA1AC;font-weight:700;padding:8px 12px 2px}
.rx-drawer-top{display:block;text-decoration:none;color:var(--ink);font-weight:800;font-size:15.5px;padding:10px 12px;border-radius:10px}
.rx-drawer-top:hover{background:#FBF1F0;color:var(--red)}
.rx-drawer-sub{display:flex;flex-direction:column}
.rx-drawer-sub .rx-mega-item{font-size:14px;font-weight:600;padding:9px 12px;color:var(--ink2)}
.rx-drawer-sub .rx-mega-item b{font-size:11px;min-width:30px}
.rx-drawer-sub a{text-decoration:none;color:var(--ink2);font-weight:600;font-size:14px;padding:9px 12px;border-radius:8px}
.rx-drawer-sub a:hover{background:#FBF1F0;color:var(--red)}
.rx-drawer-acc{border-bottom:1px solid var(--line)}
.rx-drawer-acc summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:var(--ink);font-weight:800;font-size:15.5px;padding:13px 12px;border-radius:10px;transition:all .15s}
.rx-drawer-acc summary::-webkit-details-marker{display:none}
.rx-drawer-acc summary:hover{background:#FBF1F0;color:var(--red)}
.rx-acc-meta{display:inline-flex;align-items:center;gap:8px;font-family:'JetBrains Mono',monospace;font-size:11px;color:#9AA1AC;font-weight:700}
.rx-acc-chev{transition:transform .2s}
.rx-drawer-acc[open]>summary{color:var(--red)}
.rx-drawer-acc[open]>summary .rx-acc-chev{transform:rotate(180deg)}
.rx-drawer-acc .rx-drawer-sub{padding:0 0 12px}

.rx-sitefoot{background:#101216;color:#EDEFF2;margin-top:72px;scroll-margin-top:80px}
.rx-sitefoot .rx-wrap{padding-top:64px}
.rx-foot-cta{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding-bottom:56px;border-bottom:1px solid #1E2126}
@media(max-width:960px){.rx-foot-cta{grid-template-columns:1fr}}
.rx-foot-inp{background:#16181D;border:1px solid #2C2F36;color:#EDEFF2;padding:15px 16px;border-radius:10px;font-family:inherit;font-size:15px;transition:border-color .2s;width:100%;box-sizing:border-box}
.rx-foot-inp:focus{border-color:var(--red);outline:none}
.rx-foot-btn{border:none;background:var(--red);color:#fff;padding:16px;border-radius:10px;font-family:inherit;font-size:15.5px;font-weight:700;cursor:pointer;transition:all .2s}
.rx-foot-btn:hover{background:var(--red-d);transform:translateY(-2px);box-shadow:0 14px 30px -10px rgba(218,41,28,.6)}
.rx-foot-cols{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px;padding:48px 0 26px}
@media(max-width:860px){.rx-foot-cols{grid-template-columns:1fr}}
.rx-foot-h{font-family:'JetBrains Mono',monospace;font-size:11.5px;letter-spacing:.14em;color:#6B7280;margin-bottom:16px}
.rx-foot-links{display:flex;flex-direction:column;gap:11px;font-size:14px}
.rx-foot-links a{text-decoration:none;color:#C7CCD4;transition:color .15s}
.rx-foot-links a:hover{color:#fff}
.rx-foot-req{border-top:1px solid #1E2126;padding:26px 0 4px}
.rx-foot-req-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px 32px;font-size:13px;line-height:1.5;padding-bottom:22px}
.rx-foot-req-grid span{color:#6B7280}
.rx-foot-req-grid b{color:#C7CCD4;font-weight:500}
.rx-foot-bottom{border-top:1px solid #1E2126;padding:20px 0 24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:#6B7280}
.rx-foot-bottom a{color:#6B7280;text-decoration:none}
.rx-foot-bottom a:hover{color:#C7CCD4}

@keyframes rxAurora{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(40px,26px) scale(1.08)}}
@keyframes rxAurora2{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-36px,20px) scale(1.06)}}
@keyframes rxPulse{0%,100%{box-shadow:0 0 0 0 rgba(218,41,28,.35)}55%{box-shadow:0 0 0 8px rgba(218,41,28,0)}}
@keyframes rxBlink{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes rxMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes rxScan{0%{top:-20%}100%{top:120%}}
@keyframes rxFloatA{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes rxFloatB{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
@keyframes rxTick{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes rxHueShift{0%{background-position:0% 50%}100%{background-position:200% 50%}}
@keyframes rxShimmer{0%{transform:translateX(-120%)}100%{transform:translateX(220%)}}
@keyframes rxSpin{to{transform:rotate(360deg)}}
@keyframes rxWordIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
/* Copy remains readable when scripting is unavailable or a long block never reaches the observer threshold. */
@media(prefers-reduced-motion:no-preference){
  [data-rv].rx-on{animation:rxReveal .32s ease-out}
  @keyframes rxReveal{from{transform:translateY(6px)}to{transform:none}}
}
.rx-eyebrow2{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.rx-eyebrow2 i{display:block;width:44px;height:3px;border-radius:3px;background:var(--red)}
.rx-eyebrow2 span{font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:.14em;color:var(--red)}
.rx-h2b{font-weight:800;letter-spacing:-.03em;font-size:clamp(30px,3.8vw,50px);line-height:1.05;margin:0}

/* Формы (общие для всех шаблонов) */
.rx-hero-inp{background:#F7F8FA;border:1.5px solid #E4E7EB;color:#14171C;padding:14px 16px;border-radius:10px;font-family:inherit;font-size:15px;transition:all .2s;width:100%;box-sizing:border-box}
.rx-hero-inp:focus{border-color:#DA291C;background:#fff;box-shadow:0 0 0 4px rgba(218,41,28,.1);outline:none}
.rx-res-link{display:flex;align-items:center;gap:12px;margin-top:10px;padding:13px 16px;border:1px dashed #D7DBE0;border-radius:10px;text-decoration:none;transition:all .2s}
.rx-res-link:hover{border-color:#DA291C;background:#FBF1F0}
.rx-origin label{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;gap:8px;padding:12px 10px;border-radius:10px;font-size:13.5px;font-weight:700;cursor:pointer;transition:all .18s;line-height:1.25;background:#F7F8FA;border:1.5px solid #E4E7EB;color:#5A626E}
.rx-origin label.on{background:rgba(218,41,28,.07);border-color:#DA291C;color:#DA291C}

/* Блог — пагинация архива */
.pagination{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:44px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid #E4E7EB;border-radius:10px;text-decoration:none;color:var(--ink2);font-weight:700;font-size:14px;transition:all .15s}
.pagination .page-numbers:hover{border-color:var(--red);color:var(--red)}
.pagination .page-numbers.current{background:var(--red);border-color:var(--red);color:#fff}
.pagination .page-numbers.dots{border-color:transparent}

/* ═══ Каталог продукции: категории-ссылки, карточки, пагинация, шаги, FAQ ═══ */
.rx-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.rx-chip i{font-style:normal;font-family:var(--mono);font-size:10.5px;opacity:.5;margin-left:7px}
.rx-card-ex{font-size:13.5px;line-height:1.5;color:var(--ink3)}
.rx-pag{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center;margin:34px 0 0}
.rx-pag a,.rx-pag span{min-width:42px;text-align:center;padding:10px 12px;border-radius:10px;border:1px solid #E1E4E8;background:#fff;color:var(--ink2);text-decoration:none;font-weight:700;font-size:14px;font-family:var(--mono)}
.rx-pag a:hover{border-color:var(--red);color:var(--red)}
.rx-pag .is-cur{background:var(--red);border-color:var(--red);color:#fff}
.rx-pag .gap{border-color:transparent;background:none;color:var(--muted2);min-width:0;padding:10px 2px}
.rx-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(238px,1fr));gap:18px;margin-top:26px}
.rx-step{background:#fff;border:1px solid var(--line2);border-radius:16px;padding:24px 22px}
.rx-step-n{font-family:var(--mono);font-size:13px;font-weight:700;color:var(--red)}
.rx-step p{margin:12px 0 0;font-size:14.5px;line-height:1.6;color:var(--ink2)}
.rx-faq{margin-top:22px;border-top:1px solid var(--line2)}
.rx-faq-item{border-bottom:1px solid var(--line2)}
.rx-faq-item summary{cursor:pointer;list-style:none;padding:18px 2px;font-weight:800;font-size:16.5px;display:flex;justify-content:space-between;gap:16px;align-items:baseline}
.rx-faq-item summary::-webkit-details-marker{display:none}
.rx-faq-item summary::after{content:'+';color:var(--red);font-weight:700;font-size:20px;line-height:1}
.rx-faq-item[open] summary::after{content:'–'}
.rx-faq-item p{margin:0 0 20px;font-size:15px;line-height:1.65;color:var(--ink3);max-width:92ch;text-wrap:pretty}
.rx-cat-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:24px}
.rx-cat-links a{display:block;background:#fff;border:1px solid var(--line2);border-radius:14px;padding:18px 20px;text-decoration:none;transition:all .18s}
.rx-cat-links a:hover{border-color:var(--red);transform:translateY(-2px)}
.rx-cat-links b{display:block;font-size:15.5px;font-weight:800;color:var(--ink);line-height:1.35}
.rx-cat-links span{display:block;margin-top:6px;font-family:var(--mono);font-size:11.5px;color:var(--muted2)}

/* ═══ Энциклопедия ═══ */
.rx-chip-wiki{border-style:dashed}
.rx-chip-wiki.is-active{border-style:solid}
.rx-article{max-width:82ch;margin-top:34px}
.rx-article h2.rx-h2{font-size:clamp(20px,2.2vw,26px);margin:38px 0 0}
.rx-article h2.rx-h2:first-child{margin-top:0}
.rx-article p{margin:14px 0 0;font-size:16px;line-height:1.7;color:var(--ink2);text-wrap:pretty}
.rx-article ul{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.rx-article li{position:relative;padding-left:22px;font-size:15.5px;line-height:1.6;color:var(--ink2)}
.rx-article li::before{content:'';position:absolute;left:2px;top:9px;width:6px;height:6px;border-radius:50%;background:var(--red)}
.rx-tbl{margin-top:18px;background:#fff;border:1px solid var(--line2);border-radius:14px;overflow:hidden}
.rx-tbl table{width:100%;border-collapse:collapse}
.rx-tbl th{width:32%;text-align:left;vertical-align:top;padding:14px 18px;font-family:var(--mono);font-size:12.5px;font-weight:700;color:var(--red);border-top:1px solid #F2F3F5}
.rx-tbl td{padding:14px 18px;font-size:14.5px;line-height:1.55;color:var(--ink2);border-top:1px solid #F2F3F5}
.rx-tbl tr:first-child th,.rx-tbl tr:first-child td{border-top:0}
@media(max-width:640px){.rx-tbl th,.rx-tbl td{display:block;width:auto;border-top:0;padding:12px 16px 0}.rx-tbl td{padding-bottom:12px}.rx-tbl tr+tr th{border-top:1px solid #F2F3F5;padding-top:14px}}

.rx-card-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#16181D,#2A2D33)}
.rx-card-ph-mark{font-family:var(--mono);font-weight:800;font-size:14px;letter-spacing:.06em;color:#FF8C7E;opacity:.9}
.rx-card-ph-mark i{color:#fff;font-style:normal}
.rx-card-img img{position:absolute;inset:0;z-index:1}
.rx-card-img[data-cat="food"] .rx-card-ph{background:linear-gradient(135deg,#1B2016,#2C3327)}
.rx-card-img[data-cat="build"] .rx-card-ph{background:linear-gradient(135deg,#201A16,#332A22)}
.rx-card-img[data-cat="equip"] .rx-card-ph{background:linear-gradient(135deg,#161B20,#222C33)}

/* ═══ Поиск по энциклопедии ═══ */
.rx-wsearch{display:flex;flex-direction:column;gap:12px}
.rx-wsearch-fld{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #D8DBE0;border-radius:14px;padding:0 16px;height:56px;transition:border-color .18s,box-shadow .18s}
.rx-wsearch-fld:focus-within{border-color:#DA291C;box-shadow:0 0 0 4px rgba(218,41,28,.09)}
.rx-wsearch-fld svg{flex:0 0 auto;color:#9AA1AC}
.rx-wsearch-fld input{flex:1 1 auto;min-width:0;border:0;outline:0;background:none;font:600 16px/1.3 inherit;color:#14171C;-webkit-appearance:none;appearance:none}
.rx-wsearch-fld input::-webkit-search-cancel-button{display:none}
.rx-wsearch-fld input::placeholder{color:#9AA1AC;font-weight:500}
.rx-wsearch-fld button{flex:0 0 auto;width:30px;height:30px;border:0;border-radius:8px;background:#F2F3F5;color:#5A626E;font-size:19px;line-height:1;cursor:pointer;transition:background .15s,color .15s}
.rx-wsearch-fld button:hover{background:#DA291C;color:#fff}
.rx-wsearch-tags{display:flex;flex-wrap:wrap;gap:8px}
.rx-wsearch-tags button{border:1px solid #E3E6EA;background:#fff;border-radius:100px;padding:7px 14px;font:600 13px/1 inherit;color:#5A626E;cursor:pointer;transition:all .16s}
.rx-wsearch-tags button:hover{border-color:#14171C;color:#14171C}
.rx-wsearch-tags button.is-active{background:#14171C;border-color:#14171C;color:#fff}
.rx-wsearch-stat{margin:0;font-family:'JetBrains Mono',monospace;font-size:12.5px;letter-spacing:.02em;color:#8A919B}
.rx-wsearch-empty{margin-top:38px;border:1px dashed #D8DBE0;border-radius:18px;padding:34px 28px;text-align:center}
.rx-wsearch-empty b{display:block;font-weight:800;font-size:20px;letter-spacing:-.01em}
.rx-wsearch-empty p{margin:10px auto 20px;max-width:58ch;color:#5A626E;font-size:15px;line-height:1.6}
@media(max-width:640px){.rx-wsearch-fld{height:52px;padding:0 13px}.rx-wsearch-fld input{font-size:15px}}

/* ═══ Страницы кодов ТН ВЭД ═══ */
.rx-kod-forms{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px}
.rx-kod-forms span{font-family:'JetBrains Mono',monospace;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:#8A919B}
.rx-kod-forms i{font-style:normal;background:#F7F8F9;border:1px solid #ECEEF1;border-radius:100px;padding:6px 13px;font-size:13px;font-weight:600;color:#3A4049}
.rx-kod-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.rx-kod-nav a{border:1px solid #D8DBE0;border-radius:10px;padding:10px 16px;font-size:13.5px;font-weight:700;color:#14171C;text-decoration:none;transition:all .16s}
.rx-kod-nav a:hover{border-color:#DA291C;color:#DA291C}
.rx-kod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.rx-kod-grid a{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:2px 10px;background:#fff;border:1px solid #E9EBEF;border-radius:12px;padding:13px 15px;text-decoration:none;transition:all .16s}
.rx-kod-grid a:hover{border-color:#DA291C;box-shadow:0 14px 30px -20px rgba(20,23,28,.3)}
.rx-kod-grid b{font-family:'JetBrains Mono',monospace;font-size:15px;font-weight:700;color:#14171C;letter-spacing:.02em}
.rx-kod-grid i{grid-row:1;grid-column:2;font-style:normal;font-family:'JetBrains Mono',monospace;font-size:11.5px;color:#9AA1AC}
.rx-kod-grid span{grid-column:1/-1;font-size:13px;line-height:1.45;color:#5A626E}

/* ═══ Хабы разделов: /uslugi/ и /tr-ts/ ═══ */
.rx-hub-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:48px 0 18px}
.rx-hub-h span{font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--muted2);text-align:right}
.rx-hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.rx-hub-grid a{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid var(--line2);border-radius:14px;padding:18px 20px;text-decoration:none;transition:all .18s}
.rx-hub-grid a:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:0 18px 36px -26px rgba(20,23,28,.3)}
.rx-hub-grid b{font-size:15.5px;font-weight:800;letter-spacing:-.01em;line-height:1.3;color:var(--ink)}
.rx-hub-grid span{font-size:13.5px;line-height:1.5;color:var(--ink3)}
.rx-hub-grid i{font-style:normal;font-family:var(--mono);font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--red);margin-top:auto;padding-top:4px}
.rx-wgroup{scroll-margin-top:92px}

/* ═══ Мобильная адаптация: правки после аудита ═══ */
html,body{overflow-x:clip;max-width:100%}
@media(max-width:768px){
  /* iOS не зумит поле при фокусе только при размере шрифта 16px и больше */
  .rx-input,.rx-form input,.rx-form textarea,.rx-foot-inp,.rx-modal-inp,.rx-hero-inp,.rx-wsearch-fld input{font-size:16px}
  .rx-form-row,.rx-frm3,.rx-2col-g{grid-template-columns:1fr !important}
  .rx-reg-top{flex-wrap:wrap;gap:10px}
  .rx-reg-top .rx-input{flex:1 1 100%;min-width:0}
  .rx-kod-grid{grid-template-columns:1fr 1fr}
  .rx-kod-nav a{flex:1 1 auto;text-align:center}
  .rx-wsearch-tags{gap:7px}
  .rx-wsearch-tags button{padding:7px 12px;font-size:12.5px}
}
@media(max-width:480px){
  .rx-kod-grid{grid-template-columns:1fr}
  .rx-wsearch-empty{padding:26px 18px}
  .rx-kod-forms i{font-size:12.5px;padding:5px 11px}
}
/* Тап-таргеты не меньше 44px на мобильных */
@media(max-width:768px){
  .rx-btn,.rx-btn-ghost,.rx-foot-btn,.rx-modal-btn,.rx-submit{min-height:46px}
  .rx-kod-grid a{min-height:56px}
}

/* Навигация сведена к одной ссылке; на мобильном бургер открывает мегаменю услуг. */
.rx-desknav{display:block}
.rx-desknav a{white-space:normal}
.rx-drawer,.rx-drawer-overlay,.rx-menu-toggle{display:none}
.rx-burger[hidden]{display:none}
@media(max-width:1023px){.rx-desknav a{font-size:13px;padding:8px 10px;line-height:1.3}.rx-burger{display:inline-flex}}
@media(min-width:1024px){.rx-burger{display:none}}

/* SEO-текст на странице направления каталога */
.rx-prose{max-width:84ch;font-size:15.5px;line-height:1.72;color:#3A4049}
.rx-prose h2{font-size:clamp(21px,2.4vw,28px);font-weight:800;letter-spacing:-.015em;color:var(--ink);margin:0 0 14px}
.rx-prose h3{font-size:17.5px;font-weight:800;letter-spacing:-.01em;color:var(--ink);margin:26px 0 8px}
.rx-prose p{margin:0 0 13px}
.rx-prose ul{margin:0 0 14px;padding-left:22px}
.rx-prose li{margin:0 0 7px}
.rx-prose a{color:var(--red)}



/* RX-FIX-CHIP:START */
html body:not(.home):not(.redico-page-proverka-sertifikata) .rxh-uni-host + .rx-wrap > .rx-prose > h2::before{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:auto!important;height:auto!important;min-width:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;border-radius:8px!important}
html body:not(.home):not(.redico-page-proverka-sertifikata) .rxh-uni-host + .rx-wrap > .rx-prose > h2{padding-left:0!important}
html body:not(.home):not(.redico-page-proverka-sertifikata) .rxh-uni-host + .rx-wrap > .rx-prose > *{max-width:760px!important;box-sizing:border-box!important}
/* RX-FIX-CHIP:END */


/* REDICO sticky megamenu 2026-10-26 */
rx-megamenu{position:sticky!important;top:0;z-index:1200}
header.rx-header{top:64px!important}
body.admin-bar rx-megamenu{top:32px}
body.admin-bar header.rx-header{top:96px!important}
@media screen and (max-width:1022px){header.rx-header{top:46px!important}body.admin-bar header.rx-header{top:78px!important}}
@media screen and (max-width:782px){body.admin-bar rx-megamenu{top:46px}body.admin-bar header.rx-header{top:92px!important}}
@media screen and (max-width:600px){body.admin-bar rx-megamenu{top:0}body.admin-bar header.rx-header{top:46px!important}}

/* REDICO owner request 2026-10-29: remove the three-step decorative SVG across service pages. */
html body .rx-service svg.sv-art{display:none!important}

/* REDICO mobile/product repair 2026-11-01: start */
/* Breadcrumbs are inside this wrapper: keep the shared dark background on the hero only. */
html body.page-template-produkciya[class][class][class][class] > .rx-wrap:has(> .rx-prod-hero #rxh){background:#fff!important;background-image:none!important;color:#14171c!important}
html body.page-template-produkciya[class] > .rx-wrap > .rx-section{color:#14171c;background:#fff;min-width:0}
html body.page-template-produkciya[class] .rx-prose{color:#3a4049}
html body.page-template-produkciya[class] .rx-prose :is(h2,h3,h4){color:#14171c!important;overflow-wrap:anywhere}
html body.page-template-produkciya[class] .rx-prose table{background:#fff;color:#3a4049;max-width:100%;table-layout:fixed}
html body.page-template-produkciya[class] .rx-prose :is(td,th){color:#3a4049;overflow-wrap:anywhere;vertical-align:top}
html body.page-template-produkciya[class] .rx-prose td{background:#fff}
html body.page-template-produkciya[class] .rx-prose th{background:#f4f6f8;color:#202631}
@media(max-width:1100px){
/* The side rail is hidden here; do not reserve its old 44px gutter. */
html body.home.rx-side-ready[class][class][class][class][class][class]{padding-left:0!important;padding-right:0!important}
html body.home[class][class][class][class] > :is(#home-content,.rx-sitefoot){width:100%!important;max-width:100%!important;padding-right:0!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
html body.home[class][class][class][class] .rx-side-dock{display:none!important}
}
@media(max-width:767px){
html body.home[class][class][class][class] #home-content{min-width:0!important}
html body.home[class][class][class][class] #home-content > section:not(#rxh){box-sizing:border-box!important;width:100%!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important;min-width:0!important}
html body.home[class][class][class][class] #rxh .rxhm-hero-inner{box-sizing:border-box!important;width:100%!important;max-width:800px!important;margin:0 auto!important;padding-left:20px!important;padding-right:20px!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
html body.home[class][class][class] #home-content :is(.rxhm-hero-inner,.rx-2col-g,.rxhm-grid,.hm-cases-grid,.rxhm-proof,.rxhm-faq,.rxhm-request,.hm-hero-services-g) > *{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body.home[class][class][class] #rxh .rxhm-title{font-size:clamp(30px,7.5vw,42px)!important;line-height:1.12!important;overflow-wrap:anywhere!important}
html body.home[class][class][class] #rxh :is(.rxhm-kicker,.rxhm-proofbadge,.rxhm-hero-lead,.rxhm-note){max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body.home[class][class][class] #rxh .rxhm-kicker{font-size:10px!important;letter-spacing:.08em!important}
html body.home[class][class][class] #rxh .rxhm-hero-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:10px!important}
html body.home[class][class][class] #rxh .rxhm-hero-actions > a{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:48px!important;max-width:100%!important;white-space:normal!important;text-align:center!important;justify-content:center!important;line-height:1.45!important;padding:14px 16px!important;overflow-wrap:anywhere!important}
html body.home[class][class][class] #rxh .rxhm-hero-actions > a > span{flex:0 0 auto}
html body.home[class][class][class] #rxh .rxhm-hero-form{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:22px!important}
html body.home[class][class][class] #rxh .rxhm-sample{box-sizing:border-box!important;width:calc(100% - 40px)!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
html body.home[class][class][class] #rxh .hm-hero-bottom{box-sizing:border-box!important;width:100%!important;max-width:800px!important;margin:0 auto!important;padding-left:20px!important;padding-right:20px!important}
html body.home[class][class][class] #rxh :is(input,textarea,select,fieldset){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body.home[class][class][class] #home-content :is(h2,h3,p,summary){overflow-wrap:anywhere}
html body.home[class][class][class] #home-content .rxhm-grid,html body.home[class][class][class] #home-content .hm-cases-grid,html body.home[class][class][class] #home-content .rx-2col-g{grid-template-columns:minmax(0,1fr)!important}
html body.home[class][class][class] #rxh .hm-hero-services-g{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.page-template-produkciya[class] .rx-prose table.rx-brief th{width:34%}
html body.page-template-produkciya[class] .rx-prose :is(td,th){padding:12px;font-size:14px;line-height:1.6}
}
@media(max-width:380px){
html body.home[class][class][class] #rxh .hm-hero-services-g{grid-template-columns:minmax(0,1fr)!important}
html body.home[class][class][class] #rxh .rxhm-files{grid-template-columns:minmax(0,1fr)!important}
}
/* REDICO mobile/product repair 2026-11-01: end */

/* Exceed the two hero IDs contributed by :has()/:is() in the legacy shared-surface rule. */
html body.page-template-produkciya[class]:has(#rxh.rxh-uni) > .rx-wrap:has(> .rx-prod-hero #rxh){background:#fff!important;background-image:none!important;color:#14171c!important}

@media(max-width:767px){
html body.home[class][class][class] #home-dashboard .rx-dash-row{grid-template-columns:minmax(0,1fr)!important}
html body.home[class][class][class] #home-dashboard .rx-dash-card{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
}
@media(max-width:380px){
html body[class][class][class][class][class][class] .rx-header .rx-header-in{gap:4px!important;padding-left:10px!important;padding-right:10px!important}
html body[class][class][class][class][class][class] .rx-header .rx-header-in > div:first-child{min-width:78px!important;flex:0 0 78px!important}
html body[class][class][class][class][class][class] .rx-header .custom-logo{width:78px!important;max-width:78px!important;height:auto!important}
html body[class][class][class][class][class][class] .rx-header .rx-hdr-right{gap:4px!important;min-width:0!important}
html body[class][class][class][class][class][class] .rx-header :is(.rx-hdr-price,.rx-hdr-icon){width:34px!important;min-width:34px!important;flex:0 0 34px!important;padding:0!important}
html body[class][class][class][class][class][class] .rx-header .rx-hdr-cta{font-size:10px!important;padding:0 8px!important;white-space:normal!important;line-height:1.25!important;text-align:center!important;min-width:0!important}
}

/* Standalone theme: the sticky header has no separate services bar above it. */
header.rx-header.rx-header-standalone{top:0!important}
body.admin-bar header.rx-header.rx-header-standalone{top:32px!important}
@media(max-width:782px){body.admin-bar header.rx-header.rx-header-standalone{top:46px!important}}
@media(max-width:600px){body.admin-bar header.rx-header.rx-header-standalone{top:0!important}}
.rx-site-menu{position:relative}
.rx-site-menu summary{cursor:pointer;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:10px;background:#fff;color:#171a20;font-weight:700}
.rx-site-menu summary::-webkit-details-marker{display:none}
.rx-site-menu nav{position:absolute;z-index:200;inset:calc(100% + 4px) 0 auto auto;width:min(17rem,calc(100vw - 32px));max-height:65vh;overflow:auto;border:1px solid #d8dce1;border-radius:12px;background:#fff;padding:6px}
.rx-site-menu a{display:block;padding:10px 12px;line-height:1.5;color:#252a32;text-decoration:none;overflow-wrap:anywhere}
.rx-site-menu a:is(:hover,:focus-visible){background:#f6efed;color:#9b2018}
@media(max-width:767px){
  .rx-header-standalone .rx-desknav{display:none}
  .rx-header-standalone .rx-header-in{gap:8px}
  .rx-header-standalone .rx-hdr-right{gap:8px}
  .rx-header-standalone :is(.rx-logo img,.custom-logo){width:clamp(70px,17vw,114px);height:auto}
}

.rx-design-cta{text-decoration:none;max-width:100%;min-width:0;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;justify-content:center;text-align:center}
.redico-page-rekvizity .rx-prose figure{margin:16px 0;max-width:100%}
.redico-page-rekvizity .rx-prose table{width:100%;border-collapse:collapse;table-layout:fixed}
.redico-page-rekvizity .rx-prose td{padding:8px;overflow-wrap:anywhere;vertical-align:top;border-bottom:1px solid #dadde3}
.redico-page-rekvizity .rx-prose td:first-child{width:38%;font-weight:600}
@media(max-width:520px){
  .rx-company-stats{grid-template-columns:minmax(0,1fr)!important}
  .rx-company-stats>*{min-width:0;overflow-wrap:anywhere}
}
/* A wide comparison table scrolls inside its existing content wrapper. */
.rx-prose :is(div,figure):has(>table){min-width:0;max-width:100%;overflow-x:auto}
@media(max-width:767px){
  :is(.page-template-usluga,.page-template-reglament,.page-template-istoriya,.page-template-partnyory) .rx-2col{grid-template-columns:minmax(0,1fr)!important}
  :is(.page-template-usluga,.page-template-reglament,.page-template-istoriya,.page-template-partnyory) .rx-2col>*{min-width:0;overflow-wrap:anywhere}
  .page-template-usluga .rx-2col :is(p,h1,h2,h3,span,a){max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:600px){
  .page-template-reglament section :is(a,button){max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .page-template-reglament .rx-2col [style*="white-space:nowrap"]{min-width:0;white-space:normal!important;overflow-wrap:anywhere}
  .page-template-reglament .rx-cls-row{grid-template-columns:minmax(36px,.5fr) minmax(0,1fr) minmax(0,1fr)!important;padding-inline:10px!important;gap:8px!important;overflow-wrap:anywhere}
}

@media(max-width:520px){
  .page-template-usluga .rx-2col [style*="display:flex; align-items:baseline; gap:14px"]{flex-wrap:wrap;gap:8px!important}
  .page-template-usluga .rx-2col [style*="white-space:nowrap"]{min-width:0;white-space:normal!important}
  .redico-page-tr-ts-018 .rx-trow{min-width:620px}
}
@media(max-width:767px){
  .redico-page-tr-ts-014 .rx-forms{grid-template-columns:minmax(0,1fr)!important}
  .redico-page-tr-ts-014 .rx-forms>*{min-width:0;overflow-wrap:anywhere}
  .redico-page-tr-ts-014 .rx-forms [style*="flex:0 0 128px"]{flex-basis:34%!important}
  .redico-page-tr-ts-014 .rx-forms strong{min-width:0}
  #perechen #rx-reg-count{white-space:normal!important;overflow-wrap:anywhere}
}
body.redico-page-proverka-sertifikata .rx-prose section>div:has(>table){overflow-x:auto!important;max-width:100%!important}

@media(max-width:520px){
  .rx-sss-documents{grid-template-columns:minmax(0,1fr)}
  .rx-sss-documents>div{flex-direction:column;min-width:0;overflow-wrap:anywhere}
}

/* First focus stop bypasses both header rows; the native anchor also works without scripts. */
.rx-skip-content{position:fixed;inset:8px auto auto 8px;z-index:2147483647;transform:translateY(calc(-100% - 16px));border-radius:8px;padding:10px 18px;background:#fff;color:#171a20;font-weight:700}
.rx-skip-content:focus{transform:none;outline:3px solid #a82016;outline-offset:2px}
#rx-content-start{display:block;height:0}
#rx-content-start,[data-rx-skip-target]{scroll-margin-block-start:calc(var(--rr-header-bottom,88px) + 8px)}

.rx-study-links{display:flex;flex-wrap:wrap;column-gap:1.35rem;row-gap:.35rem;padding:.55rem 0;align-items:baseline}
.rx-study-links a{display:inline-block;color:#a9231a;text-decoration:underline;text-underline-offset:.19em;line-height:1.45;padding:.35rem 0;font-size:.95rem;overflow-wrap:anywhere}

.rx-status-intro{padding-block:clamp(28px,4vw,54px) 12px}
.rx-status-intro .rx-h1{max-width:31ch;margin-block:12px}
.rx-status-intro .rx-lead,.rx-status-guide p{max-width:70ch}
.rx-status-guide{padding-block:0 clamp(32px,4vw,56px)}
.rx-status-guide .rx-h2{margin-block:1.1em .35em}
.rx-status-guide p{margin-block:0 1rem;line-height:1.65}


@layer redicoBento {
/* REDICO: complete the last row of shared content-card grids, 2026-11-05.
   Keep DOM order, all content, and existing mobile stacking. */
@media (min-width:1024px){
  html[data-rx-bento] body:not(.home) main .rx-cards{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html[data-rx-bento] body:not(.home) main .rx-cards > *{grid-column:span 2;min-width:0}
  html[data-rx-bento] body:not(.home) main .rx-cards > :last-child:nth-child(3n + 1){grid-column:1 / -1}
  html[data-rx-bento] body:not(.home) main .rx-cards > :nth-last-child(2):nth-child(3n + 1),
  html[data-rx-bento] body:not(.home) main .rx-cards > :last-child:nth-child(3n + 2){grid-column:span 3}
}
@media (min-width:961px){
  html[data-rx-bento] body:not(.home) main .rx-g3{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html[data-rx-bento] body:not(.home) main .rx-g3 > *{grid-column:span 2;min-width:0}
  html[data-rx-bento] body:not(.home) main .rx-g3 > :last-child:nth-child(3n + 1){grid-column:1 / -1}
  html[data-rx-bento] body:not(.home) main .rx-g3 > :nth-last-child(2):nth-child(3n + 1),
  html[data-rx-bento] body:not(.home) main .rx-g3 > :last-child:nth-child(3n + 2){grid-column:span 3}
}
@media (min-width:769px) and (max-width:1023px){
  html[data-rx-bento] body:not(.home) main .rx-cards > :last-child:nth-child(odd){grid-column:1 / -1}
}
@media (min-width:721px) and (max-width:960px){
  html[data-rx-bento] body:not(.home) main .rx-g3 > :last-child:nth-child(odd){grid-column:1 / -1}
}
@media (min-width:721px){
  html[data-rx-bento] body:not(.home) main .rx-g2 > :last-child:nth-child(odd){grid-column:1 / -1}
}

}

/* REDICO: hide duplicate mobile navigation buttons, 2026-11-08 */
@media (max-width: 1024px) {
 html body .rx-header .rxmm2-barin,
 html body .rx-header .rst-tools-nav { display: none !important; }
}
/* The imported design uses important rules throughout. Keep release overrides scoped. */
@layer redicoUsability {
  html[data-rx-bento] .rr-quote-form :is(.rr-field-product,.rr-field-contact) > :is(input,textarea) {
    background:#17232d !important; color:#fff !important; border:1px solid #8393a1 !important;
    width:100% !important; max-width:100% !important; min-width:0 !important; box-sizing:border-box !important;
    font-size:16px !important; line-height:1.45 !important;
  }
  html[data-rx-bento] .rr-quote-form .rr-field-caption {
    display:block !important; position:static !important; margin:0 0 .35rem !important;
    font-size:14px !important; line-height:1.4 !important; white-space:normal !important; color:#f5f7fa !important;
  }
  html[data-rx-bento] .rr-quote-form :is(.rr-field-product,.rr-field-contact)::before {display:none !important}
  html[data-rx-bento] .rr-quote-form :is(.rr-field-product,.rr-field-contact) > :is(input,textarea) {padding:10px 12px !important}
  html[data-rx-bento] .rr-quote-form .rr-field-product > textarea {
    height:auto !important; min-height:4.75rem !important; max-height:none !important;
    resize:vertical !important; overflow:auto !important; white-space:pre-wrap !important;
  }
  html[data-rx-bento] .rr-quote-form :is(.rr-field-product,.rr-field-contact) > :is(input,textarea)::placeholder {color:#c7d2dc !important; opacity:1 !important}
  html[data-rx-bento] :is(.rr-quote-card,#rxh .rr-hero-grid) {height:auto !important; max-height:none !important}
  html[data-rx-bento] form :is(label,fieldset,button,select,textarea) {min-inline-size:0;max-inline-size:100%;box-sizing:border-box}
  html[data-rx-bento] form button {white-space:normal !important;overflow-wrap:anywhere}
  html[data-rx-bento] .rr-upload-title {overflow-wrap:anywhere;white-space:normal !important;min-width:0}
  html[data-rx-bento] :is(a,button,summary,input,textarea,select):focus-visible {outline:3px solid #1678bd !important;outline-offset:2px !important}
  @media(max-width: 1000px) {
    html[data-rx-bento] .rxmm2-all::after {content:'☰' !important;position:static !important;display:grid !important;place-items:center !important;color:var(--rb-ink,#20252b) !important;background:none !important;font:24px/1 sans-serif !important;transform:none !important;opacity:1 !important}
    html[data-rx-bento] .rxmm2-all[aria-expanded=true]::after {content:'×' !important}
    html[data-rx-bento] .rxmm2-all:has(.rxmm2-bg)::after {display:none !important}
  }
  @media(max-width: 480px) {
    html[data-rx-bento] .rb-home-search-row {display:grid !important;grid-template-columns:minmax(0,1fr) !important; height:auto !important;gap:4px !important}
    html[data-rx-bento] .rb-home-search-row > div {min-width:0 !important;width:100% !important}
    html[data-rx-bento] .rb-home-search-row .rb-home-find {position:static !important;width:100% !important;transform:none !important}
    html[data-rx-bento] #rx-tnved-q {padding-right:10px !important;width:100% !important}
    html[data-rx-bento] .rx-calctab {display:none !important}
  }
  @media(prefers-reduced-motion:reduce) {
    html[data-rx-bento] .hm-marquee-set, html[data-rx-bento] .hm-marquee-track {animation:none !important}
  }
}
@layer redicoUsability {
  @media (min-width:481px) and (max-width:1450px) {
    html[data-rx-bento] .rx-calctab {display:none !important}
  }
}
@layer redicoUsability {
  .redico-scroll-table {max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
  @media(max-width:480px){
    html[data-rx-bento] .rb-home-search-row > :is(div,.rb-home-find) {grid-column:1 / -1 !important;grid-row:auto !important}
    html[data-rx-bento] .rr-quote-form .rr-field-product > textarea {min-height:6.9rem !important;field-sizing:content}
  }
}
@layer redicoUsability {
  @media(max-width:400px) {
    html[data-rx-bento] main button[style*="inline-flex"] {
      max-inline-size:100% !important;min-inline-size:0 !important;white-space:normal !important;
      padding-inline:12px !important;overflow-wrap:anywhere !important;
    }
  }
}
@layer redicoUsability {
  @media(max-width:600px) {
    html[data-rx-bento] #home-content #rxh .rr-trust-steps ol {
      grid-template-columns:minmax(0,1fr) !important;gap:10px !important;
    }
    html[data-rx-bento] #home-content #rxh .rr-trust-steps li {
      flex-direction:row !important;align-items:center !important;gap:12px !important;
    }
    html[data-rx-bento] #home-content #rxh .rr-trust-steps li::after {display:none !important}
    html[data-rx-bento] #home-content #rxh .rr-trust-steps li span {overflow-wrap:normal !important;word-break:normal !important}
    html[data-rx-bento] #home-content #rxh .rr-eyebrow {font-size:12px !important;line-height:1.5 !important}
  }
  html[data-rx-theme="dark"] #redico-encyclopedia {
    --ec-paper:#111c28 !important;--ec-surface:#182737 !important;--ec-fg:#f3f5f8 !important;
    --ec-edge:#435063 !important;--ec-muted:#c6d1df !important;--ec-accent:#ffb0a8 !important;
    color-scheme:dark;
  }
  html[data-rx-theme="light"] #redico-encyclopedia {
    --ec-paper:#f7f8f9 !important;--ec-surface:#fff !important;--ec-fg:#17202c !important;
    --ec-edge:#dfe3e8 !important;--ec-muted:#536172 !important;--ec-accent:#ac2a21 !important;
    color-scheme:light;
  }
}

@layer redicoUsability {
  html[data-rx-reference] #home-content > :is(.rr-quick-grid,.rr-preserved-hero) {
    margin-inline:auto !important;
  }
  html[data-rx-reference] [data-rst-menu] .rxmm2-find {
    width:auto !important;
  }
  html[data-rx-reference] body:has(#rx-cookie-bar) .rr-mobile-cta {
    display:none !important;
  }
  @media (max-width: 1199px) {
    html[data-rx-reference] #home-content .rr-services-grid {
      grid-template-columns:repeat(2,minmax(0,1fr)) !important;
      grid-template-rows:none !important;
    }
    html[data-rx-reference] #home-content a.rr-service {
      display:grid !important;
      grid-column:auto !important;
      grid-row:auto !important;
      grid-template-columns:minmax(0,1fr) clamp(60px,15vw,88px) !important;
      align-items:center !important;
      gap:12px !important;
      min-height:112px !important;
      padding:14px !important;
    }
    html[data-rx-reference] .rr-service .rr-service-copy {
      grid-area:1 / 1 !important;
      min-width:0 !important;
    }
    html[data-rx-reference] .rr-service-copy :is(h3,p) {
      max-width:none !important;
      overflow-wrap:break-word !important;
      word-break:normal !important;
    }
    html[data-rx-reference] .rr-service .rr-card-arrow {
      left:auto !important;
      right:10px !important;
    }
    html[data-rx-reference] .rr-service-copy h3 {
      font-size:clamp(16px,1.8vw,20px) !important;
    }
    html[data-rx-reference] #home-content a.rr-service img {
      position:static !important;
      grid-area:1 / 2 !important;
      width:100% !important;
      height:auto !important;
      max-height:88px !important;
      object-fit:contain !important;
    }
  }
  @media (max-width: 600px) {
    html[data-rx-reference] #home-content .rr-services-grid {
      grid-template-columns:minmax(0,1fr) !important;
    }
  }
  @media (max-width: 480px) {
    html[data-rx-reference] #rx-tnved-form {
      display:flex !important;
      flex-direction:column !important;
    }
    html[data-rx-reference] #rx-tnved-count {
      position:static !important;
      order:3;
      white-space:normal !important;
    }
    html[data-rx-reference] #rx-tnved-results {
      position:static !important;
      max-height:min(38vh,260px) !important;
    }
    html[data-rx-reference] #rx-tnved-chips {order:1}
  }
}

@layer redicoUsability {
  html[data-rx-reference] .rr-hero-answer {
    position:relative;
    z-index:1;
    margin:0 0 16px !important;
    max-width:62%;
    color:var(--rb-ink) !important;
    font:400 16px/1.45 var(--rb-font) !important;
  }
  @media (min-width:769px) and (max-width:1100px) {
    html[data-rx-reference] #rxh .rr-trust-row {
      grid-template-columns:minmax(245px,1.05fr) minmax(320px,1.4fr) minmax(0,.8fr) !important;
    }
    html[data-rx-reference] #rxh .rr-trust-steps li span {
      overflow-wrap:normal !important;
      word-break:normal !important;
    }
  }
  @media (max-width:768px) {
    html[data-rx-reference] .rr-hero-answer {max-width:none}
  }
}

/* Homepage: keep the question first in the reading order and the registry one tap away. */
@layer redicoUsability {
  html[data-rx-reference] #rxh .rr-hero-grid:has(.rr-home-intro) {
    display:grid !important;
    grid-template-columns:minmax(0,1.45fr) minmax(304px,1fr) !important;
    grid-template-areas:"intro enquiry" "finder finder" !important;
    grid-template-rows:auto auto !important; gap:12px !important; align-items:stretch !important;
  }
  html[data-rx-reference] #rxh .rr-home-intro {
    grid-area:intro !important; min-width:0 !important; padding:clamp(20px,2.6vw,32px) !important;
    background:var(--rb-surface) !important; border:1px solid var(--rb-line) !important; border-radius:var(--rb-radius) !important;
  }
  html[data-rx-reference] #rxh .rr-home-intro .rr-eyebrow {
    display:flex; align-items:center; gap:8px; max-width:100% !important; min-height:0 !important; margin:0 0 12px !important;
  }
  html[data-rx-reference] #rxh .rr-home-intro .rr-eyebrow::before {content:''; width:21px; height:2px; background:var(--rb-accent); flex:none}
  html[data-rx-reference] #rxh .rr-home-intro .rr-hero-title {
    max-width:100% !important; margin:0 0 12px !important;
    font-size:clamp(30px,3.45vw,49px) !important; line-height:1.06 !important; text-wrap:balance !important;
  }
  html[data-rx-reference] #rxh .rr-home-intro .rr-hero-answer {max-width:57ch; margin:0 !important; line-height:1.48 !important}
  html[data-rx-reference] #rxh .rr-start-links {
    display:flex; align-items:center; flex-wrap:wrap; gap:4px 16px; margin:12px 0 -3px; padding:0;
  }
  html[data-rx-reference] #rxh .rr-start-links a {
    display:inline-flex; align-items:center; gap:6px; min-height:40px; color:var(--rb-accent-text) !important;
    font:650 14px/1.35 var(--rb-font); text-decoration:none; text-underline-offset:3px;
  }
  html[data-rx-reference] #rxh .rr-start-links a:is(:hover,:focus-visible) {text-decoration:underline}
  html[data-rx-reference] #rxh .rr-start-links svg {width:18px; height:18px; flex:none}
  html[data-rx-reference] #rxh .rr-hero-grid > #rxh-form {
    grid-area:enquiry !important; min-width:0 !important;
  }
  html[data-rx-reference] #rxh .rr-hero-grid > #rxh-form.rr-ux-home-form {
    display:block !important; padding:0 !important; border:0 !important; background:none !important;
    box-shadow:none !important; align-self:stretch !important;
  }
  html[data-rx-reference] #rxh .rr-ux-home-form > .rx-ux-form-wrap {min-width:0; box-sizing:border-box; height:100%}
  html[data-rx-reference] #rxh .rr-ux-home-form form.rx-ux-form {grid-template-columns:minmax(0,1fr) !important; gap:11px !important}
  html[data-rx-reference] #rxh .rr-ux-home-form form.rx-ux-form[hidden] {display:none !important}
  html[data-rx-reference] #rxh .rr-home-finder.rr-search-card {
    grid-area:finder !important; min-height:0 !important; padding:14px clamp(16px,2.2vw,28px) 16px !important;
  }
  html[data-rx-reference] #rxh .rr-finder-intro {
    display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0;
    margin:0 0 8px;
  }
  html[data-rx-reference] #rxh .rr-finder-intro h2 {
    font:730 clamp(18px,1.75vw,23px)/1.15 var(--rb-font) !important; letter-spacing:-.03em; margin:0 0 4px !important; color:var(--rb-ink) !important;
  }
  html[data-rx-reference] #rxh .rr-finder-intro p {color:var(--rb-muted) !important; font:400 14px/1.45 var(--rb-font) !important; margin:0 !important}

  html[data-rx-reference] #rxh .rr-home-finder #tnved {width:100% !important; scroll-margin-top:90px !important}
  html[data-rx-reference] #home-content #rr-services {scroll-margin-top:90px !important}
  html[data-rx-reference] #rr-services .rr-service-more {display:flex; flex-wrap:wrap; gap:2px 18px; margin-top:6px}
  html[data-rx-reference] #rr-services .rr-service-more a {display:inline-flex; align-items:center; gap:5px; min-height:42px; font:650 14px/1.4 var(--rb-font); color:var(--rb-accent-text); text-underline-offset:3px}
  html[data-rx-reference] #home-content #rr-services > h2 {margin:22px 0 3px !important}
  html[data-rx-reference] #home-content .rr-services-lead {margin:0 0 14px; color:var(--rb-muted); font:400 16px/1.5 var(--rb-font)}
  html[data-rx-reference] #home-content .rr-services-grid {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important; grid-template-rows:none !important;
  }
  html[data-rx-reference] #home-content #rr-services a.rr-service {
    grid-area:auto !important; display:grid !important; grid-template-columns:minmax(0,1fr) clamp(64px,7vw,94px) !important;
    padding:16px !important; gap:10px !important; align-items:center !important; min-height:134px !important;
  }
  html[data-rx-reference] #rr-services .rr-service .rr-service-copy {grid-area:1 / 1 !important; min-width:0}
  html[data-rx-reference] #rr-services .rr-service-copy :is(h3,p) {max-width:none !important; overflow-wrap:break-word !important}
  html[data-rx-reference] #rr-services .rr-service-copy h3 {font-size:clamp(16px,1.5vw,20px) !important; margin:0 0 6px !important}
  html[data-rx-reference] #rr-services .rr-service-copy p {font-size:14px !important; line-height:1.45 !important}
  html[data-rx-reference] #home-content #rr-services .rr-service img {
    position:static !important; grid-area:1 / 2 !important; width:100% !important; height:auto !important; max-height:96px !important; object-fit:contain !important;
  }
  html[data-rx-reference] #rr-services .rr-service .rr-card-arrow {
    left:auto !important; right:9px !important; bottom:9px !important; width:25px !important; height:25px !important; font-size:16px !important;
  }
  @media(max-width:1020px) {
    html[data-rx-reference] #home-content .rr-services-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  }
  @media(max-width:760px) {
    html[data-rx-reference] #rxh .rr-hero-grid:has(.rr-home-intro) {
      grid-template-columns:minmax(0,1fr) !important; grid-template-areas:"intro" "enquiry" "finder" !important;
      grid-template-rows:auto !important; gap:10px !important;
    }
    html[data-rx-reference] #rxh .rr-home-intro {padding:16px !important}
    html[data-rx-reference] #rxh .rr-home-intro .rr-eyebrow {margin:0 0 7px !important}
    html[data-rx-reference] #rxh .rr-home-intro .rr-hero-title {font-size:clamp(26px,6vw,34px) !important; margin:0 0 8px !important}
    html[data-rx-reference] #rxh .rr-start-links {margin-top:6px; gap:2px 12px}
  }
  @media(max-width:620px) {
    html[data-rx-reference] #home-content .rr-services-grid {grid-template-columns:minmax(0,1fr) !important}
    html[data-rx-reference] #home-content #rr-services a.rr-service {min-height:110px !important; padding:13px !important}
  }
  @media(prefers-reduced-motion:no-preference) and (hover:hover) {
    html[data-rx-reference] #rr-services .rr-card-arrow {transition:transform .2s ease}
    html[data-rx-reference] #rr-services a.rr-service:is(:hover,:focus-visible) .rr-card-arrow {transform:translateX(2px)}
  }
  @media(prefers-reduced-motion:reduce) {
    html[data-rx-reference] #rr-services a.rr-service,html[data-rx-reference] #rr-services a.rr-service * {transition:none !important;animation:none !important}
    html[data-rx-reference] #rr-services a.rr-service:hover {transform:none !important}
  }
}

@layer redicoUsability {
  html[data-rx-reference] #rxh .rr-hero-grid > .rr-hero-art {
    grid-area:finder !important; display:block !important; position:static !important; width:72px !important;
    height:auto !important; object-fit:contain !important; pointer-events:none !important; z-index:1 !important;
    justify-self:end; align-self:start; margin:8px 18px 0 0 !important;
  }
  html[data-rx-reference] #rxh .rr-finder-intro {min-height:55px; padding-right:80px}
  html[data-rx-reference] #rxh .rr-home-intro .rr-eyebrow {font-weight:650 !important}
  html[data-rx-reference] #rr-noscript-navigation:has(.rr-native-menu) {margin:6px auto !important; padding:0 14px !important}
  html[data-rx-reference] .rr-native-menu > summary {padding:11px 0; min-height:44px; font:650 15px/1.4 var(--rb-font); cursor:pointer}
  html[data-rx-reference] .rr-native-menu[open] {padding-bottom:12px}
  html[data-rx-reference] #rxh .rr-ux-home-form > .rx-ux-form-wrap {display:flex; flex-direction:column; justify-content:center; align-items:stretch}
  @media(min-width:761px) {
    html[data-rx-reference] #rxh .rr-home-finder.rr-search-card {
      display:grid !important; grid-template-columns:minmax(160px,.48fr) minmax(0,1fr); gap:20px; align-items:center;
    }
    html[data-rx-reference] #rxh .rr-home-finder .rr-finder-intro {margin:0}
    html[data-rx-reference] #rxh .rr-hero-grid > .rr-hero-art {grid-area:intro !important; width:88px !important; align-self:start; margin:7px 8px 0 0 !important}
    html[data-rx-reference] #rxh .rr-home-intro .rr-eyebrow {padding-right:58px}
    html[data-rx-reference] #rxh .rr-finder-intro {min-height:0; padding:0}
  }
  @media(min-width:761px) and (max-width:1019px) {
    html[data-rx-reference] #rxh .rr-home-intro {padding:21px !important}
    html[data-rx-reference] #rxh .rr-home-intro .rr-hero-title {margin-top:36px !important}
  }
  @media(min-width:1020px) {
    html[data-rx-reference] #rxh .rr-hero-grid > .rr-hero-art {
      grid-area:intro !important; align-self:center; width:clamp(125px,13vw,192px) !important; margin:2px 12px 0 0 !important
    }
    html[data-rx-reference] #rxh .rr-home-intro {padding-right:clamp(145px,15vw,210px) !important}
    html[data-rx-reference] #rxh .rr-home-intro .rr-hero-title {font-size:clamp(34px,3.1vw,45px) !important}
    html[data-rx-reference] #rxh .rr-finder-intro {min-height:0; padding-right:0}
  }
  @media(prefers-reduced-motion:no-preference) and (hover:hover) {
    html[data-rx-reference] #rxh .rr-hero-grid > .rr-hero-art {transition:transform .22s ease}
    html[data-rx-reference] #rxh .rr-hero-grid:has(:is(.rr-home-intro,.rr-home-finder):hover) > .rr-hero-art {transform:translateY(-2px) rotate(-1deg)}
  }
}

/*
 * REDICO mega menu clarity — 2026-11-09.
 * Global menu scope: html body #rpm-dialog only.
 * Reuses the current palette and redicoReadability cascade layer.
 * Native details, [hidden], DOM order, URLs and fitOffers() remain intact.
 */
@layer redicoReadability {
  /* The existing quote control is moved by the decorator, never duplicated. */
  html body #rpm-dialog .rpm-head:has(> .rdx-menu-quote) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 44px !important;
    grid-template-areas: "heading quote close" !important;
    align-items: center !important;
    gap: 12px !important;
  }

  html body #rpm-dialog .rpm-head > .rpm-heading {
    grid-area: heading !important;
    min-width: 0 !important;
  }

  html body #rpm-dialog .rpm-head > .rdx-menu-quote {
    grid-area: quote !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body #rpm-dialog .rpm-head .rdx-menu-quote-button {
    min-height: 44px !important;
    width: auto !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }

  html body #rpm-dialog .rpm-head > .rpm-close {
    grid-area: close !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  /* Keep group boundaries visible even when every group is collapsed. */
  html body #rpm-dialog .rpm-grid,
  html body #rpm-dialog .rpm-about {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  html body #rpm-dialog .rpm-column {
    gap: 16px !important;
  }

  html body #rpm-dialog .rpm-group {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: 12px !important;
    background: var(--pm-paper) !important;
  }

  html body #rpm-dialog .rpm-group > summary {
    align-items: center !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-bottom: 0 !important;
    border-radius: 11px !important;
    background: var(--pm-soft) !important;
    color: var(--pm-ink) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body #rpm-dialog .rpm-group[open] > summary {
    border-bottom: 1px solid var(--pm-line) !important;
    border-radius: 11px 11px 0 0 !important;
    box-shadow: inset 3px 0 var(--pm-red) !important;
  }

  html body #rpm-dialog .rpm-group > summary:has(> .rmu-group-title) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 12px !important;
    grid-template-areas: "title count icon" !important;
    gap: 10px !important;
  }

  html body #rpm-dialog .rmu-group-title {
    grid-area: title !important;
    min-width: 0 !important;
  }

  html body #rpm-dialog .rmu-group-count {
    grid-area: count !important;
    justify-self: start !important;
    padding: 3px 6px !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: 6px !important;
    background: var(--pm-paper) !important;
    color: var(--pm-muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
  }

  html body #rpm-dialog
    .rpm-group > summary:has(> .rmu-group-title)::after {
    grid-area: icon !important;
  }

  html body #rpm-dialog .rpm-group > ul {
    margin: 0 !important;
    padding: 6px 8px 8px !important;
  }

  /* Avoid the legacy negative margins and 26–28px link rows. */
  html body #rpm-dialog .rpm-link {
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body #rpm-dialog .rpm-group > .rpm-overview {
    margin: 0 8px 8px !important;
    border-top: 1px solid var(--pm-line) !important;
    border-radius: 0 0 8px 8px !important;
    font-weight: 600 !important;
  }

  html body #rpm-dialog .rpm-link:is(:hover, :focus-visible, :active) {
    background: var(--pm-soft) !important;
    transform: none !important;
  }

  html body #rpm-dialog .rpm-link[aria-current="page"] {
    background: var(--pm-soft) !important;
    box-shadow: inset 3px 0 var(--pm-red) !important;
    font-weight: 650 !important;
  }

  /* Apply the same hierarchy to the Learning and Company groups. */
  html body #rpm-dialog .rpm-about-group {
    min-width: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: 12px !important;
    background: var(--pm-paper) !important;
  }

  html body #rpm-dialog .rpm-about-group > h3 {
    margin: 0 0 8px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--pm-line) !important;
    color: var(--pm-ink) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  /* Selected tabs use shape, weight and an inset marker as well as color. */
  html body #rpm-dialog .rpm-tabs {
    gap: 8px !important;
    padding-block: 6px 10px !important;
  }

  html body #rpm-dialog .rpm-tab {
    min-height: 44px !important;
    padding: 10px 14px !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: 10px !important;
    background: var(--pm-paper) !important;
    color: var(--pm-muted) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
  }

  html body #rpm-dialog .rpm-tab::after {
    display: none !important;
  }

  html body #rpm-dialog .rpm-tab:is(:hover, :focus-visible, :active) {
    background: var(--pm-soft) !important;
    color: var(--pm-ink) !important;
  }

  html body #rpm-dialog .rpm-tab[aria-selected="true"] {
    border-color: var(--pm-red) !important;
    background: var(--pm-soft) !important;
    color: var(--pm-red) !important;
    box-shadow: inset 0 -2px var(--pm-red) !important;
    font-weight: 700 !important;
  }

  /* Give search a distinct area while leaving filtering and status to JS. */
  html body #rpm-dialog .rpm-searchbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding: 12px !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: 12px !important;
    background: var(--pm-soft) !important;
  }

  html body #rpm-dialog .rmu-search-label {
    grid-column: 1 / -1 !important;
    color: var(--pm-ink) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
  }

  html body #rpm-dialog .rpm-search {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 11px 14px !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: 8px !important;
    background: var(--pm-paper) !important;
    color: var(--pm-ink) !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  html body #rpm-dialog .rpm-search::placeholder {
    color: var(--pm-muted) !important;
    opacity: 1 !important;
  }

  html body #rpm-dialog .rpm-search:focus {
    border-color: var(--pm-red) !important;
  }

  html body #rpm-dialog .rpm-all {
    justify-self: end !important;
    min-height: 44px !important;
    padding: 8px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  html body #rpm-dialog .rpm-status:not(:empty) {
    margin: 14px 0 0 !important;
    padding: 10px 12px !important;
    border-inline-start: 3px solid var(--pm-red) !important;
    border-radius: 0 8px 8px 0 !important;
    background: var(--pm-soft) !important;
    color: var(--pm-ink) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  html body #rpm-dialog
    :is(a, button, input, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--pm-red) !important;
    outline-offset: 3px !important;
  }

  @media (max-width: 1100px) {
    html body #rpm-dialog .rpm-group > summary:has(> .rmu-group-title) {
      grid-template-columns: minmax(0, 1fr) 12px !important;
      grid-template-areas: "title icon" "count icon" !important;
      gap: 5px 10px !important;
    }
  }

  @media (max-width: 760px) {
    html body #rpm-dialog .rpm-head:has(> .rdx-menu-quote) {
      grid-template-columns: minmax(0, 1fr) 44px !important;
      grid-template-areas: "heading close" "quote quote" !important;
      gap: 10px !important;
    }

    html body #rpm-dialog .rpm-head .rdx-menu-quote-button {
      width: 100% !important;
    }

    html body #rpm-dialog .rpm-grid,
    html body #rpm-dialog .rpm-about {
      grid-template-columns: minmax(0, 1fr) !important;
    }

    html body #rpm-dialog .rpm-link {
      min-height: 44px !important;
      padding-block: 11px !important;
    }

    html body #rpm-dialog .rpm-tab {
      padding-inline: 10px !important;
    }

    html body #rpm-dialog .rpm-searchbar {
      grid-template-columns: minmax(0, 1fr) auto !important;
      gap: 8px !important;
    }

    html body #rpm-dialog .rmu-search-label {
      grid-column: 1 !important;
      grid-row: 1 !important;
    }

    html body #rpm-dialog .rpm-search {
      grid-column: 1 / -1 !important;
      grid-row: 2 !important;
    }

    html body #rpm-dialog .rpm-all {
      grid-column: 2 !important;
      grid-row: 1 !important;
      min-height: 32px !important;
      padding: 4px 0 4px 6px !important;
      font-size: 12px !important;
    }
  }

  @media (max-width: 600px) {
    html body #rpm-dialog .rpm-tabs {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body #rpm-dialog .rpm-tab {
      width: 100% !important;
      text-align: center !important;
    }
  }
}

#rst-services-panel[data-redico-megamenu] {
    --mega-bg: #ffffff;
    --mega-card: #f6f8fb;
    --mega-card-hover: #ffffff;
    --mega-line: #dce3ec;
    --mega-text: #192233;
    --mega-muted: #4b5a70;
    --mega-accent: #a6222b;
    --mega-accent-bg: #fbe9eb;
    --mega-focus: #a6222b;
    --mega-columns: 3;
    box-sizing: border-box;
    width: min(984px, calc(100% - 32px));
    padding: clamp(16px, 2.1vw, 28px);
    border: 1px solid var(--mega-line);
    border-radius: 0 0 22px 22px;
    color: var(--mega-text);
    background: var(--mega-bg);
    box-shadow: 0 24px 60px -20px rgba(15, 26, 44, .36), 0 4px 14px rgba(15, 26, 44, .06);
}

[data-rx-theme="dark"] #rst-services-panel[data-redico-megamenu] {
    --mega-bg: #151d2a;
    --mega-card: #1d293a;
    --mega-card-hover: #243248;
    --mega-line: #35465f;
    --mega-text: #f4f7fc;
    --mega-muted: #bfccdf;
    --mega-accent: #ffacb2;
    --mega-accent-bg: #452b39;
    --mega-focus: #ffb0b8;
}

#rst-services-panel[data-columns="2"] { --mega-columns: 2; }
#rst-services-panel[data-columns="4"] { --mega-columns: 4; }

#rst-services-panel .redico-mega-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 20px;
}

#rst-services-panel .redico-mega-kicker {
    display: block;
    color: var(--mega-accent);
    font-size: .69rem;
    line-height: 1.3;
    letter-spacing: .09em;
    font-weight: 750;
    text-transform: uppercase;
}

#rst-services-panel .redico-mega-heading strong {
    display: block;
    margin-top: 4px;
    color: var(--mega-text);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

#rst-services-panel .redico-mega-heading p {
    margin: 5px 0 0;
    color: var(--mega-muted);
    font-size: 14px;
    line-height: 1.45;
}

#rst-services-panel .redico-mega-heading button {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--mega-line);
    border-radius: 12px;
    color: var(--mega-text);
    background: var(--mega-card);
    cursor: pointer;
}

#rst-services-panel .redico-mega-heading button[hidden] { display: none; }
#rst-services-panel .redico-mega-heading button:hover { background: var(--mega-accent-bg); }

#rst-services-panel .redico-mega-grid {
    display: grid;
    grid-template-columns: repeat(var(--mega-columns), minmax(0, 1fr));
    gap: 10px;
}

#rst-services-panel .redico-mega-extra { display: contents; }
#rst-services-panel :is(.redico-mega-more, .redico-mega-extra)[hidden] { display: none !important; }

#rst-services-panel .redico-mega-more {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--mega-line);
    border-radius: 12px;
    background: var(--mega-card);
    color: var(--mega-text);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

#rst-services-panel .redico-mega-more span { margin-inline-end: auto; color: var(--mega-muted); }
#rst-services-panel .redico-mega-more::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
}
#rst-services-panel .redico-mega-more[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
#rst-services-panel .redico-mega-more:hover { background: var(--mega-card-hover); border-color: var(--mega-accent); }

#rst-services-panel a.redico-mega-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: start;
    gap: 9px 8px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 108px;
    padding: 13px 14px;
    border: 1px solid var(--mega-line);
    border-radius: 15px;
    background: var(--mega-card);
    color: var(--mega-text);
    text-decoration: none;
}

#rst-services-panel .redico-mega-icon,
#rst-services-panel .redico-mega-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

#rst-services-panel .redico-mega-icon {
    grid-column: 1;
    grid-row: 1;
    color: var(--mega-accent);
    background: var(--mega-accent-bg);
}

#rst-services-panel .redico-mega-arrow {
    grid-column: 2;
    grid-row: 1;
    color: var(--mega-muted);
}

#rst-services-panel .redico-mega-copy {
    grid-column: 1 / -1;
    display: grid;
    gap: 3px;
    min-width: 0;
    overflow-wrap: anywhere;
}

#rst-services-panel .redico-mega-copy strong {
    color: var(--mega-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

#rst-services-panel .redico-mega-copy > span {
    color: var(--mega-muted);
    font-size: 13px;
    line-height: 1.4;
}

#rst-services-panel a.redico-mega-card:focus-visible,
#rst-services-panel .redico-mega-more:focus-visible,
#rst-services-panel .redico-mega-heading button:focus-visible {
    outline: 2px solid var(--mega-focus);
    outline-offset: 2px;
}

@media (hover: hover) {
    #rst-services-panel a.redico-mega-card:hover {
        background: var(--mega-card-hover);
        border-color: var(--mega-accent);
        box-shadow: 0 5px 16px rgba(15, 26, 44, .08);
    }
    #rst-services-panel a.redico-mega-card:hover .redico-mega-arrow { color: var(--mega-accent); }
}

@media (min-width: 661px) and (max-width: 920px) {
    #rst-services-panel[data-redico-megamenu] .redico-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 661px) {
    #rst-services-panel[data-mega-compact] .redico-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #rst-services-panel[data-mega-compact] a.redico-mega-card {
        grid-template-columns: 36px minmax(0, 1fr) 25px;
        align-content: center;
        align-items: center;
        min-height: 65px;
    }
    #rst-services-panel[data-mega-compact] .redico-mega-copy { grid-column: 2; grid-row: 1; }
    #rst-services-panel[data-mega-compact] .redico-mega-arrow { grid-column: 3; width: 25px; }
}

@media (max-width: 660px) {
    #rst-services-panel[data-redico-megamenu] {
        width: 100%;
        padding: 14px;
        border-radius: 0 0 16px 16px;
    }
    #rst-services-panel .redico-mega-heading { margin-bottom: 13px; }
    #rst-services-panel[data-redico-megamenu] .redico-mega-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    #rst-services-panel a.redico-mega-card {
        min-height: 67px;
        padding: 9px 10px;
        grid-template-columns: 36px minmax(0, 1fr) 25px;
        align-content: center;
        align-items: center;
        gap: 9px;
        border-radius: 12px;
    }
    #rst-services-panel .redico-mega-copy { grid-column: 2; grid-row: 1; }
    #rst-services-panel .redico-mega-arrow { grid-column: 3; width: 25px; }
}

@media (prefers-reduced-motion: no-preference) {
    [data-rst-tools-nav][open] > #rst-services-panel[data-redico-megamenu] {
        animation: redico-mega-open .2s cubic-bezier(.2, .65, .3, 1) both;
    }
    #rst-services-panel a.redico-mega-card {
        transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
    }
    #rst-services-panel .redico-mega-arrow { transition: color .16s ease, transform .16s ease; }
    #rst-services-panel a.redico-mega-card:hover .redico-mega-arrow { transform: translateX(3px); }
    @keyframes redico-mega-open {
        from { opacity: 0; translate: 0 -7px; }
        to { opacity: 1; translate: 0 0; }
    }
}

/* Shared across the commercial, editorial and directory templates. */
.rx-ux-hero {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);align-items:start;gap:clamp(24px,4vw,64px)}
.rx-ux-hero>* {min-width:0}
.rx-ux-form-wrap,.rx-ux-journey {--ux-ink:#191d22;--ux-muted:#4d5663;--ux-line:#d8dde1;--ux-paper:#fff;--ux-soft:#f5f6f7;--ux-accent:#be251b;--ux-accent-fill:#c42a1e;--ux-blush:#fff3ef;--ux-shadow:0 10px 30px -22px #2a191271;color:var(--ux-ink);color-scheme:light;font-family:var(--ff,'Inter',Arial,sans-serif);text-align:start;overflow-wrap:anywhere}
html[data-rx-theme="dark"] :is(.rx-ux-form-wrap,.rx-ux-journey) {--ux-ink:#f8f8f8;--ux-muted:#c2c9d1;--ux-line:#414750;--ux-paper:#22262c;--ux-soft:#292f36;--ux-accent:#ff9386;--ux-accent-fill:#b5291e;--ux-blush:#342724;--ux-shadow:none;color-scheme:dark}
body .rx-ux-form-wrap {width:100%;max-width:100%;align-self:start;position:relative;margin:0;min-width:0;border-radius:20px;border:1px solid var(--ux-line);border-top:3px solid var(--ux-accent);padding:clamp(18px,2.1vw,29px);background:var(--ux-paper);box-shadow:var(--ux-shadow);isolation:isolate}
.rx-ux-form-wrap *, .rx-ux-journey * {box-sizing:border-box}
body .rx-ux-form-wrap .rx-ux-form {display:grid;grid-template-columns:minmax(0,1fr);gap:11px;position:relative;margin:0;padding:0;width:100%;border:0;box-shadow:none;background:none;color:var(--ux-ink);font-family:inherit}
body .rx-ux-form-wrap .rx-ux-form__heading {font:750 clamp(20px,1.7vw,26px)/1.2 var(--ff,Arial,sans-serif);letter-spacing:-.035em;color:var(--ux-ink);margin:0;max-width:none}
body .rx-ux-form-wrap .rx-ux-form__context {font:500 13px/1.42 var(--ff,Arial,sans-serif);color:var(--ux-muted);margin:-4px 0 1px;max-width:none;letter-spacing:normal;text-transform:none}
body .rx-ux-form .rx-ux-form__field {display:grid;gap:5px;margin:0;padding:0;min-width:0;font:650 13px/1.4 var(--ff,Arial,sans-serif);color:var(--ux-ink)}
.rx-ux-form__field small {font:inherit;font-weight:450;color:var(--ux-muted)}
body .rx-ux-form .rx-ux-form__field :is(input,textarea) {width:100%;min-width:0;height:43px;max-width:100%;margin:0;padding:9px 12px;color:var(--ux-ink);background:var(--ux-soft);border:1px solid var(--ux-line);border-radius:9px;font:500 16px/1.4 var(--ff,Arial,sans-serif);box-shadow:none;text-align:start}
body .rx-ux-form .rx-ux-form__field input::placeholder{color:var(--ux-muted);opacity:1}
body .rx-ux-form .rx-ux-form__consent {display:flex;gap:9px;align-items:flex-start;min-width:0;margin:1px 0 0;font:450 12px/1.5 var(--ff,Arial,sans-serif);color:var(--ux-muted);letter-spacing:normal;text-transform:none}
body .rx-ux-form__consent input,body .rx-ux-items input {appearance:auto;position:static;opacity:1;display:inline-block;flex:none;width:17px;height:17px;margin:1px 0 0;accent-color:var(--ux-accent-fill);cursor:pointer}
body .rx-ux-form__consent a {display:inline;color:var(--ux-ink);text-decoration:underline;text-underline-offset:2px}
body .rx-ux-form .rx-ux-form__submit {display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;min-width:0;padding:11px 16px;margin:0;background:var(--ux-accent-fill);color:#fff;font:700 15px/1.35 var(--ff,Arial,sans-serif);border:0;border-radius:10px;cursor:pointer}
body .rx-ux-form .rx-ux-form__submit:hover {background:#a31e15;color:#fff}
body .rx-ux-form-wrap .rx-ux-form__sent {margin:0;color:var(--ux-ink);font:650 17px/1.45 var(--ff,Arial,sans-serif)}
body .rx-ux-form-wrap [hidden],body .rx-ux-journey [hidden]{display:none!important}
.rx-ux-icon {display:block;width:22px;height:22px;flex:none}
body .rx-ux-journey {display:block;width:100%;max-width:1280px;margin:clamp(24px,3.3vw,48px) auto;box-sizing:border-box;padding:0 clamp(16px,3vw,32px);background:transparent}
.rx-ux-frame {display:grid;gap:18px;border-top:1px solid var(--ux-line);padding-top:clamp(19px,2.7vw,36px)}
.rx-ux-section-head {position:static!important;display:block;background:none;box-shadow:none;border:0;margin:0;padding:0}
body .rx-ux-journey .rx-ux-kicker {display:flex;align-items:center;gap:8px;font:700 11px/1.4 var(--mono,monospace);color:var(--ux-accent);text-transform:uppercase;letter-spacing:.085em}
.rx-ux-kicker::before {content:"";width:19px;height:2px;background:currentColor}
body .rx-ux-journey h2 {color:var(--ux-ink);font:750 clamp(26px,3.1vw,43px)/1.13 var(--ff,Arial,sans-serif);max-width:30ch;letter-spacing:-.045em;margin:8px 0 5px}
body .rx-ux-section-head p,body .rx-ux-check-hint {font:500 15px/1.55 var(--ff,Arial,sans-serif);color:var(--ux-muted);margin:0}
.rx-ux-tools {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:14px;align-items:stretch}
body .rx-ux-tools>div,body .rx-ux-comparison {min-width:0;margin:0;border:1px solid var(--ux-line);background:var(--ux-paper);border-radius:17px;padding:clamp(16px,2vw,25px);color:var(--ux-ink)}
body .rx-ux-tools>.rx-ux-check {background:var(--ux-soft)}
body .rx-ux-journey h3,body .rx-ux-journey summary {display:flex;align-items:center;gap:10px;margin:0 0 9px;padding:0;color:var(--ux-ink);font:700 clamp(17px,1.65vw,21px)/1.3 var(--ff,Arial,sans-serif);letter-spacing:-.025em}
.rx-ux-journey h3 svg,.rx-ux-comparison summary>.rx-ux-icon {color:var(--ux-accent)}
body .rx-ux-journey a.rx-ux-path {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 0;min-height:44px;border:0;border-top:1px solid var(--ux-line);border-radius:0;background:transparent;box-shadow:none;color:var(--ux-ink);text-decoration:none}
body .rx-ux-journey a.rx-ux-path strong,body .rx-ux-journey a.rx-ux-path small {display:block;font:700 15px/1.45 var(--ff,Arial,sans-serif);letter-spacing:0}
body .rx-ux-journey a.rx-ux-path small {font-weight:450;font-size:13px;color:var(--ux-muted)}
.rx-ux-path>.rx-ux-icon {color:var(--ux-accent);width:18px;height:18px}
body .rx-ux-journey a.rx-ux-path:hover strong {text-decoration:underline;text-underline-offset:3px}
.rx-ux-items {margin-top:8px}
body .rx-ux-items label {display:flex;align-items:center;gap:10px;min-height:40px;margin:0;padding:5px 0;font:550 14px/1.45 var(--ff,Arial,sans-serif);color:var(--ux-ink);cursor:pointer}
.rx-ux-check-foot {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;border-top:1px solid var(--ux-line);margin-top:9px;padding-top:8px}
.rx-ux-count {color:var(--ux-muted);font:500 12px/1.4 var(--ff,Arial,sans-serif)}
body .rx-ux-transfer {display:inline-flex;align-items:center;gap:7px;min-height:40px;margin:0;padding:3px 0;background:none;border:0;color:var(--ux-accent);font:700 13px/1.4 var(--ff,Arial,sans-serif);cursor:pointer}
body .rx-ux-transfer:disabled {color:var(--ux-muted);cursor:default}
.rx-ux-transfer>.rx-ux-icon {width:16px;height:16px}
body .rx-ux-comparison {display:block;padding-top:0;padding-bottom:0}
body .rx-ux-comparison summary {list-style:none;cursor:pointer;min-height:56px;margin:0;font-size:17px}
.rx-ux-comparison summary::-webkit-details-marker {display:none}
.rx-ux-comparison summary::after {content:"+";margin-left:auto;font-size:23px;color:var(--ux-muted);font-weight:450}
.rx-ux-comparison[open] summary::after {content:"−"}
.rx-ux-table {width:100%;overflow:auto;padding-bottom:8px}
body .rx-ux-table table {display:table;width:100%;min-width:0;table-layout:fixed;margin:0;border:0;border-collapse:collapse;text-align:start}
body .rx-ux-table :is(th,td) {background:transparent;color:var(--ux-ink);border:0;border-top:1px solid var(--ux-line);padding:10px 8px;font:500 14px/1.45 var(--ff,Arial,sans-serif);vertical-align:top;text-align:start;white-space:normal;overflow-wrap:anywhere}
body .rx-ux-table th {font-weight:700}
body .rx-ux-table thead th {color:var(--ux-muted);font-size:12px}
body :is(.rx-ux-form-wrap,.rx-ux-journey) :is(a,button,input,summary):focus-visible {outline:3px solid var(--ux-accent);outline-offset:3px}
@media (max-width:800px){.rx-ux-hero {grid-template-columns:minmax(0,1fr);gap:16px}}
@media (max-width:640px){.rx-ux-tools{grid-template-columns:minmax(0,1fr)}body .rx-ux-journey{margin-block:24px}.rx-ux-frame{gap:12px}body .rx-ux-table :is(th,td){padding:8px 4px;font-size:13px}}
@media (prefers-reduced-motion:no-preference){.rx-ux-path>.rx-ux-icon{transition:transform .16s ease}.rx-ux-path:is(:hover,:focus-visible)>.rx-ux-icon{transform:translateX(3px)}.rx-ux-form__submit{transition:background-color .16s ease}.rx-ux-items input:checked+span{animation:rx-ux-check .2s ease-out}@keyframes rx-ux-check{50%{transform:translateX(2px)}}}
@media (prefers-reduced-motion:reduce){html:focus-within {scroll-behavior:auto!important}}
.rx-ux-company-facts{margin-top:20px}
body .rx-ux-company-facts .rx-company-stats{animation:none!important;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr))!important}
body .rx-ux-secondary-hero{align-items:center}
body .rx-ux-secondary-copy #rx-orig-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body .rx-ux-secondary-copy #rx-orig-form>div:last-child{grid-column:1/-1}
.rx-ux-skip{display:inline-flex;align-items:center;gap:6px;min-height:42px;font-weight:700}
#rx-ux-blanks{scroll-margin-top:90px;margin-top:20px}
@media(max-width:540px){body .rx-ux-secondary-copy #rx-orig-form{grid-template-columns:minmax(0,1fr)!important}}
body .rx-ux-form-wrap .rx-ux-prepare-link {display:none}
body:has(#rx-ux-next-steps) .rx-ux-form-wrap:has(form:not([hidden])) .rx-ux-prepare-link {display:inline-flex;align-items:center;min-height:32px;margin-top:5px;font:600 12px/1.4 var(--ff,Arial,sans-serif);color:var(--ux-muted);text-decoration:underline;text-underline-offset:3px}
.rx-ux-journey[id]{scroll-margin-top:88px}
/* Legacy heroes style their direct children as flex rows. Keep the form, receipt and guide link stacked. */
body .rx-ux-form-wrap {display:block!important}

/* One restrained palette; inherit REDICO's existing light/dark theme. */
.rpm,.rpm-dialog{--pm-ink:var(--rb-ink,#262b32);--pm-muted:var(--rb-muted,#626a74);--pm-paper:var(--rb-surface,#fff);--pm-soft:var(--rb-soft,#f4f5f6);--pm-line:var(--rb-line,#e2e4e7);--pm-red:var(--rb-accent-text,#a32621);font-family:var(--rb-font,'Golos Text',system-ui,sans-serif);color:var(--pm-ink);box-sizing:border-box}
.rpm *, .rpm-dialog *{box-sizing:border-box}
.rpm{position:relative;flex:1 1 0;min-width:92px;height:48px;align-self:center}
.rpm-rail{display:flex;position:absolute;inset:0 auto auto 50%;transform:translateX(-50%);width:max-content;align-items:center;gap:8px;white-space:nowrap}
.rpm :is(button,a){font:500 14px/1.3 var(--rb-font,system-ui);color:var(--pm-ink);text-decoration:none}
.rpm-trigger,.rpm-direct,.rpm-burger{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:10px 14px;border:0;border-radius:12px;background:transparent;cursor:pointer;transition:background .18s,color .18s}
.rpm-trigger::after{content:'';width:5px;height:5px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-top:-3px}
.rpm :is(button,a):hover{background:var(--pm-soft);color:var(--pm-red)}
.rpm-burger{display:none;margin-left:auto;border:1px solid transparent}

/* WordPress Additional CSS gives the navigation rail the field palette in this layer. */
@layer redicoReadability {
  #rpm-primary-nav > .rpm-rail {
    background-color: transparent !important;
    color: var(--pm-ink) !important;
  }

  #rpm-primary-nav > .rpm-rail > :is(a, button) {
    color: var(--pm-ink) !important;
  }

  #rpm-primary-nav > .rpm-rail > :is(a, button):hover {
    color: var(--pm-red) !important;
  }
}
.rpm-burger-icon{width:18px;height:10px;border-top:1.5px solid;border-bottom:1.5px solid;position:relative}
.rpm-burger-icon::after{content:'';position:absolute;top:3px;left:0;width:12px;border-top:1.5px solid}
.rpm[data-compact=true] .rpm-rail{visibility:hidden;pointer-events:none}
.rpm[data-compact=true] .rpm-burger{display:flex}
.rpm[data-rpm-static] { container-type: inline-size; }
@container (max-width: 575px) {
  .rpm:not([data-compact]) .rpm-rail { visibility: hidden; pointer-events: none; }
  .rpm:not([data-compact]) .rpm-burger { display: flex; }
}
.rpm-dialog{position:fixed;inset:var(--rpm-top,90px) 0 auto;margin:0 auto;padding:0;width:calc(100% - 48px);max-width:1120px;max-height:calc(100dvh - var(--rpm-top,90px) - 24px);border:1px solid var(--pm-line);border-radius:22px;background:var(--pm-paper);box-shadow:0 32px 100px #10182430;overflow:auto;overscroll-behavior:contain;color:var(--pm-ink)}
.rpm-dialog::backdrop{background:rgb(15 21 31 / .25);backdrop-filter:blur(5px)}
.rpm-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px 20px}
.rpm-eyebrow{display:block;color:var(--pm-red);font-size:10px;font-weight:650;letter-spacing:.14em;margin-bottom:8px}
.rpm-heading h2{font:600 clamp(21px,2.5vw,30px)/1.2 var(--rb-font,system-ui);letter-spacing:-.035em;margin:0;color:var(--pm-ink)}
.rpm-close{flex:none;width:44px;height:44px;border:1px solid var(--pm-line);border-radius:50%;background:var(--pm-paper);color:var(--pm-ink);font:300 27px/1 system-ui;cursor:pointer}
.rpm-tabs{display:flex;gap:24px;padding:0 32px;border-bottom:1px solid var(--pm-line)}
.rpm-tab{position:relative;min-height:48px;padding:0 0 14px;border:0;background:transparent;color:var(--pm-muted);font:500 14px/1.3 var(--rb-font,system-ui);cursor:pointer}
.rpm-tab[aria-selected=true]{color:var(--pm-red)}
.rpm-tab::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.rpm-tab[aria-selected=true]::after{transform:scaleX(1)}
.rpm-content{padding:24px 32px 28px}
.rpm-pane[hidden],.rpm-dialog [hidden]{display:none!important}
.rpm-searchbar{display:flex;align-items:center;gap:24px;margin-bottom:22px}
.rpm-search{flex:1;min-width:0;min-height:48px;padding:12px 16px;border:1px solid var(--pm-line);border-radius:12px;background:var(--pm-soft);color:var(--pm-ink);font:400 16px/1.4 var(--rb-font,system-ui)}
.rpm-all{font-size:13px;color:var(--pm-red);text-decoration:none;white-space:nowrap;min-height:44px;display:flex;align-items:center}
.rpm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 28px;align-items:start}
.rpm-group{border:0;margin:0;padding:0;min-width:0}
.rpm-group summary{font-size:14px;font-weight:650;line-height:1.4;min-height:44px;padding:8px 0;list-style:none;cursor:pointer;border-bottom:1px solid var(--pm-line);margin-bottom:6px;display:flex;justify-content:space-between;gap:14px}
.rpm-group summary::-webkit-details-marker{display:none}
.rpm-group summary::after {
  content: "";
  flex: none;
  align-self: center;
  width: 12px;
  height: 12px;
  color: var(--pm-red);
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
              linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.rpm-group[open] summary::after { background-size: 100% 2px, 0 0; }
.rpm-group ul{list-style:none;padding:0;margin:0}
.rpm-group li{margin:0;padding:0}
.rpm-link{display:flex;align-items:center;min-height:44px;padding:9px 10px;margin:0 -10px;border-radius:8px;color:var(--pm-ink);font-size:13px;line-height:1.45;text-decoration:none;transition:background .18s,color .18s,transform .18s;overflow-wrap:anywhere}
.rpm-link:hover{background:var(--pm-soft);color:var(--pm-red);transform:translateX(3px)}
.rpm-link[aria-current=page]{color:var(--pm-red);box-shadow:inset 2px 0 var(--pm-red);background:var(--pm-soft)}
.rpm-status{margin:12px 0 0;font-size:14px;color:var(--pm-muted)}
.rpm-status:empty{display:none}
.rpm-intro{font-size:15px;color:var(--pm-muted);margin:0 0 20px}
.rpm-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rpm-tool{display:flex;flex-direction:column;gap:8px;min-height:124px;padding:20px;border:1px solid var(--pm-line);border-radius:12px;background:var(--pm-paper);color:var(--pm-ink);text-decoration:none;transition:background .18s,border-color .18s}
.rpm-tool:hover{border-color:var(--pm-red);background:var(--pm-soft)}
.rpm-tool strong{font-size:15px;font-weight:600}.rpm-tool span{font-size:13px;line-height:1.5;color:var(--pm-muted)}
.rpm-about{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 32px}
.rpm-about .rpm-link{font-size:17px;min-height:56px}
.rpm-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 32px;background:var(--pm-soft);border-top:1px solid var(--pm-line)}
.rpm-foot strong{font-size:14px;font-weight:600}.rpm-foot span{display:block;color:var(--pm-muted);font-size:12px;line-height:1.5;margin-top:5px}
.rpm-cta{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:46px;padding:12px 18px;border-radius:10px;background:#a32621;color:#fff;font-size:13px;font-weight:600;text-decoration:none;transition:background .18s}
.rpm-cta:hover{background:#851d19}
:is(.rpm,.rpm-dialog) :is(a,button,input,summary,[tabindex]):focus-visible{outline:2px solid var(--pm-red);outline-offset:3px}
/* Override the legacy header layout only while enhancement is mounted. */
@layer redicoUsability{
 html body .rpm-header .rx-header-in{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:clamp(12px,2vw,32px)!important;min-height:76px!important;height:auto!important;padding:12px 24px!important}
 html body .rpm-header .rx-header-in>.rpm{display:block!important;order:1!important;flex:1 1 0!important;min-width:92px!important}
 html body .rpm-header .rx-hdr-right{order:2!important;flex:0 0 auto!important}
 @media(max-width:760px){
 html body .rpm-header .rx-header-in{min-height:68px!important;padding:10px 16px!important}
 html body .rpm-header .rx-hdr-tag,html body .rpm-header .rx-hdr-right{display:none!important}
 html body .rpm-header .rx-header-in>:first-child{flex:0 1 auto!important;min-width:0!important}
 html body .rpm-header .rx-logo img{max-width:140px!important;height:auto!important}
 }
}
@media(max-width:760px){
 .rpm-dialog{inset:12px 0 auto;width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:18px}
 .rpm-head{padding:20px 18px 16px;gap:12px}.rpm-heading h2{font-size:23px}
 .rpm-tabs{padding:0 18px;gap:20px;overflow:auto}.rpm-tab{font-size:13px;flex-shrink:0}
 .rpm-content{padding:18px}.rpm-grid,.rpm-tools,.rpm-about{grid-template-columns:1fr;gap:8px}
 .rpm-group summary{padding:14px 0;margin:0;font-size:15px}.rpm-link{font-size:14px}
 .rpm-foot{padding:18px;align-items:stretch;flex-direction:column;gap:14px}
 .rpm-searchbar{gap:12px;flex-wrap:wrap;margin-bottom:12px}.rpm-search{flex-basis:100%}.rpm-all{margin-left:auto}
 .rpm-tool{min-height:auto;padding:16px}.rpm-about .rpm-link{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.rpm *,.rpm-dialog *{transition:none!important;animation:none!important;scroll-behavior:auto!important}.rpm-link:hover{transform:none}}
.rpm-column{display:grid;gap:22px;align-content:start;min-width:0}
.rpm-column:not(:has(.rpm-group:not([hidden]))){display:none}
@layer redicoUsability{
 html body .rpm-dialog .rpm-heading h2{font-size:clamp(21px,2.5vw,30px)!important;line-height:1.2!important;letter-spacing:-.035em!important;margin:0!important}
 html body .rpm-dialog a{color:var(--pm-ink)!important;text-decoration:none!important}
 html body .rpm-dialog a:hover,html body .rpm-dialog .rpm-all{color:var(--pm-red)!important}
 html body .rpm-dialog .rpm-cta{color:#fff!important;background:#a32621!important}
 html body .rpm-dialog .rpm-link{min-height:36px!important;padding:7px 10px!important}
 @media(max-width:760px){html body .rpm-dialog .rpm-link{min-height:44px!important}}
}
@media(max-width:760px){.rpm-column{display:contents}}
@layer redicoUsability{html body .rpm-header .rx-header-in>.rpm-legacy{display:none!important}}
@layer redicoUsability{
 html body .rx-header.rpm-header .rx-header-in>.rpm{order:1!important}
 html body .rx-header.rpm-header .rx-header-in>.rx-header-contacts{order:2!important}
 html body .rx-header.rpm-header .rx-header-in>.rx-hdr-right{order:3!important}
 @media(max-width:760px){html body .rx-header.rpm-header .rx-header-in>.rx-header-contacts{display:none!important}}
}
.rpm-trigger,.rpm-direct{padding-inline:12px}
.rpm-tabs{overflow-x:auto;overflow-y:hidden;flex-shrink:0}
/* 1.1: fit laptop height without shrinking reading text. */
.rpm-dialog{inset:12px 0 auto;max-height:calc(100dvh - 24px);max-width:1200px;border-radius:18px}
.rpm-head{padding:12px 24px 4px;gap:12px}
.rpm-eyebrow{display:none}
.rpm-tabs{padding:0 24px;gap:24px}
.rpm-tab{min-height:38px;padding-bottom:8px}
.rpm-content{padding:12px 24px}
.rpm-searchbar{margin-bottom:10px;gap:16px}
.rpm-search{min-height:40px;padding:8px 12px}
.rpm-grid{gap:20px}.rpm-column{gap:10px}
.rpm-group summary{min-height:30px;padding:5px 0;margin-bottom:2px;font-size:13px;line-height:1.3}
.rpm-foot{padding:10px 24px;gap:12px}.rpm-foot span{display:none}
.rpm-cta{min-height:38px;padding:9px 14px}
.rpm-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rpm-tool{min-height:105px;padding:14px;gap:6px}
.rpm-about-group h3{font:600 14px/1.4 var(--rb-font,system-ui);color:var(--pm-ink);margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid var(--pm-line)}
@layer redicoUsability{
 html body .rpm-dialog#rpm-dialog .rpm-heading h2{font-size:22px!important;line-height:1.2!important}
 html body .rpm-dialog#rpm-dialog .rpm-link{min-height:28px!important;padding:4px 8px!important;font-size:13px!important;line-height:1.35!important;margin:0 -8px!important}
 html body .rpm-dialog#rpm-dialog .rpm-about-group h3{font-size:14px!important;line-height:1.4!important;margin:0 0 8px!important}
}
@media(max-width:760px){
 .rpm-dialog{width:calc(100% - 16px);inset:8px 0 auto;max-height:calc(100dvh - 16px)}
 .rpm-head{position:sticky;top:0;padding:10px 16px 4px;background:var(--pm-paper);z-index:2}
 .rpm-tabs{position:sticky;top:58px;background:var(--pm-paper);z-index:2;padding:0 16px;gap:24px}
 .rpm-tab{min-height:44px;padding-bottom:10px}
 .rpm-content{padding:12px 16px}.rpm-grid{gap:0}
 .rpm-searchbar{gap:6px;margin-bottom:8px}.rpm-search{min-height:44px}
 .rpm-group summary{min-height:48px;padding:12px 0;font-size:14px;line-height:1.35}
 .rpm-tools,.rpm-about{grid-template-columns:1fr;gap:16px}
 .rpm-tool{min-height:80px;padding:12px}
 .rpm-foot{padding:12px 16px;gap:10px}.rpm-cta{min-height:44px}
 @layer redicoUsability{
  html body .rpm-dialog#rpm-dialog .rpm-link{min-height:44px!important;padding:9px 8px!important;font-size:14px!important}
  html body .rpm-dialog#rpm-dialog .rpm-heading h2{font-size:20px!important}
 }
}
@media(min-width:761px) and (max-height:680px){
 .rpm-head{padding:4px 20px 0}.rpm-close{width:36px;height:36px}.rpm-tab{min-height:32px;padding-bottom:6px}
 .rpm-content{padding:8px 20px}.rpm-search{min-height:36px;padding:6px 12px}.rpm-searchbar{margin-bottom:6px}
 .rpm-group summary{min-height:26px;padding:3px 0}.rpm-column{gap:8px}
 .rpm-foot{padding:6px 20px}.rpm-cta{min-height:32px;padding:7px 12px}
 @layer redicoUsability{html body .rpm-dialog#rpm-dialog .rpm-link{min-height:26px!important;padding:3px 8px!important}}
}
.rpm-tool-featured{border-color:var(--pm-red);background:var(--pm-soft)}
@media(max-width:760px){.rpm-tabs{gap:12px}.rpm-tab{font-size:12px}}
@media(max-width:360px){.rpm-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.rpm-tab{min-height:36px;padding:6px 0;text-align:left}}
@media(min-width:761px) and (max-height:680px){.rpm-intro{display:none}.rpm-tool{min-height:88px;padding:12px;gap:4px}}
@media(max-width:760px){.rpm-tabs{top:var(--rpm-head-height,58px)}}

.rpm-dialog { max-width: 1320px; }
.rpm-overview { border-top: 1px solid var(--pm-line); }
.rpm-tools-more { grid-column: 1 / -1; min-width: 0; }
.rpm-tools-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--pm-line);
  border-radius: 12px;
  background: var(--pm-soft);
  color: var(--pm-ink);
  font-weight: 650;
  cursor: pointer;
}
.rpm-tools-more > summary::-webkit-details-marker { display: none; }
.rpm-tools-more > summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.rpm-tools-more[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.rpm-tools-more > .rpm-tools { margin-top: 8px; }
.rpm-mobile-contacts { display: none; }

@layer redicoUsability {
  html body .rx-header.rpm-header .rx-header-in > .rpm[data-rpm-static] + [data-rst-header-nav] {
    display: none !important;
  }
  html body .rx-header.rpm-header #rr-theme-lamp {
    flex: 0 0 64px !important;
    inline-size: 64px !important;
    min-block-size: 44px;
  }
  @media (min-width: 761px) {
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header {
      box-sizing: border-box !important;
      width: calc(100% - 24px) !important;
      max-width: 1560px !important;
      gap: clamp(10px, 1vw, 18px) !important;
      padding-inline: 16px !important;
    }
  }
  @media (min-width: 761px) and (max-width: 1390px) {
    html body .rx-header.rpm-header .rx-header-in > .rx-header-contacts {
      flex-direction: column !important;
      align-items: flex-end !important;
      gap: 3px !important;
    }
  }
  @media (max-width: 760px) {
    html body .rx-header.rpm-header .rx-header-in.rr-reference-header {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto auto !important;
      grid-template-areas: "brand menu theme" "contacts contacts contacts";
      box-sizing: border-box !important;
      width: 100% !important;
      gap: 2px 9px !important;
      padding: 8px 12px 4px !important;
    }
    html body .rx-header.rpm-header .rx-header-in > :first-child { grid-area: brand; }
    html body .rx-header.rpm-header .rx-header-in > .rpm {
      grid-area: menu;
      min-inline-size: 100px !important;
    }
    html body .rx-header.rpm-header .rx-header-in > .rx-hdr-right {
      grid-area: theme;
      display: flex !important;
      justify-content: flex-end !important;
      min-width: 0 !important;
    }
    html body .rx-header.rpm-header .rx-header-in > .rx-hdr-right .rx-hdr-cta {
      display: none !important;
    }
    html body .rx-header.rpm-header .rx-header-in > .rx-header-contacts {
      grid-area: contacts;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      flex-wrap: wrap !important;
      gap: 0 18px !important;
      border-top: 1px solid var(--rb-line, #dce0e4);
    }
    html body .rx-header.rpm-header .rx-header-in > .rx-header-contacts a {
      min-height: 38px !important;
      font-size: 13px !important;
    }
    html body .rx-header.rpm-header .rx-header-in .rx-logo img { max-width: min(100%, 132px) !important; }
  }
}

@media (max-width: 760px) {
  .rpm:not([data-compact]) .rpm-rail { visibility: hidden; pointer-events: none; }
  .rpm:not([data-compact]) .rpm-burger { display: flex; }
  .rpm-mobile-contacts {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 0 16px;
    border-bottom: 1px solid var(--pm-line);
    font-size: 12px;
  }
  .rpm-mobile-contacts :is(a, button) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .rpm-mobile-theme {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--pm-ink);
    font: inherit;
    cursor: pointer;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  ::view-transition-old(root) {
    animation: none;
    opacity: 0;
  }
  ::view-transition-new(root) {
    animation: redico-page-arrival 160ms ease-out both;
    mix-blend-mode: normal;
  }

  #home-content .rr-home-intro > :is(.rr-eyebrow, .rr-start-links, .rx-hero-contacts),
  main .rx-hero-crumb-slot {
    animation: redico-detail-arrival 230ms cubic-bezier(.2, .75, .3, 1) backwards;
  }
  #home-content .rr-home-intro > .rr-start-links { animation-delay: 35ms; }
  #home-content .rr-home-intro > .rx-hero-contacts { animation-delay: 65ms; }
}

@keyframes redico-page-arrival {
  from { opacity: .94; }
  to { opacity: 1; }
}

@keyframes redico-detail-arrival {
  from { opacity: .88; translate: 0 4px; }
  to { opacity: 1; translate: 0 0; }
}

/* Keep grouped links clickable when the mobile navigation has little height. */
@media (max-width: 760px) and (max-height: 500px) {
  html body dialog#rpm-dialog.rpm-dialog .rpm-head,
  html body dialog#rpm-dialog.rpm-dialog .rpm-tabs {
    position: static !important;
    top: auto !important;
  }
  html body dialog#rpm-dialog.rpm-dialog {
    scroll-padding-top: 12px !important;
  }
}
/* REDICO R2D2 / header layout repair — 2026-11-13.
 * The PHP header contains anonymous flex items made from NBSP-only text nodes.
 * Zero the wrapper text size, then size real controls explicitly. This keeps
 * the existing navigation controller, theme toggle, contacts and CTA intact.
 * The existing first cascade layer is required: old !important layout rules
 * in this layer outrank new unlayered declarations.
 */
@layer redicoReadability {
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in.rr-reference-header {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto !important;
    grid-template-areas: "brand search menu contacts theme" !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 10px !important;
    height: auto !important;
    min-height: 76px !important;
    padding-block: 8px !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > :first-child {
    grid-area: brand !important;
    min-width: 0 !important;
    width: auto !important;
    font-size: 0 !important;
    gap: 0 !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-logo {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    line-height: 1 !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-logo img {
    width: 131px !important;
    max-width: 100% !important;
    height: auto !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rxmax-trigger {
    grid-area: search !important;
    justify-self: start !important;
    order: 0 !important;
    width: 104px !important;
    min-width: 104px !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    margin: 0 !important;
    font-size: 13px !important;
  }
  html body .rx-header.rpm-header .rx-header-in > #rpm-primary-nav {
    grid-area: menu !important;
    width: 100% !important;
    min-width: max-content !important;
    min-inline-size: max-content !important;
    height: 46px !important;
    padding-inline: 8px !important;
    box-sizing: border-box !important;
    container-type: normal !important;
  }
  html body .rx-header.rpm-header #rpm-primary-nav > .rpm-rail {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: max-content !important;
    max-width: none !important;
    gap: 4px !important;
    margin-inline: auto !important;
  }
  html body .rx-header.rpm-header #rpm-primary-nav > .rpm-rail > :is(a, button) {
    padding-inline: 8px !important;
    font-size: 13px !important;
    min-height: 44px !important;
    white-space: nowrap !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rx-header-contacts {
    grid-area: contacts !important;
    display: flex !important;
    position: static !important;
    inset: auto !important;
    flex-flow: column nowrap !important;
    width: auto !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 0 !important;
    border: 0 !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-contacts > a {
    min-height: 28px !important;
    height: auto !important;
    min-block-size: 28px !important;
    block-size: auto !important;
    padding: 3px 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rx-hdr-right {
    grid-area: theme !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    gap: 12px !important;
    font-size: 0 !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) #rr-theme-lamp {
    flex: 0 0 64px !important;
    width: 64px !important;
    inline-size: 64px !important;
    min-width: 64px !important;
    font-size: 14px !important;
  }
  html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-hdr-right .rx-hdr-cta {
    min-width: 148px !important;
    padding-inline: 14px !important;
    font-size: 13px !important;
  }

  /* A second navigation row preserves every desktop label on small laptops. */
  @media (min-width: 1000px) and (max-width: 1399px) {
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in.rr-reference-header {
      grid-template-columns: auto minmax(0, 1fr) auto !important;
      grid-template-areas: "brand contacts theme" "search menu menu" !important;
      gap: 4px 14px !important;
      padding-block: 6px !important;
    }
    html body .rx-header.rpm-header #rpm-primary-nav > .rpm-rail { margin-inline: 0 auto !important; }
  }

  @media (min-width: 1000px) {
    html body .rx-header.rpm-header #rpm-primary-nav > .rpm-rail {
      display: flex !important;
      visibility: visible !important;
      pointer-events: auto !important;
    }
    html body .rx-header.rpm-header #rpm-primary-nav > .rpm-burger { display: none !important; }
  }

  @media (max-width: 999px) {
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in.rr-reference-header {
      grid-template-columns: minmax(0, 1fr) auto auto 64px !important;
      grid-template-areas: "brand search menu theme" "contacts contacts contacts contacts" !important;
      grid-template-rows: auto auto !important;
      gap: 0 8px !important;
      padding-block: 5px !important;
    }
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rxmax-trigger {
      width: 90px !important;
      min-width: 90px !important;
      padding-inline: 5px !important;
      gap: 4px !important;
    }
    html body .rx-header.rpm-header .rx-header-in > #rpm-primary-nav {
      width: auto !important;
      min-width: 44px !important;
      min-inline-size: 44px !important;
      padding: 0 !important;
      height: 44px !important;
    }
    html body .rx-header.rpm-header #rpm-primary-nav > .rpm-rail { display: none !important; }
    html body .rx-header.rpm-header #rpm-primary-nav > .rpm-burger {
      display: flex !important;
      visibility: visible !important;
      pointer-events: auto !important;
      min-width: 44px !important;
      min-height: 44px !important;
      width: auto !important;
      margin: 0 !important;
      padding: 8px !important;
      font-size: 13px !important;
    }
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rx-header-contacts {
      flex-flow: row wrap !important;
      align-items: center !important;
      gap: 0 16px !important;
      border-top: 1px solid var(--rb-line, #d6d2cc) !important;
    }
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-contacts > a {
      min-height: 44px !important;
      min-block-size: 44px !important;
      font-size: 12px !important;
    }
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-hdr-right .rx-hdr-cta { display: none !important; }
  }
  @media (max-width: 599px) {
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-logo img { width: 104px !important; }
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in.rr-reference-header { column-gap: 4px !important; }
    html body .rx-header.rpm-header #rpm-primary-nav > .rpm-burger { font-size: 0 !important; gap: 0 !important; }
  }
  @media (max-width: 399px) {
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-logo img { width: 98px !important; }
  }
  /* At 320px: 88 + 84 + 44 + 64 + 3×2 = 286px, within the 288px header. */
  @media (max-width: 359px) {
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in.rr-reference-header { column-gap: 2px !important; }
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-logo img { width: 88px !important; }
    html body .rx-header.rpm-header:has(#rpm-primary-nav) .rx-header-in > .rxmax-trigger {
      width: 84px !important;
      min-width: 84px !important;
    }
  }
}

/* Max follows REDICO's warm paper, graphite and carmine palette. */
html.rxmax-open{overflow:hidden!important;scrollbar-gutter:stable}
.rxmax-trigger{--rxmax-ink:#a92335;position:relative;overflow:visible;min-width:104px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:4px 12px;border:0;border-radius:18px 6px 18px 6px;background:transparent;color:var(--rxmax-ink);font:650 13px/1.2 Inter,Arial,sans-serif;cursor:pointer;white-space:nowrap;transition:color .18s;flex-shrink:0;box-shadow:none}
.rxmax-trigger::before{content:none}
.rxmax-trigger svg{width:20px;height:20px;flex:none}.rxmax-trigger:hover{background:transparent;color:#871728;transform:none;box-shadow:none}
.rxmax-trigger-label{letter-spacing:.45px}
.rxmax-droid-asset{position:relative;display:block;flex:none;width:30px;height:34px;overflow:hidden;isolation:isolate}.rxmax-trigger .rxmax-droid{display:block;width:30px;height:34px;overflow:visible}.rxmax-trigger .rxmax-droid-image{position:absolute;left:0;top:0;display:block;width:480px;height:34px;max-width:none;object-fit:fill;border:0;border-radius:0;background:transparent;opacity:0;transform:translateX(0)}.rxmax-droid-ready .rxmax-droid-image{opacity:1}.rxmax-droid-ready .rxmax-droid{visibility:hidden}

html[data-theme=dark] .rxmax-trigger,html[data-rx-theme=dark] .rxmax-trigger{--rxmax-ink:#ff94a1;color:var(--rxmax-ink);background:transparent}
.rxmax-trigger:focus-visible{outline:3px solid #b52336;outline-offset:4px}
.rxmax-trigger:hover,.rxmax-trigger:focus{animation:none;z-index:10010}
.rxmax-trigger-tip{position:absolute;left:50%;top:calc(100% + 12px);transform:translate(-50%,5px);display:block;width:290px;padding:17px 19px;border:1px solid #d4d1cb;border-radius:14px;background:#fbfaf7;color:#232426;box-shadow:0 12px 35px #17202b24;font:400 12px/1.55 Inter,Arial,sans-serif;text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s}
.rxmax-trigger-tip::before{content:"";position:absolute;left:0;right:0;height:14px;top:-14px}
.rxmax-trigger-tip strong{display:block;font-size:13px;font-weight:650;margin-bottom:6px}.rxmax-trigger-tip>span{display:block;color:#62656b}
.rxmax-trigger:not(.rxmax-tip-dismissed):is(:hover,:focus) .rxmax-trigger-tip{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
html[data-theme=dark] .rxmax-trigger-tip,html[data-rx-theme=dark] .rxmax-trigger-tip{background:#292d32;color:#f4f2ed;border-color:#484c53;box-shadow:0 12px 35px #0005}html[data-theme=dark] .rxmax-trigger-tip>span,html[data-rx-theme=dark] .rxmax-trigger-tip>span{color:#bec3ca}
@media(max-width:599px){.rxmax-trigger-tip{width:250px}}
.rxmax-dialog{--mx-bg:#eeece7;--mx-card:#fbfaf7;--mx-text:#232426;--mx-muted:#62656b;--mx-line:#d4d1cb;--mx-red:#ae2235;--mx-soft:#f6e8e8;box-sizing:border-box;position:fixed;inset:0;width:min(1040px,calc(100vw - 48px));max-width:none;height:auto;max-height:calc(100dvh - 64px);margin:auto;padding:0;overflow:hidden;border:1px solid var(--mx-line);border-radius:26px;background:var(--mx-bg);color:var(--mx-text);font:400 15px/1.55 Inter,Arial,sans-serif;box-shadow:0 32px 100px #0005;color-scheme:light;overscroll-behavior:contain}
.rxmax-dialog[open]{animation:rxmax-window .22s cubic-bezier(.2,.8,.2,1) both}
.rxmax-dialog::backdrop{background:#11151ab8;backdrop-filter:blur(8px);animation:rxmax-backdrop .2s ease both}
.rxmax-dialog.rxmax-closing{animation:rxmax-out .16s ease both}.rxmax-dialog.rxmax-closing::backdrop{animation:rxmax-backdrop .16s ease reverse both}
.rxmax-dialog *{box-sizing:border-box}.rxmax-dialog [hidden]{display:none!important}
.rxmax-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 66px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9b9da2 transparent}
.rxmax-shell>*{flex-shrink:0}.rxmax-top{position:sticky;top:0;z-index:3;background:var(--mx-bg)}
.rxmax-dialog h2,.rxmax-dialog h3,.rxmax-dialog p{color:var(--mx-text)!important;margin:0;font-family:inherit}
.rxmax-dialog button,.rxmax-dialog input{font:inherit;letter-spacing:normal}
.rxmax-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 32px 10px}
.rxmax-brand{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:1.6px;color:var(--mx-text)}
.rxmax-emblem{display:grid;grid-template-columns:1fr auto;align-content:center;width:40px;height:40px;border:1px solid var(--mx-red);border-radius:12px;background:var(--mx-text);color:var(--mx-card);font-size:18px;letter-spacing:-2px;line-height:1;padding:5px 8px}.rxmax-emblem span{color:#ff7889}.rxmax-brand-divider{opacity:.4;margin:0 3px}
.rxmax-scope{font-size:11px;font-weight:500;letter-spacing:0;border-left:1px solid var(--mx-line);padding-left:12px;color:var(--mx-muted)}
.rxmax-close{flex:none;display:flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--mx-muted);padding:6px 4px;cursor:pointer;min-width:44px;min-height:44px}.rxmax-close>span{font:300 30px/1 Arial}
.rxmax-dialog kbd{font:500 10px/1.2 Inter,Arial,sans-serif;color:var(--mx-muted);border:1px solid var(--mx-line);border-radius:4px;padding:3px 5px}
.rxmax-intro{padding:12px 32px 23px;animation:rxmax-intro .3s ease both}.rxmax-intro h2{font-size:clamp(28px,3.3vw,41px);font-weight:650;line-height:1.13;letter-spacing:-1.7px;margin-bottom:11px}.rxmax-intro h2 span{color:var(--mx-red)}.rxmax-intro p{font-size:14px;line-height:1.6;color:var(--mx-muted)!important}
.rxmax-form{padding:0 32px;margin:0!important}.rxmax-field{display:flex;align-items:center;gap:12px;border:1.5px solid var(--mx-line);border-radius:15px;padding:8px 8px 8px 18px;background:var(--mx-card);transition:border-color .15s,box-shadow .15s;min-height:65px}.rxmax-field:focus-within{border-color:var(--mx-red);box-shadow:0 0 0 3px var(--mx-soft)}
.rxmax-field>svg{width:23px;height:23px;flex:none;color:var(--mx-red)}
.rxmax-dialog .rxmax-field input{appearance:none;-webkit-appearance:none;width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--mx-text)!important;padding:7px 0!important;font-size:17px!important;line-height:1.4;height:auto;border-radius:0}
.rxmax-field input::placeholder{color:var(--mx-muted);opacity:1}.rxmax-field input::-webkit-search-cancel-button{display:none}
.rxmax-clear{flex:none;border:0;background:transparent;color:var(--mx-muted);font-size:24px!important;width:36px;height:40px;cursor:pointer}
.rxmax-submit,.rxmax-retry{flex:none;background:#b52336;color:#fff;border:1px solid #b52336;border-radius:10px;padding:12px 16px;cursor:pointer;font-weight:600!important;font-size:14px!important;min-height:44px}.rxmax-submit span{margin-left:15px;font-size:17px}
.rxmax-form>p{font-size:11px;color:var(--mx-muted)!important;margin:9px 3px 0}
.rxmax-search-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.rxmax-search-tools p{font-size:11px;color:var(--mx-muted)!important;margin:0}.rxmax-search-tools .rxmax-quote-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;min-height:40px;padding:7px 12px;border:1px solid var(--mx-line);border-radius:9px;background:var(--mx-card);color:var(--mx-red);font-size:12px;font-weight:600;cursor:pointer}.rxmax-quote-button:hover{border-color:var(--mx-red);background:var(--mx-soft)}
@media(max-width:600px){.rxmax-search-tools{align-items:flex-start;flex-direction:column;gap:8px}.rxmax-search-tools .rxmax-quote-button{width:100%;justify-content:space-between;min-height:42px}}
.rxmax-content{padding:0 32px 26px;min-height:280px}.rxmax-topics{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:19px 0 20px}.rxmax-topics>span{color:var(--mx-muted);font-size:11px;margin-right:3px}.rxmax-topics button,.rxmax-filter{border:1px solid var(--mx-line);border-radius:7px;background:transparent;padding:7px 10px;color:var(--mx-text);font-size:11px;line-height:1.4;cursor:pointer;min-height:34px;transition:background .16s,border-color .16s}
.rxmax-topics button:hover,.rxmax-filter:hover{background:var(--mx-card);border-color:var(--mx-red)}
.rxmax-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:17px}.rxmax-filter[aria-pressed=true]{background:var(--mx-text);border-color:var(--mx-text);color:var(--mx-bg)}
.rxmax-results-head{display:flex;justify-content:space-between;gap:18px;align-items:baseline;margin:0 0 12px}.rxmax-results-head .rxmax-status{font-size:12px;font-weight:650;line-height:1.5}.rxmax-result-tip{font-size:10px;color:var(--mx-muted);flex:none}
.rxmax-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;transition:opacity .12s}.rxmax-grid[aria-busy=true]{opacity:.55}
.rxmax-dialog .rxmax-card{position:relative;display:flex;flex-direction:column;gap:9px;min-height:182px;padding:20px;border:1px solid var(--mx-line);border-radius:16px;background:var(--mx-card);color:var(--mx-text)!important;text-decoration:none!important;overflow:hidden;animation:rxmax-card .24s ease both;animation-delay:calc(var(--rxmax-i,0)*22ms);transition:border-color .18s,transform .18s,box-shadow .18s}
.rxmax-card:first-child{grid-column:span 2;background:linear-gradient(120deg,var(--mx-card),var(--mx-soft))!important}.rxmax-card:first-child h3{font-size:21px}
.rxmax-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.rxmax-type{font-size:10px;line-height:1.4;letter-spacing:.6px;font-weight:600;color:var(--mx-red);text-transform:uppercase}.rxmax-arrow{font-size:20px;line-height:1;color:var(--mx-muted)}
.rxmax-card h3{font-size:16px;line-height:1.3;letter-spacing:-.3px;font-weight:650;overflow-wrap:anywhere}.rxmax-card p{font-size:12px;line-height:1.6;color:var(--mx-muted)!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.rxmax-read{margin-top:auto;padding-top:6px;font-size:10px;font-weight:600;color:var(--mx-red);text-decoration:underline;text-underline-offset:3px}
.rxmax-card:hover{transform:translateY(-2px);border-color:var(--mx-red)!important;box-shadow:0 5px 14px #00000009}.rxmax-card:hover .rxmax-arrow{color:var(--mx-red)}
.rxmax-dialog mark{background:var(--mx-soft);color:inherit;padding:0 1px;border-radius:2px}
.rxmax-more{display:block;margin:20px auto 0;border:1px solid var(--mx-line);border-radius:9px;background:var(--mx-card);color:var(--mx-text);padding:11px 22px;min-height:44px;cursor:pointer}.rxmax-more:disabled{opacity:.6}
.rxmax-empty{grid-column:1/-1;border:1px dashed var(--mx-line);border-radius:15px;padding:28px;min-height:170px}.rxmax-empty h3{font-size:20px;margin-bottom:10px}.rxmax-empty p{font-size:14px;margin-bottom:16px;max-width:65ch;color:var(--mx-muted)!important}.rxmax-empty a{color:var(--mx-red)!important;text-decoration:underline;text-underline-offset:3px}
.rxmax-footer{display:flex;justify-content:space-between;gap:12px;padding:13px 32px;border-top:1px solid var(--mx-line);font-size:10px;color:var(--mx-muted);margin-top:auto}.rxmax-keys{display:flex;align-items:center;gap:5px}
.rxmax-registry{margin-top:28px;padding-top:23px;border-top:1px solid var(--mx-line)}.rxmax-registry-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.rxmax-registry-heading h3{font-size:18px;line-height:1.3}.rxmax-registry-heading p{font-size:11px;color:var(--mx-muted)!important;margin-top:4px}.rxmax-registry-heading label{font-size:11px;color:var(--mx-muted);display:flex;align-items:center;gap:8px}.rxmax-registry-heading select{font:inherit;color:var(--mx-text);background:var(--mx-card);border:1px solid var(--mx-line);border-radius:8px;padding:8px;max-width:170px;min-height:38px}.rxmax-registry-status{font-size:12px;color:var(--mx-muted)!important;margin-bottom:12px!important}.rxmax-registry-grid .rxmax-card:first-child{grid-column:auto}.rxmax-registry-grid .rxmax-card h3{font-size:15px}.rxmax-registry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.rxmax-registry-heading{align-items:flex-start;flex-direction:column}.rxmax-registry-grid{grid-template-columns:1fr}}
.rxmax-dialog :is(a,button):focus-visible{outline:3px solid var(--mx-red);outline-offset:3px}.rxmax-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[data-theme=dark] .rxmax-dialog,html[data-rx-theme=dark] .rxmax-dialog{--mx-bg:#202327;--mx-card:#292d32;--mx-text:#f4f2ed;--mx-muted:#bec3ca;--mx-line:#484c53;--mx-red:#ff94a1;--mx-soft:#3c2a30;color-scheme:dark}
@keyframes rxmax-window{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes rxmax-backdrop{from{opacity:0}to{opacity:1}}
@keyframes rxmax-out{to{opacity:0;transform:translateY(8px) scale(.99)}}
@keyframes rxmax-intro{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes rxmax-card{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:700px){.rxmax-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:20px}.rxmax-shell{max-height:calc(100dvh - 22px)}.rxmax-top{padding:17px 20px 6px}.rxmax-intro{padding:12px 20px 19px}.rxmax-intro h2{font-size:29px;letter-spacing:-1px}.rxmax-intro p{font-size:12px}.rxmax-form{padding:0 20px}.rxmax-content{padding:0 20px 22px}.rxmax-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rxmax-card:first-child{grid-column:span 2}.rxmax-result-tip{display:none}.rxmax-footer{padding:12px 20px}.rxmax-scope{display:none}.rxmax-brand{font-size:10px}.rxmax-field{gap:7px;padding-left:12px;min-height:58px}.rxmax-field>svg{width:20px}.rxmax-dialog .rxmax-field input{font-size:16px!important}.rxmax-submit{font-size:0!important;width:42px;padding:8px;min-height:40px}.rxmax-submit span{font-size:21px;margin:0}.rxmax-clear{width:28px}.rxmax-topics{gap:6px;margin:16px 0}.rxmax-topics button{font-size:10px}.rxmax-keys{display:none}}
@media(max-width:440px){.rxmax-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:17px}.rxmax-shell{max-height:calc(100dvh - 14px)}.rxmax-top{padding:12px 14px 3px}.rxmax-intro{padding:9px 14px 16px}.rxmax-intro h2{font-size:26px}.rxmax-intro h2 span{display:block}.rxmax-form{padding:0 14px}.rxmax-content{padding:0 14px 20px}.rxmax-grid{grid-template-columns:1fr}.rxmax-card:first-child{grid-column:auto}.rxmax-dialog .rxmax-card{min-height:158px;padding:17px}.rxmax-card:first-child h3{font-size:18px}.rxmax-field>svg{display:none}.rxmax-field{gap:3px}.rxmax-footer{padding:12px 14px}.rxmax-close kbd{display:none}.rxmax-results-head .rxmax-status{font-size:11px}.rxmax-filter{min-height:38px}}
@media(prefers-reduced-motion:reduce){.rxmax-dialog,.rxmax-dialog::backdrop,.rxmax-dialog *,.rxmax-trigger,.rxmax-trigger::before,.rxmax-trigger *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.rxmax-card:hover,.rxmax-trigger:hover{transform:none!important}}
@media(prefers-reduced-motion:reduce){.rxmax-trigger .rxmax-droid-image{transform:none!important}}
/* Optional integration patch: the site's redicoBento global h2/h3 important
 * rules otherwise override Max's normal/unlayered component typography. */
@layer redicoReadability {
  html body #rxmax-trigger .rxmax-droid-image { max-width:none !important; width:480px !important; height:34px !important; }
  html body #rxmax-dialog .rxmax-field input {
    border: 0 !important; outline: 0 !important; box-shadow: none !important;
    background: transparent !important; color: var(--mx-text) !important;
  }
  html body #rxmax-dialog .rxmax-registry-heading h3 { font-size:18px !important; line-height:1.3 !important; }
  html body #rxmax-dialog .rxmax-registry-grid .rxmax-card h3 { font-size:15px !important; }
  html body #rxmax-dialog :is(h2, h3) {
    color: var(--mx-text) !important;
    font-family: inherit !important;
    font-weight: 650 !important;
  }
  html body #rxmax-dialog .rxmax-intro h2 {
    font-size: clamp(28px, 3.3vw, 41px) !important;
    line-height: 1.13 !important;
    letter-spacing: -1.7px !important;
  }
  html body #rxmax-dialog .rxmax-card h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    letter-spacing: -.3px !important;
  }
  html body #rxmax-dialog .rxmax-card:first-child h3 { font-size: 21px !important; }
  html body #rxmax-dialog .rxmax-empty h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    letter-spacing: -.3px !important;
  }
  @media (max-width: 700px) {
    html body #rxmax-dialog .rxmax-intro h2 { font-size: 29px !important; letter-spacing: -1px !important; }
  }
  @media (max-width: 440px) {
    html body #rxmax-dialog .rxmax-intro h2 { font-size: 26px !important; }
    html body #rxmax-dialog .rxmax-card:first-child h3 { font-size: 18px !important; }
  }
}

/* Native dialog above the search; original form nodes retain every binding. */
@layer redicoReadability {
  html.rxmax-quote-open { overflow: hidden !important; }
  html body dialog#rxmax-quote-dialog {
    --rxq-bg: #fbfaf7; --rxq-text: #242428; --rxq-muted: #67636b; --rxq-line: #d7d2cc; --rxq-field: #fff;
    width: min(720px, calc(100% - 24px)) !important; max-width: 720px !important;
    max-height: calc(100dvh - 32px) !important; margin: auto !important; padding: 0 !important;
    border: 1px solid var(--rxq-line) !important; border-radius: 24px !important;
    background: var(--rxq-bg) !important; color: var(--rxq-text) !important;
    box-shadow: 0 32px 100px #0005 !important; overflow: auto !important; overscroll-behavior: contain;
    font-family: Inter, Arial, sans-serif !important;
  }
  html[data-theme="dark"] body dialog#rxmax-quote-dialog,
  html[data-rx-theme="dark"] body dialog#rxmax-quote-dialog {
    --rxq-bg: #202126; --rxq-text: #f5f3ef; --rxq-muted: #c4c0c7; --rxq-line: #454249; --rxq-field: #292a30;
  }
  #rxmax-quote-dialog::backdrop { background: #121218a6; backdrop-filter: blur(6px); }
  html body #rxmax-quote-dialog .rxmax-quote-top {
    display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 16px !important;
    padding: 24px 28px 20px !important; border-bottom: 1px solid var(--rxq-line) !important;
    background: var(--rxq-bg) !important;
  }
  html body #rxmax-quote-dialog .rxmax-quote-kicker { font-size: 11px !important; letter-spacing: .1em !important; color: var(--rxq-muted) !important; }
  html body #rxmax-quote-dialog #rxmax-quote-title { margin: 8px 0 !important; color: var(--rxq-text) !important; font-size: clamp(23px,4vw,30px) !important; line-height: 1.15 !important; letter-spacing: -.025em !important; }
  html body #rxmax-quote-dialog .rxmax-quote-top p { margin: 0 !important; color: var(--rxq-muted) !important; font-size: 14px !important; line-height: 1.5 !important; }
  html body #rxmax-quote-dialog .rxmax-quote-close { flex: 0 0 44px !important; width: 44px !important; height: 44px !important; padding: 0 !important; border: 1px solid var(--rxq-line) !important; border-radius: 12px !important; background: transparent !important; color: var(--rxq-text) !important; font: 28px/1 Arial,sans-serif !important; cursor: pointer; }
  html body #rxmax-quote-dialog .rxmax-quote-body { padding: 22px 28px 28px !important; }
  html body #rxmax-quote-dialog .rxmax-quote-source { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--rxq-text) !important; }
  html body #rxmax-quote-dialog .rdx-quote-heading { display: none !important; }
  html body #rxmax-quote-dialog .rdx-attachment { position:relative !important; display:flex !important; align-items:center !important; gap:9px !important; min-height:44px !important; padding:10px 12px !important; border:1px dashed var(--rxq-line) !important; border-radius:9px !important; color:var(--rxq-text) !important; font-size:12px !important; cursor:pointer; }
  html body #rxmax-quote-dialog .rdx-attachment svg { width:16px !important; height:16px !important; color:#b52336 !important; }
  html body #rxmax-quote-dialog .rdx-attachment small { margin-left:auto !important; font-size:11px !important; color:var(--rxq-muted) !important; }
  html body #rxmax-quote-dialog#rxmax-quote-dialog .rdx-attachment input[type="file"] { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; opacity:0 !important; cursor:pointer; }
  html body #rxmax-quote-dialog .rdx-attachment:focus-within { outline:2px solid #b52336 !important; outline-offset:2px !important; }
  html body #rxmax-quote-dialog :is(label,.rd-field__label,.rd-consent-copy,.rd-consent-copy span,.rd-consent-copy a,.rd-privacy-note,.rd-upload-hint,.rdx-form-status,.rx-ux-form__context) { color: var(--rxq-muted) !important; }
  html body #rxmax-quote-dialog#rxmax-quote-dialog :is(input:not([type="checkbox"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="radio"]),textarea,select) { box-sizing: border-box !important; max-width: 100% !important; background: var(--rxq-field) !important; color: var(--rxq-text) !important; border: 1px solid var(--rxq-line) !important; border-radius: 9px !important; min-height:44px !important; padding:9px 11px !important; font-size: 16px !important; line-height:1.4 !important; }
  html body #rxmax-quote-dialog :is(.rxmax-quote-loading,.rxmax-quote-unavailable) { color: var(--rxq-text) !important; font-size: 16px !important; line-height: 1.6 !important; }
  html body #rxmax-quote-dialog .rxmax-quote-unavailable a { display: block !important; padding: 8px 0 !important; color: var(--rxq-text) !important; text-decoration: underline !important; }
  html body #rxmax-quote-dialog .rxmax-quote-close:focus-visible { outline: 3px solid #b52336 !important; outline-offset: 3px !important; }
  @media(max-width:599px) {
    html body #rxmax-quote-dialog .rdx-field-grid { grid-template-columns:1fr !important; }
    html body dialog#rxmax-quote-dialog { border-radius: 18px !important; max-height: calc(100dvh - 16px) !important; }
    html body #rxmax-quote-dialog .rxmax-quote-top { padding: 20px 16px 16px !important; }
    html body #rxmax-quote-dialog .rxmax-quote-body { padding: 18px 16px 22px !important; }
  }
}
@media(prefers-reduced-motion:no-preference) { #rxmax-quote-dialog[open] { animation: rxmaxQuoteIn .2s ease-out; } @keyframes rxmaxQuoteIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } }


/* A scrollable document chooser paired with the original submitted field. */
#rxmax-quote-dialog .rd-quote-documents {
  margin-block-end: 14px;
  border: 1px solid var(--rxq-line, #d9dde3);
  border-radius: 10px;
  color: var(--rxq-text, #191b1f);
  background: var(--rxq-field, #fff);
}
#rxmax-quote-dialog .rd-quote-documents summary {
  min-height: 44px;
  padding: 10px 12px;
  font-weight: 650;
  cursor: pointer;
  overflow-wrap: anywhere;
}
#rxmax-quote-dialog .rd-quote-document-list {
  max-height: min(232px, 33dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0 7px 7px;
  list-style: none;
  scrollbar-gutter: stable;
}
#rxmax-quote-dialog .rd-quote-document-list button {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
#rxmax-quote-dialog .rd-quote-document-list button:is(:hover, :focus-visible, [aria-pressed="true"]) {
  border-color: var(--rxq-line, #d9dde3);
  background: var(--rd-subtle, #eceef2);
}
#rxmax-quote-dialog .rxmax-quote-body:has(.rd-quote-documents) label[for="document"] {
  display: none !important;
}
/* REDICO Bento: an additive presentation layer. Existing markup and interaction states remain authoritative. */
@layer redicoBento {
  html[data-rx-bento] {
    --rb-bg:#F3F5F8 !important; --rb-surface:#FFFFFF !important; --rb-soft:#EDF1F6 !important;
    --rb-ink:#17202B !important; --rb-muted:#435267 !important; --rb-line:#DEE4EC !important;
    --rb-accent:#C62C20 !important; --rb-accent-text:#B1251A !important; --rb-accent-soft:#FCECE9 !important;
    --rb-shadow:0 12px 40px -26px rgba(24,39,61,.25) !important;
    --rb-shadow-hover:0 18px 44px -25px rgba(24,39,61,.28) !important;
    --rb-radius:22px !important; --rb-font:"Open Sans","REDICO Open Sans Arial","REDICO Open Sans Roboto",Arial,sans-serif !important;
    --rb-heading:"Fira Sans","REDICO Fira Sans Arial","REDICO Fira Sans Roboto",Arial,sans-serif !important;
    --rb-focus:#2773D1 !important; --rb-success:#147145 !important; --rb-error:#B1251A !important;
    --rb-space:24px !important; --rb-gutter:24px !important;
    --ink:var(--rb-ink) !important; --ink2:var(--rb-ink) !important; --ink3:var(--rb-muted) !important;
    --muted:var(--rb-muted) !important; --muted2:var(--rb-muted) !important;
    --line:var(--rb-line) !important; --line2:var(--rb-line) !important;
    --soft:var(--rb-soft) !important; --soft2:var(--rb-soft) !important;
    --red:var(--rb-accent) !important; --red-d:#AA2117 !important; --dark:#141D2A !important;
    --ff:var(--rb-font) !important; --mono:var(--rb-font) !important;
    --rxmm2-r:var(--rb-accent) !important; --rxmm2-r2:var(--rb-accent-text) !important;
    --rxmm2-bg:var(--rb-surface) !important; --rxmm2-tx:var(--rb-ink) !important;
    color-scheme:light !important; scroll-behavior:smooth !important; background:var(--rb-bg) !important;
    scroll-padding-top:160px !important;
  }
  html[data-rx-bento][data-rx-theme="dark"] {
    --rb-bg:#0C1118 !important; --rb-surface:#161E29 !important; --rb-soft:#202B3A !important;
    --rb-ink:#F4F7FA !important; --rb-muted:#CCD6E2 !important; --rb-line:#344255 !important;
    --rb-accent-text:#FFB4A8 !important; --rb-accent-soft:#3A2426 !important;
    --rb-shadow:0 12px 40px -24px rgba(0,0,0,.55) !important;
    --rb-shadow-hover:0 18px 46px -24px rgba(0,0,0,.7) !important;
    --rb-focus:#91BCFF !important; --rb-success:#88D9AC !important; --rb-error:#FFB4A8 !important;
    color-scheme:dark !important;
  }
  html[data-rx-bento] body {
    margin:0 !important; padding-left:0 !important; padding-right:0 !important;
    background:var(--rb-bg) !important; background-image:none !important; color:var(--rb-ink) !important;
    font-family:var(--rb-font) !important; font-size:16px !important; line-height:1.6 !important;
    -webkit-font-smoothing:antialiased !important; text-rendering:optimizeLegibility !important;
    min-width:0 !important; width:100% !important;
  }
  html[data-rx-bento] :where(*, *::before, *::after) { box-sizing:border-box !important; }
  html[data-rx-bento] :where(button,input,textarea,select) { font-family:var(--rb-font) !important; }
  html[data-rx-bento] :where(h1,h2,h3,h4,h5,h6) {
    color:var(--rb-ink) !important; font-family:var(--rb-heading) !important;
    font-weight:700 !important; letter-spacing:-.015em !important; line-height:1.22 !important;
    overflow-wrap:anywhere !important;
  }
  html[data-rx-bento] :where(h1) { font-size:clamp(32px,4.5vw,58px) !important; }
  html[data-rx-bento] :where(h2) { font-size:clamp(25px,3.1vw,38px) !important; }
  html[data-rx-bento] :where(h3) { font-size:clamp(20px,2vw,24px) !important; }
  html[data-rx-bento] :where(p,li,dd,td,th,label) { overflow-wrap:break-word !important; }
  html[data-rx-bento] :where(img,picture,video) { max-width:100% !important; }
  html[data-rx-bento] :where(button,a,input,select,textarea,summary):focus-visible {
    outline:3px solid var(--rb-focus) !important; outline-offset:3px !important;
  }
  html[data-rx-bento] :where(input,textarea,select)::placeholder { color:var(--rb-muted) !important; opacity:1 !important; }
  html[data-rx-bento] :where(input[type="checkbox"],input[type="radio"]) { accent-color:var(--rb-accent) !important; }
  html[data-rx-bento] :where(.rx-wrap,.rx-container) {
    width:min(100% - var(--rb-gutter)*2,1280px) !important; max-width:1280px !important;
    margin-inline:auto !important; padding-inline:0 !important; min-width:0 !important;
  }
  html[data-rx-bento] :where(main,.rx-main) { min-width:0 !important; }
  html[data-rx-bento] :where(.rx-btn,.rx-btn-ghost,.rx-submit,.rx-foot-btn,.rx-modal-btn,.rx-hdr-cta) {
    min-height:48px !important; padding:13px 21px !important; border-radius:13px !important;
    font-family:var(--rb-font) !important; font-size:16px !important; font-weight:600 !important; line-height:1.4 !important;
    text-align:center !important; text-decoration:none !important; white-space:normal !important;
    align-items:center !important; justify-content:center !important; gap:10px !important;
    cursor:pointer !important; transition:background-color .18s ease-out,border-color .18s ease-out,box-shadow .18s ease-out,transform .18s ease-out !important;
    max-width:100% !important;
  }
  html[data-rx-bento] :where(.rx-btn,.rx-submit,.rx-foot-btn,.rx-modal-btn,.rx-hdr-cta) {
    background:var(--rb-accent) !important; border:1px solid transparent !important; color:#FFFFFF !important; box-shadow:none !important;
  }
  html[data-rx-bento] :where(.rx-btn-ghost) {
    background:var(--rb-surface) !important; border:1px solid var(--rb-line) !important; color:var(--rb-ink) !important;
  }
  html[data-rx-bento] :where(.rx-input,.rx-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),.rx-form textarea,.rx-foot-inp,.rx-modal-inp,.rx-hero-inp) {
    min-height:48px !important; width:100% !important; min-width:0 !important;
    padding:13px 15px !important; background:var(--rb-surface) !important; color:var(--rb-ink) !important;
    border:1px solid var(--rb-line) !important; border-radius:12px !important;
    font-size:16px !important; font-weight:400 !important; line-height:1.5 !important;
    box-shadow:none !important; transition:border-color .18s ease-out,box-shadow .18s ease-out,background-color .18s ease-out !important;
  }
  html[data-rx-bento] :where(.rx-form,.rx-foot-cta form,.rx-modal form) :where(label,.rx-consent,.rx-form-note,.rx-upload-note) { color:var(--rb-muted) !important; }
  html[data-rx-bento] :where(.rx-form,.rx-foot-cta form,.rx-modal form) :where(input,textarea)[aria-invalid="true"] {
    border-color:var(--rb-error) !important; box-shadow:0 0 0 2px var(--rb-accent-soft) !important;
  }
  html[data-rx-bento] :where(.rx-sent) { color:var(--rb-success) !important; }
  html[data-rx-bento] :where(.rx-card) {
    background:var(--rb-surface) !important; border:1px solid var(--rb-line) !important; color:var(--rb-ink) !important;
    border-radius:var(--rb-radius) !important; box-shadow:var(--rb-shadow) !important;
    transition:transform .2s ease-out,box-shadow .2s ease-out,border-color .2s ease-out !important; min-width:0 !important;
  }
  html[data-rx-bento] :where(.rx-card-title) { color:var(--rb-ink) !important; font-family:var(--rb-heading) !important; line-height:1.35 !important; }
  html[data-rx-bento] :where(.rx-card-ex) { color:var(--rb-muted) !important; }
  html[data-rx-bento] :where(.rx-card-cat,.rx-card-more) { color:var(--rb-accent-text) !important; font-family:var(--rb-font) !important; }
  html[data-rx-bento] :where(.rx-card-body) { padding:24px !important; }
  html[data-rx-bento] :where(.rx-cards) { gap:24px !important; }

  /* Two compact navigation rows retain every original destination. */
  html[data-rx-bento] .rx-header {
    background:var(--rb-surface) !important; background-image:none !important; color:var(--rb-ink) !important;
    border-bottom:1px solid var(--rb-line) !important; box-shadow:none !important; backdrop-filter:none !important;
  }
  html[data-rx-bento] .rx-header-in {
    min-height:84px !important; height:auto !important; padding-block:16px !important;
    display:flex !important; align-items:center !important; justify-content:space-between !important; gap:20px !important;
  }
  html[data-rx-bento] .rx-header .custom-logo-link { display:inline-flex !important; align-items:center !important; flex:0 0 auto !important; min-height:44px !important; }
  html[data-rx-bento] .rx-header .custom-logo { width:146px !important; height:auto !important; max-height:none !important; filter:none !important; }
  html[data-rx-bento][data-rx-theme="dark"] .rx-header .custom-logo { filter:brightness(0) invert(1) !important; }
  html[data-rx-bento] :where(.rx-logo) { color:var(--rb-ink) !important; font-family:var(--rb-heading) !important; font-weight:800 !important; }
  html[data-rx-bento] :where(.rx-logo i) { color:var(--rb-accent) !important; }
  html[data-rx-bento] .rx-hdr-tag { color:var(--rb-muted) !important; font:500 14px/1.5 var(--rb-font) !important; letter-spacing:.08em !important; }
  html[data-rx-bento] .rx-desknav { min-width:0 !important; }
  html[data-rx-bento] .rx-desknav :where(ul) { gap:16px !important; }
  html[data-rx-bento] .rx-desknav a { color:var(--rb-muted) !important; font:500 14px/1.4 var(--rb-font) !important; }
  html[data-rx-bento] .rx-hdr-right { display:flex !important; flex-wrap:wrap !important; align-items:center !important; justify-content:flex-end !important; gap:10px !important; min-width:0 !important; }
  html[data-rx-bento] .rx-hdr-tel { color:var(--rb-ink) !important; font:600 14px/1.4 var(--rb-font) !important; white-space:nowrap !important; }
  html[data-rx-bento] .rx-hdr-mail { color:var(--rb-muted) !important; }
  html[data-rx-bento] :where(.rx-hdr-price,.rx-hdr-contacts,.rb-theme-toggle) {
    width:44px !important; min-width:44px !important; height:44px !important; min-height:44px !important;
    padding:10px !important; border:1px solid var(--rb-line) !important; border-radius:12px !important;
    background:var(--rb-soft) !important; color:var(--rb-ink) !important; box-shadow:none !important;
    align-items:center !important; justify-content:center !important; flex-shrink:0 !important; cursor:pointer !important;
    transition:background-color .2s ease-out,border-color .2s ease-out !important;
  }
  html[data-rx-bento] :where(.rx-hdr-price,.rx-hdr-contacts) svg { width:21px !important; height:21px !important; }
  html[data-rx-bento] .rx-hdr-contacts span { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
  html[data-rx-bento] .rb-theme-toggle { display:inline-flex !important; }
  html[data-rx-bento] .rb-theme-toggle svg { width:20px !important; height:20px !important; fill:none !important; stroke:currentColor !important; stroke-width:1.75 !important; }
  html[data-rx-bento] .rb-theme-toggle .rb-theme-sun { display:none !important; }
  html[data-rx-bento][data-rx-theme="dark"] .rb-theme-toggle .rb-theme-moon { display:none !important; }
  html[data-rx-bento][data-rx-theme="dark"] .rb-theme-toggle .rb-theme-sun { display:block !important; }
  html[data-rx-bento] .rb-sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
  html[data-rx-bento].rb-theme-changing :where(body,.rx-header,.rxmm2-barin,.rxmm2-panel,.rx-card,.rx-ai,.rx-ai__main,.rx-ai__head,.rx-ai__form,.rx-sitefoot) {
    transition:color .2s ease-out,background-color .2s ease-out,border-color .2s ease-out !important;
  }

  /* Mega menu: same tree, search, categories, and open/closed states. */
  html[data-rx-bento] nav.rxmm2 {
    background:var(--rb-surface) !important; color:var(--rb-ink) !important; border-bottom:1px solid var(--rb-line) !important;
    box-shadow:none !important; font-family:var(--rb-font) !important; --rxmm2-bar:64px !important;
  }
  html[data-rx-bento] .rxmm2-barin { max-width:1328px !important; padding-inline:24px !important; gap:10px !important; background:var(--rb-surface) !important; }
  html[data-rx-bento] :where(.rxmm2-all,.rxmm2-btn) {
    background:var(--rb-accent) !important; color:#FFFFFF !important; border:1px solid transparent !important;
    box-shadow:none !important; border-radius:12px !important; min-height:44px !important;
    font-family:var(--rb-font) !important; font-weight:600 !important; filter:none !important;
  }
  html[data-rx-bento] :where(.rxmm2-tab,.rxmm2-cat,.rxmm2-i,.rxmm2-railcta,.rxmm2-btn2,.rxmm2-chip,.rxmm2-tel) {
    color:var(--rb-ink) !important; font-family:var(--rb-font) !important; font-weight:500 !important; min-height:44px !important;
  }
  html[data-rx-bento] :where(.rxmm2-tab) { font-size:14px !important; }
  html[data-rx-bento] :where(.rxmm2-tab:hover,.rxmm2-tab.rxmm2-on,.rxmm2-cat:hover,.rxmm2-cat.rxmm2-on,.rxmm2-i:hover) { background:var(--rb-soft) !important; color:var(--rb-ink) !important; }
  html[data-rx-bento] .rxmm2-hot { color:var(--rb-accent-text) !important; background:var(--rb-accent-soft) !important; border:1px solid var(--rb-line) !important; font:600 14px/1.3 var(--rb-font) !important; box-shadow:none !important; }
  html[data-rx-bento] .rxmm2-hot i { color:var(--rb-muted) !important; font-family:var(--rb-font) !important; }
  html[data-rx-bento] .rxmm2-tg { color:#18668D !important; background:#EAF5FB !important; border:1px solid #B9D9EB !important; box-shadow:none !important; }
  html[data-rx-bento][data-rx-theme="dark"] .rxmm2-tg { color:#9EDBF7 !important; background:#1A3040 !important; border-color:#365D74 !important; }
  html[data-rx-bento] .rxmm2-dot { background:var(--rb-accent) !important; animation:none !important; box-shadow:none !important; }
  html[data-rx-bento] .rxmm2-panel { background:var(--rb-surface) !important; border:1px solid var(--rb-line) !important; border-radius:var(--rb-radius) !important; box-shadow:0 24px 70px -24px rgba(0,0,0,.35) !important; }
  html[data-rx-bento] :where(.rxmm2-panel::before,.rxmm2-panel::after,.rxmm2-promo::after) { background:none !important; }
  html[data-rx-bento] .rxmm2-inner { grid-template-columns:280px minmax(0,1fr) 260px !important; }
  html[data-rx-bento] .rxmm2-rail { padding:16px 12px !important; border-color:var(--rb-line) !important; background:var(--rb-soft) !important; gap:4px !important; }
  html[data-rx-bento] .rxmm2-pill { background:var(--rb-surface) !important; border-color:var(--rb-line) !important; box-shadow:var(--rb-shadow) !important; }
  html[data-rx-bento] .rxmm2-cat { font-size:14px !important; }
  html[data-rx-bento] :where(.rxmm2-ico,.rxmm2-cico) { color:var(--rb-muted) !important; background:var(--rb-surface) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] :where(.rxmm2-cat.rxmm2-on .rxmm2-ico,.rxmm2-cat:hover .rxmm2-ico,.rxmm2-arw,.rxmm2-ia) { color:var(--rb-accent-text) !important; background:var(--rb-accent-soft) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] :where(.rxmm2-cnt,.rxmm2-sub,.rxmm2-empty,.rxmm2-fh,.rxmm2-tag) { color:var(--rb-muted) !important; font-family:var(--rb-font) !important; }
  html[data-rx-bento] .rxmm2-main { padding:24px !important; }
  html[data-rx-bento] .rxmm2-head { border-color:var(--rb-line) !important; flex-wrap:wrap !important; gap:14px !important; }
  html[data-rx-bento] .rxmm2-h a { color:var(--rb-ink) !important; font-family:var(--rb-heading) !important; font-size:19px !important; font-weight:700 !important; line-height:1.3 !important; }
  html[data-rx-bento] .rxmm2-find { width:100% !important; height:48px !important; padding:0 12px !important; background:var(--rb-soft) !important; border:1px solid var(--rb-line) !important; color:var(--rb-muted) !important; }
  html[data-rx-bento] .rxmm2-find input { min-height:44px !important; padding:0 !important; color:var(--rb-ink) !important; background:transparent !important; font:400 16px/1.4 var(--rb-font) !important; }
  html[data-rx-bento] .rxmm2-find:focus-within { border-color:var(--rb-focus) !important; box-shadow:0 0 0 2px var(--rb-soft) !important; }
  html[data-rx-bento] .rxmm2-clr { width:44px !important; height:44px !important; background:transparent !important; color:var(--rb-muted) !important; flex-shrink:0 !important; }
  html[data-rx-bento] .rxmm2-scroll { scrollbar-color:var(--rb-line) transparent !important; }
  html[data-rx-bento] .rxmm2-list { grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)) !important; gap:6px 12px !important; }
  html[data-rx-bento] .rxmm2-i { font-size:14px !important; line-height:1.5 !important; padding:10px 12px !important; }
  html[data-rx-bento] :where(.rxmm2-num,.rxmm2-tag) { background:var(--rb-soft) !important; border-color:var(--rb-line) !important; color:var(--rb-muted) !important; font-family:var(--rb-font) !important; font-variant-numeric:tabular-nums !important; }
  html[data-rx-bento] :where(.rxmm2-lead,.rxmm2-btn2,.rxmm2-chip,.rxmm2-railcta) { background:var(--rb-soft) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] :where(.rxmm2-empty b,.rxmm2-promo b) { color:var(--rb-ink) !important; font-family:var(--rb-heading) !important; }
  html[data-rx-bento] .rxmm2-aside { border-color:var(--rb-line) !important; padding:20px !important; }
  html[data-rx-bento] .rxmm2-promo { background:var(--rb-accent-soft) !important; border:1px solid var(--rb-line) !important; padding:20px !important; border-radius:18px !important; }
  html[data-rx-bento] .rxmm2-promo p { color:var(--rb-muted) !important; font-size:14px !important; line-height:1.6 !important; }
  html[data-rx-bento] .rxmm2-badge { color:var(--rb-accent-text) !important; background:var(--rb-surface) !important; font-family:var(--rb-font) !important; letter-spacing:.05em !important; }
  html[data-rx-bento] .rxmm2-foot { padding:12px 20px !important; background:var(--rb-soft) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rxmm2-chip.rxmm2-chot { background:var(--rb-accent-soft) !important; color:var(--rb-accent-text) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rxmm2-chip.rxmm2-chot .rxmm2-cico { background:var(--rb-surface) !important; color:var(--rb-accent-text) !important; }
  html[data-rx-bento] .rxmm2-btn2 { white-space:normal !important; line-height:1.35 !important; height:auto !important; padding:10px 12px !important; }

  /* AI is a first-class bento module; native submission/streaming state is untouched. */
  html[data-rx-bento] .rx-ai {
    --rx-accent:var(--rb-accent) !important; --rx-coral:var(--rb-accent-text) !important;
    --rx-ink:var(--rb-ink) !important; --rx-ink-2:var(--rb-ink) !important; --rx-muted:var(--rb-muted) !important;
    --rx-faint:var(--rb-muted) !important; --rx-line:var(--rb-line) !important; --rx-line-2:var(--rb-line) !important;
    --rx-paper:var(--rb-surface) !important; --rx-tint:var(--rb-soft) !important;
    font-family:var(--rb-font) !important; color:var(--rb-ink) !important; background:var(--rb-surface) !important;
    border:1px solid var(--rb-line) !important; border-radius:var(--rb-radius) !important; box-shadow:var(--rb-shadow) !important;
  }
  html[data-rx-bento] .rx-ai--inline { opacity:1 !important; transform:none !important; width:100% !important; min-width:0 !important; }
  html[data-rx-bento] :where(.rx-ai__main,.rx-ai__head,.rx-ai__form) { background:var(--rb-surface) !important; color:var(--rb-ink) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rx-ai__head { padding:22px 24px !important; gap:12px !important; flex-wrap:wrap !important; }
  html[data-rx-bento] .rx-ai__title { font:700 14px/1.5 var(--rb-font) !important; color:var(--rb-ink) !important; letter-spacing:.08em !important; }
  html[data-rx-bento] .rx-ai__sub { color:var(--rb-muted) !important; font-size:14px !important; }
  html[data-rx-bento] .rx-ai__dot { background:var(--rb-success) !important; animation:none !important; }
  html[data-rx-bento] :where(.rx-ai__cta,.rx-ai__chip,.rx-ai__close,.rx-ai__name button) {
    min-height:44px !important; border-radius:12px !important; border-color:var(--rb-line) !important;
    color:var(--rb-ink) !important; background:var(--rb-soft) !important; font-family:var(--rb-font) !important;
    font-weight:500 !important; line-height:1.4 !important; white-space:normal !important;
  }
  html[data-rx-bento] .rx-ai__close { width:44px !important; height:44px !important; flex:0 0 44px !important; }
  html[data-rx-bento] .rx-ai__log { padding:24px !important; gap:24px !important; scrollbar-color:var(--rb-line) transparent !important; }
  html[data-rx-bento] .rx-ai__msg { color:var(--rb-ink) !important; font:400 16px/1.65 var(--rb-font) !important; overflow-wrap:anywhere !important; }
  html[data-rx-bento] .rx-ai__msg :where(p,li,strong,em) { color:inherit !important; }
  html[data-rx-bento] .rx-ai__msg a { color:var(--rb-accent-text) !important; text-decoration:underline !important; text-underline-offset:3px !important; }
  html[data-rx-bento] .rx-ai__msg--user { background:var(--rb-soft) !important; border-radius:18px 18px 6px 18px !important; }
  html[data-rx-bento] .rx-ai__chip { padding:10px 14px !important; font-size:14px !important; }
  html[data-rx-bento] .rx-ai__form { padding:24px !important; gap:12px !important; }
  html[data-rx-bento] .rx-ai__form::before { background:var(--rb-surface) !important; color:var(--rb-muted) !important; font-family:var(--rb-font) !important; letter-spacing:.06em !important; }
  html[data-rx-bento] .rx-ai :where(textarea,input[type="text"],input[type="tel"],input[type="email"]) {
    background:var(--rb-soft) !important; color:var(--rb-ink) !important; border:1px solid var(--rb-line) !important;
    border-radius:13px !important; font:400 16px/1.5 var(--rb-font) !important; min-width:0 !important; min-height:48px !important;
    animation:none !important;
  }
  html[data-rx-bento] .rx-ai :where(textarea,input):focus { border-color:var(--rb-focus) !important; box-shadow:0 0 0 2px var(--rb-soft) !important; }
  html[data-rx-bento] .rx-ai__send { background:var(--rb-accent) !important; color:#FFFFFF !important; border-radius:13px !important; min-height:48px !important; font:600 16px/1.4 var(--rb-font) !important; box-shadow:none !important; }
  html[data-rx-bento] .rx-ai__error { color:var(--rb-error) !important; }
  html[data-rx-bento] .rx-ai__typing { color:var(--rb-muted) !important; }
  html[data-rx-bento] .rx-ai__avatar { background:var(--rb-accent-soft) !important; color:var(--rb-accent-text) !important; }
  html[data-rx-bento] .rx-ai__avatar::after { border-color:var(--rb-surface) !important; }
  html[data-rx-bento] .rx-ai__calc {
    color:var(--rb-accent-text) !important; background:var(--rb-accent-soft) !important;
    border:1px solid var(--rb-line) !important; border-radius:12px !important;
    min-height:44px !important; font-family:var(--rb-font) !important; animation:none !important; box-shadow:none !important;
  }
  html[data-rx-bento] .rx-ai__calc.is-pulse { background:var(--rb-accent) !important; color:#FFFFFF !important; }
  html[data-rx-bento] .rx-ai__calc.is-done { color:var(--rb-success) !important; border-color:var(--rb-success) !important; background:var(--rb-soft) !important; }
  html[data-rx-bento] :where(.rx-ai__lead,.rx-ai__lead-head) { background:var(--rb-surface) !important; color:var(--rb-ink) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rx-ai__lead { border-radius:18px !important; box-shadow:var(--rb-shadow) !important; max-width:100% !important; }
  html[data-rx-bento] :where(.rx-ai__lead-title,.rx-ai__field-label) { color:var(--rb-ink) !important; }
  html[data-rx-bento] :where(.rx-ai__lead-note,.rx-ai__lead-topic span,.rx-ai__field-icon,.rx-ai__consent,.rx-ai__lead-trust) { color:var(--rb-muted) !important; font-family:var(--rb-font) !important; }
  html[data-rx-bento] :where(.rx-ai__lead-topic,.rx-ai__field-box) { background:var(--rb-soft) !important; color:var(--rb-ink) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rx-ai__lead .rx-ai__field input { background:transparent !important; border:0 !important; color:var(--rb-ink) !important; box-shadow:none !important; font-size:16px !important; }
  html[data-rx-bento] .rx-ai__field:focus-within .rx-ai__field-box { background:var(--rb-surface) !important; border-color:var(--rb-focus) !important; box-shadow:0 0 0 2px var(--rb-soft) !important; }
  html[data-rx-bento] .rx-ai__field.is-valid .rx-ai__field-box { background:var(--rb-surface) !important; border-color:var(--rb-success) !important; }
  html[data-rx-bento] .rx-ai__field.is-valid .rx-ai__field-icon { color:var(--rb-success) !important; }
  html[data-rx-bento] .rx-ai__field.is-invalid .rx-ai__field-box { background:var(--rb-surface) !important; border-color:var(--rb-error) !important; box-shadow:0 0 0 2px var(--rb-accent-soft) !important; }
  html[data-rx-bento] :where(.rx-ai__field.is-invalid .rx-ai__field-icon,.rx-ai__field-err) { color:var(--rb-error) !important; }
  html[data-rx-bento] .rx-ai__consent-box { background:var(--rb-surface) !important; border-color:var(--rb-muted) !important; }
  html[data-rx-bento] .rx-ai__consent input:checked + .rx-ai__consent-box { background:var(--rb-accent) !important; border-color:var(--rb-accent) !important; }
  html[data-rx-bento] .rx-ai__consent input:focus-visible + .rx-ai__consent-box { outline:3px solid var(--rb-focus) !important; outline-offset:3px !important; }
  html[data-rx-bento] .rx-ai__consent.is-invalid .rx-ai__consent-box { border-color:var(--rb-error) !important; box-shadow:0 0 0 2px var(--rb-accent-soft) !important; }
  html[data-rx-bento] :where(.rx-ai-cta-panel,.rx-ai__aside) {
    --rb-ink:#F4F7FA !important; --rb-muted:#CCD6E2 !important; --rb-line:#344255 !important;
    --rb-surface:#161E29 !important; --rb-soft:#202B3A !important; --rb-accent-text:#FFB4A8 !important;
    background:#161E29 !important; color:#F4F7FA !important;
  }
  html[data-rx-bento] .rx-ai-cta-panel { border:1px solid #344255 !important; border-radius:var(--rb-radius) !important; padding:28px !important; gap:24px !important; }
  html[data-rx-bento] .rx-ai-cta-panel::before { background:var(--rb-accent) !important; }
  html[data-rx-bento] :where(.rx-ai-cta-panel strong,.rx-ai__aside-title) { color:#F4F7FA !important; font-family:var(--rb-heading) !important; }
  html[data-rx-bento] :where(.rx-ai-cta-panel span,.rx-ai__aside-lead,.rx-ai__aside-list li span) { color:#B7C3D2 !important; }
  html[data-rx-bento] .rx-ai__cta-inline { min-height:48px !important; padding:14px 22px !important; border-radius:13px !important; background:#FFFFFF !important; color:#17202B !important; font:600 16px/1.4 var(--rb-font) !important; white-space:normal !important; }
  html[data-rx-bento] .rx-ai__aside { padding:36px 28px !important; }
  html[data-rx-bento] .rx-ai__aside-eyebrow { color:#FFB4A8 !important; font-family:var(--rb-font) !important; }
  html[data-rx-bento] .rx-ai__aside-list li { border-color:#344255 !important; }
  html[data-rx-bento] :where(.rx-ai__aside-list strong,.rx-ai__aside-phone) { color:#F4F7FA !important; }
  html[data-rx-bento] .rx-ai__aside-link-label { color:#B7C3D2 !important; font-family:var(--rb-font) !important; }
  html[data-rx-bento] .rx-ai__aside .rx-ai__aside-tg { min-height:48px !important; background:#146F9B !important; color:#FFFFFF !important; box-shadow:none !important; }
  html[data-rx-bento] .rx-ai-backdrop { background:rgba(6,12,22,.62) !important; backdrop-filter:blur(6px) !important; }
  html[data-rx-bento] .rx-ai--float { border-color:var(--rb-line) !important; box-shadow:0 24px 100px rgba(0,0,0,.3) !important; }
  html[data-rx-bento] :where(.rx-side-ai-button,.rx-side-dock a.rx-apptab) {
    background:var(--rb-surface) !important; color:var(--rb-ink) !important; border-color:var(--rb-line) !important;
    border-left-color:var(--rb-accent) !important; font-family:var(--rb-font) !important; box-shadow:var(--rb-shadow) !important;
  }
  html[data-rx-bento] :where(.rx-ai-fab) { background:var(--rb-accent) !important; color:#FFFFFF !important; border-radius:16px !important; animation:none !important; }
  html[data-rx-bento] :where(.rx-side-ai-label,.rx-side-dock .rx-apptab__t) { color:inherit !important; }

  /* Footer and enquiry modal inherit an explicit palette instead of hard-coded low contrast. */
  html[data-rx-bento] .rx-sitefoot {
    --rb-bg:#101824 !important; --rb-surface:#161E29 !important; --rb-soft:#202B3A !important;
    --rb-ink:#F4F7FA !important; --rb-muted:#CCD6E2 !important; --rb-line:#344255 !important; --rb-accent-text:#FFB4A8 !important;
    --rb-success:#88D9AC !important; --rb-error:#FFB4A8 !important;
    background:#101824 !important; color:#F4F7FA !important; border-top:1px solid #344255 !important; margin-top:64px !important;
  }
  html[data-rx-bento] .rx-sitefoot > .rx-wrap { padding-top:56px !important; }
  html[data-rx-bento] .rx-foot-cta { gap:48px !important; padding-bottom:48px !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rx-foot-cta :where(p,label) { color:var(--rb-muted) !important; }
  html[data-rx-bento] .rx-foot-cta :where(h2) { color:var(--rb-ink) !important; }
  html[data-rx-bento] .rx-foot-inp { background:var(--rb-soft) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rx-foot-cols { gap:40px !important; }
  html[data-rx-bento] .rx-foot-h { font:600 14px/1.5 var(--rb-font) !important; letter-spacing:.1em !important; color:var(--rb-muted) !important; }
  html[data-rx-bento] .rx-foot-links a { color:var(--rb-ink) !important; font-size:14px !important; line-height:1.6 !important; }
  html[data-rx-bento] :where(.rx-foot-req,.rx-foot-bottom) { border-color:var(--rb-line) !important; }
  html[data-rx-bento] :where(.rx-foot-req-grid span,.rx-foot-bottom,.rx-foot-bottom a) { color:var(--rb-muted) !important; }
  html[data-rx-bento] .rx-foot-req-grid b { color:var(--rb-ink) !important; }
  html[data-rx-bento] .rx-foot-bottom { line-height:1.6 !important; }
  html[data-rx-bento] .rx-footer { background:var(--rb-bg) !important; border-color:var(--rb-line) !important; color:var(--rb-muted) !important; }
  html[data-rx-bento] :where(.rx-modal,.rx-modal-box,.rx-modal-dialog) {
    --rx-ink:var(--rb-ink) !important; --rx-ink2:var(--rb-ink) !important; --rx-mut:var(--rb-muted) !important;
    --rx-mut2:var(--rb-muted) !important; --rx-ln:var(--rb-line) !important; --rx-bg:var(--rb-soft) !important;
    background:var(--rb-surface) !important; color:var(--rb-ink) !important; border-color:var(--rb-line) !important; border-radius:24px !important;
  }
  html[data-rx-bento] :where(.rx-modal-title,.rx-modal h2,.rx-modal h3) { color:var(--rb-ink) !important; font-family:var(--rb-heading) !important; }
  html[data-rx-bento] :where(.rx-modal-sub,.rx-modal-note,.rx-modal p,.rx-modal label) { color:var(--rb-muted) !important; }
  html[data-rx-bento] :where(.rx-modal-l,.rx-modal-r) { background:var(--rb-surface) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] .rx-modal-l :where(b,strong) { color:var(--rb-ink) !important; }
  html[data-rx-bento] .rx-modal-l div[style*="color:"] { color:var(--rb-muted) !important; }
  html[data-rx-bento] .rx-modal-l > span:first-child { background:var(--rb-accent-soft) !important; color:var(--rb-accent-text) !important; border-color:var(--rb-line) !important; font-family:var(--rb-font) !important; }
  html[data-rx-bento] .rx-modal-tg { min-height:48px !important; color:var(--rb-ink) !important; background:var(--rb-soft) !important; border-color:var(--rb-line) !important; }
  html[data-rx-bento] :where(.rx-modal-close) { width:44px !important; height:44px !important; min-height:44px !important; min-width:44px !important; color:var(--rb-ink) !important; background:var(--rb-soft) !important; border:1px solid var(--rb-line) !important; border-radius:12px !important; }

  @media (hover:hover) {
    html[data-rx-bento] :where(.rx-btn,.rx-submit,.rx-foot-btn,.rx-modal-btn,.rx-hdr-cta,.rxmm2-all,.rxmm2-btn,.rx-ai__send):not(:disabled):hover { background:#AA2117 !important; color:#FFFFFF !important; transform:translateY(-1px) !important; box-shadow:0 8px 18px -10px rgba(198,44,32,.5) !important; }
    html[data-rx-bento] :where(.rx-btn-ghost,.rx-hdr-price,.rx-hdr-contacts,.rb-theme-toggle,.rx-ai__chip,.rx-ai__cta):hover { border-color:var(--rb-accent-text) !important; background:var(--rb-accent-soft) !important; color:var(--rb-accent-text) !important; }
    html[data-rx-bento] .rx-card:hover { transform:translateY(-3px) !important; box-shadow:var(--rb-shadow-hover) !important; border-color:var(--rb-muted) !important; }
    html[data-rx-bento] .rx-foot-links a:hover { color:#FFB4A8 !important; }
  }
  @media (max-width:1199px) {
    html[data-rx-bento] .rx-header-in { gap:16px !important; }
    html[data-rx-bento] .rx-header .custom-logo { width:134px !important; }
    html[data-rx-bento] .rxmm2-inner { grid-template-columns:248px minmax(0,1fr) 236px !important; }
    html[data-rx-bento] .rxmm2-main { padding:20px !important; }
    html[data-rx-bento] .rxmm2-aside { padding:16px !important; }
    html[data-rx-bento] .rxmm2-promo { padding:16px !important; }
  }
  @media (max-width:1023px) {
    html[data-rx-bento] .rxmm2-inner { grid-template-columns:248px minmax(0,1fr) !important; }
    html[data-rx-bento] .rx-header-in { min-height:76px !important; }
    html[data-rx-bento] .rx-hdr-right { gap:8px !important; }
    html[data-rx-bento] .rx-hdr-mail { display:none !important; }
    html[data-rx-bento] .rx-hdr-cta { font-size:14px !important; padding:12px 16px !important; }
    html[data-rx-bento] .rx-foot-cta { grid-template-columns:1fr !important; gap:28px !important; }
  }
  @media (max-width:860px) {
    html[data-rx-bento] .rxmm2-inner { grid-template-columns:minmax(0,1fr) !important; }
    html[data-rx-bento] .rxmm2-panel { border-radius:0 !important; border-inline:0 !important; }
    html[data-rx-bento] .rxmm2-rail { border-right:0 !important; border-bottom:1px solid var(--rb-line) !important; }
    html[data-rx-bento] .rxmm2-main { padding:18px !important; }
    html[data-rx-bento] .rxmm2-foot { padding:12px 18px !important; }
    html[data-rx-bento] .rx-foot-cols { grid-template-columns:1fr !important; gap:28px !important; }
  }
  @media (max-width:680px) {
    html[data-rx-bento] { --rb-gutter:16px !important; --rb-space:16px !important; --rb-radius:20px !important; scroll-padding-top:180px !important; }
    html[data-rx-bento] body { padding-right:0 !important; }
    html[data-rx-bento] :where(h1) { font-size:clamp(28px,8vw,36px) !important; }
    html[data-rx-bento] :where(h2) { font-size:clamp(24px,6.8vw,30px) !important; }
    html[data-rx-bento] :where(.rx-cards) { grid-template-columns:minmax(0,1fr) !important; gap:16px !important; }
    html[data-rx-bento] :where(.rx-card-body) { padding:20px !important; }
    html[data-rx-bento] .rx-header-in { flex-wrap:wrap !important; gap:10px !important; padding-block:12px !important; }
    html[data-rx-bento] .rx-header .custom-logo { width:128px !important; }
    html[data-rx-bento] .rx-hdr-right { flex:1 1 auto !important; gap:8px !important; }
    html[data-rx-bento] .rx-hdr-tel { font-size:14px !important; }
    html[data-rx-bento] :where(.rx-hdr-price,.rx-hdr-contacts,.rb-theme-toggle) { border-radius:11px !important; }
    html[data-rx-bento] .rx-hdr-cta { min-height:44px !important; font-size:14px !important; padding:10px 12px !important; }
    html[data-rx-bento] nav.rxmm2 { --rxmm2-bar:60px !important; }
    html[data-rx-bento] .rxmm2-barin { padding-inline:16px !important; gap:8px !important; }
    html[data-rx-bento] .rxmm2-all { padding:0 14px !important; font-size:14px !important; gap:8px !important; }
    html[data-rx-bento] .rxmm2-side { gap:8px !important; padding-left:0 !important; }
    html[data-rx-bento] .rxmm2-hot { padding:0 10px !important; font-size:14px !important; gap:6px !important; }
    html[data-rx-bento] .rxmm2-tg { width:44px !important; min-width:44px !important; padding:10px !important; }
    html[data-rx-bento] .rxmm2-list { grid-template-columns:minmax(0,1fr) !important; }
    html[data-rx-bento] .rxmm2-i { font-size:14px !important; }
    html[data-rx-bento] .rxmm2-chip { min-height:44px !important; }
    html[data-rx-bento] .rx-ai__head { padding:18px 16px !important; }
    html[data-rx-bento] .rx-ai__head-right { gap:8px !important; flex-wrap:wrap !important; }
    html[data-rx-bento] .rx-ai__log { padding:20px 16px !important; gap:20px !important; }
    html[data-rx-bento] .rx-ai__msg { max-width:100% !important; font-size:16px !important; }
    html[data-rx-bento] .rx-ai__msg--user { max-width:92% !important; }
    html[data-rx-bento] .rx-ai__form { padding:22px 16px calc(18px + env(safe-area-inset-bottom,0px)) !important; flex-wrap:wrap !important; }
    html[data-rx-bento] .rx-ai__form::before { left:20px !important; font-size:14px !important; }
    html[data-rx-bento] .rx-ai__form textarea { flex:1 1 100% !important; border-radius:13px !important; padding:14px !important; }
    html[data-rx-bento] .rx-ai__send { width:100% !important; }
    html[data-rx-bento] .rx-ai--float { border-radius:22px 22px 0 0 !important; }
    html[data-rx-bento] .rx-ai-cta-panel { padding:24px !important; gap:18px !important; }
    html[data-rx-bento] .rx-ai__cta-inline { width:100% !important; }
    html[data-rx-bento] .rx-sitefoot { margin-top:40px !important; }
    html[data-rx-bento] .rx-sitefoot > .rx-wrap { padding-top:36px !important; }
    html[data-rx-bento] .rx-foot-cta { padding-bottom:32px !important; gap:24px !important; }
    html[data-rx-bento] .rx-foot-cols { padding-block:32px !important; }
    html[data-rx-bento] .rx-foot-req-grid { grid-template-columns:minmax(0,1fr) !important; gap:16px !important; }
  }
  @media (max-width:480px) {
    html[data-rx-bento] .rx-header-in > div:first-child { flex:1 1 calc(100% - 54px) !important; }
    html[data-rx-bento] .rx-hdr-right { width:100% !important; justify-content:flex-start !important; }
    html[data-rx-bento] .rx-hdr-cta { flex:1 1 auto !important; }
    html[data-rx-bento] .rx-header-in > .rb-theme-toggle { margin-left:auto !important; }
    html[data-rx-bento] .rxmm2-barin { padding-inline:12px !important; gap:6px !important; }
    html[data-rx-bento] .rxmm2-side { gap:6px !important; }
    html[data-rx-bento] .rxmm2-all { padding-inline:12px !important; }
    html[data-rx-bento] .rxmm2-hot { padding-inline:8px !important; font-size:14px !important; }
    html[data-rx-bento] .rxmm2-hot .rxmm2-dot { width:6px !important; height:6px !important; }
  }
  @media (max-width:620px) {
    html[data-rx-bento] .rx-hdr-tel:not(.rx-hdr-mail) {
      display:inline-flex !important; align-items:center !important; justify-content:center !important;
      width:44px !important; min-width:44px !important; height:44px !important; padding:0 !important;
      border:1px solid var(--rb-line) !important; border-radius:11px !important; background:var(--rb-soft) !important;
      font-size:0 !important; flex-shrink:0 !important;
    }
    html[data-rx-bento] .rx-hdr-tel:not(.rx-hdr-mail)::before { content:"\260E" !important; font-size:20px !important; line-height:1 !important; }
  }
  @media (prefers-reduced-motion:reduce) {
    html[data-rx-bento] { scroll-behavior:auto !important; }
    html[data-rx-bento] :where(*,*::before,*::after) { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  }
  html[data-rx-bento] [hidden] { display:none !important; }
}

@layer redicoBento {
 html[data-rx-bento] :is(section,h2,h3)[id] {scroll-margin-top:210px!important;}
 @media(max-width:860px) {
  html[data-rx-bento] .rxmm2.rxmb .rxmm2-find {width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;}
  html[data-rx-bento] .rxmb-cta {background:var(--rb-surface)!important;border-top:1px solid var(--rb-line)!important;padding:12px!important;gap:10px!important;}
  html[data-rx-bento] .rxmb-cta a {min-height:44px!important;border-radius:12px!important;font:600 14px/1.4 var(--rb-font)!important;}
  html[data-rx-bento] .rxmb-p {color:#fff!important;background:var(--rb-accent)!important;}
  html[data-rx-bento] .rxmb-s {color:var(--rb-ink)!important;background:var(--rb-soft)!important;border-color:var(--rb-line)!important;}
 }
}

@layer redicoBento {
  /* Readability revision: content 18px, controls 16px, supporting text >=14px. */
  html[data-rx-bento] body {font-size:18px!important;line-height:1.6!important;}
  html[data-rx-bento] :where(p,li,dt,dd,td,th,label,summary) {font-family:var(--rb-font)!important;letter-spacing:normal!important;}
  html[data-rx-bento] :where(.rxmm2-cat,.rxmm2-i,.rxmm2-promo p,.rxmm2-btn,.rxmm2-btn2,.rxmm2-railcta) {font-size:16px!important;line-height:1.5!important;}
  html[data-rx-bento] :where(.rxmm2-tab) {font-size:14px!important;}
  html[data-rx-bento] :where(.rx-ai__msg,.rx-ai__msg p,.rx-ai__msg li) {font-size:18px!important;line-height:1.65!important;}
  html[data-rx-bento] :where(.rx-ai__consent,.rx-ai__lead-note,.rx-ai__lead-trust,.rx-ai__field-err,.rx-ai__aside-link-label,.rx-ai__sub,.rx-ai__form::before) {font-size:14px!important;line-height:1.5!important;}
  html[data-rx-bento] :where(.rx-ai__chip,.rx-ai__calc,.rx-ai__send,.rx-foot-links a,.rx-foot-inp,.rx-modal-inp,.rx-modal-btn) {font-size:16px!important;}
  html[data-rx-bento] .rx-sitefoot :where(p,li,label,small,.rx-foot-bottom,.rx-foot-desc,.rx-foot-meta) {font-size:14px!important;line-height:1.6!important;}
  html[data-rx-bento] :where(input,textarea)::placeholder {opacity:1!important;}
}
@layer redicoBento {
 html[data-rx-bento] .rx-eyebrow2 span {font:600 14px/1.5 var(--rb-font)!important;color:var(--rb-accent-text)!important;letter-spacing:.07em!important;}
 html[data-rx-bento] :where(.rx-ai__aside-list span,.rx-ai__aside-eyebrow,.rx-ai__aside-list small,.rx-foot-consent span,.rx-foot-bottom span) {font-size:14px!important;line-height:1.5!important;}
}

/* REDICO Bento — content-template adapters. Presentation only; original nodes,
   plugin state classes, hidden attributes, anchors and form hooks stay intact. */
@layer redicoBento {
  /* Centered content shell. Header, footer, overlays and AI are owned by global.css. */
  html[data-rx-bento] body:not(.home) :is(.rx-wrap,.redico-page-wrap,.rts-page__in,.rx-enc-wrap,.rxk-sec,.rc-wrap,.rd-wrap) {
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:1280px!important;
    margin-inline:auto!important;
  }
  html[data-rx-bento] body:not(.home)>:is(.rx-wrap,.redico-page-wrap),
  html[data-rx-bento] body:not(.home) :is(.rxk-sec,.rts-page__in,.rc-wrap,.rd-wrap) {
    width:100%!important;
    padding-inline:32px!important;
  }
  html[data-rx-bento] body:not(.home) :is(main,article,.rx-section,.rx-prose,.rx-enc-main,.rx-enc-side,.rx-enc-layout,.rx-prod-hero,.rx-reg-hero,.rx-module,.rxo-body,.rts,.rx-calc,.rxk-card,.rxtr-card) {
    min-width:0!important;
    box-sizing:border-box!important;
  }
  html[data-rx-bento] body:not(.home)>:is(.rx-wrap,.redico-page-wrap),
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc,.rts-page,.rxk-sec,.rc-page,#redico-cities,#rd-docs) {
    color:var(--rb-ink)!important;
    background-color:transparent!important;
    background-image:none!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-section,.rxk-sec) {
    padding-block:32px!important;
  }
  html[data-rx-bento] body.page-template-produkciya>.rx-wrap:has(>.rx-prod-hero) {padding-inline:0!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-wrap,.redico-page-wrap,.rts-page__in)>.rxh-uni-host {padding-inline:0!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rxk-sec,.rx-enc-main,.rx-module) :is(h2,h3,h4) {
    color:var(--rb-ink)!important;
    font-family:var(--rb-heading)!important;
    line-height:1.25!important;
    text-wrap:pretty!important;
    overflow-wrap:break-word!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rxk-sec,.rx-enc-main)>:is(p,ul,ol,dl),
  html[data-rx-bento] body:not(.home) :is(.rx-lead,.rx-enc-lead,.rxk-lead,.rxk-sub,.rx-reg-note,.rx-card-ex,.rx-sstat,.rts__sub,.rts__status) {
    color:var(--rb-muted)!important;
    line-height:1.65!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-eyebrow,.rx-eyebrow2,.rxtr-kicker,.rx-enc-kicker,.rx-enc-pk,.rx-card-cat,.rx-reg-code,.rx-mono) {
    color:var(--rb-accent-text)!important;
    font-family:var(--rb-font)!important;
  }

  /* Existing common hero: two distinct cards, not a continuous dark backdrop. */
  html[data-rx-bento] body:not(.home) :is(.rxh-uni-host,#gr-hero) {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:1280px!important;
    margin:24px auto 32px!important;
    padding:0 32px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  html[data-rx-bento] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero) {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:var(--rb-radius)!important;
    background:transparent!important;
    color:var(--rb-ink)!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  html[data-rx-bento] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero)::before,
  html[data-rx-bento] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero)::after {
    content:none!important;
  }
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni :is(.rxh-bg,.rxh-bloom) {display:none!important;}
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-grid,
  html[data-rx-bento] body:not(.home) :is(.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid) {
    display:grid!important;
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;
    align-items:start!important;
    gap:24px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main,
  html[data-rx-bento] body:not(.home) :is(.rx-enc-compact-copy,.rc-hero-grid>div:first-child,.rd-hero-grid>div:first-child,.rx-enc-hub-hero-grid>div:first-child) {
    box-sizing:border-box!important;
    min-width:0!important;
    padding:clamp(24px,3vw,44px)!important;
    margin:0!important;
    background:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:var(--rb-radius)!important;
    box-shadow:var(--rb-shadow)!important;
    transform:none!important;
  }
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-side,
  html[data-rx-bento] body:not(.home) .rx-enc-compact-side {
    min-width:0!important;
    padding:0!important;
    margin:0!important;
    align-self:start!important;
    transform:none!important;
  }
  html[data-rx-bento] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero) h1 {
    color:var(--rb-ink)!important;
    font-family:var(--rb-heading)!important;
    font-size:clamp(30px,3.4vw,52px)!important;
    font-weight:700!important;
    line-height:1.12!important;
    letter-spacing:-.015em!important;
    text-wrap:balance!important;
    overflow-wrap:break-word!important;
    margin:12px 0 24px!important;
    max-width:100%!important;
  }
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main>:is(p,.rx-lead),
  html[data-rx-bento] body:not(.home) :is(.rx-enc-compact-copy,.rc-hero-grid>div:first-child,.rd-hero-grid>div:first-child) > p {
    color:var(--rb-muted)!important;
    font-family:var(--rb-font)!important;
    font-size:16px!important;
    line-height:1.65!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-hero-crumb-slot,.rx-hero-breadcrumbs) {
    box-sizing:border-box!important;
    width:100%!important;
    padding:0 0 18px!important;
    margin:0!important;
    background:transparent!important;
    color:var(--rb-muted)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-hero-crumb-slot,.rx-hero-breadcrumbs) :is(a,span,nav) {
    color:var(--rb-muted)!important;
    overflow-wrap:anywhere!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-hero-resources,.rx-context-tools) {
    border-color:var(--rb-line)!important;
    margin-top:28px!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-hero-resources,.rx-context-tools) h2 {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-hero-resources,.rx-context-tools) a {
    background:var(--rb-soft)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:14px!important;
    color:var(--rb-ink)!important;
    min-height:52px!important;
  }
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main p:not(.rx-lead-card *, .rx-ai *) {color:var(--rb-muted)!important;line-height:1.65!important;}
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main p:not(.rx-lead-card *, .rx-ai *) a {color:var(--rb-accent-text)!important;text-decoration:underline!important;text-underline-offset:3px!important;}
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main p:not(.rx-lead-card *, .rx-ai *) :is(b,strong) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main>div:has(>h1) {padding:0!important;margin:0!important;max-width:100%!important;}
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main>div:empty[style*="radial-gradient"] {display:none!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;padding:28px!important;width:100%!important;max-width:100%!important;margin:0!important;box-shadow:var(--rb-shadow)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card h2 {color:var(--rb-ink)!important;font:700 28px/1.2 var(--rb-heading)!important;letter-spacing:-.015em!important;margin:0 0 16px!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(p,small,.rx-common-consent,.rx-common-consent span) {color:var(--rb-muted)!important;line-height:1.6!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(label,legend) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select) {background:var(--rb-soft)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:12px!important;min-height:48px!important;font:400 16px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(input,textarea)::placeholder {color:var(--rb-muted)!important;opacity:1!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card a {color:var(--rb-accent-text)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card button[type=submit] {background:var(--rb-accent)!important;color:#fff!important;border:0!important;border-radius:14px!important;min-height:48px!important;font:650 16px/1.4 var(--rb-font)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card .rx-shared-reply label {background:var(--rb-soft)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card .rx-shared-reply label:has(input:checked) {background:var(--rb-accent-soft)!important;color:var(--rb-accent-text)!important;border-color:var(--rb-accent-text)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card .rx-sent {background:var(--rb-soft)!important;color:var(--rb-success,#188357)!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(.rxhm-field-error,.rx-field-error,[role=alert]) {color:var(--rb-error,#b42318)!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-hero-crumb-slot,.rx-hero-breadcrumbs) button[aria-label="Назад"] {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:12px!important;min-height:44px!important;}

  /* Shared navigation and content cards; no broad descendant color reset. */
  html[data-rx-bento] body:not(.home) :is(
    .rx-card,.rxtr-card,.rx-step,.rx-test-col,.rx-reg-card,.rx-kod-grid>a,
    .rx-hub-grid>a,.rx-cat-links>a,.rx-part-card,.rx-team-card,.rx-kont-card,
    .rxk-card,.rxk-tile,.rxk-trust-i,.rx-cat-card,.rx-enc-tcard,.rx-enc-route,
    .rx-enc-num,.rx-enc-pillar,.p4-card,.rxo-card,.rxo-st,.rx-module .card,
    .rx-module .gcard,.rx-module .cheat,.rx-enc-article-intro
  ) {
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
    background:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:var(--rb-radius)!important;
    box-shadow:var(--rb-shadow)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rxtr-card,.rx-step,.rx-test-col,.rx-kod-grid>a,.rx-hub-grid>a,.rx-part-card,.rxk-card,.rxk-tile,.rx-cat-card,.rx-enc-tcard,.rx-enc-route,.p4-card,.rx-enc-article-intro) {
    padding:24px!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-card-title,.rxtr-card h3,.rx-step h3,.rx-test-col h3,.rxk-card h3,.rxk-tile-t,.rx-cat-card h3,.rx-enc-tcard h3,.p4-card h3,.rxo-card-t) {
    color:var(--rb-ink)!important;
    font-family:var(--rb-heading)!important;
    line-height:1.3!important;
    overflow-wrap:break-word!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rxtr-card,.rx-step,.rx-test-col,.rx-part-card,.rxk-card,.rxk-tile,.rx-cat-card,.rx-enc-tcard,.rx-enc-route,.p4-card,.rxo-card) > p,
  html[data-rx-bento] body:not(.home) :is(.rx-card-ex,.rxk-tile-d,.rx-enc-num span,.rx-reg-note,.rxo-stl) {
    color:var(--rb-muted)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-card-body,.rx-team-card>div) {padding:24px!important;}
  html[data-rx-bento] body:not(.home) .rx-card-img {
    background:var(--rb-soft)!important;
    border-bottom:1px solid var(--rb-line)!important;
    border-radius:21px 21px 0 0!important;
    overflow:hidden!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-card-more,.rx-reg-code,.rxk-tile-go,.rx-kod-grid>a>b) {color:var(--rb-accent-text)!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-cards,.rx-hub-grid,.rx-kod-grid,.rxtr-grid,.rx-part-g,.rx-team-g,.rx-vak-g,.rx-obu-g,.rxk-tiles,.p4-grid,.rx-test-grid,.rx-steps) {
    gap:20px!important;
    min-width:0!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-cards,.rx-hub-grid,.rx-part-g,.rx-obu-g) {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-chip,.rx-kod-nav>a,.rx-cat-links>a,.page-numbers) {
    color:var(--rb-ink)!important;
    background:var(--rb-surface)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:12px!important;
    min-height:44px!important;
    padding:10px 14px!important;
    box-sizing:border-box!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-chip.is-cur,.rx-chip.on,.rx-chip.active,.page-numbers.current) {
    color:var(--rb-accent-text)!important;
    background:var(--rb-accent-soft)!important;
    border-color:var(--rb-accent-text)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-kod-nav,.rx-chips,.rx-cat-links,.rx-pag) {gap:10px!important;flex-wrap:wrap!important;}
  @media (hover:hover) {
    html[data-rx-bento] body:not(.home) :is(a.rx-card,.rx-kod-grid>a,.rx-hub-grid>a,a.rx-cat-card,a.rx-enc-tcard,a.rx-enc-route,.rxk-tile):hover {
      transform:translateY(-3px)!important;
      border-color:var(--rb-accent-text)!important;
    }
  }

  /* Registry/results, including server-rendered code/chapter pages. */
  html[data-rx-bento] body:not(.home) :is(.rts,.rts-code,.rts-page,.rts-landing) {
    --rts-bg:var(--rb-bg)!important;
    --rts-surface:var(--rb-surface)!important;
    --rts-tint:var(--rb-soft)!important;
    --rts-ink:var(--rb-ink)!important;
    --rts-ink-2:var(--rb-muted)!important;
    --rts-mut:var(--rb-muted)!important;
    --rts-line:var(--rb-line)!important;
    --rts-red:var(--rb-accent-text)!important;
    --rts-red-d:var(--rb-accent-text)!important;
    --rts-graphite:var(--rb-muted)!important;
    --rts-green:color-mix(in srgb,#14835d 70%,var(--rb-ink))!important;
    --rts-violet:color-mix(in srgb,#7955c5 70%,var(--rb-ink))!important;
    --rts-mono:var(--rb-font)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rts,.rx-reg-card) {
    background:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:var(--rb-radius)!important;
    box-shadow:var(--rb-shadow)!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  html[data-rx-bento] body:not(.home) .rts {padding:24px!important;margin-block:24px!important;}
  html[data-rx-bento] body:not(.home) #rxh .rb-registry-hero-search {margin:24px 0 0!important;padding:20px!important;background:var(--rb-soft)!important;box-shadow:none!important;}
  html[data-rx-bento] body:not(.home) #rxh .rb-registry-resources {margin:24px 0 0!important;padding:24px!important;background:var(--rb-surface)!important;border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;}
  html[data-rx-bento] body:not(.home) #rxh .rb-registry-resources>div {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  html[data-rx-bento] body:not(.home) #rxh .rb-registry-resources h2 {margin-top:0!important;color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rb-page-form-options {background:var(--rb-soft)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:12px!important;padding:0 14px!important;}
  html[data-rx-bento] body:not(.home) .rb-page-form-options>summary {min-height:44px!important;padding:12px 0!important;cursor:pointer!important;color:var(--rb-ink)!important;font:600 14px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] body:not(.home) .rb-page-form-options[open]>summary {margin-bottom:10px!important;}
  html[data-rx-bento] body:not(.home) .rb-page-form-options>.rx-shared-reply {margin-block:16px!important;}
  html[data-rx-bento] body:not(.home) .rts__bar {position:relative!important;gap:12px!important;}
  html[data-rx-bento] body:not(.home) :is(.rts__field,.rts__input,.rx-reg-top .rx-input) {min-width:0!important;max-width:100%!important;}
  html[data-rx-bento] body:not(.home) :is(.rts__input,.rx-reg-top .rx-input) {
    background:var(--rb-soft)!important;
    color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:14px!important;
    min-height:54px!important;
    font:400 16px/1.5 var(--rb-font)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rts__label,.rts__facet-t,.rx-reg-title) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) :is(.rts__go,.rts__more-btn) {min-height:48px!important;border-radius:14px!important;}
  html[data-rx-bento] body:not(.home) .rts__go {background:var(--rb-accent)!important;color:#fff!important;border:0!important;}
  html[data-rx-bento] body:not(.home) :is(.rts__sug,.rts__results>*,.rts__more-btn) {
    background:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:16px!important;
  }
  html[data-rx-bento] body:not(.home) .rts__sug {box-shadow:var(--rb-shadow)!important;z-index:20!important;max-width:100%!important;}
  html[data-rx-bento] body:not(.home) .rts__sug li {min-height:44px!important;padding:12px 16px!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rts__sug [aria-selected=true] {background:var(--rb-accent-soft)!important;color:var(--rb-accent-text)!important;}
  html[data-rx-bento] body:not(.home) .rts__results {min-width:0!important;}
  html[data-rx-bento] body:not(.home) .rts__results>* {margin-top:16px!important;padding:20px!important;overflow-wrap:anywhere!important;}
  html[data-rx-bento] body:not(.home) .rts-row {border-left-width:3px!important;}
  html[data-rx-bento] body:not(.home) .rts-row--d {border-left-color:var(--rts-graphite)!important;}
  html[data-rx-bento] body:not(.home) .rts-row--s {border-left-color:var(--rts-red)!important;}
  html[data-rx-bento] body:not(.home) .rts-row--g {border-left-color:var(--rts-violet)!important;}
  html[data-rx-bento] body:not(.home) .rts-row--o {border-left-color:var(--rts-green)!important;}
  html[data-rx-bento] body:not(.home) .rts__results :is(h2,h3,h4) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rts__results p {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) :is(.rts__chips button,.rx-kod-forms>*) {min-height:44px!important;background:var(--rb-soft)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;border-radius:12px!important;}
  html[data-rx-bento] body:not(.home) .rts__chips :is([aria-pressed=true],.active,.is-active) {background:var(--rb-accent-soft)!important;color:var(--rb-accent-text)!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-reg-top,.rx-reg-row,.rx-reg-group) {border-color:var(--rb-line)!important;}
  html[data-rx-bento] body:not(.home) .rx-reg-group {background:var(--rb-soft)!important;color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rx-reg-list {border-radius:0 0 21px 21px!important;overflow:auto!important;max-width:100%!important;}
  html[data-rx-bento] body:not(.home) .rx-reg-row {grid-template-columns:minmax(90px,.6fr) minmax(0,2fr) minmax(0,1.3fr)!important;gap:20px!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-reg-form a {color:var(--rb-ink)!important;border-color:var(--rb-line)!important;}
  html[data-rx-bento] body:not(.home) .rx-reg-badge {color:var(--rb-accent-text)!important;background:var(--rb-accent-soft)!important;}
  html[data-rx-bento] body:not(.home) :is(.rts-row__name,.rts-row__code) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) :is(.rts-row__reg,.rts-row__pos,.rts-code__lead,.rts-code__date,.rts-code__src) {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rts-row__name mark {background:var(--rb-accent-soft)!important;color:var(--rb-accent-text)!important;}
  html[data-rx-bento] body:not(.home) .rts-code {width:100%!important;max-width:1280px!important;margin:24px auto!important;padding:0 32px 40px!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rts-code h1 {color:var(--rb-ink)!important;font:700 clamp(28px,3.4vw,48px)/1.15 var(--rb-heading)!important;overflow-wrap:break-word!important;}
  html[data-rx-bento] body:not(.home) :is(.rts-code__answer,.rts-code__cta,.rts-code__svc,.rts-code__faq) {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;padding:24px!important;}
  html[data-rx-bento] body:not(.home) .rts-code__answer {border-left:3px solid var(--rb-accent)!important;}
  html[data-rx-bento] body:not(.home) .rts-code__cta span {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rts-code__btn {background:var(--rb-accent)!important;color:#fff!important;border-radius:14px!important;min-height:48px!important;}
  html[data-rx-bento] body:not(.home) .rts-code__faq summary {color:var(--rb-ink)!important;min-height:48px!important;padding-block:12px!important;}

  /* Encyclopedia: structured navigation around a conventional readable article. */
  html[data-rx-bento] body:not(.home) .rx-enc {
    --bg:var(--rb-bg)!important;--card:var(--rb-surface)!important;--ink:var(--rb-ink)!important;--muted:var(--rb-muted)!important;--line:var(--rb-line)!important;
    --rx-bg:var(--rb-bg)!important;--rx-bg2:var(--rb-soft)!important;--rx-ink:var(--rb-ink)!important;--rx-ink2:var(--rb-ink)!important;--rx-mut:var(--rb-muted)!important;--rx-mut2:var(--rb-muted)!important;--rx-ln:var(--rb-line)!important;--rx-red:var(--rb-accent-text)!important;--rx-red-d:var(--rb-accent-text)!important;--rx-blue:var(--rb-accent-text)!important;
  }
  html[data-rx-bento] body:not(.home) .rx-enc-wrap {width:100%!important;padding:24px 32px 48px!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-hero .rx-full-hero-inner {max-width:100%!important;padding:0!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-layout {display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:28px!important;align-items:start!important;margin-top:32px!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-main {max-width:100%!important;line-height:1.75!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-sec {
    margin:0 0 24px!important;
    padding:28px!important;
    border:1px solid var(--rb-line)!important;
    border-radius:var(--rb-radius)!important;
    background:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
  }
  html[data-rx-bento] body:not(.home) .rx-enc-sec :is(p,li,dd) {color:var(--rb-ink)!important;line-height:1.75!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-enc-side,.rx-enc-faq,.rx-enc-tldr,.rx-enc-compact-summary,.rx-enc-compact-details) {
    background:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:var(--rb-radius)!important;
    padding:24px!important;
  }
  html[data-rx-bento] body:not(.home) .rx-enc-side {top:160px!important;max-height:calc(100dvh - 184px)!important;overflow:auto!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-side :is(a,p,strong,h2,h3) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-side a {min-height:44px!important;padding-block:10px!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-enc-meta,.rx-enc-pk,.rx-enc-pl,.rx-enc-sub,.rx-enc-compact-summary p) {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-nums {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;margin-block:24px!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-num {padding:24px!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-num :is(b,strong) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-enc-pillar,.rx-enc-cta) {padding:28px!important;border-radius:var(--rb-radius)!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-enc-note,.rxk-note,.rx-reg-note-box,.p4-note) {background:var(--rb-soft)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;border-radius:14px!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-enc-grid,.rx-enc-rgrid,.rx-enc-tgrid,.rx-cat-grid) {gap:20px!important;min-width:0!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-grid>a {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;min-height:44px!important;padding:24px!important;}
  html[data-rx-bento] body:not(.home) .rx-enc :is(.rx-enc-tcard>b,.rx-cat-card>b,.rx-enc-route>b,.rx-enc-pillar>b) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc :is(.rx-enc-tcard>span,.rx-cat-card>span,.rx-enc-route>span,.rx-enc-pl) {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-svg .rx-s-bg {fill:var(--rb-surface)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-svg .rx-s-bg2 {fill:var(--rb-soft)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-svg .rx-s-card {fill:var(--rb-surface)!important;stroke:var(--rb-line)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-svg .rx-s-tx {fill:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-enc-svg .rx-s-tx-s {fill:var(--rb-muted)!important;}

  /* Reading surfaces, table boundaries and normal-flow accordions. */
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rx-module,.rxtr,.rx-p4007,.rx-p4017) table {
    max-width:100%!important;
    width:100%!important;
    border-color:var(--rb-line)!important;
    color:var(--rb-ink)!important;
    background:var(--rb-surface)!important;
    font-size:16px!important;
    line-height:1.6!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-tblwrap,.rx-enc-tw,.rx-stable-table-scroll,.rxo-tw,.hm-table) {
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:auto!important;
    border:1px solid var(--rb-line)!important;
    border-radius:16px!important;
    background:var(--rb-surface)!important;
    overscroll-behavior-inline:contain!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-module,.rxtr)>table,
  html[data-rx-bento] body:not(.home) .rx-enc-sec>table {
    display:table!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rx-module,.rxtr,.rx-p4007,.rx-p4017) :is(th,td) {
    padding:14px 16px!important;
    border-color:var(--rb-line)!important;
    color:var(--rb-ink)!important;
    background:var(--rb-surface)!important;
    vertical-align:top!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rx-module,.rxtr,.rx-p4007,.rx-p4017) th {
    background:var(--rb-soft)!important;
    font-weight:650!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rx-module,.rxtr) details,
  html[data-rx-bento] body:not(.home) :is(.rx-acc,.rxq,.rxk-q) {
    background:var(--rb-surface)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:16px!important;
    color:var(--rb-ink)!important;
    overflow-wrap:break-word!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rx-module,.rxtr) summary,
  html[data-rx-bento] body:not(.home) .rxk-q {
    min-height:52px!important;
    padding:18px 20px!important;
    color:var(--rb-ink)!important;
    cursor:pointer!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-acc-body,.rxq-a,.rxk-a) {color:var(--rb-muted)!important;}

  /* Training has its own semantic palette; do not flatten status labels. */
  html[data-rx-bento] body:not(.home) .rx-module {
    --a:var(--rb-accent)!important;
    --a2:var(--rb-ink)!important;
    --abg:var(--rb-accent-soft)!important;
    --abrd:var(--rb-line)!important;
    --ink:var(--rb-ink)!important;
    --mut:var(--rb-muted)!important;
    --bg:var(--rb-bg)!important;
    --card:var(--rb-surface)!important;
    --brd:var(--rb-line)!important;
    font-family:var(--rb-font)!important;
    color:var(--rb-ink)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-module section,.rxo-toc) {
    background:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;
    border-radius:var(--rb-radius)!important;
    padding:28px!important;
  }
  html[data-rx-bento] body:not(.home) .rxo-toc a {color:var(--rb-ink)!important;min-height:44px!important;padding-block:10px!important;}
  html[data-rx-bento] body:not(.home) .rx-module :is(.card,.gcard,.cheat) {padding:20px!important;}
  html[data-rx-bento] body:not(.home) .rx-module :is(.note,.warn,.ok,.info) {border-radius:14px!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-module .note {background:color-mix(in srgb,#d69513 12%,var(--rb-surface))!important;border-color:#d69513!important;}
  html[data-rx-bento] body:not(.home) .rx-module .warn {background:color-mix(in srgb,#d33c35 12%,var(--rb-surface))!important;border-color:#d33c35!important;}
  html[data-rx-bento] body:not(.home) .rx-module .ok {background:color-mix(in srgb,#188357 12%,var(--rb-surface))!important;border-color:#188357!important;}
  html[data-rx-bento] body:not(.home) .rx-module .info {background:color-mix(in srgb,#3977cf 12%,var(--rb-surface))!important;border-color:#3977cf!important;}

  /* Contact/requisites layouts remain navigable, compact and copy-friendly. */
  html[data-rx-bento] body:not(.home) :is(.rxk-req-row,.rxk-card,.rx-kont-card) {border-color:var(--rb-line)!important;}
  html[data-rx-bento] body:not(.home) :is(.rxk-val,.rxk-h2,.rxk-trust-i strong,.rxk-tile-t) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) :is(.rxk-lab,.rxk-sub,.rxk-trust-i span,.rxk-req-row span) {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rxk-req-row {gap:16px!important;overflow-wrap:anywhere!important;}
  html[data-rx-bento] body:not(.home) :is(.rxk-copy,.rxk-nav a,.rxk-act,.rg-city-item) {min-height:44px!important;}
  html[data-rx-bento] body:not(.home) :is(.rxk-copy,.rxk-nav a) {color:var(--rb-ink)!important;background:var(--rb-soft)!important;border-color:var(--rb-line)!important;border-radius:12px!important;}
  html[data-rx-bento] body:not(.home) :is(.rg-map,.rg-geo-links,.rl-regix) {background:transparent!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) :is(.rg-district,.rl-regix>div) {border-color:var(--rb-line)!important;}

  /* Plugin portals: inherit global tokens and style known wrappers only. */
  html[data-rx-bento] body:not(.home) :is(#rr-root,.sg-wrap,.rx-calc,#rdc-tnved) {
    color:var(--rb-ink)!important;
    font-family:var(--rb-font)!important;
    max-width:100%!important;
    min-width:0!important;
    --bg:var(--rb-bg)!important;
    --card:var(--rb-surface)!important;
    --ink:var(--rb-ink)!important;
    --muted:var(--rb-muted)!important;
    --line:var(--rb-line)!important;
  }
  html[data-rx-bento] body:not(.home) :is(#rr-root .rr-container,.sg-wrap,.rx-calc) {background:transparent!important;}
  html[data-rx-bento] body:not(.home) .rx-calc {
    --rx-ink:var(--rb-ink)!important;--rx-ink2:var(--rb-ink)!important;
    --rx-mut:var(--rb-muted)!important;--rx-mut2:var(--rb-muted)!important;
    --rx-bg:var(--rb-soft)!important;--rx-ln:var(--rb-line)!important;
    --rx-red:var(--rb-accent-text)!important;--rx-red-d:var(--rb-accent-text)!important;
    --rx-soft:var(--rb-accent-soft)!important;--rx-blue:var(--rb-accent-text)!important;
    --rx-bluesoft:var(--rb-soft)!important;--f:var(--rb-font)!important;
    --m:var(--rb-font)!important;--sh:var(--rb-shadow)!important;
    padding-inline:0!important;
  }
  html[data-rx-bento] body:not(.home) .rx-calc :is(.rx-search,.rx-results,.rx-cat,.rx-back,.rx-res,.rx-tabs button) {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;}
  html[data-rx-bento] body:not(.home) .rx-calc :is(.rx-res-head,.rx-form,.rx-note,.rx-risk) {background:var(--rb-soft)!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-calc :is(.rx-res-cat,.rx-res-meta) {color:var(--rb-muted)!important;}
  html[data-rx-bento] body:not(.home) .rx-calc :is(.rx-res-sum,.rx-card-h h3,.rx-form-t,.rx-doc-t b,.rx-res-item b) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) .rx-calc :is(.rx-tabs button[aria-pressed=true],.rx-stepn) {background:var(--rb-accent)!important;color:#fff!important;border-color:var(--rb-accent)!important;}
  html[data-rx-bento] body:not(.home) .rx-calc :is(.rx-cat,.rx-tabs button,.rx-back,.rx-clear,.rx-ck,.rx-more) {min-height:44px!important;}
  html[data-rx-bento] body:not(.home) .rx-calc :is(.rx-card,.rx-res) {border-radius:var(--rb-radius)!important;}
  html[data-rx-bento] body:not(.home) .rx-calc input:not([type=checkbox]):not([type=radio]) {background:var(--rb-soft)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;min-height:48px!important;font-size:16px!important;}
  html[data-rx-bento] body.redico-calc-page :is(.rx-mbar,.rx-sheet-in) {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;}
  html[data-rx-bento] body.redico-calc-page .rx-sheet-close {min-width:44px!important;min-height:44px!important;background:var(--rb-soft)!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) :is(.rr-toolbar-controls,.sg-filters,.rdc-panel) {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;border-radius:var(--rb-radius)!important;}
  html[data-rx-bento] body.rx-okpd2-index .tree {min-width:0!important;max-width:100%!important;}
  html[data-rx-bento] body.rx-okpd2-index .tree details {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;border-radius:14px!important;}
  html[data-rx-bento] body.rx-okpd2-index .tree summary {color:var(--rb-ink)!important;min-height:48px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
  html[data-rx-bento] body.rx-okpd2-index .tree :is(.L,.rg) {flex-shrink:0!important;}

  /* Older service/regulation files contain unclassed, inline-styled cards.
     Adapt only neutral content surfaces; never modal/widget state wrappers. */
  html[data-rx-bento] body:not(.home) #tr-service-content>section:not(.rxh-uni-host),
  html[data-rx-bento] body:is(.page-template-reglament,.page-template-obuchenie,.page-template-istoriya,.page-template-vakansii,.page-template-partnyory)>section:not(.rxh-uni-host) {
    background-color:transparent!important;
    color:var(--rb-ink)!important;
    border-color:var(--rb-line)!important;
  }
  html[data-rx-bento] body:not(.home) :is(#tr-service-content,.rx-prose,.rx-section,#perechen,#eaeu-reestr,#rx-orig-out,.page-template-reglament>section,.page-template-obuchenie>section,.page-template-istoriya>section,.page-template-vakansii>section,.page-template-partnyory>section) :is(div,section,article)[style]:is(
    [style*="background:#fff;" i],[style*="background: #fff;" i],
    [style$="background:#fff" i],[style$="background: #fff" i],
    [style*="background:#ffffff" i],[style*="background: #ffffff" i],
    [style*="background:#fafbfc" i],[style*="background: #fafbfc" i],
    [style*="background:#f7f8fa" i],[style*="background: #f7f8fa" i],
    [style*="background:#f7f8f9" i],[style*="background: #f7f8f9" i]
  ) {
    background-color:var(--rb-surface)!important;
    color:var(--rb-ink)!important;
    border-color:var(--rb-line)!important;
  }
  html[data-rx-bento] body:not(.home) :is(#tr-service-content,.rx-prose,.rx-section,#perechen,#eaeu-reestr,#rx-orig-out,.page-template-reglament>section) :is(p,li,dd,dt,small,span,div,b,strong)[style]:is(
    [style*="color:#14171c" i],[style*="color: #14171c" i],
    [style*="color:#101216" i],[style*="color: #101216" i],
    [style*="color:#3a4049" i],[style*="color: #3a4049" i],
    [style*="color:#454c57" i],[style*="color: #454c57" i],
    [style*="color:#2b313a" i],[style*="color: #2b313a" i]
  ) {color:var(--rb-ink)!important;}
  html[data-rx-bento] body:not(.home) :is(#tr-service-content,.rx-prose,.rx-section,#perechen,#eaeu-reestr,#rx-orig-out,.page-template-reglament>section) :is(p,li,small,span,div)[style]:is(
    [style*="color:#5a626e" i],[style*="color: #5a626e" i],
    [style*="color:#6a7280" i],[style*="color: #6a7280" i],
    [style*="color:#9aa1ac" i],[style*="color: #9aa1ac" i],
    [style*="color:#8b919b" i],[style*="color: #8b919b" i]
  ) {color:var(--rb-muted)!important;}

  /* REDICO Landings plugin: the complete .rl family has independent tokens. */
  html[data-rx-bento] body:not(.home) #rl-page.rl {
    --ink:var(--rb-ink)!important;--ink2:var(--rb-ink)!important;--ink3:var(--rb-muted)!important;
    --mut:var(--rb-muted)!important;--line:var(--rb-line)!important;--line2:var(--rb-line)!important;
    --soft:var(--rb-soft)!important;--soft2:var(--rb-soft)!important;
    --red:var(--rb-accent)!important;--red-d:var(--rb-accent)!important;
    --ff:var(--rb-font)!important;--mono:var(--rb-font)!important;
    box-sizing:border-box!important;width:100%!important;max-width:1280px!important;
    margin:24px auto 48px!important;padding:0 32px!important;
    color:var(--rb-ink)!important;background:transparent!important;
    font:400 16px/1.65 var(--rb-font)!important;
  }
  html[data-rx-bento] #rl-page :is(.rl-sec,.rl-wrap,.rl-toc) {max-width:100%!important;padding-inline:0!important;}
  html[data-rx-bento] #rl-page .rl-sec {padding-block:32px 0!important;}
  html[data-rx-bento] #rl-page :is(.rl-hero-in,.rl-cta-in) {display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;gap:24px!important;align-items:start!important;max-width:100%!important;padding:0!important;margin:0!important;}
  html[data-rx-bento] #rl-page .rl-hero-in>div:first-child,
  html[data-rx-bento] #rl-page :is(.rl-tile,.rl-panel,.rl-steps>li,.rl-link,.rl-faq details) {min-width:0!important;background:var(--rb-surface)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;padding:28px!important;box-shadow:var(--rb-shadow)!important;}
  html[data-rx-bento] #rl-page .rl-hero-in>div:first-child {padding:clamp(24px,3vw,44px)!important;}
  html[data-rx-bento] #rl-page :is(h2,h3,h4) {font-family:var(--rb-heading)!important;color:var(--rb-ink)!important;line-height:1.25!important;overflow-wrap:break-word!important;}
  html[data-rx-bento] #rl-page :is(.rl-lead,.rl-lead b,.rl-ul>li,.rl-src li,.rl-ans p,.rl-meta,.rl-err p) {color:var(--rb-muted)!important;}
  html[data-rx-bento] #rl-page :is(.rl-eyebrow,.rl-num) {color:var(--rb-accent-text)!important;font-family:var(--rb-font)!important;}
  html[data-rx-bento] #rl-page :is(.rl-facts,.rl-grid,.rl-steps,.rl-links,.rl-check,.rl-errs,.rl-split) {gap:20px!important;min-width:0!important;}
  html[data-rx-bento] #rl-page :is(.rl-fact,.rl-check>li,.rl-err,.rl-meta) {background:var(--rb-soft)!important;border-color:var(--rb-line)!important;color:var(--rb-ink)!important;border-radius:16px!important;min-width:0!important;}
  html[data-rx-bento] #rl-page .rl-fact b {color:var(--rb-accent-text)!important;font-family:var(--rb-font)!important;}
  html[data-rx-bento] #rl-page .rl-fact span {color:var(--rb-muted)!important;}
  html[data-rx-bento] #rl-page :is(.rl-note,.rl-tag,.rl-err i) {background:var(--rb-accent-soft)!important;border-color:var(--rb-line)!important;color:var(--rb-accent-text)!important;}
  html[data-rx-bento] #rl-page .rl-note {border-left:3px solid var(--rb-accent)!important;}
  html[data-rx-bento] #rl-page .rl-note :is(p,b) {color:var(--rb-ink)!important;}
  html[data-rx-bento] #rl-page .rl-btn {min-height:48px!important;border-radius:14px!important;white-space:normal!important;text-align:center!important;line-height:1.4!important;font:650 16px/1.4 var(--rb-font)!important;}
  html[data-rx-bento] #rl-page .rl-btn--red {background:var(--rb-accent)!important;color:#fff!important;border-color:var(--rb-accent)!important;}
  html[data-rx-bento] #rl-page :is(.rl-btn--ghost,.rl-btn--line,.rl-toc a) {background:var(--rb-soft)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:14px!important;min-height:44px!important;}
  html[data-rx-bento] #rl-page .rl-toc a {padding:11px 16px!important;}
  html[data-rx-bento] #rl-page .rl-cta {width:100%!important;margin:40px 0 0!important;padding:32px!important;background:var(--rb-soft)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;}
  html[data-rx-bento] #rl-page .rl-cta::before {content:none!important;}
  html[data-rx-bento] #rl-page .rl-cta :is(h2,p,.rl-ul>li) {color:var(--rb-ink)!important;}
  html[data-rx-bento] #rl-page .rl-card {
    --rb-surface:#161E29!important;--rb-soft:#202B3A!important;--rb-ink:#F4F7FA!important;
    --rb-muted:#B7C3D2!important;--rb-line:#344255!important;--rb-accent-text:#FFB4A8!important;
    background:var(--rb-surface)!important;color:var(--rb-ink)!important;
    border:1px solid var(--rb-line)!important;border-radius:var(--rb-radius)!important;
    padding:28px!important;min-width:0!important;box-shadow:var(--rb-shadow)!important;backdrop-filter:none!important;
  }
  html[data-rx-bento] #rl-page .rl-card :is(h3,label) {color:var(--rb-ink)!important;}
  html[data-rx-bento] #rl-page .rl-card :is(p,.rl-card-top,.rl-alt,.rl-consent) {color:var(--rb-muted)!important;}
  html[data-rx-bento] #rl-page .rl-card :is(.rl-alt a,.rl-consent a) {color:var(--rb-accent-text)!important;}
  html[data-rx-bento] #rl-page .rl-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select) {box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:48px!important;background:var(--rb-soft)!important;color:var(--rb-ink)!important;border:1px solid var(--rb-line)!important;border-radius:12px!important;font:400 16px/1.5 var(--rb-font)!important;padding:12px 14px!important;}
  html[data-rx-bento] #rl-page .rl-form :is(input,textarea)::placeholder {color:var(--rb-muted)!important;opacity:1!important;}
  html[data-rx-bento] #rl-page .rl-form select option {color:var(--rb-ink)!important;background:var(--rb-surface)!important;}
  html[data-rx-bento] #rl-page .rl-form :is(input,textarea,select):focus-visible {outline:3px solid var(--rb-accent-text)!important;outline-offset:3px!important;}
  html[data-rx-bento] #rl-page .rl-consent input {flex:0 0 18px!important;width:18px!important;height:18px!important;}
  html[data-rx-bento] #rl-page .rl-alt {border-color:var(--rb-line)!important;}
  html[data-rx-bento] #rl-page .rl-tw {min-width:0!important;width:100%!important;max-width:100%!important;overflow:auto!important;background:var(--rb-surface)!important;border-color:var(--rb-line)!important;border-radius:16px!important;overscroll-behavior-inline:contain!important;}
  html[data-rx-bento] #rl-page .rl-tb :is(th,td) {background:var(--rb-surface)!important;color:var(--rb-ink)!important;border-color:var(--rb-line)!important;}
  html[data-rx-bento] #rl-page .rl-tb thead th {background:var(--rb-soft)!important;color:var(--rb-muted)!important;}
  html[data-rx-bento] #rl-page .rl-faq {border:0!important;}
  html[data-rx-bento] #rl-page .rl-faq details {padding:0 24px!important;margin-bottom:14px!important;}
  html[data-rx-bento] #rl-page .rl-faq summary {min-height:52px!important;color:var(--rb-ink)!important;}
  @media(max-width:960px) {
    html[data-rx-bento] #rl-page :is(.rl-hero-in,.rl-cta-in) {grid-template-columns:minmax(0,1fr)!important;}
    html[data-rx-bento] #rl-page :is(.rl-g3,.rl-steps,.rl-links) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  }
  @media(max-width:640px) {
    html[data-rx-bento] body:not(.home) #rl-page.rl {padding:0 16px!important;margin-top:16px!important;}
    html[data-rx-bento] #rl-page .rl-sec {padding-top:28px!important;}
    html[data-rx-bento] #rl-page :is(.rl-hero-in>div:first-child,.rl-tile,.rl-panel,.rl-card,.rl-steps>li,.rl-link,.rl-cta) {padding:24px 20px!important;}
    html[data-rx-bento] #rl-page :is(.rl-g3,.rl-g2,.rl-steps,.rl-links,.rl-check,.rl-errs,.rl-split) {grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
    html[data-rx-bento] #rl-page .rl-fact {flex-direction:column!important;gap:6px!important;}
  }

  /* Legacy literal text colors, limited to neutral content surfaces. Keep semantic
     badges, illustrations, widget controls and buttons outside this adapter. */
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rx-enc-sec,.rxk-card,.p4-card) :is(p,li,dd,dt,small):is(
    [style*="color:#14171c" i],[style*="color: #14171c" i],
    [style*="color:#101216" i],[style*="color: #101216" i],
    [style*="color:#3a4049" i],[style*="color: #3a4049" i],
    [style*="color:#454c57" i],[style*="color: #454c57" i],
    [style*="color:#4b5563" i],[style*="color: #4b5563" i]
  ) {
    color:var(--rb-ink)!important;
  }
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rx-enc-sec,.rxk-card,.p4-card) :is(p,small)[style*="#9AA1AC"],
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rx-enc-sec,.rxk-card,.p4-card) :is(p,small)[style*="#8B919B"],
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rx-enc-sec,.rxk-card,.p4-card) :is(p,small)[style*="#5A626E"] {color:var(--rb-muted)!important;}

  @media(max-width:1023px) {
    html[data-rx-bento] body:not(.home) :is(.rx-cards,.rx-hub-grid,.rx-part-g,.rx-team-g,.rx-vak-g,.rx-obu-g,.rxk-tiles) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
    html[data-rx-bento] body:not(.home) .rx-enc-layout {grid-template-columns:minmax(0,1fr)!important;}
    html[data-rx-bento] body:not(.home) .rx-enc-side {position:static!important;max-height:none!important;}
    html[data-rx-bento] body:not(.home) :is(.rx-enc-nums,.rx-kod-grid) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  }
  @media(max-width:900px) {
    html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-grid,
    html[data-rx-bento] body:not(.home) :is(.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid,.rx-reg-hero) {grid-template-columns:minmax(0,1fr)!important;gap:20px!important;}
    html[data-rx-bento] body:not(.home) .rx-reg-row {grid-template-columns:minmax(0,1fr)!important;gap:8px!important;}
  }
  @media(max-width:640px) {
    html[data-rx-bento] body:not(.home)>:is(.rx-wrap,.redico-page-wrap),
    html[data-rx-bento] body:not(.home) :is(.rxk-sec,.rts-page__in,.rc-wrap,.rd-wrap) {padding-inline:16px!important;}
    html[data-rx-bento] body:not(.home) :is(.rxh-uni-host,#gr-hero) {margin:16px auto 24px!important;padding-inline:16px!important;}
    html[data-rx-bento] body:not(.home) .rx-enc-wrap {padding:16px 16px 32px!important;}
    html[data-rx-bento] body:not(.home) .rx-enc-hero .rx-full-hero-inner {padding:0!important;}
    html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main,
    html[data-rx-bento] body:not(.home) :is(.rx-enc-compact-copy,.rc-hero-grid>div:first-child,.rd-hero-grid>div:first-child,.rx-enc-hub-hero-grid>div:first-child) {padding:24px 20px!important;}
    html[data-rx-bento] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero) h1 {font-size:clamp(28px,7.4vw,36px)!important;line-height:1.15!important;}
    html[data-rx-bento] body:not(.home) :is(.rx-cards,.rx-hub-grid,.rx-kod-grid,.rxtr-grid,.rx-part-g,.rx-team-g,.rx-vak-g,.rx-obu-g,.rxk-tiles,.rxk-trust,.p4-grid,.rx-test-grid,.rx-steps,.rx-enc-nums,.rx-reg-2col,.rx-reg-3col,.rx-2col,.rx-2col-g,.rx-kont-grid,.rx-kont-row,.c032-2col,.rx-module .grid2,.rxo-stats,.rx-hero-resources>div,.rx-context-tools>div,.rx-enc-grid,.rx-enc-rgrid,.rx-enc-tgrid,.rx-cat-grid,.rx-calc .rx-cats) {
      grid-template-columns:minmax(0,1fr)!important;
      gap:16px!important;
    }
    html[data-rx-bento] body:not(.home) :is(.rx-card-body,.rxtr-card,.rx-step,.rx-test-col,.rx-kod-grid>a,.rx-hub-grid>a,.rx-part-card,.rxk-card,.rxk-tile,.rx-cat-card,.rx-enc-tcard,.rx-enc-route,.p4-card,.rx-enc-sec,.rx-enc-article-intro,.rx-module section,.rxo-toc,.rx-enc-num) {padding:22px 20px!important;}
    html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxk-sec,.rx-enc-main) h2 {font-size:clamp(24px,6.3vw,30px)!important;}
    html[data-rx-bento] body:not(.home) .rts {padding:18px 16px!important;}
    html[data-rx-bento] body:not(.home) #rxh .rb-registry-hero-search {padding:16px!important;}
    html[data-rx-bento] body:not(.home) #rxh .rb-registry-resources>div {grid-template-columns:minmax(0,1fr)!important;}
    html[data-rx-bento] body:not(.home) .rts__bar {display:grid!important;grid-template-columns:minmax(0,1fr)!important;}
    html[data-rx-bento] body:not(.home) :is(.rts__input,.rts__field,.rts__go,.rts__facets,.rr-sort,.sg-filters) {width:100%!important;min-width:0!important;}
    html[data-rx-bento] body:not(.home) .rts__results>* {padding:18px 16px!important;}
    html[data-rx-bento] body:not(.home) .rx-reg-top {padding:18px 16px!important;gap:12px!important;}
    html[data-rx-bento] body:not(.home) :is(.rx-reg-row,.rx-reg-group) {padding:16px!important;}
    html[data-rx-bento] body:not(.home) .rx-reg-top .rx-input {width:100%!important;flex:1 1 100%!important;}
    html[data-rx-bento] body:not(.home) .rts-code {padding-inline:16px!important;}
    html[data-rx-bento] body:not(.home) :is(.rxk-req-row,.rx-cta,.rx-module .layout) {flex-direction:column!important;align-items:stretch!important;}
    html[data-rx-bento] body:not(.home) .rxk-req-row {grid-template-columns:minmax(0,1fr)!important;gap:6px!important;}
    html[data-rx-bento] body:not(.home) .rx-module nav {position:static!important;width:100%!important;}
    html[data-rx-bento] body:not(.home) #rx-orig-form {grid-template-columns:minmax(0,1fr)!important;}
    html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rx-module,.rxtr) :is(th,td) {padding:12px!important;}
    html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-module,.rxtr)>table,
    html[data-rx-bento] body:not(.home) .rx-enc-sec>table {display:block!important;}
  }
  @media(prefers-reduced-motion:reduce) {
    html[data-rx-bento] body:not(.home) :is(.rx-card,.rxtr-card,.rx-step,.rx-cat-card,.rx-enc-tcard,.rx-enc-route,.rxk-tile,.rx-kod-grid>a) {transition:none!important;animation:none!important;}
  }
  /* Explicit layout rules above must not reveal native hidden-state components. */
  html[data-rx-bento] body:not(.home) :is(.rxh-uni-grid,.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid,.rx-enc-layout,.rts__bar)[hidden] {display:none!important;}
}

@layer redicoBento {
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rxtr,.rx-module,.rxh-uni-main,#rl-page) p {font-size:18px!important;line-height:1.65!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rxtr,.rx-module) :is(li,dd) {font-size:17px!important;line-height:1.65!important;}
  html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rx-module,.rxtr,.rx-p4007,.rx-p4017) :is(th,td) {font-size:16px!important;line-height:1.55!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card p {font-size:16px!important;line-height:1.6!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(label,legend) {font-size:16px!important;line-height:1.5!important;}
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(small,.rx-common-consent,.rx-common-help,.rx-common-note) {font-size:14px!important;line-height:1.5!important;}
  html[data-rx-bento] body:not(.home) .rb-page-form-options > summary {font-size:16px!important;}
  html[data-rx-bento] body:not(.home) :is(.rts__input,.rts__go,.rts-row,.rts-code,.rts__results,.rx-enc-tcard,.rx-cat-card) {font-size:16px!important;}
}

/* REDICO Bento: phone/tablet portrait corrections. Load after global/home/pages.
   Explicit template adapters preserve menu, AI, hidden fields and widget state. */
@layer redicoBento {
  @media (max-width: 768px) {
    html[data-rx-bento] { --rb-gutter:16px !important; --rb-space:16px !important; }
    html[data-rx-bento] body { font-size:16px !important; line-height:1.5 !important; }

    /* One centered content column; nested cards supply their own inner padding. */
    html[data-rx-bento] #home-content { --rb-home-gap:16px; padding-bottom:100px !important; }
    html[data-rx-bento] #home-content > section {
      width:calc(100% - 32px) !important; max-width:100% !important;
      margin-inline:auto !important; margin-bottom:40px !important;
    }
    html[data-rx-bento] #home-content #rxh { padding-top:16px !important; }
    html[data-rx-bento] body:not(.home)>:is(.rx-wrap,.redico-page-wrap),
    html[data-rx-bento] body:not(.home) :is(.rxk-sec,.rts-page__in,.rc-wrap,.rd-wrap) {
      width:100% !important; padding-inline:16px !important;
    }
    html[data-rx-bento] body:not(.home) :is(.rxh-uni-host,#gr-hero) {
      width:100% !important; margin:16px auto 24px !important; padding-inline:16px !important;
    }
    html[data-rx-bento] body:not(.home) :is(.rx-wrap,.redico-page-wrap,.rts-page__in)>.rxh-uni-host { padding-inline:0 !important; }
    html[data-rx-bento] body:not(.home) .rx-enc-wrap { width:100% !important; padding:16px 16px 32px !important; }
    html[data-rx-bento] body:not(.home) .rx-enc-hero .rx-full-hero-inner { padding:0 !important; }

    /* Homepage: all content sections stack at the same breakpoint. */
    html[data-rx-bento] #rxh .rxhm-hero-inner,
    html[data-rx-bento] #rxh .rb-home-resources,
    html[data-rx-bento] #rxh .hm-hero-bottom,
    html[data-rx-bento] #rxh-form form,
    html[data-rx-bento] #rxh .rxhm-sample ul,
    html[data-rx-bento] #rxh .rxhm-files,
    html[data-rx-bento] #home-services .rxhm-grid,
    html[data-rx-bento] #home-cases .hm-cases-grid,
    html[data-rx-bento] #home-dashboard .rx-dash-grid,
    html[data-rx-bento] #home-dashboard .rx-dash-row,
    html[data-rx-bento] #home-process [data-hm-group="stages"],
    html[data-rx-bento] #home-scenarios .rx-scn-grid,
    html[data-rx-bento] #tests > div:nth-child(2),
    html[data-rx-bento] #home-faq .rxhm-faq,
    html[data-rx-bento] #enciklopediya .rx-hub-grid,
    html[data-rx-bento] #redico-business-audiences .rdi-b2b-home-grid,
    html[data-rx-bento] #home-all-services .rxhm-details > div,
    html[data-rx-bento] #home-compare :is(.rx-cmp-grid,.rx-map-vs,.rx-map-list,.rx-map-story),
    html[data-rx-bento] #accreditation .rxhm-proof,
    html[data-rx-bento] #home-reviews .rx-2col-g,
    html[data-rx-bento] #telegram > .rx-2col-g,
    html[data-rx-bento] #home-client-companies .hm-client-list {
      grid-template-columns:minmax(0,1fr) !important; gap:16px !important;
      min-width:0 !important; max-width:100% !important;
    }
    html[data-rx-bento] #rxh :is(.rb-home-search-card,.rxhm-hero-inner > div:first-child),
    html[data-rx-bento] #rxh-form,
    html[data-rx-bento] #home-services .rxhm-card:nth-child(n),
    html[data-rx-bento] #home-cases .hm-case:nth-child(n),
    html[data-rx-bento] #rxh-form form > .rb-home-form-options {
      grid-column:auto !important; grid-row:auto !important;
      width:100% !important; min-width:0 !important; max-width:100% !important;
    }
    html[data-rx-bento] #rxh :is(.rb-home-search-card,.rxhm-hero-inner > div:first-child),
    html[data-rx-bento] #rxh-form { padding:24px 20px !important; }
    html[data-rx-bento] #rxh .rxhm-title { font-size:clamp(28px,7vw,36px) !important; line-height:1.2 !important; }
    html[data-rx-bento] #rxh .rxhm-hero-actions { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:12px !important; }
    html[data-rx-bento] #rxh .rxhm-hero-actions a { width:100% !important; }
    html[data-rx-bento] #enciklopediya :is(.rx-hsearch,.rx-hcta) { flex-direction:column !important; align-items:stretch !important; gap:12px !important; }
    html[data-rx-bento] #enciklopediya .rx-hsearch :is(input,button) { width:100% !important; min-width:0 !important; }
    html[data-rx-bento] #rx-tnved-form .rb-home-search-row { grid-template-columns:minmax(0,1fr) !important; }
    html[data-rx-bento] #rx-tnved-form .rb-home-find { grid-column:1 !important; grid-row:2 !important; min-height:48px !important; width:100% !important; }
    html[data-rx-bento] #rx-tnved-count { grid-column:1 !important; grid-row:3 !important; }

    /* Encyclopedia, code/product articles, services, registry and contacts. */
    html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-grid,
    html[data-rx-bento] body:not(.home) :is(.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid,.rx-reg-hero,.rx-enc-layout,
      .rx-cards,.rx-hub-grid,.rx-kod-grid,.rxtr-grid,.rx-part-g,.rx-team-g,.rx-vak-g,.rx-obu-g,.rxk-tiles,.rxk-trust,.p4-grid,.rx-test-grid,.rx-steps,
      .rx-enc-nums,.rx-reg-2col,.rx-reg-3col,.rx-2col,.rx-2col-g,.rx-kont-grid,.rx-kont-row,.c032-2col,.rx-module .grid2,.rxo-stats,
      .rx-hero-resources>div,.rx-context-tools>div,.rx-enc-grid,.rx-enc-rgrid,.rx-enc-tgrid,.rx-cat-grid,.rx-mid-see-grid,.rx-calc .rx-cats) {
      grid-template-columns:minmax(0,1fr) !important; gap:16px !important;
      min-width:0 !important; max-width:100% !important;
    }
    html[data-rx-bento] body:not(.home) :is(.rxh-uni-grid,.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid,.rx-enc-layout,.rx-enc-nums) > * {
      min-width:0 !important; max-width:100% !important; grid-column:auto !important; grid-row:auto !important;
    }
    html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main,
    html[data-rx-bento] body:not(.home) :is(.rx-enc-compact-copy,.rc-hero-grid>div:first-child,.rd-hero-grid>div:first-child,.rx-enc-hub-hero-grid>div:first-child,.rx-lead-card) {
      padding:24px 20px !important;
    }
    html[data-rx-bento] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero) h1 { font-size:clamp(28px,7vw,36px) !important; line-height:1.2 !important; }
    html[data-rx-bento] body:not(.home) .rx-enc-side { position:static !important; max-height:none !important; }
    html[data-rx-bento] body:not(.home) .rx-enc-nums { margin-block:16px !important; }
    html[data-rx-bento] body:not(.home) .rx-enc-num { width:100% !important; min-width:0 !important; padding:20px !important; }
    html[data-rx-bento] body:not(.home) :is(.rxk-req-row,.rx-cta,.rx-module .layout) { flex-direction:column !important; align-items:stretch !important; gap:16px !important; }
    html[data-rx-bento] body:not(.home) .rxk-req-row { grid-template-columns:minmax(0,1fr) !important; }
    html[data-rx-bento] body:not(.home) .rx-module nav { position:static !important; width:100% !important; }
    html[data-rx-bento] body:not(.home) #rx-orig-form { grid-template-columns:minmax(0,1fr) !important; }

    /* Registry search and filters: data rows stay readable without page overflow. */
    html[data-rx-bento] body:not(.home) .rts { padding:18px 16px !important; }
    html[data-rx-bento] body:not(.home) #rxh .rb-registry-hero-search { padding:16px !important; }
    html[data-rx-bento] body:not(.home) #rxh .rb-registry-resources > div,
    html[data-rx-bento] body:not(.home) .rts__bar { grid-template-columns:minmax(0,1fr) !important; }
    html[data-rx-bento] body:not(.home) .rts__bar:not([hidden]) { display:grid !important; }
    html[data-rx-bento] body:not(.home) :is(.rts__input,.rts__field,.rts__go,.rts__facets,.rr-sort,.sg-filters) { width:100% !important; min-width:0 !important; max-width:100% !important; }
    html[data-rx-bento] body:not(.home) .rts__results > * { padding:18px 16px !important; min-width:0 !important; }
    html[data-rx-bento] body:not(.home) .rx-reg-top { padding:18px 16px !important; gap:12px !important; flex-wrap:wrap !important; }
    html[data-rx-bento] body:not(.home) :is(.rx-reg-row,.rx-reg-group) { padding:16px !important; grid-template-columns:minmax(0,1fr) !important; }
    html[data-rx-bento] body:not(.home) .rx-reg-top .rx-input { width:100% !important; flex:1 1 100% !important; }
    html[data-rx-bento] body:not(.home) .rts-code { padding-inline:16px !important; }

    /* Standalone landing templates use their own scoped class family. */
    html[data-rx-bento] #rl-page.rl { padding-inline:16px !important; }
    html[data-rx-bento] #rl-page.rl :is(.rl-hero-in,.rl-cta-in,.rl-g3,.rl-g2,.rl-steps,.rl-links,.rl-check,.rl-errs,.rl-split) { grid-template-columns:minmax(0,1fr) !important; gap:16px !important; }
    html[data-rx-bento] #rl-page.rl .rl-fact { flex-direction:column !important; align-items:flex-start !important; }

    /* Readable main copy. Secondary/legal labels also remain at 16px on phones. */
    html[data-rx-bento] #home-content :is(p,li,dd,address),
    html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rxk-sec,.rx-enc-main,.rx-module,.rx-enc-hero) :is(p,li,dd),
    html[data-rx-bento] body:not(.home) .rx-lead-card :is(p,small,label,legend,.rx-common-consent,.rx-common-consent span,.rx-common-help,.rx-common-note),
    html[data-rx-bento] #rxh-form :is(label,legend,small,.rxhm-opt,.rxhm-reply-note,.rxhm-consent) {
      font-size:16px !important; line-height:1.5 !important; overflow-wrap:break-word !important;
    }
    html[data-rx-bento] #rxh .rxhm-hero-lead,
    html[data-rx-bento] #home-content :is(.rxhm-lead,.rx-cmp-lead,.rx-scn-lead) { font-size:18px !important; line-height:1.5 !important; }
    html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main p:not(.rx-lead-card *, .rx-ai *) { font-size:16px !important; line-height:1.5 !important; }

    /* Form fields only: hidden controls, radio dots and navigation icons are excluded. */
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card,.rx-form,.rx-foot-cta,.rx-modal,.rl-form,.rx-kont-card) :is(form,fieldset) { min-width:0 !important; max-width:100% !important; }
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card,.rx-form,.rx-foot-cta,.rx-modal,.rl-form,.rx-kont-card,.rts,.rx-reg-top) :is(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="color"]):not([hidden]):not([aria-hidden="true"]):not([name="rx_hp"]):not(.rx-hp),select,textarea) {
      width:100% !important; min-width:0 !important; max-width:100% !important; min-height:48px !important;
      font-size:16px !important; line-height:1.5 !important; box-sizing:border-box !important;
    }
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card,.rx-form,.rx-foot-cta,.rx-modal,.rl-form,.rx-kont-card) textarea { min-height:120px !important; resize:vertical !important; }
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card,.rx-form,.rx-foot-cta,.rx-modal,.rl-form,.rx-kont-card) :is(button[type="submit"],input[type="submit"],.rx-submit,.rx-foot-btn,.rx-modal-btn) {
      width:100% !important; min-height:48px !important; white-space:normal !important;
      font-size:16px !important; line-height:1.4 !important; padding:13px 16px !important;
    }
    html[data-rx-bento] body:not(.home) .rx-lead-card .rx-shared-reply,
    html[data-rx-bento] #rxh-form .rxhm-reply { min-width:0 !important; margin-block:12px !important; flex-direction:column !important; grid-template-columns:minmax(0,1fr) !important; }
    html[data-rx-bento] body:not(.home) .rx-lead-card .rx-shared-reply label,
    html[data-rx-bento] #rxh-form .rxhm-reply > label {
      display:flex !important; align-items:center !important; gap:12px !important;
      width:100% !important; min-height:48px !important; padding:12px !important;
      margin:8px 0 !important; font-size:16px !important; line-height:1.5 !important;
    }
    html[data-rx-bento] body:not(.home) .rx-lead-card .rx-common-consent,
    html[data-rx-bento] #rxh-form .rxhm-consent {
      min-height:48px !important; padding-block:12px !important; gap:12px !important;
      align-items:flex-start !important; font-size:16px !important; line-height:1.5 !important;
    }
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card,.rx-form,.rx-foot-cta,.rx-modal,.rl-form) :is(input[type="checkbox"],input[type="radio"]),
    html[data-rx-bento] #rxh-form .rxhm-consent input {
      width:22px !important; height:22px !important; min-width:22px !important; min-height:22px !important;
      flex:0 0 22px !important; margin:1px 0 0 !important;
    }
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card,.rx-form,.rl-form) input[type="file"] { padding:8px !important; overflow:hidden !important; }
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card,.rx-form,.rl-form) input[type="file"]::file-selector-button {
      min-height:44px; max-width:100%; padding:10px 12px; margin-right:8px;
      font:inherit; white-space:normal; cursor:pointer;
    }
    html[data-rx-bento] :is(#rxh-form,.rx-lead-card) :is(.rb-home-form-options,.rb-page-form-options)>summary { min-height:48px !important; padding-block:12px !important; font-size:16px !important; }

    /* The existing footer form and requisites follow the same phone rhythm. */
    html[data-rx-bento] :is(.rx-foot-cta,.rx-foot-cols,.rx-foot-req-grid) { grid-template-columns:minmax(0,1fr) !important; gap:24px !important; }
    html[data-rx-bento] .rx-foot-cta > * { min-width:0 !important; max-width:100% !important; }

    /* Overflow is constrained to actual data tables, never masked on the body. */
    html[data-rx-bento] :is(.rx-tblwrap,.rx-enc-tw,.rx-stable-table-scroll,.rxo-tw,.hm-table) { max-width:100% !important; min-width:0 !important; overflow-x:auto !important; overscroll-behavior-x:contain; }
    html[data-rx-bento] body:not(.home) :is(.rx-prose,.rx-section,.rx-module,.rxtr) > table,
    html[data-rx-bento] body:not(.home) .rx-enc-sec > table { display:block !important; max-width:100% !important; overflow-x:auto !important; }
  }
}
@layer redicoBento {
 @media(max-width:768px) {
  html[data-rx-bento] .rx-ai .rx-ai__form {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
  html[data-rx-bento] .rx-ai .rx-ai__form :is(textarea,.rx-ai__send) {grid-column:1!important;width:100%!important;min-width:0!important;max-width:100%!important;}
 }
}

@layer redicoBento {
 @media(max-width:768px) {
  html[data-rx-bento] {scroll-padding-top:100px!important;}
  html[data-rx-bento] :is(section,h2,h3)[id] {scroll-margin-top:100px!important;}
  html[data-rx-bento] .rx-header {overflow:visible!important;transform:none!important;filter:none!important;backdrop-filter:none!important;contain:none!important;}
  html[data-rx-bento] .rx-header-in.rb-mobile-header {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;min-height:76px!important;padding:12px 16px!important;overflow:visible!important;}
  html[data-rx-bento] .rx-header-in.rb-mobile-header > div:first-child {flex:1 1 auto!important;min-width:0!important;max-width:130px!important;}
  html[data-rx-bento] .rx-header-in.rb-mobile-header .custom-logo {width:clamp(96px,24vw,130px)!important;max-width:100%!important;height:auto!important;}
  html[data-rx-bento] .rb-mobile-header .rx-hdr-tag {display:none!important;}
  html[data-rx-bento] .rb-mobile-header > .rx-hdr-right {display:flex!important;width:auto!important;flex:0 0 auto!important;gap:0!important;}
  html[data-rx-bento] .rb-mobile-header > .rx-hdr-right > .rx-hdr-cta {min-height:48px!important;min-width:88px!important;padding:12px!important;font-size:0!important;line-height:1!important;flex:0 0 auto!important;}
  html[data-rx-bento] .rb-mobile-header > .rx-hdr-right > .rx-hdr-cta::after {content:'Расчёт';font:600 16px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] .rb-mobile-header > rx-megamenu {display:block!important;flex:0 0 48px!important;width:48px!important;min-width:48px!important;height:48px!important;position:static!important;}
  html[data-rx-bento] .rb-mobile-header nav.rxmm2 {position:static!important;width:48px!important;height:48px!important;--rxmm2-bar:48px!important;border:0!important;background:transparent!important;}
  html[data-rx-bento] .rb-mobile-header :is(.rxmm2-bar,.rxmm2-barin) {position:static!important;width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;border:0!important;gap:0!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-tabs {display:none!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-all {width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;justify-content:center!important;gap:0!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-all > span:last-child {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
  html[data-rx-bento] .rb-mobile-header :is(.rxmm2-panel,.rxmm2-veil) {position:fixed!important;top:var(--rb-header-bottom,76px)!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;max-width:none!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-panel {display:flex!important;flex-direction:column!important;border-radius:0!important;max-height:calc(100dvh - var(--rb-header-bottom,76px))!important;overflow-y:auto!important;overscroll-behavior:contain!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-inner {height:auto!important;flex:1 0 280px!important;min-height:280px!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-rail {min-height:0!important;}
  html[data-rx-bento] .rb-mobile-header .rxmb-cta {flex:none!important;}
  html[data-rx-bento] .rb-mobile-header .rxmb-cta a {font-size:16px!important;min-height:48px!important;white-space:normal!important;}
  html[data-rx-bento] .rb-mobile-menu-tools {padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px))!important;flex:none!important;border-top:1px solid var(--rb-line)!important;background:var(--rb-surface)!important;color:var(--rb-ink)!important;}
  html[data-rx-bento] .rb-mobile-menu-theme {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;font:400 16px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] .rb-mobile-menu-theme .rb-theme-toggle {width:48px!important;height:48px!important;margin:0!important;}
  html[data-rx-bento] .rb-mobile-menu-details > summary {min-height:48px!important;padding:12px 0!important;cursor:pointer!important;font:600 16px/1.5 var(--rb-font)!important;}
  html[data-rx-bento] .rb-mobile-menu-details :is(.rx-desknav,.rx-desknav ul) {display:grid!important;gap:4px!important;padding:0!important;margin:0!important;}
  html[data-rx-bento] .rb-mobile-menu-details :is(a,.rx-hdr-tel,.rx-hdr-mail,.rx-hdr-price,.rx-hdr-contacts) {display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;height:auto!important;min-height:48px!important;padding:12px!important;margin:4px 0!important;gap:10px!important;font:400 16px/1.5 var(--rb-font)!important;color:var(--rb-ink)!important;background:var(--rb-soft)!important;border:1px solid var(--rb-line)!important;border-radius:12px!important;overflow-wrap:anywhere!important;white-space:normal!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rx-hdr-tel::before {display:none!important;content:none!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rx-hdr-price::after {content:'Калькулятор стоимости';font:inherit!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rx-hdr-contacts span {position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rxmm2-side {display:grid!important;width:100%!important;padding:0!important;gap:4px!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rxmm2-hot span {display:inline!important;}
  html[data-rx-bento] .rb-mobile-menu-details .rxmm2-tg b {display:inline!important;font:inherit!important;}
 }
}
@layer redicoBento {
 @media(max-width:768px) {
  html[data-rx-bento] .rb-mobile-header :is(.rxmm2-cat,.rxmm2-catn,.rxmm2-i,.rxmm2-it,.rxmm2-chip) {font-size:16px!important;line-height:1.5!important;min-height:48px!important;}
  html[data-rx-bento] .rb-mobile-header .rxmm2-catn, html[data-rx-bento] .rb-mobile-header .rxmm2-it {min-height:0!important;}
 }
}
@layer redicoBento {
 @media(max-width:768px) {
  html[data-rx-bento] body:not(.admin-bar) .rx-header {top:0!important;}
 }
}

/* Compact quote forms. Original fields, labels, submission and consent remain live. */
@layer redicoBento {
  html[data-rx-bento] #rxh .rxhm-hero-inner,
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-grid,
  html[data-rx-bento] body:not(.home) :is(.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid) {
    align-items:stretch !important;
  }
  html[data-rx-bento] #rxh :is(.rb-home-search-card,.rxhm-hero-inner > div:first-child),
  html[data-rx-bento] #rxh-form,
  html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-main,
  html[data-rx-bento] body:not(.home) :is(.rx-enc-compact-copy,.rc-hero-grid>div:first-child,.rd-hero-grid>div:first-child,.rx-enc-hub-hero-grid>div:first-child,.rx-lead-card) {
    align-self:stretch !important; min-height:0 !important; height:auto !important;
  }
  html[data-rx-bento] #rxh-form { padding:24px !important; }
  html[data-rx-bento] body:not(.home) .rx-lead-card { padding:24px !important; }
  html[data-rx-bento] #rxh-form .hm-form-heading { margin-bottom:10px !important; }
  html[data-rx-bento] #rxh-form .rxhm-form-title,
  html[data-rx-bento] body:not(.home) .rx-lead-card > h2 {
    font-size:26px !important; line-height:1.25 !important; margin:0 0 10px !important;
  }
  html[data-rx-bento] #rxh-form > p,
  html[data-rx-bento] body:not(.home) .rx-lead-card > p {
    font-size:16px !important; line-height:1.5 !important; margin:0 0 16px !important;
  }
  html[data-rx-bento] #rxh-form form,
  html[data-rx-bento] body:not(.home) .rx-lead-card form[data-redico-lead] {
    display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    align-content:start !important; gap:12px !important; margin:0 !important;
  }
  /* Original submit handler sets form.hidden on success. */
  html[data-rx-bento] #rxh-form form[hidden],
  html[data-rx-bento] body:not(.home) .rx-lead-card form[data-redico-lead][hidden] { display:none !important; }
  html[data-rx-bento] #rxh-form form > *,
  html[data-rx-bento] body:not(.home) .rx-lead-card form[data-redico-lead] > * {
    grid-column:1 !important; min-width:0 !important; max-width:100% !important;
  }
  html[data-rx-bento] #rxh-form form > .rxhm-label,
  html[data-rx-bento] body:not(.home) .rx-lead-card form[data-redico-lead] > label:not(.rx-common-consent) {
    display:grid !important; gap:6px !important; margin:0 !important;
    font-size:16px !important; line-height:1.5 !important;
  }
  html[data-rx-bento] #rxh-form .rxhm-input:not([aria-hidden="true"]):not([name="rx_hp"]),
  html[data-rx-bento] body:not(.home) .rx-lead-card form[data-redico-lead] :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([aria-hidden="true"]):not([name="rx_hp"]),textarea) {
    min-height:48px !important; width:100% !important; margin-top:0 !important;
    padding:11px 13px !important; font-size:16px !important; line-height:1.5 !important;
  }
  html[data-rx-bento] #rxh-form textarea.rxhm-input,
  html[data-rx-bento] body:not(.home) .rx-lead-card form[data-redico-lead] textarea {
    min-height:96px !important; height:auto !important; resize:vertical !important;
  }
  html[data-rx-bento] #rxh-form .rb-home-form-options,
  html[data-rx-bento] body:not(.home) .rx-lead-card .rb-page-form-options {
    margin:0 !important; padding:0 12px !important; background:var(--rb-soft) !important;
  }
  html[data-rx-bento] #rxh-form .rb-home-form-options > summary,
  html[data-rx-bento] body:not(.home) .rx-lead-card .rb-page-form-options > summary {
    min-height:48px !important; padding:12px 0 !important;
    font-size:16px !important; line-height:1.5 !important;
  }
  html[data-rx-bento] body:not(.home) .rx-lead-card .rb-page-form-options .rb-form-hint {
    display:block !important; margin:0 0 12px !important; font-size:14px !important; line-height:1.5 !important;
  }
  html[data-rx-bento] #rxh-form .rxhm-btn,
  html[data-rx-bento] body:not(.home) .rx-lead-card button[type="submit"] {
    min-height:48px !important; width:100% !important; font-size:16px !important;
    line-height:1.5 !important; padding:12px 16px !important;
  }
  html[data-rx-bento] #rxh-form .rxhm-consent,
  html[data-rx-bento] body:not(.home) .rx-lead-card .rx-common-consent {
    font-size:14px !important; line-height:1.5 !important; margin:0 !important;
  }
  html[data-rx-bento] body:not(.home) .rx-lead-card .rx-common-consent span { font-size:inherit !important; line-height:inherit !important; }
  html[data-rx-bento] #rxh-form .rxhm-field-error:empty,
  html[data-rx-bento] body:not(.home) .rx-lead-card :is(.rxhm-field-error,.rx-field-error):empty { display:none !important; }
  /* Disclosure expansion can increase both cards naturally; mobile cards keep intrinsic heights. */
  @media (max-width:768px) {
    html[data-rx-bento] #rxh-form,
    html[data-rx-bento] body:not(.home) .rx-lead-card { padding:24px 20px !important; }
    html[data-rx-bento] #rxh-form .rxhm-consent,
    html[data-rx-bento] body:not(.home) .rx-lead-card .rx-common-consent,
    html[data-rx-bento] body:not(.home) .rx-lead-card .rb-page-form-options .rb-form-hint { font-size:16px !important; }
  }
}
@layer redicoBento {
 /* Legacy validation decorates fields after DOMContentLoaded; omit redundant helper copy, not error messages. */
 html[data-rx-bento] #rxh-form form > .rxhm-label > .rx-stable-field-hint {display:none!important;}
}
@layer redicoBento {
 html[data-rx-bento] body:not(.home) #rxh.rxh-uni .rxh-uni-side,
 html[data-rx-bento] body:not(.home) :is(.rx-custom-hero-form,.rx-enc-compact-side) {
  display:flex!important;flex-direction:column!important;align-self:stretch!important;min-width:0!important;height:auto!important;
 }
 html[data-rx-bento] body:not(.home) :is(.rxh-uni-side,.rx-custom-hero-form,.rx-enc-compact-side) > .rx-lead-card {
  flex:1 1 auto!important;width:100%!important;min-height:0!important;
 }
}

/* Reference-matched REDICO presentation. Keep the existing interaction state classes. */
@layer redicoBento {
 html[data-rx-bento][data-rx-reference="1"] {
  --rb-bg:#F5F6F8!important;--rb-surface:#FFFFFF!important;--rb-soft:#F3F5F7!important;
  --rb-ink:#101319!important;--rb-muted:#5E6570!important;--rb-line:#E3E7EC!important;
  --rb-accent:#DF241B!important;--rb-accent-text:#B9231B!important;--rb-accent-soft:#FCEAE7!important;
  --rb-font:"Inter","REDICO Inter Arial","REDICO Inter Roboto",Arial,sans-serif!important;--rb-heading:var(--rb-font)!important;
  --rb-radius:14px!important;--rb-shadow:0 3px 14px rgba(29,40,55,.035)!important;
  --rb-shadow-hover:0 7px 22px rgba(29,40,55,.08)!important;
  --rb-gutter:24px!important;--rr-header-bottom:72px;scroll-padding-top:96px!important;
 }
 html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] {
  --rb-bg:#0C1722!important;--rb-surface:#101E2D!important;--rb-soft:#17283A!important;
  --rb-ink:#F6F8FC!important;--rb-muted:#BECBDD!important;--rb-line:#2A4056!important;
  --rb-accent-text:#FFB3A8!important;--rb-accent-soft:#38262D!important;
  --rb-shadow:0 3px 14px rgba(0,0,0,.08)!important;--rb-shadow-hover:0 7px 22px rgba(0,0,0,.15)!important;
 }
 html[data-rx-bento][data-rx-reference="1"] body {font:400 16px/1.5 var(--rb-font)!important;background:var(--rb-bg)!important;color:var(--rb-ink)!important;}
 html[data-rx-bento][data-rx-reference="1"] :where(h1,h2,h3,h4,h5,h6) {font-family:var(--rb-font)!important;font-weight:750!important;letter-spacing:-.035em!important;line-height:1.14!important;}
 html[data-rx-bento][data-rx-reference="1"] :where(button,input,textarea,select) {font-family:var(--rb-font)!important;}
 html[data-rx-bento][data-rx-reference="1"] :where(.rx-btn,.rx-btn-ghost,.rx-submit,.rx-foot-btn,.rx-modal-btn) {border-radius:9px!important;font-size:14px!important;font-weight:600!important;}
 html[data-rx-bento][data-rx-reference="1"] :where(.rx-card,.rx-lead-card,.rx-enc-pillar,.rx-reg-row,.rx-kont-card,.rx-modal,.rx-ai) {border-radius:14px!important;box-shadow:var(--rb-shadow)!important;}
 html[data-rx-bento][data-rx-reference="1"] body:not(.home) :is(#rxh.rxh-uni .rxh-uni-main,.rc-hero-grid > div:first-child,.rd-hero-grid > div:first-child,.rx-enc-compact-copy,.rx-enc-num,.rx-enc-tldr,.rx-enc-rbox,.rx-reg-card) {border-radius:14px!important;box-shadow:var(--rb-shadow)!important;}
 html[data-rx-bento][data-rx-reference="1"] :where(.rx-input,.rx-foot-inp,.rx-modal-inp) {border-radius:8px!important;}

 /* Header is a single 72px line. The only menu trigger is the original button. */
 html[data-rx-bento][data-rx-reference="1"] .rx-header {position:sticky!important;top:0!important;z-index:700!important;background:var(--rb-surface)!important;border:0!important;box-shadow:none!important;overflow:visible!important;transform:none!important;filter:none!important;backdrop-filter:none!important;contain:none!important;}
 html[data-rx-bento][data-rx-reference="1"] body.admin-bar .rx-header {top:32px!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-header-in {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;width:min(100% - 48px,1280px)!important;max-width:1280px!important;height:72px!important;min-height:72px!important;margin:0 auto!important;padding:0!important;gap:28px!important;overflow:visible!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header-in::after,
 html[data-rx-bento][data-rx-reference="1"] .rx-hdr-right::before {display:none!important;content:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-header-in > :first-child {position:relative!important;z-index:4!important;display:flex!important;flex:0 0 auto!important;min-width:0!important;max-width:none!important;overflow:visible!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header :is(.custom-logo-link,.custom-logo-link picture) {display:inline-flex!important;align-items:center!important;min-height:44px!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .custom-logo-link picture {min-height:0!important;height:auto!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .custom-logo {display:block!important;width:146px!important;max-width:100%!important;max-height:none!important;height:auto!important;filter:none!important;}
 html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] .rx-header .custom-logo {filter:brightness(0) invert(1)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-hdr-tag {display:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header-in > .rx-desknav {display:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header-in .rr-mainnav {display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;gap:24px!important;min-width:0!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-mainnav > .rr-mainnav-link {display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:0!important;color:var(--rb-ink)!important;text-decoration:none!important;white-space:nowrap!important;font:400 13px/1.4 var(--rb-font)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-mainnav-link:is(:hover,[aria-current="page"]) {color:var(--rb-accent-text)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header-in > .rx-hdr-right {position:relative!important;z-index:4!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-hdr-right > :is(.rx-hdr-tel,.rx-hdr-price,.rx-hdr-contacts) {display:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-hdr-right .rx-hdr-cta {display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:164px!important;width:auto!important;min-height:44px!important;height:44px!important;flex:0 0 auto!important;padding:0 20px!important;margin:0!important;background:var(--rb-accent)!important;color:#FFF!important;border:0!important;border-radius:8px!important;box-shadow:0 4px 12px rgba(223,36,27,.12)!important;font:600 13px/1.3 var(--rb-font)!important;white-space:nowrap!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-hdr-cta::after {display:none!important;content:none!important;}

 /* A single accessible toggle retains the original click handler and persistence. */
 html[data-rx-bento][data-rx-reference="1"] .rx-header #rb-theme-toggle {position:relative!important;isolation:isolate!important;display:flex!important;align-items:center!important;justify-content:space-around!important;gap:0!important;flex:0 0 82px!important;width:82px!important;min-width:82px!important;height:44px!important;min-height:44px!important;padding:4px 5px!important;margin:0!important;border:0!important;border-radius:999px!important;background:transparent!important;color:var(--rb-muted)!important;box-shadow:none!important;}
 html[data-rx-bento][data-rx-reference="1"] #rb-theme-toggle::before {content:""!important;position:absolute!important;z-index:-2!important;inset:4px 0!important;background:#EDF0F4!important;border:1px solid #E7EBF0!important;border-radius:999px!important;}
 html[data-rx-bento][data-rx-reference="1"] #rb-theme-toggle::after {content:""!important;position:absolute!important;z-index:-1!important;top:7px!important;left:4px!important;width:35px!important;height:30px!important;background:#FFF!important;border-radius:999px!important;box-shadow:0 1px 6px rgba(26,38,52,.12)!important;transition:transform .2s ease-out,background-color .2s ease-out!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header #rb-theme-toggle .rb-theme-sun {display:block!important;order:0!important;width:18px!important;height:18px!important;color:#DF241B!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header #rb-theme-toggle .rb-theme-moon {display:block!important;order:1!important;width:18px!important;height:18px!important;color:#788392!important;}
 html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] #rb-theme-toggle::before {background:#0B1724!important;border-color:#2A4056!important;}
 html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] #rb-theme-toggle::after {transform:translateX(38px)!important;background:#28476A!important;box-shadow:0 1px 6px rgba(0,0,0,.2)!important;}
 html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] .rx-header #rb-theme-toggle .rb-theme-sun {color:#A6B3C3!important;}
 html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] .rx-header #rb-theme-toggle .rb-theme-moon {color:#ECF3FF!important;}
 html[data-rx-bento][data-rx-reference="1"] #rr-theme-lamp {position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 56px!important;width:56px!important;height:68px!important;min-width:56px!important;margin:0!important;}
 html[data-rx-bento][data-rx-reference="1"] #rr-theme-lamp > .rr-lamp-root {position:absolute!important;inset:0!important;width:56px!important;height:100%!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header #rr-theme-lamp > #rb-theme-toggle {width:56px!important;min-width:56px!important;flex-basis:56px!important;}
 html[data-rx-bento][data-rx-reference="1"] #rr-theme-lamp #rb-theme-toggle::after {width:24px!important;left:3px!important;}
 html[data-rx-bento][data-rx-reference="1"][data-rx-theme="dark"] #rr-theme-lamp #rb-theme-toggle::after {transform:translateX(26px)!important;}
 html[data-rx-bento][data-rx-reference="1"] #rr-theme-lamp:not([data-mounted]) > .rr-lamp-root {pointer-events:none!important;}

 /* Reset the former full-width top strip after moving its native host. */
 html[data-rx-bento][data-rx-reference="1"] rx-megamenu {display:block!important;min-height:0!important;}
 html[data-rx-bento][data-rx-reference="1"] body > rx-megamenu {display:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-mainnav > rx-megamenu {position:static!important;display:block!important;flex:0 0 auto!important;width:auto!important;height:44px!important;min-height:44px!important;min-width:0!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header nav.rxmm2 {position:static!important;width:auto!important;height:44px!important;min-height:44px!important;--rxmm2-bar:44px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header :is(.rxmm2-bar,.rxmm2-barin) {position:static!important;display:flex!important;align-items:center!important;width:auto!important;max-width:none!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;gap:0!important;background:transparent!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-tabs {display:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-all {position:relative!important;z-index:3!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;width:auto!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:0!important;background:transparent!important;color:var(--rb-ink)!important;border:0!important;border-radius:6px!important;box-shadow:none!important;transform:none!important;filter:none!important;font:400 13px/1.4 var(--rb-font)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-all > .rxmm2-bg {display:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-all:hover {color:var(--rb-accent-text)!important;background:transparent!important;box-shadow:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-panel {position:fixed!important;top:var(--rr-header-bottom,72px)!important;left:50%!important;right:auto!important;bottom:auto!important;width:min(1280px,calc(100vw - 32px))!important;max-width:1280px!important;max-height:calc(100dvh - var(--rr-header-bottom,72px) - 16px)!important;margin:0!important;overflow:auto!important;overscroll-behavior:contain!important;border-radius:0 0 14px 14px!important;transform:translate(-50%,-8px)!important;background:var(--rb-surface)!important;border:1px solid var(--rb-line)!important;box-shadow:0 20px 40px rgba(8,20,34,.15)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header nav.rxmm2.rxmm2-open .rxmm2-panel {transform:translate(-50%,0)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-veil {position:fixed!important;top:var(--rr-header-bottom,72px)!important;left:0!important;right:0!important;bottom:0!important;background:rgba(7,16,26,.35)!important;backdrop-filter:blur(3px)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-inner {height:auto!important;min-height:300px!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-tools {position:relative!important;z-index:1!important;padding:16px 24px!important;border-top:1px solid var(--rb-line)!important;background:var(--rb-surface)!important;color:var(--rb-ink)!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-primary {display:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details > summary {min-height:44px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0!important;color:var(--rb-ink)!important;font:500 14px/1.5 var(--rb-font)!important;cursor:pointer!important;list-style:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details > summary::after {content:"+"!important;display:block!important;font-size:23px!important;font-weight:400!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details[open] > summary::after {content:"−"!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details .rx-desknav,
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details .rx-desknav ul {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:0!important;margin:4px 0!important;list-style:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details :is(a,.rx-hdr-tel,.rx-hdr-mail,.rx-hdr-price,.rx-hdr-contacts) {display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:44px!important;margin:4px 8px 4px 0!important;padding:10px 14px!important;background:var(--rb-soft)!important;border:1px solid var(--rb-line)!important;border-radius:8px!important;color:var(--rb-ink)!important;font:400 14px/1.5 var(--rb-font)!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details .rx-hdr-tel::before {display:none!important;content:none!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details .rx-hdr-contacts span {position:static!important;width:auto!important;height:auto!important;min-height:0!important;clip:auto!important;clip-path:none!important;overflow:visible!important;margin:0!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details .rxmm2-side {display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;margin:4px 0!important;padding:0!important;gap:8px!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details .rxmm2-tg b {display:inline!important;font:inherit!important;}
 html[data-rx-bento][data-rx-reference="1"] .rr-menu-details :is(.rxmm2-hot span,.rxmm2-hot i) {display:inline!important;}

 @media(max-width:1180px) {
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-header-in {gap:20px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header-in .rr-mainnav {gap:17px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .custom-logo {width:132px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header-in > .rx-hdr-right {gap:12px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-hdr-right .rx-hdr-cta {min-width:148px!important;padding-inline:16px!important;}
 }
 @media(max-width:1000px) {
  html[data-rx-bento][data-rx-reference="1"] body.rr-menu-lock {overflow:hidden!important;}
  html[data-rx-bento][data-rx-reference="1"] {--rb-gutter:16px!important;--rr-header-bottom:64px;scroll-padding-top:80px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-header-in {width:calc(100% - 32px)!important;height:64px!important;min-height:64px!important;padding:0!important;gap:12px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-header-in > :first-child {order:0!important;flex:1 1 auto!important;max-width:none!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .custom-logo {width:126px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header-in .rr-mainnav {display:contents!important;}
  html[data-rx-bento][data-rx-reference="1"] .rr-mainnav > .rr-mainnav-link {display:none!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header-in > .rx-hdr-right {order:1!important;gap:0!important;width:56px!important;flex:0 0 56px!important;}
  html[data-rx-bento][data-rx-reference="1"] #rr-theme-lamp {height:64px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-hdr-right .rx-hdr-cta {display:none!important;}
  html[data-rx-bento][data-rx-reference="1"] .rr-mainnav > rx-megamenu {order:2!important;width:44px!important;min-width:44px!important;flex:0 0 44px!important;height:44px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header nav.rxmm2,
  html[data-rx-bento][data-rx-reference="1"] .rx-header :is(.rxmm2-bar,.rxmm2-barin) {width:44px!important;min-width:44px!important;height:44px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-all {width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border-radius:8px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-all > span:last-child {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;padding:0!important;white-space:nowrap!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-all > .rxmm2-bg {position:relative!important;display:block!important;width:20px!important;height:14px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rxmm2-bg i {height:1.5px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rxmm2-bg i:nth-child(1) {top:0!important;}
  html[data-rx-bento][data-rx-reference="1"] .rxmm2-bg i:nth-child(2) {top:6px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rxmm2-bg i:nth-child(3) {top:12px!important;}
  html[data-rx-bento][data-rx-reference="1"] nav.rxmm2.rxmm2-open .rxmm2-bg i:nth-child(1) {transform:translateY(6px) rotate(45deg)!important;}
  html[data-rx-bento][data-rx-reference="1"] nav.rxmm2.rxmm2-open .rxmm2-bg i:nth-child(3) {transform:translateY(-6px) rotate(-45deg)!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-panel {left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;max-height:calc(100dvh - var(--rr-header-bottom,64px))!important;border-radius:0!important;border-inline:0!important;transform:translateY(-8px)!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header nav.rxmm2.rxmm2-open .rxmm2-panel {transform:translateY(0)!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-inner {min-height:0!important;}
  html[data-rx-bento][data-rx-reference="1"] .rr-menu-tools {padding:16px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rr-menu-primary {display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding-bottom:16px!important;border-bottom:1px solid var(--rb-line)!important;margin-bottom:8px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rr-menu-primary > a {display:flex!important;align-items:center!important;min-height:44px!important;padding:10px 12px!important;background:var(--rb-soft)!important;border:1px solid var(--rb-line)!important;border-radius:8px!important;color:var(--rb-ink)!important;font:400 14px/1.4 var(--rb-font)!important;text-decoration:none!important;}
  html[data-rx-bento][data-rx-reference="1"] .rr-menu-details :is(a,.rx-desknav,.rx-desknav ul,.rxmm2-side) {width:100%!important;}
  html[data-rx-bento][data-rx-reference="1"] .rr-menu-details a {margin-right:0!important;}
 }
 @media(max-width:782px) {html[data-rx-bento][data-rx-reference="1"] body.admin-bar .rx-header {top:46px!important;}}
 @media(max-width:360px) {
  html[data-rx-bento][data-rx-reference="1"] .rx-header .custom-logo {width:112px!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rx-header-in {gap:8px!important;}
 }
 @media(prefers-reduced-motion:reduce) {html[data-rx-bento][data-rx-reference="1"] #rb-theme-toggle::after {transition:none!important;}}
 html[data-rx-bento][data-rx-reference="1"] [hidden] {display:none!important;}
}
@layer redicoBento {
 @media(max-width:1000px) {
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-panel > :is(.rxmm2-inner,.rxmm2-foot,.rr-menu-tools,.rxmb-cta) {flex:0 0 auto!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-panel .rxmm2-inner {display:flex!important;flex-direction:column!important;height:auto!important;min-height:initial!important;max-height:none!important;overflow:visible!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-panel .rxmm2-rail {display:flex!important;flex-wrap:wrap!important;gap:8px!important;height:auto!important;max-height:none!important;overflow:visible!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-panel .rxmm2-rail button {min-height:44px!important;white-space:normal!important;}
  html[data-rx-bento][data-rx-reference="1"] .rx-header .rxmm2-panel .rxmm2-find {flex:0 0 auto!important;min-height:48px!important;}
 }
}
