.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.main-area {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.pane.full {
  flex: 1;
}

.pane.split {
  flex: 1;
  min-width: 0;
}

.split-divider {
  width: 1px;
  background: var(--divider);
  flex-shrink: 0;
  cursor: col-resize;
}

.editor-pane {
  background: #1e1e1e;
}

.preview-pane {
  background: #0d1117;
}

.pane-loading {
  flex: 1;
  width: 100%;
  height: 100%;
}
