.workspace-wrap {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 20% 10%, rgb(255 255 255 / 0.35), transparent 40%),
    #ddd0be;
}

.workspace {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 28rem;
  min-width: 0;
  overflow: hidden;
}

.workspace.is-dragover {
  background: rgb(255 253 248 / 0.28);
}

.workspace.is-dragover .canvas-frame {
  outline: 2px dashed #8a7460;
  outline-offset: 10px;
}

.canvas-frame {
  background: #ffffff;
  border: 1px solid #c8c8c8;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 18px 40px rgb(44 36 32 / 0.12);
  line-height: 0;
}

.canvas-frame canvas {
  display: block;
}

.empty-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  max-width: 16rem;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.9rem;
  color: rgb(44 36 32 / 0.45);
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.empty-hint.is-hidden {
  opacity: 0;
}
