/* Products-only styles (shared list styles live in list.css) */
.ptable th:nth-child(2) { width: 30%; }
.ptable th:nth-child(3) { width: 13.5%; }
.ptable th:nth-child(4) { width: 10.5%; }
.ptable th:nth-child(5) { width: 13.5%; }
.ptable th:nth-child(6) { width: 16%; }
.ptable th:nth-child(8) { width: 64px; }

/* Product cell */
.p-cell { display: flex; align-items: center; gap: 12px; }
.p-tile {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #1F1F1F;
}
.p-name { display: block; font-size: 15px; font-weight: 500; color: var(--primary-dark); }

.p-text { font-size: 15px; color: var(--text); }
.p-price { font-size: 15px; font-weight: 700; }

/* Stock meter */
.p-stock { display: block; width: 78px; }
.p-bar { height: 5px; border-radius: 999px; background: #EDEFEE; overflow: hidden; }
.p-bar i { display: block; height: 100%; border-radius: 999px; background: var(--primary); }
.p-bar i.low { background: var(--warning); }
.p-bar i.critical { background: var(--error); }
.p-stock small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.ptable .pill { height: 22px; font-size: 12.5px; }
/* AI Process installed: same purple AI action as Analyze with AI. */
#aiProcessInstalled { background:#5B4BE8; border:1px solid #5B4BE8; color:#fff; text-decoration:none; }
#aiProcessInstalled:hover { background:#4939D2; }

/* Summary row with the AI processed card. */
.ostats.ostats-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .ostats.ostats-5 { grid-template-columns: repeat(2, 1fr); } }
.ostat-track { display: block; height: 5px; margin-top: 8px; border-radius: 999px; background: #EEF0EF; overflow: hidden; }
.ostat-fill { display: block; height: 100%; width: 0; background: #5B4BE8; border-radius: 999px; transition: width .3s ease; }
