
/* GujjarX mobile desktop-style workspace: persistent compact navigation
   instead of expanded Bootstrap sidebar covering the screen. */
@media (max-width:767.98px) {
  html,body.lw-authenticated-page.empty{width:100%;max-width:100%;overflow-x:hidden!important}
  body.lw-authenticated-page.empty{padding-bottom:0!important;background:#f3f7f9!important}
  body.lw-authenticated-page.empty #sidenav-main.navbar{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    height:100dvh!important;width:68px!important;max-width:68px!important;min-width:68px!important;
    z-index:1050!important;display:flex!important;flex-direction:column!important;
    flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;
    background:linear-gradient(180deg,#0b2033,#0a2a37)!important;
    box-shadow:3px 0 22px #071e352b!important;
    border:0!important;border-radius:0!important;padding:0!important;margin:0!important;
    overflow:hidden!important
  }
  body.lw-authenticated-page.empty #sidenav-main>.container-fluid{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    height:100%!important;min-height:0!important;padding:0!important;margin:0!important;
    width:68px!important;max-width:68px!important;flex-wrap:nowrap!important
  }
  body.lw-authenticated-page.empty #sidenav-main>.container-fluid>span,
  body.lw-authenticated-page.empty #sidenav-main>.container-fluid>.nav,
  body.lw-authenticated-page.empty #sidenav-main .navbar-collapse-header,
  body.lw-authenticated-page.empty #sidenav-main .navbar-nav,
  body.lw-authenticated-page.empty #sidenav-main .gx-sidenav-footer,
  body.lw-authenticated-page.empty #sidenav-main .navbar-toggler{display:none!important}
  body.lw-authenticated-page.empty #sidenav-collapse-main{
    display:flex!important;visibility:visible!important;opacity:1!important;flex:1 1 auto!important;
    height:100%!important;min-height:0!important;width:68px!important;
    flex-direction:column!important;justify-content:flex-start!important;
    align-items:stretch!important;padding:0!important;margin:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    scrollbar-width:none!important
  }
  body.lw-authenticated-page.empty #sidenav-collapse-main::-webkit-scrollbar{display:none!important}
  body.lw-authenticated-page.empty .gx-mobile-rail{
    display:flex!important;flex:0 0 auto!important;flex-direction:column!important;
    gap:5px!important;padding:8px 5px 18px!important;margin:0!important;
    min-width:0!important;width:100%!important
  }
  body.lw-authenticated-page.empty .gx-mobile-rail a{
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;min-height:55px!important;gap:5px!important;
    padding:8px 2px!important;background:transparent!important;border-radius:11px!important;
    border:1px solid transparent!important;box-shadow:none!important;
    color:#a5c4c8!important;text-decoration:none!important;line-height:1.15!important;
    font-size:9px!important;font-weight:800!important;letter-spacing:0!important;
    text-align:center!important;white-space:nowrap!important
  }
  body.lw-authenticated-page.empty .gx-mobile-rail a i{
    margin:0!important;padding:0!important;width:auto!important;min-width:0!important;
    font-size:19px!important;color:inherit!important;-webkit-text-fill-color:currentColor!important
  }
  body.lw-authenticated-page.empty .gx-mobile-rail a.active{
    background:#165449!important;border-color:#287764!important;color:#56efb5!important;
    box-shadow:inset 3px 0 #38eba7!important
  }
  body.lw-authenticated-page.empty .gx-mobile-rail a:hover{background:#15423e!important;color:#ecfff6!important}
  body.lw-authenticated-page.empty .gx-mobile-rail a.gx-mobile-logo{
    min-height:55px!important;border-bottom:1px solid #32505a!important;
    border-radius:0!important;margin-bottom:8px!important;padding:6px 0 12px!important
  }
  body.lw-authenticated-page.empty .gx-mobile-rail .gx-mobile-logo img{
    width:34px!important;height:34px!important;object-fit:cover!important;
    border-radius:8px!important;box-shadow:none!important
  }
  body.lw-authenticated-page.empty .main-content{
    margin-left:68px!important;margin-right:0!important;width:calc(100% - 68px)!important;
    max-width:calc(100% - 68px)!important;min-width:0!important;
    position:relative!important;background:#f3f7f9!important;padding:0!important
  }
  body.lw-authenticated-page.empty #navbar-main{
    margin:0!important;min-height:48px!important;padding:8px!important;
    border-radius:0!important;width:100%!important
  }
  body.lw-authenticated-page.empty #navbar-main .container-fluid{
    padding:0 8px!important;max-width:100%!important
  }
  body.lw-authenticated-page.empty .main-content>.container-fluid,
  body.lw-authenticated-page.empty .main-content>.container,
  body.lw-authenticated-page.empty .main-content>section,
  body.lw-authenticated-page.empty .main-content .gxvd{
    max-width:100%!important;min-width:0!important
  }
  body.lw-authenticated-page.empty .main-content .gxvd{padding:12px 9px 22px!important}
  body.lw-authenticated-page.empty .gxvd-hero{padding:18px 14px!important;border-radius:14px!important}
  body.lw-authenticated-page.empty .gxvd-hero h1{font-size:23px!important;line-height:1.2!important}
  body.lw-authenticated-page.empty .gxvd-hero p{font-size:11px!important}
  body.lw-authenticated-page.empty .gxvd-actions{gap:6px!important}
  body.lw-authenticated-page.empty .gxvd-actions a{padding:10px 7px!important;font-size:9px!important;gap:4px!important}
  body.lw-authenticated-page.empty .gxvd-section-head h2{font-size:18px!important}
  body.lw-authenticated-page.empty .gxvd-metric{padding:11px!important;min-width:0!important}
  body.lw-authenticated-page.empty .gxvd-metric strong{font-size:21px!important;word-break:break-word}
  body.lw-authenticated-page.empty .gxvd-metric small{font-size:10px!important}
  body.lw-authenticated-page.empty .gxvd-panel{padding:13px!important}
  body.lw-authenticated-page.empty .gxvd-panel-head h3{font-size:13px!important}
  body.lw-authenticated-page.empty .gxvd-overview-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.lw-authenticated-page.empty .gxvd-overview-row>div{min-width:0!important}
  body.lw-authenticated-page.empty .gxvd-subscription-body{flex-wrap:wrap!important}
  body.lw-authenticated-page.empty .gxvd-real{font-size:8px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox{margin-top:0!important;border-radius:10px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .gx-inbox-brand strong{font-size:12px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .gx-inbox-brand img{width:28px!important;height:28px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .gx-inbox-backup{font-size:9px!important;padding:7px 5px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .lw-contact-list-block h1{font-size:16px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .lw-contact-list{max-height:calc(100dvh - 250px)!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .conversation-compose{gap:0!important;padding:5px 3px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .gx-chat-tool{width:25px!important;min-width:25px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .gx-chat-tool i{font-size:13px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .conversation-compose .send{width:34px!important;height:34px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .conversation-compose .input-msg{min-width:0!important;font-size:11px!important}
  body.lw-authenticated-page.empty .gx-whatsapp-inbox .lw-contact-crm-block{display:none!important}
  body.lw-authenticated-page.empty .table-responsive{overflow-x:auto!important}
  body.lw-authenticated-page.empty .card{min-width:0}
}
/* Show custom rail exclusively on mobile; preserve existing full navigation on desktop. */
@media(min-width:768px){.gx-mobile-rail{display:none!important}}
