/*
 * Do not let iOS's native control color override the surrounding site palette.
 * Zero specificity keeps every component's explicit colors and states in charge.
 * Disabled controls retain their component or browser disabled appearance.
 */
:where(
    button:not(:disabled),
    select:not(:disabled),
    input[type="button"]:not(:disabled),
    input[type="submit"]:not(:disabled),
    input[type="reset"]:not(:disabled)
) {
    color: inherit;
}

/* These are custom image/text choices, not native form buttons. */
:where(
    .kwmclaren-colors button,
    .kw4024-colors button,
    .kw4034-colors button,
    .kw6004-colors button,
    .kw2920-colors button
) {
    -webkit-appearance: none;
    appearance: none;
}

/* Link/button feedback follows KeepWin's palette, including mobile tap feedback.
   Color only: preserve each component's focus width and pointer-close suppression. */
body.kw-site :is(a[href],button:not(:disabled),summary,[role="tab"],[tabindex]):focus-visible {
    outline-color: #98643f !important;
}
body.kw-site :is(a[href],button:not(:disabled),summary,[role="tab"]) {
    -webkit-tap-highlight-color: rgba(152,100,63,.16);
}
