/* app-abschluss.css: die Verteilung im Abschluss-Dialog (Welle 4, Strang M1,
   E-2). Je Ziel ein Kasten in der Bauform der Aufgaben-Zeile (goldene Kante,
   Haken links), darunter der Text zum Ändern. Eine eigene Datei, weil
   app-verwaltung.css die übrigen Stile des Dialogs trägt und nicht wachsen soll. */

.abVerteilung { display: flex; flex-direction: column; gap: 8px; }
.abZiel { display: flex; flex-direction: column; gap: 6px; background: var(--bg);
  border: 1px solid var(--linie); border-left: 3px solid var(--gold);
  border-radius: 8px; padding: 7px 10px; }
.abZiel.aus { opacity: .45; border-left-color: var(--linie); }
/* Eingetragen: der Kasten wird zum Vermerk, grün statt gold. Abgelehnt: die
   Kante warnt, der Grund steht darunter, und der Haken bleibt bedienbar. */
.abZiel.fertig { border-left-color: var(--gruen); opacity: .8; }
.abZiel.abgelehnt { border-left-color: var(--warn, #d98a3a); }
.abZielKopf { display: flex; align-items: center; gap: 8px; min-width: 0; }
.abZielKopf > .ikon { width: 15px; height: 15px; flex: none; color: var(--dim); }
.abZielName { font-size: 13.5px; font-weight: 600; color: var(--text); flex: none; }
.abZielPfad { flex: 1; min-width: 0; font-size: 12px; color: var(--dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abZielStufe { flex: none; }
/* Runde 4 (K8d, Symbol-Liste 6): Drei-Zustand-Umschalter statt `<select>`;
   dieselbe Form (fester Kreis) wie der Fest-Stempel daneben. */
.abZielStufe.abStufeUmschalter, .abZielStufe.fest { display: inline-flex; align-items: center;
  justify-content: center; width: 32px; height: 32px; border-radius: 8px; }
.abZielStufe.abStufeUmschalter { border: 1px solid var(--linie); background: var(--zeile);
  color: var(--text); cursor: pointer; }
.abZielStufe.abStufeUmschalter:hover, .abZielStufe.abStufeUmschalter:focus-visible {
  border-color: var(--gold); }
.abZielStufe.fest { border: 1px dashed var(--linie); color: var(--dim); }
.abZielStufe.abStufeUmschalter .ikon, .abZielStufe.fest .ikon { width: 15px; height: 15px; }
.abZielZeile { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: flex-end; }
.abZielNummer { flex: 1 0 100%; font-size: 12px; color: var(--goldText); }
.abZielFeld { display: flex; flex-direction: column; gap: 2px; flex: 1 1 140px;
  font-size: 11.5px; color: var(--dim); }
.abZiel input { width: 100%; background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid var(--linie); font: inherit; font-size: 13.5px;
  padding: 4px 2px; }
.abZiel input:focus { outline: none; border-bottom-color: var(--gold); }
.abZiel .abZielPfadFeld { font-size: 12.5px; color: var(--dim); }
.abZielHerkunft { font-size: 12px; color: var(--dim); font-style: italic; }
.abZielErgebnis:not([hidden]) { font-size: 12.5px; color: var(--text); }
.abZiel.abgelehnt .abZielErgebnis { color: var(--warn, #d98a3a); }
.abZiel.fertig .abZielErgebnis { color: var(--gruen); }
.abAufgabe.fertig { border-left-color: var(--gruen); opacity: .8; }

@media (max-width: 768px) {
  /* Auf dem Telefon steht der Pfad unter dem Namen, und alles Antippbare
     wächst auf 36 Pixel (Haus-Regel 17 §6). */
  .abZielKopf { flex-wrap: wrap; }
  .abZielPfad { flex: 1 0 100%; order: 5; }
  .abZielStufe.abStufeUmschalter, .abZielStufe.fest { min-height: 36px; height: 36px; width: 36px; }
}

/* --- Runde 4 (K8d, Symbol-Liste 5): Avatar-Kreis „Zuständig", Chip „Ziel" ----
   im Abschluss-Aufgaben und in der Planung (huelle-planung.js nutzt dieselben
   Klassen über abAvatarFeld/abZielChipFeld, app-abschluss.js). Vorbereitet für
   den Umzug auf app-umschalter.js (U8d): Symbol-Knöpfe mit title/aria-label,
   kein natives <select>. */
.abAvatarFeld, .abZielChipFeld { position: relative; flex: none; }
.abAvatarKnopf { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent;
  padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.abAvatarKnopf > .ikon { width: 30px; height: 30px; padding: 7px; box-sizing: border-box;
  border-radius: 50%; background: var(--zeile); border: 1px solid var(--linie); color: var(--dim); }
.abZielKnopfChip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px;
  border-radius: 999px; border: 1px solid var(--linie); background: var(--zeile);
  color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer; max-width: 150px; }
.abZielKnopfChip .ikon { width: 13px; height: 13px; flex: none; color: var(--dim); }
.abZielKnopfChip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abPopoverListe { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0;
  min-width: 170px; max-height: 220px; overflow-y: auto; background: var(--bg);
  border: 1px solid var(--linie); border-radius: 8px; box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  display: flex; flex-direction: column; padding: 4px; }
.abPopoverEintrag { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 0;
  background: transparent; color: var(--text); font: inherit; font-size: 13px; text-align: left;
  border-radius: 6px; cursor: pointer; }
.abPopoverEintrag:hover, .abPopoverEintrag:focus-visible { background: var(--zeile); }
.abPopoverEintrag .ikon { width: 14px; height: 14px; flex: none; color: var(--dim); }

@media (max-width: 390px) {
  /* U-d: Tippziele mindestens 44 px unter dem kleinsten Breakpoint. */
  .abAvatarKnopf, .abPopoverEintrag { min-height: 44px; }
  .abAvatarKnopf { min-width: 44px; }
}

/* --- Runde 4 (K8d, Symbol-Liste 22): der Kosten-Chip (app-kosten-blasen.js).
   Eigene Regel hier, weil app.css/app-arbeitsflaeche.css (wo `.kostenChip`
   selbst herkommt) nicht zu dieser Kopie gehören. */
.kcTeil { display: inline-flex; align-items: center; gap: 3px; margin-right: 8px; }
.kcTeil .ikon { width: 13px; height: 13px; }
.kcSatz { display: none; }

/* --- Welle 8 (K8, 28.09.2026): Meeting-Liste, Flows Chrome-Befund ------------
   Anheft- und Zielflagge-Knopf einer Zeile saßen ohne Abstand nebeneinander,
   Fehlklick-Gefahr. Die Klassen (`mtAktionen`, `teilenKnopf`) entstehen in
   huelle.js (U8); dies ist eine reine Stil-Ergänzung aus dieser Datei, keine
   Änderung an fremdem Code. */
.mtAktionen { display: flex; align-items: center; gap: 10px; }
.mtAktionen .teilenKnopf { margin: 0; }

/* --- „Deine Aufgaben" in der Work-Ansicht (Welle 8, K8, app-aufgaben-work.js,
   WELLE8.md Abschnitt K.5). Dieselbe Bauform wie die Meeting-Tafel darunter
   (`.tafel`, `.tafelKopf` aus app.css), damit die Kachel nicht wie ein
   Fremdkörper über der Liste steht. */
.awKachel { margin-bottom: 12px; }
.awListe { display: flex; flex-direction: column; gap: 6px; padding: 8px 14px 12px; }
.awZeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--linie); border-left: 3px solid var(--gold);
  border-radius: 8px; padding: 8px 10px; }
.awTitelText { flex: 1 1 160px; min-width: 0; font-size: 13.5px; color: var(--text); }
.awHerkunft { flex: none; font-size: 12px; color: var(--dim); background: transparent;
  border: 0; padding: 0; cursor: default; text-decoration: none; }
button.awHerkunft { cursor: pointer; text-decoration: underline; }
button.awHerkunft:hover, button.awHerkunft:focus-visible { color: var(--goldText); }

@media (max-width: 390px) {
  /* U-d: Tippziele mindestens 44 px unter dem kleinsten Breakpoint. */
  .awZeile .aktion { min-height: 44px; }
}
