.product-entry-page { max-width: 1040px; min-width: 0; }
.product-entry-heading { align-items: flex-start; }
.product-entry-heading h1 { margin-bottom: 4px; }
.product-entry-heading p { color: var(--muted); }
.product-entry-card { padding: 22px 24px; }
.product-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.product-entry-field { display: grid; min-width: 0; gap: 5px; color: var(--ink); font-size: 13px; font-weight: 650; }
.product-entry-field.wide { grid-column: 1 / -1; }
.product-entry-field small { color: var(--red); margin-left: 8px; font-size: 11px; }
.product-entry-field .field { min-width: 0; width: 100%; font-size: 13px; font-weight: 400; }
.product-entry-field-help { color: var(--muted); font-size: 12px; font-weight: 400; }
.product-entry-field textarea { resize: vertical; }
.product-entry-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.product-entry-feedback:not(:empty) { margin-top: 14px; overflow-wrap: anywhere; }
.product-entry-feedback ul { padding-inline-start: 19px; margin: 5px 0 0; }
.product-entry-feedback p + p { margin-top: 5px; }
.product-entry-upload { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.product-entry-upload .product-entry-field { flex: 1 1 280px; }
.product-entry-upload input { padding: 5px 8px; }
.product-entry-upload input::file-selector-button {
  margin-right: 8px;
  padding: 5px 10px;
  border: 0;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue);
  font: inherit;
  cursor: pointer;
}
.product-entry-file-help { margin-top: 9px; }
.product-entry-preview { margin-top: 20px; min-width: 0; }
.product-entry-preview h2 { margin-bottom: 8px; }
.product-entry-preview-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.product-entry-preview-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.product-entry-preview th, .product-entry-preview td { font-size: 12px; }
.product-entry-preview td:nth-child(2) { min-width: 125px; overflow-wrap: anywhere; }
.product-entry-preview-details summary { color: var(--blue); white-space: nowrap; cursor: pointer; }
.product-entry-preview-details p { min-width: 130px; max-width: 260px; margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.product-entry-preview .product-entry-invalid { background: #fff4f5; }
.product-entry-status { margin: -5px 0 12px; }
.product-entry-card .button:disabled { opacity: .6; }
@media (max-width: 640px) {
  .product-entry-heading { flex-wrap: wrap; }
  .product-entry-card { padding: 15px; }
  .product-entry-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
