/* The critic-review editor table (review_editor.js), shared by the Product Data
   Job editor and the Edit SKU modal. Link with ?v={{ static_v }}. */

/* Matches the SKU label in the modal header (DM Mono 12px) so the note reads
   as part of the dialog's chrome rather than as body copy. */
.review-help { font-family: 'DM Mono', monospace; font-size: 12px; line-height: 1.6;
  color: var(--ash-dim); background: var(--ink-3); border: 1px dashed var(--ink-5);
  border-radius: 6px; padding: 8px 12px; margin: 0 0 12px; }
.review-help strong { color: var(--ash-light); font-weight: 500; }
table.review-table { width: 100%; border-collapse: collapse; font-family: 'DM Mono', monospace; font-size: 12px; }
table.review-table th {
  text-align: left; padding: 6px 8px; color: var(--ash);
  text-transform: uppercase; font-size: 10px; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ink-4);
}
table.review-table td { padding: 4px; border-bottom: 1px solid var(--ink-2); vertical-align: top; }
table.review-table input.r-cell,
table.review-table textarea.r-cell {
  width: 100%; background: var(--ink); border: 1px solid var(--ink-4); color: var(--ash-light);
  padding: 6px 8px; font-family: 'DM Mono', monospace; font-size: 12px;
  border-radius: 3px; outline: none;
}
table.review-table textarea.r-cell { min-height: 140px; line-height: 1.5; resize: vertical; }
table.review-table input.r-cell:focus,
table.review-table textarea.r-cell:focus { border-color: var(--garnet); }
table.review-table .r-row-actions { text-align: right; width: 40px; }
table.review-table .r-remove {
  background: transparent; border: none; color: var(--ash-dim); cursor: pointer;
  font-size: 16px; padding: 2px 6px;
}
table.review-table .r-remove:hover { color: var(--danger-fg); }
table.review-table .col-score    { width: 80px; }
table.review-table .col-reviewer { width: 200px; }
table.review-table .col-stores   { width: 160px; }
table.review-table .r-stores { display: flex; flex-direction: column; gap: 3px; }
table.review-table .r-store {
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  color: var(--ash-light); font-size: 11px; cursor: pointer;
}
table.review-table .r-store input { accent-color: var(--garnet); cursor: pointer; }
