/*
  workspace-bento-chat.css — der Chat in der Bento-Ansicht des Workspace (Logik: workspace-bento-chat.js).

  Kurzbeschreibung (für Laien): Ralph, 24.10.2026 — „der Chat genauso im Bento-Design wie die Workspace-Startseite".
  Oben eine Reihe Kennzahl-Kacheln über die volle Breite (der Seitenname „Chat" steht als Pille in der Leiste oben).
  Darunter links EINE Karte mit Suche, rundem Plus (neue Unterhaltung), Filter-Pillen und der Unterhaltungsliste, rechts eine große weiße Karte
  mit dem eigentlichen Chat. Die Seite selbst scrollt nie — gescrollt wird nur in den Karten.
  Greift nur, wenn <html> die Klasse „ws-bento-chat" trägt (Bento-Ansicht + Chat offen); die
  Seitenleisten-Ansicht bleibt unverändert. Werte (Grund, Rundung, Farben) aus workspace-bento.css.
  Vorbild: AIOS kontrollzentrum.html (Kopf-Raster) — aber Filter und Liste in derselben Karte.
  Unten zusätzlich (27.10.2026): die Chat-Kachel auf der Bento-Startseite (.wbck-*).
*/

/* marke-ausnahme: Bento-Ansicht wie im AIOS (Ralph 23.10.2026) — große Rundungen, hellgrauer Grund und große Kennzahlen sind dort festgelegt (gleiche Werte wie workspace-bento.css) */
#wbcOben, .wbc-filter { display: none; }

/* Pfad und Einklapp-Griff braucht der Chat hier nicht: die Kopf-Kachel sagt, wo man ist; zurück geht es über Logo/Home */
:root.ws-bento-chat #wbPfad, :root.ws-bento-chat .conv-toggle, :root.ws-bento-chat .conv-head, :root.ws-bento-chat .footer-bar { display: none !important; }

/* ── Raster: Kopfzeile über die ganze Breite, darunter Liste links und Chat rechts ── */
:root.ws-bento-chat .app-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  gap: 16px; background: transparent; border-radius: 0; overflow: visible; min-height: 0; }
:root.ws-bento-chat .app-shell > :not(#wbcOben):not(.app-main):not(#convSidebar) { display: none !important; }

/* ── Kopf: Kennzahl-Kacheln als Reihe über die volle Breite (der Seitenname steht als Pille in der Leiste oben) ── */
:root.ws-bento-chat #wbcOben { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.wbc-zahl { position: relative; border: 0; border-radius: var(--wb-r); padding: 18px 22px; box-sizing: border-box; min-width: 0; min-height: 112px;
  display: flex; flex-direction: column; text-align: left; cursor: pointer; background: var(--wb-karte); color: var(--wb-text); font-family: var(--marke-schrift);
  transition: box-shadow .25s, transform .25s; animation: wbRein .45s cubic-bezier(.2, .8, .2, 1) both; }
