Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.
This Tutorial focuses on how to test CSS changes in a live Chrome browser using Developer Tools after you have already identified the CSS Selector you would like to modify. For assistance with identifying a specific or desired CSS Selector, please review the KB Article under Recommended Reading:
KB Article: https://community.Strategy.com/s/article/Finding-CSS-to-Change-the-Look-and-Feel-of-Strategy-Web-Using-the-Web-SDK
Developer tools exposes the functionality to live-test CSS on the page. Any changes made here are temporary and are reset as soon as the page is refreshed. This can be done using the "Styles" tab:

In the example above, I added a new CSS rule to the page:
This feature is extremely useful to find and experiment with the CSS rules that achieve the desired goal.
This a useful feature to prioritize a custom rule if there are conflicting built-in CSS rules.
However, it should only be used as a last-resort if no other options are available. Read more here: https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
Parts of Strategy Web heavily driven in Javascript often use ID values starting with "mstr" followed by a number. Here is an example from the Dossier page:

We can see there is a unique id value for this dataset objects panel "mstr86", and there are 3 class values "mstrmojo-VIPanel mstrmojo-VIDatasetObjects mstrmojo-VIDocDatasetObjects".
When finding a HTML element with an ID value of "mstr" and a number, such as "mstr86", consider that:
In summary, these type of ID values cannot be relied on as they will change under varying conditions, which cannot be controlled. It's recommended to avoid building customizations that depend on #mstrxx values.
Alternatives
Instead of relying on this kind of ID value, we need to rely on the alternatives. This is what we found from looking at the HTML driving this part of the page:
We can see in the above example there are two specific alternatives we can try instead of relying on the id value.
In addition to "mstrxx" style ID values, coded id values may also be seen on some pages, as shown in the example screenshot below:

These are also dynamically generated, similar to the mstrxx, and represent internal references to objects rendered through javascript. These cannot be relied on either, and instead the same alternatives as those described above should be explored.
KB Article: https://community.Strategy.com/s/article/Implementing-a-Plugin-to-Change-the-Look-and-Feel-of-Strategy-Web-using-Web-SDK