/* @reference sample/ecom-customers.html: table header border-bottom.
   Shared by application tables and standalone HACCP print reports. */
:root {
  --table-point-color: #D5D9DF;
}

/* Cell borders also cover sticky headers and tables with separate borders.
   Important keeps local border utilities from changing the shared baseline. */
table > thead,
table > thead > tr,
table > thead > tr > :is(th, td) {
  border-bottom: 1px solid var(--table-point-color) !important;
}

/* The first header row shares the standard top boundary, including
   tables with multiple header rows and separate border rendering. */
table > thead,
table > thead > tr:first-child,
table > thead > tr:first-child > :is(th, td) {
  border-top: 1px solid var(--table-point-color) !important;
}

/* In collapsed tables, the first body row shares the header boundary. */
table > thead + tbody > tr:first-child,
table > thead + tbody > tr:first-child > :is(th, td) {
  border-top-color: var(--table-point-color) !important;
}

.table-point-top {
  border-top: 1px solid var(--table-point-color) !important;
}

.table-point-right {
  border-right: 1px solid var(--table-point-color) !important;
}
