<div class="compose-autosuggest {shown ? '' : 'not-shown'} {realm === 'dialog' ? 'is-dialog' : ''}"
     style="top: {top}px; --autosuggest-input-left: {left}px;"
>
  <ComposeAutosuggestionList
    items={autosuggestSearchResults}
    on:click="onClick(event)"
    type={autosuggestType}
    selected={autosuggestSelected}
    {realm}
  />
</div>
<style>
  .compose-autosuggest {
    position: absolute;
    z-index: 90;
    --autosuggest-input-left: 0; /* overridden by "left" prop passed in */
    --autosugges