#icInventoryPanel .kv {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 12px;
}

#icInventoryPanel .pricelist-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#icInventoryPanel .pricelist-table-wrap .table {
  width: max-content;
  min-width: 100%;
}

#icInventoryPanel .table .right {
  text-align: right;
}

/* Data-quality row tinting */
#icInventoryPanel .table tr.inv-row-stranded {
  background: rgba(217, 119, 6, 0.06);
}
#icInventoryPanel .table tr.inv-row-negative {
  background: rgba(220, 38, 38, 0.06);
}
.inv-flag {
  font-size: 11px;
  margin-right: 2px;
  vertical-align: middle;
  cursor: help;
}
.inv-flag-stranded { color: #d97706; }
.inv-flag-negative { color: #dc2626; }

/* Data quality detail blocks */
.inv-quality { display: flex; flex-direction: column; gap: 6px; }
.inv-quality-item {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
}
.inv-quality-stranded { border-left: 3px solid #d97706; }
.inv-quality-negative { border-left: 3px solid #dc2626; }
.inv-quality-item summary {
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  list-style: revert;
}
.inv-quality-item[open] summary { margin-bottom: 6px; }
.inv-quality-hint {
  color: var(--text-muted, #666);
  font-size: 12px;
  margin-left: 4px;
}
.inv-quality-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 4px;
}
.inv-quality-table th,
.inv-quality-table td {
  padding: 4px 8px;
  border-bottom: 1px solid var(--line, #f0f0f0);
  text-align: left;
}
.inv-quality-table th { font-weight: 600; color: var(--text-muted, #666); }
.inv-quality-table .right { text-align: right; }
