/* PBS v1.3.269 — exact header row boxes and Odstupy input border visibility. */

/* Fire Compartments contains two header rows. Each row is exactly the central
   row height; no inner wrapper, label, checkbox, or input may enlarge it. */
#fc-table.fc-zoned-table > thead > tr,
#fc-table.fc-zoned-table > thead > tr > th {
  height: var(--pbs-table-row-height) !important;
  min-height: var(--pbs-table-row-height) !important;
  max-height: var(--pbs-table-row-height) !important;
  box-sizing: border-box !important;
}

#fc-table.fc-zoned-table > thead > tr > th {
  padding-top: var(--pbs-table-cell-padding-block) !important;
  padding-bottom: var(--pbs-table-cell-padding-block) !important;
  vertical-align: middle !important;
  overflow: hidden !important;
}

#fc-table.fc-zoned-table > thead > tr > th > :is(div,label,span),
#fc-table.fc-zoned-table > thead .fc-main-center-grid,
#fc-table.fc-zoned-table > thead .pbs-zone-left-grid,
#fc-table.fc-zoned-table > thead .fc-group-checkbox-label {
  height: var(--pbs-table-control-height) !important;
  min-height: 0 !important;
  max-height: var(--pbs-table-control-height) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
}

#fc-table.fc-zoned-table > thead :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  height: var(--pbs-table-control-height) !important;
  min-height: var(--pbs-table-control-height) !important;
  max-height: var(--pbs-table-control-height) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

/* Odstupy length/height controls: keep the real 1 px border above neighbouring
   table-cell painting and remove clipping from every ancestor at that boundary. */
html body #facade-table.facade-zoned-table > tbody > tr > td.facade-zone-middle,
html body #facade-table.facade-zoned-table > tbody > tr > td.facade-zone-middle > .facade-zone-middle-grid,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(1),
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(2),
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(1) .num-wrap,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(2) .num-wrap,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(1) .metric-input-shell,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(2) .metric-input-shell {
  overflow: visible !important;
}

html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(1) .metric-input-shell,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(2) .metric-input-shell,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(1) .num-input,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(2) .num-input {
  position: relative !important;
  z-index: 2 !important;
}

html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(1) .num-input,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(2) .num-input {
  height: var(--pbs-table-control-height) !important;
  min-height: var(--pbs-table-control-height) !important;
  max-height: var(--pbs-table-control-height) !important;
  border: 1px solid #94a3b8 !important;
  border-radius: var(--pbs-table-corner-radius) !important;
  box-sizing: border-box !important;
  background-clip: padding-box !important;
}

html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(1) .num-input:focus,
html body #facade-table.facade-zoned-table .facade-zone-middle-grid > :nth-child(2) .num-input:focus {
  border-color: #001f3f !important;
}
