/* 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;
  }
}

/* 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);
  }
}

: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;
  }
}
:root {
  color-scheme:dark;
  --bg:var(--rdx-ui-bg); --tile:var(--rdx-ui-surface); --line:var(--rdx-ui-line);
  --ink:var(--rdx-ui-ink); --muted:var(--rdx-ui-muted); --muted2:var(--rdx-ui-subtle);
  --accent:var(--rdx-ui-accent); --red:var(--rdx-ui-red); --red-hover:var(--rdx-ui-red-hover);
  --paper:var(--rdx-ui-paper); --paper-ink:var(--rdx-ui-paper-ink);
  --paper-muted:var(--rdx-ui-paper-muted); --paper-line:var(--rdx-ui-paper-line);
  --radius:var(--rdx-ui-radius); --gutter:15px; --ease:cubic-bezier(.22,.75,.24,1);
}
:root[data-theme="light"] {color-scheme:light}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body.rdx-live {margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.45 var(--rdx-ui-font);-webkit-font-smoothing:antialiased}
/* Legacy page styles can override the body canvas on WordPress pages. */
#rdx-layout {background-color:var(--bg);color:var(--ink)}
:where(#rdx-layout) :is(h1,h2,h3,p,figure,dl,dd) {margin:0}
h1,h2,h3 {letter-spacing:-.055em}
:where(#rdx-layout) a {color:inherit;text-decoration:none}
button,input,textarea,select {font:inherit}
button,summary,select {cursor:pointer}
button {color:inherit}
img {display:block;max-width:100%}
svg {width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
:focus-visible {outline:2px solid #df4b58;outline-offset:3px}
.rdx-wrap {width:min(1280px,calc(100% - 72px));margin-inline:auto}
.rdx-tile {border:1px solid var(--line);border-radius:var(--radius);background:var(--tile);min-width:0}
.rdx-skip {position:fixed;z-index:20;top:8px;left:8px;transform:translateY(-150%);padding:12px;background:var(--paper);color:var(--paper-ink)}
.rdx-skip:focus {transform:none}
[id] {scroll-margin-top:18px}
.rdx-top {border-bottom:1px solid var(--line)}
.rdx-top-inner {height:68px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.rdx-brand {display:inline-flex;align-items:center;flex:none}
.rdx-brand img {width:121px;height:auto}
:root[data-theme="dark"] .rdx-brand img {filter:invert(1) hue-rotate(180deg)}
.rdx-main-nav,.rdx-top-actions,.rdx-contacts {display:flex;align-items:center}
.rdx-main-nav {gap:clamp(14px,2.05vw,30px);white-space:nowrap;color:var(--muted);font-size:13px;font-weight:550}
.rdx-main-nav a:hover,.rdx-contacts a:hover,.rdx-text-link:hover,.rdx-quiet:hover {color:var(--accent)}
.rdx-top-actions {gap:12px}
.rdx-contacts {flex-direction:column;align-items:flex-end;white-space:nowrap;line-height:1.42;font-size:13px;font-weight:700}
.rdx-contacts a+a {font-size:11px;font-weight:500;color:var(--muted)}
.rdx-icon-button {width:43px;height:43px;display:grid;place-items:center;background:transparent;border:1px solid var(--line);border-radius:11px;color:var(--ink)}
.rdx-icon-button:hover {color:var(--accent)}
.rdx-top-cta {display:inline-flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:10px 12px;white-space:nowrap;font-size:13px;font-weight:670}
.rdx-top-cta svg {width:15px;height:15px}
.rdx-mobile-menu {display:none;position:relative}
.rdx-mobile-menu summary {list-style:none}
.rdx-mobile-menu summary::-webkit-details-marker {display:none}
.rdx-mobile-menu nav {position:absolute;z-index:5;right:0;top:calc(100% + 8px);width:214px;background:var(--tile);border:1px solid var(--line);border-radius:14px;padding:5px 13px;box-shadow:0 12px 28px #0004}
.rdx-mobile-menu nav a {display:block;padding:10px 0}
.rdx-hero,.rdx-bento {display:grid;gap:var(--gutter)}
.rdx-hero {grid-template-columns:1.33fr 1fr;padding-top:17px;align-items:stretch}
.rdx-intro {display:flex;flex-direction:column;overflow:hidden}
.rdx-intro-copy {position:relative;padding:28px 35px 27px;flex:none}
.rdx-eyebrow {display:flex;align-items:center;gap:8px;font-size:10px;font-weight:730;line-height:1.35;letter-spacing:.105em;text-transform:uppercase;color:var(--muted2)}
.rdx-eyebrow i {width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block;flex:none}
.rdx-intro h1 {font-size:clamp(51px,5.38vw,78px);font-weight:745;line-height:.92;letter-spacing:-.068em;margin:15px 0 15px}
.rdx-intro h1 span {color:var(--accent)}
.rdx-lede {max-width:50ch;color:var(--muted);font-size:clamp(15px,1.23vw,18px);line-height:1.45}
.rdx-hero-actions {margin-top:19px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 19px}
.rdx-button {display:inline-flex;justify-content:center;align-items:center;gap:11px;padding:0 14px;border-radius:9px;min-height:43px;border:0;font-size:13px;font-weight:680;white-space:nowrap}
.rdx-button svg {width:18px;height:18px;transition:transform .2s var(--ease)}
.rdx-button:hover svg {transform:translateX(3px)}
.rdx-primary {background:var(--red);color:#fff;transition:background-color .2s var(--ease)}
.rdx-primary:hover {background:var(--red-hover)}
.rdx-hero-actions .rdx-hero-secondary {border:1px solid var(--line);background:var(--tile)}
@layer redicoReadability {
  #rdx-layout .rdx-hero-secondary {color:var(--ink)!important;-webkit-text-fill-color:currentColor!important}
  #rdx-layout .rdx-hero-secondary:hover {border-color:var(--accent);color:var(--accent)!important}
}
.rdx-quiet,.rdx-text-link {display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:590;color:var(--muted)}
.rdx-quiet svg,.rdx-text-link svg {width:15px;height:15px}
.rdx-hero-photo {position:relative;isolation:isolate;flex:1 0 165px;min-height:165px;background:#7a736d;border-top:1px solid var(--line)}
.rdx-hero-photo img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 52%}
.rdx-hero-photo::after {content:"";position:absolute;inset:auto 0 0;height:80px;z-index:0;background:linear-gradient(transparent,#151316e8 78%);pointer-events:none}
.rdx-hero-photo figcaption {position:absolute;bottom:0;left:19px;right:16px;z-index:1}
.rdx-hero-categories {display:flex;flex-wrap:wrap;gap:0 14px}
#rdx-layout .rdx-hero-categories a {
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:12px;
  font-weight:680;
  line-height:1.1;
  white-space:nowrap;
}
.rdx-hero-categories a + a::before {
  content:"";
  position:absolute;
  left:-9px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--hero-category-dot,#ffa6ac);
  pointer-events:none;
}
@layer redicoReadability {
  #rdx-layout .rdx-hero-photo .rdx-hero-categories a {
    color:var(--hero-category-ink,#fff) !important;
    -webkit-text-fill-color:currentColor !important;
    text-decoration:none !important;
  }
  #rdx-layout .rdx-hero-photo .rdx-hero-categories a:is(:hover,:focus-visible) {
    color:var(--hero-category-hover,#ffb9be) !important;
    text-decoration:underline !important;
    text-underline-offset:3px;
  }
}
.rdx-quote {padding:21px 25px 14px;background:var(--paper);color:var(--paper-ink);border-color:var(--paper-line);color-scheme:light}
.rdx-quote-dialog {
  width:min(590px,calc(100% - 24px));
  max-height:calc(100dvh - 24px);
  margin:auto;
  padding:0;
  border:0;
  border-radius:var(--radius);
  background:var(--paper);
  color:var(--paper-ink);
  box-shadow:0 24px 70px #0007;
  font-family:var(--rdx-ui-font);
  overscroll-behavior:contain;
}
.rdx-quote-dialog::backdrop {background:#151318b8}
html:has(.rdx-quote-dialog[open]) {overflow:hidden}
.rdx-quote-dialog .rdx-quote-heading {padding-right:46px}
.rdx-quote-close {
  position:absolute;
  top:7px;
  right:7px;
  z-index:1;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--paper-line);
  border-radius:9px;
  background:var(--paper);
  color:var(--paper-ink);
}
.rdx-quote-close:hover {color:var(--red);border-color:var(--red)}
.rdx-quote .rdx-eyebrow {color:#7f3239}
.rdx-quote .rdx-eyebrow i,.rdx-sheet .rdx-eyebrow i {background:var(--red)}
.rdx-quote h2 {font-size:clamp(24px,2.28vw,34px);line-height:1.12;margin:4px 0}
.rdx-quote-intro {font-size:13px;color:var(--paper-muted)}
#quote-form {margin-top:11px}
.rdx-field-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}
.rdx-field {display:block;font-size:11px;font-weight:680;line-height:1.2;min-width:0}
.rdx-field.rdx-full {grid-column:1/-1}
.rdx-required {color:var(--red)}
.rdx-field input,.rdx-field select,.rdx-field textarea,.rdx-tool-search input {
  display:block;width:100%;min-width:0;border:1px solid var(--paper-line);border-radius:8px;background:#fffdfa;color:var(--paper-ink);padding:6px 9px;font-size:14px;font-weight:460;
}
.rdx-field input,.rdx-field select {height:38px;margin-top:3px}
.rdx-field textarea {margin-top:3px;min-height:49px;line-height:1.25;resize:vertical}
.rdx-field input::placeholder,.rdx-field textarea::placeholder {color:#6d6970}
.rdx-attachment {display:flex;align-items:center;gap:7px;position:relative;margin:7px 0 6px;padding:5px 9px;min-height:35px;border:1px dashed #bdb7b1;border-radius:8px;font-weight:690;font-size:11px;cursor:pointer}
.rdx-attachment svg {width:15px;height:15px;color:var(--red)}
.rdx-attachment small {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:11px;font-weight:480;color:var(--paper-muted)}
.rdx-attachment input {position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.rdx-attachment:focus-within {outline:2px solid #df4b58;outline-offset:2px}
.rdx-consent {display:flex;align-items:flex-start;gap:6px;color:var(--paper-muted);font-size:11px;line-height:1.28;margin-bottom:7px;cursor:pointer}
.rdx-consent input {margin:0;width:15px;height:15px;flex:none;accent-color:var(--red)}
.rdx-consent a {text-decoration:underline;text-underline-offset:2px}
.rdx-submit {width:100%;justify-content:space-between;font-size:14px}
.rdx-form-status {font-size:10px;color:var(--paper-muted);margin-top:4px;line-height:1.25}
.rdx-form-status[data-feedback] {color:#77212b;font-weight:670}
.rdx-trust-note {display:flex;align-items:center;gap:6px;border-top:1px solid var(--paper-line);margin-top:7px;padding-top:7px;color:#49464b;font-size:11px;font-weight:650;line-height:1.3}
.rdx-trust-note svg {width:15px;height:15px;color:var(--red)}
.rdx-trust-note svg:last-child {margin-left:auto}
.rdx-trust-note:hover {text-decoration:underline}
.rdx-section {margin-top:42px}
.rdx-section-head {display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:12px}
.rdx-counter {display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:5px;min-width:24px;height:21px;letter-spacing:0;font-variant-numeric:tabular-nums;color:var(--accent)}
.rdx-section h2 {font-size:clamp(26px,3.1vw,43px);line-height:1.07;font-weight:720;margin-top:7px}
.rdx-section-head .rdx-text-link {padding-block:7px}
.rdx-services {grid-template-columns:repeat(4,minmax(0,1fr))}
.rdx-service {display:block;padding:16px 17px;transition:border-color .22s var(--ease),background-color .22s var(--ease)}
.rdx-service:hover {border-color:var(--accent)}
.rdx-service-top {display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:13px}
.rdx-service-icon {display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:var(--bg);border:1px solid var(--line);color:var(--accent)}
.rdx-service-icon svg {width:19px;height:19px}
.rdx-corner {width:17px;height:17px;color:var(--muted2);transition:transform .2s var(--ease)}
.rdx-service:hover .rdx-corner {transform:translate(2px,-2px)}
.rdx-service h3,.rdx-tool-grid h3,.rdx-proof h3 {font-size:clamp(17px,1.8vw,25px);font-weight:700;line-height:1.05}
.rdx-service p,.rdx-steps p,.rdx-tool-grid p,.rdx-proof p:last-child {font-size:13px;color:var(--muted);margin-top:8px;line-height:1.4}
.rdx-scenario {margin-top:10px;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;color:var(--muted);font-size:12px}
.rdx-scenario a {display:inline-flex;gap:6px;align-items:center;color:var(--ink);padding:7px 10px;border:1px solid var(--line);border-radius:7px}
.rdx-scenario a:hover {border-color:var(--accent)}
.rdx-scenario svg {width:13px;height:13px;color:var(--accent)}
.rdx-estimate-grid {grid-template-columns:1fr 1.55fr}
.rdx-estimate-copy {padding:24px 27px;display:flex;flex-direction:column;align-items:flex-start;background:var(--tile);border-color:var(--line)}
.rdx-estimate-copy h2 {font-size:clamp(37px,4.5vw,64px);line-height:.94;margin-top:13px}
.rdx-estimate-copy>p:not(.rdx-eyebrow) {max-width:37ch;color:var(--muted);margin:13px 0 17px}
.rdx-estimate-copy .rdx-button {margin-top:auto}
.rdx-sheet {padding:19px 22px;display:flex;flex-direction:column;background:#e7e1d7;color:var(--paper-ink);border-color:#cfc6b9;color-scheme:light}
.rdx-sheet .rdx-eyebrow {color:#754249}
.rdx-sheet-head {display:flex;justify-content:space-between;align-items:center;color:#9c343d}
.rdx-sheet h3 {font-size:clamp(20px,2.35vw,32px);line-height:1.1;margin:6px 0 11px}
.rdx-sheet dl {border-top:1px solid #c8bfb1}
.rdx-sheet dl>div {display:grid;grid-template-columns:128px 1fr;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #c8bfb1;font-size:13px}
.rdx-sheet dt {font-weight:720;display:flex;align-items:center;gap:9px}
.rdx-sheet dt span {font-size:10px;color:#8b4047;font-variant-numeric:tabular-nums}
.rdx-sheet dd,.rdx-sheet>p {color:#51484a}
.rdx-sheet>p {margin-top:auto;padding-top:12px;font-size:11px}
.rdx-steps {grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:var(--gutter) 0 0}
.rdx-steps li {display:flex;gap:11px;padding:16px}
.rdx-steps b {color:var(--accent);font-size:11px;line-height:1.65}
.rdx-steps h3 {font-size:17px;line-height:1.2;letter-spacing:-.035em}
.rdx-steps p {margin-top:4px}
.rdx-tool-grid {grid-template-columns:1.15fr 1fr}
.rdx-tool-search,.rdx-tool-links {padding:19px 21px}
.rdx-tool-search form {display:flex;align-items:stretch;gap:7px;margin-top:12px}
.rdx-tool-search input {background:var(--bg);color:var(--ink);border-color:var(--line);min-height:42px}
.rdx-tool-search input::placeholder {color:var(--muted)}
.rdx-tool-links {display:grid;align-content:center;padding-block:7px}
.rdx-tool-links a {display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:8px 0;font-size:13px}
.rdx-tool-links a:hover {color:var(--accent)}
.rdx-tool-links a:last-child {border:0}
.rdx-tool-links svg {width:15px;height:15px;color:var(--accent)}
.rdx-proof-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.rdx-proof {overflow:hidden;display:grid;grid-template-columns:.9fr 1fr;align-items:stretch}
.rdx-proof img {width:100%;height:100%;object-fit:cover;min-height:133px}
.rdx-proof>div {padding:17px}
.rdx-proof h3 {margin-top:6px}
.rdx-faq {display:grid;grid-template-columns:.72fr 1fr;gap:var(--gutter);margin-bottom:45px}
.rdx-faq-items {padding:5px 16px}
.rdx-faq details+details {border-top:1px solid var(--line)}
.rdx-faq summary {position:relative;list-style:none;min-height:44px;display:flex;align-items:center;padding:8px 20px 8px 0;font-weight:650;font-size:14px}
.rdx-faq summary::-webkit-details-marker {display:none}
.rdx-faq summary::after {content:"+";position:absolute;right:0;color:var(--accent);font-size:18px}
.rdx-faq details[open] summary::after {content:"−"}
.rdx-faq details p {margin:0 10px 12px 0;color:var(--muted);font-size:13px}
.rdx-footer {padding:23px 0 27px;border-top:1px solid var(--line);color:var(--muted)}
.rdx-footer-inner {display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:20px;font-size:13px}
.rdx-footer-inner>div {display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.rdx-footer-inner p {font-size:11px}
.rdx-footer a:hover {color:var(--accent)}

@media (max-width:1150px) {
  .rdx-wrap {width:calc(100% - 42px)}
  .rdx-top-inner {gap:15px}
  .rdx-main-nav {gap:14px}
  .rdx-contacts a+a {display:none}
  .rdx-intro-copy {padding-inline:28px}
}
@media (max-width:930px) {
  .rdx-main-nav {display:none}
  .rdx-mobile-menu {display:block}
}
@media (max-width:760px) {
  :root {--gutter:9px;--radius:16px}
  .rdx-wrap {width:calc(100% - 24px)}
  .rdx-top-inner {height:56px;gap:6px}
  .rdx-top-actions {gap:6px}
  .rdx-brand img {width:92px}
  .rdx-top-cta {display:none}
  .rdx-contacts {font-size:11px}
  .rdx-contacts a+a {display:block;font-size:10px}
  .rdx-icon-button {width:41px;height:41px}
  .rdx-hero,.rdx-estimate-grid,.rdx-tool-grid,.rdx-faq {grid-template-columns:1fr}
  .rdx-hero {padding-top:9px}
  .rdx-intro-copy {padding:13px 14px 12px}
  .rdx-intro h1 {font-size:clamp(34px,7.6vw,54px);line-height:.94;margin:7px 0 8px}
  .rdx-lede {font-size:13px;line-height:1.38}
  .rdx-hero-actions {margin-top:8px;gap:6px 10px}
  #rdx-layout .rdx-hero-actions:has(.rdx-document-picker) {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:7px;
    margin-top:12px;
  }
  #rdx-layout .rdx-hero-actions:has(.rdx-document-picker) .rdx-button {
    width:100%;
    min-width:0;
    padding-inline:12px;
    text-align:center;
    white-space:normal;
  }
  .rdx-button {min-height:44px}
  .rdx-quiet {font-size:11px}
  .rdx-quiet svg {width:12px;height:12px}
  .rdx-hero-photo {
    --hero-category-ink:var(--ink);
    --hero-category-hover:var(--accent);
    --hero-category-dot:var(--accent);
    min-height:0;
    flex:0 0 auto;
    background:var(--tile);
  }
  .rdx-hero-photo picture,.rdx-hero-photo::after {display:none}
  .rdx-hero-photo figcaption {position:static;padding-inline:8px}
  .rdx-hero-categories {justify-content:center;gap:0 9px}
  .rdx-hero-categories a + a::before {left:-6px;width:3px;height:3px}
  #rdx-layout .rdx-hero-categories a {font-size:clamp(10px,2.8vw,12px)}
  .rdx-quote {padding:10px 11px 8px}
  .rdx-quote h2 {font-size:22px;margin-block:3px 2px}
  .rdx-quote-intro {font-size:11px}
  #quote-form {margin-top:7px}
  .rdx-field-grid {gap:4px 7px}
  .rdx-field input,.rdx-field select,.rdx-field textarea {font-size:16px;padding:4px 7px}
  .rdx-field input,.rdx-field select {height:39px;margin-top:2px}
  .rdx-field textarea {min-height:47px;margin-top:2px}
  .rdx-attachment {min-height:34px;margin:5px 0}
  .rdx-consent {margin-bottom:5px}
  .rdx-form-status {margin-top:3px}
  .rdx-trust-note {margin-top:5px;padding-top:5px}
  .rdx-section {margin-top:28px}
  .rdx-section-head {align-items:flex-end;margin-bottom:9px;gap:8px}
  .rdx-section-head .rdx-text-link {white-space:normal;font-size:11px}
  .rdx-services,.rdx-proof-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .rdx-service {padding:11px}
  .rdx-service-top {margin-bottom:8px}
  .rdx-service p,.rdx-steps p,.rdx-proof p:last-child {font-size:12px}
  .rdx-scenario {gap:4px 6px}
  .rdx-scenario>span {width:100%}
  .rdx-estimate-copy,.rdx-sheet {padding:14px}
  .rdx-sheet dl>div {grid-template-columns:94px 1fr;gap:5px;padding-block:9px;font-size:11px}
  .rdx-sheet dt {gap:6px}
  .rdx-steps {grid-template-columns:1fr}
  .rdx-steps li {padding:12px}
  .rdx-tool-search,.rdx-tool-links {padding:10px 12px}
  .rdx-proof {grid-template-columns:1fr}
  .rdx-proof img {height:78px;min-height:78px}
  .rdx-proof>div {padding:9px}
  .rdx-proof .rdx-eyebrow {font-size:8px}
  .rdx-faq {margin-bottom:27px}
  .rdx-footer-inner {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .rdx-footer-inner>div:first-child {grid-column:1/-1}
}
@media (max-width:375px) {
  .rdx-wrap {width:calc(100% - 20px)}
  .rdx-intro-copy {padding-block:9px}
  .rdx-quote-heading .rdx-eyebrow,.rdx-quote-intro {display:none}
  .rdx-hero-actions .rdx-button {padding-inline:9px;gap:6px}
  .rdx-quiet {gap:3px}
}
@media (max-width:335px) {
  .rdx-top .rdx-brand img {width:77px}
  .rdx-top-actions {gap:4px}
  .rdx-icon-button {width:36px;height:40px}
}
@keyframes reveal-in {from {opacity:.96} to {opacity:1}}
@keyframes hero-in {from {opacity:.96} to {opacity:1}}
@media (prefers-reduced-motion:no-preference) {
  .rdx-intro-copy,.rdx-hero-photo {animation:hero-in .44s var(--ease) both}
  .rdx-hero-photo {animation-delay:45ms}
  .rdx-top-inner,.rdx-quote-heading {animation:hero-in .4s var(--ease) 35ms both}
  #quote-form,.rdx-trust-note {animation:hero-in .38s var(--ease) 65ms both}
  .rdx-in-view {animation:reveal-in .46s var(--ease) var(--delay,0ms) both}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*::before,*::after {animation:none!important;transition:none!important}
}

.rdx-audience-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.rdx-resource-grid {grid-template-columns:repeat(4,minmax(0,1fr));margin-top:var(--gutter)}
.rdx-audience {position:relative;padding:16px 36px 16px 16px;transition:border-color .2s var(--ease)}
.rdx-audience:hover {border-color:var(--accent)}
.rdx-audience h3 {font-size:17px;line-height:1.17;letter-spacing:-.035em}
.rdx-audience p {margin-top:6px;font-size:13px;color:var(--muted);line-height:1.35}
.rdx-audience>svg {position:absolute;top:16px;right:13px;width:16px;height:16px;color:var(--accent)}
.rdx-expertise-grid {grid-template-columns:1fr 1.35fr}
.rdx-accreditation,.rdx-lab {padding:20px 23px}
.rdx-accreditation {background:var(--paper);border-color:var(--paper-line);color:var(--paper-ink)}
.rdx-accreditation .rdx-service-icon {background:#f5e8e4;border-color:#dec6c3;color:var(--red)}
.rdx-accreditation .rdx-eyebrow {color:#754249}
.rdx-accreditation .rdx-record {font-size:clamp(21px,2.8vw,36px);letter-spacing:-.045em;font-weight:730;color:#8c2832}
.rdx-accreditation h3,.rdx-lab h3 {font-size:clamp(19px,2.1vw,29px);line-height:1.12}
.rdx-accreditation p:not(.rdx-record,.rdx-eyebrow),.rdx-lab p:not(.rdx-eyebrow) {font-size:13px;margin:8px 0 13px}
.rdx-accreditation p:not(.rdx-record,.rdx-eyebrow),.rdx-accreditation .rdx-text-link {color:var(--paper-muted)}
.rdx-lab p:not(.rdx-eyebrow) {color:var(--muted)}
.rdx-lab-tags,.rdx-lab-actions {display:flex;flex-wrap:wrap;gap:6px 10px}
.rdx-lab-tags {margin-bottom:13px}
.rdx-lab-tags span {font-size:11px;padding:4px 7px;border:1px solid var(--line);border-radius:5px;color:var(--muted)}
.rdx-team-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
.rdx-person {overflow:hidden}
.rdx-person img {width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center 20%}
.rdx-person img,.rdx-director img {filter:grayscale(1) sepia(.12)}
.rdx-person>div {padding:13px}
.rdx-person h3,.rdx-director h3 {font-size:clamp(16px,1.7vw,22px);line-height:1.15}
.rdx-person p {font-size:13px;color:var(--muted);line-height:1.35;margin-top:6px}
.rdx-team-summary {grid-template-columns:1fr 1fr;margin-top:var(--gutter)}
.rdx-director,.rdx-experience {padding:12px 15px}
.rdx-director {display:flex;align-items:center;gap:14px}
.rdx-director img {flex:none;width:96px;height:96px;border-radius:10px;object-fit:cover;object-position:center 20%}
.rdx-director h3 {margin:4px 0}
.rdx-experience>div {display:flex;gap:8px;align-items:baseline;color:var(--muted);font-size:13px}
.rdx-experience strong {font-size:27px;letter-spacing:-.05em;color:var(--ink)}
.rdx-closing {margin-bottom:32px;padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.rdx-closing p:not(.rdx-eyebrow) {color:var(--muted);margin-top:7px}
.rdx-closing-actions {display:grid;gap:8px;justify-items:start;flex:none}
@media(max-width:760px) {
  .rdx-audience-grid,.rdx-resource-grid,.rdx-team-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .rdx-audience {padding:11px 22px 11px 10px}
  .rdx-audience h3 {font-size:14px;overflow-wrap:anywhere}
  .rdx-audience p,.rdx-person p {font-size:12px}
  .rdx-audience>svg {top:12px;right:6px;width:13px;height:13px}
  .rdx-expertise-grid,.rdx-team-summary {grid-template-columns:1fr}
  .rdx-accreditation,.rdx-lab,.rdx-closing {padding:14px}
  .rdx-person>div {padding:9px}
  .rdx-closing {align-items:flex-start;flex-direction:column;margin-bottom:24px}
}
.rdx-proof-followup {grid-template-columns:1.25fr 1fr;margin-top:var(--gutter)}
.rdx-case-note {padding:15px 16px}
.rdx-case-note summary {font-size:15px;font-weight:690}
.rdx-case-note p {margin:8px 0;color:var(--muted);font-size:13px}
@media(max-width:760px) {
  .rdx-proof-followup {grid-template-columns:1fr}
  .rdx-case-note {padding:12px}
}
.rdx-faq-guide {margin-top:14px;padding:14px 16px}
.rdx-faq-guide h3 {font-size:18px;letter-spacing:-.035em}
.rdx-faq-guide p {font-size:13px;color:var(--muted);margin:4px 0 6px}
.rdx-faq-guide a {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid var(--line)}
.rdx-faq-guide strong,.rdx-faq-guide small {display:block;font-size:12px}
.rdx-faq-guide small {font-size:11px;color:var(--muted)}
.rdx-faq-guide svg {width:14px;height:14px;color:var(--accent)}
.rdx-faq-guide a:hover strong {color:var(--accent)}

.rdx-jump-anchor {display:block;height:0}
.rdx-role-picker {margin-top:27px}
.rdx-role-grid {grid-template-columns:repeat(5,minmax(0,1fr))}
.rdx-role-card .rdx-service-top {margin-bottom:9px}
.rdx-role-card h3 {font-size:clamp(15px,1.52vw,21px);line-height:1.15}
.rdx-market-icons {display:inline-flex;gap:4px;align-items:center;min-height:35px}
.rdx-market-icons img {width:26px;height:26px;object-fit:contain;border-radius:5px}
.rdx-role-crumb {display:flex;gap:8px;flex-wrap:wrap;padding-top:15px;color:var(--muted);font-size:12px}
.rdx-role-crumb a:hover {color:var(--accent)}
.rdx-role-hero .rdx-intro h1 {font-size:clamp(30px,4.25vw,61px);letter-spacing:-.065em;line-height:1}
.rdx-role-checklist {padding:16px 30px;border-top:1px solid var(--line);background:var(--bg);flex:1}
.rdx-role-checklist h2 {font-size:18px;letter-spacing:-.025em}
.rdx-role-checklist ul {padding-inline-start:19px;margin:6px 0 0;color:var(--muted);font-size:13px}
.rdx-role-checklist li+li {margin-top:3px}
#rdx-layout [hidden] {display:none!important}
#rdx-layout .rx-sent:not([hidden]) {padding:12px 0;font-size:15px;font-weight:650}
#rdx-layout [data-redico-pass-status]:not(:empty),#rdx-layout .rx-err:not(:empty) {font-size:12px;margin-top:5px}
@media(max-width:1100px) {
  .rdx-role-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px) {
  .rdx-role-picker {margin-top:24px}
  .rdx-role-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .rdx-role-card:last-child {grid-column:1/-1}
  .rdx-role-checklist {padding:12px 14px}
}

body.rdx-live > [data-rst-header-nav] {display:none!important}

.rdx-broker-benefits {grid-template-columns:repeat(6,minmax(0,1fr))}
.rdx-broker-benefits article {grid-column:span 2}
.rdx-broker-benefits article.rdx-broker-wide {grid-column:span 3}
.rdx-broker-benefits article,.rdx-broker-examples article,.rdx-broker-tile {padding:18px 20px}
.rdx-broker h3 {font-size:clamp(17px,1.8vw,24px);line-height:1.15;letter-spacing:-.035em}
.rdx-broker article p,.rdx-broker-tile p {margin-top:8px;color:var(--muted);font-size:14px}
.rdx-broker-tools {grid-template-columns:repeat(12,minmax(0,1fr))}
.rdx-broker-tile {display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.rdx-broker-tile .rdx-eyebrow {margin:0}
.rdx-broker-tile-top {display:flex;justify-content:space-between;align-items:center;width:100%;color:var(--accent)}
.rdx-broker-registry {grid-column:span 5}
.rdx-broker-tnved {grid-column:span 7}
.rdx-broker-notice {grid-column:span 7;min-height:146px}
.rdx-broker-sgr {grid-column:span 5;min-height:146px}
.rdx-broker-fsb {grid-column:span 7;min-height:245px}
.rdx-broker-registration {grid-column:span 5;min-height:245px;background:var(--paper);color:var(--paper-ink);border-color:var(--paper-line)}
.rdx-broker article.rdx-broker-registration :is(.rdx-eyebrow,p) {color:var(--paper-muted)}
.rdx-broker-registration strong {font-size:clamp(28px,4vw,46px);line-height:1;color:var(--red)}
.rdx-broker-tile .rdx-button {margin-top:auto}
.rdx-broker-prices {display:flex;flex-wrap:wrap;gap:10px 34px;margin:4px 0}
.rdx-broker-prices dt {font-size:12px;color:var(--muted)}
.rdx-broker-prices dd {font-size:clamp(21px,3vw,34px);font-weight:740;letter-spacing:-.045em}
.rdx-broker-examples {grid-template-columns:repeat(2,minmax(0,1fr))}
.rdx-broker-examples .rdx-text-link {margin-top:12px}
.rdx-broker-tools .rdx-broker-tile:hover,.rdx-broker-tools .rdx-broker-tile:focus-visible {border-color:var(--accent)}
@media(prefers-reduced-motion:no-preference) {
  .rdx-broker-tools .rdx-broker-tile {transition:translate .2s var(--ease),border-color .2s var(--ease),box-shadow .2s var(--ease)}
  .rdx-broker-tools .rdx-broker-tile:hover,.rdx-broker-tools .rdx-broker-tile:focus-visible {translate:0 -4px;box-shadow:0 12px 24px #0002}
}
@media(max-width:760px) {
  .rdx-broker-benefits article,.rdx-broker-benefits article.rdx-broker-wide {grid-column:span 3}
  .rdx-broker-tools {grid-template-columns:repeat(2,minmax(0,1fr))}
  .rdx-broker-tools .rdx-broker-tile {grid-column:span 1;min-height:0}
  .rdx-broker-tools :is(.rdx-broker-registry,.rdx-broker-tnved,.rdx-broker-fsb,.rdx-broker-registration) {grid-column:1/-1}
  .rdx-broker-benefits article,.rdx-broker-examples article,.rdx-broker-tile {padding:12px}
  .rdx-broker h3 {font-size:16px;overflow-wrap:anywhere}
  .rdx-broker article p,.rdx-broker-tile p {font-size:13px}
  .rdx-broker-examples {grid-template-columns:1fr}
}

.rdx-specialist-training,.rdx-specialist-career {grid-column:span 6;min-height:160px}
.rdx-specialist-region {grid-column:span 7;min-height:190px}
.rdx-specialist-partners {grid-column:span 5;min-height:190px}
.rdx-specialist-registry,.rdx-specialist-sgr {grid-column:span 5}
.rdx-specialist-tnved,.rdx-specialist-notice {grid-column:span 7}
.rdx-specialist-control {grid-column:1/-1}
.rdx-specialist-links {display:flex;flex-wrap:wrap;gap:8px 12px;margin:8px 0 0;padding:0;list-style:none}
.rdx-specialist-links a {display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:8px}
.rdx-specialist-links a:is(:hover,:focus-visible) {border-color:var(--accent);color:var(--accent)}
.rdx-specialist-links svg {width:14px;height:14px}
.rdx-country-guides {margin-top:14px}
.rdx-country-guides article:last-child {grid-column:1/-1}
@media(max-width:760px) {
  .rdx-specialist-tools :is(.rdx-specialist-region,.rdx-specialist-partners,.rdx-specialist-control) {grid-column:1/-1}
}

/* Manufacturer tools and the two featured specialist resources. */
.rdx-maker-search .rdx-broker-tile {grid-column:span 4;min-height:155px}
.rdx-maker-lookup {display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:auto}
.rdx-maker-lookup input {flex:1 1 132px;min-width:0;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font:inherit}
.rdx-maker-lookup .rdx-button {margin:0}
.rdx-maker-search .rdx-text-link {margin-top:4px}
.rdx-maker-services .rdx-audience,.rdx-maker-regulations .rdx-audience,.rdx-maker-guides .rdx-audience {grid-column:span 4}
.rdx-maker-services .rdx-audience:first-child {grid-column:span 7}
.rdx-maker-services .rdx-audience:nth-child(2) {grid-column:span 5}
.rdx-maker-services .rdx-audience:nth-child(3) {grid-column:1/-1}
.rdx-maker-services .rdx-maker-test-types {grid-column:1/-1}
.rdx-maker-regulations .rdx-maker-route {grid-column:span 6}
.rdx-maker-route ol {margin:0;padding-left:1.3em;color:var(--muted);font-size:14px}
.rdx-maker-route li + li {margin-top:5px}
.rdx-maker-more {display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:16px}
.rdx-specialist-documents,.rdx-specialist-samples {grid-column:span 6;min-height:174px}
.rdx-specialist-tools .rdx-specialist-documents {background:#a92332;color:#fff7f8;border-color:#d24e5d}
.rdx-specialist-tools .rdx-specialist-samples {background:var(--paper);color:var(--paper-ink);border-color:var(--paper-line)}
.rdx-specialist-tools .rdx-specialist-documents :is(p,.rdx-eyebrow,.rdx-broker-tile-top) {color:#fff0f1}
.rdx-specialist-tools .rdx-specialist-samples :is(p,.rdx-eyebrow) {color:var(--paper-muted)}
.rdx-specialist-tools .rdx-specialist-samples .rdx-broker-tile-top {color:var(--red)}
.rdx-specialist-feature h3 {font-size:clamp(21px,2.3vw,32px)}
@media (max-width:700px) {
  .rdx-maker-search .rdx-broker-tile,.rdx-maker-regulations .rdx-maker-route {grid-column:1/-1;min-height:0}
  .rdx-maker-services .rdx-audience,.rdx-maker-services .rdx-audience:nth-child(-n+2),.rdx-maker-regulations .rdx-audience,.rdx-maker-guides .rdx-audience {grid-column:span 1}
  .rdx-maker-regulations .rdx-audience:nth-child(3),#manufacturer-documents .rdx-broker-benefits article:last-child {grid-column:1/-1}
  .rdx-specialist-tools .rdx-specialist-feature {grid-column:1/-1;min-height:0}
}

@layer redicoReadability {
  @media (min-width:1000px) {
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-header-in {
      min-height:68px!important;
      padding-block:6px!important;
    }
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-header-contacts a {
      min-height:0!important;
      padding-block:2px!important;
      line-height:1.3!important;
    }
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-hdr-right {
      display:flex!important;
      align-items:center!important;
    }
  }
}
@media (min-width:1000px) and (max-height:760px) {
  body.rdx-native-header #rdx-layout .rdx-hero {padding-top:5px}
}

@layer redicoReadability {
  body.rdx-native-header .rx-skip-content:not(:focus) {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
  }
  body.rdx-native-header .rx-skip-content:focus {
    position:fixed;
    z-index:100000;
    top:8px;
    left:8px;
    padding:10px 14px;
    background:var(--paper);
    color:var(--paper-ink);
  }
  body.rdx-native-header .rx-header .rx-hdr-right:has(> #rb-theme-toggle) > #rr-theme-lamp {
    display:none!important;
  }
  html[data-rx-theme="dark"] body.rdx-native-header .rx-header .rx-logo img {filter:brightness(0) invert(1)!important}
  @media (max-width:760px) {
    body.rdx-native-header .rx-header .rpm-rail {display:none!important}
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-header-in {
      display:grid!important;
      box-sizing:border-box!important;
      width:100%!important;
      height:auto!important;
      min-height:0!important;
      grid-template-columns:minmax(0,1fr) auto auto 64px!important;
      grid-template-areas:"brand contacts menu theme"!important;
      grid-template-rows:60px!important;
      padding:5px 8px!important;
      gap:0 4px!important;
      align-items:center!important;
    }
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-header-in > .rpm-legacy {
      display:none!important;
    }
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-hdr-right {
      width:64px!important;
    }
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-hdr-right #rb-theme-toggle {
      flex:0 0 64px!important;
    }
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-header-contacts {
      width:auto!important;
      flex-direction:row!important;
      justify-content:center!important;
      gap:3px!important;
    }
    html[data-rx-bento][data-rx-reference="1"] body.rdx-native-header .rx-header .rx-header-contacts a {
      min-height:32px!important;
      font-size:13px!important;
    }
  }
}
@layer redicoReadability {
  @media (max-width:760px) {
    body.rdx-native-header #rdx-layout .rdx-intro h1 {
      font-size:clamp(34px,7.6vw,54px)!important;
      line-height:.94!important;
      margin:7px 0 8px!important;
    }
    body.rdx-native-header #rdx-layout .rdx-quote h2 {
      font-size:22px!important;
      line-height:1.1!important;
      margin:3px 0 2px!important;
    }
    body.rdx-native-header #rdx-layout .rdx-lede {
      font-size:13px!important;
      line-height:1.38!important;
      margin:0!important;
    }
  }
}

.rdx-menu-quote {padding:8px 16px 4px}
#rpm-dialog .rdx-menu-quote-button {
  min-height:44px;
  padding:8px 18px;
  border:0;
  border-radius:11px;
  background:var(--red);
  color:#fff;
  font-size:14px;
  font-weight:700;
}
#rpm-dialog .rdx-menu-quote-button:hover {background:var(--red-hover)}
@layer redicoUsability {
  @media (max-width:760px) {
    html body.rdx-native-header .rx-header.rpm-header .rx-header-in.rr-reference-header > .rpm {
      inline-size:74px!important;
      min-inline-size:74px!important;
    }
    html body.rdx-native-header .rx-header.rpm-header .rx-header-in.rr-reference-header > .rx-header-contacts {
      flex-flow:row nowrap!important;
      gap:3px!important;
    }
    html body.rdx-native-header .rx-header.rpm-header .rx-header-in.rr-reference-header .rx-logo img {
      max-width:100%!important;
    }
    html body.rdx-native-header .rx-header.rpm-header .rx-header-in > .rpm .rpm-burger {
      display:flex!important;
      inline-size:100%!important;
      min-height:44px!important;
      padding:0 9px!important;
      gap:6px!important;
      font-size:12px!important;
      font-weight:700!important;
      background:var(--tile)!important;
      border:1px solid var(--line)!important;
      border-radius:11px!important;
      color:var(--ink)!important;
    }
    html body.rdx-native-header .rx-header.rpm-header .rx-header-in > .rpm .rpm-burger:is(:hover,:focus-visible,[aria-expanded="true"]) {
      color:var(--accent)!important;
      border-color:var(--accent)!important;
    }
    #rpm-dialog .rdx-menu-quote-button {width:100%}
  }
}
@media (max-width:760px) {
  .rdx-native-header .rpm-burger .rpm-burger-icon {
    flex:none;
    width:16px;
    height:14px;
    border:0;
    color:var(--accent);
    background:linear-gradient(currentColor,currentColor) left center / 12px 2px no-repeat;
  }
  .rdx-native-header .rpm-burger .rpm-burger-icon::before,
  .rdx-native-header .rpm-burger .rpm-burger-icon::after {
    content:"";
    position:absolute;
    left:0;
    top:0;
    height:2px;
    width:16px;
    border:0;
    border-radius:2px;
    background:currentColor;
  }
  .rdx-native-header .rpm-burger .rpm-burger-icon::after {top:12px;width:8px}
}
@layer redicoReadability {
  @media (max-width:760px) and (max-height:850px) {
    body.rdx-native-header #rdx-layout .rdx-hero-actions:not(:has(.rdx-document-picker)) {
      flex-flow:row nowrap!important;
      gap:7px!important;
    }
    body.rdx-native-header #rdx-layout .rdx-hero-actions:not(:has(.rdx-document-picker)) a {
      width:auto!important;
      flex:0 1 auto!important;
      min-width:0!important;
    }
    body.rdx-native-header #rdx-layout .rdx-quote-heading :is(.rdx-eyebrow,.rdx-quote-intro) {
      display:none!important;
    }
    body.rdx-native-header #rdx-layout .rdx-field-grid {gap:3px 7px!important}
  }
}

@media (max-width:375px) and (max-height:850px) {
  body.rdx-native-header #rdx-layout .rdx-hero {padding-top:5px;row-gap:7px}
  body.rdx-native-header #rdx-layout .rdx-intro-copy {padding-block:6px}
}

/* The native header activates legacy readability rules. The Bento quote card
   uses its own light surface in both themes, including its controls. */
@layer redicoReadability {
  #rdx-layout #quote {
    --rx-readable-field-bg:#fffdfa;
    --rx-readable-field-text:var(--paper-ink);
    --rx-readable-placeholder:#6d6970;
    --rx-readable-border:var(--paper-line);
    --rx-readable-accent:var(--red);
    color:var(--paper-ink)!important;
    color-scheme:light!important;
  }
  #rdx-layout #quote :is(h2,.rdx-field,.rdx-attachment) {
    color:var(--paper-ink)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  #rdx-layout #quote .rdx-eyebrow {
    color:#7f3239!important;
    -webkit-text-fill-color:currentColor!important;
  }
  #rdx-layout #quote :is(.rdx-quote-intro,.rdx-consent,.rdx-consent a,.rdx-form-status:not([data-feedback]),.rdx-attachment small) {
    color:var(--paper-muted)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  #rdx-layout #quote .rdx-required {
    color:var(--red)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  #rdx-layout #quote .rdx-attachment input {
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    opacity:0!important;
  }
}

.rdx-seller-launch {grid-column:span 7}
.rdx-seller-supplier {grid-column:span 5}
.rdx-seller-request {grid-column:1/-1;min-height:165px}
.rdx-audience-sources {display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:12px;color:var(--muted);font-size:13px}
@media (max-width:760px) {
  .rdx-seller-scenarios .rdx-broker-tile {grid-column:1/-1;min-height:0}
}


/* These cards keep their paper surface in both themes. */
@layer redicoReadability {
  #rdx-layout :is(.rdx-sheet, .rdx-accreditation, .rdx-broker-registration, .rdx-specialist-samples) :is(h2, h3, dt) {
    color: var(--paper-ink) !important;
    -webkit-text-fill-color: currentColor !important;
  }
  #rdx-layout :is(.rdx-sheet, .rdx-accreditation, .rdx-broker-registration, .rdx-specialist-samples) :is(p, dd, .rdx-eyebrow, .rdx-text-link) {
    color: var(--paper-muted) !important;
    -webkit-text-fill-color: currentColor !important;
  }
  #rdx-layout :is(.rdx-sheet, .rdx-accreditation, .rdx-broker-registration) :is(.rdx-eyebrow, .rdx-record, dt span, strong, .rdx-text-link:is(:hover, :focus-visible)) {
    color: #873239 !important;
    -webkit-text-fill-color: currentColor !important;
  }
}


/* First-screen content is final on first paint. The SEO layer is declared
   before the rest of redicoCompact; keep this override in that same layer. */
@layer redicoCompact.redicoHomeSEO20261117 {
  html body.home #rdx-layout :is(.rdx-intro-copy,.rdx-hero-photo,.rdx-quote-heading,#quote-heading,#quote-form,.rdx-trust-note),
  html body.home .rdx-top-inner,
  html body.home #rdx-layout [data-home-seo-motion="hero"] :is(h1,.rdx-lede,.rdx-hero-actions),
  html body.home #rdx-layout .rdx-hero :is([data-reveal],[data-home-seo-reveal],[data-home-seo-entered]) {
    animation:none!important;
  }
  @media (prefers-reduced-motion:no-preference) {
    /* Reuse the opacity-only frames for lower SEO sections as well. */
    html body.home #rdx-layout [data-home-seo-entered] {
      animation-name:reveal-in!important;
    }
  }
}

/* HOME keeps a dark header in both themes. Scope states to primary navigation. */
@layer redicoCompact.redicoHomeSEO20261117 {
  body.home .rx-header #rpm-primary-nav
  :is(.rpm-trigger, .rpm-direct, .rpm-burger):is(:hover, :focus-visible, [aria-expanded="true"]) {
    background: #29323f !important;
    color: #f5f3ef !important;
    -webkit-text-fill-color: #f5f3ef !important;
  }

  body.home .rx-header #rpm-primary-nav
  :is(.rpm-trigger, .rpm-direct, .rpm-burger):focus-visible {
    outline: 2px solid #ffbdb3 !important;
    outline-offset: 2px !important;
  }
}

/* Isolated modal: no global card or form overrides. */
#rdx-products-dialog {
  --pc-bg:var(--rdx-ui-surface,#faf9f6);--pc-ink:var(--rdx-ui-ink,#252429);--pc-muted:var(--rdx-ui-muted,#626067);
  width:min(1060px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:32px 24px 20px;
  border:1px solid var(--rdx-ui-line,#d9d5cf);border-radius:26px;background:var(--pc-bg);color:var(--pc-ink);overflow:auto;
  box-shadow:0 32px 100px #0006;font-family:var(--rdx-ui-font,Arial,sans-serif);
}
#rdx-products-dialog:not([open]) {display:none}
#rdx-products-dialog::backdrop {background:rgba(12,13,16,.78);backdrop-filter:blur(8px)}
#rdx-products-dialog .rdx-pc-heading {text-align:center;padding:4px 44px 0}
#rdx-products-dialog .rdx-pc-kicker {font-size:10px;font-weight:750;letter-spacing:.16em;margin:0 0 12px;color:var(--pc-muted)}
#rdx-products-dialog h2 {font-size:clamp(25px,4vw,42px);line-height:1.1;letter-spacing:-.045em;margin:0 0 12px;color:var(--pc-ink)}
#rdx-products-dialog .rdx-pc-heading>p:last-child {font-size:14px;color:var(--pc-muted);margin:0 auto;max-width:54ch}
#rdx-products-dialog button {display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--rdx-ui-line,#d9d5cf);border-radius:50%;background:transparent;box-shadow:none;line-height:1;font-size:23px;font-weight:500;cursor:pointer}
#rdx-products-dialog .rdx-pc-close {position:absolute;right:16px;top:16px;z-index:5}
#rdx-products-dialog .rdx-pc-stage {position:relative;height:364px;perspective:1100px;overflow:hidden;touch-action:pan-y;margin:12px -12px 0}
#rdx-products-dialog .rdx-pc-card {
  --pc-paper:#fff6f4;--pc-tint:#ecd9d7;--pc-edge:#d7bab9;
  --pc-icon:#b43b4a;--pc-icon-shade:#8e202d;--pc-icon-shadow:#d6b6b8;
  position:absolute;left:50%;top:20px;width:300px;height:326px;margin-left:-150px;padding:22px;
  border:1px solid var(--pc-edge);border-radius:22px;background:linear-gradient(140deg,var(--pc-paper),var(--pc-tint));box-shadow:0 14px 30px #0002;
  text-decoration:none;display:flex;flex-direction:column;transform:translateX(0) rotateY(0);opacity:1;z-index:3;
  transition:transform .45s cubic-bezier(.22,.75,.24,1),opacity .35s,box-shadow .2s;
}
#rdx-products-dialog .rdx-pc-card[data-pc-icon="doc"] {
  --pc-paper:#faf7f0;--pc-tint:#e9dfcf;--pc-edge:#d4c3ac;
  --pc-icon:#85654a;--pc-icon-shade:#63442e;--pc-icon-shadow:#cebaa4;
}
#rdx-products-dialog .rdx-pc-card[data-pc-icon="drops"] {
  --pc-paper:#f3f8f4;--pc-tint:#d9e7df;--pc-edge:#b9cdc3;
  --pc-icon:#4c7264;--pc-icon-shade:#2c5548;--pc-icon-shadow:#b0c8ba;
}
#rdx-products-dialog .rdx-pc-card[data-pc-icon="shield"] {
  --pc-paper:#f3f6fb;--pc-tint:#dbe3ee;--pc-edge:#bec9db;
  --pc-icon:#526b87;--pc-icon-shade:#364e6c;--pc-icon-shadow:#b4c3d7;
}
#rdx-products-dialog .rdx-pc-card[data-pc-icon="lab"] {
  --pc-paper:#f8f5fa;--pc-tint:#e6ddeb;--pc-edge:#cfc1d7;
  --pc-icon:#785c83;--pc-icon-shade:#563a63;--pc-icon-shadow:#c6b5cf;
}
#rdx-products-dialog .rdx-pc-card[data-position="1"] {transform:translateX(280px) translateZ(-110px) rotateY(-25deg);z-index:2}
#rdx-products-dialog .rdx-pc-card[data-position="-1"] {transform:translateX(-280px) translateZ(-110px) rotateY(25deg);z-index:2}
#rdx-products-dialog .rdx-pc-card[data-position="2"] {transform:translateZ(-350px) scale(.7);opacity:0;pointer-events:none;z-index:0}
#rdx-products-dialog .rdx-pc-card:hover {box-shadow:0 18px 40px #0004;border-color:#b0202b}
#rdx-products-dialog .rdx-pc-number {font-size:11px;font-weight:700;letter-spacing:.1em}
#rdx-products-dialog .rdx-pc-art {height:110px;display:grid;place-items:center;position:relative;margin:4px 0 10px}
#rdx-products-dialog .rdx-pc-art::before {content:"";position:absolute;width:112px;height:86px;border-radius:24px;background:linear-gradient(140deg,var(--pc-icon),var(--pc-icon-shade));box-shadow:12px 12px 0 var(--pc-icon-shadow),18px 22px 20px #0002;transform:rotate(-10deg) skewY(4deg)}
#rdx-products-dialog .rdx-pc-art svg {position:relative;width:58px;height:58px;color:#fff;stroke-width:1.2;filter:drop-shadow(0 3px 2px #0003)}
#rdx-products-dialog h3 {font-size:25px;line-height:1.1;margin:0 0 10px;letter-spacing:-.035em}
#rdx-products-dialog .rdx-pc-card p {font-size:14px;line-height:1.45;margin:0 0 12px}
#rdx-products-dialog .rdx-pc-action {display:flex;justify-content:space-between;margin-top:auto;padding-top:16px;font-size:13px;font-weight:750;border-top:1px solid var(--pc-edge)}
#rdx-products-dialog .rdx-pc-controls {display:flex;gap:20px;justify-content:center;align-items:center;margin:4px auto 20px}
#rdx-products-dialog .rdx-pc-status {min-width:180px;text-align:center;font-size:13px;font-weight:650}
#rdx-products-dialog .rdx-pc-footer {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--rdx-ui-line,#d9d5cf);font-size:12px;color:var(--pc-muted)}
#rdx-products-dialog .rdx-pc-footer a {font-weight:650;text-decoration:underline;text-underline-offset:4px}
@layer redicoReadability {
 #rdx-products-dialog :is(h2,button,.rdx-pc-status,.rdx-pc-footer a) {color:var(--pc-ink)!important;-webkit-text-fill-color:var(--pc-ink)!important}
 #rdx-products-dialog .rdx-pc-card,#rdx-products-dialog .rdx-pc-card :is(h3,p,span) {color:#29262b!important;-webkit-text-fill-color:#29262b!important}
 #rdx-products-dialog button:hover {color:#fff!important;-webkit-text-fill-color:#fff!important;background:#a9212d!important}
 #rdx-products-dialog :is(a,button):focus-visible {outline:3px solid #da525e!important;outline-offset:3px}
 #rdx-products-dialog .rdx-pc-card:hover .rdx-pc-action {color:#a21e2a!important;-webkit-text-fill-color:#a21e2a!important}
}
@media(max-width:600px) {
 #rdx-products-dialog {width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:54px 16px 18px;border-radius:20px}
 #rdx-products-dialog .rdx-pc-heading {padding:0}
 #rdx-products-dialog .rdx-pc-stage {height:344px;margin-inline:-16px}
 #rdx-products-dialog .rdx-pc-card {width:250px;height:310px;margin-left:-125px;padding:20px}
 #rdx-products-dialog .rdx-pc-card[data-position="1"] {transform:translateX(240px) translateZ(-150px) rotateY(-24deg)}
 #rdx-products-dialog .rdx-pc-card[data-position="-1"] {transform:translateX(-240px) translateZ(-150px) rotateY(24deg)}
 #rdx-products-dialog .rdx-pc-controls {gap:8px}
 #rdx-products-dialog .rdx-pc-status {min-width:0;flex:1;max-width:205px;font-size:12px}
 #rdx-products-dialog .rdx-pc-footer {justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:reduce) {#rdx-products-dialog .rdx-pc-card {transition:none}}

#rdx-products-dialog .rdx-pc-footer a {display:inline-flex;align-items:center;gap:5px}
#rdx-products-dialog .rdx-pc-footer svg {width:14px;height:14px}
/* The service catalogue shares data with the homepage grid. */
#rdx-products-dialog .rdx-pc-card[aria-hidden="true"] {transform:translateZ(-350px) scale(.7);opacity:0;pointer-events:none;z-index:0;visibility:hidden}
#rdx-products-dialog .rdx-pc-stage {height:420px}
#rdx-products-dialog .rdx-pc-card {height:382px;width:320px;margin-left:-160px}
#rdx-products-dialog .rdx-pc-art {height:86px;flex:none;margin:4px 0 16px}
#rdx-products-dialog .rdx-pc-art::before {width:92px;height:70px;border-radius:20px}
#rdx-products-dialog .rdx-pc-art svg {width:48px;height:48px}
#rdx-products-dialog h3 {font-size:24px;line-height:1.15}
#rdx-products-dialog .rdx-pc-action {padding-top:12px}
#rdx-products-dialog .rdx-pc-jump {display:flex;align-items:center;justify-content:center;gap:12px;margin:20px auto 0;max-width:590px}
#rdx-products-dialog .rdx-pc-jump label {font-size:12px;font-weight:600;flex:none}
#rdx-products-dialog .rdx-pc-jump select {min-width:0;width:100%;max-width:390px;min-height:44px;border:1px solid var(--rdx-ui-line);border-radius:10px;padding:8px 30px 8px 12px;font:inherit;font-size:13px;background:var(--pc-bg);color:var(--pc-ink)}
#services .rdx-services-21 {grid-template-columns:repeat(3,minmax(0,1fr))}
#services .rdx-services-21 .rdx-service {padding:20px;min-height:160px}
#services .rdx-services-21 h3 {font-size:22px;line-height:1.15}
#services .rdx-services-21 .rdx-service-number {font-size:11px;color:var(--muted);margin-left:auto;margin-right:8px}
#services .rdx-services-21 .rdx-service-top {margin-bottom:12px}
#services .rdx-services-21 .rdx-service:hover {transform:translateY(-3px);border-color:var(--accent)}
#services .rdx-services-21 .rdx-service {transition:transform .2s,border-color .2s}
@layer redicoReadability {
 #rdx-products-dialog .rdx-pc-jump :is(label,select) {color:var(--pc-ink)!important;-webkit-text-fill-color:var(--pc-ink)!important}
}
@media(max-width:800px) {#services .rdx-services-21 {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px) {
 #rdx-products-dialog .rdx-pc-stage {height:414px}
 #rdx-products-dialog .rdx-pc-card {width:270px;height:386px;margin-left:-135px}
 #rdx-products-dialog .rdx-pc-art {height:66px;margin-bottom:13px}
 #rdx-products-dialog .rdx-pc-art::before {width:76px;height:55px;border-radius:15px}
 #rdx-products-dialog .rdx-pc-art svg {width:39px;height:39px}
 #rdx-products-dialog h3 {font-size:23px}
 #rdx-products-dialog .rdx-pc-jump {display:block;margin-top:14px}
 #rdx-products-dialog .rdx-pc-jump label {display:block;margin-bottom:5px}
 #rdx-products-dialog .rdx-pc-jump select {max-width:none}
 #services .rdx-services-21 .rdx-service {padding:16px;min-height:0}
 #services .rdx-services-21 h3 {font-size:20px}
}
@media(max-width:460px) {#services .rdx-services-21 {grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce) {#services .rdx-services-21 .rdx-service {transition:none}}
