/* =========================================================
  Bed Ash 반출 · 효율팀 확인
========================================================= */

#efficiencyTeamModal .efficiency-bed-ash-tab {
  grid-template-columns: 23px minmax(0, 1fr) auto;
  color: #5f4b34 !important;
  border-color: #d8c7ad !important;
  background: #f4eee4 !important;
}

#efficiencyTeamModal .efficiency-bed-ash-tab:hover {
  border-color: #c5ae8a !important;
  background: #eee3d4 !important;
}

#efficiencyTeamModal .efficiency-bed-ash-tab:is(
  .is-active,
  .active,
  [aria-selected="true"]
) {
  border-color: #9d7b4e !important;
  background: #e9ddcc !important;
}

#efficiencyTeamModal .efficiency-team-tab__badge {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #cf4545;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

#efficiencyTeamModal .efficiency-team-tab__badge[hidden] {
  display: none !important;
}

#efficiencyTeamModal #efficiencyBedAshDischargeView {
  min-width: 0;
  min-height: 0;
  background: #f5f7fa;
}

#efficiencyTeamModal #efficiencyBedAshDischargeView.is-active {
  display: flex;
  flex-direction: column;
}

#efficiencyTeamModal .bed-ash-discharge-heading {
  flex: 0 0 auto;
}

#efficiencyTeamModal .bed-ash-discharge-heading > div {
  min-width: 0;
}

#efficiencyTeamModal .bed-ash-discharge-heading p {
  margin: 5px 0 0;
  color: #5d6d80;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

#efficiencyTeamModal .bed-ash-discharge-refresh-button {
  min-width: 112px;
  min-height: 40px;
  border-color: #b79b73;
  background: #ffffff;
  color: #60492c;
  font-size: 13px;
  font-weight: 850;
}

#efficiencyTeamModal .bed-ash-discharge-dashboard {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
}

/* 조회 기간 */

#efficiencyTeamModal .bed-ash-discharge-query-card {
  display: grid;
  grid-template-columns: auto minmax(300px, auto) minmax(220px, 1fr);
  align-items: center;
  gap: 10px 14px;
  padding: 10px 12px;
  border: 1px solid #d9e1eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 13px rgba(40, 51, 66, 0.05);
}

#efficiencyTeamModal .bed-ash-discharge-period-buttons {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(54px, 1fr));
  overflow: hidden;
  border: 1px solid #ccb895;
  border-radius: 9px;
  background: #f8f4ee;
}

#efficiencyTeamModal .bed-ash-discharge-period-buttons button {
  min-height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #ddcfb8;
  background: transparent;
  color: #725a39;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

#efficiencyTeamModal .bed-ash-discharge-period-buttons button:last-child {
  border-right: 0;
}

#efficiencyTeamModal
  .bed-ash-discharge-period-buttons
  button[aria-pressed="true"] {
  background: #725839;
  color: #ffffff;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation {
  display: grid;
  grid-template-columns: 38px minmax(145px, 1fr) 52px 38px;
  align-items: end;
  gap: 6px;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation > button {
  height: 40px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #cdd7e3;
  border-radius: 8px;
  background: #f8fafc;
  color: #41536b;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation > button:first-child,
#efficiencyTeamModal .bed-ash-discharge-date-navigation > button:last-child {
  font-size: 22px;
  line-height: 1;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation label {
  display: grid;
  gap: 4px;
  color: #6b7788;
  font-size: 11px;
  font-weight: 850;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid #cdd7e3;
  border-radius: 8px;
  background: #ffffff;
  color: #293c53;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

#efficiencyTeamModal .bed-ash-discharge-query-state {
  min-width: 0;
  padding-left: 13px;
  border-left: 1px solid #e0e6ee;
}

#efficiencyTeamModal .bed-ash-discharge-query-state strong {
  display: block;
  overflow: hidden;
  color: #34465b;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#efficiencyTeamModal .bed-ash-discharge-query-state p {
  margin: 4px 0 0;
  color: #5e6e82;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

#efficiencyTeamModal .bed-ash-discharge-read-only-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 7px 9px;
  border-radius: 7px;
  background: #edf3f8;
  color: #546b80;
  font-size: 12px;
  font-weight: 750;
}

#efficiencyTeamModal .bed-ash-discharge-read-only-notice[hidden] {
  display: none;
}

#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-mobile-client="true"]
  .bed-ash-discharge-read-only-notice {
  display: block !important;
}

/* 요약 */

#efficiencyTeamModal .bed-ash-discharge-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

#efficiencyTeamModal .bed-ash-discharge-summary-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 10px 13px;
  border: 1px solid #d8e1eb;
  border-radius: 11px;
  background: #ffffff;
}

