body {
  background: inherit !important;
  overflow: visible;
}

#facet-editor-container {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  padding-right: 140px;
}

#facet-editor-container .CodeMirror {
  height: 100%;
  width: 100%;
}

#progress_bar_canvas {
  display: block;
  position: static;
  flex-shrink: 0;
  order: 9;
}

#soloControlsCanvas {
  bottom: 0;
}

#navbar {
  flex-shrink: 0;
  order: 10;
  margin-bottom: 10;
}

#facet-zoom-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.facet-zoom-btn {
  background: transparent;
  border: 1px solid #555;
  color: #222;
  cursor: pointer;
  font-size: 0.75em;
  padding: 1px 6px;
  border-radius: 3px;
  line-height: 1.4;
  min-width: 28px;
}

.facet-zoom-btn:hover {
  background: #333;
  color: #fff;
  border-color: #888;
}

#transport span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  line-height: 1;
  font-size: 0;
  top: 0;
  transform: none;
  --shape: 13px;
}

#transport #rerun,
#transport #stop,
#transport #clear,
#transport #restart {
  transform: none;
  top: 0;
}

#transport #rerun::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: calc(var(--shape) * 0.6) 0 calc(var(--shape) * 0.6) var(--shape);
  border-color: transparent transparent transparent #2d8a2d;
  transition: border-color 0.1s;
  margin-left: calc(var(--shape) * 0.18);
}

#transport #rerun:hover::before {
  border-left-color: #3aad3a;
}

#transport #rerun.transport-flash::before {
  border-left-color: #7CFC7C;
}

#transport #stop::before {
  content: '';
  width: var(--shape);
  height: var(--shape);
  background: #cc0000;
  transition: background 0.1s;
}

#transport #stop:hover::before {
  background: #ff3b3b;
}

#transport #stop.transport-flash::before {
  background: #ff7b7b;
}

#transport #clear::before {
  content: '';
  width: var(--shape);
  height: var(--shape);
  border: 2px solid #222;
  border-radius: 50%;
  box-sizing: border-box;
  transition: border-color 0.1s;
}

#transport #clear::after {
  content: '';
  position: absolute;
  width: calc(var(--shape) * 0.55);
  height: 2px;
  background: #222;
  transition: background 0.1s;
}

#transport #clear:hover::before {
  border-color: #f7d952;
}

#transport #clear:hover::after {
  background: #f7d952;
}

#transport #clear.transport-flash::before {
  border-color: #fff09a;
}

#transport #clear.transport-flash::after {
  background: #fff09a;
}

#transport #restart::before {
  content: '';
  width: var(--shape);
  height: var(--shape);
  box-sizing: border-box;
  border: 2px solid #222;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

#transport span:hover {
  color: inherit;
}

@media only screen and (max-width: 690px) {
  #navbar {
    position: relative;
    padding-right: 156px;
  }

  .right > #midi {
    order: 1;
  }

  .right > .nav-sep:nth-child(2) {
    order: 2;
  }

  .right > #facet-zoom-controls {
    order: 3;
  }

  .right > #cpu {
    order: 4;
  }

  .right > .nav-sep:nth-child(5) {
    order: 5;
  }

  .right > #transport {
    position: absolute;
    top: 0;
    right: 6px;
    bottom: 0;
    margin: 0;
    gap: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #transport span {
    width: 46px;
    height: 52px;
    --shape: 22px;
  }
}