* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: #20232a;
  color: #fff;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 10px;
  align-items: center;
  background-size: cover;
  background-position: center;
  min-height: 60px;
}
.toolbar .section {
  display: flex;
  align-items: center;
  gap: 5px;
}
.toolbar label {
  font-size: 0.9em;
}
.toolbar select,
.toolbar input[type="color"],
.toolbar input[type="range"],
.toolbar .action-btn {
  margin: 0 5px;
}
.toolbar .action-btn {
  background: #555;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.toolbar .action-btn:hover {
  background: #777;
}
.canvas-container {
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 0;
  right: 0;
}
#canvas {
  width: 100%;
  height: 100%;
}
@media(max-width: 600px) {
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    min-height: 200px;
    height: 100px;
  }
  .canvas-container {
    top: auto;
    height: calc(100% - 200px);
  }
}
