/* ==========================================================
   STT Post Production - Product Review Links Dynamic V61
   ========================================================== */

:root {
  --stt-v61-font:
    Inter,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

#drawer-overlay .stt-v57-panel,
#drawer-overlay .stt-v58-panel {
  display: none !important;
}

#drawer-overlay .stt-v61-panel {
  margin: 14px 0 0 !important;
  padding: 16px !important;
  border: 1px solid #e3ddd6 !important;
  border-radius: 13px !important;
  background: #fffdfb !important;
  font-family: var(--stt-v61-font) !important;
}

#drawer-overlay .stt-v61-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

#drawer-overlay .stt-v61-heading {
  margin: 0 !important;
  color: #252b27 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 790 !important;
}

#drawer-overlay .stt-v61-head-copy {
  margin: 4px 0 0 !important;
  color: #747a74 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

#drawer-overlay .stt-v61-role {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #eef5ef !important;
  color: #427653 !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
}

#drawer-overlay .stt-v61-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
}

#drawer-overlay .stt-v61-tab,
#drawer-overlay .stt-v61-add-round {
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid #ded8d0 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #626a63 !important;
  font-family: var(--stt-v61-font) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  cursor: pointer !important;
}

#drawer-overlay .stt-v61-tab.has-link::after {
  content: " ✓";
  color: #3f8255 !important;
}

#drawer-overlay .stt-v61-tab.draft {
  border-style: dashed !important;
}

#drawer-overlay .stt-v61-tab.active,
#drawer-overlay .stt-v61-add-round:hover {
  border-color: #de7657 !important;
  background: #fff4ef !important;
  color: #b45338 !important;
}

#drawer-overlay .stt-v61-status,
#drawer-overlay .stt-v61-editor {
  padding: 13px 14px !important;
  border: 1px solid #e7e0d8 !important;
  border-radius: 11px !important;
  background: #fff !important;
}

#drawer-overlay .stt-v61-status-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

#drawer-overlay .stt-v61-status-title {
  margin: 0 !important;
  color: #283029 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 780 !important;
}

#drawer-overlay .stt-v61-state-chip {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 25px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: #f4f0eb !important;
  color: #826f5d !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 750 !important;
}

#drawer-overlay .stt-v61-state-chip.ready {
  background: #eef6ef !important;
  color: #39764d !important;
}

#drawer-overlay .stt-v61-status-copy,
#drawer-overlay .stt-v61-received,
#drawer-overlay .stt-v61-empty-round {
  color: #727972 !important;
  line-height: 1.45 !important;
}

#drawer-overlay .stt-v61-status-copy {
  margin: 6px 0 0 !important;
  font-size: 13px !important;
}

#drawer-overlay .stt-v61-received {
  margin: 5px 0 0 !important;
  font-size: 12.2px !important;
}

#drawer-overlay .stt-v61-empty-round {
  margin: 0 0 10px !important;
  font-size: 12.5px !important;
}

#drawer-overlay .stt-v61-open,
#drawer-overlay .stt-v61-editor-open,
#drawer-overlay .stt-v61-send {
  min-height: 40px !important;
  padding: 0 13px !important;
  border-radius: 9px !important;
  font-family: var(--stt-v61-font) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 760 !important;
  text-decoration: none !important;
}

#drawer-overlay .stt-v61-open,
#drawer-overlay .stt-v61-editor-open {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #ddd7cf !important;
  background: #fff !important;
  color: #555d56 !important;
}

#drawer-overlay .stt-v61-open[hidden],
#drawer-overlay .stt-v61-editor-open[hidden] {
  display: none !important;
}

#drawer-overlay .stt-v61-field {
  display: block !important;
  margin: 0 !important;
  color: #626963 !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 730 !important;
}

#drawer-overlay .stt-v61-input {
  width: 100% !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  margin: 7px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #ddd7cf !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #2b312d !important;
  font-family: var(--stt-v61-font) !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
}

#drawer-overlay .stt-v61-input:focus {
  outline: none !important;
  border-color: #da7758 !important;
  box-shadow: 0 0 0 3px rgba(218, 119, 88, .10) !important;
}

#drawer-overlay .stt-v61-editor-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

#drawer-overlay .stt-v61-send {
  border: 1px solid #e6704c !important;
  background: #e6704c !important;
  color: #fff !important;
  cursor: pointer !important;
}

#drawer-overlay .stt-v61-send:disabled {
  opacity: .62 !important;
  cursor: default !important;
}

#drawer-overlay .stt-v61-message {
  min-height: 18px !important;
  margin: 8px 0 0 !important;
  color: #747b75 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

#drawer-overlay .stt-v61-message.ok { color: #3c7a50 !important; }
#drawer-overlay .stt-v61-message.warn { color: #9a6934 !important; }
#drawer-overlay .stt-v61-message.error { color: #b04c3a !important; }

#drawer-overlay .stt-v61-panel.mode-studio .stt-v61-editor { display: none !important; }
#drawer-overlay .stt-v61-panel.mode-editor .stt-v61-status { display: none !important; }

@media (max-width: 760px) {
  #drawer-overlay .stt-v61-panel { padding: 14px !important; }
  #drawer-overlay .stt-v61-heading { font-size: 15.5px !important; }
  #drawer-overlay .stt-v61-editor-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  #drawer-overlay .stt-v61-editor-open,
  #drawer-overlay .stt-v61-send,
  #drawer-overlay .stt-v61-open {
    width: 100% !important;
    min-height: 42px !important;
  }
}