/* Structune Hub V17.7.4.536 — corrected SCI08, named register pages only.
   Remove table outer boundaries without changing internal column dividers. */

/* Table / viewport container: left, right and bottom edges only. */
html body.v17-assemblies-constrained #view-assemblies .assemblies-table-panel,
html body.v17-single-parts-constrained #view-single-parts .single-parts-table-panel,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-table-panel,
html body.v17-fasteners-constrained #view-fasteners .fasteners-table-panel,
html body.v17-labels-constrained #view-labels-qr .labels-table-panel,
html body.v17-production-constrained #view-production .production-table-panel,
html body.v17-loads-constrained #view-loads :is(.loads-table-panel,.loads-register-panel),
html body.v17-reports-constrained #view-reports .reports-table-panel{
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
}

/* Active SBS/unified classes carry extra specificity in the legacy rules.
   Match those exact runtime classes and add the build attribute so this
   page-scoped correction remains authoritative after table installation. */
html body[data-structune-build].v17-assemblies-constrained #view-assemblies .assemblies-table-panel:is(.v165-scroll-layout,.hub-unified-panel),
html body[data-structune-build].v17-single-parts-constrained #view-single-parts .single-parts-table-panel:is(.sbs165-scroll-layout,.hub-unified-panel),
html body[data-structune-build].v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-table-panel:is(.sbs165-scroll-layout,.hub-unified-panel),
html body[data-structune-build].v17-fasteners-constrained #view-fasteners .fasteners-table-panel:is(.sbs165-scroll-layout,.hub-unified-panel),
html body[data-structune-build].v17-labels-constrained #view-labels-qr .labels-table-panel:is(.sbs165-labels-scroll-layout,.hub-unified-panel),
html body[data-structune-build].v17-production-constrained #view-production .production-table-panel:is(.sbs165-production-scroll-layout,.hub-unified-panel),
html body[data-structune-build].v17-reports-constrained #view-reports #reportOutput .reports-table-panel:is(.sbs165-reports-scroll-layout,.hub-unified-panel){
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
}

/* Original and SBS body tables: suppress only their outer box edges. */
html body.v17-assemblies-constrained #view-assemblies .assemblies-table-panel table,
html body.v17-single-parts-constrained #view-single-parts .single-parts-table-panel table,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-table-panel table,
html body.v17-fasteners-constrained #view-fasteners .fasteners-table-panel table,
html body.v17-labels-constrained #view-labels-qr .labels-table-panel table,
html body.v17-production-constrained #view-production .production-table-panel table,
html body.v17-loads-constrained #view-loads :is(.loads-table-panel,.loads-register-panel) table,
html body.v17-reports-constrained #view-reports .reports-table-panel table{
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
}

/* Fixed/original header: remove only the far-left and far-right vertical edge. */
html body.v17-assemblies-constrained #view-assemblies .assemblies-table-panel thead th:first-child,
html body.v17-single-parts-constrained #view-single-parts .single-parts-table-panel thead th:first-child,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-table-panel thead th:first-child,
html body.v17-fasteners-constrained #view-fasteners .fasteners-table-panel thead th:first-child,
html body.v17-labels-constrained #view-labels-qr .labels-table-panel thead th:first-child,
html body.v17-production-constrained #view-production .production-table-panel thead th:first-child,
html body.v17-loads-constrained #view-loads :is(.loads-table-panel,.loads-register-panel) thead th:first-child,
html body.v17-reports-constrained #view-reports .reports-table-panel thead th:first-child{
  border-left:0!important;
}

html body.v17-assemblies-constrained #view-assemblies .assemblies-table-panel thead th:last-child,
html body.v17-single-parts-constrained #view-single-parts .single-parts-table-panel thead th:last-child,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-table-panel thead th:last-child,
html body.v17-fasteners-constrained #view-fasteners .fasteners-table-panel thead th:last-child,
html body.v17-labels-constrained #view-labels-qr .labels-table-panel thead th:last-child,
html body.v17-production-constrained #view-production .production-table-panel thead th:last-child,
html body.v17-loads-constrained #view-loads :is(.loads-table-panel,.loads-register-panel) thead th:last-child,
html body.v17-reports-constrained #view-reports .reports-table-panel thead th:last-child{
  border-right:0!important;
}