#efficiencyTeamModal .bed-ash-discharge-summary-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #866946;
  content: "";
}

#efficiencyTeamModal .bed-ash-discharge-summary-card.is-unit-one::before {
  background: #316ca7;
}

#efficiencyTeamModal .bed-ash-discharge-summary-card.is-unit-two::before {
  background: #2a8070;
}

#efficiencyTeamModal .bed-ash-discharge-summary-card.is-pending::before {
  background: #d45252;
}

#efficiencyTeamModal .bed-ash-discharge-summary-card > span {
  display: block;
  color: #68778b;
  font-size: 12px;
  font-weight: 800;
}

#efficiencyTeamModal .bed-ash-discharge-summary-card > strong {
  display: block;
  margin-top: 4px;
  color: #263b53;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

#efficiencyTeamModal .bed-ash-discharge-summary-card > small {
  display: block;
  margin-top: 2px;
  color: #65758a;
  font-size: 11px;
  font-weight: 700;
}

/* 최신 Silo 중량 */

#efficiencyTeamModal .bed-ash-discharge-level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#efficiencyTeamModal .bed-ash-discharge-level-card {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid #d4dfeb;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffffff, #f5f9fd);
}

#efficiencyTeamModal .bed-ash-discharge-level-card.is-unit-two {
  background: linear-gradient(135deg, #ffffff, #f2faf8);
}

#efficiencyTeamModal .bed-ash-discharge-level-card > div:first-child {
  min-width: 0;
}

#efficiencyTeamModal .bed-ash-discharge-level-card > div:first-child span {
  display: block;
  color: #53718f;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#efficiencyTeamModal .bed-ash-discharge-level-card > div:first-child strong {
  display: block;
  margin-top: 4px;
  color: #31465c;
  font-size: 14px;
  font-weight: 850;
}

#efficiencyTeamModal .bed-ash-discharge-level-card__value {
  flex: 0 0 auto;
  text-align: right;
}

#efficiencyTeamModal .bed-ash-discharge-level-card__value strong {
  display: block;
  color: #255e91;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

#efficiencyTeamModal .is-unit-two .bed-ash-discharge-level-card__value strong {
  color: #267363;
}

#efficiencyTeamModal .bed-ash-discharge-level-card__value small {
  display: block;
  margin-top: 2px;
  color: #647489;
  font-size: 11px;
  font-weight: 700;
}

/* 반출 감지 표 */

#efficiencyTeamModal .bed-ash-discharge-events-card {
  display: flex;
  min-width: 0;
  min-height: 240px;
  flex: 1 1 280px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d5dfe9;
  border-radius: 12px;
  background: #ffffff;
}

#efficiencyTeamModal .bed-ash-discharge-events-heading {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid #e0e6ed;
  background: #fbfcfd;
}

#efficiencyTeamModal .bed-ash-discharge-events-heading > div:first-child span {
  display: block;
  color: #856a47;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

#efficiencyTeamModal .bed-ash-discharge-events-heading h4 {
  margin: 3px 0 0;
  color: #2e4258;
  font-size: 17px;
  font-weight: 900;
}

#efficiencyTeamModal .bed-ash-discharge-events-toolbar {
  display: flex;
  align-items: end;
  gap: 9px;
}

#efficiencyTeamModal .bed-ash-discharge-events-toolbar label {
  display: grid;
  gap: 3px;
  color: #5e6e82;
  font-size: 11.5px;
  font-weight: 850;
}

#efficiencyTeamModal .bed-ash-discharge-events-toolbar select {
  height: 36px;
  min-width: 105px;
  padding: 0 28px 0 9px;
  border: 1px solid #ccd6e1;
  border-radius: 7px;
  background: #ffffff;
  color: #405268;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

#efficiencyTeamModal .bed-ash-discharge-events-toolbar > strong {
  display: inline-flex;
  min-width: 42px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 7px;
  background: #edf1f5;
  color: #4e6075;
  font-size: 13px;
  font-weight: 900;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: auto;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th,
