/* Scope only to fields flagged invalid: compatible with existing KF upload components. */
.kf-field-invalid:not([type="hidden"]), .kf-select-button.kf-field-invalid {
  border-color:#d94f58!important; outline:1px solid #d94f58!important;
  box-shadow:0 0 0 3px rgba(217,79,88,.14)!important;
}
.kf-field-invalid-group > label:first-child, label.kf-field-invalid-group {color:#d94f58;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

/* Required fields: visible labels, not a second validation mechanism. */
.kf-required-mark{color:#ee6b73!important;font-size:1em!important;font-weight:700!important;display:inline!important;margin-left:2px;white-space:nowrap}
.kf-required-legend{font-size:12px!important;color:#aeb9b8!important;margin:8px 0!important;line-height:1.4}
