/* =========================================================
   부서별 감염관리 물품 자체 점검 기록지
   - 빌리브세웅병원 감염관리실 공식 서식 스타일
   - 주차(1~5주) 표기 그리드 · 요약 · 조치 기록 · 인쇄(A4 가로)
   - style.css 다음에 로드
   ========================================================= */

/* ---------------- 안내 배너 ---------------- */
.sup-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  padding: 13px 18px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #f0f7fb;
  border: 1px solid #cfe3ef;
  font-size: .86rem;
  color: #0a4a70;
}
.sup-guide b { color: var(--c-primary-dark); }
.sup-guide .sup-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.sup-legend-chip {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: .76rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.sup-legend-chip.is-ok { background: #e8f8f0; color: #087443; border-color: #a6e3c3; }
.sup-legend-chip.is-partial { background: #fff5e6; color: #b26a02; border-color: #f3d5a0; }
.sup-legend-chip.is-fail { background: #fdecea; color: #b42318; border-color: #f5b5ae; }
.sup-legend-chip.is-na { background: #eef2f6; color: #5b7488; border-color: #d5dfe8; }

/* ---------------- 머리글 입력 ---------------- */
.sup-head-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.sup-head-form .sup-head-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sup-head-form h3 { margin: 0; font-size: 1.05rem; }

.sup-edit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-accent-light);
  color: #b26a02;
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid #f3d5a0;
}

.sup-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.sup-fields .form-field label { font-size: .8rem; }
.sup-fields select,
.sup-fields input { font-size: .9rem; padding: 9px 11px; }
.sup-fields .sup-dept-field { grid-column: span 2; min-width: 170px; }

/* ---------------- 점검표 (화면) ---------------- */
.sup-sheet {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sup-sheet-title {
  padding: 18px 20px 14px;
  border-bottom: 2px solid var(--c-primary-dark);
  text-align: center;
  background: linear-gradient(180deg, #f8fbfd, #fff);
}
.sup-sheet-title .sup-hospital {
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-text-muted);
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.sup-sheet-title h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--c-primary-dark);
  letter-spacing: -.01em;
}
.sup-sheet-title .sup-scope {
  margin: 0;
  font-size: .84rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

/* 가로 스크롤 컨테이너 */
.sup-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.sup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  min-width: 780px;
}
table.sup-table th,
table.sup-table td {
  border: 1px solid #d8e3ec;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
table.sup-table thead th {
  background: #eef4f9;
  color: var(--c-primary-dark);
  font-size: .78rem;
  font-weight: 800;
  padding: 9px 4px;
  line-height: 1.35;
  letter-spacing: .01em;
  position: sticky;
  top: 0;
  z-index: 2;
}
table.sup-table thead th.sup-col-text { text-align: center; }
table.sup-table thead th.sup-g { width: 62px; }
table.sup-table thead th.sup-n { width: 38px; }
table.sup-table thead th.sup-note-col { width: 150px; }
table.sup-table thead th.sup-w { width: 52px; }
.sup-w-label { display: block; font-size: .78rem; }

/* 구분 셀 */
td.sup-group {
  width: 62px;
  background: #f4f9fc;
  font-size: .78rem;
  font-weight: 800;
  color: var(--c-primary-dark);
  line-height: 1.25;
  padding: 8px 4px;
  letter-spacing: -.01em;
}

/* No */
td.sup-no {
  width: 38px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-text-muted);
  background: #fafcfe;
}

/* 점검 항목 */
td.sup-text {
  text-align: left;
  padding: 10px 12px;
  line-height: 1.55;
  font-size: .86rem;
  color: var(--c-text);
  min-width: 320px;
}

/* 주차 셀 */
td.sup-cell {
  width: 52px;
  padding: 4px;
}
.sup-mark {
  width: 100%;
  min-height: 34px;
  border: 1px dashed #c9d8e4;
  border-radius: 7px;
  background: #fcfdff;
  cursor: pointer;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 800;
  color: var(--c-text-muted);
  transition: background .12s ease, border-color .12s ease, transform .08s ease;
  display: grid;
  place-items: center;
  line-height: 1;
}
.sup-mark:hover { background: #eef5fa; border-color: var(--c-primary); }
.sup-mark:active { transform: scale(.96); }
.sup-mark:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 1px; }

.sup-mark.is-ok { background: #e8f8f0; border: 1px solid #7fd4a8; color: #087443; }
.sup-mark.is-partial { background: #fff5e6; border: 1px solid #efc57e; color: #b26a02; }
.sup-mark.is-fail { background: #fdecea; border: 1px solid #f0958c; color: #b42318; }
.sup-mark.is-na { background: #eef2f6; border: 1px solid #c9d5e0; color: #5b7488; font-size: .72rem; }

/* 관리자 취합 상세 — 읽기 전용 표기 히트맵 셀 */
.sup-hm {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  padding: 0 4px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-text-muted);
}
.sup-hm.is-ok { background: #e8f8f0; border-color: #7fd4a8; color: #087443; }
.sup-hm.is-partial { background: #fff5e6; border-color: #efc57e; color: #b26a02; }
.sup-hm.is-fail { background: #fdecea; border-color: #f0958c; color: #b42318; }
.sup-hm.is-na { background: #eef2f6; border-color: #c9d5e0; color: #5b7488; font-size: .68rem; }
.sup-hm.is-empty { color: #b8c8d4; font-weight: 700; }

/* 주차 일괄 표기 버튼 */
.sup-w-fill {
  display: block;
  margin: 4px auto 0;
  padding: 1px 7px;
  border: 1px solid #c3d8e6;
  border-radius: 5px;
  background: #fff;
  color: #0a6b8f;
  font-family: inherit;
  font-size: .66rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.5;
}
.sup-w-fill:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* 비고 */
td.sup-note { width: 150px; padding: 3px 5px; }
.sup-note-input {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 7px;
  font-family: inherit;
  font-size: .8rem;
  background: transparent;
  color: var(--c-text);
}
.sup-note-input:hover { border-color: #dbe4ec; background: #fff; }
.sup-note-input:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(11, 92, 138, .12);
}

/* 그룹 시작 구분선 강조 */
table.sup-table tbody tr.sup-group-start td { border-top: 2px solid #b9cddd; }

/* ---------------- 요약 ---------------- */
.sup-summary {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(200px, 240px) 1fr;
  align-items: start;
  padding: 18px 20px;
  border-top: 1px solid var(--c-border);
  background: #fafcfe;
}
@media (max-width: 820px) {
  .sup-summary { grid-template-columns: 1fr; }
}

.sup-rate-box { text-align: center; }
.sup-rate-label {
  font-size: .78rem;
  font-weight: 800;
  color: var(--c-text-muted);
  letter-spacing: .05em;
  margin-bottom: 2px;
}
.sup-rate-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-primary-dark);
  font-variant-numeric: tabular-nums;
}
.sup-rate-value.is-ok { color: #087443; }
.sup-rate-value.is-warn { color: #b26a02; }
.sup-rate-value.is-bad { color: #b42318; }
.sup-rate-sub {
  font-size: .76rem;
  color: var(--c-text-muted);
  margin-top: 4px;
}

.sup-bar {
  height: 9px;
  border-radius: 999px;
  background: #e4ecf3;
  overflow: hidden;
  margin: 10px 0 6px;
}
.sup-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width .25s ease;
  background: linear-gradient(90deg, var(--c-primary), var(--c-teal));
}
.sup-bar-fill.is-ok { background: linear-gradient(90deg, #12b76a, #34d399); }
.sup-bar-fill.is-warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.sup-bar-fill.is-bad { background: linear-gradient(90deg, #d92d20, #f97066); }

.sup-counts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}
.sup-count {
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-text-muted);
  border-radius: 10px;
  padding: 9px 12px;
  text-align: center;
}
.sup-count .sup-count-label { font-size: .74rem; font-weight: 700; color: var(--c-text-muted); }
.sup-count .sup-count-value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
}
.sup-count.is-ok { border-left-color: #12b76a; background: #f5fdf9; }
.sup-count.is-ok .sup-count-value { color: #087443; }
.sup-count.is-partial { border-left-color: #f59e0b; background: #fffdf7; }
.sup-count.is-partial .sup-count-value { color: #b26a02; }
.sup-count.is-fail { border-left-color: #d92d20; background: #fffafa; }
.sup-count.is-fail .sup-count-value { color: #b42318; }
.sup-count.is-na { border-left-color: #98a2b3; background: #fafbfc; }
.sup-count.is-na .sup-count-value { color: #5b7488; }

/* 영역별 적합률 */
.sup-group-rate {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  margin-top: 12px;
}
.sup-gr-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sup-gr-name { font-size: .76rem; font-weight: 800; color: var(--c-primary-dark); }
.sup-gr-val { font-size: 1.1rem; font-weight: 800; color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.sup-gr-val.is-ok { color: #087443; }
.sup-gr-val.is-warn { color: #b26a02; }
.sup-gr-val.is-bad { color: #b42318; }
.sup-gr-sub { font-size: .68rem; color: var(--c-text-muted); }

/* ---------------- 서명 ---------------- */
.sup-signs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding: 16px 20px;
  border-top: 1px solid var(--c-border);
  background: #fff;
}

/* ---------------- 조치 기록 ---------------- */
.sup-actions-block {
  padding: 0 20px 20px;
  border-top: 1px solid var(--c-border);
  background: #fff;
}
.sup-actions-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0 12px;
}
.sup-actions-head h4 {
  margin: 0;
  font-size: .96rem;
  color: var(--c-primary-dark);
}
.sup-actions-head h4 small {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-top: 2px;
}

table.sup-actions {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  min-width: 700px;
}
table.sup-actions th,
table.sup-actions td {
  border: 1px solid #d8e3ec;
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
}
table.sup-actions thead th {
  background: #eef4f9;
  font-size: .76rem;
  font-weight: 800;
  color: var(--c-primary-dark);
  text-align: center;
  padding: 8px 4px;
}
table.sup-actions td.sup-a-no { text-align: center; font-size: .78rem; font-weight: 700; white-space: nowrap; width: 92px; }
table.sup-actions td.sup-a-no small { color: var(--c-text-muted); font-weight: 600; }
.sup-a-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 18px;
  padding: 0 4px;
  border-radius: 5px;
  font-size: .72rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.sup-a-badge.is-partial { background: #fff5e6; color: #b26a02; border-color: #f3d5a0; }
.sup-a-badge.is-fail { background: #fdecea; color: #b42318; border-color: #f5b5ae; }

.sup-a-issue, .sup-a-action {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dbe4ec;
  border-radius: 6px;
  padding: 6px 8px;
  font-family: inherit;
  font-size: .8rem;
  resize: vertical;
  background: #fff;
}
.sup-a-issue:focus, .sup-a-action:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(11, 92, 138, .12);
}
.sup-a-date, .sup-a-by {
  width: 100%;
  border: 1px solid #dbe4ec;
  border-radius: 6px;
  padding: 6px 6px;
  font-family: inherit;
  font-size: .8rem;
  background: #fff;
}
.sup-a-date, .sup-a-by { min-width: 100px; }

table.sup-actions tr.sup-empty-row td {
  text-align: center;
  color: var(--c-text-muted);
  font-size: .82rem;
  padding: 18px 10px;
  background: #fbfcfd;
}

/* ---------------- 버튼 영역 ---------------- */
.sup-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 16px 20px;
  border-top: 1px solid var(--c-border);
  background: #f7fafc;
  position: sticky;
  bottom: 0;
  z-index: 3;
  border-radius: 0 0 var(--radius) var(--radius);
}
.sup-actions-bar .sup-spacer { flex: 1 1 auto; }

/* ---------------- 이력 ---------------- */
.sup-history { margin-top: 22px; }
.sup-history .sup-h-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sup-history .sup-h-head h3 { margin: 0; font-size: 1.02rem; }

table.sup-history-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.sup-history-table th {
  background: #f7fafc;
  font-size: .76rem;
  font-weight: 800;
  color: var(--c-text-muted);
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}
table.sup-history-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
}
table.sup-history-table tbody tr:last-child td { border-bottom: none; }
table.sup-history-table tbody tr:hover { background: #f8fbfd; }
table.sup-history-table td.sup-h-month { font-weight: 700; color: var(--c-primary-dark); white-space: nowrap; }
table.sup-history-table td.sup-h-act { white-space: nowrap; }
table.sup-history-table td.sup-h-act .btn { padding: 4px 9px; font-size: .76rem; }

.sup-rate-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  background: #eef2f6;
  color: var(--c-text-muted);
  font-variant-numeric: tabular-nums;
}
.sup-rate-pill.is-ok { background: #e8f8f0; color: #087443; }
.sup-rate-pill.is-warn { background: #fff5e6; color: #b26a02; }
.sup-rate-pill.is-bad { background: #fdecea; color: #b42318; }

/* ---------------- 인쇄 시트 (숨김) ---------------- */
.sup-print-host { display: none; }

/* =========================================================
   인쇄 — A4 가로, 점검표만 출력
   ========================================================= */
@media print {
  @page { size: A4 landscape; margin: 8mm; }

  body.sup-printing > *:not(#sup-print) { display: none !important; }
  body.sup-printing #sup-print { display: block !important; }

  body.sup-printing { background: #fff; margin: 0; }

  #sup-print .p-sheet {
    font-family: "Malgun Gothic", "Noto Sans KR", sans-serif;
    color: #000;
    font-size: 8pt;
    line-height: 1.35;
  }

  #sup-print .p-head { text-align: center; margin-bottom: 5mm; }
  #sup-print .p-hospital {
    font-size: 8pt;
    font-weight: 700;
    color: #444;
    letter-spacing: .04em;
  }
  #sup-print .p-hospital span { margin-left: 6px; }
  #sup-print .p-title {
    font-size: 15pt;
    font-weight: 800;
    margin: 2mm 0 1mm;
    letter-spacing: -.01em;
  }
  #sup-print .p-scope { font-size: 8.5pt; color: #333; margin: 0; }

  #sup-print table.p-info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2mm;
  }
  #sup-print table.p-info th,
  #sup-print table.p-info td {
    border: 1px solid #000;
    padding: 1.8mm 2mm;
    font-size: 8.5pt;
    vertical-align: middle;
  }
  #sup-print table.p-info th {
    background: #eeeeee;
    font-weight: 700;
    white-space: nowrap;
    width: 1%;
  }
  #sup-print table.p-info td { min-width: 28mm; }

  #sup-print .p-guide {
    font-size: 7.2pt;
    color: #222;
    margin-bottom: 1.5mm;
    display: flex;
    flex-wrap: wrap;
    gap: 1mm 8mm;
  }
  #sup-print .p-guide b { font-weight: 700; }

  #sup-print table.p-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 1.5mm;
  }
  #sup-print table.p-table th,
  #sup-print table.p-table td {
    border: 1px solid #000;
    padding: 1.1mm 1mm;
    font-size: 7.6pt;
    text-align: center;
    vertical-align: middle;
    word-break: keep-all;
  }
  #sup-print table.p-table thead th {
    background: #e8e8e8;
    font-weight: 700;
    font-size: 7.4pt;
    line-height: 1.25;
    padding: 1.4mm 0.6mm;
  }
  #sup-print table.p-table th.p-group,
  #sup-print table.p-table td.p-group { width: 11mm; font-size: 6.8pt; font-weight: 700; line-height: 1.15; }
  #sup-print table.p-table th.p-no,
  #sup-print table.p-table td.p-no { width: 7mm; font-size: 7pt; }
  #sup-print table.p-table th.p-text,
  #sup-print table.p-table td.p-text { text-align: left; }
  #sup-print table.p-table th.p-cell,
  #sup-print table.p-table td.p-cell { width: 9mm; font-size: 8pt; font-weight: 700; }
  #sup-print table.p-table th.p-note,
  #sup-print table.p-table td.p-note { width: 30mm; text-align: left; font-size: 7pt; }

  #sup-print table.p-table td.p-ok { color: #0a6b60; }
  #sup-print table.p-table td.p-partial { color: #9a5b00; }
  #sup-print table.p-table td.p-fail { color: #b42318; font-weight: 800; }
  #sup-print table.p-table td.p-na { color: #666; font-size: 6.8pt; }

  #sup-print .p-sign-row {
    display: flex;
    justify-content: flex-end;
    gap: 12mm;
    font-size: 8pt;
    margin-bottom: 2.5mm;
  }

  #sup-print .p-subtitle {
    font-size: 8.5pt;
    font-weight: 800;
    margin-bottom: 1mm;
  }

  #sup-print table.p-actions {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 2.5mm;
  }
  #sup-print table.p-actions th,
  #sup-print table.p-actions td {
    border: 1px solid #000;
    padding: 1.4mm 1.5mm;
    font-size: 7.4pt;
    vertical-align: top;
    text-align: left;
    word-break: break-all;
  }
  #sup-print table.p-actions thead th {
    background: #e8e8e8;
    font-weight: 700;
    text-align: center;
    font-size: 7.2pt;
  }
  #sup-print table.p-actions th.p-a-no,
  #sup-print table.p-actions td.p-a-no { width: 20mm; text-align: center; }
  #sup-print table.p-actions tbody tr { height: 9mm; }
  #sup-print table.p-actions td.p-blank { text-align: center; color: #666; }

  #sup-print table.p-final-sign {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  #sup-print table.p-final-sign th,
  #sup-print table.p-final-sign td {
    border: 1px solid #000;
    padding: 2mm 1.5mm;
    font-size: 7.8pt;
    text-align: center;
    vertical-align: middle;
  }
  #sup-print table.p-final-sign th { background: #eeeeee; font-weight: 700; }
  #sup-print table.p-final-sign td { height: 12mm; }
  #sup-print table.p-final-sign .p-col-date { width: 24mm; }

  /* 인쇄 시 배지·버튼 등 UI 요소 숨김 */
  .sup-actions-bar, .sup-print-btn, .sup-mark, .sup-w-fill { display: none !important; }
}

/* ---------------- 반응형 ---------------- */
@media (max-width: 900px) {
  .sup-head-form { padding: 15px; }
  .sup-fields { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .sup-fields .sup-dept-field { grid-column: 1 / -1; }
  .sup-sheet-title h3 { font-size: 1.06rem; }
  td.sup-text { min-width: 240px; font-size: .82rem; }
  .sup-summary { padding: 15px; }
  .sup-actions-block { padding: 0 15px 15px; }
  .sup-actions-bar { padding: 13px 15px; }
  .sup-signs { padding: 14px 15px; }
}

@media (max-width: 620px) {
  .sup-guide {
    font-size: .8rem;
    padding: 11px 13px;
    gap: 7px 14px;
  }
  .sup-sheet-title { padding: 14px 14px 12px; }
  .sup-sheet-title h3 { font-size: .98rem; }
  .sup-scroll::after {
    content: "← 좌우로 밀어서 전체 항목을 확인하세요 →";
    display: block;
    text-align: center;
    font-size: .72rem;
    color: var(--c-text-muted);
    padding: 7px 0 3px;
    background: #fafcfe;
    border-top: 1px dashed var(--c-border);
  }
  .sup-rate-value { font-size: 2.1rem; }
  .sup-counts { grid-template-columns: repeat(2, 1fr); }
  .sup-group-rate { grid-template-columns: repeat(2, 1fr); }
  .sup-history-table th:nth-child(5),
  .sup-history-table td:nth-child(5) { display: none; }
  .sup-actions-bar .btn { flex: 1 1 auto; }
}
