Enqueue CSS file for the canvas only

Hi

I have created a section template which is displayed using the hook bricks_after_header on the start page. Unfortunately, this template is not displayed in the canvas when editing the start page. If I have researched correctly, this is, at least for the moment, an intended behavior.
The content in the section template is a position:fixed area. Using a CSS file, we assign a padding-top in the height of the section template to the content area (#brx-content) of the start page so that the content of the template remains visible. If the start page is opened for editing, there is a long empty area at the beginning (due to the padding-top in connection with the template, which is not rendered).

To work around, I would like to use CSS to remove the padding-top when the start page is displayed in the canvas. Is it possible to load a CSS file (or apply CSS styles) for the canvas only?

Thank you very much.