#warehouseView .compact-order-details ul,
#warehouseView .warehouse-fixed-item-list,
#warehouseView .warehouse-item-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

#warehouseView .compact-order-details li,
#warehouseView .warehouse-fixed-item,
#warehouseView .warehouse-item-line,
#warehouseView .kanban .order-card li {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  line-height: 1.45 !important;
}

#warehouseView .compact-order-details li *,
#warehouseView .warehouse-fixed-item *,
#warehouseView .warehouse-item-line * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

#warehouseView .warehouse-fixed-item-no,
#warehouseView .compact-order-details li > span:first-child,
#warehouseView .warehouse-item-line > span:first-child {
  display: inline-grid !important;
  width: 24px !important;
  height: 24px !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: var(--forest, #244b3b) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

#warehouseView .warehouse-fixed-item-name {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
  line-height: 1.35 !important;
}

#warehouseView .warehouse-fixed-item-qty {
  white-space: nowrap !important;
  font-style: normal !important;
  font-weight: 900 !important;
  text-align: left !important;
}

@media (max-width: 640px) {
  #warehouseView .compact-order-details,
  #warehouseView .warehouse-order-info {
    width: 100% !important;
  }

  #warehouseView .compact-order-details li,
  #warehouseView .warehouse-fixed-item,
  #warehouseView .warehouse-item-line {
    font-size: 0.95rem !important;
    gap: 6px !important;
  }

  #warehouseView .warehouse-fixed-item-name {
    max-width: 100% !important;
  }
}
