/* huelle-widget-strom.css, X5 (Welle 7b, 24.09.2026): die Widgets strom und bild, die
   Vorschläge der Agentin im Dialog „Reiter anpassen" und die Wahl „Neues Projekt wie".
   Maße stehen hier, nicht im JavaScript (Haus-Regel „Anwendungs-Standards" §6). */

/* --- strom: eine Zeile je Ereignis, Zeit und Art vorn, das Objekt kürzt sich --- */
.wsStrom { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column;
  gap: 5px; }
.wsZeile { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 8px;
  align-items: baseline; min-width: 0; }
.wsZeit { color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wsWas { font-weight: 600; white-space: nowrap; }
.wsObjekt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsWer { color: var(--dim); white-space: nowrap; }
.wsKurz { padding: 4px 0 18px; }

/* --- bild: das PNG passt in die Kachel und behält sein Seitenverhältnis --- */
.wsBildRahmen { height: 100%; display: flex; align-items: center; justify-content: center; }
.wsBild { display: block; max-width: 100%; max-height: 100%; object-fit: contain;
  image-rendering: auto; }
.wsKurz .wsBild { max-height: 70vh; }

/* --- Vorschläge der Agentin über der Liste des Dialogs „Reiter anpassen" --- */
.wvBereich { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.wvBereich:empty { display: none; }
.wvEintrag { padding: 8px 10px; border: 1px solid var(--linie); border-left: 3px solid var(--blau);
  border-radius: var(--rundKlein, 8px); background: var(--panel); }
.wvKopf { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wvMarke .ikon { width: 16px; height: 16px; color: var(--goldText, var(--dim)); }
.wvTitel { font-size: 13.5px; }
.wvArt { min-width: 0; color: var(--dim); font-size: 12px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.wvBegruendung { margin: 4px 0 2px; font-size: 13px; line-height: 1.5; }
.wvSchritte { margin: 4px 0 6px; padding-left: 22px; font-size: 12px; line-height: 1.6; color: var(--dim); }
.wvWarnung { color: #9a5b00; }
.wvUmbau { padding: 12px 14px; }
.wvWer { margin: 0 0 2px; font-size: 12px; color: var(--dim); }
.wvUmbauTitel { display: block; font-size: 15px; }
.wvAbschnitt { margin: 12px 0 4px; font-size: 12px; font-weight: 600; color: var(--kopf); }
.wvSaetze { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.6; }
.wvMenue { display: flex; flex-direction: column; gap: 2px; padding: 8px; border: 1px solid var(--linie);
  border-radius: var(--rundKlein, 8px); background: var(--bg); }
.wvMenueZeile { display: flex; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 6px;
  font-size: 13px; color: var(--dim); }
.wvMenueZeile.anders { color: var(--text); font-weight: 600; background: var(--zeile); }
.wvMenueZeichen { display: grid; place-items: center; width: 18px; }
.wvMenueZeichen .ikon { width: 15px; height: 15px; }
.wvMenueWidget { display: flex; align-items: center; gap: 8px; margin-left: 32px; padding: 2px 6px;
  font-size: 12.5px; color: var(--dim); border-left: 2px solid var(--linie); }
.wvMenueWidget.anders { color: var(--text); }
.wvChip { padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: var(--blau); color: #fff; }
.wvGenau { margin-top: 4px; font-size: 12px; color: var(--dim); }
.wvGenau summary { cursor: pointer; }
/* Die Breite des Gesprächs, nicht 640 Pixel (Flow, 13.10.2026); mehr dazu in huelle-baukasten.css. */
.wvImChat { max-width: min(100%, 1040px); margin: 6px 0 12px; }
.wvAlt .wvZurueck { margin: 0 0 0 6px; padding: 2px 10px; min-height: 0; font-size: 12px; }
.wvImChat .wvKnoepfe { display: flex; justify-content: flex-end; gap: 8px; margin: 8px 0 4px; }
.wvKnoepfe { display: flex; justify-content: flex-end; gap: 8px; }
.wvFrueher summary { cursor: pointer; color: var(--dim); font-size: 12px; }

@media (max-width: 600px) {
  .wsZeile { grid-template-columns: auto minmax(0, 1fr); }
  .wsObjekt, .wsWer { grid-column: 2; }
  /* Ein Widget klein wächst hier mit seinem Inhalt (huelle-widgets.css); das Bild
     bekommt darum eine eigene Grenze. */
  .wgKachel[data-groesse="klein"] .wsBild { max-height: 240px; }
  .wvKopf { flex-wrap: wrap; }
}
