/**
 * MISTER FAST LiveMapChat WEB — V2.1.1 Sidebar Toggle Recovery
 * Scope: WEB sidebar width + compact icon mode only.
 */
@media (min-width: 861px){
  body.mf-workspace-theme-v1{
    --mf-sidebar-open-width: 194px;
    --mf-sidebar-closed-width: 86px;
  }

  body.mf-workspace-theme-v1 .mf514-grid{
    grid-template-columns:var(--mf-sidebar-open-width) minmax(0,1fr)!important;
    transition:grid-template-columns .22s ease!important;
  }

  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-grid{
    grid-template-columns:var(--mf-sidebar-closed-width) minmax(0,1fr)!important;
  }

  body.mf-workspace-theme-v1 .mf514-sidebar{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    overflow-x:hidden!important;
    transition:padding .22s ease!important;
  }

  body.mf-workspace-theme-v1 .mf212-sidebar-toggle{
    position:fixed!important;
    z-index:1300!important;
    left:calc(var(--mf-sidebar-open-width) - 13px)!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:34px!important;
    height:54px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:2px solid #fff!important;
    border-radius:0 14px 14px 0!important;
    background:#FFC400!important;
    color:#003DA5!important;
    box-shadow:5px 8px 20px rgba(0,43,117,.22)!important;
    transition:left .22s ease,background .16s ease,color .16s ease!important;
  }

  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf212-sidebar-toggle{
    left:calc(var(--mf-sidebar-closed-width) - 13px)!important;
  }

  body.mf-workspace-theme-v1 .mf212-sidebar-toggle span{
    display:block!important;
    font-size:25px!important;
    font-weight:900!important;
    line-height:1!important;
    transform:none!important;
  }

  body.mf-workspace-theme-v1 .mf514-menu>button,
  body.mf-workspace-theme-v1 .mf514-menu>a,
  body.mf-workspace-theme-v1 .mf3243-sidebar-auth{
    overflow:hidden!important;
  }

  /* Expanded: icon + text */
  body.mf-workspace-theme-v1:not(.mf212-sidebar-collapsed) .mf514-menu>button,
  body.mf-workspace-theme-v1:not(.mf212-sidebar-collapsed) .mf514-menu>a,
  body.mf-workspace-theme-v1:not(.mf212-sidebar-collapsed) .mf3243-sidebar-auth{
    justify-content:flex-start!important;
  }

  body.mf-workspace-theme-v1:not(.mf212-sidebar-collapsed) .mf514-menu b,
  body.mf-workspace-theme-v1:not(.mf212-sidebar-collapsed) .mf3243-sidebar-auth b{
    display:block!important;
    opacity:1!important;
    visibility:visible!important;
    white-space:nowrap!important;
  }

  /* Collapsed: icon only, but the whole sidebar really becomes narrow. */
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-sidebar{
    padding-left:0!important;
    padding-right:0!important;
  }

  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu>button,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu>a,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf3243-sidebar-auth{
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    justify-content:center!important;
  }

  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu b,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf3243-sidebar-auth b,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu>button::after,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu>a::after,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf3243-sidebar-auth::after{
    display:none!important;
  }

  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu>button>span,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf514-menu>a>span,
  body.mf-workspace-theme-v1.mf212-sidebar-collapsed .mf3243-sidebar-auth>span{
    margin:0!important;
  }
}
