/* workspace-chat-neu.css — Quellen-Chips des neuen Agents4Hire-Chats (Beta). Kurzbeschreibung: kleine anklickbare
   Pillen unter der Antwort, gleiche Gestalt wie die Vorschlags-Pillen der Chat-Kachel (marke-ui, nur Marken-Variablen). */
.a4h-quellen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.a4h-quellen a { max-width: 100%; padding: 3px 10px; border: 1px solid var(--marke-linie); border-radius: var(--marke-r-pill); background: var(--marke-flaeche);
  color: var(--marke-text); font: 500 12px var(--marke-schrift); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, border-color .15s; }
.a4h-quellen a:hover { background: var(--marke-flaeche-2); border-color: var(--marke-linie-stark); }
.a4h-quellen a.gw { white-space: normal; text-align: left; border-radius: var(--marke-r-m); }
.a4h-chat-quellen-kachel { margin: 4px 0 0 34px; }

/* Übergabe an einen Zusatz-Agenten: Zeile „Antwort von <Name>“ (Bild + Name) mit den Quellen dieses Agenten daneben */
.a4h-von { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.a4h-von-wer { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: var(--marke-r-pill); background: var(--marke-flaeche-2);
  color: var(--marke-text-2); font: 500 12px var(--marke-schrift); }
.a4h-von-wer .wab-bild { flex: none; border-radius: 6px; }
.a4h-von-wer b { color: var(--marke-text); font-weight: 600; }
.a4h-von a, .a4h-quellen a, .a4h-von .dok, .a4h-quellen .dok { max-width: 100%; padding: 3px 10px; border: 1px solid var(--marke-linie); border-radius: var(--marke-r-pill); background: var(--marke-flaeche);
  color: var(--marke-text); font: 500 12px var(--marke-schrift); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, border-color .15s; }
.a4h-von a:hover, .a4h-von button.dok:hover, .a4h-quellen button.dok:hover { background: var(--marke-flaeche-2); border-color: var(--marke-linie-stark); }
.a4h-von a.gw { white-space: normal; text-align: left; border-radius: var(--marke-r-m); }
.dok { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
span.dok { cursor: default; }
.dok svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.dok > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Rechenzeile aus einer Formel (statt LaTeX): eigene, eingerückte Zeile */
.msg-bubble .md-rechnung { margin: 6px 0 6px 16px; padding: 6px 12px; border-radius: var(--marke-r-m); background: var(--marke-flaeche-2); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.msg-bubble h4 { font-size: 0.95em; }
