/**
 * digit-field.css — Ops UI Library: DigitField visual feedback
 *
 * Single rule that paints an input red while its current length is non-empty
 * but does not match any allowed lengths. Toggled by lib/digit-field.js.
 *
 * `!important` is required to override the default `.sl-input` background from
 * slider.js — slider form fields use rendering-specific selectors with higher
 * specificity than a plain class.
 */

.is-invalid-length {
    background: rgba(244, 67, 54, 0.15) !important;
    border-color: #e57373 !important;
    transition: background 0.2s, border-color 0.2s;
}
