




* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

html, body {
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family) !important;
  font-size: var(--font-size);
  line-height: var(--line-height);
  overflow: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

pre, p, div, span, input, button, textarea, select, option, output {
  font-family: var(--font-family) !important;
  font-size: var(--font-size) !important;
  line-height: var(--line-height) !important;
  letter-spacing: inherit;
}

#app-container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}


#workspace {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tab-content {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.tab-content.active {
  display: flex;
}

.tab-content.layout-row {
  flex-direction: row;
}

.tab-content.layout-col {
  flex-direction: column;
}


.pane {
  flex: 1 1 0px;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
  position: relative;
  cursor: text;
  outline: none;
}

.tab-content.layout-row > .pane:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-content.layout-col > .pane:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


.command-line {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.prompt {
  color: var(--prompt-color);
  font-weight: bold;
  margin-right: 10px;
  white-space: nowrap;
  user-select: none;
}

.input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
}

.pane-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-color);
  width: 100%;
  caret-color: var(--text-color);
  margin: 0;
  padding: 0;
  font-weight: normal;
}

.output-line {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
}
