/* Aufgabenliste und Posteingang (PB-110): Reiter, Werkzeugleiste, Datumsgruppen, dichte Zeilen ohne Rahmen */
.werkzeugleiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.reiter { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.reiter a, .reiter-aktiv { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border-radius: var(--radius); color: var(--text-leise); text-decoration: none; }
.reiter a:hover { background: var(--flaeche-leise); color: var(--text); }
.reiter-aktiv { background: var(--akzent-leise); color: var(--text); font-weight: 600; }
.reiter-zahl { font-size: 0.8rem; color: var(--text-leise); }
.werkzeuge { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.filter.kompakt { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.filter.kompakt select { width: auto; }
.gruppe { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0 0.35rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); }
.gruppe::before, .gruppe::after { content: ""; flex: 1; border-top: 1px solid var(--rand); }
.zeilen { list-style: none; margin: 0; padding: 0; }
.zeile { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.6rem; border-radius: var(--radius); }
.zeile:hover { background: var(--flaeche-leise); }
.zeile-titel { flex: 1; min-width: 0; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zeile-titel:hover { text-decoration: underline; }
.zeile-projekt { color: var(--text-leise); font-size: 0.85rem; white-space: nowrap; }
.zeile-zeit { color: var(--text-leise); font-size: 0.85rem; white-space: nowrap; min-width: 5.5rem; text-align: right; }
.zeile-umbruch { flex-wrap: wrap; } /* PB-8549: Zeile mit einem Satz darunter (.zeile-unten), sonst schrumpft der Titel auf null */
.zeile-unten { flex-basis: 100%; }
.zeile-umbruch .zeile-titel { flex: 1 1 10rem; } /* B10: mittlere Breite, langer Teamname drückt sonst den Kunden auf wenige Pixel */
.zeile-umbruch .zeile-projekt { white-space: normal; }
.status-symbol { display: inline-flex; flex: none; }
.status-symbol .sym { width: 1.15rem; height: 1.15rem; stroke-width: 1.6; }
.status-symbol .voll { fill: currentColor; stroke: none; }
.status-symbol.offen, .status-symbol.abgebrochen { color: var(--st-aus); }
.status-symbol.in_arbeit { color: var(--st-arbeit); }
.status-symbol.wartet_auf_mich { color: var(--prio-hoch); }
.status-symbol.erledigt { color: var(--st-fertig); }
.leer { padding: 2rem 0; text-align: center; color: var(--text-leise); }
@media (max-width: 47.99rem) {
  .zeile { flex-wrap: wrap; }
  .zeile-titel { white-space: normal; flex-basis: calc(100% - 2.2rem); }
  .zeile-projekt, .zeile-zeit { margin-left: 1.9rem; min-width: 0; text-align: left; }
}

/* Aufgabe (PB-111): Brotkrumen, Kopf, Eigenschaften rechts, Gespräch in Blasen, Eingabefeld unten */
.aufgabe-rahmen { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; grid-template-areas: "kopf eig" "haupt eig"; gap: 0 2rem; align-items: start; }
.aufgabe-oben { grid-area: kopf; }
.aufgabe-haupt { grid-area: haupt; min-width: 0; }
.eigenschaften { grid-area: eig; position: sticky; top: 1rem; border: 1px solid var(--rand); border-radius: 0.75rem; padding: 0.9rem 1rem; background: var(--flaeche); }
.eigenschaften h2 { margin: 0 0 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-leise); }
.eigenschaften dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0.15rem; }
.eigenschaften dt { margin-top: 0.6rem; font-size: 0.8rem; color: var(--text-leise); }
.eigenschaften dd { margin: 0; overflow-wrap: anywhere; }
.eig-form { margin-top: 0.35rem; }
.eig-form button { padding: 0.25rem 0.6rem; font-size: 0.85rem; }
.kennung { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; color: var(--text-leise); }
.brotkrumen { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-leise); }
.brotkrumen a { color: var(--text-leise); }
.brotkrumen-ende { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.aufgabe-oben .seitenkopf { margin-bottom: 0.4rem; }
.aufgabe-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.gespraech { list-style: none; padding: 0; margin: 0 0 var(--abstand); display: flex; flex-direction: column; gap: 1rem; }
.nachricht { display: flex; flex-direction: column; max-width: 46rem; }
.nachricht.eigene { align-self: flex-end; align-items: flex-end; }
.nachricht-kopf { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.3rem; }
.nachricht-fuss { margin: 0.25rem 0 0; font-size: 0.8rem; color: var(--text-leise); }
.blase { padding: 0.65rem 0.9rem; border-radius: 0.9rem; background: var(--flaeche-leise); }
.eigene .blase { background: var(--akzent); color: var(--akzent-text); border-bottom-right-radius: 0.25rem; }
.fremde .blase { border-top-left-radius: 0.25rem; }
.eingabe { position: sticky; bottom: 0.75rem; background: var(--flaeche); border: 1px solid var(--feldrand); border-radius: 0.9rem; padding: 0.6rem; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); }
.eingabe textarea { border: 0; min-height: 4.5rem; resize: vertical; background: transparent; }
.eingabe textarea:focus-visible { outline-offset: 0; }
.eingabe-zeile { display: flex; justify-content: flex-end; }
@media (max-width: 63.99rem) {
  .aufgabe-rahmen { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "eig" "haupt"; }
  .eigenschaften { position: static; margin-bottom: var(--abstand); }
}
@media (max-width: 47.99rem) {
  main { padding: 1rem; }
  .eingabe { bottom: 4.9rem; }
}

/* Neue Aufgabe als Dialog-Karte und Suche (PB-112) */
.dialog { max-width: 40rem; margin: 2rem auto; background: var(--flaeche); border: 1px solid var(--rand); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14); }
.dialog h1 { font-size: 1.25rem; margin-bottom: 1rem; }
.dialog .feld label { font-size: 0.85rem; color: var(--text-leise); font-weight: 500; }
.dialog-titelfeld { font-size: 1.1rem; font-weight: 600; }
.dialog-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.5rem; }
.dialog-dringend { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; font-weight: 400; color: var(--text); }
.dialog-knoepfe { display: inline-flex; gap: 0.5rem; }
.suche-gross { display: flex; align-items: center; gap: 0.6rem; max-width: 46rem; border: 1px solid var(--feldrand); border-radius: 0.9rem; padding: 0.4rem 0.5rem 0.4rem 0.9rem; background: var(--flaeche); margin-bottom: 1rem; }
.suche-gross input { border: 0; background: transparent; font-size: 1.05rem; padding: 0.45rem 0.25rem; }
.suche-gross input:focus-visible { outline-offset: 0; }
.leerzustand { max-width: 36rem; margin: 3rem auto; text-align: center; }
.leerzustand h2 { margin-top: 0; }
@media (max-width: 47.99rem) {
  .dialog { margin: 0.5rem 0; padding: 1rem; box-shadow: none; }
}

