/* =============================================================
   STOCK MODE (html.esdm-stock) - DARK MODE
   -------------------------------------------------------------
   The app's native dark mode. No ESDM overrides apply here:
   every branding rule is guarded by :where(html:not(.esdm-stock)),
   so stock dark renders the vanilla Microsoft Remote Desktop
   Web Client dark appearance.
   ============================================================= */

/* The bg_esdm body edit lives on minified line 1 (cannot be
   prefixed) -> undo it here too so stock dark (which loads this file,
   not the stock light file) drops the photo and shows the native flat
   dark surface. */
:where(html.esdm-stock) body.dark{
    background-image:none !important;
}

/* The brand words are forced BLACK by base.css in stock look (:where
   cherry-picks the prefixed rule). In DARK mode the stock nav bar is
   near-black (rgb(17,16,15)) so black-on-black text is unreadable -
   the words must revert to the Fluent brand blue, exactly as they do
   on the stock light nav. This rule out-specifies the base black rule. */
:where(html.esdm-stock) body.dark .navbar-session-container::before{
    color:#0078d4 !important;
}