body {
  margin: 0;
  display: flex;
  height: 100vh;
  background: #111;
  font-family: sans-serif;
  overflow: hidden;
}

.sidebar {
  width: 80px;
  background: #181818;
  border-right: 1px solid #333;
  flex: 0 0 80px;
}

.workspace {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.tile {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: #222;
  border: 1px solid #333;
  box-sizing: border-box;
  overflow: hidden;
}

.split {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
}

.divider {
  background: #333;
  z-index: 5;
}

.divider.vertical-divider {
  cursor: col-resize;
}

.divider.horizontal-divider {
  cursor: row-resize;
}

.divider:hover {
  background: #555;
}

.menu {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  gap: 4px;
  z-index: 10;
}

button {
  background: #333;
  color: white;
  border: none;
  padding: 4px 7px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

button:hover {
  background: #555;
}