.grid-stack { min-height: 40vh; }
.grid-stack-item.minimized .module-body { display: none; }

#statusbar {
  background: #fafafa;
}

#statusUserText {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dock */
#dock .card-body { min-height: 44px; }
#dock [data-dock-item] { white-space: nowrap; }

.modules-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
}

.modules-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,.1);
  box-shadow: -4px 0 16px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 1090;
  display: flex;
  flex-direction: column;
}

.modules-drawer.open {
  transform: translateX(0);
}

.modules-drawer-header {
  padding: .75rem .75rem .25rem .75rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modules-drawer-body {
  padding: .5rem;
  overflow-y: auto;
  flex: 1 1 auto;
}

.modules-drawer-body .list-group-item {
  cursor: pointer;
}

.modules-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1085;
}

.modules-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}