The ribbon's command-search field had its own area at `Order::Foreground`, so it painted above every system window: a Preferences card moved under the top right corner showed the search field floating on top of it, while the rest of the ribbon went under the card as it should. Closed, the field is ribbon chrome and now draws at `Order::Background` with the rest of the ribbon; open (or animating open or shut), it keeps `Order::Foreground` so the results sheet still floats over every window. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>