/*
 * Patch 035 — Canonical Type A conversion-form contrast.
 *
 * Root cause:
 * Patch 014's historical "dark-form microcopy" rule also targeted
 * .rr-conversion--form. The canonical Type A component now renders its
 * RCL form inside a WHITE .rr-conversion__form-card, so that old rule
 * forced labels/privacy copy to light colours on a light surface.
 *
 * This late visual-only layer restores the intended light-card palette.
 */

/* Labels on the white canonical Type A form card. */
body.r111-rollout-active
.rr-conversion--form
.rr-conversion__form-card
.rr-conversion__form-body
:where(.rr-p014-rcl,[data-rcl-form])
:where(label,.rcl-label) {
  color: var(--rr-conv-navy, #0f2340) !important;
  -webkit-text-fill-color: var(--rr-conv-navy, #0f2340) !important;
  opacity: 1 !important;
}

/* Helper / description / privacy copy on the same light card. */
body.r111-rollout-active
.rr-conversion--form
.rr-conversion__form-card
.rr-conversion__form-body
:where(.rr-p014-rcl,[data-rcl-form])
:where(
  .rcl-privacy,.rcl-help,.rcl-helper,.rcl-note,.rcl-description,
  .form-privacy,.form-help,.form-note,.privacy,.description
) {
  color: #5f6f7f !important;
  -webkit-text-fill-color: #5f6f7f !important;
  opacity: 1 !important;
}

/* Structural fallback used by the current RCL output for privacy copy. */
body.r111-rollout-active
.rr-conversion--form
.rr-conversion__form-card
.rr-conversion__form-body
:where(.rr-p014-rcl,[data-rcl-form])
form > p:last-of-type {
  color: #5f6f7f !important;
  -webkit-text-fill-color: #5f6f7f !important;
  opacity: 1 !important;
}

/* Keep validation/error text readable on white. */
body.r111-rollout-active
.rr-conversion--form
.rr-conversion__form-card
.rr-conversion__form-body
:where(.rr-p014-rcl,[data-rcl-form])
:where(.error,.rcl-error,[aria-invalid="true"] + span) {
  color: #a43434 !important;
  -webkit-text-fill-color: #a43434 !important;
  opacity: 1 !important;
}
