/* v1.3.241 — final alignment and shared control geometry. Loaded last. */
:root{
  --pbs-left-id-min:72px;
  --pbs-left-id-max:112px;
  --pbs-left-name-min:160px;
  --pbs-scrubber-size:20px;
  --pbs-scrubber-gap:2px;
}

/* One project-wide circle-dot editor, matching Openings mode. */
.lever-dial,
.scrubber,
.circle-dot-editor{
  width:var(--pbs-scrubber-size)!important;
  height:var(--pbs-scrubber-size)!important;
  min-width:var(--pbs-scrubber-size)!important;
  max-width:var(--pbs-scrubber-size)!important;
  min-height:var(--pbs-scrubber-size)!important;
  max-height:var(--pbs-scrubber-size)!important;
  flex:0 0 var(--pbs-scrubber-size)!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  margin:0 var(--pbs-scrubber-gap)!important;
}
.lever-core,.scrubber-dot{
  width:6px!important;height:6px!important;min-width:6px!important;min-height:6px!important;
  left:5px!important;top:5px!important;border-radius:50%!important;
}
#fc-table .fc-length-editor{gap:0!important;padding:0!important}
#fc-table .fc-length-editor .unit-input-wrapper{margin:0!important;flex:1 1 0!important;min-width:0!important}
#fc-table .fc-length-editor .lever-dial{margin-left:var(--pbs-scrubber-gap)!important;margin-right:var(--pbs-scrubber-gap)!important}

/* OPENINGS: no viewport-derived column geometry; main and nested tables share measured variables. */
#main-table.openings-zoned-table{
  width:var(--pbs-openings-table-width,100%)!important;
  min-width:932px!important;
  max-width:none!important;
  table-layout:fixed!important;
}
#main-table.openings-zoned-table col.main-cp-col{width:var(--pbs-openings-left-id,72px)!important;min-width:var(--pbs-openings-left-id,72px)!important;max-width:var(--pbs-openings-left-id,72px)!important}
#main-table.openings-zoned-table col.main-room-col{width:var(--pbs-openings-left-name,160px)!important;min-width:var(--pbs-openings-left-name,160px)!important;max-width:var(--pbs-openings-left-name,160px)!important}
#main-table.openings-zoned-table col.main-openings-col{width:var(--pbs-openings-flex,136px)!important;min-width:var(--pbs-openings-flex,136px)!important;max-width:var(--pbs-openings-flex,136px)!important}
#main-table.openings-zoned-table .accordion-tray>td{padding:0!important;margin:0!important}
#main-table.openings-zoned-table .openings-table{
  width:100%!important;min-width:100%!important;max-width:100%!important;
  margin:0!important;border-spacing:0!important;table-layout:fixed!important;
}
#main-table.openings-zoned-table .openings-table col:nth-child(1){width:var(--pbs-openings-left-id,72px)!important;min-width:var(--pbs-openings-left-id,72px)!important;max-width:var(--pbs-openings-left-id,72px)!important}
#main-table.openings-zoned-table .openings-table col:nth-child(2){width:var(--pbs-openings-left-name,160px)!important;min-width:var(--pbs-openings-left-name,160px)!important;max-width:var(--pbs-openings-left-name,160px)!important}
#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,72px)!important;min-width:var(--pbs-openings-left-id,72px)!important;max-width:var(--pbs-openings-left-id,72px)!important}
#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,160px)!important;min-width:var(--pbs-openings-left-name,160px)!important;max-width:var(--pbs-openings-left-name,160px)!important}
#main-table.openings-zoned-table .openings-table th,#main-table.openings-zoned-table .openings-table td{box-sizing:border-box!important}
#main-table.openings-zoned-table .openings-table .opening-actions-cell{padding:0 var(--pbs-icon-gap)!important;overflow:hidden!important}
#main-table.openings-zoned-table .opening-actions-cluster{
  display:grid!important;grid-template-columns:repeat(5,var(--pbs-icon-size))!important;
  gap:var(--pbs-icon-gap)!important;width:calc(5 * var(--pbs-icon-size) + 4 * var(--pbs-icon-gap))!important;
  margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
}

