/* Browsers requesting a desktop site on a phone commonly report a 980px CSS viewport. At this width a fixed sidebar leaves the workspace visibly off-center. Use a centered, full-width workspace and horizontal navigation instead. */
@media screen and (min-width:721px) and (max-width:1100px){
  html,body,#app{width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
  .shell{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:min(100%,980px)!important;max-width:980px!important;min-width:0!important;margin:0 auto!important;padding:0 24px 32px!important;box-sizing:border-box!important;}
  .shell>*:not(.boutique-nav){width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box;}
  .shell>.boutique-nav{position:relative!important;inset:auto!important;z-index:auto!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;align-self:stretch!important;gap:6px!important;width:100%!important;height:auto!important;min-height:0!important;max-width:100%!important;margin:0 0 12px!important;padding:8px 10px!important;overflow-x:auto!important;overflow-y:hidden!important;border-right:0!important;border-bottom:1px solid #eee0dd!important;box-sizing:border-box!important;}
  .shell>.boutique-nav .sidebar-brand{flex:0 0 72px!important;padding:0!important;}
  .shell>.boutique-nav .sidebar-brand img{width:72px!important;height:62px!important;object-fit:contain!important;}
  .shell>.boutique-nav .sidebar-brand>span,.shell>.boutique-nav .sidebar-foot{display:none!important;}
  .shell>.boutique-nav button{width:auto!important;flex:0 0 auto!important;padding:10px 12px!important;min-height:44px!important;border-radius:20px!important;font-size:12px!important;gap:7px!important;}
  .shell>.boutique-nav .nav-icon{width:auto!important;font-size:18px!important;}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dashboard-panels{grid-template-columns:minmax(0,1fr)!important;}
}
/* Do not allow wide forms and tables to enlarge the viewport and push the layout sideways. */
.shell,.shell .card,.shell .scroll,.shell .grid,.shell .two,.shell .dashboard-panels{min-width:0;max-width:100%;}
.shell .scroll{overflow-x:auto;}
