.dash-menu-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5000;
  width: 56px;
  height: 56px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  user-select: none;
}

.dash-menu-widget.dragging {
  transition: none;
}

.dash-menu-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  display: none;
  width: 220px;
  padding: 8px;
  border: 1px solid rgba(126, 146, 172, 0.28);
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.dash-menu-widget.open .dash-menu-panel {
  display: grid;
  gap: 6px;
  transform-origin: right bottom;
}

.dash-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #e6edf7;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.dash-menu-link:hover,
.dash-menu-link.active {
  background: #1e3a5f;
  color: #7db7ff;
}

.dash-menu-link span {
  color: #7c8b9e;
  font-size: 11px;
  font-weight: 800;
}

.dash-menu-button {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(126, 146, 172, 0.34);
  border-radius: 50%;
  background: #146ef5;
  color: #fff;
  box-shadow: 0 12px 30px rgba(20, 110, 245, 0.34);
  cursor: grab;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  right: 0;
  bottom: 0;
}

.dash-menu-button:active {
  cursor: grabbing;
}

@media (max-width: 700px) {
  .dash-menu-widget {
    right: 14px;
    bottom: 14px;
  }

  .dash-menu-panel {
    width: min(220px, calc(100vw - 28px));
  }
}
