/* v1.3.260 — structural footer padding parity and final Odstupy header alignment. */

/* FIRE HAZARD
   The add-room footer now uses the same intermediate .fire-load-group-cell
   wrapper as ordinary room rows. This rule only normalizes that shared wrapper
   and does not introduce an offset unique to the footer. */
#main-table.fire-hazard-zoned-table .fh-middle-grid > .fire-load-group-cell,
#main-table.fire-hazard-zoned-table .fh-middle-grid > .fh-footer-fire-load-cell {
  box-sizing: border-box !important;
  width: var(--fhFireLoadWidth) !important;
  min-width: var(--fhFireLoadWidth) !important;
  max-width: var(--fhFireLoadWidth) !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
  margin: 0 !important;
  overflow: visible !important;
}
#main-table.fire-hazard-zoned-table .fh-middle-grid > .fire-load-group-cell > .fire-load-fixed-wrapper,
#main-table.fire-hazard-zoned-table .fh-middle-grid > .fh-footer-fire-load-cell > .fire-load-footer-grid {
  margin: 0 !important;
}

/* ODSTUPY HEADER LABELS
   Apply alignment to the actual header cells and their direct label spans.
   Explicit flex sizing prevents older span-level text rules from winning. */
#facade-table > thead > tr.facade-zone-header > th:nth-child(2) > .facade-zone-middle-grid > span:nth-child(3),
#facade-table > thead > tr.facade-zone-header > th:nth-child(2) > .facade-zone-middle-grid > span:nth-child(4) {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
#facade-table > thead > tr.facade-zone-header > th:nth-child(2) > .facade-zone-middle-grid > span:nth-child(3) > em {
  display: block !important;
  width: auto !important;
  margin: 0 auto !important;
  text-align: center !important;
}
#facade-table > thead > tr.facade-zone-header > th:nth-child(2) > .facade-zone-middle-grid > span:nth-child(7) {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: flex-end !important;
  text-align: right !important;
}
#facade-table > thead > tr.facade-zone-header > th:nth-child(1) > .pbs-zone-left-grid > span:first-child {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}
