/* ESVYLA 5.27.65: approved tablet/desktop header and assistant overlay repair. */
/* The monitor and its transport use unusually high layers on iPad; the assistant must win. */
html body > #lumetraAssistantScrim.lumetraAssistantScrim{z-index:2147483100!important}
html body > #lumetraAssistantPanel.lumetraAssistantPanel{z-index:2147483101!important}
/* The assistant remains a fixed top-level overlay, not a child of the editor. */
html body > #lumetraAssistantPanel.lumetraAssistantPanel:not([hidden]){visibility:visible!important;pointer-events:auto!important}
@media (min-width:761px){
  /* Match the sidebar logo with the app header's centre line, nudging it up 3px. */
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaRailLogo,
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaBrandWordmark{position:relative!important;top:-3px!important}
  html body #creatorApp .page>header{margin-top:0!important;top:0!important}
}
@media (max-width:760px){
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaRailLogo,
  html body #creatorApp #sidebar .esvylaSidebarBrand .esvylaBrandWordmark{position:relative!important;top:-3px!important}
}

/* ESVYLA 5.27.66 — resolve earlier conflicting top offsets with one final
   absolute-centering rule. Logo artwork is unchanged. */
@media (min-width:761px){
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand{position:relative!important}
 html body #creatorApp.esvylaDesktopCollapsed #sidebar.sidebar .esvylaSidebarBrand img.esvylaRailLogo{
  display:block!important;position:absolute!important;left:50%!important;
  top:calc(50% - 10px)!important;bottom:auto!important;right:auto!important;
  transform:translate(-50%,-50%)!important;margin:0!important;
  width:34px!important;height:34px!important;object-fit:contain!important;
 }
}
@media (max-width:760px){
 html body #creatorApp #sidebar .esvylaSidebarBrand img.esvylaRailLogo{
  transform:translateY(-7px)!important;
 }
}
