/* G1121 WMD mobile Bon UJ: same cards on Beranda and Operasional.
   Loaded after G1120. No API, database or permission changes. */
body.g1020-office .g1029-bon-list {
  box-sizing:border-box!important;
  min-width:0!important;
  width:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scroll-padding-bottom:6px;
  -webkit-overflow-scrolling:touch;
  border:1px solid #e7edf3!important;
  border-radius:11px!important;
  background:#fff!important;
}
body.g1020-office .g1030-home .g1029-bon-list{
  max-height:clamp(100px,calc(100vh - 460px),450px)!important;
  padding-bottom:3px!important;
}
body.g1020-office .g1029-bon-list.g1121-operational-bon{
  max-height:clamp(120px,calc(100vh - 365px),490px)!important;
  padding:0 5px 4px!important;
}
body.g1020-office .g1029-bon-list > .g1029-bon-item.g1030-bon-item {
  padding:9px 6px 10px!important;
  margin:0!important;
  border-bottom:1px solid #e7edf3!important;
  min-width:0!important;
  box-sizing:border-box!important;
  background:#fff!important;
}
body.g1020-office .g1029-bon-list > .g1029-bon-item.g1030-bon-item:last-child{
  border-bottom:0!important;
}
body.g1020-office .g1029-bon-list .g1029-bon-head.g1030-bon-top{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) 60px!important;
  align-items:center!important;
  gap:6px!important;
  padding:0 0 7px!important;
  min-width:0!important;
}
body.g1020-office .g1029-bon-list .g1029-bon-fields.g1030-bon-bottom{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px 10px!important;
  min-width:0!important;
}
body.g1020-office .g1029-bon-list .g1029-bon-field{
  min-width:0!important;
  flex:none!important;
  gap:2px!important;
}
body.g1020-office .g1029-bon-list .g1029-bon-field small{
  display:block!important;
  font-size:9px!important;
  font-weight:600!important;
  line-height:1.3!important;
  color:#617c90!important;
  letter-spacing:0!important;
}
body.g1020-office .g1029-bon-list .g1029-bon-field span{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  overflow:visible!important;
  white-space:normal!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  line-height:1.35!important;
  font-size:10.5px!important;
  font-weight:650!important;
  color:#123856!important;
}
body.g1020-office .g1029-bon-list .g1030-bon-top .g1029-bon-field:first-child span{
  font-weight:800!important;
  font-size:11.2px!important;
}
body.g1020-office .g1029-bon-list .g1029-detail-btn{
  min-width:58px!important;
  min-height:34px!important;
  padding:6px 5px!important;
  margin:0!important;
  font-size:10px!important;
  border-radius:8px!important;
}
body.g1020-office .g1030-home .g1020-screen,
body.g1020-office .g1020-screen.g1030-home{
  overflow:visible!important;
}
body.g1020-office .g1030-home #g1020Paging,
body.g1020-office .g1020-screen:has(.g1121-operational-bon) #g1020Paging{
  display:block!important;
  position:relative!important;
  z-index:2!important;
  margin:0!important;
  padding:5px 1px 3px!important;
  background:#fff!important;
}
body.g1020-office .g1030-home .g1020-pagination{
  padding:4px 0 0!important;
  margin:0!important;
}
body.g1020-office .g1020-screen:has(.g1121-operational-bon) .g1020-pagination{
  padding:4px 0 0!important;
  margin:0!important;
}
body.g1020-office .g1020-screen:has(.g1121-operational-bon) .g1020-list-card{
  padding-bottom:7px!important;
}
body.g1020-office .g1020-screen.g1030-home,
body.g1020-office .g1020-screen:has(.g1121-operational-bon){
  min-width:0!important;
  max-width:100%!important;
}
@media(max-width:350px){
 body.g1020-office .g1029-bon-list .g1029-bon-head.g1030-bon-top{
   grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) 57px!important;
   gap:4px!important;
 }
 body.g1020-office .g1029-bon-list .g1029-bon-fields.g1030-bon-bottom{gap:5px 6px!important}
}
