/* STT QC Member Access Fix V68 */

/*
 * The only display:none added by V68 is strictly gated by the current QC
 * route class. It can never hide Active/Completed/Calendar pages.
 */
body.stt-v68-quality-page .stt-v68-qc-hidden {
  display: none !important;
}

.stt-v68-final {
  min-height: 36px !important;
  padding: 0 13px !important;
  border: 1px solid #b9c6bc !important;
  border-radius: 8px !important;
  background: #f5f8f5 !important;
  color: #435348 !important;
  font-size: 12.5px !important;
  font-weight: 780 !important;
  cursor: pointer !important;
}

.stt-v68-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.stt-v68-delivery {
  margin-top: 14px !important;
  padding: 13px 14px !important;
  border: 1px solid #e2ddd6 !important;
  border-radius: 10px !important;
  background: #faf9f7 !important;
}

.stt-v68-delivery-choices {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 9px !important;
}

.stt-v68-delivery-choices button {
  min-height: 42px !important;
  border: 1px solid #ddd7cf !important;
  border-radius: 9px !important;
  background: #fff !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  cursor: pointer !important;
}

.stt-v68-delivery-choices button.active[data-v68-delivery="on_time"] {
  background: #edf7f0 !important;
  border-color: #9bc3a7 !important;
  color: #39744c !important;
}

.stt-v68-delivery-choices button.active[data-v68-delivery="late"] {
  background: #fff2ee !important;
  border-color: #e2a18e !important;
  color: #b45037 !important;
}

.stt-v68-delivery-title {
  font-size: 13.5px !important;
  font-weight: 790 !important;
}

.stt-v68-delivery-note {
  margin-top: 3px !important;
  font-size: 11.8px !important;
  color: #7a807b !important;
}

@media (max-width: 700px) {
  .stt-v68-delivery-choices {
    grid-template-columns: 1fr !important;
  }
}