.Visual-absolute {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform-origin: 0 0;
}

.Visual-no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.Visual-metrics-container {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.Visual-metrics {
  position: absolute;
  white-space: pre;
  padding: 0;
}

/* Workspace */

.Visual-workspace {
  position: relative;
  cursor: default;
  overflow: auto;
}

body.Visual-workspace {
  height: 100%;
  margin: 0;
}

.Visual-feedback {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
}

.Visual-dragging {
  position: fixed;
  z-index: 10001;
}

/* Script */

.Visual-script {
  white-space: nowrap;
  pointer-events: none;
}

/* Arg */

.Visual-color-field {
  opacity: 0;
  pointer-events: auto;
}

.Visual-script-dragging .Visual-color-field {
  pointer-events: none;
}

.Visual-field {
  color: #505050;
  font: 9px/14px Lucida Grande, Verdana, Arial, DejaVu Sans, sans-serif;
  margin: 0;
  padding: 0;
  border: 0;
  background: 0;
  outline: 0;
  box-shadow: none;
}
.Visual-field:focus {
  pointer-events: auto;
}

.Visual-text-field,
.Visual-enum-field {
  padding: 0 0 0 4px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.Visual-enum-field {
  color: #fff;
}

/* Label */

.Visual-label {
  font: bold 10px/14px Lucida Grande, Verdana, Arial, DejaVu Sans, sans-serif;
  color: #fff;
}

/* Comment */

.Visual-comment {
  pointer-events: none;
}

.Visual-comment-field {
  font: 12px Arial, Verdana, DejaVu Sans, sans-serif;
  padding: 4px 7px 4px 7px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 0;
  margin: 0;
  background: 0;
  resize: none;
  outline: 0;
  color: #5c5d5f;
  -webkit-transform-origin: 0 0;
}
.Visual-comment-field:focus {
  pointer-events: auto;
}

.Visual-comment-title {
  font: bold 12px Arial, Verdana, DejaVu Sans, sans-serif;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #5c5d5f;
  -webkit-transform-origin: 0 0;
}

/* Menu */

.Visual-menu {
  position: fixed;
  top: 0;
  left: 0;
  cursor: default;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 3px 8px rgba(0, 0, 0, .3);
  padding: 0;
  z-index: 10002;
  overflow: auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  color: #555;
}

.Visual-menu-field {
  position: fixed;
  outline: 0;
  opacity: 0;
  top: -1px;
  left: -1px;
  border: 0;
  padding: 0;
  margin: 0;
  width: 1px;
  height: 1px;
}

.Visual-menu-line {
  margin: 0;
  height: 1px;
  background: rgba(0, 0, 0, .2);
}

.Visual-menu-item {
  position: relative;
  padding: 3px 8px 3px 20px;
  font: 12px Arial, Verdana, DejaVu Sans, sans-serif;
  white-space: pre;
}

.Visual-menu-item.selected {
  background: rgba(0, 0, 0, .08);
  color: #333;
}

.Visual-menu-file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.Visual-menu-checked::before {
  content: '\2713';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}
