/* MANTRA V693 — Dashboard / Print Enquiries visibility + single active sidebar owner.
   UI/navigation-state cleanup only. No billing, rate, HSN/SAC, API or permission logic changes. */

/* Enquiries must never be painted below Dashboard or any other page. */
body:not(.v283-enquiries-page):not(.v284-enquiries-page):not(.v285-enquiries-page) #enquiriesPanel{
  display:none!important;
  visibility:hidden!important;
}
body.v283-enquiries-page #enquiriesPanel,
body.v284-enquiries-page #enquiriesPanel,
body.v285-enquiries-page #enquiriesPanel{
  display:block!important;
  visibility:visible!important;
}

/* One visual selection only. Non-active rows always return to the dark main-sidebar box. */
html.v682-auth body #referenceSidebar .sidebar-nav .side-nav:not(.active):not(:hover),
html.v682-auth body #referenceSidebar .sidebar-nav a.side-nav:not(.active):not(:hover),
html body.login-clean-logged-in #referenceSidebar .sidebar-nav .side-nav:not(.active):not(:hover),
html body.login-clean-logged-in #referenceSidebar .sidebar-nav a.side-nav:not(.active):not(:hover){
  background:linear-gradient(180deg,#0c4c86,#083b6c)!important;
  border-color:rgba(255,255,255,.09)!important;
  color:#f7fbff!important;
  box-shadow:none!important;
}
html.v682-auth body #referenceSidebar .sidebar-nav .side-nav.active,
html.v682-auth body #referenceSidebar .sidebar-nav a.side-nav.active,
html body.login-clean-logged-in #referenceSidebar .sidebar-nav .side-nav.active,
html body.login-clean-logged-in #referenceSidebar .sidebar-nav a.side-nav.active{
  background:linear-gradient(90deg,#40aff8,#1577ec)!important;
  border-color:rgba(157,220,255,.55)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(7,84,193,.24)!important;
}

/* Keyboard/focus must not look like a second selected row. */
html.v682-auth body #referenceSidebar .sidebar-nav .side-nav:focus:not(:hover):not(.active),
html.v682-auth body #referenceSidebar .sidebar-nav a.side-nav:focus:not(:hover):not(.active),
html body.login-clean-logged-in #referenceSidebar .sidebar-nav .side-nav:focus:not(:hover):not(.active),
html body.login-clean-logged-in #referenceSidebar .sidebar-nav a.side-nav:focus:not(:hover):not(.active){
  background:linear-gradient(180deg,#0c4c86,#083b6c)!important;
  color:#f7fbff!important;
  box-shadow:none!important;
  outline:none!important;
}
