/* Product grams review (#9). One stacked row per item: name, then the box and Save, then the hint. No sideways scroll at 360px. */
.gr-list { list-style: none; margin: 0; padding: 0; }
.gr-row { display: grid; gap: var(--space-2xs); padding: 10px 4px; border-bottom: 1px solid var(--rule); }
.gr-name { min-width: 0; overflow-wrap: anywhere; }
.gr-edit { display: flex; align-items: center; gap: 8px; }
.gr-box { width: 7rem; min-height: 44px; font-variant-numeric: tabular-nums; }
.gr-unit { color: var(--ink-2); }
.gr-row .btn { min-height: 44px; }
.gr-row .inline-msg:empty { display: none; }
@media (min-width: 720px) {
  .gr-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-md); }
  .gr-row .inline-msg { grid-column: 1 / -1; }
}
