.stats {
  display: grid;
  gap: 10px;
}

.product-lookup {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #d8e4f5;
  border-radius: 10px;
  background: #f8fbff;
}

.mode-panel {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #e4d4a8;
  border-radius: 10px;
  background: #fffaf0;
}

.mode-panel h3 {
  margin: 0 0 8px;
}

.warning-note {
  margin: 0 0 12px;
  padding: 9px 10px;
  border: 1px solid #ecd18f;
  border-radius: 8px;
  background: #fff4cc;
  color: #6f4d00;
  font-size: 13px;
  line-height: 1.5;
}

.print-copy-panel {
  display: none !important;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #d7e0ef;
  border-radius: 10px;
  background: #ffffffcc;
}

.print-copy-panel h4 {
  margin: 0 0 8px;
}

.print-section-title {
  margin: 14px 0 8px;
  padding-top: 10px;
  border-top: 1px dashed #d5deee;
  color: #1f3761;
  font-weight: 700;
}

.print-copy-panel textarea {
  font-family: inherit;
}

.product-summary h3 {
  margin: 0 0 8px;
}

.product-fields {
  display: grid;
  gap: 4px 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-fields p {
  margin: 3px 0;
}

.product-images {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin-top: 12px;
}

.product-image-card {
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 8px;
  background: #fff;
  color: #2b3447;
  border: 1px solid #d5deee;
  border-radius: 10px;
  text-align: left;
}

.product-image-card.selected {
  border-color: #1f64d1;
  box-shadow: 0 0 0 2px #1f64d126;
}

.product-image-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 7px;
  background: #eef3fb;
}

.product-image-card span,
.product-image-card small {
  overflow-wrap: anywhere;
}

.product-image-card small {
  color: #65748b;
}