/* BOUNDARY SEGMENTS: remove historical 991px/viewport rules and synchronize zones. */
#main-table.boundary-zoned-table{
  width:var(--pbs-boundary-table-width,100%)!important;
  min-width:928px!important;max-width:none!important;table-layout:fixed!important;
  margin:0!important;border-spacing:0!important;
}
#main-table.boundary-zoned-table col.main-cp-col{width:var(--pbs-boundary-left-id,72px)!important;min-width:var(--pbs-boundary-left-id,72px)!important;max-width:var(--pbs-boundary-left-id,72px)!important}
#main-table.boundary-zoned-table col.main-room-col{width:var(--pbs-boundary-left-name,160px)!important;min-width:var(--pbs-boundary-left-name,160px)!important;max-width:var(--pbs-boundary-left-name,160px)!important}
#main-table.boundary-zoned-table col.main-segments-col{width:var(--pbs-boundary-flex,220px)!important;min-width:var(--pbs-boundary-flex,220px)!important;max-width:var(--pbs-boundary-flex,220px)!important}
#main-table.boundary-zoned-table .tray>td,#main-table.boundary-zoned-table .segment-tray>td,#main-table.boundary-zoned-table .accordion-tray>td{
  padding:0!important;margin:0!important;border-spacing:0!important;
}
#main-table.boundary-zoned-table .segment-table{
  width:100%!important;min-width:100%!important;max-width:100%!important;
  margin:0!important;border-spacing:0!important;table-layout:fixed!important;
}
#main-table.boundary-zoned-table .segment-table col.col-por{width:var(--pbs-boundary-left-id,72px)!important;min-width:var(--pbs-boundary-left-id,72px)!important;max-width:var(--pbs-boundary-left-id,72px)!important}
#main-table.boundary-zoned-table .segment-table col.col-name{width:var(--pbs-boundary-left-name,160px)!important;min-width:var(--pbs-boundary-left-name,160px)!important;max-width:var(--pbs-boundary-left-name,160px)!important}
#main-table.boundary-zoned-table .segment-table col.col-openings{width:var(--pbs-boundary-flex,220px)!important;min-width:var(--pbs-boundary-flex,220px)!important;max-width:var(--pbs-boundary-flex,220px)!important}
#main-table.boundary-zoned-table .segment-table th,#main-table.boundary-zoned-table .segment-table td{box-sizing:border-box!important}
#main-table.boundary-zoned-table .segment-table .col-actions,
#main-table.boundary-zoned-table .segment-table th:last-child,
#main-table.boundary-zoned-table .segment-table td:last-child{width:var(--pbs-action-zone-5)!important;min-width:var(--pbs-action-zone-5)!important;max-width:var(--pbs-action-zone-5)!important;padding:0 var(--pbs-icon-gap)!important;overflow:hidden!important}
#main-table.boundary-zoned-table .segment-table .action-cluster{
  display:grid!important;grid-template-columns:repeat(5,var(--pbs-icon-size))!important;
  gap:var(--pbs-icon-gap)!important;width:calc(5 * var(--pbs-icon-size) + 4 * var(--pbs-icon-gap))!important;
  margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
}

/* ODSTUPY: one true left-zone column in opening subtables and exact action alignment. */
#facade-table .facade-tray-row>td{padding:0!important;margin:0!important}
#facade-table .opening-table--compartment,
#facade-table .opening-table{
  margin:0!important;width:100%!important;min-width:100%!important;max-width:100%!important;
  border-spacing:0!important;table-layout:fixed!important;
}
#facade-table .opening-table th:first-child,#facade-table .opening-table td:first-child{
  padding-left:var(--pbs-cell-inline-pad)!important;padding-right:var(--pbs-cell-inline-pad)!important;
  text-indent:0!important;margin-left:0!important;
}
#facade-table .opening-table .opening-name-wrap,
#facade-table .opening-table .opening-name-display,
#facade-table .opening-table .opening-readonly-name,
#facade-table .opening-table .opening-fc-name-head{
  margin-left:0!important;padding-left:0!important;text-indent:0!important;transform:none!important;
}
#facade-table .opening-table col.opening-name-col,
#facade-table .opening-table th:first-child,
#facade-table .opening-table td:first-child{
  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;
}
/* Width is central track 1: zone border must be before this cell. */
#facade-table .opening-table th:nth-child(2),#facade-table .opening-table td:nth-child(2){border-left:0!important}
#facade-table .opening-table .opening-actions-cell{padding:0 var(--pbs-icon-gap)!important;text-align:center!important;overflow:hidden!important}
#facade-table .opening-table--compartment .opening-fc-transfer-actions::before{display:none!important;content:none!important}
#facade-table .facade-zone-right>.actions,
#facade-table .opening-table--compartment .opening-fc-transfer-actions,
#facade-table .opening-table--compartment .assigned-fc-actions{
  display:grid!important;grid-template-columns:repeat(2,var(--pbs-icon-size))!important;
  grid-auto-columns:var(--pbs-icon-size)!important;gap:var(--pbs-icon-gap)!important;
  width:calc(2 * var(--pbs-icon-size) + var(--pbs-icon-gap))!important;
  min-width:calc(2 * var(--pbs-icon-size) + var(--pbs-icon-gap))!important;
  max-width:calc(2 * var(--pbs-icon-size) + var(--pbs-icon-gap))!important;
  margin:0 auto!important;padding:0!important;transform:none!important;
}
#facade-table .facade-zone-right>.actions>.icon-btn,
#facade-table .opening-table--compartment .opening-fc-transfer-actions>.icon-btn,
#facade-table .opening-table--compartment .assigned-fc-actions>.icon-btn{
  margin:0!important;transform:none!important;justify-self:center!important;
}
