/* Host-side placement for Ember plugin slots in Bulwark 1.12.0 (linked into every page by bulwark/edge.conf).
   A slot iframe is width:100% inside a plain flex item, so in the composer's bottom toolbar the item takes
   the iframe's 300px default and nothing inside the sandboxed frame can change it. Measured live at 390px:
   the host's own toolbar buttons shrank from 36px to 17px. Even a fixed 40px cell does not fit, because
   the toolbar already fills a phone: Discard was pushed 11px off screen at 390px and 41px at 360px.
   So the ember-compose-assist trigger is taken out of the toolbar's flex flow. It floats as one 40px
   button at the bottom-right of the composer's main column (position:relative in email-composer.tsx),
   just above the toolbar. The toolbar layout is then identical to having no plugin. Its DOM position is
   unchanged, so keyboard order (toolbar, then trigger, then Discard) stays the same. This applies only
   when it is the slot's only plugin. */
[data-plugin-slot="composer-toolbar"]:has(> [data-plugin-iframe-slot="ember-compose-assist:composer-toolbar"]:only-child) {
  position: absolute;
  right: 12px;
  bottom: calc(68px + env(safe-area-inset-bottom) / 2);
  width: 40px;
  z-index: 5;
}
