@scope (search-ui) {
  :where(:scope) {
    /* ── Tokens ── */
    --search-radius-default:      var(--a-radius);
    --search-duration-default:    var(--a-duration-fast);
    --search-easing-default:      var(--a-easing);
    text-align: start;  /* §text-align-reset — blocks inheritance from centered ancestors */
}

  :scope {
    display: block;
  }

  /* Hide clear icon when empty */
  :scope[value=""] [slot="suffix"],
  :scope:not([value]) [slot="suffix"] {
    opacity: 0;
    pointer-events: none;
  }

  [slot="suffix"] {
    transition: opacity var(--search-duration, var(--search-duration-default)) var(--search-easing, var(--search-easing-default));
  }

  /* Override input-ui radius to pill for search */
  input-ui {
    --input-radius: var(--search-radius, var(--search-radius-default));
  }
}