.wbc-zahl:hover { box-shadow: 0 10px 26px rgba(15, 23, 42, .10); transform: translateY(-3px); }
.wbc-zahl.an { box-shadow: 0 0 0 2px var(--wb-dunkel); }
.wbc-zahl:nth-child(2) { animation-delay: .04s; } .wbc-zahl:nth-child(3) { animation-delay: .08s; } .wbc-zahl:nth-child(4) { animation-delay: .12s; }
.wbc-zahl span { font-size: 12px; font-weight: 500; color: var(--wb-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbc-zahl b { margin-top: auto; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wbc-zahl small { font-size: 12px; color: var(--wb-leise); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Linke Karte: Suche + Filter + Liste in EINER Karte, gescrollt wird nur die Liste ── */
:root.ws-bento-chat .conv-sidebar, :root.ws-bento-chat .conv-sidebar.collapsed { display: flex !important; flex-direction: column; grid-column: 1; grid-row: 2;
  width: auto; max-width: none; flex: none; min-height: 0; padding: 16px 12px 12px; box-sizing: border-box; overflow: hidden;
  background: var(--wb-karte); border: 0; border-radius: var(--wb-r); font-family: var(--marke-schrift); animation: wbRein .45s cubic-bezier(.2, .8, .2, 1) both; }
:root.ws-bento-chat .wbc-filter { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 8px; flex: none; padding: 0 4px 10px; }
.wbc-pillen { grid-column: 1 / -1; }
/* ohne eigenes Suchfeld (Ralph 08.11.2026): im Karten-Modus Filter links, Plus rechts in einer Zeile */
:root.ws-bento-chat:not(.wb-menue-modus) .wbc-pillen { grid-column: 1; grid-row: 1; }
:root.ws-bento-chat:not(.wb-menue-modus) .wbc-plus { grid-column: 2; grid-row: 1; }
/* Rundes Plus = neue Unterhaltung, gleich hoch wie das Suchfeld */
.wbc-plus { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--wb-dunkel); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s; }
.wbc-plus:hover { transform: scale(1.06); }
.wbc-plus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.wbc-pillen { display: flex; flex-wrap: wrap; gap: 4px; }
.wbc-pillen button { border: 0; background: transparent; border-radius: var(--marke-r-pill); padding: 7px 12px; font: 600 12px var(--marke-schrift);
  color: var(--wb-leise); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.wbc-pillen button:hover { background: var(--marke-feld); color: var(--wb-text); }
.wbc-pillen button.an { background: var(--wb-dunkel); color: #fff; }
.wbc-pillen button i { font-style: normal; font-weight: 500; opacity: .7; margin-left: 4px; font-variant-numeric: tabular-nums; }
:root.ws-bento-chat .conv-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; margin: 0; padding: 0 2px; display: flex; flex-direction: column; gap: 2px; }
:root.ws-bento-chat .conv-item { padding: 9px 10px; border: 0; border-radius: var(--marke-r-l); font: 500 13px var(--marke-schrift); color: var(--wb-text);
  flex-wrap: wrap; row-gap: 2px; transition: background .15s, padding .2s; flex: none; }
:root.ws-bento-chat .conv-item:hover { background: var(--wb-weich); padding-left: 14px; }
:root.ws-bento-chat .conv-item.active { background: var(--wb-weich); color: var(--wb-text); font-weight: 600; }   /* Auswahl grau wie in den Bento-Menüs, nicht blau */
:root.ws-bento-chat .conv-item.wbc-weg { display: none; }
:root.ws-bento-chat .conv-item-name { order: 1; }
:root.ws-bento-chat .conv-item-menu { order: 2; }
.wbc-zeit { order: 3; flex: 0 0 100%; font-size: 12px; font-weight: 400; color: var(--wb-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.wbc-keine { padding: 10px; font-size: 12px; color: var(--wb-leise); }

/* ── Rechte Karte: der Chat ── */
:root.ws-bento-chat .app-main { grid-column: 2; grid-row: 2; min-height: 0; overflow: hidden; background: var(--wb-karte); border-radius: var(--wb-r);
  animation: wbRein .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: .06s; }
:root.ws-bento-chat .chat { min-height: 0; }
/* Eingabe wie die Chat-Kachel (Ralph 24.10.2026): grau gefüllt und rund, Senden als schwarzer Kreis — kein lila Kasten */
:root.ws-bento-chat .composer-box { background: var(--wb-weich) !important; border: 0; border-radius: var(--wb-r-k); box-shadow: none; }
:root.ws-bento-chat .composer-box:focus-within { border-color: transparent; box-shadow: 0 0 0 2px color-mix(in srgb, var(--wb-text) 30%, transparent); }
:root.ws-bento-chat .composer-box .send-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--wb-dunkel); color: #fff; filter: none; }
:root.ws-bento-chat .composer-box .send-btn:hover { background: color-mix(in srgb, var(--wb-dunkel) 84%, #fff); }
:root.ws-bento-chat .composer-box .attach-btn, :root.ws-bento-chat .composer-box .mic-btn { width: 36px; height: 36px; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) { .wbc-zahl, :root.ws-bento-chat .conv-sidebar, :root.ws-bento-chat .app-main { animation: none !important; } }

/* Mittlere Breite: Liste schmaler, Kennzahlen kompakter */
@media (max-width: 1200px) {
  :root.ws-bento-chat .app-shell { grid-template-columns: 260px minmax(0, 1fr); }
  .wbc-zahl { padding: 16px 18px; min-height: 96px; }
  .wbc-zahl b { font-size: 24px; }
}

/* Schmale Fenster und Handy: alles untereinander, Kennzahlen als kleine Reihe, Liste oben mit fester Höhe */
@media (max-width: 900px) {
  :root.ws-bento-chat .app-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 30%) minmax(0, 1fr); gap: 12px; margin: 0 12px 12px; }
  :root.ws-bento-chat #wbcOben { gap: 8px; }
  .wbc-zahl { min-height: 0; padding: 12px 14px; border-radius: var(--wb-r-k); }
  .wbc-zahl b { font-size: 20px; margin-top: 2px; }
  .wbc-zahl small { display: none; }
  :root.ws-bento-chat .conv-sidebar, :root.ws-bento-chat .conv-sidebar.collapsed { grid-column: 1; grid-row: 2; padding: 12px 8px 8px; }
  :root.ws-bento-chat .app-main { grid-column: 1; grid-row: 3; }
  .wbc-plus { width: 36px; height: 36px; }
}
@media (max-width: 520px) {
  .wbc-zahl span { font-size: 11px; }
  .wbc-pillen button { padding: 6px 10px; }
}

/* ── Chat-Kachel auf der Bento-Startseite (Ralph 27.10.2026, Logik: zweiter Teil von workspace-bento-chat.js) ──
   Antwort mit Logo in eigener Blase (weiß, dünner Rand, Ecke oben links am Logo — Chat-Festlegung 17.10.2026), eigene
   Nachricht zart blau rechts, Zeit dezent; Unterhaltungen als Pillen im Kopf; leerer Verlauf = Begrüßung mit Vorschlägen. */
.wbck-logo { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--wb-weich); display: grid; place-items: center; }
.wbck-logo img { width: 16px; height: 16px; object-fit: contain; display: block; }
:root[data-theme="dark"] .wbck-logo .hell, :root:not([data-theme="dark"]) .wbck-logo .dunkel { display: none; }

/* Kopf: Unterhaltungen als Pillen in einer Zeile, nie seitlich scrollen — zu lange Titel kürzen */
.wb-k .wbck-pillen { display: flex; gap: 4px; flex: none; min-width: 0; overflow: hidden; margin: -2px 0 10px; }
.wbck-pillen button { flex: 0 1 auto; min-width: 0; max-width: 60%; height: 28px; padding: 0 12px; border: 1px solid var(--wb-linie); border-radius: var(--marke-r-pill);
  background: transparent; color: var(--wb-leise); font: 600 12px var(--marke-schrift); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s, border-color .15s; }
.wbck-pillen button:hover { color: var(--wb-text); background: var(--wb-weich); }
.wbck-pillen button.an { background: var(--wb-auswahl); border-color: var(--wb-auswahl); color: #fff; }
/* Löschen-„×“ an der offenen Unterhaltung; der Titel kürzt sich davor mit „…“ */
.wbck-pillen button { display: inline-flex; align-items: center; gap: 4px; }
.wbck-pt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wbck-weg { flex: none; width: 16px; height: 16px; margin-right: -4px; display: grid; place-items: center; border-radius: 50%; opacity: .75; cursor: pointer; transition: background .15s, opacity .15s; }
.wbck-weg:hover, .wbck-weg:focus-visible { opacity: 1; background: rgba(255, 255, 255, .25); outline: none; }
.wbck-weg svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.wbck-pillen .wbck-neu { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px 0 8px; }
.wbck-pillen .wbck-neu svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Verlauf: neueste unten an der Eingabe, gescrollt wird nur hier */
.wb-k .wkc-verlauf.wbck { gap: 12px; padding: 4px 6px 2px; }
.wb-k .wkc-verlauf.wbck > :first-child { margin-top: auto; }
.wbck-m { display: flex; gap: 8px; align-items: flex-start; min-width: 0; flex: none; font-size: 14px; line-height: 1.5; color: var(--wb-text); }
.wbck-m.du { flex-direction: column; align-items: flex-end; align-self: flex-end; max-width: 82%; }
.wbck-blase { background: color-mix(in srgb, var(--marke-nav-blau) 12%, var(--wb-karte)); border-radius: 16px 16px 4px 16px; padding: 8px 14px; overflow-wrap: anywhere; }
.wbck-m.ki { align-self: stretch; max-width: 94%; }
.wbck-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wbck-md { background: var(--wb-karte); border: 1px solid var(--wb-linie); border-radius: 4px 16px 16px 16px; padding: 8px 14px; overflow-wrap: anywhere; }
.wbck-md p { margin: 0 0 6px; } .wbck-md p:last-child { margin-bottom: 0; }
.wbck-md ul, .wbck-md ol { margin: 2px 0 6px; padding-left: 20px; } .wbck-md li { margin: 2px 0; } .wbck-md > :last-child { margin-bottom: 0; }
.wbck-md b { font-weight: 650; }
.wbck-md code { font-size: 12px; background: var(--wb-weich); border-radius: 6px; padding: 0 4px; }
.wbck-md a { color: var(--wb-akzent); }
.wbck-m time { font-size: 11px; color: var(--wb-leise); padding: 0 4px; font-variant-numeric: tabular-nums; }
.wbck-m.tippt .wbck-text { flex-direction: row; align-items: center; gap: 8px; min-height: 26px; color: var(--wb-leise); font-size: 13px; }
.wbck-m.tippt .a4h-spin { color: var(--marke-ladekreis); flex: none; }

/* Begrüßung + Vorschläge (leerer oder kurzer Verlauf) */
.wbck-gruss { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 4px 4px; margin-bottom: auto; }
.wbck-gruss.leer { margin: auto 0; }
.wbck-gruss .wbck-logo { width: 44px; height: 44px; margin-bottom: 4px; }
.wbck-gruss .wbck-logo img { width: 26px; height: 26px; }
.wbck-gruss b { font-size: 15px; font-weight: 700; color: var(--wb-text); }
.wbck-gruss > span { font-size: 13px; color: var(--wb-leise); max-width: 36ch; }
.wbck-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; max-width: 100%; }
.wbck-chips button { max-width: 100%; padding: 7px 12px; border: 1px solid var(--wb-linie); border-radius: var(--marke-r-pill); background: var(--wb-karte); color: var(--wb-text);
  font: 500 13px var(--marke-schrift); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, border-color .15s; }
.wbck-chips button:hover { background: var(--wb-weich); border-color: transparent; }
.wbck-chips.weiter { justify-content: flex-start; margin: 0 0 0 34px; flex-wrap: nowrap; overflow: hidden; flex: none; }
.wbck-chips.weiter button { flex: 0 1 auto; min-width: 0; font-size: 12px; padding: 5px 10px; color: var(--wb-leise); }
.wbck-chips.weiter button:hover { color: var(--wb-text); }

/* Klein: nur die letzte Antwort (zwei Zeilen) mit Logo über der Eingabe */
.wb-k .wkc-letzte.wbck { justify-content: center; }
.wkc-letzte.wbck .wbck-m { font-size: 13px; line-height: 1.4; align-items: center; max-width: 100%; }
.wkc-letzte.wbck .wbck-md { background: none; border: 0; padding: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wkc-letzte.wbck .wbck-md :is(p, ul, ol, li) { display: inline; margin: 0; padding: 0; }
.wkc-letzte.wbck .wbck-md li + li::before { content: ' · '; }
.wbck-leise { font-size: 13px; color: var(--wb-leise); }
/* Farbige Kacheln: Blasen nehmen die Kachel-Töne */
/* auch frei gefärbte Kacheln (eigene Farbe/Pinsel, Ralph 27.10.2026: Antwort blieb weiß auf weiß) */
:is(.wb-k:is(.blau, .dunkel, .kraeftig, .zart, .frei, [data-flaeche]), :root[data-g-flaeche] .wb-k:not(.plus)) .wbck-md { background: var(--wb-weich); border-color: transparent; }
:is(.wb-k:is(.blau, .dunkel, .kraeftig, .zart, .frei, [data-flaeche]), :root[data-g-flaeche] .wb-k:not(.plus)) :is(.wbck-blase, .wbck-chips button, .wbck-pillen button:not(.an)) { background: var(--wb-weich); color: var(--wb-text); border-color: transparent; }
/* Kurzer Verlauf in knapper Kachel: Begrüßung schrumpft auf Überschrift + Vorschläge (das Logo steht schon an der Antwort) */
.wbck-gruss.kompakt { padding-top: 0; gap: 0; }
.wbck-gruss.kompakt > .wbck-logo, .wbck-gruss.kompakt > span { display: none; }
.wbck-gruss.kompakt .wbck-chips { margin-top: 8px; }

/* Ablauf: Schritte, an denen der Agent gerade arbeitet (Ralph 02.11.2026, Vorbild Mistral Vibe) */
.wbck-m.tippt.mit-ablauf .wbck-text { flex-direction: column; align-items: stretch; gap: 0; }
.wbck-schritte { list-style: none; margin: 0; padding: 4px 0 2px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.4; }
.wbck-schritte li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; color: var(--wb-leise); }
.wbck-schritte li > i { flex: none; width: 16px; height: 18px; display: grid; place-items: center; font-style: normal; }
.wbck-schritte li > span { min-width: 0; overflow-wrap: anywhere; }
.wbck-schritte li.fertig > i svg { width: 12px; height: 12px; fill: none; stroke: var(--wb-akzent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wbck-schritte li.aktiv { color: var(--wb-text); font-weight: 500; }
.wbck-schritte li.aktiv .a4h-spin { color: var(--marke-ladekreis); }
/* laufender Schritt: ein heller Schimmer wandert über den Text */
.wbck-schritte li.aktiv > span {
  background: linear-gradient(90deg, var(--wb-text) 0%, var(--wb-text) 40%, var(--wb-leise) 50%, var(--wb-text) 60%, var(--wb-text) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wbck-schimmer 1.8s linear infinite;
}
.wbck-schritte li.neu { animation: wbck-rein .35s ease-out both; }
.wbck-schritte li.fertig.neu > i svg path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: wbck-haken .35s ease-out .1s forwards; }
@keyframes wbck-schimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes wbck-rein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes wbck-haken { to { stroke-dashoffset: 0; } }

/* nach der Antwort: „So bin ich vorgegangen“ zum Aufklappen */
.wbck-ablauf { margin: 0 0 4px; font-size: 12px; color: var(--wb-leise); }
.wbck-ablauf > summary { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: var(--marke-r-pill); cursor: pointer; list-style: none; user-select: none; transition: background .15s, color .15s; }
.wbck-ablauf > summary::-webkit-details-marker { display: none; }
.wbck-ablauf > summary::before { content: ''; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.wbck-ablauf[open] > summary::before { transform: rotate(45deg); }
.wbck-ablauf > summary:hover { background: var(--wb-weich); color: var(--wb-text); }
.wbck-ablauf .wbck-schritte { padding: 4px 0 4px 8px; font-size: 12px; }

/* frische Antwort baut sich Wort für Wort auf (einblenden() in workspace-bento-chat.js) */
.a4h-wort { opacity: 0; animation: a4h-wort .35s ease-out forwards; }
@keyframes a4h-wort { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  .wbck-schritte li.neu, .a4h-wort { animation: none; opacity: 1; }
  .wbck-schritte li.aktiv > span { animation: none; background: none; color: var(--wb-text); }
  .wbck-schritte li.fertig.neu > i svg path { animation: none; stroke-dashoffset: 0; }
}
/* Agents4Hire live während der Arbeit: EINE Zeile, die mit jedem Schritt weich wechselt und schimmert
   (Chat-Kachel .wbck-live, großer Chat .mit-live .typing-status) – die Liste gibt es erst danach in der Klappe */
:is(.wbck-live, .msg-bubble.mit-live .typing-status) {
  background: linear-gradient(90deg, var(--wb-leise) 0%, var(--wb-leise) 40%, var(--wb-text) 50%, var(--wb-leise) 60%, var(--wb-leise) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wbck-schimmer 1.8s linear infinite;
}
:is(.wbck-live, .msg-bubble.mit-live .typing-status).neu { animation: wbck-rein .35s ease-out, wbck-schimmer 1.8s linear .35s infinite; }
.msg-bubble > .wbck-ablauf { margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) {
  :is(.wbck-live, .msg-bubble.mit-live .typing-status), :is(.wbck-live, .msg-bubble.mit-live .typing-status).neu { animation: none; background: none; color: var(--wb-leise); }
}
/* Neues Menü (Beta, Ralph 02.11.2026 „Listen statt Bento“): keine vier Zahl-Kacheln oben (die Filter Alle/Heute/Woche stehen
   schon über der Liste), Unterhaltungen links mit Trennlinie, Chat rechts – wie Notizen/Nachrichten */
:root.wb-menue-modus.ws-bento-chat #wbcOben { display: none !important; }
:root.wb-menue-modus.ws-bento-chat .app-shell { grid-template-rows: 0 minmax(0, 1fr); row-gap: 0; column-gap: 0; }   /* Zeile 1 (Zahlen) bleibt leer */
:root.wb-menue-modus.ws-bento-chat #convSidebar { border-radius: 0; box-shadow: none; background: transparent; border-right: 1px solid var(--wb-linie, color-mix(in srgb, var(--wb-text) 10%, transparent)); padding-right: 16px; margin-right: 16px; }
/* Einheitsform der großen Karte (Ralph 02.11.2026): Liste 340 px breit, Suche + „+ Neuer Chat“ wie bei Notizen/Kontakte, kleine Filter-Pillen */
:root.wb-menue-modus.ws-bento-chat .app-shell { grid-template-columns: var(--wbm-liste, 340px) minmax(0, 1fr); }
:root.wb-menue-modus.ws-bento-chat #convSidebar { padding-left: 0; padding-top: 0; }
:root.wb-menue-modus.ws-bento-chat .wbc-filter { gap: 8px; }
:root.wb-menue-modus.ws-bento-chat #wbcNeu.wbc-plus { width: auto; height: 34px; padding: 0 14px 0 10px; gap: 6px; border-radius: var(--marke-r-pill); font: 600 13px var(--marke-schrift); white-space: nowrap; }
:root.wb-menue-modus.ws-bento-chat #wbcNeu.wbc-plus::after { content: "Neuer Chat"; }
:root.wb-menue-modus.ws-bento-chat #wbcNeu.wbc-plus svg { width: 16px; height: 16px; }
:root.wb-menue-modus.ws-bento-chat .wbc-pillen button { padding: 6px 12px; font-size: 12px; }
:root.wb-menue-modus.ws-bento-chat .wbc-pillen button.an { background: linear-gradient(135deg, var(--wbm-f, var(--wb-dunkel)) 30%, color-mix(in srgb, var(--wbm-f, var(--wb-dunkel)) 66%, var(--wb-verlauf-ziel, #fff))); color: #fff; }
/* Schmale Liste ohne eigene Suche (Ralph 02.11.2026): „+ Neuer Chat“ so breit wie sein Text, Filter in einer Zeile (ohne Zähler) */
:root.wb-menue-modus.ws-bento-chat #wbcNeu.wbc-plus { justify-self: start; }
:root.wb-menue-modus.ws-bento-chat .wbc-pillen { flex-wrap: nowrap; gap: 2px; }
:root.wb-menue-modus.ws-bento-chat .wbc-pillen button { padding: 6px 10px; white-space: nowrap; }
:root.wb-menue-modus.ws-bento-chat .wbc-pillen button i { display: none; }
/* Kein Datumsfilter (Alle/Heute/Diese Woche/Älter) im neuen Menü (Ralph 03.11.2026) – die Liste zeigt immer alle Unterhaltungen */
:root.wb-menue-modus.ws-bento-chat .wbc-pillen { display: none; }
/* Papierkorb je Unterhaltung (Ralph 03.11.2026, erst im neuen Menü/Beta): erscheint beim Überfahren und an der offenen Unterhaltung, rot beim Zeigen */
.conv-item-loeschen { display: none; }
:root.wb-menue-modus.ws-bento-chat .conv-item-loeschen { order: 2; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: -4px 0 -4px auto;
  padding: 0; border: 0; border-radius: var(--marke-r-s); background: transparent; color: var(--wb-leise); cursor: pointer; opacity: 0; transition: opacity .13s, background .13s, color .13s; }
:root.wb-menue-modus.ws-bento-chat .conv-item:hover .conv-item-loeschen, :root.wb-menue-modus.ws-bento-chat .conv-item.active .conv-item-loeschen, :root.wb-menue-modus.ws-bento-chat .conv-item-loeschen:focus-visible { opacity: 1; }
:root.wb-menue-modus.ws-bento-chat .conv-item-loeschen:hover { color: var(--marke-gefahr); background: color-mix(in srgb, var(--marke-gefahr) 10%, transparent); }
:root.wb-menue-modus.ws-bento-chat .conv-item-menu { order: 3; }
