/* ========================================================================
   GaliVue V5.1.148 — TABLET UNSAVED CLIENT SETUP ROUTE OWNER

   Scope: authenticated unsaved Client Selection setup on tablet/compact
   workspace widths only (768–1100px).

   The previous tablet correction depended on a transient panel class. During
   hard-refresh hydration that class can briefly be removed/re-added while the
   legacy V3.9.13 project-mode sticky rule is still active. V5.1.148 gives the
   URL-owned unsaved setup route its own root state and loads this owner last.

   Contract:
   - unsaved Client Selection setup context bar is normal document flow;
   - title stays readable on the black context bar;
   - saved projects keep their established sticky project context bar;
   - phone/mobile and desktop >1100px remain unchanged.
   ======================================================================== */

@media (min-width:768px) and (max-width:1100px) {
  html[data-gv51148-unsaved-client-setup="1"] body #dashboardDialog
    #dashboardPanel .gv399-active-project-topbar,
  html body #dashboardDialog
    #dashboardPanel.gv51129-new-project-setup .gv399-active-project-topbar {
      position:relative!important;
      top:auto!important;
      right:auto!important;
      bottom:auto!important;
      left:auto!important;
      inset:auto!important;
      z-index:2!important;
      margin:0 0 10px!important;
      transform:none!important;
    }

  html[data-gv51148-unsaved-client-setup="1"] body #dashboardDialog
    #dashboardPanel .gv399-active-project-topbar #activeProjectName,
  html body #dashboardDialog
    #dashboardPanel.gv51129-new-project-setup .gv399-active-project-topbar #activeProjectName {
      color:#fff!important;
      opacity:1!important;
    }
}
