/* IMCURE ds fixes (loaded on every front-end page by inc/ds-core.php; classic + v2). Additive, markup/ids/JS untouched.
   1) Floating labels (.ic-field): the label must float whenever the field has a value, however it got there: typed, set by script,
      or filled by browser autofill. Uses :placeholder-shown (all .ic-field inputs carry placeholder=" ") and the autofill pseudo-classes,
      so it no longer depends on the JS has-value class alone (which only listens to 'input'). */
.ic-field input:not(:placeholder-shown) ~ label,
.ic-field textarea:not(:placeholder-shown) ~ label,
.ic-field input:-webkit-autofill ~ label,
.ic-field input:autofill ~ label,
.ic-field textarea:-webkit-autofill ~ label {
  top: 6px !important; font-size: 0.68rem !important; font-weight: 700 !important; letter-spacing: .01em;
}
.ic-field input:not(:placeholder-shown) ~ label,
.ic-field textarea:not(:placeholder-shown) ~ label { color: var(--ic-vital, #2358DC); }
