/* V6.1.61 - recupera espaço útil e texto legível nos BUY OFF fixos.
   Somente layout: não altera controles, ações, horários ou dados. */
#buyoffGrid{
  width:100%!important;
  max-width:1150px!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,530px),1fr))!important;
  gap:12px!important;
  margin-inline:auto!important;
}
#buyoffGrid>.bo8-station{min-width:0!important;max-width:100%!important}
#buyoffGrid .bo8-slots{padding:10px 11px 11px!important;gap:9px!important}
#buyoffGrid .bo8-slot{padding:10px 11px!important;gap:6px 9px!important;grid-template-columns:minmax(145px,.8fr) minmax(235px,1.2fr)!important}
#buyoffGrid .bo8-slot .bo8-summary{gap:9px!important}
#buyoffGrid .bo8-slot .bo8-summary img{width:49px!important;height:57px!important;flex:0 0 49px!important}
#buyoffGrid .bo8-main-info strong{font-size:12px!important;line-height:1.25!important}
#buyoffGrid .bo8-main-info span{font-size:10px!important;line-height:1.25!important}
#buyoffGrid .bo8-main-info small{font-size:10px!important;line-height:1.2!important}
#buyoffGrid .bo8-slot .bo8-actions,
#buyoffGrid .bo8-slot .bo8-actions:has(>button:nth-child(4)){
  width:100%!important;max-width:100%!important;
  display:flex!important;flex-flow:row nowrap!important;
  justify-content:flex-start!important;align-items:stretch!important;
  gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;
  min-width:0!important;scrollbar-width:thin;padding:2px 0 3px!important;
}
#buyoffGrid .bo8-slot .bo8-actions>button,
#buyoffGrid .bo8-slot .bo8-actions>.v578-check-action{
  flex:0 0 auto!important;width:auto!important;max-width:none!important;
  min-height:35px!important;min-width:max-content!important;
  padding:7px 10px!important;font-size:10px!important;line-height:1.2!important;
  white-space:nowrap!important;word-break:normal!important;
  border-radius:7px!important;
}
#buyoffGrid .v578-check-strip{gap:6px!important;padding-top:19px!important}
#buyoffGrid .v578-check-chip{min-height:51px!important;padding:7px 5px!important}
#buyoffGrid .v578-check-chip b,#buyoffGrid .v578-check-chip strong{font-size:9px!important}
#buyoffGrid .v578-check-chip span{font-size:8px!important}
#buyoffGrid .bo8-register-meta{padding:6px 8px!important;line-height:1.25!important}
@media(max-width:850px){
 #buyoffGrid{grid-template-columns:1fr!important;max-width:630px!important}
 #buyoffGrid .bo8-slot{grid-template-columns:1fr!important;grid-template-areas:'identity' 'progress' 'actions' 'register'!important}
}
@media(max-width:520px){
 #buyoffGrid{max-width:100%!important}
 #buyoffGrid .bo8-slots{padding:9px!important}
 #buyoffGrid .bo8-slot{padding:9px!important}
 #buyoffGrid .bo8-slot .bo8-actions>button,
 #buyoffGrid .bo8-slot .bo8-actions>.v578-check-action{font-size:10px!important;padding:7px 9px!important;min-height:36px!important}
}
