/* KhoViet v1.7.28.7 — scroll the invoice items, not the full POS workspace. */
@media (min-width: 811px) {
  body.pos-fullscreen .pos-v173 .pos-sales-grid { min-height:0!important; }
  body.pos-fullscreen .pos-v173 .pos-sales-center {
    height:100%!important; min-height:0!important; overflow:hidden!important;
    display:flex!important; flex-direction:column!important;
  }
  body.pos-fullscreen .pos-v173 #lines-container.pos-v173-lines:not(:empty) {
    display:flex; flex:1 1 auto!important; min-height:0!important;
    overflow-y:auto!important; overflow-x:hidden!important;
    overscroll-behavior-y:contain; scrollbar-gutter:stable;
    scrollbar-width:thin; padding:0 6px 12px 0;
  }
  body.pos-fullscreen .pos-v173 #lines-container.pos-v173-lines:empty {
    flex:0 0 auto!important; overflow:visible!important;
  }
  body.pos-fullscreen .pos-v173 .pos-v173-line {flex:0 0 auto!important;}
  body.pos-fullscreen .pos-v173 .pos-v173-note {flex:0 0 auto!important; margin-top:auto!important;}
  body.pos-fullscreen .pos-v173 #lines-container::-webkit-scrollbar {width:9px;}
  body.pos-fullscreen .pos-v173 #lines-container::-webkit-scrollbar-thumb {
    background:#a9bfd4;border-radius:10px;border:2px solid #edf3fa;
  }
  body.pos-fullscreen .pos-v173 #lines-container::-webkit-scrollbar-track {background:transparent;}
}
@media(max-width:810px){
  body.pos-fullscreen .pos-v173 .pos-sales-center {overflow:visible!important;height:auto!important;}
  body.pos-fullscreen .pos-v173 #lines-container.pos-v173-lines {overflow-x:auto;overflow-y:visible;}
}
