/* v1.3.237 — Odstupy-only distance boundary and vertical-centering correction. */

/* The physical CENTRAL cell owns exactly the track sum. Remove inherited
   horizontal padding which previously made the inner grid protrude beneath
   the fixed RIGHT action zone. */
html body #facade-table.facade-zoned-table > thead > tr > th.facade-zone-middle,
html body #facade-table.facade-zoned-table > thead > tr.facade-zone-header > th:nth-child(2),
html body #facade-table.facade-zoned-table > tbody > tr > td.facade-zone-middle {
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body #facade-table.facade-zoned-table .facade-zone-middle-grid {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Keep the standard-width Odstup track fully inside CENTRAL. Its content is
   anchored to the right edge; if a dual result is intrinsically longer than
   the track, clipping occurs on the left, never on the final unit suffix. */
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(8) {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: stretch !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 6px 0 4px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
  text-align: right !important;
  white-space: nowrap !important;
}
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(8) > .facade-distance-value,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(8) > .facade-distance-message,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(8) > .facade-distance-dual {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* The RIGHT zone must not overlap CENTRAL. It starts after the complete middle
   column and clips only its own icon contents. */
html body #facade-table.facade-zoned-table > colgroup > col.facade-zone-right-col,
html body #facade-table.facade-zoned-table > thead > tr > th.facade-zone-right,
html body #facade-table.facade-zoned-table > thead > tr.facade-zone-header > th:last-child,
html body #facade-table.facade-zoned-table > tbody > tr > td.facade-zone-right {
  position: static !important;
  z-index: auto !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Vertically center the four summary tracks: opening count, total facade area,
   opening area and facade area without openings. Normalize both direct text
   spans and editable/read-only wrappers to the complete row content height. */
html body #facade-table.facade-zoned-table > tbody > tr.facade-row > td.facade-zone-middle,
html body #facade-table.facade-zoned-table > tbody > tr.facade-row .facade-zone-middle-grid {
  vertical-align: middle !important;
  align-items: center !important;
}
html body #facade-table.facade-zoned-table > tbody > tr.facade-row
  .facade-zone-middle-grid > :nth-child(4),
html body #facade-table.facade-zoned-table > tbody > tr.facade-row
  .facade-zone-middle-grid > :nth-child(5),
html body #facade-table.facade-zoned-table > tbody > tr.facade-row
  .facade-zone-middle-grid > :nth-child(6),
html body #facade-table.facade-zoned-table > tbody > tr.facade-row
  .facade-zone-middle-grid > :nth-child(7),
html body #facade-table.facade-zoned-table .opening-count-value,
html body #facade-table.facade-zoned-table .facade-opening-area-readonly,
html body #facade-table.facade-zoned-table .facade-opening-area-edit,
html body #facade-table.facade-zoned-table .facade-cpop-value,
html body #facade-table.facade-zoned-table .facade-opening-area-edit .num-wrap,
html body #facade-table.facade-zoned-table .facade-opening-area-edit .metric-input-shell {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}
