/* SmartCart v105: scrollbar only in the subpage content area, never beside the header. */
html{height:100%;overflow:hidden!important}
body{
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  overscroll-behavior:none!important;
}
.syncbar{
  flex:0 0 auto!important;
  position:relative!important;
  top:auto!important;
  width:100%!important;
  box-sizing:border-box!important;
}
body > main{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch;
  box-sizing:border-box!important;
}
/* Tool/search rows above list pages stay fixed between header and scrolling list. */
body > .article-tools,
body > .tools,
body > .store-tools{
  flex:0 0 auto!important;
}
/* Existing fixed/modal layers remain outside document scrolling. */
.modal-backdrop{position:fixed}

/* v106: flex children must retain the original full available page width.
   Without width:100%, shrink-to-fit made list pages visibly narrower. */
body > main{
  width:100%!important;
}
body > .article-tools,
body > .store-tools,
body > .tools{
  width:100%!important;
  box-sizing:border-box!important;
}
