/* Letzte Cleaning Prüfung: 27.09.2026 */
/* Letztes Cleaning: 27.09.2026 */
/* Startknopf ohne Datei bzw. Text (AL-20260927-43), gesteuert von
   contentfactory-startbereit.js. Grau statt rot; der Preis erscheint erst,
   wenn die Eingabe da ist - vorher stünde nur der Grundpreis. */

button[data-start-workflow].ist-unvollstaendig {
  position: relative;
  cursor: not-allowed;
  background: #5d626d !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, .75) !important;
  box-shadow: none !important;
}

button[data-start-workflow].ist-unvollstaendig .workspace-run-credit {
  display: none;
}

/* Satz „12 Credits pro Minute“ statt des Preis-Chips, solange die Datei fehlt
   (AL-20261012-18). Wird vom Skript des Werkzeugs in den Knopf geschrieben. */
.workspace-run-pro-minute {
  display: none;
}

button[data-start-workflow].ist-unvollstaendig .workspace-run-pro-minute {
  display: inline;
  margin-left: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* Preisrahmen und Dateigröße im leeren Shorts-Fenster (AL-20261012-18). */
.shorts-leer-preis {
  margin: 10px 0 0;
  text-align: center;
  color: #c4c9d3;
  font-size: 12.5px;
  line-height: 1.4;
}

.shorts-leer-preis[hidden] {
  display: none;
}

.shorts-form:not(.is-leer) .shorts-leer-preis {
  display: none;
}

button[data-start-workflow].zeigt-startbereit-hinweis::after {
  content: attr(data-startbereit-hinweis);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 6px 10px;
  border-radius: 8px;
  background: #1f2430;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}
