/*
 * Nachbau-Zusätze der Aufgabe „Dokumente, Daten und Helfer“ im Automatisierungskatalog (Präfix g-fa-dokumente-).
 * Vorbilder je Nachbau: siehe Kommentar in scripts/inhalte/faelle/dokumente.mjs.
 * Systemschrift und Farbe des Beispielbetriebs (--g-marke aus geraete.css), Mindestschrift 13 px,
 * nichts darin ist bedienbar. Seiten der Vertriebsanwendung nutzen die Klassen g-auto-* aus
 * g-automatisierungen.css (dieselbe Referenz-App).
 */

/* ---------- Kleine Vorschau auf der Katalogkarte ---------- */

.g-fa-dokumente-mini {
  --g-schrift: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --g-text: #1f2328;
  --g-leise: #5f6670;
  --g-linie: #dfe2e6;
  --g-grund: #f3f4f6;
  --g-auto-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--g-grund);
  font-family: var(--g-schrift);
  color: var(--g-text);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
.g-fa-dokumente-mini--papier { background: #faf8f3; }
.g-fa-dokumente-mini--dunkel { background: #0d0d10; color: #e6e6e6; }
.g-fa-dokumente-mini .g-datei { background: #fff; }

/* ---------- Allgemeine Teile ---------- */

.g-fa-dokumente-flaeche {
  display: grid;
  gap: 12px;
  margin: -14px;
  padding: 14px;
  background: #f1f3f5;
  container-type: inline-size;
}
.g-fa-dokumente-karte { display: grid; gap: 10px; min-width: 0; padding: 14px; border: 1px solid #d9dce0; border-radius: 10px; background: #fff; }
.g-fa-dokumente-h1 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.g-fa-dokumente-h2 { font-size: 15px; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--g-linie); }
.g-fa-dokumente-h2--oben { padding-top: 0; border-top: 0; }
.g-fa-dokumente-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.g-fa-dokumente-kopf > div { display: grid; gap: 4px; min-width: 0; flex: 1 1 220px; }
.g-fa-dokumente-raster2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; align-items: start; }
.g-fa-dokumente-feldgruppe { display: grid; gap: 6px; min-width: 0; }
.g-fa-dokumente-mehrzeilig { white-space: pre-line; }
.g-fa-dokumente-mehrzeilig .g-feld-wert { display: block; white-space: pre-line; }
.g-fa-dokumente-leise { margin: 0; color: var(--g-leise); font-size: 13px; }
.g-fa-dokumente-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px; padding: 10px 12px; border: 1px solid #d9dce0; border-radius: 10px; background: #fff; }
.g-fa-dokumente-leiste .g-knopf--voll { flex: 0 1 auto; }
.g-fa-dokumente-stapel { display: grid; gap: 8px; min-width: 0; }
.g-fa-dokumente-stapel > .g-text + .g-text { margin-top: 0; }
.g-fa-dokumente-stapel > .g-zeilen { margin: 0; }
.g-fa-dokumente-stapel .g-knopf--voll { flex: 0 1 auto; }
.g-fa-dokumente-umbruch .g-schild { white-space: normal; }
.g-fa-dokumente-schilder { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.g-fa-dokumente-liste { display: grid; gap: 4px; margin: 0; padding-left: 18px; font-size: 13px; }
.g-fa-dokumente-reihe { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--g-linie); font-size: 14px; }
.g-fa-dokumente-reihe span:last-child { color: var(--g-leise); font-variant-numeric: tabular-nums; }
.g-fa-dokumente-dateien { display: grid; gap: 8px; }
/* Vierbuchstabige Endungen (DOCX, JSON) passen sonst nicht in das Dateisymbol. */
.g-fa-dokumente-mini .g-datei-symbol, .g-fa-dokumente-dateien .g-datei-symbol { width: auto; min-width: 34px; padding: 0 4px; }
.g-fa-dokumente-dateiname { font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }

@container (max-width: 480px) {
  .g-fa-dokumente-raster2 { grid-template-columns: minmax(0, 1fr); }
}

/* Ordner in einer Dateiliste */
.g-fa-dokumente-ordner { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--g-linie); border-radius: 8px; background: #fff; }
.g-fa-dokumente-ordner-symbol { position: relative; flex-shrink: 0; width: 34px; height: 26px; margin: 7px 0; border-radius: 3px 5px 5px 5px; background: #e0b54a; }
.g-fa-dokumente-ordner-symbol::before { content: ''; position: absolute; left: 0; top: -5px; width: 14px; height: 7px; border-radius: 3px 3px 0 0; background: #e0b54a; }

/* ---------- Protokoll im Terminal ---------- */

.g-fa-dokumente-protokoll {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #1e1f24;
  color: #e6e7ea;
  font-family: 'Cascadia Mono', 'SF Mono', 'Segoe UI Mono', Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}
.g-fa-dokumente-protokoll span { min-height: 1.5em; white-space: pre-wrap; overflow-wrap: anywhere; }
.g-fa-dokumente-protokoll .g-fa-dokumente-befehl { color: #a9b3c1; }
.g-fa-dokumente-protokoll .g-fa-dokumente-ok { color: #86e0ad; font-weight: 700; }
.g-fenster-inhalt > .g-fa-dokumente-protokoll:only-child { margin: -14px; border-radius: 0; }

/* ---------- Profil-Generator (Personaldienstleister) ---------- */

.g-fa-dokumente-balken { height: 8px; border-radius: 999px; background: var(--g-marke-hell); overflow: hidden; }
.g-fa-dokumente-balken span { display: block; width: 62%; height: 100%; border-radius: 999px; background: var(--g-marke); }
.g-fa-dokumente-stufen { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.g-fa-dokumente-stufe { display: flex; align-items: center; gap: 8px; color: var(--g-leise); }
.g-fa-dokumente-stufe::before { content: ''; flex-shrink: 0; width: 16px; height: 16px; border: 2px solid #c3c8cf; border-radius: 50%; box-sizing: border-box; }
.g-fa-dokumente-stufe--fertig { color: var(--g-text); }
.g-fa-dokumente-stufe--fertig::before { content: '\2713'; display: grid; place-items: center; border-color: #2e7d32; background: #2e7d32; color: #fff; font-size: 13px; line-height: 1; }
.g-fa-dokumente-stufe--aktiv { color: var(--g-marke); font-weight: 700; }
.g-fa-dokumente-stufe--aktiv::before { border-color: var(--g-marke); border-right-color: transparent; }

.g-fa-dokumente-vorschlaege { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.g-fa-dokumente-ki { padding: 1px 7px; border-radius: 4px; background: var(--g-marke); color: #fff; font-size: 13px; font-weight: 700; }
.g-fa-dokumente-vorschlag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--g-linie); border-radius: 999px; background: #fff; font-size: 13px; }
.g-fa-dokumente-vorschlag::before { content: ''; width: 12px; height: 12px; border: 1.5px solid #8c939c; border-radius: 3px; box-sizing: border-box; }
.g-fa-dokumente-vorschlag--an { border-color: var(--g-marke); background: var(--g-marke-hell); color: var(--g-marke); font-weight: 600; }
.g-fa-dokumente-vorschlag--an::before { border-color: var(--g-marke); background: var(--g-marke); }

.g-fa-dokumente-foto-reihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.g-fa-dokumente-foto {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #dfe6ee 0%, #c9d3de 100%);
}
.g-fa-dokumente-foto::before { content: ''; position: absolute; left: 24px; top: 16px; width: 24px; height: 28px; border-radius: 50%; background: #8d99a8; }
.g-fa-dokumente-foto::after { content: ''; position: absolute; left: 12px; top: 50px; width: 48px; height: 48px; border-radius: 50% 50% 0 0; background: #8d99a8; }
.g-fa-dokumente-foto-text { display: grid; gap: 8px; flex: 1 1 200px; min-width: 0; }
.g-fa-dokumente-gut { color: #1d5b21; font-size: 13px; font-weight: 600; }
.g-fa-dokumente-block { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--g-linie); border-radius: 8px; background: #fafbfc; }
.g-fa-dokumente-block-kopf { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px; }
@container (max-width: 480px) {
  .g-fa-dokumente-block-kopf { grid-template-columns: minmax(0, 1fr); }
}

/* Word-Profil in der Firmenvorlage */
.g-fa-dokumente-dokument { display: grid; gap: 10px; }
.g-fa-dokumente-blatt { display: grid; gap: 10px; padding: 0 0 16px; border: 1px solid #d9dce0; background: #fff; box-shadow: 0 6px 18px -10px rgba(20, 20, 30, 0.35); }
.g-fa-dokumente-blatt-band { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--g-marke); color: #fff; font-weight: 700; font-size: 14px; }
.g-fa-dokumente-blatt-logo { width: 54px; height: 16px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.g-fa-dokumente-blatt-person { display: flex; gap: 12px; align-items: center; padding: 0 16px; }
.g-fa-dokumente-blatt-person .g-fa-dokumente-foto { width: 54px; height: 68px; }
.g-fa-dokumente-blatt-person .g-fa-dokumente-foto::before { left: 17px; top: 11px; width: 20px; height: 22px; }
.g-fa-dokumente-blatt-person .g-fa-dokumente-foto::after { left: 8px; top: 38px; width: 38px; height: 38px; }
.g-fa-dokumente-blatt-name { font-size: 17px; font-weight: 700; }
.g-fa-dokumente-blatt-abschnitt { display: grid; gap: 4px; padding: 0 16px; font-size: 13px; }
.g-fa-dokumente-blatt-titel { padding-bottom: 2px; border-bottom: 2px solid var(--g-marke-hell); color: var(--g-marke); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.g-fa-dokumente-blatt-zeile { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; }
.g-fa-dokumente-blatt-zeile span:first-child { color: var(--g-leise); }

/* ---------- Bewerbung im Wunschdesign (Bildungsträger) ---------- */

.g-fa-dokumente-bw { display: grid; gap: 10px; padding: 12px 14px 18px; background: #faf8f5; flex: 1; align-content: start; }
.g-fa-dokumente-schritte { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--g-leise); }
.g-fa-dokumente-schritte b { color: var(--g-marke); }
/* Hinweis „Aktuell erstellst du deinen Lebenslauf …“ wie .bw-future im Original */
.g-fa-dokumente-zukunft { margin: 0; padding: 9px 12px; border: 1px solid color-mix(in srgb, var(--g-marke) 18%, #fff); border-radius: 12px; background: color-mix(in srgb, var(--g-marke) 7%, #fff); color: #5d574f; font-size: 13px; line-height: 1.45; }
.g-fa-dokumente-zukunft strong { color: #33312e; }
.g-fa-dokumente-ablage { display: grid; justify-items: center; gap: 2px; padding: 12px 10px; border: 2px dashed #d4cfc8; border-radius: 12px; background: #fff; text-align: center; }
.g-fa-dokumente-ablage--gefuellt { border-style: solid; border-color: var(--g-marke); background: var(--g-marke-hell); }
.g-fa-dokumente-ablage-titel { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.g-fa-dokumente-ablage-hinweis { color: var(--g-leise); font-size: 13px; }

.g-fa-dokumente-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 12px; }
.g-fa-dokumente-design { position: relative; display: grid; gap: 6px; padding: 8px; border: 2px solid #e7e2dc; border-radius: 12px; background: #fff; }
.g-fa-dokumente-design--gewaehlt { border-color: var(--g-marke); }
.g-fa-dokumente-design-name { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.g-fa-dokumente-design--gewaehlt .g-fa-dokumente-design-name::after { content: '\2713'; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--g-marke); color: #fff; font-size: 13px; }
.g-fa-dokumente-empfohlen { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 0 7px; border-radius: 999px; background: var(--g-marke); color: #fff; font-size: 13px; font-weight: 600; }
.g-fa-dokumente-cv { position: relative; display: grid; align-content: start; gap: 5px; aspect-ratio: 210 / 297; padding: 26% 12% 10%; border: 1px solid #ece8e2; background: #fff; overflow: hidden; }
.g-fa-dokumente-cv i { display: block; height: 5px; border-radius: 2px; background: #e3ded7; }
.g-fa-dokumente-cv i:nth-child(2n) { width: 70%; }
.g-fa-dokumente-cv::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 20%; background: var(--g-marke); }
.g-fa-dokumente-cv::after { content: ''; position: absolute; right: 12%; top: 8%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #c9d3de; border: 2px solid #fff; }
.g-fa-dokumente-cv--2::before { background: #334155; height: 100%; width: 30%; }
.g-fa-dokumente-cv--2 { padding-left: 38%; padding-top: 14%; }
.g-fa-dokumente-cv--2::after { left: 6%; right: auto; top: 6%; width: 18%; }
.g-fa-dokumente-cv--3::before { background: #b45309; height: 4%; }
.g-fa-dokumente-cv--3 { padding-top: 34%; }
.g-fa-dokumente-cv--3::after { left: 12%; right: auto; top: 10%; }
.g-fa-dokumente-cv--4::before { background: #7c2d6b; top: auto; bottom: 0; height: 8%; }
.g-fa-dokumente-cv--4 { padding-top: 30%; }
.g-fa-dokumente-designs--mini { grid-template-columns: repeat(3, minmax(0, 88px)); gap: 8px; }
.g-fa-dokumente-designs--mini .g-fa-dokumente-design { padding: 5px; border-radius: 8px; }
.g-fa-dokumente-designs--mini .g-fa-dokumente-empfohlen,
.g-fa-dokumente-designs--mini .g-fa-dokumente-design-name::after { display: none; }
.g-fa-dokumente-designs--mini .g-fa-dokumente-cv { gap: 3px; }
.g-fa-dokumente-designs--mini .g-fa-dokumente-cv i { height: 3px; }
@container (max-width: 560px) {
  .g-fa-dokumente-designs { grid-template-columns: repeat(2, minmax(0, 170px)); }
}

/* ---------- Vertriebsanwendung: Ergänzungen zu g-auto-* ---------- */

.g-fa-dokumente-zahlen .g-kennzahlen { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.g-fa-dokumente-zahlen .g-kennzahl { border: 1px solid var(--g-linie); background: var(--g-grund); }
.g-fa-dokumente-auswahl { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid #c9ced6; border-radius: 4px; background: #fff; font-size: 13px; white-space: nowrap; }
.g-fa-dokumente-auswahl::after { content: '\25BE'; color: var(--g-leise); }
.g-fa-dokumente-zuordnung { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.g-fa-dokumente-roh { padding: 1px 8px; border: 1px dashed #b8bec6; border-radius: 4px; background: #fff; font-family: 'Cascadia Mono', 'SF Mono', Consolas, monospace; }
.g-fa-dokumente-platzhalter { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 10px; align-items: baseline; font-size: 13px; }
.g-fa-dokumente-marke-code { color: var(--g-marke); font-family: 'Cascadia Mono', 'SF Mono', Consolas, monospace; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.g-fa-dokumente-ki-zeile { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.g-fa-dokumente-ki-zeile--frage { background: var(--g-grund); }
.g-fa-dokumente-ki-zeile--antwort { border: 1px solid var(--g-linie); background: #fff; }
.g-fa-dokumente-ki-zeile--hinweis { border: 1px solid #efd58a; background: #fdf6e0; color: #5c4400; }
.g-fa-dokumente-ki-rolle { color: var(--g-leise); font-size: 13px; font-weight: 700; }
.g-fa-dokumente-verdeckt { display: inline-block; padding: 0 8px; border-radius: 4px; background: #d7dbe0; color: #4b5157; font-size: 13px; }

/* Schmal gestapelte Tabelle: Trennlinie zwischen den Zeilen */
@container (max-width: 560px) {
  .g-fa-dokumente-tabelle tr + tr { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--g-auto-linie, #d7dde6); }
}

/* ---------- Produktdatenbank (dunkle Oberfläche) ---------- */

.g-fa-dokumente-dunkel { display: grid; gap: 12px; margin: -14px; padding: 16px; background: #0d0d10; color: #e6e6e6; container-type: inline-size; }
.g-fa-dokumente-dunkel-h1 { font-size: 20px; font-weight: 600; }
.g-fa-dokumente-dunkel-unter { color: #a8adb3; font-size: 13px; }
.g-fa-dokumente-sprung { display: flex; flex-wrap: wrap; gap: 6px; }
.g-fa-dokumente-sprung span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid #3a3a40; border-left: 3px solid #f87171; border-radius: 6px; background: #17171a; font-size: 13px; }
.g-fa-dokumente-sprung b { color: #c4bdda; }
.g-fa-dokumente-luecke { display: grid; gap: 8px; padding: 12px; border: 1px solid #2c2c31; border-left: 3px solid #f87171; border-radius: 8px; background: #17171a; }
.g-fa-dokumente-luecke-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.g-fa-dokumente-luecke-titel { font-size: 15px; font-weight: 600; line-height: 1.35; }
.g-fa-dokumente-luecke-warum { margin-top: 2px; color: #a8adb3; font-size: 13px; }
.g-fa-dokumente-luecke-anzahl { flex-shrink: 0; min-width: 28px; padding: 1px 8px; border-radius: 999px; background: #2c2c31; text-align: center; font-size: 13px; font-weight: 700; }
.g-fa-dokumente-luecke-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; padding: 8px 10px; border-radius: 6px; background: #1c1c20; font-size: 14px; }
.g-fa-dokumente-luecke-zeile span:first-child { display: grid; gap: 1px; min-width: 0; }
.g-fa-dokumente-luecke-meta { color: #a8adb3; font-size: 13px; }
.g-fa-dokumente-marke { padding: 1px 8px; border: 1px solid; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.g-fa-dokumente-marke--rot { color: #fca5a5; border-color: #f87171; background: rgba(248, 113, 113, 0.12); }
.g-fa-dokumente-marke--gelb { color: #fcd34d; border-color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.g-fa-dokumente-leer { display: grid; gap: 6px; justify-items: center; padding: 26px 16px; border: 1px solid #2c2c31; border-radius: 8px; background: #17171a; text-align: center; }
.g-fa-dokumente-leer-titel { font-size: 16px; font-weight: 600; }
.g-fa-dokumente-leer p { margin: 0; color: #a8adb3; font-size: 13px; max-width: 42ch; }

/* ---------- WordPress-Verwaltung ---------- */

.g-fa-dokumente-wp { display: grid; gap: 12px; margin: -14px; padding: 16px; background: #f0f0f1; color: #1d2327; container-type: inline-size; }
.g-fa-dokumente-wp-h1 { font-size: 21px; font-weight: 400; }
.g-fa-dokumente-wp-karte { display: grid; gap: 0; padding: 12px 16px; border: 1px solid #c3c4c7; background: #fff; }
.g-fa-dokumente-wp-h2 { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.g-fa-dokumente-wp-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 4px 14px; align-items: center; padding: 10px 0; border-top: 1px solid #f0f0f1; font-size: 14px; }
.g-fa-dokumente-wp-zeile--hervor { margin: 0 -8px; padding: 10px 8px; border-radius: 4px; background: #fcf9e8; }
.g-fa-dokumente-wp-name { font-weight: 600; }
.g-fa-dokumente-wp-wert { padding: 3px 8px; border: 1px solid #8c8f94; border-radius: 4px; background: #fff; font-variant-numeric: tabular-nums; }
.g-fa-dokumente-wp-hinweis { grid-column: 1 / -1; color: #646970; font-size: 13px; font-style: italic; }
@container (max-width: 420px) {
  .g-fa-dokumente-wp-zeile { grid-template-columns: minmax(0, 1fr); }
  .g-fa-dokumente-wp-wert { justify-self: start; min-width: 96px; }
}

/* ---------- Shop mit Motiven ---------- */

.g-fa-dokumente-shop { display: grid; gap: 10px; }
.g-fa-dokumente-suche { padding: 8px 12px; border: 1px solid #cfd4db; background: #fff; color: #6c727b; font-size: 14px; }
.g-fa-dokumente-facetten { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; color: var(--g-leise); }
.g-fa-dokumente-facette--offen { color: var(--g-marke); text-decoration: underline; text-underline-offset: 3px; }
.g-fa-dokumente-shop .g-chip { border-radius: 0; }
.g-fa-dokumente-motive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.g-fa-dokumente-motive--mini { grid-template-columns: repeat(3, minmax(0, 70px)); }
.g-fa-dokumente-motiv { display: block; aspect-ratio: 4 / 3; border: 1px solid #e3e5e8; }
.g-fa-dokumente-motiv--1 { background: linear-gradient(180deg, #a9c6e6 0%, #5f8fc2 55%, #2f5d8f 100%); }
.g-fa-dokumente-motiv--2 { background: linear-gradient(160deg, #e9dcc4 0%, #cdb58e 60%, #9c8462 100%); }
.g-fa-dokumente-motiv--3 { background: linear-gradient(200deg, #bcd9e8 0%, #7fb0cc 45%, #d9c7a4 46%, #c2a878 100%); }
.g-fa-dokumente-motiv--4 { background: radial-gradient(circle at 70% 35%, #f3e3b3 0 14%, transparent 15%), linear-gradient(180deg, #6d93c4 0%, #274b7a 100%); }
.g-fa-dokumente-motiv--5 { background: linear-gradient(135deg, #dfe9f3 0%, #9fb8d3 50%, #56779c 100%); }
.g-fa-dokumente-motiv--6 { background: linear-gradient(90deg, #264c73 0 33%, #4f7eaf 33% 66%, #9dbbd9 66%); }
.g-fa-dokumente-meta { color: var(--g-leise); font-size: 13px; }

/* ---------- Online-Plattform für chronisch kranke Menschen (Papierton) ---------- */

.g-fa-dokumente-papier { display: grid; gap: 14px; flex: 1; align-content: start; padding: 16px 16px 20px; background: #faf8f3; color: #22201c; }
.g-fa-dokumente-papier-h { padding-bottom: 6px; border-bottom: 1px solid #b7af9e; font-size: 17px; font-weight: 700; }
.g-fa-dokumente-papier-text { color: #544f49; font-size: 14px; }
.g-fa-dokumente-block-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 3px; color: #544f49; font-family: 'Cascadia Mono', 'SF Mono', Consolas, monospace; font-size: 13px; }
.g-fa-dokumente-ich { font-weight: 600; overflow-wrap: anywhere; }
.g-fa-dokumente-maschine { font-weight: 400; }
.g-fa-dokumente-system { color: #544f49; font-family: 'Cascadia Mono', 'SF Mono', Consolas, monospace; font-size: 13px; line-height: 1.5; }
.g-fa-dokumente-beleg { position: relative; display: grid; gap: 3px; padding-left: 12px; }
.g-fa-dokumente-beleg::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--g-marke); }
.g-fa-dokumente-beleg-datum { color: #544f49; font-family: 'Cascadia Mono', 'SF Mono', Consolas, monospace; font-size: 13px; }
.g-fa-dokumente-zitat { font-weight: 600; }
.g-fa-dokumente-aktionen { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.g-fa-dokumente-aktionen span { color: var(--g-marke); text-decoration: underline; text-underline-offset: 2px; }
.g-fa-dokumente-aktionen span:last-child { color: #8e2f22; }

/* ---------- Trainings- und Ernährungs-App (Fälle zurückgestellt, siehe dokumente.mjs) ---------- */

.g-fa-dokumente-fit { display: grid; gap: 10px; flex: 1; align-content: start; padding: 12px; background: #f5f5f1; color: #1c1c18; }
.g-fa-dokumente-fit-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #e3e3dc; background: #fff; font-weight: 700; }
.g-fa-dokumente-fit-kopf span:first-child, .g-fa-dokumente-fit-kopf span:last-child { width: 22px; color: #76746b; }
.g-fa-dokumente-fit-karte { display: grid; gap: 8px; padding: 12px; border: 1px solid #e3e3dc; border-radius: 4px; background: #fff; }
.g-fa-dokumente-fit-karte--offen { box-shadow: inset 3px 0 0 var(--g-marke); border-color: #d4d4cc; }
.g-fa-dokumente-fit-titel { font-weight: 700; font-size: 15px; }
.g-fa-dokumente-fit-meta { color: #76746b; font-size: 13px; }
.g-fa-dokumente-knopfreihe { display: flex; gap: 6px; }
.g-fa-dokumente-knopfreihe span { flex: 1 1 0; padding: 8px 4px; border: 1px solid #d4d4cc; border-radius: 4px; background: #fff; text-align: center; font-size: 13px; font-weight: 500; }
.g-fa-dokumente-knopfreihe .g-fa-dokumente-an { border-color: var(--g-marke); color: var(--g-marke); font-weight: 700; }
.g-fa-dokumente-bestaetigen { display: grid; gap: 8px; padding: 10px; border: 1px solid #d4d4cc; border-radius: 4px; background: #f7f7f3; }
.g-fa-dokumente-hinweiszeile { color: #76746b; font-size: 13px; }
.g-fa-dokumente-posten { display: grid; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid #e3e3dc; }
.g-fa-dokumente-posten-kopf { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.g-fa-dokumente-quelle { padding: 0 6px; border: 1px solid #d4d4cc; border-radius: 4px; background: #fff; color: #76746b; font-size: 13px; font-weight: 500; }
.g-fa-dokumente-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.g-fa-dokumente-werte span { display: grid; gap: 1px; padding: 3px 6px; border: 1px solid #d4d4cc; border-radius: 4px; background: #fff; font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.g-fa-dokumente-werte i { color: #76746b; font-style: normal; font-size: 13px; }
.g-fa-dokumente-hinweis-klein { color: #76746b; font-size: 13px; }
.g-fa-dokumente-blasen { display: grid; gap: 8px; flex: 1; align-content: start; padding: 12px; background: #f5f5f1; }
.g-fa-dokumente-blase { max-width: 86%; padding: 8px 11px; border-radius: 4px; font-size: 14px; line-height: 1.42; }
.g-fa-dokumente-blase--ich { justify-self: end; background: var(--g-marke); color: #fff; font-weight: 500; }
.g-fa-dokumente-blase--bot { justify-self: start; border: 1px solid #e3e3dc; background: #fff; }
.g-fa-dokumente-blasen .g-fa-dokumente-bestaetigen { justify-self: start; max-width: 88%; }
.g-fa-dokumente-eingabe { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid #e3e3dc; background: #fff; }
.g-fa-dokumente-eingabe .g-knopf { flex: 0 0 auto; }
.g-fa-dokumente-eingabe span:first-child { flex: 1; padding: 6px 8px; border: 1px solid #d4d4cc; border-radius: 4px; color: #8a887f; font-size: 13px; }
.g-fa-dokumente-pill { padding: 1px 6px; border-radius: 4px; background: var(--g-marke-hell); color: var(--g-marke); font-size: 13px; font-weight: 700; }
.g-fa-dokumente-tipp { display: grid; gap: 2px; color: #76746b; font-size: 13px; }
.g-fa-dokumente-tipp b { color: #1c1c18; }
.g-fa-dokumente-saetze { display: grid; gap: 5px; }
.g-fa-dokumente-satz { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr) 34px; gap: 6px; align-items: center; font-size: 14px; }
.g-fa-dokumente-satz--kopf { color: #76746b; font-size: 13px; font-weight: 600; }
.g-fa-dokumente-satz span { text-align: center; }
.g-fa-dokumente-satz:not(.g-fa-dokumente-satz--kopf) span:nth-child(2),
.g-fa-dokumente-satz:not(.g-fa-dokumente-satz--kopf) span:nth-child(3) { padding: 5px 4px; border: 1px solid #d4d4cc; border-radius: 4px; background: #fff; font-variant-numeric: tabular-nums; }
.g-fa-dokumente-satz:not(.g-fa-dokumente-satz--kopf) span:nth-child(4) { padding: 5px 0; border: 1px solid #d4d4cc; border-radius: 4px; color: #76746b; }
.g-fa-dokumente-satz.g-fa-dokumente-satz--fertig span:nth-child(4) { border-color: #1f9d6b; background: #1f9d6b; color: #fff; }
.g-fa-dokumente-toast { justify-self: center; padding: 9px 14px; border-radius: 4px; background: var(--g-marke); color: #fff; font-weight: 600; font-size: 14px; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
