#sidebarEdgeToggle {
  position: fixed;
  left: calc(var(--sidebar-edge, 250px) - 12px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  min-width: 26px;
  height: 68px;
  padding: 0;
  border: 1px solid #cddcf3;
  border-radius: 9px;
  background: #fff;
  color: #0862dd;
  box-shadow: 0 3px 12px #15396118;
  cursor: pointer;
  font: 32px/1 Arial, sans-serif;
  direction: ltr;
}
#sidebarEdgeToggle:hover { background: #edf4ff; border-color: #8fb4f1; }
#sidebarEdgeToggle:focus-visible { outline: 3px solid #2680ff; outline-offset: 3px; }
@media (min-width: 901px) {
  html body.seedoo-sidebar-collapsed #appShellSidebar { display: none !important; }
  html body.seedoo-sidebar-collapsed[data-active-page]:not([data-active-page="loginPage"]):not([data-active-page="cashierPage"]) main[id]:not(#loginPage):not(#cashierPage) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body.seedoo-sidebar-collapsed #sidebarEdgeToggle { left: 0; border-radius: 0 9px 9px 0; }
}
body[data-active-page="loginPage"] #sidebarEdgeToggle,
body[data-active-page="cashierPage"] #sidebarEdgeToggle { display: none; }
@media (max-width: 900px) { #sidebarEdgeToggle { display: none; } }
@media print { #sidebarEdgeToggle { display: none !important; } }

/* Modal and workspace button rules must not resize or reposition this control. */
html body #sidebarEdgeToggle {
 position:fixed!important; left:calc(var(--sidebar-edge, 250px) - 12px)!important;
 right:auto!important; top:50vh!important; bottom:auto!important;
 transform:translateY(-50%)!important; margin:0!important;
 width:26px!important; min-width:26px!important; max-width:26px!important;
 height:68px!important; min-height:68px!important; max-height:68px!important;
 padding:0!important; z-index:10050!important; font:32px/1 Arial,sans-serif!important;
}
html body.seedoo-sidebar-collapsed #sidebarEdgeToggle {left:0!important;}
