/* REDICO reference design: internal-page adapters.
 * Enable only with data-rx-reference="1". Load after existing page/mobile adapters.
 * Original content, forms, labels, hidden states and event targets stay intact.
 */
@layer redicoBento {
  html[data-rx-reference="1"] body:not(.home) {
    --rb-font:"Inter",Arial,sans-serif !important;
    --rb-heading:"Inter",Arial,sans-serif !important;
    --rb-radius:24px !important;
    --rp-art:url("visuals/certificate.webp") !important;
    font-family:var(--rb-font) !important;
  }
  html[data-rx-reference="1"]:not([data-rx-theme="dark"]) body:not(.home) {
    --rb-bg:#F4F5F7 !important;
    --rb-surface:#FFFFFF !important;
    --rb-soft:#F0F2F5 !important;
    --rb-ink:#181B22 !important;
    --rb-muted:#555E6D !important;
    --rb-line:#E2E5EA !important;
    --rb-shadow:0 8px 28px -20px rgba(25,35,52,.16) !important;
  }
  html[data-rx-reference="1"][data-rx-theme="dark"] body:not(.home) {
    --rb-bg:#0D1421 !important;
    --rb-surface:#182234 !important;
    --rb-soft:#202D42 !important;
    --rb-ink:#F7F9FC !important;
    --rb-muted:#C2CCDC !important;
    --rb-line:#344259 !important;
    --rb-shadow:0 12px 36px -24px rgba(0,0,0,.6) !important;
  }

  /* The same title/quote composition across the existing template families. */
  html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-grid,
  html[data-rx-reference="1"] body:not(.home) :is(.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-hero-in {
    grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr) !important;
    gap:20px !important;
    align-items:stretch !important;
  }
  html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-main,
  html[data-rx-reference="1"] 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),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-hero-in>div:first-child {
    display:flow-root !important;
    position:relative !important;
    min-width:0 !important;
    padding:32px !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;
    overflow:visible !important;
  }
  /* In-flow art reserves real room for text; never floats over a search field. */
  html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-main::before,
  html[data-rx-reference="1"] 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)::before,
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-hero-in>div:first-child::before {
    content:"" !important;
    display:block !important;
    position:static !important;
    float:right !important;
    width:clamp(80px,16%,116px) !important;
    height:116px !important;
    margin:0 0 16px 20px !important;
    background:var(--rp-art) center / contain no-repeat !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    opacity:1 !important;
    transform:none !important;
    pointer-events:none !important;
  }
  html[data-rx-reference="1"] body:not(.home):is(.page-template-reestr-tnved,.rx-okpd2-index,.page-template-redico-calculator) {--rp-art:url("visuals/hero-search.webp") !important;}
  html[data-rx-reference="1"] body:not(.home):is(.post-type-archive-redico_blog,.single-redico_blog,.page-template-obuchenie,.page-template-module) {--rp-art:url("visuals/encyclopedia.webp") !important;}
  html[data-rx-reference="1"] body:not(.home):is(.page-template-kontakty,.redico-cities-template,.page-template-produkciya) {--rp-art:url("visuals/warehouse.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) .rx-enc {--rp-art:url("visuals/encyclopedia.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) :is(.sg-wrap,.rx-sgr) {--rp-art:url("visuals/sgr.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-main :is(.rts,.rx-context-tools,.rx-hero-resources,.rx-2col),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-hero-in :is(.rl-facts,.rl-btns) {
    clear:both !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero,.rx-prod-hero) h1 {
    font-family:var(--rb-heading) !important;
    font-size:clamp(32px,3.1vw,46px) !important;
    font-weight:800 !important;
    line-height:1.12 !important;
    letter-spacing:-.035em !important;
    color:var(--rb-ink) !important;
    text-wrap:balance !important;
    overflow-wrap:break-word !important;
    margin:0 0 20px !important;
  }
  html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-main p:not(.rx-lead-card *, .rx-ai *),
  html[data-rx-reference="1"] body:not(.home) :is(.rx-enc-compact-copy,.rx-enc-hub-copy,.rc-hero-grid>div:first-child,.rd-hero-grid>div:first-child) > p,
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-lead {
    color:var(--rb-muted) !important;
    font:400 16px/1.6 var(--rb-font) !important;
    margin:0 0 20px !important;
  }
  html[data-rx-reference="1"] 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-reference="1"] body:not(.home) :is(.rx-hero-crumb-slot,.rx-hero-breadcrumbs) {
    font:400 13px/1.5 var(--rb-font) !important;
    padding-bottom:16px !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-context-tools,.rx-hero-resources) {
    margin-top:24px !important;
    gap:10px !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-context-tools,.rx-hero-resources) a {
    background:var(--rb-soft) !important;
    border:1px solid var(--rb-line) !important;
    color:var(--rb-ink) !important;
    border-radius:12px !important;
    min-height:44px !important;
    font-family:var(--rb-font) !important;
  }

  /* Shared SSR forms use the same two original required fields and upload row.
     RL forms retain their own extra required fields, consent and submission. */
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card {
    --rb-surface:#191C23 !important;
    --rb-soft:#282D37 !important;
    --rb-ink:#FFFFFF !important;
    --rb-muted:#CDD2DC !important;
    --rb-line:#444B59 !important;
    --rb-accent-text:#FFB4A8 !important;
    --rb-error:#FFB4A8 !important;
    --rb-success:#98E4B4 !important;
    color:var(--rb-ink) !important;
    background:var(--rb-surface) !important;
    border:1px solid var(--rb-line) !important;
    border-radius:24px !important;
    box-shadow:none !important;
    padding:28px !important;
    min-width:0 !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) :is(h2,h3),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card h3 {
    color:#FFFFFF !important;
    font:800 25px/1.2 var(--rb-font) !important;
    letter-spacing:-.025em !important;
    margin:0 0 10px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) > p,
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card > p {
    color:#CDD2DC !important;
    font:400 14px/1.5 var(--rb-font) !important;
    margin:0 0 18px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) :is(label,legend),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card :is(label,legend) {
    color:#F5F7FA !important;
    font:500 14px/1.45 var(--rb-font) !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) :is(small,.rx-common-consent,.rx-common-consent span),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card :is(.rl-alt,.rl-consent) {
    color:#CDD2DC !important;
    font:400 12px/1.5 var(--rb-font) !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-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,select),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select) {
    color:#FFFFFF !important;
    background:#282D37 !important;
    border:1px solid #4B5362 !important;
    border-radius:10px !important;
    min-height:48px !important;
    font:400 16px/1.4 var(--rb-font) !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) form[data-redico-lead] textarea {
    min-height:76px !important;
    resize:vertical !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) :is(input,textarea)::placeholder,
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-form :is(input,textarea)::placeholder {
    color:#B8C1CE !important;
    opacity:1 !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) :is(input,textarea,select,button,summary):focus-visible,
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card :is(input,textarea,select,button):focus-visible {
    outline:3px solid #94BFFF !important;
    outline-offset:3px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) :is(.rx-common-consent,.rr-upload) a,
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card :is(.rl-alt,.rl-consent) a {
    color:#FFC0B6 !important;
    text-decoration:underline !important;
    text-underline-offset:3px !important;
  }

  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) .rb-page-form-options {
    color:#CDD2DC !important;
    background:#282D37 !important;
    border-color:#444B59 !important;
    border-radius:10px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) .rb-page-form-options > summary {
    color:#E2E7EF !important;
    font:500 13px/1.5 var(--rb-font) !important;
    min-height:44px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card) button[type="submit"],
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-form .rl-btn--red {
    background:#C62C20 !important;
    color:#FFFFFF !important;
    border-color:#C62C20 !important;
    border-radius:12px !important;
    min-height:48px !important;
    font:700 15px/1.4 var(--rb-font) !important;
  }

  /* The compact reference form needs stronger internal selectors than legacy forms.css. */
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card {
    --rb-surface:#141B22 !important;
    --rb-soft:#253341 !important;
    --rb-ink:#F7F9FC !important;
    --rb-muted:#CDD2DC !important;
    --rb-line:#46515D !important;
    --rb-accent-text:#FFB4A8 !important;
    --rb-error:#FFB4A8 !important;
    --rb-success:#98E4B4 !important;
    border-radius:14px !important;
    padding:24px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card form.rr-quote-form[data-redico-lead]:not([hidden]) {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:10px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card form.rr-quote-form[data-redico-lead][hidden] {
    display:none !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card form.rr-quote-form[data-redico-lead] > :is(.rr-field-product,.rr-field-contact) {
    display:block !important;
    font-size:0 !important;
    line-height:0 !important;
    color:transparent !important;
    margin:0 !important;
    padding:0 !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card form.rr-quote-form[data-redico-lead] :is(input[name="phone"],input[name="product"],textarea[name="product"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([aria-hidden="true"]):not([name="rx_hp"]) {
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:48px !important;
    height:48px !important;
    margin:0 !important;
    padding:13px 12px 12px 44px !important;
    border:1px solid #46515D !important;
    border-radius:7px !important;
    background:rgba(255,255,255,.035) !important;
    color:#FFFFFF !important;
    font:400 14px/1.45 var(--rb-font) !important;
    box-shadow:none !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card form.rr-quote-form[data-redico-lead] textarea[name="product"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([aria-hidden="true"]):not([name="rx_hp"]) {
    min-height:48px !important;
    height:auto !important;
    resize:vertical !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card form.rr-quote-form[data-redico-lead] textarea[name="product"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([aria-hidden="true"]):not([name="rx_hp"]):focus {
    min-height:96px !important;
  }

  /* Soft, dense bento cards; article copy retains its normal document flow. */
  html[data-rx-reference="1"] body:not(.home) :is(.rx-card,.rxtr-card,.rx-kod-grid>a,.rx-hub-grid>a,.rx-cat-card,.rx-enc-tcard,.rx-enc-route,.rxk-card,.rxk-tile,.rx-test-col,.rx-part-card,.rx-team-card,.rx-enc-sec,.rx-enc-article-intro,.rts-code__answer,.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;
    box-shadow:var(--rb-shadow) !important;
    min-width:0 !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-card-title,.rxtr-card h3,.rx-cat-card>b,.rx-enc-tcard>b,.rx-enc-route>b,.rxk-card h3,.rxk-tile-t) {
    font-family:var(--rb-heading) !important;
    font-weight:750 !important;
    letter-spacing:-.02em !important;
    line-height:1.3 !important;
    color:var(--rb-ink) !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-cat-grid,.rx-enc-grid,.rx-enc-rgrid,.rx-enc-tgrid,.rx-cards,.rx-kod-grid,.rx-hub-grid,.rx-test-grid,.rxk-grid) {gap:20px !important;}
  /* Existing category links supply their own semantic asset without new links. */
  html[data-rx-reference="1"] body:not(.home) :is(.rx-hub-grid,.rx-kod-grid,.rx-cat-grid,.rx-enc-rgrid,.rx-enc-tgrid)>a {
    --rp-card-art:url("visuals/encyclopedia.webp") !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-hub-grid,.rx-kod-grid,.rx-cat-grid,.rx-enc-rgrid,.rx-enc-tgrid)>a[href*="sertifikat"] {--rp-card-art:url("visuals/certificate.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) :is(.rx-hub-grid,.rx-kod-grid,.rx-cat-grid,.rx-enc-rgrid,.rx-enc-tgrid)>a[href*="sgr"] {--rp-card-art:url("visuals/sgr.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) :is(.rx-hub-grid,.rx-kod-grid,.rx-cat-grid,.rx-enc-rgrid,.rx-enc-tgrid)>a[href*="otkaz"] {--rp-card-art:url("visuals/refusal.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) :is(.rx-hub-grid,.rx-kod-grid,.rx-cat-grid,.rx-enc-rgrid,.rx-enc-tgrid)>a[href*="notifik"] {--rp-card-art:url("visuals/notification.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) :is(.rx-hub-grid,.rx-kod-grid,.rx-cat-grid,.rx-enc-rgrid,.rx-enc-tgrid)>a[href*="ispyt"] {--rp-card-art:url("visuals/testing.webp") !important;}
  html[data-rx-reference="1"] body:not(.home) :is(.rx-hub-grid,.rx-kod-grid,.rx-cat-grid,.rx-enc-rgrid,.rx-enc-tgrid)>a::before {
    content:"" !important;
    display:block !important;
    position:static !important;
    width:64px !important;
    height:64px !important;
    margin:0 0 16px !important;
    background:var(--rp-card-art) center / contain no-repeat !important;
    border:0 !important;
    transform:none !important;
    pointer-events:none !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rts__bar {
    background:var(--rb-surface) !important;
    color:var(--rb-ink) !important;
    border:1px solid var(--rb-line) !important;
    border-radius:14px !important;
    padding:6px !important;
  }
  html[data-rx-reference="1"] body:not(.home) .rts__input {
    background:var(--rb-surface) !important;
    color:var(--rb-ink) !important;
    font:400 16px/1.5 var(--rb-font) !important;
    min-height:48px !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rts-row,.rx-reg-row) {
    background:var(--rb-surface) !important;
    color:var(--rb-ink) !important;
    border-radius:16px !important;
    box-shadow:none !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-prose,.rx-section,.rx-enc-main,.rxtr,.rx-module) p {
    font:400 16px/1.7 var(--rb-font) !important;
  }
  /* Product enhancement adds this heading after server output; the old fixed ink failed in dark mode. */
  html[data-rx-reference="1"] body:not(.home) .rx-toc .rx-toc__title {
    color:var(--rb-ink) !important;
    font:700 18px/1.4 var(--rb-font) !important;
  }
  /* Both themes explicitly color cells; preserve nested status/badge colors. */
  html[data-rx-reference="1"] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rx-enc,.rx-module,.rts-code,.rx-reg-card,.rxk-sec) :is(th,td),
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-tb :is(th,td) {
    background:var(--rb-surface) !important;
    color:var(--rb-ink) !important;
    border-color:var(--rb-line) !important;
    font:400 15px/1.55 var(--rb-font) !important;
    overflow-wrap:break-word !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-prose,.rx-section,.rxtr,.rx-enc,.rx-module,.rts-code,.rx-reg-card,.rxk-sec) th,
  html[data-rx-reference="1"] body:not(.home) #rl-page .rl-tb th {
    background:var(--rb-soft) !important;
    color:var(--rb-ink) !important;
    font-weight:650 !important;
  }
  html[data-rx-reference="1"] body:not(.home) :is(.rx-tblwrap,.rx-enc-tw,.rx-stable-table-scroll,.rxo-tw,.rl-tw) {
    max-width:100% !important;
    overflow-x:auto !important;
    overscroll-behavior-inline:contain !important;
    border:1px solid var(--rb-line) !important;
    border-radius:16px !important;
  }
  @media(hover:hover) and (prefers-reduced-motion:no-preference) {
    html[data-rx-reference="1"] body:not(.home) :is(a.rx-card,.rx-hub-grid>a,.rx-kod-grid>a,a.rx-cat-card,a.rx-enc-tcard,a.rx-enc-route,.rxk-tile) {
      transition:transform 180ms ease-out,box-shadow 180ms ease-out,border-color 180ms ease-out !important;
    }
    html[data-rx-reference="1"] body:not(.home) :is(a.rx-card,.rx-hub-grid>a,.rx-kod-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;
      box-shadow:0 14px 30px -18px rgba(30,40,60,.24) !important;
    }
  }
  @media(max-width:1024px) {
    html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-grid,
    html[data-rx-reference="1"] body:not(.home) :is(.rc-hero-grid,.rd-hero-grid,.rx-enc-hub-hero-grid,.rx-enc-compact-grid),
    html[data-rx-reference="1"] body:not(.home) #rl-page .rl-hero-in {
      grid-template-columns:minmax(0,1fr) !important;
      gap:20px !important;
    }
  }
  @media(max-width:640px) {
    html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card {
      border-radius:14px !important;
      padding:20px !important;
    }
    html[data-rx-reference="1"] body:not(.home) .rx-lead-card.rr-quote-card form.rr-quote-form[data-redico-lead] :is(input[name="phone"],input[name="product"],textarea[name="product"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([aria-hidden="true"]):not([name="rx_hp"]) {
      font-size:16px !important;
    }
    html[data-rx-reference="1"] body:not(.home) {--rb-radius:20px !important;}
    html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-main,
    html[data-rx-reference="1"] 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),
    html[data-rx-reference="1"] body:not(.home) #rl-page .rl-hero-in>div:first-child {
      padding:24px 20px !important;
    }
    html[data-rx-reference="1"] body:not(.home) #rxh.rxh-uni .rxh-uni-main::before,
    html[data-rx-reference="1"] 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)::before,
    html[data-rx-reference="1"] body:not(.home) #rl-page .rl-hero-in>div:first-child::before {
      width:64px !important;
      height:64px !important;
      margin:0 0 12px 12px !important;
    }
    html[data-rx-reference="1"] body:not(.home) :is(#rxh.rxh-uni,.rx-enc-hero,.rc-hero,.rd-hero,.rl-hero,.rx-prod-hero) h1 {
      font-size:30px !important;
      line-height:1.15 !important;
      letter-spacing:-.03em !important;
      margin-bottom:16px !important;
    }
    html[data-rx-reference="1"] body:not(.home) .rx-lead-card:not(.rr-quote-card),
    html[data-rx-reference="1"] body:not(.home) #rl-page .rl-card {
      border-radius:20px !important;
      padding:24px 20px !important;
    }
    html[data-rx-reference="1"] body:not(.home) :is(.rx-cat-grid,.rx-enc-grid,.rx-enc-rgrid,.rx-enc-tgrid,.rx-cards,.rx-kod-grid,.rx-hub-grid,.rx-test-grid,.rxk-grid) {
      grid-template-columns:minmax(0,1fr) !important;
      gap:16px !important;
    }
  }
}