#efficiencyTeamModal .bed-ash-discharge-table-wrap td {
  box-sizing: border-box;
  padding: 8px;
  border-right: 1px solid #e2e7ed;
  border-bottom: 1px solid #e3e8ee;
  color: #43566d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eef2f6;
  color: #415267;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:first-child {
  width: 180px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(2) {
  width: 64px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(3) {
  width: 170px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(4) {
  width: 130px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(5) {
  width: 190px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:last-child {
  width: 110px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:last-child,
#efficiencyTeamModal .bed-ash-discharge-table-wrap td:last-child {
  border-right: 0;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap tbody tr:hover {
  background: #fbf8f3;
}

#efficiencyTeamModal .bed-ash-discharge-time-cell > strong,
#efficiencyTeamModal .bed-ash-discharge-level-change-cell > strong,
#efficiencyTeamModal .bed-ash-discharge-estimated-cell > strong {
  display: block;
  color: #354a61;
  font-size: 14.5px;
  font-weight: 900;
}

#efficiencyTeamModal .bed-ash-discharge-level-change-cell > strong {
  white-space: nowrap;
}

#efficiencyTeamModal
  .bed-ash-discharge-estimated-cell.is-truck-boundary-unresolved
  > strong {
  color: #9a5a22;
}

#efficiencyTeamModal
  .bed-ash-discharge-estimated-cell.is-legacy-reviewed-event
  > strong {
  color: #5f6f82;
  font-size: 14.5px;
  line-height: 1.35;
}

#efficiencyTeamModal .bed-ash-discharge-time-cell > small,
#efficiencyTeamModal .bed-ash-discharge-estimated-cell > small,
#efficiencyTeamModal .bed-ash-discharge-status-cell > small {
  display: block;
  margin-top: 3px;
  color: #5f6f82;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

#efficiencyTeamModal .bed-ash-discharge-unit-cell > span,
#efficiencyTeamModal .bed-ash-discharge-auto-badge,
#efficiencyTeamModal .bed-ash-discharge-status-badge {
  display: inline-flex;
  min-height: 24px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

#efficiencyTeamModal .bed-ash-discharge-unit-cell > span.is-unit-1 {
  border-color: #9dbbd8;
  background: #edf5fc;
  color: #2c6497;
}

#efficiencyTeamModal .bed-ash-discharge-unit-cell > span.is-unit-2 {
  border-color: #97c7bd;
  background: #ecf8f5;
  color: #267063;
}

#efficiencyTeamModal .bed-ash-discharge-auto-badge {
  border-color: #cbb28d;
  background: #f5ede1;
  color: #6f5330;
}

#efficiencyTeamModal .bed-ash-discharge-status-badge.is-pending {
  border-color: #e0bf79;
  background: #fff7df;
  color: #8a6217;
}

#efficiencyTeamModal .bed-ash-discharge-status-badge.is-provisional {
  border-color: #bdc8d4;
  background: #f0f3f6;
  color: #4f6074;
}

#efficiencyTeamModal
  .bed-ash-discharge-status-badge.is-boundary-unresolved {
  border-color: #d5a563;
  background: #fff4df;
  color: #8a551d;
  white-space: normal;
}

#efficiencyTeamModal .bed-ash-discharge-status-badge.is-confirmed {
  border-color: #8fc4ae;
  background: #eaf7f1;
  color: #216b55;
}

#efficiencyTeamModal .bed-ash-discharge-status-badge.is-excluded {
  border-color: #d6aaaa;
  background: #fff0f0;
  color: #a04646;
}

#efficiencyTeamModal .bed-ash-discharge-reviewer-summary {
  display: block;
  margin-top: 5px;
}

#efficiencyTeamModal .bed-ash-discharge-reviewer-summary > strong,
#efficiencyTeamModal .bed-ash-discharge-reviewer-summary > small {
  display: block;
  color: #53667c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

#efficiencyTeamModal .bed-ash-discharge-reviewer-summary > small {
  margin-top: 2px;
  color: #5f6f82;
  font-weight: 700;
}

#efficiencyTeamModal .bed-ash-discharge-table-state {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #5f6f82;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

#efficiencyTeamModal .bed-ash-discharge-table-state[hidden] {
  display: none !important;
}

#efficiencyTeamModal .bed-ash-discharge-table-state.is-loading::before {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid #d6c7af;
  border-top-color: #785d38;
  border-radius: 50%;
  animation: bed-ash-discharge-spin 0.8s linear infinite;
  content: "";
}

@keyframes bed-ash-discharge-spin {
  to {
    transform: rotate(360deg);
  }
}

/* JS에서 생성하는 효율팀 검토 조작 */

#efficiencyTeamModal .bed-ash-discharge-review-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#efficiencyTeamModal .bed-ash-discharge-review-controls {
  display: grid;
  min-width: 0;
  grid-template-columns:
    minmax(190px, 220px)
    100px
    minmax(180px, 1fr)
    auto;
  align-items: end;
  gap: 8px;
}

#efficiencyTeamModal .bed-ash-discharge-review-row > td {
  border-bottom-color: #d8e0e8;
  background: #fbfaf7;
}

#efficiencyTeamModal .bed-ash-discharge-review-panel-cell {
  padding: 10px 12px !important;
  text-align: left !important;
}

