/* TechTools — color-picker styles (auto-extracted) */
.image-upload-zone {
  border: 2px dashed var(--border-subtle);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 24px;
  position: relative;
}
.image-upload-zone:hover,
.image-upload-zone.drag-over {
  border-color: var(--accent-magenta);
  background: rgba(255, 0, 110, 0.05);
}
.image-upload-zone input[type=file] { display: none; }
.upload-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.7; }
.upload-text { font-size: 16px; color: var(--text-secondary); }
.upload-hint { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

.picker-workspace {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  margin-bottom: 24px;
  display: none;
}
.picker-workspace.show { display: grid; }

.image-canvas-wrapper {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  cursor: crosshair;
}
.image-canvas-wrapper canvas,
.image-canvas-wrapper img {
  max-width: 100%;
  max-height: 500px;
  display: block;
}

.zoom-lens {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent-magenta);
  box-shadow: 0 0 20px rgba(255,0,110,0.3);
  pointer-events: none;
  display: none;
  overflow: hidden;
  z-index: 10;
}
.zoom-lens canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.color-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.color-swatch {
  width: 100%;
  height: 100px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.12);
  transition: background 0.2s ease;
}

.color-values {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.color-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.color-value-row .label {
  font-size: 13px;
  color: var(--text-muted);
  min-width: 36px;
  font-family: 'SF Mono','Fira Code','Consolas',monospace;
}
.color-value-row .value {
  flex: 1;
  font-size: 14px;
  font-family: 'SF Mono','Fira Code','Consolas',monospace;
  color: var(--text-primary);
  background: rgba(0,0,0,0.3);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  word-break: break-all;
}

.manual-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.manual-picker-row label {
  font-size: 13px;
  color: var(--text-muted);
}
.manual-picker-row input[type=color] {
  width: 40px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 2px;
}

.color-history {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.color-history-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.history-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.history-swatch:hover {
  transform: scale(1.2);
  border-color: var(--accent-magenta);
}

@media (max-width: 768px) {
  .picker-workspace { grid-template-columns: 1fr; }
  .zoom-lens { width: 80px; height: 80px; }
}
