/* v1.3.242 — targeted source fixes for Openings overflow and Odstupy subtable zoning. */
:root{
  --pbs-openings-min-table:956px;
  --pbs-openings-left-id-min:72px;
  --pbs-openings-left-name-min:160px;
  --pbs-openings-central-flex-min:160px;
}

/* OPENINGS: one finite table width derived from the visible host, never from expanded scroll width. */
#main-table.openings-zoned-table{
  width:var(--pbs-openings-visible-width,var(--pbs-openings-min-table))!important;
  min-width:var(--pbs-openings-min-table)!important;
  max-width:var(--pbs-openings-visible-width,var(--pbs-openings-min-table))!important;
  table-layout:fixed!important;
  box-sizing:border-box!important;
}
#main-table.openings-zoned-table .accordion-tray>td{
  padding:0!important;margin:0!important;overflow:hidden!important;
}
#main-table.openings-zoned-table .openings-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  table-layout:fixed!important;
  box-sizing:border-box!important;
}
#main-table.openings-zoned-table .openings-table col:nth-child(1),
#main-table.openings-zoned-table .openings-table th:nth-child(1),
#main-table.openings-zoned-table .openings-table td:nth-child(1){
  width:var(--pbs-openings-left-id-242,var(--pbs-openings-left-id-min))!important;
  min-width:var(--pbs-openings-left-id-242,var(--pbs-openings-left-id-min))!important;
  max-width:var(--pbs-openings-left-id-242,var(--pbs-openings-left-id-min))!important;
}
#main-table.openings-zoned-table .openings-table col:nth-child(2),
#main-table.openings-zoned-table .openings-table th:nth-child(2),
#main-table.openings-zoned-table .openings-table td:nth-child(2){
  width:var(--pbs-openings-left-name-242,var(--pbs-openings-left-name-min))!important;
  min-width:var(--pbs-openings-left-name-242,var(--pbs-openings-left-name-min))!important;
  max-width:var(--pbs-openings-left-name-242,var(--pbs-openings-left-name-min))!important;
}
/* Five numeric tracks and the action zone must fit inside the parent table, not enlarge it. */
#main-table.openings-zoned-table .openings-table col:nth-child(n+3):nth-child(-n+7),
#main-table.openings-zoned-table .openings-table th:nth-child(n+3):nth-child(-n+7),
#main-table.openings-zoned-table .openings-table td:nth-child(n+3):nth-child(-n+7){
  width:var(--pbs-fixed-wide,112px)!important;min-width:var(--pbs-fixed-wide,112px)!important;max-width:var(--pbs-fixed-wide,112px)!important;
}
#main-table.openings-zoned-table .openings-table col:nth-child(8),
#main-table.openings-zoned-table .openings-table th:nth-child(8),
#main-table.openings-zoned-table .openings-table td:nth-child(8){
  width:var(--pbs-action-zone-5,164px)!important;min-width:var(--pbs-action-zone-5,164px)!important;max-width:var(--pbs-action-zone-5,164px)!important;
}

/* ODSTUPY: the first subtable cell is the entire left zone; opening width begins central zone. */
#facade-table .facade-tray-row>td{padding:0!important;margin:0!important}
#facade-table .opening-table{
  width:100%!important;min-width:100%!important;max-width:100%!important;
  margin:0!important;border-spacing:0!important;table-layout:fixed!important;box-sizing:border-box!important;
}
#facade-table .opening-table col:nth-child(1),
#facade-table .opening-table th:nth-child(1),
#facade-table .opening-table td:nth-child(1){
  width:var(--pbs-facade-left-width,var(--facade-left-effective-width,232px))!important;
  min-width:var(--pbs-facade-left-width,var(--facade-left-effective-width,232px))!important;
  max-width:var(--pbs-facade-left-width,var(--facade-left-effective-width,232px))!important;
  box-sizing:border-box!important;
}
#facade-table .opening-table col:nth-child(2),
#facade-table .opening-table th:nth-child(2),
#facade-table .opening-table td:nth-child(2){
  border-left-width:0!important;
}
#facade-table .opening-table th:nth-child(1),
#facade-table .opening-table td:nth-child(1){
  padding-left:4px!important;padding-right:4px!important;margin:0!important;text-indent:0!important;
}
#facade-table .opening-table td:nth-child(1)>*,
#facade-table .opening-table th:nth-child(1)>*{
  margin-left:0!important;padding-left:0!important;text-indent:0!important;transform:none!important;
}
