/* CNC Review uses the existing SCI palette and a compact task layout. */
body.sci-shell #sidePanel:has(.cnc-review-toolbar) {
  gap: 12px;
}
body.sci-shell #sidePanel #cncReviewFilterStatus,
body.sci-shell #sidePanel #cncReviewBulkStatus {
  margin: 0 !important;
  padding: 6px 0;
  border: 0 !important;
  background: transparent !important;
  min-height: 0;
}
body.sci-shell #sidePanel .cnc-review-toolbar .approval-actions {
  gap: 8px;
  margin: 0;
  padding-top: 8px;
  justify-content: flex-start;
}
body.sci-shell #sidePanel .cnc-review-toolbar .btn {
  min-height: 44px;
  line-height: 1.4 !important;
}
body.sci-shell #sidePanel .cnc-review-job-details > summary .cnc-job-select-label {
  min-width: 44px !important;
  min-height: 44px !important;
  justify-content: center;
  align-items: center;
}
body.sci-shell #sidePanel .cnc-review-job-details > summary,
body.sci-shell #sidePanel .cnc-review-head {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.sci-shell #sidePanel .cnc-review-toolbar .btn:focus-visible,
body.sci-shell #sidePanel .cnc-review-job-details > summary:focus-visible,
body.sci-shell #sidePanel .cnc-job-select-label:focus-within {
  outline: 2px solid var(--text, #202124);
  outline-offset: 3px;
}
:root[data-theme="dark"] body.sci-shell #sidePanel .cnc-review-chip.is-ready strong {
  color: #76d3a0;
}
@media (max-width: 600px) {
  body.sci-shell #sidePanel .cnc-review-toolbar .approval-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.sci-shell #sidePanel .cnc-review-toolbar .btn {
    width: 100%;
    white-space: normal;
  }
  body.sci-shell #sidePanel #cncReviewExportPackageBtn {
    grid-column: 1 / -1;
  }
}