#efficiencyTeamModal .bed-ash-discharge-provisional-note {
  display: inline-block;
  max-width: 100px;
  color: #4f6074;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

#efficiencyTeamModal .bed-ash-discharge-boundary-note {
  display: inline-block;
  max-width: 100px;
  color: #8a551d;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  word-break: keep-all;
}

#efficiencyTeamModal .bed-ash-discharge-review-field {
  display: grid;
  min-width: 0;
  gap: 3px;
  margin: 0;
  text-align: left;
}

#efficiencyTeamModal .bed-ash-discharge-review-field > span {
  overflow: hidden;
  color: #5f6f82;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#efficiencyTeamModal .bed-ash-discharge-review-field > input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 36px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 9px;
  border: 1px solid #c8d3df;
  border-radius: 6px;
  outline: 0;
  background: #ffffff;
  color: #354a61;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: normal;
}

#efficiencyTeamModal .bed-ash-discharge-review-field > input:focus {
  border-color: #9b7b51;
  box-shadow: 0 0 0 2px rgba(155, 123, 81, 0.14);
}

#efficiencyTeamModal .bed-ash-discharge-review-at {
  min-width: 0;
}

#efficiencyTeamModal .bed-ash-discharge-review-ton {
  min-width: 0;
  text-align: right;
}

#efficiencyTeamModal .bed-ash-discharge-review-note {
  min-width: 0;
}

#efficiencyTeamModal [data-bed-ash-review-action],
#efficiencyTeamModal .bed-ash-discharge-review-toggle {
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #c9d3de;
  border-radius: 6px;
  background: #ffffff;
  color: #455970;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

#efficiencyTeamModal .bed-ash-discharge-review-toggle {
  border-color: #b79b73;
  background: #f8f4ee;
  color: #60492c;
}

#efficiencyTeamModal .bed-ash-discharge-review-toggle[aria-expanded="true"] {
  background: #725839;
  color: #ffffff;
}

#efficiencyTeamModal .bed-ash-discharge-review-toggle:disabled {
  border-color: #cbd4de;
  background: #eef2f5;
  color: #5f6f82;
  cursor: wait;
  opacity: 1;
}

#efficiencyTeamModal .bed-ash-discharge-action-state {
  color: #66768a;
  font-size: 12px;
  font-weight: 800;
}

#efficiencyTeamModal [data-bed-ash-review-action="confirm"] {
  border-color: #84b7a7;
  background: #e9f7f2;
  color: #216a58;
}

#efficiencyTeamModal [data-bed-ash-review-action="exclude"] {
  border-color: #d7a4a4;
  background: #fff1f1;
  color: #a34242;
}

#efficiencyTeamModal [data-bed-ash-review-action]:disabled {
  border-color: #d7dde4;
  background: #eef1f4;
  color: #8c98a6;
  cursor: wait;
  opacity: 0.72;
}

/* =========================================================
  메인 오른쪽 알림 레일 · 넓은 PC 전용
========================================================= */

.bed-ash-discharge-main-alert {
  display: none;
}

.bed-ash-discharge-main-alert[hidden] {
  display: none !important;
}

.bed-ash-discharge-main-alert[data-bed-ash-mobile-client="true"] {
  display: none !important;
}

