/* fk: radio (Kendo RadioButton / RadioGroup) */

/* Kendo Vue 6.4.1 omits span.k-radio-wrap, so consumers add .k-radio-wrap to
   an ancestor; the theme's custom radio styling (sizes, 40% disabled circle)
   applies only inside it. See docs/design/seleste-specificity-overrides.md. */

/* FEATHER-1242: Kendo Vue RadioGroup puts .k-disabled on li.k-radio-item, so
   the circle, label, and item content are dimmed together and the item
   ignores the pointer. A standalone RadioButton only disables its <input>:
   the label stays full strength and keeps cursor: pointer. Give the
   RadioButton root the same declarations as Kendo's .k-disabled (theme
   8.2.0). :not(.k-disabled) skips RadioGroup items, already dimmed by the
   <li>. Assumes Kendo Vue 6.4.1 markup (the input is a direct child of the
   root); revisit if Kendo renders its own span.k-radio-wrap around the input. */
:where(:not(.k-disabled)):has(> input[type="radio"].k-radio:disabled) {
  outline: none;
  cursor: default;
  color: var(--kendo-disabled-text, inherit);
  opacity: var(--kendo-disabled-opacity, 0.6);
  filter: var(--kendo-disabled-filter, grayscale(0.1));
  pointer-events: none;
}
