.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.picker-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#picker-canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  cursor: crosshair;
  touch-action: none;
}
.canvas-indicator {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.picker-controls {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.picker-controls label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
}
#hue-slider {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right,
    #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
  appearance: none;
  -webkit-appearance: none;
}
#alpha-slider {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, transparent, currentColor);
}
#alpha-slider::-webkit-slider-thumb,
#hue-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
#alpha-slider::-moz-range-thumb,
#hue-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-border);
  cursor: pointer;
}
.checkerboard {
  background-image:
    linear-gradient(45deg, #c0c0c0 25%, transparent 25%),
    linear-gradient(-45deg, #c0c0c0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #c0c0c0 75%),
    linear-gradient(-45deg, transparent 75%, #c0c0c0 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
}
.alpha-preview {
  width: 100%;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}