.processor-layout {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(330px, 1fr);
  align-items: center;
  gap: 4vw;
  padding: 13vh 3.6vw 7vh 5.8vw;
}

.processor-canvas-frame {
  position: relative;
  display: grid;
  box-sizing: content-box;
  justify-self: center;
  place-items: center;
  border: 1px solid var(--black);
  background: transparent;
}

.processor-canvas-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.resize-handle {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid var(--blue);
  background: #fff;
  transform: translate(-50%, -50%);
}
.resize-handle:nth-child(2) { left: 0; top: 0; }
.resize-handle:nth-child(3) { left: 50%; top: 0; }
.resize-handle:nth-child(4) { left: 100%; top: 0; }
.resize-handle:nth-child(5) { left: 0; top: 50%; }
.resize-handle:nth-child(6) { left: 100%; top: 50%; }
.resize-handle:nth-child(7) { left: 0; top: 100%; }
.resize-handle:nth-child(8) { left: 50%; top: 100%; }
.resize-handle:nth-child(9) { left: 100%; top: 100%; }

.parameter-panel {
  position: relative;
  display: grid;
  gap: 29px;
  padding: 17px;
  background: #f8f8f8;
}

.corner { position: absolute; width: 21px; height: 21px; border-color: var(--black); border-style: solid; pointer-events: none; }
.corner.tl { top: -16px; left: -16px; border-width: 4px 0 0 4px; }
.corner.tr { top: -16px; right: -16px; border-width: 4px 4px 0 0; }
.corner.bl { bottom: -16px; left: -16px; border-width: 0 0 4px 4px; }
.corner.br { right: -16px; bottom: -16px; border-width: 0 4px 4px 0; }

.parameter-card { padding: 18px 20px 12px; background: #fff; }
.parameter-card h2 { margin: 0 0 7px; font: 20px/1.15 var(--mono-font); }
.parameter-card p { min-height: 42px; margin: 0 0 24px; color: #909090; font-size: 17px; line-height: 1.25; }
.range-wrap { position: relative; }
.parameter-range { width: 100%; height: 8px; margin: 0; appearance: none; background: transparent; cursor: ew-resize; }
.parameter-range::-webkit-slider-runnable-track { height: 7px; border-radius: 6px; background: var(--light-blue); }
.parameter-range::-webkit-slider-thumb { width: 0; height: 0; margin-top: -10px; appearance: none; border-top: 0; border-right: 5px solid transparent; border-bottom: 10px solid var(--blue); border-left: 5px solid transparent; }
.parameter-range::-moz-range-track { height: 7px; border-radius: 6px; background: var(--light-blue); }
.parameter-range::-moz-range-thumb { width: 0; height: 0; border: 0; border-right: 5px solid transparent; border-bottom: 10px solid var(--blue); border-left: 5px solid transparent; border-radius: 0; }
.range-ticks { display: flex; justify-content: space-between; margin-top: 5px; color: #666; font-size: 12px; }
