/* Keep the table frame visible even when its columns scroll horizontally. */
:where(#app, #detail) :is(.table-wrap, .al-table-wrap):has(> table) {
  border: 1px solid #dce2e9;
  border-radius: 8px;
  overflow: auto;
  background: #fff;
}

/* Standalone tables receive the same frame. Wrapped tables use their container. */
:where(#app, #detail) table {
  outline: 1px solid #dce2e9;
  outline-offset: -1px;
}

:where(#app, #detail) :is(.table-wrap, .al-table-wrap) > table {
  outline: none;
}
