/* Adminbereich in der Contentfactory (03.09.2026).
   Eigener Namensraum cfab-*, damit nichts mit den Werkzeugansichten
   kollidiert - die Contentfactory teilt sich viele Selektoren. */

.cfab { padding: 4px 0 48px; }
.cfab-video-text { max-width: 1000px; }
.cfab-video-text form, .cfab-video-text label { display: grid; gap: 10px; }
.cfab-video-text form { gap: 18px; }
.cfab-video-text label { color: #dfe3ea; font-size: 13px; }
.cfab-video-text input, .cfab-video-text textarea, .cfab-video-text select {
  box-sizing: border-box; width: 100%; min-width: 0; padding: 12px;
  border: 1px solid #343c49; border-radius: 8px; background: #10141d;
  color: #eef1f6; font: inherit;
}
.cfab-video-text textarea { resize: vertical; line-height: 1.6; }
.cfab-video-text .cfab-leiste { margin-top: 12px; flex-wrap: wrap; }
.cfab-video-text [data-cfab-video-status] { color: #c7ccd6; }

.cfab-laedt,
.cfab-sperre {
  display: grid;
  place-items: center;
  gap: 10px;
  margin: 80px auto;
  max-width: 460px;
  padding: 40px 32px;
  border: 1px solid #252a34;
  border-radius: 16px;
  background: #0d1016;
  color: #c7ccd6;
  text-align: center;
}
.cfab-sperre i { font-size: 34px; color: #ff5973; }
.cfab-sperre strong { color: #f1f3f7; font-size: 18px; }
.cfab-sperre p { margin: 0; color: #868e9d; }

.cfab-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.cfab-kopf h2 { margin: 4px 0 6px; color: #f1f3f7; font-size: 24px; }
.cfab-kopf p { margin: 0; color: #868e9d; font-size: 13px; }
.cfab-kicker { color: #ff5973; font-size: 11px; font-weight: 700; letter-spacing: .16em; }

.cfab-knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid #2c323d;
  border-radius: 10px;
  background: #171b24;
  color: #dfe3ea;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.cfab-knopf:hover { border-color: rgba(255, 48, 79, .6); color: #ff6d84; }
.cfab-knopf[disabled] { opacity: .55; cursor: wait; }
.cfab-knopf.ist-gefahr { border-color: rgba(255, 48, 79, .5); color: #ff6d84; }
.cfab-moderation-liste { display: grid; gap: 20px; margin-top: 18px; }
.cfab-moderation-karte { display: grid; grid-template-columns: minmax(240px, 42%) minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid #2c323d; border-radius: 14px; background: #10141d; }
.cfab-moderation-medium { display: grid; place-items: center; min-height: 240px; max-height: 520px; overflow: hidden; border-radius: 10px; background: #080a0e; }
.cfab-moderation-medium img, .cfab-moderation-medium video { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.cfab-moderation-medium audio { width: min(100%, 400px); }
.cfab-modelle-export { align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cfab-moderation-inhalt { min-width: 0; color: #dfe3ea; font-size: 13px; }
.cfab-moderation-inhalt h3 { margin: 14px 0 8px; overflow-wrap: anywhere; }
.cfab-moderation-inhalt .cfab-leiste { flex-wrap: wrap; }
.cfab-moderation-prompt { max-height: 180px; overflow: auto; padding: 12px; border: 1px solid #2c323d; border-radius: 8px; background: #0a0d13; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) { .cfab-moderation-karte { grid-template-columns: 1fr; } }

.cfab-meldung {
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid #252a34;
  border-left-width: 3px;
  border-radius: 10px;
  background: #0d1016;
  color: #c7ccd6;
  font-size: 13px;
}
.cfab-meldung.ist-fehler { border-left-color: #ff304f; color: #ff8497; }
.cfab-meldung.ist-erfolg { border-left-color: #2fbf71; color: #7fd8a5; }

.cfab-reiter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid #252a34;
}
.cfab-reiter-knopf {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  line-height: 1.5;
  text-decoration: none;
  padding: 10px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #868e9d;
  font-size: 13.5px;
  cursor: pointer;
}
.cfab-reiter-knopf:hover { color: #e8ebf2; }
.cfab-reiter-knopf:focus-visible { outline: 2px solid #ff304f; outline-offset: 2px; }
.cfab-reiter-knopf.is-aktiv { border-bottom-color: #ff304f; color: #f1f3f7; font-weight: 600; }

.cfab-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.cfab-kachel {
  padding: 18px;
  border: 1px solid #252a34;
  border-radius: 14px;
  background: #0d1016;
}
.cfab-kachel small {
  display: block;
  margin-bottom: 8px;
  color: #868e9d;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cfab-kachel strong { color: #f1f3f7; font-size: 24px; font-weight: 650; }
.cfab-kachel em { display: block; margin-top: 6px; color: #868e9d; font-size: 12px; font-style: normal; }
.cfab-kachel.ist-warnung { border-color: rgba(255, 48, 79, .45); }
.cfab-kachel.ist-warnung strong { color: #ff6d84; }

.cfab-block {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #252a34;
  border-radius: 14px;
  background: #0d1016;
}
.cfab-block h3 { margin: 0 0 14px; color: #f1f3f7; font-size: 15px; font-weight: 650; }
.cfab-block h3 + .cfab-kacheln + .cfab-formular + h3,
.cfab-block .cfab-tabelle-rahmen + h3 { margin-top: 22px; }

.cfab-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.cfab-leiste label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #868e9d; font-size: 12.5px; }
.cfab-leiste small { color: #868e9d; font-size: 12px; }
.cfab-auswahl,
.cfab-feld {
  padding: 8px 11px;
  border: 1px solid #2c323d;
  border-radius: 8px;
  background: #171b24;
  color: #dfe3ea;
  font-size: 13px;
}

/* Breite Tabellen scrollen in sich, die Seite selbst nie waagerecht. */
.cfab-tabelle-rahmen { overflow-x: auto; }
.cfab-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.cfab-tabelle th {
  padding: 8px 12px 10px;
  border-bottom: 1px solid #252a34;
  color: #868e9d;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.cfab-tabelle td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  color: #c7ccd6;
  vertical-align: top;
}
.cfab-tabelle tbody tr:hover { background: rgba(255, 255, 255, .02); }
.cfab-tabelle td.ist-zahl, .cfab-tabelle th.ist-zahl { text-align: right; white-space: nowrap; }
.cfab-klein { color: #868e9d; font-size: 11.5px; }
.cfab-langtext { display: block; max-width: 620px; color: #868e9d; font-size: 12px; overflow-wrap: anywhere; }

.cfab-leer { padding: 18px; color: #868e9d; font-size: 13px; text-align: center; }

.cfab-marke {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #2c323d;
  border-radius: 999px;
  color: #c7ccd6;
  font-size: 11px;
}
.cfab-marke.ist-gut { border-color: rgba(47, 191, 113, .5); color: #7fd8a5; }
.cfab-marke.ist-warnung { border-color: rgba(255, 176, 32, .5); color: #ffc663; }
.cfab-marke.ist-fehler { border-color: rgba(255, 48, 79, .5); color: #ff8497; }

.cfab-formular {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 16px 0 22px;
  padding-top: 16px;
  border-top: 1px solid #252a34;
}
.cfab-formular label { display: grid; gap: 6px; margin: 0; color: #868e9d; font-size: 12.5px; }

@media (max-width: 760px) {
  .cfab-kopf { align-items: flex-start; }
  .cfab-block { padding: 16px 12px; }
  .cfab-kacheln { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* Modelle & Preise (10.09.2026): Feld, Speichern und Standard in einer Zeile;
   Schluessel und Standardwert in Schreibmaschinenschrift, damit ein
   Modellname wie google/gemini-3.1-flash-image zeichengenau lesbar bleibt. */
.cfab-modell-zeile { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cfab-feld-modell { min-width: 280px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; }
.cfab-feld-zahl { width: 96px; text-align: right; }
.cfab-tabelle code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; color: #c7ccd6; word-break: break-all; }
.cfab-meldung.ist-warnung { border-left-color: #ffb020; color: #ffc663; }
.cfab-schreibrecht { border-color: rgba(255, 176, 32, .45); }
.cfab-schreibrecht input[type="password"] { min-width: 240px; }
.cfab-knopf.ist-gefahr[disabled] { opacity: .5; cursor: not-allowed; }

/* Ein-/Ausschalter (Kontrolllauf, 17.09.2026). Die echte Checkbox bleibt
   bedienbar und fuer Screenreader sichtbar, die Bahn ist nur Darstellung. */
.cfab-schalter { position: relative; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: #dfe3ea; font-size: 13px; }
.cfab-schalter input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cfab-schalter-bahn { position: relative; width: 38px; height: 22px; flex: none; border: 1px solid #3a4150; border-radius: 999px; background: #1b1f27; transition: background-color .16s ease, border-color .16s ease; }
.cfab-schalter-bahn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #8d96a7; transition: transform .16s ease, background-color .16s ease; }
.cfab-schalter input:checked + .cfab-schalter-bahn { border-color: rgba(56, 189, 139, .6); background: rgba(56, 189, 139, .22); }
.cfab-schalter input:checked + .cfab-schalter-bahn::after { transform: translateX(16px); background: #38bd8b; }
.cfab-schalter input:focus-visible + .cfab-schalter-bahn { outline: 2px solid #ff5871; outline-offset: 2px; }
/* Letzte Cleaning Prüfung: 23.09.2026 */
/* Letztes Cleaning: - */

/* Zweiter Faktor für den Adminbereich (AL-20260928-13). */
.cfab-mfa { max-width: 560px; margin: 32px auto; }
.cfab-mfa p { color: #c3c9d5; line-height: 1.55; }
.cfab-mfa .cfab-leiste { margin-top: 12px; }
.cfab-mfa-code { max-width: 180px; font-size: 18px; letter-spacing: .18em; text-align: center; }
.cfab-mfa-qr { display: inline-block; padding: 8px; border-radius: 10px; background: #fff; line-height: 0; }
.cfab-mfa-qr svg, .cfab-mfa-qr img { width: 216px; height: 216px; }
.cfab-mfa-schluessel { display: inline-block; padding: 3px 7px; border-radius: 6px; background: #181b24; color: #f1f3f7; font-size: 13px; letter-spacing: .06em; word-break: break-all; }
.cfab-mfa-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 12px 0; padding-left: 22px; color: #9aa3b5; }
.cfab-mfa-codes code { color: #f1f3f7; font-size: 14px; letter-spacing: .08em; }
.cfab-mfa-meldung { margin: 12px 0 0; color: #ff8497; }

/* Fehlerprotokoll (AL-20260929-29): Filterleiste umbrechen, Detailtafel mit Rahmen, technische Meldung als Block. */
.cfab-fp-filter { flex-wrap: wrap; }
.cfab-fp-filter .cfab-feld { min-width: 220px; flex: 1 1 220px; }
.cfab-fp-detail { margin: 14px 0; padding: 14px; border: 1px solid #2c323d; border-radius: 10px; background: #0d1017; }
.cfab-fp-detail .cfab-leiste { justify-content: space-between; margin-bottom: 10px; }
.cfab-fp-detail h3 { margin: 0; }
.cfab-fp-eigenschaften th { width: 190px; color: #868e9d; font-weight: 500; text-align: left; vertical-align: top; }
.cfab-fp-technisch { max-height: 260px; margin: 0; overflow: auto; padding: 10px; border-radius: 8px; background: #0a0d13; color: #c7ccd6; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* CPU und Arbeitsspeicher live (AL-20260929-32): Verlaufskurven wie im Task-Manager. */
.cfab-cpu-oben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.cfab-cpu-kerne { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cfab-cpu-karte { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid #262a37; border-radius: 10px; background: #0d1017; }
.cfab-cpu-titel { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: #c7ccd6; font-size: 12.5px; }
.cfab-cpu-zahl { color: #f1f3f7; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.cfab-cpu-karte.ist-gross .cfab-cpu-zahl { font-size: 22px; }
.cfab-cpu-zahl.ist-warnung { color: #ffc663; }
.cfab-cpu-zahl.ist-fehler { color: #ff8497; }
.cfab-cpu-kurve { width: 100%; height: 36px; display: block; border-radius: 6px; background: #0a0d13; }
.cfab-cpu-karte.ist-gross .cfab-cpu-kurve { height: 60px; }
.cfab-cpu-raster { stroke: #1f2430; stroke-width: 1; vector-effect: non-scaling-stroke; }
.cfab-cpu-flaeche { fill: rgba(255, 48, 79, .16); }
.cfab-cpu-linie { fill: none; stroke: #ff5475; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
@media (max-width: 700px) { .cfab-cpu-oben { grid-template-columns: 1fr; } .cfab-cpu-kerne { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Werbeleiste (AL-20261001-25) */
.cfab-werbeleiste-form { display: grid; gap: 12px; max-width: 720px; }
.cfab-werbeleiste-form label { display: grid; gap: 6px; }
.cfab-werbeleiste-form .cfab-feld { width: 100%; box-sizing: border-box; }
.cfab-werbeleiste-form .cfab-werbeleiste-schalter { display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* Support-Reiter (AL-20261001-56): links die Tickets, rechts Verlauf und Antwort. */
.cfab-support-zahl { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; border-radius: 99px; background: #ff304f; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }
.cfab-support-zahl[hidden] { display: none; }
.cfab-support { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 16px; align-items: start; }
.cfab-support-liste { display: grid; gap: 6px; max-height: 70vh; overflow-y: auto; }
.cfab-support-eintrag { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid #2c323d; border-radius: 10px; background: #12151c; color: #dfe3ea; font: inherit; text-align: left; cursor: pointer; }
.cfab-support-eintrag:hover, .cfab-support-eintrag.ist-gewaehlt { border-color: rgba(255, 48, 79, .6); }
.cfab-support-eintrag.wartet { box-shadow: inset 3px 0 0 #ff304f; }
.cfab-support-eintrag strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.cfab-support-eintrag small { color: #868e9d; font-size: 11px; }
.cfab-support-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: #aab2c3; }
.cfab-support-status { padding: 1px 7px; border-radius: 99px; background: #262b36; font-size: 10px; font-style: normal; font-weight: 700; }
.cfab-support-status.is-open, .cfab-support-status.is-in_progress { background: rgba(255, 48, 79, .18); color: #ff8a9c; }
.cfab-support-status.is-answered { background: rgba(90, 220, 150, .15); color: #7fe3ad; }
.cfab-support-verlauf { display: grid; gap: 12px; min-width: 0; }
.cfab-support-detailkopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #262a35; }
.cfab-support-detailkopf h4 { margin: 2px 0; font-size: 15px; }
.cfab-support-detailkopf small { color: #868e9d; font-size: 11px; }
.cfab-support-nachrichten { display: grid; gap: 8px; max-height: 50vh; overflow-y: auto; padding-right: 4px; }
.cfab-support-nachricht { justify-self: start; max-width: 80%; padding: 9px 12px; border-radius: 12px; background: #1b1f29; }
.cfab-support-nachricht.von-support { justify-self: end; background: rgba(255, 48, 79, .16); }
.cfab-support-nachricht p { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; }
.cfab-support-nachricht small { color: #868e9d; font-size: 10.5px; }
.cfab-support-antwort { display: grid; gap: 8px; }
.cfab-support-antwort textarea { width: 100%; box-sizing: border-box; resize: vertical; }
.cfab-support-antwort .cfab-leiste { justify-content: space-between; }
.cfab-knopf.ist-primaer { border-color: #ff304f; background: #ff304f; color: #fff; }
.cfab-knopf.ist-primaer:hover { background: #ff4a67; color: #fff; }
.cfab-knopf.ist-primaer[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 900px) { .cfab-support { grid-template-columns: minmax(0, 1fr); } .cfab-support-liste { max-height: 40vh; } }

/* Hilfe-Wissen (AL-20261003-57) */
.cfab-hw-liste { display: grid; gap: 12px; margin: 12px 0 18px; }
.cfab-hw-eintrag { border: 1px solid #292c37; border-radius: 12px; display: grid; gap: 10px; padding: 12px; }
.cfab-hw-eintrag.ist-aus { opacity: .6; }
.cfab-hw-kopf { align-items: center; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto auto; }
.cfab-hw-aktiv { align-items: center; display: inline-flex; gap: 6px; white-space: nowrap; }
.cfab-hw-texte { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cfab-hw-texte label { display: grid; gap: 4px; }
.cfab-hw-texte span { color: #9296a7; font-size: 12px; }
.cfab-hw-texte textarea { resize: vertical; width: 100%; }
.cfab-hw-test { display: flex; gap: 10px; }
.cfab-hw-test .cfab-feld { flex: 1; min-width: 0; }
.cfab-hw-antwort { background: #171922; border: 1px solid #343744; border-radius: 10px; margin-top: 10px; padding: 12px; white-space: pre-wrap; }
@media (max-width: 760px) {
  .cfab-hw-kopf, .cfab-hw-texte { grid-template-columns: minmax(0, 1fr); }
}

/* Video-Vorlagen des Marketing Studios (AL-20261010-03): Liste links, Editor rechts. */
.cfab-vorlagen { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 20px; }
.cfab-vliste { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 12px; }
.cfab-vliste-eintrag { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 12px; border: 1px solid #252a34; border-radius: 12px; background: #12151c; color: #dfe3ea; cursor: pointer; }
.cfab-vliste-eintrag small { color: #9aa1ad; }
.cfab-vliste-eintrag.is-aktiv { border-color: #ff304f; }
.cfab-veditor { min-width: 0; }
.cfab-veditor-kopf { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.cfab-veditor-kopf h3 { margin: 0 0 6px; }
.cfab-vraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cfab-vfeld { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 13px; }
.cfab-vfeld > span { color: #9aa1ad; }
.cfab-vfeld .cfab-feld, .cfab-vfeld .cfab-auswahl { width: 100%; box-sizing: border-box; }
.cfab-vfeld textarea.cfab-feld { resize: vertical; font-family: inherit; line-height: 1.45; }
.cfab-vhaken { flex-direction: row; align-items: center; gap: 8px; }
.cfab-vszene { margin-top: 12px; padding: 14px; border: 1px solid #2c323d; border-radius: 12px; background: #12151c; display: flex; flex-direction: column; gap: 10px; }
.cfab-vszene-kopf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cfab-vszene-kopf > .cfab-feld { flex: 1 1 160px; min-width: 0; }
.cfab-vszene-knoepfe { display: flex; gap: 6px; margin-left: auto; }
.cfab-vszene-zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; align-items: end; }
.cfab-vszene-dauer { font-size: 13px; color: #9aa1ad; padding-bottom: 8px; }
.cfab-vszene-dauer b { color: #dfe3ea; }
.cfab-vplatzhalter .cfab-feld { width: 100%; box-sizing: border-box; }
.cfab-vplatzhalter td { vertical-align: top; }
.cfab-vpruefung { margin-top: 14px; }
.cfab-vpruefung ul { margin: 6px 0 0; padding-left: 18px; }
.cfab-vpreis { margin: 8px 0 0; font-size: 13px; color: #9aa1ad; }
.cfab-vpreis b { color: #dfe3ea; }
.cfab-vverlauf { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cfab-vverlauf li { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; font-size: 13px; }
.cfab-meldung.ist-warnung { border-left-color: #ffb020; color: #ffc663; }
@media (max-width: 900px) {
  .cfab-vorlagen { grid-template-columns: minmax(0, 1fr); }
  .cfab-vliste { position: static; }
  .cfab-vszene-knoepfe { margin-left: 0; }
}
/* Rückmeldung direkt am geklickten Knopf des Vorlagen-Editors (Speichern, Duplizieren, Verlauf). */
.cfab-vhinweis { margin: 8px 0 0; font-size: 13px; color: #c5cad3; }
.cfab-vhinweis.ist-erfolg { color: #7fd8a5; }
.cfab-vhinweis.ist-fehler { color: #ff8497; }
.cfab-vhinweis.ist-warnung { color: #ffc663; }
/* Probelauf: nur Szenenbilder (AL-20261010-04). */
.cfab-vprobe-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.cfab-vprobe-bild { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.cfab-vprobe-bild img, .cfab-vprobe-laeuft, .cfab-vprobe-fehler { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #12151c; border: 1px solid #252a34; }
.cfab-vprobe-laeuft, .cfab-vprobe-fehler { display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; box-sizing: border-box; font-size: 12px; }
.cfab-vprobe-laeuft { font-size: 28px; color: #9aa1ad; }
.cfab-vprobe-fehler { color: #ff8497; }
.cfab-vprobe-bild figcaption { font-size: 12px; color: #9aa1ad; }
.cfab-vprobe-werte { margin-top: 12px; font-size: 13px; }
.cfab-vprobe-werte ul { margin: 6px 0 0; padding-left: 18px; }

/* Passwort-Rückfrage vor folgenreichen Schreibaktionen (SEC-50, 21.10.2026). */
.cfab-rueckfrage { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 10, .72); }
.cfab-rueckfrage-fenster { width: min(420px, 100%); margin: 0; }
.cfab-rueckfrage-fenster .cfab-feld { width: 100%; margin: 12px 0 6px; }
.cfab-rueckfrage-fenster [data-cfab-rueckfrage-fehler] { min-height: 16px; color: #ff6d84; }

/* Geschützter Code-Wechsel bleibt beim Werkzeugwechsel im eigenen modalen Fenster. */
.cfab-codes-dialog { padding: 0; border: 0; border-radius: 14px; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); background: #10131a; color: #f1f3f7; }
.cfab-codes-dialog::backdrop { background: rgba(4, 6, 10, .72); }
.cfab-codes-dialog .cfab-mfa { margin: 0; }
.cfab-codes-dialog label { display: block; margin-top: 12px; }
.cfab-codes-dialog .cfab-feld { width: 100%; }
