/* REDICO forms 1.1.0. Reuse the earliest established layer to override legacy important rules. */
@layer redicoUsability {
  html body .rd-form-shell,
  html body form.rd-contact-card,
  html body .rd-form-success {
    --rd-paper:var(--rb-surface,#fff); --rd-field:#fff; --rd-ink:var(--ink,#101319); --rd-muted:var(--muted,#5e6570);
    --rd-line:var(--line,#e3e7ec); --rd-accent:var(--red,#df241b); --rd-accent-hover:var(--red-d,#b51d15);
    --rd-soft:#f0f3f6; --rd-focus:var(--red,#df241b); --rd-success:#24624c;
    color:var(--rd-ink)!important; color-scheme:light; font-family:var(--ff,Inter,Arial,sans-serif);
    min-width:0!important; max-width:100%!important; box-sizing:border-box!important;
    text-align:start; overflow-wrap:anywhere;
  }
  html[data-rx-theme="dark"] body .rd-form-shell,
  html[data-rx-theme="dark"] body form.rd-contact-card,
  html[data-rx-theme="dark"] body .rd-form-success {
    --rd-paper:#1c222a; --rd-field:#252d37; --rd-ink:#f8f9fb; --rd-muted:#c2c9d2;
    --rd-line:#536172; --rd-accent:#df241b; --rd-accent-hover:#bd1e16;
    --rd-soft:#293b35; --rd-focus:#ff9386; --rd-success:#9bdbc0; color-scheme:dark;
  }
  html body .rd-form-shell {
    width:100%!important; border:1px solid var(--rd-line)!important; border-radius:22px!important;
    background:var(--rd-paper)!important; padding:clamp(20px,2vw,28px)!important;
    box-shadow:0 12px 35px -25px rgba(20,30,45,.3)!important; container-type:inline-size;
  }
  html body form.rd-contact-card {
    display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:14px!important;
    width:100%!important; height:auto!important; max-height:none!important; min-height:0!important;
    padding:0!important; margin:0!important; border:0!important; border-radius:0!important;
    background:transparent!important; box-shadow:none!important; align-content:start!important;
    position:relative!important; scroll-margin-top:105px;
  }
  html body .rd-form-shell * {box-sizing:border-box!important;min-width:0;}
  html body form.rd-contact-card .rd-form-grid {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 12px!important; width:100%!important; max-width:100%!important; margin:0!important;
    grid-column:1 / -1!important;
  }
  html body form.rd-contact-card .rd-form-grid .rd-field,
  html body form.rd-contact-card label.rd-field {
    display:flex!important; flex-direction:column!important; gap:7px!important; position:relative!important;
    width:100%!important; min-width:0!important; max-width:100%!important; margin:0!important;
    padding:0!important; color:var(--rd-ink)!important; background:transparent!important;
    border:0!important; border-radius:0!important; overflow:visible!important;
    font-size:13px!important; font-weight:600!important; line-height:1.45!important;
    letter-spacing:0!important; text-transform:none!important; grid-column:auto!important;
  }
  html body form.rd-contact-card .rd-form-grid .rd-field--full {grid-column:1 / -1!important;}
  html body form.rd-contact-card .rd-field::before,
  html body form.rd-contact-card .rd-field::after {display:none!important;content:none!important;}
  html body form.rd-contact-card .rd-field__label {
    display:block!important; position:static!important; top:auto!important; left:auto!important;
    transform:none!important; color:var(--rd-ink)!important; opacity:1!important;
    font-size:13px!important; font-weight:600!important; line-height:1.45!important;
    white-space:normal!important; margin:0!important; padding:0!important; letter-spacing:0!important;
  }
  html body form.rd-contact-card .rd-form-grid .rd-field :is(input,textarea,select).rd-control,
  html body form.rd-contact-card .rd-field > :is(input,textarea,select).rd-control {
    display:block!important; position:static!important; width:100%!important; min-width:0!important;
    max-width:100%!important; box-sizing:border-box!important; min-height:48px!important;
    height:48px!important; max-height:none!important; margin:0!important; padding:12px 13px!important;
    background:var(--rd-field)!important; color:var(--rd-ink)!important; -webkit-text-fill-color:var(--rd-ink)!important;
    opacity:1!important; border:1px solid var(--rd-line)!important; border-radius:11px!important;
    box-shadow:0 1px 2px rgba(60,37,20,.025)!important; font:400 16px/1.45 var(--ff,Inter,Arial,sans-serif)!important;
    letter-spacing:0!important; text-transform:none!important; outline-offset:3px!important;
    text-align:start!important; appearance:auto!important; transform:none!important;
  }
  html body form.rd-contact-card .rd-form-grid .rd-field textarea.rd-control {
    height:108px!important; min-height:108px!important; max-height:360px!important;
    resize:vertical!important; white-space:pre-wrap!important; overflow-wrap:anywhere!important;
    word-break:break-word!important; overflow-x:hidden!important; overflow-y:auto!important;
    field-sizing:fixed!important;
  }
  html body form.rd-contact-card .rd-field .rd-control::placeholder {
    color:var(--rd-muted)!important; -webkit-text-fill-color:var(--rd-muted)!important;
    opacity:.9!important; font-weight:400!important;
  }
  html body form.rd-contact-card .rd-field .rd-control:hover {border-color:#8b98a8!important;}
  html body form.rd-contact-card :is(input,textarea,select,button,a,summary):focus-visible {
    outline:3px solid var(--rd-focus)!important; outline-offset:3px!important;
  }
  html body form.rd-contact-card .rd-field .rd-control:focus {border-color:var(--rd-accent)!important;}
  html body form.rd-contact-card [aria-invalid="true"] {border-color:#b3261e!important;}
  html body form.rd-contact-card .rd-field-error {display:block;color:#b3261e!important;font-size:12px!important;line-height:1.45!important;font-weight:500!important;}
  html body form.rd-contact-card .rd-form-kicker {
    display:flex!important; align-items:center; gap:8px; color:var(--rd-accent)!important;
    margin:0 0 -5px!important; font-size:11px!important; line-height:1.4!important;
    font-weight:750!important; letter-spacing:.11em!important; text-transform:uppercase!important;
  }
  html body form.rd-contact-card .rd-form-kicker::before {content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none;}
  html body form.rd-contact-card .rx-ux-form__heading,
  html body form.rd-contact-card .rx-ux-form__heading strong {
    color:var(--rd-ink)!important; margin:0!important; font-size:clamp(21px,1.8vw,25px)!important;
    line-height:1.2!important; letter-spacing:-.025em!important; font-weight:750!important;
    max-width:100%!important;
  }
  html body form.rd-contact-card :is(.rd-form-intro,.rx-ux-form__context) {
    font-size:14px!important; line-height:1.5!important; color:var(--rd-muted)!important;
    margin:-4px 0 1px!important; letter-spacing:0!important; text-transform:none!important;
    max-width:100%!important;
  }
  html body form.rd-contact-card .rd-consent {
    display:flex!important; flex-direction:row!important; align-items:flex-start!important; gap:9px!important;
    width:100%!important; margin:0!important; padding:0!important; color:var(--rd-muted)!important;
    font-size:12px!important; font-weight:400!important; line-height:1.55!important;
    letter-spacing:0!important; text-transform:none!important; white-space:normal!important;
    grid-column:1 / -1!important;
  }
  html body form.rd-contact-card .rd-consent :is(span,a) {font-size:inherit!important;line-height:inherit!important;color:inherit!important;}
  html body form.rd-contact-card .rd-consent a {display:inline!important;text-decoration:underline!important;text-underline-offset:2px!important;}
  html body form.rd-contact-card .rd-consent input[type="checkbox"] {
    display:block!important; position:static!important; flex:0 0 19px!important; width:19px!important;
    height:19px!important; min-width:19px!important; min-height:19px!important; max-width:19px!important;
    margin:1px 0 0!important; padding:0!important; appearance:auto!important; accent-color:var(--rd-accent)!important;
    opacity:1!important; transform:none!important; cursor:pointer!important;
  }
  html body form.rd-contact-card button.rd-submit {
    display:flex!important; align-items:center!important; justify-content:center!important; gap:10px!important;
    width:100%!important; min-width:0!important; max-width:100%!important; min-height:50px!important;
    height:auto!important; margin:0!important; padding:13px 18px!important;
    background:var(--rd-accent)!important; color:#fff!important; -webkit-text-fill-color:#fff!important;
    border:1px solid transparent!important; border-radius:12px!important;
    box-shadow:0 4px 12px -8px rgba(115,36,20,.6)!important;
    font:700 15px/1.4 var(--ff,Inter,Arial,sans-serif)!important; letter-spacing:0!important;
    white-space:normal!important; text-transform:none!important; cursor:pointer!important;
    grid-column:1 / -1!important;
  }
  html body form.rd-contact-card button.rd-submit:hover {background:var(--rd-accent-hover)!important;}
  html body form.rd-contact-card button.rd-submit:disabled {opacity:.7!important;cursor:wait!important;}
  html body form.rd-contact-card :is(.rx-audit-note,.rr-form-hint,.rx-stable-field-hint) {
    font-size:12px!important; line-height:1.5!important; color:var(--rd-muted)!important; margin:0!important;
  }
  html body form.rd-contact-card :is(.rx-err,.is-err) {font-size:14px!important;line-height:1.5!important;color:#b3261e!important;}
  html body form.rd-contact-card .rx-err:empty {display:none!important;}
  html body .rd-form-shell .rx-ux-prepare-link {color:var(--rd-muted)!important;font-size:12px!important;margin-top:12px!important;}
  html body .rd-form-success {
    display:grid!important; align-content:center!important; justify-items:start!important; gap:14px!important;
    width:100%!important; max-width:100%!important; min-height:260px!important; padding:clamp(20px,3vw,34px)!important;
    border:1px solid var(--rd-line)!important; border-radius:18px!important; background:var(--rd-paper)!important;
    margin:0!important; color:var(--rd-ink)!important; opacity:1!important; visibility:visible!important;
    font-size:16px!important; line-height:1.55!important; overflow-wrap:anywhere!important;
  }
  html body .rd-form-shell > .rd-form-success {border:0!important;padding:8px 0!important;}
  html body .rd-form-success .rd-success-icon {
    display:grid!important; place-items:center!important; width:48px!important;height:48px!important;
    color:var(--rd-success)!important;background:var(--rd-soft)!important;border-radius:50%!important;
    font:700 25px/1 sans-serif!important;
  }
  html body .rd-form-success .rd-success-title {color:var(--rd-ink)!important;font-size:25px!important;line-height:1.2!important;font-weight:750!important;margin:0!important;}
  html body .rd-form-success .rd-success-copy {color:var(--rd-ink)!important;font-size:17px!important;line-height:1.5!important;margin:0!important;font-weight:500!important;}
  html body .rd-form-success .rd-success-next {color:var(--rd-muted)!important;font-size:14px!important;line-height:1.5!important;margin:0!important;}
  html body .rd-form-success a {color:var(--rd-accent)!important;text-decoration:underline!important;}
  html body form.rd-contact-card[hidden], html body .rd-form-success[hidden],
  html body form.rd-contact-card [hidden], html body form.rd-contact-card input[type="hidden"] {display:none!important;}
  html body form.rd-contact-card label:has(input[type="hidden"]):not(:has(input:not([type="hidden"]),textarea,select)),
  html body form.rd-contact-card .rxhm-hint {display:none!important;}
  html body form.rd-contact-card :is([name="rx_hp"],[name="company"][aria-hidden="true"]) {
    position:absolute!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;
    min-height:0!important;min-width:0!important;opacity:0!important;pointer-events:none!important;
  }
  @container (max-width:399px) {
    html body form.rd-contact-card .rd-form-grid {grid-template-columns:minmax(0,1fr)!important;}
    html body form.rd-contact-card .rd-form-grid .rd-field {grid-column:1 / -1!important;}
  }
  @media(max-width:480px) {
    html body .rd-form-shell {padding:20px 16px!important;border-radius:18px!important;}
    html body form.rd-contact-card .rd-form-grid {grid-template-columns:minmax(0,1fr)!important;gap:13px!important;}
    html body form.rd-contact-card .rd-form-grid .rd-field {grid-column:1 / -1!important;}
    html body form.rd-contact-card .rd-field__label {font-size:13px!important;}
    html body form.rd-contact-card .rd-consent {font-size:12px!important;}
  }
  @media(prefers-reduced-motion:no-preference) {
    html body form.rd-contact-card .rd-control {transition:border-color .15s ease,box-shadow .15s ease;}
    html body form.rd-contact-card button.rd-submit {transition:background-color .15s ease;}
    html body .rd-form-success:not([hidden]) {animation:rd-form-reveal .2s ease-out;}
  }
  @keyframes rd-form-reveal {from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
}

/* Homepage offer: full-width copy and a balanced form column.
 * Uses the existing first cascade layer so imported !important rules cannot
 * reserve a decorative column or recolour the primary action.
 */
@layer redicoUsability {
  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-hero-grid.rxhm-hero-inner:has(.rr-home-intro) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
    grid-template-areas: "intro enquiry" "finder finder" !important;
    grid-template-rows: auto auto !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: clamp(24px, 2.7vw, 34px) !important;
  }

  /* The decorative illustration formerly reserved 145–210 px beside all copy. */
  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-hero-grid.rxhm-hero-inner > img.rr-hero-art {
    display: none !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-eyebrow {
    min-height: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    letter-spacing: .1em !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro h1.rr-hero-title {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 0 18px !important;
    font-size: clamp(36px, 3.2vw, 46px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
    font-weight: 800 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: balance !important;
    hyphens: none !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro p.rr-hero-answer {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    white-space: pre-line !important;
    overflow-wrap: break-word !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start a {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.4 !important;
    text-align: start !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start a.rx-audit-primary {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 13px 18px !important;
    border: 1px solid var(--rb-accent) !important;
    border-radius: 12px !important;
    background: var(--rb-accent) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start a.rx-audit-primary:hover {
    background: var(--red-d, var(--rb-accent)) !important;
    border-color: var(--red-d, var(--rb-accent)) !important;
    color: #fff !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start a:not(.rx-audit-primary) {
    padding: 6px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }

  html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start a:focus-visible {
    outline: 3px solid var(--rb-accent-text) !important;
    outline-offset: 4px !important;
  }

  @media (max-width: 1000px) {
    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-hero-grid.rxhm-hero-inner:has(.rr-home-intro) {
      grid-template-columns: minmax(0, 1fr) !important;
      grid-template-areas: "intro" "enquiry" "finder" !important;
      grid-template-rows: auto !important;
      gap: 12px !important;
    }

    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro {
      padding: 24px !important;
    }

    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro h1.rr-hero-title {
      font-size: clamp(32px, 4.8vw, 44px) !important;
    }
  }

  @media (max-width: 480px) {
    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro {
      padding: 20px 18px !important;
    }

    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-eyebrow {
      margin-bottom: 12px !important;
      font-size: 10px !important;
      letter-spacing: .08em !important;
    }

    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro h1.rr-hero-title {
      margin-bottom: 14px !important;
      font-size: clamp(28px, 7.7vw, 34px) !important;
      line-height: 1.12 !important;
    }

    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro p.rr-hero-answer {
      font-size: 16px !important;
      line-height: 1.55 !important;
    }

    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start {
      margin-top: 18px !important;
      align-items: stretch !important;
    }

    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro .rr-start-links.rx-audit-start a.rx-audit-primary {
      width: 100% !important;
      padding-inline: 14px !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro,
    html[data-rx-bento][data-rx-reference] body.home #home-content #rxh .rr-home-intro * {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}

/* Keep the homepage offer in the site palette; only its enquiry card is dark. */
@layer redicoUsability {
  html body.home #rxh .rx-ux-form-wrap.rd-form-shell,
  html body.home #rxh .rx-ux-form-wrap form.rd-contact-card,
  html body.home #rxh .rx-ux-form-wrap .rd-form-success {
    --rd-paper:#1c222a; --rd-field:#252d37; --rd-ink:#f8f9fb; --rd-muted:#c2c9d2;
    --rd-line:#536172; --rd-accent:#df241b; --rd-accent-hover:#bd1e16;
    --rd-soft:#293b35; --rd-focus:#ff9386; --rd-success:#9bdbc0;
    color-scheme:dark!important;
  }
  html body.home #rxh .rx-ux-form-wrap form.rd-contact-card .rd-form-kicker {
    color:#ffa297!important;
  }
  html body.home #rxh .rx-ux-form-wrap form.rd-contact-card :is(.rd-field-error,.rx-err,.is-err) {
    color:#ffaba6!important;
  }
  html body.home #rxh .rx-ux-form-wrap form.rd-contact-card [aria-invalid="true"] {
    border-color:#ffaba6!important;
  }
}

@layer redicoUsability {
  #rx-modal .rx-modal-l .rd-modal-telegram {
    --rd-tg-ink: var(--rb-ink, var(--ink, #101319));
    --rd-tg-muted: var(--rb-muted, var(--muted, #5e6570));
    --rd-tg-line: var(--rb-line, var(--line, #e3e7ec));
    --rd-tg-paper: var(--rb-surface, #fff);
    --rd-tg-soft: var(--rb-soft, #f3f5f7);
    --rd-tg-red: var(--rb-accent, var(--red, #df241b));
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px !important;
    grid-template-areas: "kicker scene" "title scene" "copy copy" "link link" !important;
    gap: 8px 12px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 22px 0 0 !important;
    padding: 20px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--rd-tg-line) !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--rd-tg-ink) !important;
    text-align: start !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram > p.rd-tg-kicker {
    grid-area: kicker !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--rd-tg-muted) !important;
    font: 500 12px/1.4 var(--rb-font, inherit) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram > h4 {
    grid-area: title !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--rd-tg-ink) !important;
    font-family: var(--rb-font, inherit) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -.02em !important;
    text-transform: none !important;
    overflow-wrap: break-word !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram > p.rd-tg-copy {
    grid-area: copy !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    color: var(--rd-tg-muted) !important;
    font-family: var(--rb-font, inherit) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram > a.rd-tg-link {
    grid-area: link !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    justify-self: start !important;
    gap: 10px !important;
    min-height: 44px !important;
    max-width: 100% !important;
    margin: 6px 0 0 !important;
    padding: 11px 16px !important;
    border: 1px solid var(--rd-tg-red) !important;
    border-radius: 9px !important;
    background: var(--rd-tg-red) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-family: var(--rb-font, inherit) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram > a.rd-tg-link:hover {
    background: var(--red-d, var(--rd-tg-red)) !important;
    border-color: var(--red-d, var(--rd-tg-red)) !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram > a.rd-tg-link:focus-visible {
    outline: 3px solid var(--rb-accent-text, var(--rd-tg-red)) !important;
    outline-offset: 4px !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-link > span {
    flex: none !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-scene {
    grid-area: scene !important;
    position: relative !important;
    align-self: center !important;
    width: 92px !important;
    height: 94px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-docs {
    position: absolute !important;
    left: 6px !important;
    top: 21px !important;
    width: 50px !important;
    height: 64px !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-docs > span {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 46px !important;
    height: 58px !important;
    box-sizing: border-box !important;
    border: 1.5px solid var(--rd-tg-line) !important;
    border-radius: 5px !important;
    background: var(--rd-tg-paper) !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-docs > span:first-child {
    background: var(--rd-tg-soft) !important;
    transform: translate(-4px, -5px) rotate(-10deg);
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-docs > span:last-child {
    transform: translate(7px, 1px) rotate(6deg);
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-docs > span:last-child::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 11px;
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: var(--rd-tg-red);
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-docs > span:last-child::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--rd-tg-line);
    box-shadow: 0 8px 0 var(--rd-tg-line), 0 16px 0 var(--rd-tg-line);
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-plane {
    position: absolute !important;
    right: 1px !important;
    top: 3px !important;
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    color: #229ed9 !important;
    transform: none;
    transform-origin: 50% 50%;
    animation: none;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-plane > svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    fill: currentColor !important;
  }

  #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-check {
    position: absolute !important;
    right: 3px !important;
    bottom: 6px !important;
    display: grid !important;
    place-items: center !important;
    width: 23px !important;
    height: 23px !important;
    border: 1.5px solid var(--rd-tg-red) !important;
    border-radius: 50% !important;
    background: var(--rd-tg-paper) !important;
    color: var(--rd-tg-red) !important;
    font: 700 14px/1 Arial, sans-serif !important;
  }

  #rx-modal.on .rx-modal-l .rd-modal-telegram .rd-tg-plane {
    animation: rdTelegramPlane 3.6s cubic-bezier(.2, .65, .25, 1) 1 both;
  }

  @keyframes rdTelegramPlane {
    from { transform: translate(-18px, 16px) rotate(-7deg); }
    to { transform: translate(0, 0) rotate(0); }
  }

  @media (max-width: 860px) {
    #rx-modal .rx-modal-l .rd-modal-telegram {
      grid-template-columns: minmax(0, 1fr) 60px !important;
      gap: 5px 10px !important;
      margin-top: 16px !important;
      padding-top: 16px !important;
    }

    #rx-modal .rx-modal-l .rd-modal-telegram > h4 {
      font-size: 18px !important;
    }

    #rx-modal .rx-modal-l .rd-modal-telegram > p.rd-tg-copy {
      margin-top: 3px !important;
      font-size: 13px !important;
      line-height: 1.5 !important;
    }

    #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-scene {
      width: 60px !important;
      height: 64px !important;
    }

    #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-docs {
      left: 2px !important;
      top: 17px !important;
      transform: scale(.7);
      transform-origin: 0 0;
    }

    #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-plane {
      width: 29px !important;
      height: 29px !important;
      right: 0 !important;
      top: 0 !important;
    }

    #rx-modal .rx-modal-l .rd-modal-telegram .rd-tg-check {
      width: 19px !important;
      height: 19px !important;
      right: 0 !important;
      bottom: 0 !important;
      font-size: 12px !important;
    }
  }

  @media (max-width: 480px) {
    #rx-modal .rx-modal-l .rd-modal-telegram > a.rd-tg-link {
      width: 100% !important;
      justify-self: stretch !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #rx-modal.on .rx-modal-l .rd-modal-telegram .rd-tg-plane {
      animation: none !important;
      transform: none !important;
    }
  }
}

/* REDICO footer enquiry. Append after the common form styles.
 * This is the request panel, not .rx-foot-req (the company details).
 * The early established layer overrides the old footer's important grid rows.
 */
@layer redicoUsability {
  html body footer#request.rx-sitefoot .rx-foot-cta {
    display:grid!important;
    grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;
    align-items:stretch!important;
    gap:clamp(28px,3.2vw,44px)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:clamp(24px,3vw,40px)!important;
    background:#1c222a!important;
    color:#f8f9fb!important;
    border:1px solid #343e4a!important;
    border-radius:24px!important;
    box-shadow:0 16px 42px -24px rgb(15 22 32 / 28%)!important;
    overflow:visible!important;
    text-align:start!important;
    isolation:isolate;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta > div,
  html body footer#request.rx-sitefoot .rx-foot-cta :is(.rd-footer-story,.rd-footer-form-panel,.rd-footer-visual) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta > .rd-footer-story {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    padding:0!important;
    margin:0!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-visual {
    display:block!important;
    position:relative!important;
    width:100%!important;
    aspect-ratio:16 / 10;
    margin:0 0 26px!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgb(255 255 255 / 12%)!important;
    border-radius:14px!important;
    background:#252d37!important;
    box-shadow:none!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-visual > img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    aspect-ratio:inherit;
    object-fit:cover!important;
    object-position:center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta > div:first-child > h2 {
    margin:0!important;
    max-width:17ch!important;
    color:#f8f9fb!important;
    font:700 clamp(28px,2.7vw,36px)/1.12 var(--ff,Inter,Arial,sans-serif)!important;
    letter-spacing:-.035em!important;
    text-transform:none!important;
    text-shadow:none!important;
    text-wrap:balance;
    overflow-wrap:normal!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta > div:first-child > p {
    margin:16px 0 0!important;
    max-width:43ch!important;
    color:#c7ced7!important;
    font:400 16px/1.6 var(--ff,Inter,Arial,sans-serif)!important;
    letter-spacing:0!important;
    text-shadow:none!important;
    overflow-wrap:anywhere!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-contacts {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:0 24px!important;
    margin:18px 0 0!important;
    padding:0!important;
    color:#e1e6ed!important;
    font:500 14px/1.5 var(--ff,Inter,Arial,sans-serif)!important;
    letter-spacing:0!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-contacts a {
    display:inline-flex!important;
    align-items:center!important;
    min-height:44px!important;
    max-width:100%!important;
    padding:0!important;
    color:inherit!important;
    font:inherit!important;
    text-decoration:none!important;
    text-underline-offset:4px;
    overflow-wrap:anywhere!important;
  }

  /* The common stylesheet declares these variables on all three nodes.
   * Set each here so a light page never gives the dark panel dark labels.
   */
  html body footer#request.rx-sitefoot .rx-foot-cta :is(.rd-footer-form-panel,.rd-form-shell),
  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card,
  html body footer#request.rx-sitefoot .rx-foot-cta .rd-form-success {
    --rd-paper:#171e27;
    --rd-field:#252d37;
    --rd-ink:#f8f9fb;
    --rd-muted:#c2c9d2;
    --rd-line:#708092;
    --rd-accent:#df241b;
    --rd-accent-hover:#bd1e16;
    --rd-soft:#293b35;
    --rd-focus:#ff9386;
    --rd-success:#9bdbc0;
    color:var(--rd-ink)!important;
    color-scheme:dark!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta :is(.rd-footer-form-panel,.rd-form-shell) {
    display:block!important;
    align-self:start!important;
    width:100%!important;
    margin:0!important;
    padding:28px!important;
    border:1px solid #3c4856!important;
    border-radius:18px!important;
    background:var(--rd-paper)!important;
    box-shadow:none!important;
    container-name:rd-footer-form;
    container-type:inline-size;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-form-heading {
    display:block!important;
    margin:0 0 24px!important;
    padding:0!important;
    color:var(--rd-ink)!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-form-heading > h3 {
    margin:0!important;
    color:var(--rd-ink)!important;
    font:700 24px/1.2 var(--ff,Inter,Arial,sans-serif)!important;
    letter-spacing:-.025em!important;
    text-transform:none!important;
    text-shadow:none!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-form-heading > p {
    margin:9px 0 0!important;
    color:var(--rd-muted)!important;
    font:400 14px/1.55 var(--ff,Inter,Arial,sans-serif)!important;
    letter-spacing:0!important;
  }

  /* Keep the sender and DOM order intact. Only the field pair uses a grid.
   * The old footer assigns both the fields and submit button grid-row:2.
   */
  html body footer#request.rx-sitefoot .rx-foot-cta form[data-redico-lead] {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    align-content:normal!important;
    gap:18px!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form > :is(.rd-form-grid,.rd-consent,button[type="submit"]) {
    position:static!important;
    inset:auto!important;
    grid-area:auto!important;
    order:0!important;
    float:none!important;
    transform:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-form-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:none!important;
    grid-auto-flow:row!important;
    gap:17px 14px!important;
    padding:0!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-form-grid > .rd-field {
    display:flex!important;
    flex-direction:column!important;
    position:relative!important;
    inset:auto!important;
    grid-area:auto!important;
    order:0!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    color:var(--rd-ink)!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-form-grid > .rd-field--full {
    grid-column:1 / -1!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-field__label {
    display:block!important;
    position:static!important;
    inset:auto!important;
    z-index:auto!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    color:var(--rd-ink)!important;
    font:600 13px/1.45 var(--ff,Inter,Arial,sans-serif)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    pointer-events:auto!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-field .rd-control {
    display:block!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:50px!important;
    height:50px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:12px 14px!important;
    background:var(--rd-field)!important;
    color:var(--rd-ink)!important;
    -webkit-text-fill-color:var(--rd-ink)!important;
    border:1px solid var(--rd-line)!important;
    border-radius:10px!important;
    box-shadow:none!important;
    font:400 16px/1.5 var(--ff,Inter,Arial,sans-serif)!important;
    transition:border-color .16s ease,background-color .16s ease!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-field .rd-control::placeholder {
    color:#bbc4d0!important;
    -webkit-text-fill-color:#bbc4d0!important;
    opacity:1!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-field textarea.rd-control {
    min-height:118px!important;
    height:118px!important;
    max-height:360px!important;
    resize:vertical!important;
    white-space:pre-wrap!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-consent {
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    min-height:0!important;
    padding:0!important;
    color:var(--rd-muted)!important;
    font:400 13px/1.55 var(--ff,Inter,Arial,sans-serif)!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-consent :is(span,a) {
    color:inherit!important;
    font:inherit!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-consent a {
    color:#eef1f6!important;
    text-decoration:underline!important;
    text-underline-offset:3px!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card button[type="submit"] {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:stretch!important;
    min-height:52px!important;
    height:auto!important;
    padding:14px 18px!important;
    border:1px solid transparent!important;
    border-radius:10px!important;
    background:#df241b!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    box-shadow:0 5px 15px -10px rgb(223 36 27 / 55%)!important;
    font:700 16px/1.4 var(--ff,Inter,Arial,sans-serif)!important;
    letter-spacing:0!important;
    white-space:normal!important;
    text-transform:none!important;
    transition:background-color .16s ease!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta :is(input,textarea,select,button,a):focus-visible {
    outline:2px solid #ff9386!important;
    outline-offset:3px!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-control[aria-invalid="true"] {
    border-color:#ffb0a5!important;
    box-shadow:0 0 0 1px #ffb0a5!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta :is(.rd-field-error,.rxhm-field-error,.rx-stable-field-error,.rx-err) {
    color:#ffb0a5!important;
    font-size:13px!important;
    line-height:1.45!important;
    overflow-wrap:anywhere!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form > .rx-err {
    position:static!important;
    grid-area:auto!important;
    margin:0!important;
    padding:12px 14px!important;
    border:1px solid #ae6762!important;
    border-radius:10px!important;
    background:#3a2529!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form > .rx-err:empty {
    display:none!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-form-success {
    min-height:260px!important;
    margin:0!important;
    padding:24px 0!important;
    align-content:center!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-form-success :is(.rd-success-title,.rd-success-copy) {
    color:var(--rd-ink)!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta .rd-form-success .rd-success-next {
    color:var(--rd-muted)!important;
  }

  html body footer#request.rx-sitefoot .rx-foot-cta form[hidden],
  html body footer#request.rx-sitefoot .rx-foot-cta .rd-form-success[hidden],
  html body footer#request.rx-sitefoot .rx-foot-cta form :is([hidden],input[type="hidden"]) {
    display:none!important;
  }

  @container rd-footer-form (max-width:399px) {
    html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-form-grid {
      grid-template-columns:minmax(0,1fr)!important;
    }
  }

  @media (max-width:900px) {
    html body footer#request.rx-sitefoot .rx-foot-cta {
      grid-template-columns:minmax(0,1fr)!important;
      gap:28px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-visual {
      aspect-ratio:16 / 8;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta > div:first-child > h2 {
      max-width:24ch!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta > div:first-child > p {
      max-width:58ch!important;
    }
  }

  @media (max-width:480px) {
    html body footer#request.rx-sitefoot .rx-foot-cta {
      padding:18px!important;
      gap:24px!important;
      border-radius:18px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-visual {
      aspect-ratio:4 / 3;
      margin-bottom:22px!important;
      border-radius:10px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta > div:first-child > h2 {
      font-size:28px!important;
      line-height:1.15!important;
      max-width:18ch!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta > div:first-child > p {
      font-size:15px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta :is(.rd-footer-form-panel,.rd-form-shell) {
      padding:20px 16px!important;
      border-radius:13px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-form-heading {
      margin-bottom:22px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-form-heading > h3 {
      font-size:23px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-form-grid {
      grid-template-columns:minmax(0,1fr)!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-contacts {
      gap:0 14px!important;
      margin-top:14px!important;
      font-size:14px!important;
    }
  }

  @media (max-width:350px) {
    html body footer#request.rx-sitefoot .rx-foot-cta {
      padding:16px!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta :is(.rd-footer-form-panel,.rd-form-shell) {
      padding-inline:14px!important;
    }
  }

  @media (hover:hover) {
    html body footer#request.rx-sitefoot .rx-foot-cta .rd-footer-contacts a:hover {
      color:#fff!important;
      text-decoration:underline!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card .rd-control:hover {
      border-color:#9baabd!important;
    }
    html body footer#request.rx-sitefoot .rx-foot-cta form.rd-contact-card button[type="submit"]:not(:disabled):hover {
      background:#bd1e16!important;
      transform:none!important;
    }
  }

  @media (prefers-reduced-motion:reduce) {
    html body footer#request.rx-sitefoot .rx-foot-cta :is(input,textarea,select,button,a) {
      transition:none!important;
    }
  }
}

/* REDICO: simple enquiries — question, optional name and one contact, 24 November 2026.
   A layer gives these scoped important declarations priority over legacy overrides. */
@layer redicoCompact {
html body :where(form[data-redico-lead],form.rx-lead-form,form#rx-orig-contact,form#quote-form) {
  --rdc-reserve: 400px;
}
html body form.rx-ux-form { --rdc-reserve: 480px; }
html body form#quote-form { --rdc-reserve: 420px; }
html.rd-compact-boot body :is(form[data-redico-lead],form.rx-lead-form,form#rx-orig-contact,form#quote-form):not([data-rd-ready]) {
  box-sizing: border-box !important;
  width: 100% !important;
  height: var(--rdc-reserve) !important;
  min-height: var(--rdc-reserve) !important;
  max-height: var(--rdc-reserve) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
html.rd-compact-boot body #quote:not(:has(form[data-rd-ready])) > :is(.rdx-quote-heading,#quote-heading,p) {
  visibility: hidden !important;
}
html body .rd-compact-shell,
html body .rd-compact-form {
  --rdc-surface: var(--rdx-ui-surface, #fbfaf6);
  --rdc-ink: var(--rdx-ui-ink, #252429);
  --rdc-muted: var(--rdx-ui-muted, #57535a);
  --rdc-red: var(--rdx-ui-red, #ae222d);
  --rdc-line: color-mix(in srgb, var(--rdc-ink) 32%, var(--rdc-surface));
  box-sizing: border-box;
  min-width: 0 !important;
  min-height: 0 !important;
  color: var(--rdc-ink) !important;
}
html body form.rd-compact-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 22px !important;
  margin: 0 !important;
  border: 1px solid var(--rdc-line) !important;
  border-radius: 12px !important;
  background: var(--rdc-surface) !important;
  box-shadow: none !important;
  text-align: left !important;
}
html body .rd-compact-form .rd-compact-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start !important;
}
/* Legacy service fields assign their own order; use the enquiry's DOM order. */
html body .rd-compact-form .rd-compact-grid > * {
  order: 0 !important;
  grid-row: auto !important;
  grid-column: 1 / -1 !important;
}
html body .rd-compact-form .rd-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--rdc-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
html body .rd-compact-form .rd-field--full { grid-column: 1 / -1 !important; }
html body .rd-compact-form .rd-field__label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rdc-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
html body .rd-compact-form .rd-control {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--rdc-line) !important;
  border-radius: 8px !important;
  background: var(--rdc-surface) !important;
  color: var(--rdc-ink) !important;
  -webkit-text-fill-color: var(--rdc-ink) !important;
  caret-color: var(--rdc-ink) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}
html body .rd-compact-form textarea.rd-control {
  height: 84px !important;
  min-height: 84px !important;
  max-height: 220px !important;
  resize: vertical !important;
}
/* One optional disclosure keeps the initial enquiry focused. A dedicated
   body stays closed even if an older template forces file labels to display. */
html body .rd-compact-form .rd-additional-fields {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--rdc-ink) !important;
}
html body .rd-compact-form .rd-additional-summary {
  display: list-item !important;
  box-sizing: border-box !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 12px 0 !important;
  color: var(--rdc-ink) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  cursor: pointer;
}
html body .rd-compact-form .rd-additional-summary:focus-visible {
  outline: 2px solid var(--rdc-red) !important;
  outline-offset: 2px !important;
  border-radius: 4px !important;
}
html body .rd-compact-form .rd-additional-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 4px 0 8px !important;
  min-width: 0 !important;
}
html body .rd-compact-form .rd-additional-fields:not([open]) > .rd-additional-body {
  display: none !important;
}
html body .rd-compact-form .rd-field-upload .rd-control {
  height: auto !important;
  min-height: 46px !important;
}
html body .rd-compact-form .rd-control::placeholder { color: var(--rdc-muted) !important; -webkit-text-fill-color: var(--rdc-muted) !important; opacity: 1; }
html body .rd-compact-form input.rd-control:is(:autofill, :-webkit-autofill) {
  -webkit-text-fill-color: var(--rdc-ink) !important;
  caret-color: var(--rdc-ink) !important;
  box-shadow: 0 0 0 1000px var(--rdc-surface) inset !important;
}
html body .rd-compact-form .rd-control:focus-visible {
  outline: 2px solid var(--rdc-red) !important;
  outline-offset: 2px !important;
  border-color: var(--rdc-red) !important;
}
html body .rd-compact-form .rd-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rdc-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  cursor: pointer;
}
html body .rd-compact-form .rd-consent input[type="checkbox"] {
  appearance: auto !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  accent-color: var(--rdc-red);
}
html body .rd-compact-form .rd-consent-copy,
html body .rd-compact-form .rd-consent-copy a {
  color: var(--rdc-muted) !important;
  -webkit-text-fill-color: var(--rdc-muted) !important;
  font: inherit !important;
}
html body .rd-compact-form .rd-privacy-note,
html body .rd-compact-form .rd-privacy-note small,
html body .rd-compact-form .rd-privacy-note a {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rdc-muted) !important;
  -webkit-text-fill-color: var(--rdc-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}
html body .rd-compact-form .rd-consent a,
html body .rd-compact-form .rd-privacy-note a { text-decoration: underline; text-underline-offset: 2px; }
html body .rd-compact-form .rd-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 2px 0 0 !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--rdc-red) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  cursor: pointer;
}
html body .rd-compact-form .rd-submit:hover { background: var(--rdx-ui-red-hover, #941d26) !important; }
html body .rd-compact-form .rd-submit:disabled { opacity: .65; cursor: wait; }
html body .rd-compact-form .rd-submit:focus-visible { outline: 2px solid var(--rdc-ink); outline-offset: 3px; }
html body .rd-compact-form .rd-field-error { color: var(--rdc-red) !important; font-size: 14px !important; font-weight: 400; line-height: 1.4; }
html body .rd-compact-form .rd-field-hint { color: var(--rdc-muted); font-size: 14px; font-weight: 400; }
html body .rd-compact-form .rd-compact-context,
html body .rd-compact-form [hidden],
html body form.rd-compact-form[hidden] { display: none !important; }
/* Obsolete upload chrome and duplicate template policy notes. */
html body .rd-compact-form .rdx-attachment,
html body .rd-compact-form .rdx-privacy-note:not([data-rd-privacy-note]),
html body .rd-compact-form .rx-modal-policy,
html body .rd-compact-form .dc-optional,
html body .rd-compact-form .rr-upload-hint,
html body .rd-compact-form .rd-upload-hint { display: none !important; }
html body .rd-compact-form .rdx-form-status,
html body .rd-compact-form .rx-modal-msg { margin: 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
html body .rd-compact-heading,
html body #quote-heading {
  margin: 0 42px 8px 0 !important;
  padding: 0 !important;
  color: var(--rdc-ink) !important;
  -webkit-text-fill-color: var(--rdc-ink) !important;
  font-size: 28px !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  letter-spacing: -.025em !important;
}
html body .rd-compact-intro,
html body #quote-heading + p {
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: var(--rdc-muted) !important;
  -webkit-text-fill-color: var(--rdc-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
html body .rd-compact-form .rx-ux-form__heading,
html body .rd-compact-form .rx-ux-form__heading strong {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rdc-ink) !important;
  -webkit-text-fill-color: var(--rdc-ink) !important;
  font-size: 24px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}
html body .rd-compact-form .rx-ux-form__context,
html body .rd-compact-form .rd-form-intro {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rdc-muted) !important;
  -webkit-text-fill-color: var(--rdc-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
/* Both the theme modal and the native home-page dialog use one compact card. */
/* Keep the native modal's chosen document in its existing hidden context. */
html body #rxmax-quote-dialog:has(form.rd-compact-form[data-rd-ready="1"]) > .rxmax-quote-body > details.rd-quote-documents {
  display: none !important;
}
html body #rx-modal .rx-modal:has(form[data-redico-lead]),
html body #rdx-quote-dialog,
html body #rx-enc-lead-dialog:has(form.rx-lead-form) {
  box-sizing: border-box !important;
  width: 540px !important;
  max-width: calc(100vw - 32px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 48px) !important;
  padding: 28px !important;
  border: 1px solid color-mix(in srgb, var(--rdx-ui-ink, #252429) 20%, var(--rdx-ui-surface, #fbfaf6)) !important;
  border-radius: 16px !important;
  background: var(--rdx-ui-surface, #fbfaf6) !important;
  color: var(--rdx-ui-ink, #252429) !important;
  box-shadow: 0 24px 80px #0005 !important;
  overflow: auto !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}
html body #rx-modal .rx-modal:has(form[data-redico-lead]) { display: block !important; }
html body #rx-enc-lead-dialog:has(.rd-compact-form) > .rx-modal-k { display: none !important; }
html body #rx-modal .rx-modal-l { display: none !important; }
html body #rx-modal .rx-modal-r.rd-compact-shell,
html body #rdx-quote-dialog #quote {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body #rx-modal .rd-compact-form,
html body #rdx-quote-dialog .rd-compact-form,
html body #rx-enc-lead-dialog .rd-compact-form {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html body #rx-modal .rx-modal-close,
html body #rdx-quote-dialog .rdx-dialog-close,
html body #rdx-quote-dialog .rdx-quote-close,
html body #rx-enc-lead-dialog .rx-modal-x {
  box-sizing: border-box !important;
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2 !important;
  color: var(--rdx-ui-ink, #252429) !important;
  background: transparent !important;
  border: 1px solid color-mix(in srgb, var(--rdx-ui-ink, #252429) 25%, transparent) !important;
  border-radius: 8px !important;
}
/* Inline enquiry on encyclopedia pages: content determines the height. */
html body .rx-lead-in:has(.rd-compact-form) { align-items: start !important; gap: 24px !important; padding: 28px !important; }
html body .rx-lead-box.rd-compact-shell { padding: 0 !important; height: auto !important; min-height: 0 !important; background: transparent !important; }
html body .rx-lead-in:has(.rd-compact-form) .rx-lead-txt { align-self: start !important; }
html body .rx-lead-in:has(.rd-compact-form) .rx-lead-txt h2 { font-size: 30px !important; line-height: 1.2 !important; }
html body .rx-lead-in:has(.rd-compact-form) .rx-lead-l,
html body .rx-lead-in:has(.rd-compact-form) .rx-lead-ul { font-size: 16px !important; line-height: 1.5 !important; }
html body .rx-lead-in:has(.rd-compact-form) .rx-lead-ul { margin-bottom: 0 !important; }
/* The confirmed response inherits the same theme and generous internal padding. */
html body .rd-compact-shell .rd-compact-success {
  box-sizing: border-box !important;
  display: grid !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 300px !important;
  margin: 0 !important;
  padding: 28px !important;
  border: 1px solid var(--rdc-line) !important;
  border-radius: 12px !important;
  background: var(--rdc-surface) !important;
  color: var(--rdc-ink) !important;
  text-align: left !important;
  box-shadow: none !important;
}
html body .rd-compact-success .rd-success-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #27816b18; color: #27816b; font-size: 28px; line-height: 1; }
html body .rd-compact-success .rd-success-title { margin: 0 !important; font-size: 28px !important; font-weight: 750 !important; line-height: 1.2 !important; }
html body .rd-compact-success .rd-success-copy { margin: 0 !important; color: var(--rdc-muted) !important; font-size: 16px !important; line-height: 1.5 !important; }
html body .rd-compact-complete > .rd-compact-heading,
html body .rd-compact-complete > .rd-compact-intro,
html body #rx-enc-lead-dialog.rd-compact-complete > .rx-modal-k,
html body #rx-enc-lead-dialog.rd-compact-complete > #rx-enc-lead-title,
html body #rx-enc-lead-dialog.rd-compact-complete > .rx-enc-modal-description { display: none !important; }
html body #rx-modal .rd-compact-success,
html body #rdx-quote-dialog .rd-compact-success,
html body #rx-enc-lead-dialog .rd-compact-success { min-height: 460px !important; border: 0 !important; padding: 24px !important; background: transparent !important; }
/* The selected CF7 forms keep their own sender and use the same simple field layout. */
html body form:is(.rd-partner-form,.rd-cf7-simple) > p,
html body :is(.rd-partner-form,.rd-cf7-simple) .rd-partner-actions > p { margin: 0 !important; padding: 0 !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) .rd-compact-grid > p { display: contents !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) .rd-compact-grid br,
html body :is(.rd-partner-form,.rd-cf7-simple) .rd-partner-consent br { display: none !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) .wpcf7-form-control-wrap { display: block !important; width: 100% !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) :is(.rd-partner-consent,.wpcf7-acceptance) .wpcf7-list-item { margin: 0 !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) :is(.rd-partner-consent,.wpcf7-acceptance) label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--rdc-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
html body :is(.rd-partner-form,.rd-cf7-simple) .rd-partner-actions { position: relative; }
html body :is(.rd-partner-form,.rd-cf7-simple) .wpcf7-spinner { position: absolute !important; right: 10px; top: 50%; margin: -12px 0 0 !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) .wpcf7-response-output { margin: 0 !important; padding: 10px !important; font-size: 14px !important; line-height: 1.45 !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) .wpcf7-response-output:empty { display: none !important; }
html body :is(.rd-partner-form,.rd-cf7-simple) .wpcf7-not-valid-tip { color: var(--rdc-red) !important; font-size: 14px !important; line-height: 1.4 !important; }
@media (max-width: 640px) {
  html body :where(form[data-redico-lead],form.rx-lead-form,form#rx-orig-contact,form#quote-form) { --rdc-reserve: 500px; }
  html body form.rx-ux-form { --rdc-reserve: 580px; }
  html body form#quote-form { --rdc-reserve: 540px; }
  html body .rd-compact-form .rd-compact-grid { grid-template-columns: minmax(0, 1fr) !important; }
  html body form.rd-compact-form { padding: 18px !important; }
  html body #rx-modal .rx-modal:has(form[data-redico-lead]),
  html body #rdx-quote-dialog,
  html body #rx-enc-lead-dialog:has(form.rx-lead-form) { width: 100% !important; height: auto !important; padding: 24px 20px !important; max-width: calc(100vw - 24px) !important; max-height: calc(100dvh - 32px) !important; }
  html body #rx-modal .rd-compact-form,
  html body #rdx-quote-dialog .rd-compact-form,
  html body #rx-enc-lead-dialog .rd-compact-form { padding: 0 !important; }
  html body .rd-compact-heading { font-size: 25px !important; margin-right: 32px !important; }
  html body .rx-lead-in:has(.rd-compact-form) { padding: 20px !important; gap: 20px !important; }
  html body .rx-lead-in:has(.rd-compact-form) .rx-lead-txt h2 { font-size: 26px !important; }
  html body #rx-modal .rd-compact-success,
  html body #rdx-quote-dialog .rd-compact-success,
  html body #rx-enc-lead-dialog .rd-compact-success { min-height: 300px !important; padding: 20px 0 !important; }
}
/* Narrow phones need the same space before and after the consent text wraps. */
@media (max-width: 360px) {
  html body :where(form[data-redico-lead],form.rx-lead-form,form#rx-orig-contact,form#quote-form) { --rdc-reserve: 560px; }
  html body form.rx-ux-form { --rdc-reserve: 640px; }
  html body form#quote-form { --rdc-reserve: 580px; }
}
@media (max-height: 680px) and (min-width: 641px) {
  html body #rx-modal .rx-modal:has(form[data-redico-lead]),
  html body #rdx-quote-dialog,
  html body #rx-enc-lead-dialog:has(form.rx-lead-form) { height: auto !important; }
}

}

/* Keep the home popup as compact as the shared form. HOME uses a dark card
   in both themes, including controls; these rules share its priority layer. */
@layer redicoCompact.redicoHomeSEO20261117 {
  html body.home #rdx-quote-dialog :is(.rdx-eyebrow,.home-seo-form-hint,.rdx-trust-note,#home-mobile-tools) {
    display: none !important;
  }
  html body.home #rdx-quote-dialog .rdx-quote-heading {
    padding-right: 0 !important;
  }
  html body.home #rdx-quote-dialog #quote.rd-compact-complete > .rdx-quote-heading {
    display: none !important;
  }
  html body.home #rdx-quote-dialog .rd-compact-intro {
    margin: 0 0 12px !important;
  }
  html body.home #rdx-quote-dialog .rdx-quote-close {
    width: 44px !important;
    height: 44px !important;
    color: #f5f3ef !important;
    -webkit-text-fill-color: #f5f3ef !important;
    background: #252c37 !important;
    border: 1px solid #6a7685 !important;
  }
  html body.home #rdx-quote-dialog .rdx-quote-close:is(:hover,:focus-visible) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: #354050 !important;
  }
  html body.home #rdx-quote-dialog .rdx-quote-close:focus-visible {
    outline: 2px solid #ffbdb3 !important;
    outline-offset: 2px !important;
  }
  html body.home #rdx-quote-dialog .rdx-quote-close svg {
    fill: none !important;
    stroke: currentColor !important;
  }
}

.rdtz-nav,.rdtz-roles,.rdtz-card,.rdtz-express,.rdtz-detail,.rdtz-consent-links,.rdtz-express-dialog {
    --rdtz-bg:var(--rx-surface,#fff);
    --rdtz-fg:var(--rx-text,#22252a);
    --rdtz-line:var(--rx-line,#d9dde4);
    --rdtz-accent:#a82a2b;
    box-sizing:border-box;
}
.rdtz-nav {
    position:sticky;top:var(--rdtz-top,0px);z-index:75;
    max-width:100%;min-width:0;margin:12px 0 18px;padding:6px;
    color:var(--rdtz-fg);background:var(--rdtz-bg);border:1px solid var(--rdtz-line);border-radius:14px;
}
.rdtz-nav-items {
    display:flex;gap:6px;align-items:center;overflow-x:auto;overscroll-behavior-inline:contain;
    scrollbar-width:thin;white-space:nowrap;
}
#rsc>.rdtz-nav {width:min(1220px,calc(100% - 26px));margin-inline:auto}
.rdtz-nav a,.rdtz-consent-links a {
    display:inline-flex;align-items:center;min-height:36px;padding:4px 10px;
    border:1px solid transparent;border-radius:9px;color:inherit;text-decoration:none;font-size:.89rem;line-height:1.2;
}
.rdtz-nav a[aria-current],.rdtz-nav a:hover,.rdtz-consent-links a:hover {color:var(--rdtz-accent);border-color:currentColor}
.rdtz-nav a:focus-visible,.rdtz-role-grid a:focus-visible,.rdtz-detail summary:focus-visible,.rdtz-express-dialog button:focus-visible {
    outline:2px solid #b5282c;outline-offset:2px;
}
.rdtz-nav-target,.rdtz-detail [id],:is(#kabeli-do-1000v,#vvoz-obrazcov,#obrazec-sertifikata) {scroll-margin-top:var(--rdtz-anchor-gap,105px)}
.rdtz-roles,.rdtz-card,.rdtz-express {
    color:var(--rdtz-fg);background:var(--rdtz-bg);border:1px solid var(--rdtz-line);
    padding:clamp(14px,3vw,24px);border-radius:18px;margin:18px 0;
}
.rdtz-roles h2,.rdtz-card h2,.rdtz-express h2 {margin:0 0 12px;font-size:clamp(1.2rem,2.7vw,1.65rem);line-height:1.18;color:inherit}
.rdtz-role-grid,.rdtz-responsibilities {
    display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:10px;
}
.rdtz-role-grid a,.rdtz-responsibilities article {
    min-width:0;border:1px solid var(--rdtz-line);border-radius:12px;padding:12px;
    color:inherit;text-decoration:none;font-weight:650;overflow-wrap:anywhere;
}
.rdtz-role-grid a:hover,.rdtz-role-grid .rdtz-role-active {border-color:#b5282c;color:var(--rdtz-accent);box-shadow:inset 0 0 0 1px #b5282c}
.rdtz-express p {margin:0 0 10px}
.rdtz-express .rdx-button {display:inline-flex;min-height:44px;align-items:center}
.rdtz-express-dialog {
    position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 26px);overflow:auto;
    padding:20px;color:#24262c;background:#fff;border:1px solid #ccd0d7;border-radius:18px;z-index:99999;
}
.rdtz-express-dialog::backdrop {background:#181a22a8}
.rdtz-express-dialog > button {float:right;min-width:40px;min-height:40px;color:#24262c;background:white;border:1px solid #d1d5db;border-radius:8px}
.rdtz-express-dialog .rdx-field {display:block;margin-bottom:10px;color:#24262c}
.rdtz-express-dialog input,.rdtz-express-dialog textarea {max-width:100%;box-sizing:border-box}
.rdtz-express-dialog textarea,.rdtz-express-dialog input:not([type=checkbox]):not([type=hidden]):not([type=file]) {width:100%}
.rdtz-detail {border:1px solid var(--rdtz-line);border-radius:14px;background:var(--rdtz-bg);color:var(--rdtz-fg);padding:12px 16px}
.rdtz-detail > summary {padding:7px 2px;cursor:pointer;font-weight:750;line-height:1.35}
.rdtz-detail[open] > summary {margin-bottom:10px}
.rdtz-card dl {margin:0 0 12px}
.rdtz-card dl > div {display:grid;grid-template-columns:minmax(80px,115px) 1fr;gap:8px;align-items:baseline;padding:6px 0}
.rdtz-card dt {font-weight:750}.rdtz-card dd {margin:0;min-width:0}
.rdtz-consent-links:not([hidden]) {
    display:flex;gap:6px;flex-wrap:wrap;justify-content:center;align-items:center;
    color:var(--rdtz-fg);background:var(--rdtz-bg);padding:6px 14px;margin:12px auto;border:1px solid var(--rdtz-line);
    border-radius:12px;width:max-content;max-width:calc(100% - 28px);
}
html.rdtz-chat-refused :is(#rdhp-chat-launcher,#rdhp-chat-status,[data-salesagent-widget-frame]) {display:none!important}
.rdtz-tooltip {position:relative;display:inline}
.rdtz-tooltip button {font:inherit;display:inline;padding:0;border:none;background:none;color:inherit;cursor:help;text-decoration:underline dotted;text-underline-offset:3px}
.rdtz-tooltip [role=tooltip] {
    display:none;position:absolute;z-index:20;inset:auto auto calc(100% + 6px) 0;width:min(245px,70vw);
    padding:8px 10px;border:1px solid #d8dbe2;border-radius:8px;background:#fff;color:#23262d;font-size:.85rem;box-shadow:0 4px 18px #20252b25;
}
.rdtz-tooltip:not([data-dismissed]):is(:hover,:focus-within) [role=tooltip],.rdtz-tooltip[data-open] [role=tooltip] {display:block}
.rdtz-search-tabs:not([hidden]) {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.rdtz-search-tabs button {
    padding:9px 14px;min-height:44px;border-radius:10px;border:1px solid #d1d6df;
    background:var(--rx-surface,#fff);color:var(--rx-text,#24262c);font:inherit;cursor:pointer
}
.rdtz-search-tabs button[aria-selected=true] {border-color:#a82a2b;color:#a82a2b;font-weight:750}
@layer redicoCompact {
    body.rd-approved-home #rd-approved-main .hero-main:has(> .rdtz-roles) {
        grid-template-areas:"story" "credentials" "roles" "routes" !important;
    }
    body.rd-approved-home #rd-approved-main .hero-main > .rdtz-roles {grid-area:roles;min-width:0;margin-block:6px 0}
    .rdtz-search-widget :is([role=tabpanel][hidden],.rdx-service[hidden]),
    .rdtz-search-widget:has(#redico-product-guide) #rdtz-products-fallback {display:none!important}
}
#rdtz-products-panel :is(#redico-product-guide,.rdx-jump-anchor) {scroll-margin-top:var(--rdtz-anchor-gap,105px)}
.rdtz-factory-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rdtz-factory-grid section {border:1px solid var(--rdtz-line);border-radius:12px;padding:14px}
.rdtz-factory-grid li {padding-block:5px}
.ree-empty[hidden], [data-ree-error-registry][hidden] {display:none!important}
.ree-empty :is(a,button) {margin:6px 4px 0 0}
@media(max-width:520px) {
    .rdtz-nav {border-radius:10px;margin:8px 0 13px;padding:4px}
    .rdtz-nav a {padding-inline:8px}
    .rdtz-factory-grid {grid-template-columns:1fr}
}

@font-face {
  font-family:"REDICO Bento Inter";src:url("https://redico.ru/wp-content/plugins/redico-approved-design/assets/inter-cyrillic-variable.woff2") format("woff2");
  font-weight:100 900;font-style:normal;font-display:optional;
  unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family:"REDICO Bento Inter";src:url("https://redico.ru/wp-content/plugins/redico-approved-design/assets/inter-latin-variable.woff2") format("woff2");
  font-weight:100 900;font-style:normal;font-display:optional;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,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;
}
/* Metric-adjusted local fallbacks, also available on the compact home bundle. */
@font-face {
  font-family:"REDICO Inter Arial";src:local("Arial"),local("ArialMT");
  font-style:normal;font-weight:400 500;size-adjust:105.27307%;
  ascent-override:92.02258%;descent-override:22.91288%;line-gap-override:0%;
}
@font-face {
  font-family:"REDICO Inter Arial";src:local("Arial Bold"),local("Arial-BoldMT");
  font-style:normal;font-weight:600 900;size-adjust:105.27307%;
  ascent-override:92.02258%;descent-override:22.91288%;line-gap-override:0%;
}
@font-face {
  font-family:"REDICO Inter Roboto";src:local("Roboto"),local("Roboto Regular"),local("Roboto-Regular");
  font-style:normal;font-weight:400 500;size-adjust:103.32717%;
  ascent-override:93.75559%;descent-override:23.34439%;line-gap-override:0%;
}
@font-face {
  font-family:"REDICO Inter Roboto";src:local("Roboto Bold"),local("Roboto-Bold");
  font-style:normal;font-weight:600 900;size-adjust:103.32717%;
  ascent-override:93.75559%;descent-override:23.34439%;line-gap-override:0%;
}
:root {
  --rdx-ui-font:"REDICO Bento Inter","REDICO Inter Arial","REDICO Inter Roboto",Arial,sans-serif;
  --rdx-ui-bg:#121316;
  --rdx-ui-surface:#1c1e23;
  --rdx-ui-soft:#25272c;
  --rdx-ui-line:#303238;
  --rdx-ui-ink:#f6f4ef;
  --rdx-ui-muted:#b7b7bc;
  --rdx-ui-subtle:#a6a7ad;
  --rdx-ui-accent:#f8777a;
  --rdx-ui-tint:#39252b;
  --rdx-ui-red:#ae222d;
  --rdx-ui-red-hover:#941d26;
  --rdx-ui-on-red:#fff;
  --rdx-ui-paper:#f6f4ef;
  --rdx-ui-paper-ink:#222126;
  --rdx-ui-paper-muted:#59565d;
  --rdx-ui-paper-line:#d5d0c9;
  --rdx-ui-radius:22px;
}
:root:is([data-theme="light"],[data-rx-theme="light"]) {
  --rdx-ui-bg:#eeece7;
  --rdx-ui-surface:#fbfaf6;
  --rdx-ui-soft:#f4f1eb;
  --rdx-ui-line:#d9d5cf;
  --rdx-ui-ink:#252429;
  --rdx-ui-muted:#57535a;
  --rdx-ui-subtle:#625c64;
  --rdx-ui-accent:#9d2831;
  --rdx-ui-tint:#f7e7e7;
  --rdx-ui-paper:#fbfaf6;
  --rdx-ui-paper-line:#d9d4cd;
}

/* The shared quote dialog uses a portrait crop of the laboratory photo. */
body #rx-modal .rd-modal-telegram::before {
  background-image: url("https://redico.ru/wp-content/plugins/redico-home-bento/assets/quote-lab-testing.webp") !important;
  background-position: center !important;
}

/* Solid actions share a foreground in every state, including text nested in links.
   Use the site's readability layer so the older prose-link rules cannot recolor them. */
@layer redicoReadability {
  :is(#rdx-layout, main, header, footer, .rx-modal)
  :is(.rdx-primary, .rso-service-action, .rso-service .rso-cta, .rdd-button) {
    background-color: var(--rdx-ui-red) !important;
    color: var(--rdx-ui-on-red) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  :is(#rdx-layout, main, header, footer, .rx-modal)
  :is(.rdx-primary, .rso-service-action, .rso-service .rso-cta, .rdd-button)
  :is(span, strong, b, small, em) {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
  }

  :is(#rdx-layout, main, header, footer, .rx-modal)
  :is(.rdx-primary, .rso-service-action, .rso-service .rso-cta, .rdd-button):is(:hover, :active) {
    background-color: var(--rdx-ui-red-hover) !important;
  }

  :is(#rdx-layout, main, header, footer, .rx-modal)
  :is(.rdx-primary, .rso-service-action, .rso-service .rso-cta, .rdd-button):focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px #261c21 !important;
  }
}

/* Use the homepage palette in the shared theme and in its component variables. */
@layer redicoBento {
html[data-theme],
html[data-rx-bento][data-rx-reference="1"],
html[data-rx-bento][data-rx-reference="1"][data-rx-theme] {
  --rb-bg:var(--rdx-ui-bg)!important;
  --rb-surface:var(--rdx-ui-surface)!important;
  --rb-soft:var(--rdx-ui-soft)!important;
  --rb-ink:var(--rdx-ui-ink)!important;
  --rb-muted:var(--rdx-ui-muted)!important;
  --rb-line:var(--rdx-ui-line)!important;
  --rb-accent:var(--rdx-ui-red)!important;
  --rb-accent-text:var(--rdx-ui-accent)!important;
  --rb-accent-soft:var(--rdx-ui-tint)!important;
  --rb-font:var(--rdx-ui-font)!important;
  --rb-heading:var(--rdx-ui-font)!important;
  --rb-radius:var(--rdx-ui-radius)!important;
}
html[data-rx-bento][data-rx-reference="1"] body:not(.rdx-live) {
  --bg:var(--rdx-ui-bg);
  --ink:var(--rdx-ui-ink);
  --ink2:var(--rdx-ui-muted);
  --ink3:var(--rdx-ui-muted);
  --muted:var(--rdx-ui-muted);
  --muted2:var(--rdx-ui-subtle);
  --line:var(--rdx-ui-line);
  --line2:var(--rdx-ui-line);
  --soft:var(--rdx-ui-surface);
  --soft2:var(--rdx-ui-soft);
  --red:var(--rdx-ui-red);
  --red-d:var(--rdx-ui-red-hover);
  --dark:var(--rdx-ui-bg);
  --ff:var(--rdx-ui-font);
  background:var(--rdx-ui-bg)!important;
  color:var(--rdx-ui-ink);
  font-family:var(--rdx-ui-font)!important;
}
html[data-rx-bento][data-rx-reference="1"] body:not(.rdx-live) :is(main,.rx-enc-article,.rx-modal) :is(h1,h2,h3,h4,p,li,dt,dd,summary,label,input,select,textarea,button,th,td) {
  font-family:var(--rdx-ui-font)!important;
}
html[data-rx-bento][data-rx-reference="1"] body:not(.rdx-live) :is(main,.rx-enc-article) h1 {
  font-weight:745!important;
  letter-spacing:-.055em!important;
}
html[data-rx-bento][data-rx-reference="1"] body:not(.rdx-live) :is(main,.rx-enc-article) h2 {
  font-weight:720!important;
  letter-spacing:-.045em!important;
}
html[data-rx-bento][data-rx-reference="1"] body:not(.rdx-live) :is(main,.rx-enc-article) h3 {
  font-weight:690!important;
  letter-spacing:-.035em!important;
}
html[data-rx-bento][data-rx-reference="1"] body:not(.rdx-live) :is(main,.rx-enc-article,header,footer,.rx-modal) :focus-visible {
  outline:2px solid var(--rdx-ui-accent);
  outline-offset:3px;
}
html[data-rx-bento][data-rx-reference="1"] body:not(.rdx-live) :is(main,.rx-enc-article) ::selection {
  color:var(--rdx-ui-on-red);
  background:var(--rdx-ui-red);
}
}
html[data-rx-theme] body.redico-page-deklaraciya {
  --dc-paper:var(--rdx-ui-surface);
  --dc-tile:var(--rdx-ui-soft);
  --dc-tint:var(--rdx-ui-tint);
  --dc-ink:var(--rdx-ui-ink);
  --dc-copy:var(--rdx-ui-muted);
  --dc-accent:var(--rdx-ui-accent);
  --dc-line:var(--rdx-ui-line);
}
html[data-rx-theme] body #rsc {
  --rsc-bg:var(--rdx-ui-bg);
  --rsc-card:var(--rdx-ui-surface);
  --rsc-ink:var(--rdx-ui-ink);
  --rsc-muted:var(--rdx-ui-muted);
  --rsc-line:var(--rdx-ui-line);
  --rsc-red:var(--rdx-ui-accent);
  --rsc-tint:var(--rdx-ui-tint);
}
html[data-rx-theme] body #rx-sampling-hub {
  --sh-card:var(--rdx-ui-surface);
  --sh-soft:var(--rdx-ui-soft);
  --sh-ink:var(--rdx-ui-ink);
  --sh-muted:var(--rdx-ui-muted);
  --sh-line:var(--rdx-ui-line);
  --sh-red:var(--rdx-ui-accent);
  --sh-tint:var(--rdx-ui-tint);
  --sh-selected:var(--rdx-ui-tint);
}
html[data-rx-theme] body #rnt-service {
  --rnt-hero:#1c1e23;
  --rnt-hero-text:#f6f4ef;
  --rnt-hero-muted:#b7b7bc;
  --rnt-hero-link:#f8777a;
  --rnt-surface:var(--rdx-ui-surface);
  --rnt-soft:var(--rdx-ui-soft);
  --rnt-ink:var(--rdx-ui-ink);
  --rnt-muted:var(--rdx-ui-muted);
  --rnt-line:var(--rdx-ui-line);
  --rnt-link:var(--rdx-ui-accent);
  --rnt-action:var(--rdx-ui-red);
}
html[data-rx-theme] body #rc-catalog {
  --rc-bg:var(--rdx-ui-bg);
  --rc-surface:var(--rdx-ui-surface);
  --rc-soft:var(--rdx-ui-soft);
  --rc-ink:var(--rdx-ui-ink);
  --rc-muted:var(--rdx-ui-muted);
  --rc-border:var(--rdx-ui-line);
  --rc-accent:var(--rdx-ui-red);
  --rc-on-accent:var(--rdx-ui-on-red);
  --rc-on-hover:var(--rdx-ui-red-hover);
  --rc-red:var(--rdx-ui-accent);
  --rc-focus:var(--rdx-ui-accent);
}
html[data-rx-theme] body :is(.rd-form-shell,form.rd-contact-card,.rd-form-success) {
  --rd-paper:var(--rdx-ui-paper);
  --rd-field:#fdfcf9;
  --rd-ink:var(--rdx-ui-paper-ink);
  --rd-muted:var(--rdx-ui-paper-muted);
  --rd-line:var(--rdx-ui-paper-line);
  --rd-accent:var(--rdx-ui-red);
  --rd-accent-hover:var(--rdx-ui-red-hover);
  --rd-soft:var(--rdx-ui-paper);
  --rd-focus:var(--rdx-ui-red);
}
html[data-rx-theme="dark"] body :is(.rd-form-shell,form.rd-contact-card,.rd-form-success) {
  --rd-paper:var(--rdx-ui-surface);
  --rd-field:var(--rdx-ui-soft);
  --rd-ink:var(--rdx-ui-ink);
  --rd-muted:var(--rdx-ui-muted);
  --rd-line:#595b64;
  --rd-soft:var(--rdx-ui-soft);
  --rd-focus:var(--rdx-ui-accent);
}
html[data-rx-theme] body .rdd-record {
  --record-panel:var(--rdx-ui-surface);
  --record-soft:var(--rdx-ui-soft);
  --record-border:var(--rdx-ui-line);
  --record-ink:var(--rdx-ui-ink);
  --record-muted:var(--rdx-ui-muted);
  --record-link:var(--rdx-ui-accent);
  --record-accent:var(--rdx-ui-red);
}
html[data-rx-theme] body.redico-page-proverka-sertifikata {
  --ree-page-hero:#121316;
  --ree-page-hero-tile:#1c1e23;
  --ree-page-hero-line:#303238;
  --ree-page-hero-ink:#f6f4ef;
  --ree-page-hero-muted:#b7b7bc;
  --ree-page-surface:var(--rdx-ui-surface);
  --ree-page-soft:var(--rdx-ui-soft);
  --ree-page-ink:var(--rdx-ui-ink);
  --ree-page-muted:var(--rdx-ui-muted);
  --ree-page-line:var(--rdx-ui-line);
}
html[data-rx-theme] body .redico-eaeu {
  --ree-surface:var(--rdx-ui-surface);
  --ree-soft:var(--rdx-ui-soft);
  --ree-ink:var(--rdx-ui-ink);
  --ree-muted:var(--rdx-ui-muted);
  --ree-line:var(--rdx-ui-line);
  --ree-link:var(--rdx-ui-accent);
  --ree-focus:var(--rdx-ui-accent);
  --ree-button-bg:var(--rdx-ui-red);
  --ree-button-hover:var(--rdx-ui-red-hover);
}
html[data-rx-theme] body :is(#rc-catalog,.rc-theme-band) {
  --rc-tally:#1c1e23;
  --rc-tally-ink:#f6f4ef;
  --rc-tally-muted:#b7b7bc;
  --rc-tally-line:#303238;
  --rc-link-on-light:#9d2831;
  --rc-link-on-dark:#f8777a;
}
html[data-rx-theme] body #rx-okpd {
  --r:var(--rdx-ui-accent);
  --rd:var(--rdx-ui-red-hover);
  --ink:var(--rdx-ui-ink);
  --mut:var(--rdx-ui-muted);
  --ln:var(--rdx-ui-line);
  --bg:var(--rdx-ui-surface);
  font-family:var(--rdx-ui-font);
}
html[data-rx-theme] body #rx-okpd :is(.sbox,.sres,.chip,.flt) {
  background-color:var(--rdx-ui-surface);
  border-color:var(--rdx-ui-line);
}
html[data-rx-theme] body #rx-okpd :is(.chip,.sclr,.skey) {color:var(--rdx-ui-muted)}
html[data-rx-theme] body #rx-okpd .chip.on {
  background-color:var(--rdx-ui-tint);
  border-color:var(--rdx-ui-accent);
  color:var(--rdx-ui-accent);
}
html body.redico-pc-active main > .rc-theme-band {background:var(--rc-tally)}
html body #rnt-service .rnt-hero-band {background:var(--rnt-hero)}

/* Enqueued only on internal pages. Keep the original forms and their handlers. */
.rdx-hero.rdx-role-hero { align-items: start; }
.rdx-role-hero .rdx-intro-copy { padding-block-start: clamp(14px, 1.8vw, 21px); }

#rdx-layout .rdx-quote-compact {
  align-self: start;
  padding: clamp(14px, 1.8vw, 21px);
}
#rdx-layout .rdx-quote-compact h2 {
  font-size: clamp(21px, 1.9vw, 27px);
  margin: 0 0 5px;
  line-height: 1.15;
}
#rdx-layout .rdx-quote-compact #quote-form { margin-top: 9px; }
#rdx-layout .rdx-quote-compact .rdx-field-grid { gap: 6px 9px; }
#rdx-layout .rdx-quote-compact .rdx-field :is(input, select) {
  height: 40px;
  margin-top: 3px;
}
#rdx-layout .rdx-quote-compact .rdx-field textarea { min-height: 50px; }
#rdx-layout .rdx-quote-compact .rdx-attachment { min-height: 40px; align-self: end; margin: 0; }
#rdx-layout .rdx-quote-compact .rdx-consent { min-height: 24px; margin-top: 7px; }
#rdx-layout .rdx-quote-compact .rdx-form-status:empty { margin: 0; }
#rdx-layout .rdx-quote-compact .rdx-submit { min-height: 42px; }

@media (max-width: 760px) {
  #rdx-layout .rdx-quote-compact .rdx-field :is(input, select, textarea) { font-size: 16px; }
  #rdx-layout .rdx-quote-compact .rdx-attachment {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    column-gap: 5px;
    row-gap: 1px;
  }
  #rdx-layout .rdx-quote-compact .rdx-attachment small { grid-column: 2; margin: 0; }
}

/* Keep legacy hero cards at the top of the existing grid, using the same compact fields. */
@layer redicoReadability {
  html body :is(.rx-ux-hero, .rnt-hero-grid, .rsc-form-card, .rr-hero-grid) :is(.rx-ux-form-slot, .rx-ux-form-wrap, .rx-lead-card) {
    align-self: start !important;
    min-width: 0 !important;
    margin-block-start: 0 !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card).rd-form-shell {
    --rdx-legacy-form-ink: var(--rdx-ui-paper-ink);
    --rdx-legacy-form-muted: var(--rdx-ui-paper-muted);
    --rx-readable-field-bg: #fffdfa;
    --rx-readable-field-text: var(--rdx-legacy-form-ink);
    --rx-readable-placeholder: var(--rdx-legacy-form-muted);
    --rx-readable-border: #8b858b;
    --rx-readable-accent: var(--rdx-ui-red);
    --redico-text-link: var(--rdx-ui-red);
    --redico-text-link-hover: var(--rdx-ui-red-hover);
    height: auto !important;
    min-height: 0 !important;
    padding: clamp(12px, 1.35vw, 17px) !important;
    background: var(--rdx-ui-paper) !important;
    border-color: var(--rdx-ui-paper-line) !important;
    border-radius: 18px !important;
    color-scheme: light !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card:not([hidden]) {
    gap: 6px !important;
    min-height: 0 !important;
    color-scheme: light !important;
    color: var(--rdx-legacy-form-ink) !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 9px !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid .rd-field {
    grid-column: auto !important;
    gap: 3px !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid .rd-field--full {
    grid-column: 1 / -1 !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-field__label {
    color: var(--rdx-legacy-form-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-field :is(input:not([type="file"]), select, textarea).rd-control {
    height: 40px !important;
    min-height: 40px !important;
    padding: 6px 8px !important;
    background: #fffdfa !important;
    color: var(--rdx-legacy-form-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    border-color: var(--rdx-ui-paper-line) !important;
    border-radius: 8px !important;
    font-size: 16px !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid .rd-field textarea.rd-control {
    height: 52px !important;
    min-height: 52px !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-control::placeholder {
    color: var(--rdx-legacy-form-muted) !important;
    -webkit-text-fill-color: currentColor !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card :is(.rx-ux-form__heading, .rx-ux-form__heading strong, .rx-lead-title) {
    margin: 0 !important;
    color: var(--rdx-legacy-form-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: clamp(19px, 1.8vw, 24px) !important;
    line-height: 1.16 !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card :is(.rx-ux-form__context, .rd-form-intro, .rd-consent, .rd-consent-copy, .rd-consent-copy a, .rd-upload-hint, .rd-file-picker__name, .rx-audit-note) {
    color: var(--rdx-legacy-form-muted) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-file-picker {
    min-height: 36px !important;
    padding: 3px 5px !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-submit {
    min-height: 42px !important;
    padding: 8px 12px !important;
    background: var(--rdx-ui-red) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-submit:hover {
    background: var(--rdx-ui-red-hover) !important;
  }
}


@layer redicoReadability {
  html body:not(.redico-page-dokumenty) .rx-ux-form-wrap form.rd-contact-card .rx-ux-form__context,
  html body .rx-ux-form-wrap form.rd-contact-card .rx-audit-note {
    display: none !important;
  }

  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid .rd-file-field {
    display: grid !important;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    align-items: center;
    gap: 3px 8px !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) .rd-file-field .rd-file-picker {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-file-field .rd-upload-hint {
    margin: 0 !important;
    font-size: 11px !important;
  }
  html body :is(.rx-ux-form-wrap, .rx-lead-card) .rd-file-field .rd-file-picker__button {
    min-height: 28px;
    padding: 3px 8px;
    background: #efe9e5 !important;
    color: var(--rdx-legacy-form-ink) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  @container (min-width: 340px) {
    html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card:not([hidden]) {
      grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) !important;
      align-items: center;
    }
    html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card .rd-form-grid .rd-field--full:has(> :is(select, textarea)) {
      grid-column: auto !important;
    }
    html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card > :not(.rd-consent, .rd-submit) {
      grid-column: 1 / -1;
    }
    html body :is(.rx-ux-form-wrap, .rx-lead-card) form.rd-contact-card > :is(.rd-consent, .rd-submit) {
      grid-column: auto !important;
    }
  }
}


@layer redicoReadability {
  html body .rd-form-shell:is(.rx-ux-form-wrap, .rx-lead-card) .rd-file-field {
    color: var(--rdx-legacy-form-ink) !important;
  }
  html body .rd-form-shell:is(.rx-ux-form-wrap, .rx-lead-card) .rd-file-field small.rd-upload-hint {
    -webkit-text-fill-color: var(--rdx-legacy-form-muted) !important;
  }
  html body :is(#rsc-quote, #rnt-service, main, .rx-enc-hero) .rd-form-shell:is(.rx-ux-form-wrap, .rx-lead-card) .rx-audit-preparation > summary {
    color: var(--rdx-legacy-form-ink) !important;
    -webkit-text-fill-color: currentColor !important;
  }
  html body :is(#rsc-quote, #rnt-service, main, .rx-enc-hero) .rd-form-shell:is(.rx-ux-form-wrap, .rx-lead-card) .rx-audit-preparation :is(p, li) {
    color: var(--rdx-legacy-form-muted) !important;
    -webkit-text-fill-color: currentColor !important;
  }
  html[data-rx-bento] body:not(.home) :is(#rsc-quote, #rnt-service, main, .rx-enc-hero) .rd-form-shell:is(.rx-ux-form-wrap, .rx-lead-card) a[href]:is(.rx-ux-prepare-link, .rd-consent-copy a) {
    color: var(--rdx-ui-red) !important;
    -webkit-text-fill-color: currentColor !important;
  }
}

/* Keep the site's existing 1280px content rail. A section inside that rail
   uses the full parent width rather than subtracting a second page gutter. */
body {
  --rdx-inner-gutter: var(--redico-grid-gutter, 24px);
  --rdx-inner-rail: min(var(--redico-grid-width, 1280px), calc(100% - 2 * var(--rdx-inner-gutter)));
}
@media (max-width: 768px) {
  body { --rdx-inner-gutter: var(--redico-grid-gutter, 16px); }
}

@layer redicoReadability {
  body:not(.home) :is(
    #rsc > .rsc-wrap,
    #rdx-layout > #content.rdx-wrap,
    main > .rso-enhancement,
    main.rx-service > :is(.sv-nav, .rxgr-nav, .rxpi-nav)
  ) {
    box-sizing: border-box !important;
    width: var(--rdx-inner-rail) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  body:not(.home) :is(#rsc > .rsc-wrap, #rdx-layout > #content.rdx-wrap) {
    padding-inline: 0 !important;
  }

  body:not(.home) :is(#rsc > .rsc-wrap, #rdx-layout > #content.rdx-wrap, main.rx-wrap) > .rso-enhancement {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  body:not(.home) main :is(.rso-enhancement[data-redico-service-seo], #rso-service-sources.rso-enhancement) {
    box-sizing: border-box !important;
    padding: clamp(18px, 2.3vw, 32px) !important;
  }

  /* Use the same neutral surfaces as the homepage for the header and menus. */
  html[data-rx-bento] body:not(.home) :is(header.rx-header:is(#rnt-header, .rx-header), dialog.rpm-dialog) {
    background: var(--rdx-ui-surface) !important;
    border-color: var(--rdx-ui-line) !important;
    color: var(--rdx-ui-ink) !important;
  }
  html[data-rx-bento] body:not(.home) header.rx-header:is(#rnt-header, .rx-header) .rx-logo {
    background: transparent !important;
    box-shadow: none !important;
  }
  html[data-rx-bento][data-rx-theme="dark"] body:not(.home) :is(.rnt-hero-band, .rc-theme-band) {
    background: var(--rdx-ui-surface) !important;
  }
  html[data-rx-bento][data-rx-theme="dark"] body:not(.home) header.rx-header:is(#rnt-header, .rx-header) .rx-logo img {
    filter: brightness(0) invert(1) !important;
  }

  body.redico-page-notifikaciya #rnt-service .rnt-grid > :is(#sv-answer, #sv-prepare) {
    grid-column: 1 / -1 !important;
  }

  body.redico-page-notifikaciya #rnt-header {
    --rnt-hero-text: var(--rdx-ui-ink);
  }
}

/* REDICO shared forms: keep text, controls and feedback paired with their surface.
 * Reuse the first existing compact sublayer: layered !important rules otherwise
 * outrank a late unlayered repair. No submission, consent or visibility changes.
 */
@layer redicoCompact.rdTypeface {
  /* Resolve these aliases on body before legacy form-local --rd-ink overrides. */
  html body.rd-approved-design {
    --rdf-surface: var(--rd-card, #fff);
    --rdf-field: var(--rd-card, #fff);
    --rdf-ink: var(--rd-ink, #24262b);
    --rdf-muted: var(--rd-muted, #50535a);
    --rdf-border: var(--redico-smoke-grey, #8a8d93);
    --rdf-link: var(--rd-deep, #a40d26);
    --rdf-focus: var(--rd-deep, #a40d26);
    --rdf-disabled: var(--rd-subtle, #ebebed);
    --rdf-error: #a0182b;
    --rdf-error-bg: #fff0f2;
    --rdf-success: #14643f;
    --rdf-success-bg: #ecf7f0;
    --rdf-scheme: light;
  }
  html:is([data-theme="dark"], [data-rx-theme="dark"]) body.rd-approved-design {
    --rdf-error: #ffb4bd;
    --rdf-error-bg: #49242d;
    --rdf-success: #a1e1b9;
    --rdf-success-bg: #1b3e2e;
    --rdf-scheme: dark;
  }
  /* These two established containers deliberately keep their own surface. */
  html body.rd-approved-design #rxh .rx-lead-card {
    --rdf-surface: #181e27;
    --rdf-field: #10151d;
    --rdf-ink: #edf0f5;
    --rdf-muted: #c7ced8;
    --rdf-border: #8090a5;
    --rdf-link: #ffc1b8;
    --rdf-focus: #ffb3a6;
    --rdf-disabled: #303844;
    --rdf-error: #ffb4bd;
    --rdf-error-bg: #49242d;
    --rdf-success: #a1e1b9;
    --rdf-success-bg: #1b3e2e;
    --rdf-scheme: dark;
  }
  html body.rd-approved-design .rtr-form-panel {
    --rdf-surface: #fff;
    --rdf-field: #fff;
    --rdf-ink: #24262b;
    --rdf-muted: #50535a;
    --rdf-border: #8a8d93;
    --rdf-link: #a40d26;
    --rdf-focus: #a40d26;
    --rdf-disabled: #ebebed;
    --rdf-error: #a0182b;
    --rdf-error-bg: #fff0f2;
    --rdf-success: #14643f;
    --rdf-success-bg: #ecf7f0;
    --rdf-scheme: light;
  }

  html body.rd-approved-design :is(.rd-compact-shell, form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) {
    --rd-card: var(--rdf-surface) !important;
    --rd-ink: var(--rdf-ink) !important;
    --rd-muted: var(--rdf-muted) !important;
    --rdc-surface: var(--rdf-surface) !important;
    --rdc-ink: var(--rdf-ink) !important;
    --rdc-muted: var(--rdf-muted) !important;
    --rdc-line: var(--rdf-border) !important;
    --rx-readable-field-bg: var(--rdf-field) !important;
    --rx-readable-field-text: var(--rdf-ink) !important;
    --rx-readable-placeholder: var(--rdf-muted) !important;
    --rx-readable-muted: var(--rdf-muted) !important;
    --rx-readable-border: var(--rdf-border) !important;
    --rx-readable-accent: var(--rdf-focus) !important;
    color: var(--rdf-ink) !important;
    background-color: var(--rdf-surface) !important;
    color-scheme: var(--rdf-scheme);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(label, legend, .rd-field, .rd-field__label, .rd-compact-heading) {
    color: var(--rdf-ink) !important;
    -webkit-text-fill-color: var(--rdf-ink) !important;
  }
  html body.rd-approved-design :is(.rd-compact-shell, form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(.rd-consent, .rd-consent-copy, .rd-consent-copy span, .rd-consent-copy a, .rd-privacy-note, .rd-privacy-note small, .rd-privacy-note a, .rd-field-hint, .rd-upload-hint, .rd-compact-intro, .rx-common-consent, .rx-consent, .wpcf7-list-item-label, .rdw-consent, small) {
    --rdc-muted: var(--rdf-muted) !important;
    color: var(--rdf-muted) !important;
    -webkit-text-fill-color: var(--rdf-muted) !important;
    opacity: 1 !important;
    overflow-wrap: anywhere;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(.rd-consent, .rd-privacy-note, .lead-legal, .rx-common-consent, .rdw-consent) a {
    white-space: normal !important;
    text-decoration: underline !important;
    text-underline-offset: .18em;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="range"], [type="submit"], [type="button"], [type="reset"]), textarea, select) {
    color: var(--rdf-ink) !important;
    -webkit-text-fill-color: var(--rdf-ink) !important;
    caret-color: var(--rdf-ink) !important;
    background-color: var(--rdf-field) !important;
    border-color: var(--rdf-border) !important;
    opacity: 1 !important;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px !important;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(input, textarea)::placeholder {
    color: var(--rdf-muted) !important;
    -webkit-text-fill-color: var(--rdf-muted) !important;
    opacity: 1 !important;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(input, textarea, select):is(:autofill, :-webkit-autofill) {
    -webkit-text-fill-color: var(--rdf-ink) !important;
    caret-color: var(--rdf-ink) !important;
    box-shadow: 0 0 0 1000px var(--rdf-field) inset !important;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(input, textarea, select, button, a):focus-visible {
    outline: 3px solid var(--rdf-focus) !important;
    outline-offset: 3px !important;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(input, textarea, select):disabled {
    background-color: var(--rdf-disabled) !important;
    color: var(--rdf-muted) !important;
    -webkit-text-fill-color: var(--rdf-muted) !important;
    cursor: not-allowed;
  }
  html body.rd-approved-design .rx-candidate .wpcf7-submit:disabled,
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(button, input[type="submit"]):disabled {
    background: var(--rdf-disabled) !important;
    color: var(--rdf-muted) !important;
    -webkit-text-fill-color: var(--rdf-muted) !important;
    border-color: var(--rdf-border) !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    animation: none !important;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(input, textarea, select)[aria-invalid="true"] {
    border-color: var(--rdf-error) !important;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(.rd-field-error, .wpcf7-not-valid-tip, .rx-modal-msg.is-err, .form-feedback.is-error) {
    color: var(--rdf-error) !important;
    -webkit-text-fill-color: var(--rdf-error) !important;
    background: var(--rdf-error-bg) !important;
    border-color: var(--rdf-error) !important;
    opacity: 1 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  html body.rd-approved-design :is(.rd-compact-shell, form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) :is(.rx-modal-msg.is-ok, .form-feedback.is-success, .rd-form-success) {
    color: var(--rdf-success) !important;
    -webkit-text-fill-color: var(--rdf-success) !important;
    background: var(--rdf-success-bg) !important;
  }
  html body.rd-approved-design form.rd-partner-form:is(.invalid, .failed, .spam, .unaccepted) .wpcf7-response-output {
    color: var(--rdf-error) !important;
    -webkit-text-fill-color: var(--rdf-error) !important;
    background: var(--rdf-error-bg) !important;
    border-color: var(--rdf-error) !important;
  }
  html body.rd-approved-design form.rd-partner-form.sent .wpcf7-response-output {
    color: var(--rdf-success) !important;
    -webkit-text-fill-color: var(--rdf-success) !important;
    background: var(--rdf-success-bg) !important;
    border-color: var(--rdf-success) !important;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) a.redico-download-price {
    background: transparent !important;
    color: var(--rdf-link) !important;
    -webkit-text-fill-color: var(--rdf-link) !important;
    border: 1px solid var(--rdf-border) !important;
    box-shadow: none !important;
    min-height: 44px !important;
    text-decoration: underline !important;
    text-underline-offset: .18em;
  }
  html body.rd-approved-design :is(form[data-redico-lead], form.rd-compact-form, form.rx-lead-form, form#quote-form, form#rx-orig-contact, form.rdsf-form, form#rdw-search, form#rdw-subscribe) a.redico-download-price:hover {
    background: var(--rdf-disabled) !important;
    border-color: var(--rdf-link) !important;
  }

  html body.rd-approved-design :is(#rx-modal .rx-modal, #rx-enc-lead-dialog, #rxmax-quote-dialog, #rdx-quote-dialog, #rd-exit-guide) {
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scroll-padding-block: 64px 24px;
    box-sizing: border-box;
  }
  html body.rd-approved-design :is(#rx-modal, #rx-enc-lead-modal) {
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
    box-sizing: border-box;
  }
  html body.rd-approved-design :is(#rx-modal .rx-modal-close, #rx-enc-lead-dialog .rx-modal-x, #rxmax-quote-dialog .rxmax-quote-close, #rdx-quote-dialog [data-close], #rd-exit-guide [data-close]) {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    color: var(--rdf-ink) !important;
    -webkit-text-fill-color: var(--rdf-ink) !important;
    background: var(--rdf-surface) !important;
    border: 1px solid var(--rdf-border) !important;
    box-shadow: none !important;
    cursor: pointer;
  }
  html body.rd-approved-design :is(#rx-modal .rx-modal-close, #rx-enc-lead-dialog .rx-modal-x, #rxmax-quote-dialog .rxmax-quote-close, #rdx-quote-dialog [data-close], #rd-exit-guide [data-close]):focus-visible {
    outline: 3px solid var(--rdf-focus) !important;
    outline-offset: 3px !important;
  }
  html body.rd-approved-design #rx-modal .rx-modal-close {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    right: auto !important;
    justify-self: end;
    align-self: start;
    grid-column: 1 / -1;
    margin: 0 0 -44px auto !important;
    z-index: 5;
  }
  html body.rd-approved-design #rx-modal .rd-compact-heading {
    padding-inline-end: 56px !important;
  }
  /* Scroll the full header with the form: a sticky header masks fields on small screens. */
  html body.rd-approved-design #rxmax-quote-dialog .rxmax-quote-top {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }
}

:root {
    --rd-price-color: #a51e28;
    --rd-price-featured: clamp(1.375rem, 1.13rem + 1vw, 1.9rem);
}

:root[data-theme="dark"],
:root[data-rx-theme="dark"] {
    --rd-price-color: #ffaaa1;
}

#dc-service-content .dc-price-brief__amount,
body.redico-pc-active main #rc-catalog .rc-card .rc-card-price {
    color: var(--rd-price-color) !important;
    font-size: var(--rd-price-featured) !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.16;
}

@layer rdApprovedDesign {
    #rd-approved-main #home-cost-examples .home-example-price {
        color: var(--rd-price-color) !important;
        font-size: var(--rd-price-featured) !important;
        font-weight: 800 !important;
        font-variant-numeric: tabular-nums;
        line-height: 1.16;
    }
}

@layer redico-price-contrast {
    body.redico-pc-active main #rc-catalog .rc-card .rc-card-price {
        color: var(--rd-price-color) !important;
    }
}

#rc-catalog .rc-cards {
    --rd-price-featured: clamp(1.55rem, 1.24rem + 1.25vw, 2.35rem);
}

.rc-estimate {
    --rd-price-color: #ffaaa1;
}

mark.redico-price {
    display: inline !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--rd-price-color) !important;
    font-size: 1.14em !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.18 !important;
    white-space: nowrap;
}

mark.redico-price.redico-price-range {
    white-space: normal;
}

:is(.home-price-total, .rc-estimate-total, .rop-hero-stats, .rsg-hero-stats,
    .rsc-stats, .rop-price, .rxpd-fact, .rtd-points) mark.redico-price,
.rsc-price-summary strong mark.redico-price {
    font-size: max(1.14em, var(--rd-price-featured)) !important;
}

:is(td, dd) mark.redico-price {
    font-size: max(1.1em, 1rem) !important;
}

:is(button, a.button, a.btn, a[class$="-btn"], a[class$="-cta"]) mark.redico-price {
    color: inherit !important;
    font-size: 1.09em !important;
}

@layer redicoReadability {
    html[data-rx-bento] body.redico-page-sertifikat-tr-ts.rd-approved-design .rsc .rsc-price-summary.rsc-card p {
        color: var(--rb-ink, #191b1f) !important;
    }
}

.home-price-meta {
    flex-wrap: wrap;
    row-gap: .25rem;
}

/* REDICO UX completion, 24 Nov 2026. Loaded only by the explicit review copy
 * until the reviewed controller is promoted. Preserve the existing design tokens. */
@layer redicoUxCompletion {
  body.rd-approved-design :is(main, .rx-wrap, .rxpd-page) :is(p, li, dt, dd, td, th) {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  body.rd-approved-design :is(main, .rx-wrap, .rxpd-page, dialog) :is(label, figcaption, small),
  body.rd-approved-design :is(.home-cost-note,.home-price-footnote,.quote-reply,.rd-privacy-note,.rd-consent-copy,.lead-notice,.consent,.rd-role-detail),
  body.rd-approved-design :is(.lead-legal,.rd-consent) :is(p,span,a,label),
  body.rd-approved-design .rdx-footer :is(p,a),
  body.rd-approved-design .hero-banner-caption {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.rd-approved-design form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select) {
    font-size: 16px !important;
    line-height: 1.5 !important;
    min-width: 0;
    max-width: 100%;
  }
  body.rd-approved-design :is(form button,form input[type=submit],summary,.rdtz-nav a) {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.rd-approved-design :is(button[type=submit],input[type=submit],summary) {
    min-block-size: 44px !important;
  }
  body.rd-approved-design :is(a,button,input,textarea,select,summary,[tabindex="0"]):focus-visible {
    outline: 3px solid var(--rd-action,#b42318) !important;
    outline-offset: 3px !important;
  }
  body.rd-approved-design :is(main,.rx-wrap) :is(p,li) { overflow-wrap: break-word; }
  body.rd-approved-design :is(.rdpg-intro,.rdpg-note,.rxpd-finder__sub) { font-size: 14px !important; }
  body.rd-approved-design :is(.rdx-section-head,.research-head,.home-seo-section-head) p { max-inline-size: 72ch; }
  body.rd-approved-design :is(#rd-approved-main,#rsc,#dc) [id] { scroll-margin-top: 120px; }
  body.rd-approved-design .rd-cta-short { display: none; }
  body.rd-approved-design #rd-approved-chrome .header-channels > a {
    display: inline-flex !important;
    align-items: center;
    min-block-size: 44px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.rd-approved-design #rd-approved-chrome .nav-contacts {
    min-height: 44px !important;
    font-size: 14px !important;
  }
  body.rd-approved-design #rd-approved-chrome .header-robot-hint { font-size: 14px !important; }
  body.rd-approved-design #rd-approved-chrome .header-cta { animation: none !important; }

  /* Home page: source order carries meaning; no CSS-only reordering. */
  body.rd-approved-home #rd-approved-main > #choose-role { margin-block: 24px 32px !important; }
  body.rd-approved-home #rd-approved-main > .hero { margin-bottom: 0 !important; padding-bottom: 0 !important; }
  body.rd-approved-home #rd-approved-main > .hero .hero-main { gap: 0 !important; }
  body.rd-approved-home #rd-approved-main .project-workflow-grid { align-items: start !important; }
  body.rd-approved-home #rd-approved-main .project-workflow-card {
    min-height: 0 !important;
    height: auto !important;
    align-content: start !important;
  }
  body.rd-approved-home #rd-approved-main .project-workflow-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  body.rd-approved-home #rd-approved-main #redico-single-window {
    display: grid;
    gap: 8px;
    max-width: 72ch;
    padding-block: 16px !important;
  }
  body.rd-approved-home #rd-approved-main #redico-single-window > :is(p,h3) { margin: 0 !important; }
  body.rd-approved-home .rd-trust-metrics {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 28px 0 16px !important;
    list-style: none !important;
  }
  body.rd-approved-home .rd-trust-metrics li { margin: 0; }
  body.rd-approved-home .rd-trust-metrics a {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 16px !important;
    border: 1px solid var(--rd-line,#d9dde3);
    border-radius: 12px;
    background: var(--rd-card,#fff);
    color: var(--rd-ink,#24262b) !important;
    text-decoration: none !important;
  }
  body.rd-approved-home .rd-trust-metrics strong { font-size: 18px !important; }
  body.rd-approved-home .rd-trust-metrics span { font-size: 14px !important; line-height: 1.5 !important; }
  body.rd-approved-home #redico-import-cases { display: grid !important; gap: 16px !important; margin-block: 24px !important; }
  body.rd-approved-home #redico-import-cases .enterprise-case { margin: 0 !important; }
  body.rd-approved-home .rd-import-compact { display: block !important; padding: 16px !important; }
  body.rd-approved-home .rd-import-compact .induction-copy { grid-template-columns: minmax(140px,.45fr) minmax(0,1fr) !important; }
  body.rd-approved-home .rd-import-compact .induction-copy img { width: 100% !important; height: auto !important; aspect-ratio: 4/3 !important; object-fit: cover !important; }
  body.rd-approved-home .rd-import-compact .induction-copy h3 { font-size: clamp(22px,2.5vw,30px) !important; }
  body.rd-approved-home .rd-import-compact .induction-route { margin-block-start: 12px !important; }
  body.rd-approved-home .rd-ux-detail {
    display: block !important;
    min-width: 0;
    margin: 14px 0 !important;
    padding: 0 !important;
    border: 1px solid var(--rd-line,#d9dde3) !important;
    border-radius: 12px !important;
    background: var(--rd-card,#fff) !important;
    color: var(--rd-ink,#24262b) !important;
  }
  body.rd-approved-home .rd-ux-detail > summary {
    display: list-item !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    font-weight: 700;
    color: inherit !important;
    cursor: pointer;
  }
  body.rd-approved-home .rd-ux-detail > :not(summary) { margin: 12px 16px !important; }
  body.rd-approved-home .rd-ux-detail .rdx-section { padding: 0 !important; }
  body.rd-approved-home .rd-ux-detail:not([open]) > :not(summary) { display: none !important; }
  body.rd-approved-home .rd-home-more-cases .rdx-proof-grid { display: grid !important; }
  body.rd-approved-home #team .team-feature { min-height: 0 !important; }
  body.rd-approved-home #team .team-feature > img { max-height: 260px !important; aspect-ratio: 3/2; object-fit: cover; }
  body.rd-approved-home #reviews .review-layout { display: block !important; }
  body.rd-approved-home #reviews .rd-review-fallback { margin-top: 16px; padding: 16px; border: 1px solid var(--rd-line,#d9dde3); border-radius: 12px; background: var(--rd-card,#fff); }
  body.rd-approved-home #reviews .rd-review-fallback blockquote { margin: 14px 0 0; padding: 0 0 0 16px; border-inline-start: 3px solid var(--rd-action,#b42318); }
  body.rd-approved-home #reviews .rd-review-fallback footer { font-size: 14px; line-height: 1.5; }
  body.rd-approved-home #reviews .review-frame { max-width: 100%; width: 100%; }
  body.rd-approved-home #ai-document-check { margin-block: 24px !important; }
  body.rd-approved-home #ai-document-check .ai-check-layout { gap: 16px !important; }
  body.rd-approved-home #ai-document-check .ai-check-panel { padding: 16px !important; }
  body.rd-approved-home .rd-enquiry-followup { margin: 0 !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
  body.rd-approved-home #telegram { padding: 18px !important; margin-block: 24px !important; }
  body.rd-approved-home #telegram h2 { font-size: 22px !important; }
  body.rd-approved-home #telegram .telegram-community { gap: 14px !important; }
  body.rd-approved-home #site-feedback { padding: 16px !important; }
  body.rd-approved-home #site-feedback h2 { font-size: 22px !important; }

  /* Native More disclosure keeps every section link visible and keyboard-accessible. */
  body.rd-approved-home .rdtz-nav { overflow: visible !important; z-index: 10; }
  body.rd-approved-home .rdtz-nav-items { display: flex !important; flex-wrap: wrap; gap: 6px; overflow: visible !important; }
  body.rd-approved-home .rdtz-nav-items > a,
  body.rd-approved-home .rdtz-nav-more > summary {
    display: flex !important;
    align-items: center;
    min-block-size: 44px !important;
    padding: 8px 10px !important;
    white-space: nowrap;
  }
  body.rd-approved-home .rdtz-nav-more { position: relative; margin: 0 !important; padding: 0 !important; border: 0 !important; }
  body.rd-approved-home .rdtz-nav-more > summary { cursor: pointer; list-style: none; }
  body.rd-approved-home .rdtz-nav-more > summary::after { content: '⌄'; position: static !important; margin-left: 7px; font-size: 16px; }
  body.rd-approved-home .rdtz-nav-more-links {
    position: absolute;
    inset-block-start: 100%;
    inset-inline-end: 0;
    display: grid;
    min-width: 230px;
    padding: 8px;
    border: 1px solid var(--rd-line,#d9dde3);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px #24262b26;
  }
  body.rd-approved-home .rdtz-nav-more-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; white-space: normal !important; color: #24262b; }

  /* Do not shrink content to accommodate the on-screen keyboard. */
  body.rd-approved-design :is(#rxmax-quote-dialog,#redico-assistant-dialog,#document-picker) {
    max-block-size: calc(100dvh - 24px) !important;
    overscroll-behavior: contain;
  }
  body.rd-approved-design #redico-assistant-dialog :is(button,input) { min-height: 44px !important; }
  body.rd-approved-design #redico-assistant-dialog :is(button,small,label) { font-size: 14px !important; line-height: 1.5 !important; }
  body.rd-approved-design #redico-assistant-dialog :is(input,textarea) { font-size: 16px !important; }

  @media (max-width: 767px) {
    body.rd-approved-home #services .rdx-services-grid { grid-template-columns: minmax(0,1fr) !important; }
    body.rd-approved-home .rd-trust-metrics { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; }
    body.rd-approved-home .rd-trust-metrics a { padding: 12px !important; }
    body.rd-approved-home #rd-approved-main .project-workflow-grid { grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; }
    body.rd-approved-home #rd-approved-main .project-workflow-image { max-height: 220px !important; }
    body.rd-approved-home .rd-import-compact .induction-copy { grid-template-columns: minmax(0,1fr) !important; }
    body.rd-approved-home .rd-import-compact .induction-copy img { max-height: 160px !important; }
    body.rd-approved-home #ai-document-check .ai-check-layout { grid-template-columns: minmax(0,1fr) !important; }
    body.rd-approved-home .rdtz-nav-items { justify-content: space-between; gap: 2px !important; }
    body.rd-approved-home .rdtz-nav-items > a,body.rd-approved-home .rdtz-nav-more > summary { padding-inline: 5px !important; }
    body.rd-approved-design :is(.contact-grid,.lead-grid,.quote-grid,.rd-contact-grid,.rxk-form-grid) { grid-template-columns: minmax(0,1fr) !important; }
    body.rd-approved-design :is(.rd-contact-card,.rx-lead-form,form[data-redico-lead]) > * { min-width: 0; }
  }
  @media (max-width: 480px) {
    body.rd-approved-design #redico-assistant-dialog form { flex-wrap: wrap; }
    body.rd-approved-design #redico-assistant-dialog form > input { flex-basis: 100%; min-width: 0; }
    body.rd-approved-home .home-quick-tools { grid-template-columns: minmax(0,1fr) !important; }
    body.rd-approved-home .rdtz-nav-more-links { min-width: min(230px,calc(100vw - 40px)); }
  }
  @media (prefers-reduced-motion: reduce) {
    body.rd-approved-design :is(.header-bot,.rd-role-card,.project-workflow-image) { animation: none !important; transition: none !important; }
  }
}

/* Keep mobile header overrides in the existing mobile-menu layer.
 * The live bundle declares redicoCompact.rdmMobileMenu before redicoUxCompletion;
 * !important declarations in that earlier layer otherwise win before specificity.
 * Reuse that layer only for the <=767px header, preserving the rest of the cascade. */
@layer redicoCompact.rdmMobileMenu {
  @media (max-width: 767px) {
    html body.rd-approved-design #rd-approved-chrome .masthead > .header-inner {
      display: grid !important;
      grid-template-columns: minmax(0,1fr) 44px 78px 44px !important;
      grid-template-rows: 44px 44px !important;
      align-items: center !important;
      gap: 4px 6px !important;
      padding-block: 6px !important;
      min-height: 0 !important;
    }
    html body.rd-approved-design #rd-approved-chrome .brand { grid-column: 1 !important; grid-row: 1 !important; }
    html body.rd-approved-design #rd-approved-chrome .global-trigger { grid-column: 2 !important; grid-row: 1 !important; width: 44px !important; min-width: 44px !important; }
    html body.rd-approved-design #rd-approved-chrome .nav-toggle { grid-column: 4 !important; grid-row: 1 !important; width: 44px !important; min-width: 44px !important; }
    html body.rd-approved-design #rd-approved-chrome .rqs-trigger { display: none !important; }
    html body.rd-approved-design #rd-approved-chrome .masthead .header-contacts { display: contents !important; }
    html body.rd-approved-design #rd-approved-chrome .masthead .header-channels {
      display: flex !important;
      flex-direction: row !important;
      grid-column: 1 / -1 !important;
      grid-row: 2 !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 8px !important;
      margin: 0 !important;
      width: 100% !important;
    }
    html body.rd-approved-design #rd-approved-chrome .masthead .header-channels > a { min-height: 44px !important; font-size: 14px !important; flex: 0 1 auto; }
    html body.rd-approved-design #rd-approved-chrome .masthead .nav-contacts { display: none !important; }
    html body.rd-approved-design #rd-approved-chrome .masthead .header-cta {
      display: flex !important;
      grid-column: 3 !important;
      grid-row: 1 !important;
      align-items: center !important;
      justify-content: center !important;
      width: 78px !important;
      min-width: 0 !important;
      min-height: 44px !important;
      margin: 0 !important;
      padding: 8px 6px !important;
      font-size: 14px !important;
      line-height: 1.4 !important;
    }
    html body.rd-approved-design #rd-approved-chrome .header-cta .rd-cta-long { display: none !important; }
    html body.rd-approved-design #rd-approved-chrome .header-cta .rd-cta-short { display: inline !important; }
  }
}
/* Home-page secondary labels and navigation hit areas.
 * redicoReadability is the existing first layer in the live bundle, so its
 * !important rules beat the older compact/template typography without changing
 * colours, borders, spacing, form behaviour or the mobile header layer. */
@layer redicoReadability {
  html body.rd-approved-home #home-service-routes .category-nav a,
  html body.rd-approved-home .home-price-count,
  html body.rd-approved-home .home-example-time,
  html body.rd-approved-home .rdx-lab-tags a,
  html body.rd-approved-home .telegram-community time,
  html body.rd-approved-home #site-feedback .rdsf-ends span,
  html body.rd-approved-home #rdsf-hint {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  html body.rd-approved-home #home-service-routes .category-nav a,
  html body.rd-approved-home .rdx-lab-tags a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    min-block-size: 44px !important;
  }
}

/* Measured service-page secondary text, navigation and cookie controls.
 * Visual-only rules; form/search processing and cookie preference logic stay intact. */
@layer redicoReadability {
  body.redico-page-deklaraciya:has([data-rdu-service-copy="20261124"]) > .rx-wrap > div > button,
  body.redico-page-deklaraciya:has([data-rdu-service-copy="20261124"]) > .rx-wrap > div > nav > a,
  body.redico-page-deklaraciya:has([data-rdu-service-copy="20261124"]) > .rx-wrap > div > nav > span,
  #dc-service-content[data-rdu-service-copy="20261124"] p.dc-eyebrow,
  #dc-service-content[data-rdu-service-copy="20261124"] div.dc-hero-facts > span,
  #dc-service-content[data-rdu-service-copy="20261124"] p.dc-hero-note,
  #dc-service-content[data-rdu-service-copy="20261124"] div.dc-hero-links > a,
  #dc-service-content[data-rdu-service-copy="20261124"] a.rx-ux-prepare-link,
  #dc-service-content[data-rdu-service-copy="20261124"] #dc-mobile-tools > button,
  #dc-service-content[data-rdu-service-copy="20261124"] span.rx-calctab__t,
  #dc-service-content[data-rdu-service-copy="20261124"] ol.dc-stage-grid > li > span,
  #dc-service-content[data-rdu-service-copy="20261124"] span.rx-ux-kicker,
  #dc-service-content[data-rdu-service-copy="20261124"] span.rx-ux-count,
  #dc-service-content[data-rdu-service-copy="20261124"] button.rx-ux-transfer,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-h,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-req > a,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-cols > div > div,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-links > a,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-links > span,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-req-grid > div > span,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-req-grid > div > b,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-bottom > span,
  body.rd-approved-design footer.rx-sitefoot div.rx-foot-bottom > span > a,
  #rsc[data-rdu-service-copy="20261124"] nav.rsc-crumbs > a,
  #rsc[data-rdu-service-copy="20261124"] nav.rsc-crumbs > span,
  #rsc[data-rdu-service-copy="20261124"] div.rsc-stat > span,
  #rsc[data-rdu-service-copy="20261124"] nav.rsc-fact-strip > a > span,
  #rsc[data-rdu-service-copy="20261124"] nav.rsc-nav > a,
  html body.rd-approved-design #rd-approved-chrome .mega-categories small[data-menu-count] {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  html body.rd-approved-home .rdtz-nav-more-links a,
  #rsc[data-rdu-service-copy="20261124"] nav.rsc-nav > a,
  #dc-service-content[data-rdu-service-copy="20261124"] .dc-hero-links > a,
  #dc-service-content[data-rdu-service-copy="20261124"] a.rx-ux-prepare-link,
  #dc-service-content[data-rdu-service-copy="20261124"] #dc-mobile-tools > button,
  #dc-service-content[data-rdu-service-copy="20261124"] button.rx-ux-transfer,
  body.redico-page-deklaraciya:has([data-rdu-service-copy="20261124"]) > .rx-wrap > div > button {
    min-height: 44px !important;
    min-block-size: 44px !important;
    box-sizing: border-box !important;
  }
  html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] {
    position: relative !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] :is(p,details,summary,label,button,a,.rx-cookie-options) {
    font-size: 14px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] :is(button,summary) {
    min-height: 44px !important;
    min-block-size: 44px !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  @media (max-width: 480px) {
    html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] {
      padding: 12px !important;
      gap: 8px !important;
    }
    html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] > p {
      margin-block: 0 4px !important;
    }
    html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] .rx-cookie-actions {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 8px !important;
    }
    html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] .rx-cookie-actions > button {
      flex: 1 1 140px !important;
      min-width: 0 !important;
    }
  }
}

/* R2D2 keeps the current search engine, scope filters and request handlers. */
@layer redicoReadability {
  html body.rd-approved-design #rsc[data-rdu-service-copy="20261124"] .rsc-fact-strip span,
  html body.rd-approved-design #rxmax-dialog :is(.rxmax-brand > span,.rxmax-brand-divider,.rxmax-topics > span,.rxmax-topics > button,.rxmax-status,.rxmax-type,.rxmax-read,.rxmax-footer > span,.rxmax-scope,.rxmax-quote-button,#rxmax-hint) {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  html body.rd-approved-design #rxmax-dialog :is(.rxmax-intro > p,.rxmax-card > p) {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  html body.rd-approved-design #rxmax-dialog :is(#rxmax-query,button),
  html body.rd-approved-design #rd-cookie-region #rx-cookie-bar[data-redico-cookie-flow] label {
    min-height: 44px !important;
    min-block-size: 44px !important;
    box-sizing: border-box !important;
  }
  html body.rd-approved-design #rxmax-dialog #rxmax-query {
    font-size: 16px !important;
    line-height: 1.5 !important;
    min-width: 0 !important;
  }
  html body.rd-approved-design #rxmax-dialog :is(.rxmax-clear,.rxmax-close) { min-width: 44px !important; }
  @media (max-width: 480px) {
    html body.rd-approved-design #rxmax-dialog .rxmax-field {
      display: grid !important;
      grid-template-columns: minmax(0,1fr) 44px !important;
      grid-template-rows: auto auto !important;
      align-items: center !important;
      gap: 8px !important;
      min-width: 0 !important;
    }
    html body.rd-approved-design #rxmax-dialog .rxmax-field > svg { display: none !important; }
    html body.rd-approved-design #rxmax-dialog #rxmax-query { grid-column: 1 !important; grid-row: 1 !important; width: 100% !important; }
    html body.rd-approved-design #rxmax-dialog .rxmax-field:has(.rxmax-clear[hidden]) #rxmax-query { grid-column: 1 / -1 !important; }
    html body.rd-approved-design #rxmax-dialog .rxmax-clear { grid-column: 2 !important; grid-row: 1 !important; }
    html body.rd-approved-design #rxmax-dialog .rxmax-submit {
      grid-column: 1 / -1 !important;
      grid-row: 2 !important;
      width: 100% !important;
      max-width: none !important;
      height: auto !important;
      white-space: nowrap !important;
    }
  }
}

/* The certificate template establishes this layer before the shared bundle. */
@layer redicoCompact.redicoCertificate20261117 {
  html body.rd-approved-design #rsc[data-rdu-service-copy="20261124"] .rsc-fact-strip span,
  html body.rd-approved-design #rsc[data-rdu-service-copy="20261124"] .rsc-nav a {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

/* Measured secondary text on contacts and the four existing information tools. */
@layer redicoReadability {
  html body.rd-approved-design #ree-certificate-hero > div.rx-breadcrumb,
  html body.rd-approved-design #sv-overview > span.ree-section-label,
  html body.rd-approved-design a.rx-enc-pillar.rx-rv > i,
  html body.rd-approved-design a.rx-enc-pillar.rx-rv > span.rx-enc-pk,
  html body.rd-approved-design article.rx-cat-card.rd-whole-link > b > i,
  html body.rd-approved-design article.rx-cat-card.rd-whole-link > span,
  html body.rd-approved-design article.rx-enc-tcard.rx-rv.rd-whole-link > i,
  html body.rd-approved-design div.rx-breadcrumb > a,
  html body.rd-approved-design div.rx-cat-links > a > span,
  html body.rd-approved-design div.rx-enc-ghead > span,
  html body.rd-approved-design div.rx-enc-route.rx-rv > em,
  html body.rd-approved-design div.rx-eyebrow > span,
  html body.rd-approved-design div.rx-ux-check-foot > button.rx-ux-transfer,
  html body.rd-approved-design div.rx-ux-check-foot > span.rx-ux-count,
  html body.rd-approved-design div.rx-ux-form-wrap.rd-form-shell.rd-compact-shell > a.rx-ux-prepare-link,
  html body.rd-approved-design div.rx-wrap.rx-calcbanner > a > span > span,
  html body.rd-approved-design header.rx-ux-section-head > span.rx-ux-kicker,
  html body.rd-approved-design label.rxpd-f > span.rxpd-f__label,
  html body.rd-approved-design nav.ree-section-nav > span.ree-section-label,
  html body.rd-approved-design nav.rx-breadcrumb > a,
  html body.rd-approved-design nav.rx-breadcrumb > span,
  html body.rd-approved-design nav.rx-kod-nav > a,
  html body.rd-approved-design span.rx-card-body > span.rx-card-cat,
  html body.rd-approved-design span.rx-card-body > span.rx-card-ex,
  html body.rd-approved-design span.rx-card-body > span.rx-card-more,
  html body.rd-approved-design ul.rxpd-keys__list > li > b,
  html body.redico-page-kontakty > .rx-wrap > div > button,
  html body.redico-page-kontakty > .rx-wrap > div > nav > a,
  html body.redico-page-kontakty > .rx-wrap > div > nav > span,
  html body.redico-page-kontakty a.rxk-act,
  html body.redico-page-kontakty a.rxk-act.rxk-act--pri,
  html body.redico-page-kontakty a.rxk-act.rxk-req-btn,
  html body.redico-page-kontakty button.rxk-act.rxk-act--pri.rxk-copy.rxk-req-btn,
  html body.redico-page-kontakty button.rxk-act.rxk-copy,
  html body.redico-page-kontakty div.rxk-lab,
  html body.redico-page-kontakty div.rxk-nav > a,
  html body.redico-page-kontakty div.rxk-sub,
  html body.redico-page-kontakty div.rxk-trust-i > span,
  html body.redico-page-kontakty span.rxk-tile-go,
  html body.redico-page-kontakty span.rxk-tile-n {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  html body.redico-page-kontakty > .rx-wrap > div > button,
  html body.redico-page-kontakty .rxk-contact-channel > a,
  html body.redico-page-kontakty .rxk-nav > a {
    min-height: 44px !important;
    min-block-size: 44px !important;
    box-sizing: border-box !important;
  }
  html body.redico-page-kontakty .rxk-contact-channel > a {
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* Contacts use a MAIN wrapper around the inherited breadcrumb/back controls. */
@layer redicoReadability {
  html body.redico-page-kontakty > main > .rx-wrap > div > button,
  html body.redico-page-kontakty > main > .rx-wrap > div > nav > :is(a,span) {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  html body.redico-page-kontakty > main > .rx-wrap > div > button,
  html body.redico-page-kontakty a.rxk-val {
    min-height: 44px !important;
    min-block-size: 44px !important;
    box-sizing: border-box !important;
  }
  html body.redico-page-kontakty a.rxk-val { display: inline-flex !important; align-items: center !important; }
}

@layer redicoReadability {
  html body.rd-approved-design .rx-enc-kicker.rx-enc-kicker-static,
  html body.rd-approved-design .rx-enc-num > span {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}

/* Put the commercial answers next to the first action on phones. */
.rdu-mobile-answer {
  display: none;
}
@media (max-width: 760px) {
  body.rd-approved-design :is(#dc-service-content .dc-bento-hero, #rsc .rsc-hero-surface, #rsg .rsg-hero) {
    padding-top: 8px !important;
  }
  body.rd-approved-design :is(#rsc .rsc-crumbs, #rsg .rsg-crumbs) {
    margin-bottom: 10px !important;
  }
  body.rd-approved-design :is(#dc-service-content .dc-hero-grid > .rx-ux-intro, #rsc .rsc-hero-copy, #rsg .rsg-hero-copy) {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
  }
  body.rd-approved-design.redico-page-deklaraciya > .rx-wrap:has(nav[aria-label="Хлебные крошки"]) {
    padding-block: 6px !important;
  }
  body.rd-approved-design.redico-page-deklaraciya #dc-service-content[data-rdu-service-copy] .dc-bento-hero .dc-hero-grid > .rx-ux-intro {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    padding-top: 0 !important;
  }
  body.rd-approved-design :is(#rsc .rsc-hero-copy, #rsg .rsg-hero-copy) {
    padding: 16px !important;
  }
  body.rd-approved-design :is(#dc-service-content .dc-hero-grid > .rx-ux-intro > .dc-eyebrow, #rsc .rsc-hero-copy > .rsc-kicker, #rsg .rsg-hero-copy > .rsg-kicker) {
    display: none !important;
  }
  body.rd-approved-design :is(#dc-service-content .dc-hero-grid, #rsc .rsc-hero-copy, #rsg .rsg-hero-copy) h1 {
    order: -3;
    max-width: none !important;
    margin: 0 0 12px !important;
    font-size: clamp(25px, 7.25vw, 31px) !important;
    line-height: 1.12 !important;
  }
  body.rd-approved-design.redico-page-deklaraciya #dc-service-content[data-rdu-service-copy] .dc-hero-grid > .rx-ux-intro > h1 {
    font-size: clamp(24px, 6.7vw, 28px) !important;
    margin: 0 0 10px !important;
  }
  body.rd-approved-design :is(#dc-service-content, #rsc, #rsg) .rdu-mobile-answer {
    display: grid !important;
    gap: 4px;
    order: -2;
    margin: 0 0 9px;
    padding: 6px 0;
    border-block: 1px solid rgba(127, 127, 127, .42);
    font-size: 14px;
    line-height: 1.35;
  }
  body.rd-approved-design #dc-service-content .rx-ux-intro:has(> .rdu-mobile-answer) :is(.dc-price-brief > p:first-child,.dc-price-terms > .rdss-term) {
    display: none !important;
  }
  @layer redicoCompact {
    body.rd-approved-design #rsg .rsg-hero-copy:has(> .rdu-mobile-answer) > .rsg-hero-stats {
      display: none !important;
    }
  }
  body.rd-approved-design #rsc .rsc-hero-copy > #rdtz-certificate-overview {
    order: -2;
    margin-block: 0 12px;
  }
  body.rd-approved-design #rsc .rsc-hero-copy > .rsc-actions {
    order: -1;
    margin-top: 0 !important;
  }
  .rdu-mobile-answer > div {
    display: grid;
    grid-template-columns: 4.5em minmax(0, 1fr);
    gap: 8px;
  }
  body.rd-approved-design :is(#dc-service-content, #rsc, #rsg) .rdu-mobile-answer > div > :is(dt, dd) {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
  .rdu-mobile-answer dt {
    font-weight: 600;
  }
  .rdu-mobile-answer dd {
    min-width: 0;
    margin: 0;
    font-weight: 700;
    overflow-wrap: break-word;
  }
  body.rd-approved-design :is(#dc-service-content .dc-hero-grid > .rx-ux-intro > .dc-actions, #rsc .rsc-hero-copy > .rd-audit-hero-btn, #rsg .rsg-hero-copy > .rd-audit-hero-btn) {
    order: -1;
    margin-top: 0 !important;
  }
}