/* Planning proportions matched to the approved reference. */
#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale] > table.operating-planning-calendar-v2 {
  width: var(--planning-table-width) !important;
  min-width: var(--planning-table-width) !important;
  max-width: var(--planning-table-width) !important;
  height: max-content !important;
  min-height: 0 !important;
  max-height: max-content !important;
  align-self: flex-start !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 col.operating-planning-employee-column {
  width: 170px !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 col.operating-planning-period-column {
  width: var(--planning-period-width) !important;
}

#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale] {
  border-color: #d5e4e1 !important;
  border-radius: 6px !important;
  background: #fff !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 thead .operating-planning-period-row th {
  top: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 3px 4px !important;
  border-right: 1px solid #d9e6e4 !important;
  border-bottom: 1px solid #cbdedb !important;
  background: #f4f8f7 !important;
  color: #425d59 !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 thead .operating-planning-period-row th > span {
  display: block !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 16px !important;
  white-space: nowrap !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 thead .operating-planning-period-row th > small {
  display: block !important;
  margin: 0 !important;
  color: #71847f !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 13px !important;
  white-space: nowrap !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 thead .operating-planning-period-row th:first-child {
  padding-left: 10px !important;
  text-align: left !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 tbody {
  display: table-row-group !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 tbody tr,
#commoditiesWorkspace .operating-planning-calendar-v2 tbody tr > :is(th, td) {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 tbody tr > :is(th, td) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.1 !important;
  vertical-align: middle !important;
  border-right: 1px solid #e0ebe9 !important;
  border-bottom: 1px solid #e0ebe9 !important;
  background: #fff !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 :is(thead, tbody) tr > :first-child {
  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;
  background: #fbfdfc !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 :is(thead, tbody) tr > :last-child {
  border-right: 0 !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 tbody tr > th strong {
  display: block !important;
  max-width: calc(100% - 22px) !important;
  color: #182b28 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 15px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 .operating-planning-person-dot {
  flex: 0 0 auto !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 7px 0 0 !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 tbody tr > th {
  overflow: hidden !important;
  padding: 3px 8px 3px 10px !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 .operating-planning-person-cell {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 32px !important;
  overflow: hidden !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 .operating-planning-person {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  line-height: 1 !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 .operating-planning-person > strong {
  max-width: 100% !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 .operating-planning-person > small {
  display: block !important;
  margin-top: 1px !important;
  color: #71847f !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 11px !important;
  white-space: nowrap !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 tbody :is(.operating-planning-project, .operating-planning-absence, .operating-planning-empty-cell) {
  box-sizing: border-box !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 32px !important;
}

#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale="weeks"] .operating-planning-calendar-v2 tbody tr > :not(:first-child),
#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale="weeks"] .operating-planning-calendar-v2 thead .operating-planning-period-row > th:not(:first-child) {
  width: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
}

#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale="days"] .operating-planning-calendar-v2 tbody tr > :not(:first-child),
#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale="days"] .operating-planning-calendar-v2 thead .operating-planning-period-row > th:not(:first-child) {
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
}

#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale="months"] .operating-planning-calendar-v2 tbody tr > :not(:first-child),
#commoditiesWorkspace .operating-planning-calendar-wrap[data-scale="months"] .operating-planning-calendar-v2 thead .operating-planning-period-row > th:not(:first-child) {
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
}

#commoditiesWorkspace .operating-planning-calendar-v2 :is(th, td).is-month-start {
  border-left: 1px solid #4aa99b !important;
}
