/* PB-4348 Stufe 3: Leitstrahl, das Projekt-Cockpit in kurz (Teil templates/teile/leitstrahl.php). Ein Baustein, heute in der Zentrale,
   später im Kundenbereich: darum eigene Datei mit Vorsilbe lst-, nur Farben und Schriftstufen aus basis.css, keine Bewegung. Die Anteile
   tragen ihre Aussage als Text; der Balken (progress, aria-hidden) ist Schmuck. Hell und dunkel über die Variablen allein. */
.lst { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.35rem var(--raum-3) 0.45rem; background: var(--flaeche-leise); border: 1px solid var(--rand); border-radius: 0.75rem; font-size: var(--schrift-s); line-height: var(--zeile-eng); }
.lst p, .lst ul, .lst ol, .lst dl, .lst dd { margin: 0; }
.lst-kopf { display: flex; align-items: center; gap: var(--raum-2); min-height: 1.5rem; }
.lst-titel { margin: 0; font-size: var(--schrift-s); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-leise); }
.lst-beispiel { padding: 0 0.4rem; border: 1px solid var(--rand); border-radius: 999px; font-size: var(--schrift-xs); color: var(--text-leise); }
.lst-projekt { font-size: var(--schrift-m); font-weight: 700; color: var(--text); }
/* Das Ziel höchstens drei Zeilen im Bild (der ganze Satz bleibt im Text und als Tooltip) */
.lst-ziel { display: -webkit-box; margin-top: 0.1rem; color: var(--text-leise); overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.lst-jetzt { padding: 0.3rem 0.55rem; background: var(--flaeche); border: 1px solid var(--rand); border-left: 3px solid var(--akzent); border-radius: 0.5rem; overflow-wrap: anywhere; }
.lst-jetzt-wort { margin-right: 0.25rem; font-size: var(--schrift-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--akzent); }
.lst-jetzt strong { font-weight: 600; color: var(--text); }
.lst-jetzt-unbekannt { border-left-color: var(--rand); }
.lst-jetzt-unbekannt .lst-jetzt-wort, .lst-jetzt-unbekannt strong { color: var(--text-leise); font-weight: 400; }
.lst-anteile { display: grid; gap: 0.15rem; }
.lst-anteil { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: var(--raum-2); padding-bottom: 0.45rem; }
.lst-anteil dt { color: var(--text-leise); font-size: var(--schrift-xs); }
.lst-zahl { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.lst-zahl-unbekannt { font-weight: 400; color: var(--text-leise); }
.lst-balken { position: absolute; left: 0; right: 0; bottom: 0; display: block; width: 100%; height: 0.3rem; border: 0; border-radius: 999px; background: var(--rand); color: var(--akzent); appearance: none; -webkit-appearance: none; overflow: hidden; }
.lst-balken::-webkit-progress-bar { background: var(--rand); border-radius: 999px; }
.lst-balken::-webkit-progress-value { background: var(--akzent); border-radius: 999px; }
.lst-balken::-moz-progress-bar { background: var(--akzent); border-radius: 999px; }
.lst-teil-t { display: inline; margin: 0; font-size: var(--schrift-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-leise); }
.lst-teil { display: flex; flex-direction: column; gap: 0.2rem; }
.lst-leise { color: var(--text-leise); }
.lst-kapitel > summary { display: flex; align-items: baseline; gap: var(--raum-2); min-height: 1.4rem; cursor: pointer; list-style: none; }
.lst-kapitel > summary::-webkit-details-marker, .lst-k-erledigte > summary::-webkit-details-marker { display: none; }
.lst-kapitel > summary::after { content: "▸"; margin-left: auto; color: var(--text-leise); }
.lst-kapitel[open] > summary::after { content: "▾"; }
.lst-kapitel[open] > summary { margin-bottom: 0.1rem; }
.lst-k-summe { font-size: var(--schrift-xs); color: var(--text-leise); }
.lst-k-liste, .lst-k-liste ul { display: flex; flex-direction: column; gap: 0.05rem; padding: 0; list-style: none; }
.lst-k { display: flex; align-items: baseline; gap: 0 0.4rem; padding: 0.12rem 0.35rem; border-radius: 0.35rem; }
.lst-k-marke { flex: none; display: inline-block; width: 0.5rem; height: 0.5rem; border: 2px solid var(--feldrand); border-radius: 999px; }
.lst-k-erledigt .lst-k-marke { border-color: var(--ok); background: var(--ok); }
.lst-k-laufend { background: var(--akzent-leise); }
.lst-k-laufend .lst-k-marke { border-color: var(--akzent); background: var(--flaeche); }
.lst-k-laufend .lst-k-titel { font-weight: 600; }
/* Kapitel und Schritte je eine Zeile (der ganze Titel bleibt im Text und als Tooltip) */
.lst-k-titel, .lst-s-titel { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); }
.lst-k-stand, .lst-k-zahl { flex: none; }
.lst-k-stand { font-size: var(--schrift-xs); color: var(--text-leise); }
.lst-k-zahl { font-size: var(--schrift-xs); font-variant-numeric: tabular-nums; color: var(--text-leise); }
.lst-k-erledigt { display: block; padding: 0; }
.lst-k-erledigte > summary { display: flex; align-items: baseline; gap: 0.4rem; padding: 0.12rem 0.35rem; border-radius: 0.35rem; color: var(--text-leise); cursor: pointer; list-style: none; }
.lst-k-erledigte > summary::after { content: "▸"; margin-left: auto; }
.lst-k-erledigte[open] > summary::after { content: "▾"; }
.lst-k-erledigte ul { margin: 0.1rem 0 0.2rem 1.25rem; }
.lst-k-erledigte li { display: flex; align-items: baseline; gap: 0 0.4rem; }
.lst-k-erledigte .lst-k-titel { color: var(--text-leise); }
.lst-kapitel > summary:hover .lst-teil-t, .lst-k-erledigte > summary:hover { color: var(--text); }
.lst-schritte { display: flex; flex-direction: column; gap: 0.15rem; margin: 0; padding: 0 0 0 1.2rem; }
.lst-schritte li { padding-left: 0.1rem; color: var(--text); }
.lst-s-zeile { display: flex; align-items: baseline; gap: 0.35rem; min-width: 0; }
.lst-schritte li::marker { color: var(--text-leise); font-size: var(--schrift-xs); }
.lst-kennung { flex: none; padding: 0 0.3rem; border: 1px solid var(--rand); border-radius: 0.3rem; background: var(--flaeche); font-size: var(--schrift-xs); font-variant-numeric: tabular-nums; color: var(--text-leise); white-space: nowrap; }
.lst-kopf .lst-stand { margin: 0 0 0 auto; font-size: var(--schrift-xs); color: var(--text-leise); white-space: nowrap; }
.lst-leer { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.6rem 0.7rem; border: 1px dashed var(--feldrand); border-radius: 0.5rem; color: var(--text-leise); }
.lst-leer-titel { font-weight: 600; color: var(--text); }
@media (forced-colors: active) {
  .lst-balken { border: 1px solid CanvasText; }
  .lst-k-erledigt .lst-k-marke { background: CanvasText; }
}
@media (max-width: 43.75rem) {
  .lst-kapitel > summary, .lst-k-erledigte > summary { min-height: 2.5rem; align-items: center; }
}
