/* Both axes remain available without altering shared column/field sizing. */
@media screen {
  html body .erp-table-scroll {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    max-height: min(65vh, 640px) !important;
    overflow-x: scroll !important;
    overflow-y: scroll !important;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
    scrollbar-color: #8295a3 #e8eef2;
    -webkit-overflow-scrolling: touch;
  }
  .erp-table-scroll::-webkit-scrollbar { width: 13px; height: 13px; display: block; }
  .erp-table-scroll::-webkit-scrollbar-track, .erp-table-scroll::-webkit-scrollbar-corner { background: #e8eef2; }
  .erp-table-scroll::-webkit-scrollbar-thumb { background: #8295a3; border: 2px solid #e8eef2; border-radius: 8px; }
  .erp-table-scroll:focus-visible { outline: 2px solid #07867f; outline-offset: 2px; }
}
@media print {
  html body .erp-table-scroll { max-height: none !important; overflow: visible !important; }
}
