/* Stock monitoring: readable headings and actions without squeezing text. */
@media(min-width:761px){
  #page-stockmonitor .table-wrap:has(#stockMonitorRows){
    max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;
  }
  #page-stockmonitor .table-wrap table:has(#stockMonitorRows){
    min-width:1180px!important;table-layout:auto!important;width:100%;
  }
  #page-stockmonitor table:has(#stockMonitorRows) th,
  #page-stockmonitor table:has(#stockMonitorRows) td{
    width:auto!important;word-break:normal!important;overflow-wrap:normal!important;
  }
  #page-stockmonitor table:has(#stockMonitorRows) th{
    white-space:nowrap!important;
  }
  #page-stockmonitor table:has(#stockMonitorRows) td:last-child{
    min-width:170px!important;
  }
}
#page-stockmonitor [data-stock-create-lens-product]{
  display:inline-flex;align-items:center;justify-content:center;
  width:auto!important;min-width:154px;max-width:none!important;
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
  padding:10px 14px;line-height:1.4;min-height:42px;
}
#bestSellerPanel{margin-top:20px;}
#bestSellerPanel .best-seller-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;}
#bestSellerPanel .field{min-width:160px;}
#bestSellerPanel .table-wrap{overflow-x:auto;max-width:100%;}
#bestSellerPanel table{min-width:760px;table-layout:auto;width:100%;}
#bestSellerPanel th{white-space:nowrap;}
#bestSellerPanel td{word-break:normal;overflow-wrap:break-word;}
#bestSellerPanel .best-seller-note{font-size:13px;line-height:1.6;}
@media(max-width:760px){
  #bestSellerPanel .best-seller-controls>*{flex:1 1 100%;max-width:100%;}
}
