.ydr-consent {
  display: grid;
  gap: 9px;
  margin: 14px 0 12px;
  color: #273648;
  font: 400 11px/1.5 Arial, Helvetica, sans-serif;
  text-align: left;
}

.ydr-collection-notice {
  margin: 0 0 3px;
  padding: 9px 10px;
  border-left: 2px solid rgba(139, 105, 20, 0.55);
  background: rgba(139, 105, 20, 0.06);
  color: #273648;
  font: 400 10px/1.55 Arial, Helvetica, sans-serif;
  opacity: 0.82;
}

.ydr-collection-notice a {
  color: #6f5312;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ydr-consent-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #273648;
  cursor: pointer;
  opacity: 0.72;
}

.ydr-consent-option a {
  color: #6f5312;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ydr-consent-option input[type="checkbox"] {
  appearance: auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #8b6914;
}

.ydr-consent-required {
  font-weight: 600;
  opacity: 0.9;
}

.ydr-field-label {
  display: block;
  margin: 0 0 6px;
  color: #273648;
  font: 600 11px/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: 0.04em;
}

.ydr-field-label span {
  font-weight: 400;
}

.ydr-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

[data-lead-status] {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: #273648;
  font: 600 12px/1.5 Arial, Helvetica, sans-serif;
  text-align: left;
}

[data-lead-status][data-lead-error] {
  color: #a52a2a;
}

[data-lead-status]:focus,
[data-lead-success]:focus {
  outline: 3px solid #8b6914;
  outline-offset: 4px;
}

.ydr-license-disclosure {
  color: #273648 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  opacity: 1 !important;
}

form[data-ydr-lead-form] :focus-visible {
  outline: 3px solid #8b6914;
  outline-offset: 2px;
}

/* The California relocation form is rendered on a nearly black panel. */
.cfw .ydr-collection-notice {
  border-left-color: #e8c97a;
  background: rgba(232, 201, 122, 0.12);
  color: #f5f0e8;
  opacity: 1;
}

.cfw .ydr-collection-notice a,
.cfw .ydr-consent-option a {
  color: #e8c97a;
}

.cfw .ydr-consent,
.cfw .ydr-consent-option,
.cfw [data-lead-status],
.cfw .ydr-license-disclosure {
  color: #f5f0e8 !important;
}

.cfw .ydr-consent-option {
  opacity: 0.9;
}

.cfw .ydr-consent-required {
  opacity: 1;
}

.cfw [data-lead-status][data-lead-error] {
  color: #ffb4ab !important;
}

.cfw form[data-ydr-lead-form] :focus-visible,
.cfw [data-lead-status]:focus,
.cfw [data-lead-success]:focus {
  outline-color: #e8c97a;
}

form[aria-busy="true"] {
  cursor: progress;
}

@media (max-width: 600px) {
  body:has(form[data-ydr-lead-form]:focus-within) .a11y-widget {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}
