.testParameterBox table.goods-test-chart-table {
  width: 100%;
  table-layout: fixed;
}

.goods-test-chart-header {
  box-sizing: border-box;
  width: 450px !important;
  min-width: 450px !important;
  max-width: 450px !important;
}

.goods-test-chart-host {
  box-sizing: border-box;
  width: 450px !important;
  min-width: 450px !important;
  max-width: 450px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  vertical-align: middle !important;
}

.goods-test-chart-cell.v3-chart-cell {
  position: relative;
  width: 450px;
  max-width: 450px;
  height: 600px;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.goods-test-chart-canvas {
  width: 100%;
  height: 100%;
}

.goods-test-chart-legend {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  left: 8px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.goods-test-chart-legend button {
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
  pointer-events: auto;
}

.goods-test-chart-legend button:hover,
.goods-test-chart-legend button.is-active {
  border-color: #9ca9b5;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.goods-test-chart-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  vertical-align: -1px;
}

.goods-test-chart-hit-area {
  position: absolute;
  z-index: 3;
  top: 45px;
  right: 55px;
  bottom: 55px;
  left: 55px;
  cursor: crosshair;
}

.goods-test-chart-point {
  position: absolute;
  z-index: 5;
  display: none;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  pointer-events: none;
}

.goods-test-chart-tooltip {
  position: absolute;
  z-index: 6;
  display: none;
  min-width: 140px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 7px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 22px rgba(30, 43, 55, .16);
  color: #313941;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
  pointer-events: none;
}

.goods-test-chart-tooltip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.goods-test-chart-axis-title {
  position: absolute;
  z-index: 2;
  right: 55px;
  bottom: 7px;
  left: 55px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 991px) {
  .goods-test-chart-header {
    width: 375px !important;
    min-width: 375px !important;
    max-width: 375px !important;
  }

  .goods-test-chart-host {
    width: 375px !important;
    min-width: 375px !important;
    max-width: 375px !important;
  }

  .goods-test-chart-cell.v3-chart-cell {
    width: 375px;
    max-width: 375px;
    height: 450px;
  }
}
