.dao-code-editor-wrapper {
  min-height: 52px;
  background-color: var(--dao-gray-blue-013, #1d1f21);
}
.dao-code-editor-wrapper--fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100vw;
  height: 100vh;
  background-color: var(--dao-pure-black);
}

.dao-code-editor {
  height: calc(100% - 32px);
}
.dao-code-editor .monaco-diff-editor {
  height: calc(100% - 32px);
}
.dao-code-editor--fallback {
  width: 100%;
  color: var(--dao-pure-white, #ffffff);
  background-color: var(--dao-pure-black, #000000);
  border: 0;
}

.dao-code-editor-wrapper--no-toolbar .dao-code-editor {
  height: 100%;
}
.dao-code-editor-wrapper--no-toolbar .dao-code-editor .monaco-diff-editor {
  height: 100%;
}

.dao-code-editor__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 32px;
  padding: 0 1.6rem;
  background-color: var(--dao-pure-black);
}
.dao-code-editor__toolbar__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dao-gray-170);
  visibility: hidden;
}
.dao-code-editor__toolbar__title--visible {
  visibility: visible;
}
.dao-code-editor__toolbar .dao-code-editor__toolbar__icon + .dao-code-editor__toolbar__icon {
  margin-left: 12px;
}

.dao-code-editor-wrapper--rounded {
  border-radius: 4px;
}
.dao-code-editor-wrapper--rounded .dao-code-editor__toolbar {
  border-radius: 4px 4px 0 0;
}
.dao-code-editor-wrapper--rounded .dao-code-editor {
  border-radius: 0 0 4px 4px;
}
.dao-code-editor-wrapper--rounded .dao-code-editor .monaco-editor,
.dao-code-editor-wrapper--rounded .dao-code-editor .overflow-guard {
  border-radius: 0 0 4px 4px;
}
.dao-code-editor-wrapper--rounded.dao-code-editor-wrapper--no-toolbar .dao-code-editor {
  border-radius: 4px;
}
.dao-code-editor-wrapper--rounded.dao-code-editor-wrapper--no-toolbar .dao-code-editor .monaco-editor,
.dao-code-editor-wrapper--rounded.dao-code-editor-wrapper--no-toolbar .dao-code-editor .overflow-guard {
  border-radius: 4px;
}