.ComposerEmbeddedMessage {
  --accent-color: var(--color-primary);

  height: 3.125rem;
  /* stylelint-disable-next-line plugin/no-low-performance-animation-properties */
  transition: height 150ms ease-out, opacity 150ms ease-out;

  .select-mode-active + .middle-column-footer & {
    display: none;
  }

  &:not(.open) {
    height: 0 !important;
  }

  body.no-message-composer-animations & {
    transition: none !important;
  }

  &_inner {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
  }

  & .embedded-left-icon {
    position: relative;

    display: grid;
    flex-shrink: 0;
    place-content: center;

    height: 2.625rem;
    padding: 0.5625rem 0.75rem 0.5625rem 1rem;

    font-size: 1.5rem;
    color: var(--accent-color);

    background: none !important;

    @media (max-width: 600px) {
      width: 2.875rem;
    }
  }

  & .embedded-cancel {
    flex-shrink: 0;
    align-self: center;

    width: auto;
    height: 1.5rem;
    margin: 0.5625rem 0.6875rem 0.5625rem 0.75rem;
    padding: 0;

    color: var(--accent-color, var(--color-primary));

    background: none !important;

    @media (max-width: 600px) {
      margin: 0.5625rem 0.75rem 0.5625rem 0.5rem;
    }
  }

  .forward-context-menu {
    position: absolute;

    .bubble {
      width: auto;
    }
  }

  .quote-reply {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 0.5rem;

    @media (max-width: 600px) {
      right: 0.625rem;
    }
  }
}
