/* Wissensspeicher (E22, PB-3205): Pfadleiste, Liste der Ordner und Notizen, Notiz zum Lesen. Am Handy eine Spalte, große Ziele. */
.ws-pfad ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 0.5rem; padding: 0; font-size: 0.9rem; }
.ws-pfad li + li::before { content: "/"; margin-right: 0.3rem; color: var(--rand); }
.ws-liste { list-style: none; margin: 0 0 var(--abstand); padding: 0; border-top: 1px solid var(--rand); }
.ws-eintrag { border-bottom: 1px solid var(--rand); }
.ws-eintrag > a, .ws-eintrag > span { display: block; padding: 0.7rem 0.4rem; min-height: 2.75rem; box-sizing: border-box; overflow-wrap: anywhere; }
.ws-ordner > a { font-weight: 700; }
.ws-datei > span { color: var(--text-leise); }
.ws-notiz { max-width: 46rem; overflow-wrap: anywhere; line-height: 1.55; }
.ws-notiz pre { overflow-x: auto; padding: 0.6rem; border: 1px solid var(--rand); border-radius: 0.4rem; }
.ws-notiz blockquote { margin: 0 0 1rem; padding-left: 0.8rem; border-left: 3px solid var(--rand); }
.ws-notiz img { max-width: 100%; height: auto; }
.wissen-fehlt { text-decoration: underline dotted; }
.ws-erwaehnt { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rand); }
.ws-erwaehnt li { padding: 0.3rem 0; }
.ws-erwaehnt .leise { font-size: 0.85rem; margin-left: 0.3rem; }
/* PB-3206: Suchfeld und Treffer */
.ws-suche { margin: 0 0 var(--abstand); max-width: 46rem; }
.ws-suche label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.ws-suche-zeile { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ws-suche-zeile input { flex: 1 1 12rem; min-height: 2.75rem; }
.ws-treffer { list-style: none; margin: 0 0 var(--abstand); padding: 0; border-top: 1px solid var(--rand); max-width: 46rem; }
.ws-treffer li { border-bottom: 1px solid var(--rand); padding: 0.6rem 0.4rem; overflow-wrap: anywhere; }
.ws-treffer li > a { font-weight: 600; }
.ws-treffer li > p { margin: 0.2rem 0 0; font-size: 0.9rem; }
/* PB-3207: Bearbeiten, Konflikt, Papierkorb */
.ws-bearbeiten { max-width: 46rem; margin: 0 0 var(--abstand); }
.ws-bearbeiten textarea { width: 100%; box-sizing: border-box; min-height: 18rem; font-family: inherit; line-height: 1.5; }
.ws-bearbeiten input[type="text"] { width: 100%; max-width: 28rem; min-height: 2.75rem; box-sizing: border-box; }
.ws-knoepfe { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ws-konflikt { max-width: 46rem; margin: 0 0 var(--abstand); padding: 0.8rem 1rem; border: 1px solid var(--warn-rand); border-radius: 0.4rem; background: var(--warn-bg); color: var(--warn-text); }
.ws-konflikt h2 { margin-top: 0; font-size: 1.1rem; }
.ws-aktuell { max-width: 46rem; margin: 0 0 var(--abstand); }
.ws-aktuell pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 0.6rem; border: 1px solid var(--rand); border-radius: 0.4rem; }
.ws-werkzeug { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0 0 var(--abstand); }
/* PB-GUI-kunde-wissen: Liste mit Symbol je Art (schmückend; die Art steht für Vorlese-Programme im Text), ganze Zeile als Ziel,
   Treffer mit Name fett und Ort darunter; am Handy ist die Pfadleiste eine verschiebbare Zeile statt vieler Umbrüche. */
.ws-eintrag > a, .ws-eintrag > span { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); border-radius: var(--radius); }
.ws-eintrag > a:hover { background: var(--flaeche-leise); }
.ws-eintrag > a:hover, .ws-eintrag > a:focus-visible { text-decoration: underline; }
.ws-eintrag .sym { flex: none; width: 1.25rem; height: 1.25rem; color: var(--text-leise); }
.ws-ordner .sym { color: var(--akzent); }
.ws-datei > span { cursor: default; }
.ws-treffer li > a { font-weight: 600; }
.ws-treffer li > .leise { display: block; font-size: 0.85rem; }
.ws-treffer li > p { margin: 0.3rem 0 0; }
.ws-erwaehnt ul { padding-left: 1.2rem; }
@media (max-width: 47.99rem) {
  .ws-pfad ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; padding-bottom: 0.2rem; }
  .ws-pfad a { display: inline-block; padding: 0.4rem 0; min-height: 2.75rem; box-sizing: border-box; }
  .ws-suche-zeile button { flex: 1 1 100%; min-height: 2.75rem; }
  .ws-notiz { font-size: 1.05rem; }
}
/* PB-5197c: Wissensspeicher nutzt am breiten Bildschirm die Breite wie Dashboard und Builder; Lesetext und Suche bleiben schmal */
main:has(> .ws-pfad) { max-width: none; padding-left: var(--raum-5); padding-right: var(--raum-5); }
