/* Batch43：智能中心单品阈值预警与总控商家编码连续动销颜色。 */
.intel-threshold-grid .intel-threshold-section {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbff, #f3f8ff);
}

.intel-threshold-grid .intel-threshold-section h3 {
  margin: 0 0 4px;
  color: #17345d;
  font-size: 15px;
}

.intel-threshold-grid .intel-threshold-section p {
  margin: 0;
  color: #6d7f98;
  font-size: 12px;
  line-height: 1.55;
}

.intel-threshold-grid .intel-threshold-section-color {
  background: linear-gradient(135deg, #edf7ff, #fff3f2);
}

.intel-threshold-grid .intel-threshold-switch {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  width: auto;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #cbdcf0;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.intel-threshold-grid .intel-threshold-switch input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #2878d0;
}

.intel-threshold-grid .intel-threshold-switch span {
  font-weight: 700;
  color: #244467;
}

.intel-daily-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.intel-daily-summary > span {
  min-width: 92px;
}

.control-display-wrap td.control-sku-no-sales,
.control-display-wrap tr:hover td.control-sku-no-sales,
.control-display-wrap td.control-sku-no-sales.crosshair-cell,
.control-display-wrap td.control-sku-no-sales.crosshair-column,
.control-display-wrap td.control-sku-no-sales.crosshair-row {
  background: #dcefff !important;
  color: #14528a !important;
  box-shadow: inset 4px 0 0 #63aee8;
  font-weight: 700;
}

.control-display-wrap td.control-sku-hot-sales,
.control-display-wrap tr:hover td.control-sku-hot-sales,
.control-display-wrap td.control-sku-hot-sales.crosshair-cell,
.control-display-wrap td.control-sku-hot-sales.crosshair-column,
.control-display-wrap td.control-sku-hot-sales.crosshair-row {
  background: #ffe2e2 !important;
  color: #a52c37 !important;
  box-shadow: inset 4px 0 0 #ef7379;
  font-weight: 700;
}

@media (max-width: 760px) {
  .intel-threshold-grid .intel-threshold-section {
    padding: 10px 12px;
  }

  .intel-daily-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intel-daily-summary > span {
    min-width: calc(50% - 6px);
  }

  .intel-daily-summary button {
    grid-column: 1 / -1;
  }
}
