/* ==========================================================
   STT Post Production - Deadline Repeat Direct V54
   ========================================================== */

/*
 * Keep the history readable as it grows.
 * The list scrolls; typography NEVER scales down.
 */
.stt-v54-history-section {
  max-height: 360px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable !important;
}

.stt-v54-history-row {
  position: relative !important;
  box-sizing: border-box !important;

  min-height: 58px !important;
  padding: 9px 92px 9px 0 !important;

  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;

  font-size: 13px !important;
  line-height: 1.35 !important;
}

.stt-v54-history-title {
  display: block !important;

  margin: 0 !important;

  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;

  font-size: 13.5px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;

  color: #29302a !important;

  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.stt-v54-history-meta {
  display: block !important;

  margin-top: 3px !important;

  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;

  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 450 !important;

  color: #747a75 !important;

  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.stt-v54-hide-status {
  display: none !important;
}

.stt-v54-repeat {
  appearance: none !important;

  position: absolute !important;
  z-index: 5 !important;

  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  min-width: 72px !important;
  min-height: 34px !important;

  padding: 0 11px !important;

  border: 1px solid #df8a70 !important;
  border-radius: 8px !important;

  background: #fff8f5 !important;
  color: #b9563e !important;

  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;

  font-size: 12.5px !important;
  line-height: 1.2 !important;
  font-weight: 740 !important;

  cursor: pointer !important;
  white-space: nowrap !important;
}

.stt-v54-repeat:hover,
.stt-v54-repeat:focus-visible {
  outline: none !important;

  background: #fff0ea !important;
  border-color: #d66f50 !important;
  color: #a94731 !important;
}

.stt-v54-repeat:disabled {
  cursor: default !important;
  opacity: .64 !important;
}

.stt-v54-repeat.is-working {
  background: #f5f2ee !important;
  border-color: #ddd7cf !important;
  color: #747a75 !important;
}

.stt-v54-repeat.is-success {
  background: #eef8f1 !important;
  border-color: #b9dcc4 !important;
  color: #34784b !important;
}

.stt-v54-repeat.is-error {
  background: #fff1ee !important;
  border-color: #e5a79a !important;
  color: #ad4533 !important;
}

#stt-v54-toast {
  position: fixed !important;
  z-index: 98000 !important;

  left: 50% !important;
  bottom: 26px !important;
  transform: translateX(-50%) !important;

  max-width: min(580px, calc(100vw - 32px)) !important;

  padding: 11px 14px !important;

  border: 1px solid #dfd9d1 !important;
  border-radius: 10px !important;

  background: #fff !important;
  color: #343a35 !important;

  box-shadow:
    0 14px 40px rgba(0, 0, 0, .17) !important;

  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;

  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;

  text-align: center !important;
}

#stt-v54-toast[data-kind="error"] {
  border-color: #e6b1a5 !important;
  color: #a54230 !important;
}

#stt-v54-toast[data-kind="success"] {
  border-color: #bfdac7 !important;
  color: #347448 !important;
}

@media (max-width: 760px) {
  .stt-v54-history-section {
    max-height: 46vh !important;
  }

  .stt-v54-history-row {
    min-height: 62px !important;
    padding-right: 88px !important;
  }

  .stt-v54-history-title {
    font-size: 14px !important;
  }

  .stt-v54-history-meta {
    font-size: 12.5px !important;
  }
}