/* SBS draws the header side edges with pseudo-elements, independently of the
   table and panel borders. Remove those two generated edge lines. */
html body.v17-assemblies-constrained #view-assemblies .assemblies-header-viewport-v165::before,
html body.v17-assemblies-constrained #view-assemblies .assemblies-header-viewport-v165::after,
html body.v17-single-parts-constrained #view-single-parts .single-parts-header-viewport-sbs165::before,
html body.v17-single-parts-constrained #view-single-parts .single-parts-header-viewport-sbs165::after,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-header-viewport-sbs165::before,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-header-viewport-sbs165::after,
html body.v17-fasteners-constrained #view-fasteners .fasteners-header-viewport-sbs165::before,
html body.v17-fasteners-constrained #view-fasteners .fasteners-header-viewport-sbs165::after,
html body.v17-labels-constrained #view-labels-qr .labels-header-viewport-sbs165::before,
html body.v17-labels-constrained #view-labels-qr .labels-header-viewport-sbs165::after,
html body.v17-production-constrained #view-production .production-header-viewport-sbs165::before,
html body.v17-production-constrained #view-production .production-header-viewport-sbs165::after,
html body.v17-reports-constrained #view-reports #reportOutput .reports-header-viewport-sbs165::before,
html body.v17-reports-constrained #view-reports #reportOutput .reports-header-viewport-sbs165::after{
  content:none!important;
}

/* Override the page-specific SBS perimeter rules at their actual nodes. */
html body.v17-assemblies-constrained #view-assemblies :is(.assemblies-header-viewport-v165,.assemblies-body-viewport-v165),
html body.v17-single-parts-constrained #view-single-parts :is(.single-parts-header-viewport-sbs165,.single-parts-body-viewport-sbs165),
html body.v17-cold-rolled-constrained #view-cold-rolled :is(.cold-rolled-header-viewport-sbs165,.cold-rolled-body-viewport-sbs165),
html body.v17-fasteners-constrained #view-fasteners :is(.fasteners-header-viewport-sbs165,.fasteners-body-viewport-sbs165),
html body.v17-labels-constrained #view-labels-qr :is(.labels-header-viewport-sbs165,.labels-body-viewport-sbs165),
html body.v17-production-constrained #view-production :is(.production-header-viewport-sbs165,.production-body-viewport-sbs165),
html body.v17-reports-constrained #view-reports #reportOutput :is(.reports-header-viewport-sbs165,.reports-body-viewport-sbs165){
  border-left:0!important;
  border-right:0!important;
}

html body.v17-assemblies-constrained #view-assemblies .assemblies-body-viewport-v165,
html body.v17-single-parts-constrained #view-single-parts .single-parts-body-viewport-sbs165,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-body-viewport-sbs165,
html body.v17-fasteners-constrained #view-fasteners .fasteners-body-viewport-sbs165,
html body.v17-labels-constrained #view-labels-qr .labels-body-viewport-sbs165,
html body.v17-production-constrained #view-production .production-body-viewport-sbs165,
html body.v17-reports-constrained #view-reports #reportOutput .reports-body-viewport-sbs165{
  border-bottom:0!important;
}

/* The bottommost cell borders are the visible table bottom on unsplit tables
   (including both Loads & Delivery tables). */
html body.v17-assemblies-constrained #view-assemblies .assemblies-table-panel tbody tr:last-child>td,
html body.v17-single-parts-constrained #view-single-parts .single-parts-table-panel tbody tr:last-child>td,
html body.v17-cold-rolled-constrained #view-cold-rolled .cold-rolled-table-panel tbody tr:last-child>td,
html body.v17-fasteners-constrained #view-fasteners .fasteners-table-panel tbody tr:last-child>td,
html body.v17-labels-constrained #view-labels-qr .labels-table-panel tbody tr:last-child>td,
html body.v17-production-constrained #view-production .production-table-panel tbody tr:last-child>td,
html body.v17-loads-constrained #view-loads :is(.loads-table-panel,.loads-register-panel) tbody tr:last-child>td,
html body.v17-reports-constrained #view-reports .reports-table-panel tbody tr:last-child>td{
  border-bottom:0!important;
}