@media screen and (min-width: 1840px) {
  .main-notification-rail > .bed-ash-discharge-main-alert {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    box-sizing: border-box;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 8px 9px;
    border: 1px solid #c8ab7d;
    border-radius: 10px;
    background: linear-gradient(135deg, #fffdf8, #f2e8d8);
    color: #654b27;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(112, 78, 35, 0.13);
  }

  .main-notification-rail > .bed-ash-discharge-main-alert:hover {
    border-color: #ae8954;
    transform: translateY(-1px);
  }

  .bed-ash-discharge-main-alert__mark {
    display: inline-flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #83643e;
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: -0.03em;
  }

  .bed-ash-discharge-main-alert__content {
    display: block;
    min-width: 0;
    padding-right: 30px;
  }

  .bed-ash-discharge-main-alert__content small {
    display: block;
    margin-bottom: 2px;
    font-size: 8px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.04em;
  }

  .bed-ash-discharge-main-alert__content strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .bed-ash-discharge-main-alert__count {
    position: absolute;
    top: 6px;
    right: 7px;
    display: inline-flex;
    min-width: 27px;
    height: 18px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 1px solid rgba(101, 75, 39, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: inherit;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
  }
}

/* =========================================================
  좁은 효율팀 팝업
========================================================= */

@media screen and (max-width: 1100px) {
  #efficiencyTeamModal .bed-ash-discharge-query-card {
    grid-template-columns: auto minmax(280px, 1fr);
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state {
    grid-column: 1 / -1;
    padding: 8px 0 0;
    border-top: 1px solid #e0e6ee;
    border-left: 0;
  }

  #efficiencyTeamModal .bed-ash-discharge-review-controls {
    grid-template-columns: minmax(190px, 1fr) 100px minmax(180px, 1fr);
  }

  #efficiencyTeamModal .bed-ash-discharge-review-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap table {
    min-width: 765px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:first-child {
    width: 165px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(2) {
    width: 60px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(3) {
    width: 150px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(4) {
    width: 120px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(5) {
    width: 170px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:last-child {
    width: 100px;
  }
}

/* =========================================================
  모바일 · 모니터링 전용
========================================================= */

@media screen and (max-width: 768px) {
  #efficiencyTeamModal .efficiency-team-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #efficiencyTeamModal
    .efficiency-team-tabs
    > .efficiency-morning-meeting-menu {
    grid-column: span 2 !important;
  }

  #efficiencyTeamModal .efficiency-bed-ash-tab {
    grid-template-columns: 16px minmax(0, 1fr) auto !important;
  }

  #efficiencyTeamModal .efficiency-team-tab__badge {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
  }

  #efficiencyTeamModal .bed-ash-discharge-heading {
    display: block !important;
    min-height: 0 !important;
    padding: 7px 9px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-heading > div > span,
  #efficiencyTeamModal .bed-ash-discharge-heading p,
  #efficiencyTeamModal .bed-ash-discharge-refresh-button {
    display: none !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-heading h3 {
    font-size: 15px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-dashboard {
    gap: 7px;
    padding: 7px;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 7px;
    border-radius: 9px;
  }

  #efficiencyTeamModal .bed-ash-discharge-period-buttons {
    width: 100%;
  }

  #efficiencyTeamModal .bed-ash-discharge-period-buttons button {
    min-height: 33px;
    padding: 0 7px;
    font-size: 11px;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation {
    grid-template-columns: 34px minmax(0, 1fr) 45px 34px;
    gap: 4px;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation > button,
  #efficiencyTeamModal .bed-ash-discharge-date-navigation input {
    height: 35px;
    min-height: 35px;
    padding: 0 5px;
    border-radius: 7px;
    font-size: 11px;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation label > span {
    display: none;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state {
    grid-column: auto;
    padding: 6px 0 0;
    border-top: 1px solid #e2e7ed;
    border-left: 0;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state strong {
    font-size: 12px;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state p {
    font-size: 10.5px;
  }

  #efficiencyTeamModal
    #efficiencyBedAshDischargeView[data-bed-ash-mobile-client="true"]
    .bed-ash-discharge-read-only-notice {
    display: block !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card {
    padding: 8px 9px;
    border-radius: 8px;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card > span,
  #efficiencyTeamModal .bed-ash-discharge-summary-card > small {
    font-size: 10.5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card > strong {
    margin-top: 2px;
    font-size: 18px;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-card {
    padding: 7px 9px;
    border-radius: 8px;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-card > div:first-child strong {
    margin-top: 2px;
    font-size: 12px;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-card__value strong {
    font-size: 17px;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-card {
    min-height: 0;
    flex: 0 0 auto;
    border-radius: 9px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap {
    flex: 0 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-heading {
    min-height: 45px;
    padding: 6px 8px;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-heading > div:first-child span {
    display: none;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-heading h4 {
    margin: 0;
    font-size: 14px;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-toolbar {
    gap: 5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-toolbar label > span {
    display: none;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-toolbar select,
  #efficiencyTeamModal .bed-ash-discharge-events-toolbar > strong {
    height: 29px;
    min-height: 29px;
    font-size: 10.5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap table {
    min-width: 640px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:first-child {
    width: 155px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(2) {
    width: 54px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(3) {
    width: 140px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(4) {
    width: 120px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(5) {
    width: 171px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th,
  #efficiencyTeamModal .bed-ash-discharge-table-wrap td {
    padding: 6px 5px;
    font-size: 11px;
  }

  #efficiencyTeamModal .bed-ash-discharge-time-cell > strong,
  #efficiencyTeamModal .bed-ash-discharge-level-change-cell > strong,
  #efficiencyTeamModal .bed-ash-discharge-estimated-cell > strong {
    font-size: 12px;
  }

  #efficiencyTeamModal
    .bed-ash-discharge-estimated-cell.is-legacy-reviewed-event
    > strong {
    font-size: 12px;
  }

  #efficiencyTeamModal .bed-ash-discharge-time-cell > small,
  #efficiencyTeamModal .bed-ash-discharge-estimated-cell > small,
  #efficiencyTeamModal .bed-ash-discharge-status-cell > small,
  #efficiencyTeamModal .bed-ash-discharge-reviewer-summary > strong,
  #efficiencyTeamModal .bed-ash-discharge-reviewer-summary > small {
    font-size: 10.5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-unit-cell > span,
  #efficiencyTeamModal .bed-ash-discharge-auto-badge,
  #efficiencyTeamModal .bed-ash-discharge-status-badge {
    min-height: 18px;
    padding: 1px 5px;
    font-size: 10.5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:last-child,
  #efficiencyTeamModal .bed-ash-discharge-table-wrap td:last-child {
    display: none;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-state {
    min-height: 74px;
    padding: 12px;
    font-size: 11px;
  }

  #efficiencyTeamModal [data-bed-ash-review-action],
  #efficiencyTeamModal .bed-ash-discharge-review-toggle,
  #efficiencyTeamModal .bed-ash-discharge-review-actions,
  #efficiencyTeamModal .bed-ash-discharge-actual-amount-input {
    display: none !important;
  }
}

#efficiencyTeamModal.is-mobile-monitor-only
  #efficiencyBedAshDischargeView
  .bed-ash-discharge-refresh-button,
#efficiencyTeamModal.is-mobile-monitor-only
  #efficiencyBedAshDischargeView
  [data-bed-ash-review-action],
#efficiencyTeamModal.is-mobile-monitor-only
  #efficiencyBedAshDischargeView
  .bed-ash-discharge-review-toggle,
#efficiencyTeamModal.is-mobile-monitor-only
  #efficiencyBedAshDischargeView
  .bed-ash-discharge-review-actions,
#efficiencyTeamModal.is-mobile-monitor-only
  #efficiencyBedAshDischargeView
  .bed-ash-discharge-actual-amount-input {
  display: none !important;
}

#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-mobile-client="true"]
  .bed-ash-discharge-refresh-button,
#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-mobile-client="true"]
  [data-bed-ash-review-action],
#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-mobile-client="true"]
  .bed-ash-discharge-review-toggle,
#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-mobile-client="true"]
  .bed-ash-discharge-review-actions,
#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-mobile-client="true"]
  .bed-ash-discharge-actual-amount-input {
  display: none !important;
}

@media print {
  .bed-ash-discharge-main-alert {
    display: none !important;
  }
}

/* BED-ASH-AMOUNT-ONLY-V5 */
#efficiencyTeamModal .bed-ash-discharge-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#efficiencyTeamModal .bed-ash-discharge-summary-card.is-pending,
#efficiencyTeamModal .bed-ash-discharge-events-toolbar > label,
#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(5),
#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(6),
#efficiencyTeamModal .bed-ash-discharge-table-wrap td:nth-child(5),
#efficiencyTeamModal .bed-ash-discharge-table-wrap td:nth-child(6),
#efficiencyTeamModal .bed-ash-discharge-review-row,
#efficiencyBedAshDischargeBadge,
.bed-ash-discharge-main-alert {
  display: none !important;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap col:nth-child(5),
#efficiencyTeamModal .bed-ash-discharge-table-wrap col:nth-child(6) {
  visibility: collapse;
  width: 0;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap table {
  min-width: 620px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:first-child {
  width: 220px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(2) {
  width: 70px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(3) {
  width: 210px;
}

#efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(4) {
  width: 150px;
}

#efficiencyTeamModal .bed-ash-discharge-estimated-cell.is-truck-boundary-unresolved {
  background: transparent;
}

#efficiencyTeamModal .bed-ash-discharge-estimated-cell > strong {
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  #efficiencyTeamModal .bed-ash-discharge-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap table {
    min-width: 580px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th,
  #efficiencyTeamModal .bed-ash-discharge-table-wrap td {
    font-size: 12px;
  }
}


/* BED_ASH_TOP_BAR_ALIGN_V1_START */

/*
  Bed Ash 반출 상단 조회바 정렬 정리.
  목표:
  - 일별/주별/월별 버튼 그룹과 날짜 이동 컨트롤을 같은 한 줄 기준으로 정렬
  - 기준일 라벨과 날짜 입력을 가로 한 줄로 정리
  - 오른쪽 조회 상태 블록을 세로 가운데 정렬
  - 기존 색상/크기/기능/모바일 동작은 유지
*/
#efficiencyTeamModal .bed-ash-discharge-query-card {
  grid-template-columns: auto auto minmax(300px, 1fr) !important;
  align-items: center !important;
  gap: 10px 14px !important;
}

#efficiencyTeamModal .bed-ash-discharge-period-buttons {
  align-self: center !important;
}

#efficiencyTeamModal .bed-ash-discharge-period-buttons button {
  min-height: 40px !important;
  line-height: 1 !important;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation {
  display: grid !important;
  grid-template-columns: 38px minmax(215px, 1fr) 52px 38px !important;
  align-items: center !important;
  align-self: center !important;
  gap: 6px !important;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation > button {
  height: 40px !important;
  align-self: center !important;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation label {
  display: flex !important;
  min-height: 40px !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #6b7788 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
}

#efficiencyTeamModal .bed-ash-discharge-query-state {
  display: flex !important;
  min-height: 44px !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-self: center !important;
  padding-left: 13px !important;
}

#efficiencyTeamModal .bed-ash-discharge-query-state strong {
  line-height: 1.2 !important;
}

#efficiencyTeamModal .bed-ash-discharge-query-state p {
  margin-top: 3px !important;
}

/* 태블릿/협폭에서는 기존 세로 레이아웃 유지 */
@media (max-width: 1180px) {
  #efficiencyTeamModal .bed-ash-discharge-query-card {
    grid-template-columns: 1fr !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation {
    grid-template-columns: 38px minmax(145px, 1fr) 52px 38px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation label {
    display: grid !important;
    gap: 4px !important;
    min-height: auto !important;
    line-height: normal !important;
    white-space: normal !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state {
    min-height: 0 !important;
    align-self: stretch !important;
  }
}

/* BED_ASH_TOP_BAR_ALIGN_V1_END */

/* =========================================================
  BED ASH COMPACT PERIOD V6.1
  - 주별 1~5주 / 월별 1~12월 선택기
  - 주별·월별에서는 중복 날짜 이동줄 숨김
  - 모바일 요약 3열, 재고 2열, 반출 내역 한 화면 표시
========================================================= */

#efficiencyTeamModal .bed-ash-discharge-period-option-strip {
  display: grid;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  gap: 5px;
}

#efficiencyTeamModal .bed-ash-discharge-period-option-strip[hidden] {
  display: none !important;
}

#efficiencyTeamModal .bed-ash-discharge-date-navigation > label[hidden] {
  display: none !important;
}

#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-period="weekly"]
  .bed-ash-discharge-date-navigation,
#efficiencyTeamModal
  #efficiencyBedAshDischargeView[data-bed-ash-period="monthly"]
  .bed-ash-discharge-date-navigation {
  display: none !important;
}

#efficiencyTeamModal #bedAshDischargeWeekSelector {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#efficiencyTeamModal #bedAshDischargeMonthSelector {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

#efficiencyTeamModal .bed-ash-discharge-period-option-strip button {
  min-width: 0;
  min-height: 32px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid #d8c9b1;
  border-radius: 7px;
  background: #faf7f2;
  color: #6d573a;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

#efficiencyTeamModal
  .bed-ash-discharge-period-option-strip
  button[aria-pressed="true"] {
  border-color: #725839;
  background: #725839;
  color: #ffffff;
}

#efficiencyTeamModal .bed-ash-discharge-period-option-strip button:disabled {
  border-color: #e2e6eb;
  background: #f4f6f8;
  color: #9aa5b2;
  cursor: not-allowed;
  opacity: 0.68;
}

@media screen and (min-width: 1181px) {
  #efficiencyTeamModal
    #efficiencyBedAshDischargeView:is(
      [data-bed-ash-period="weekly"],
      [data-bed-ash-period="monthly"]
    )
    .bed-ash-discharge-query-card {
    grid-template-columns: auto minmax(300px, 1fr) !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-period-buttons {
    grid-column: 1;
    grid-row: 1;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation {
    grid-column: 2;
    grid-row: 1;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state {
    grid-column: 3;
    grid-row: 1;
  }

  #efficiencyTeamModal
    #efficiencyBedAshDischargeView:is(
      [data-bed-ash-period="weekly"],
      [data-bed-ash-period="monthly"]
    )
    .bed-ash-discharge-query-state {
    grid-column: 2;
  }

  #efficiencyTeamModal .bed-ash-discharge-period-option-strip {
    grid-row: 2;
  }
}

@media screen and (max-width: 1180px) {
  #efficiencyTeamModal .bed-ash-discharge-period-option-strip {
    grid-column: auto;
  }

  #efficiencyTeamModal #bedAshDischargeMonthSelector {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  #efficiencyTeamModal .bed-ash-discharge-dashboard {
    gap: 5px;
    padding: 6px;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-card {
    gap: 5px !important;
    padding: 6px;
  }

  #efficiencyTeamModal .bed-ash-discharge-period-buttons button {
    min-height: 31px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation {
    grid-template-columns: 32px minmax(0, 1fr) 44px 32px !important;
    gap: 4px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation > button,
  #efficiencyTeamModal .bed-ash-discharge-date-navigation input {
    height: 33px !important;
    min-height: 33px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-date-navigation label {
    min-height: 33px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-period-option-strip {
    gap: 3px;
  }

  #efficiencyTeamModal #bedAshDischargeWeekSelector {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  #efficiencyTeamModal #bedAshDischargeMonthSelector {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #efficiencyTeamModal .bed-ash-discharge-period-option-strip button {
    min-height: 28px;
    padding: 0 2px;
    border-radius: 6px;
    font-size: 10.5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state {
    padding: 4px 0 0 !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-query-state p {
    margin-top: 2px !important;
  }

  #efficiencyTeamModal .bed-ash-discharge-read-only-notice {
    padding: 5px 7px;
    font-size: 10.5px;
    line-height: 1.25;
  }

  /* 합계 · 1호기 · 2호기를 항상 같은 한 줄에 둔다. */
  #efficiencyTeamModal .bed-ash-discharge-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card {
    min-height: 51px;
    box-sizing: border-box;
    padding: 6px 5px 5px 8px;
    border-radius: 7px;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card::before {
    width: 3px;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card > span {
    overflow: hidden;
    font-size: 9.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card > strong {
    margin-top: 3px;
    font-size: 18px;
    line-height: 1.08;
    white-space: nowrap;
  }

  #efficiencyTeamModal .bed-ash-discharge-summary-card > small {
    display: none;
  }

  /* 1·2호기 최신 재고도 같은 한 줄에서 비교한다. */
  #efficiencyTeamModal .bed-ash-discharge-level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 50px;
    box-sizing: border-box;
    align-items: center;
    gap: 4px;
    padding: 6px 7px;
    border-radius: 7px;
  }

  #efficiencyTeamModal
    .bed-ash-discharge-level-card
    > div:first-child
    span {
    display: none;
  }

  #efficiencyTeamModal
    .bed-ash-discharge-level-card
    > div:first-child
    strong {
    margin: 0;
    font-size: 10.5px;
    line-height: 1.25;
    word-break: keep-all;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-card__value strong {
    font-size: 18px;
    line-height: 1.08;
    white-space: nowrap;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-card__value small {
    display: none;
  }

  /* 반출 내역은 가로 스크롤 없이 시간·호기·중량변화·반출량을 표시한다. */
  #efficiencyTeamModal .bed-ash-discharge-events-heading {
    min-height: 39px;
    padding: 5px 7px;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-heading h4 {
    font-size: 13px;
  }

  #efficiencyTeamModal .bed-ash-discharge-events-toolbar > strong {
    min-width: 36px;
    height: 27px;
    min-height: 27px;
    padding: 0 6px;
    font-size: 10px;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:first-child {
    width: 35%;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(2) {
    width: 13%;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(3) {
    width: 30%;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th:nth-child(4) {
    width: 22%;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th,
  #efficiencyTeamModal .bed-ash-discharge-table-wrap td {
    overflow: hidden;
    padding: 5px 3px;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
    word-break: keep-all;
  }

  #efficiencyTeamModal .bed-ash-discharge-table-wrap th {
    font-size: 9.5px;
  }

  #efficiencyTeamModal .bed-ash-discharge-time-cell > strong,
  #efficiencyTeamModal .bed-ash-discharge-level-change-cell > strong,
  #efficiencyTeamModal .bed-ash-discharge-estimated-cell > strong {
    font-size: 10.5px;
    line-height: 1.25;
  }

  #efficiencyTeamModal .bed-ash-discharge-time-cell > strong {
    white-space: normal;
  }

  #efficiencyTeamModal .bed-ash-discharge-level-change-cell > strong,
  #efficiencyTeamModal .bed-ash-discharge-estimated-cell > strong {
    white-space: nowrap;
  }

  #efficiencyTeamModal .bed-ash-discharge-time-cell > small,
  #efficiencyTeamModal
    .bed-ash-discharge-estimated-cell:not(.is-legacy-reviewed-event)
    > small {
    display: none;
  }

  #efficiencyTeamModal
    .bed-ash-discharge-estimated-cell.is-legacy-reviewed-event
    > strong {
    display: none;
  }

  #efficiencyTeamModal
    .bed-ash-discharge-estimated-cell.is-legacy-reviewed-event
    > small {
    display: block;
    margin: 0;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: nowrap;
  }

  #efficiencyTeamModal .bed-ash-discharge-unit-cell > span {
    min-height: 17px;
    padding: 1px 3px;
    font-size: 9.5px;
    white-space: nowrap;
  }
}
