/* BRYZE Ads: Stile der einzelnen Seiten. Bausteine und Hülle stehen in app.css, Tokens in tokens.css. */

.stapel--gross { gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seite { display: block; }

/* ---------------------------------------------------------------- Heute */
.ampelkarte { display: grid; gap: 10px; padding: 18px 16px; }
.ampelkarte__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ampelkarte__grund { font-size: 1.125rem; line-height: 1.4; font-weight: 400; }
.ampelkarte__brief { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--linie); }
.tagesbrief { display: grid; gap: 10px; background: var(--flaeche-warm); border-radius: var(--radius-klein); border: 0; padding: 14px; box-shadow: none; }
.tagesbrief h2 { font-size: 1.05rem; margin: 0; }
.tagesbrief__liste { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: .9375rem; line-height: 1.5; }
.tagesbrief__liste li::marker { color: var(--leise); }
.tagesbrief .chip--evidenz { vertical-align: 1px; }
.tagesbrief .knopf { justify-self: start; }

.drei-zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.kachel--cpa { grid-column: 1 / -1; display: grid; gap: 8px; padding: 16px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.kachel--cpa .kachel__wert { font-size: clamp(2rem, 9vw, 2.75rem); }
.zahlen-feld { min-height: 190px; }
.vergleich-satz { margin-top: 4px; }

.kompaktkarte { display: grid; gap: 10px; }
.kompaktkarte--aktiv { border-color: var(--text); box-shadow: 0 0 0 2px var(--text), var(--schatten); }
.kompaktkarte__titel { font-size: 1.1rem; line-height: 1.25; }
/* Tippfläche mindestens 44 Pixel hoch (Prüfbefund F52): Rand innen, gleicher Rand außen abgezogen, so verschiebt sich nichts. */
.kompaktkarte__titel a { display: block; width: fit-content; max-width: 100%; padding-block: 12px; margin-block: -12px; text-decoration: none; }
.kompaktkarte__titel a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--akzent-tief); }
.kompaktkarte__satz { font-size: .9375rem; line-height: 1.5; color: var(--text); }
/* P1: Auf Heute reichen zwei Zeilen; den ganzen Text zeigt die Karte selbst. So liegt der Ja-Knopf der ersten Karte im ersten Bildschirm am Handy. */
.kompaktkarte__satz--kurz { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.entscheidung { display: grid; gap: 8px; }
.entscheidung__knoepfe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.entscheidung__knoepfe .knopf { padding: 0 10px; }
.entscheidung__ergebnis { padding: 10px 12px; background: var(--gruen-flaeche); border: 1px solid var(--gruen); border-radius: var(--radius-klein); font-size: .9375rem; }
.heute-links { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 720px) {
  .drei-zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kachel--cpa { grid-column: auto; }
  .kachel--cpa .kachel__wert { font-size: clamp(1.6rem, 3vw, 2.1rem); }
  .ampelkarte { padding: 22px 24px; }
}
@media (min-width: 960px) {
  .heute-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
}

/* ---------------------------------------------------------------- Gemeinsame Seitenbausteine */
.nur-schmal { display: block; }
.nur-breit { display: none; }
.filterreihe { display: flex; flex-wrap: wrap; gap: 8px; }
.filterreihe--felder > * { flex: 1 1 9rem; min-width: 0; }
.filterreihe--felder .schalter { flex: 0 0 auto; padding: 0 4px; }
.filterreihe[role="group"] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); }
.filterreihe[role="group"]::-webkit-scrollbar { display: none; }
.filterknopf { appearance: none; flex: none; min-height: var(--tipp); padding: 0 16px; border: 1.5px solid var(--text); border-radius: 999px; background: var(--flaeche); color: var(--text); font: 600 .9375rem/1 var(--schrift-text); cursor: pointer; }
.filterknopf[aria-pressed="true"] { background: var(--text); color: var(--auf-pflaume); }
.raster-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 14px 16px; }
.feld--inline { display: flex; align-items: center; gap: 8px; }
.feld--inline select { min-width: 9rem; }
.feldgruppe { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.feldgruppe legend { padding: 0; font-weight: 600; margin-bottom: 6px; }
.hinweise-liste { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.linkliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mehr > summary { display: flex; align-items: center; min-height: var(--tipp); cursor: pointer; font-weight: 600; list-style: none; }
.mehr > summary::-webkit-details-marker { display: none; }
.mehr > summary::before { content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border: 1.5px solid var(--text); border-radius: 50%; font-weight: 600; flex: none; }
.mehr[open] > summary::before { content: "x"; }
.mehr > :not(summary) { margin-top: 4px; }
.schritte { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; }
.belegliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.belegliste li { padding: 10px 12px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-klein); font-size: .9375rem; line-height: 1.5; }
.tabelle-klein { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tabelle-klein th, .tabelle-klein td { padding: 9px 8px; text-align: right; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle-klein th[scope="row"], .tabelle-klein th:first-child { text-align: left; font-weight: 600; white-space: normal; }
.tabelle-klein thead th { font-size: .8125rem; color: var(--leise); }
.tabelle__fokus { background: var(--flaeche-warm); font-weight: 600; }
.verlauf, .kommentarliste, .logliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.verlauf__zeile, .logzeile { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--akzent-tief); font-size: .9375rem; }
.kommentar { padding: 10px 12px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-klein); display: grid; gap: 2px; }
.treffer { background: var(--rot-flaeche); color: var(--text); border-bottom: 2px solid var(--rot); padding: 0 2px; border-radius: 3px; }
.markiert { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; background: var(--flaeche-warm); border-radius: var(--radius-klein); line-height: 1.6; }
.regelcheck__liste { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9375rem; }
.vorschau { display: grid; gap: 8px; padding: 14px; background: var(--flaeche); border: 1px solid var(--linie-stark); border-radius: var(--radius); }
.vorschau__text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.vorschau__kopf { font-weight: 600; }
.vorschau__beschreibung { color: var(--leise); font-size: .9375rem; }
.eingabe-einheit { display: flex; align-items: center; gap: 8px; }
.eingabe-einheit input { flex: 1 1 auto; min-width: 0; }
.eingabe-einheit__einheit { color: var(--leise); font-size: .9375rem; min-width: 2.5rem; }
.formfuss { position: sticky; bottom: calc(var(--unterleiste-hoehe) + env(safe-area-inset-bottom, 0px)); z-index: 5; padding: 12px 0; background: linear-gradient(to top, var(--seite) 70%, transparent); }
.vorschau-label { min-width: 11rem; font-size: .9375rem; }
.umschalter--breit { display: flex; width: 100%; }
.umschalter--breit .umschalter__knopf { flex: 1; min-height: 48px; padding: 6px 10px; line-height: 1.2; }

/* ---------------------------------------------------------------- Zwei Spalten (Karten, Konto) */
.zweispalt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.zweispalt > * { min-width: 0; }
.zweispalt__detail { display: none; }
.zweispalt--detail .zweispalt__detail { display: block; }
.zweispalt--detail .zweispalt__liste { display: none; }
.listenkarten { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.listenkarte { display: grid; gap: 8px; padding: 14px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); color: var(--text); text-decoration: none; }
.listenkarte:hover { border-color: var(--linie-stark); }
.listenkarte--aktiv { border-color: var(--text); box-shadow: 0 0 0 2px var(--text), var(--schatten); }
.listenkarte__titel { font: 800 1.05rem/1.25 var(--schrift-kopf); }
.listenkarte__satz { font-size: .9rem; line-height: 1.45; color: var(--leise); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kartendetail__titel, .zeilendetail__titel { font-size: clamp(1.35rem, 4.6vw, 1.75rem); overflow-wrap: anywhere; }
.kartendetail__empfehlung { font-size: 1.125rem; line-height: 1.5; }
.zeilendetail__grund { font-size: 1.0625rem; line-height: 1.45; }
.kartendetail .datenliste { padding: 14px; }

/* ---------------------------------------------------------------- Konto */
.konto-steuerung { margin-bottom: 16px; }
.summe { display: grid; gap: 10px; }
.summe__titel { font-size: 1.05rem; }
.summe__zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 12px; }
.summe__zahlen p { display: grid; gap: 2px; font-size: 1.15rem; }
.summe__label { font: 600 .8125rem/1.3 var(--schrift-text); color: var(--leise); }
.zeilenkarten { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.zeilenkarte { display: grid; gap: 10px; color: var(--text); text-decoration: none; }
.zeilenkarte--aktiv { border-color: var(--text); box-shadow: 0 0 0 2px var(--text), var(--schatten); }
.zeilenkarte__name { font: 800 1.05rem/1.25 var(--schrift-kopf); overflow-wrap: anywhere; }
.zeilenkarte__zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.zeilenkarte__zahlen dt { font-size: .75rem; color: var(--leise); font-weight: 600; }
.zeilenkarte__zahlen dd { margin: 0; font-size: 1.05rem; }
.zeilenkarte__unsicher { margin-top: -4px; }
.trendmarke { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--grau); border-radius: 999px; font: 600 .8125rem/1.4 var(--schrift-text); background: var(--grau-flaeche); width: fit-content; }
.trendmarke--besser { border-color: var(--gruen); background: var(--gruen-flaeche); }
.trendmarke--schlechter { border-color: var(--rot); background: var(--rot-flaeche); }
.trendmarke__pfeil { font-family: var(--schrift-zahl); }
.trend-paar { display: grid; gap: 16px; }
.tabelle-huelle { display: none; overflow-x: auto; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tabelle th, .tabelle td { padding: 10px 12px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: middle; }
.tabelle thead th { font-size: .8125rem; color: var(--leise); font-weight: 600; background: var(--flaeche-warm); position: sticky; top: 0; }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle__zeile { cursor: pointer; }
.tabelle__zeile:hover { background: var(--flaeche-warm); }
.tabelle__zeile--aktiv { background: var(--akzent); }
.tabelle__zeile--aktiv:hover { background: var(--akzent); }
.tabelle__name { display: grid; gap: 2px; min-width: 12rem; }
.tabelle__name a { font-weight: 600; overflow-wrap: anywhere; }
.zahl-spalte { text-align: right !important; white-space: nowrap; }
.sortierknopf { appearance: none; border: 0; background: transparent; padding: 10px 8px; min-height: var(--tipp); min-width: var(--tipp); font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--akzent-tief); text-underline-offset: 3px; }
.tabelle-huelle--klein { display: block; }

/* ---------------------------------------------------------------- Abgleich */
.abgleich-steuerung { margin-bottom: 16px; }
.abgleich-zahlen { display: grid; gap: 16px; }
.abgleich-zahl { display: grid; gap: 4px; align-content: start; padding: 14px; border: 1px solid var(--linie); border-radius: var(--radius-klein); background: var(--flaeche-warm); }
.abgleich-zahl--echt { background: var(--akzent); border-color: var(--akzent-tief); }
.abgleich-zahl__wert { font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.1; }
.funnel-leck-satz { font-size: 1.0625rem; }

/* ---------------------------------------------------------------- Fragen */
.chat { display: grid; gap: 16px; }
.chat__verlauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.chat__nachricht { display: flex; }
.chat__nachricht--nutzer { justify-content: flex-end; }
.chat__blase { max-width: min(100%, 42rem); padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--text); color: var(--auf-pflaume); overflow-wrap: anywhere; line-height: 1.5; }
.chat__blase--agent { background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); border-radius: 18px 18px 18px 4px; box-shadow: var(--schatten); display: grid; gap: 12px; width: 100%; }
.chat__text p { white-space: pre-wrap; }
.chat__unsicher { padding: 10px 12px; background: var(--gelb-flaeche); border-radius: var(--radius-klein); font-size: .9375rem; }
.chat__beleg-titel { font-size: .9375rem; margin-bottom: 6px; }
.chat__fuss { justify-content: space-between; }
.chat__denkt { color: var(--leise); animation: pulsieren 1.4s ease-in-out infinite; }
@keyframes pulsieren { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.chat__leer { display: grid; gap: 12px; }
.chat__leer-text { font: 800 1.2rem/1.2 var(--schrift-kopf); }
.chat__beispiele, .beispielliste { display: grid; gap: 8px; }
.beispielknopf { appearance: none; text-align: left; min-height: var(--tipp); padding: 10px 14px; border: 1.5px solid var(--linie-stark); border-radius: var(--radius-klein); background: var(--flaeche); color: var(--text); font: 600 1rem/1.35 var(--schrift-text); cursor: pointer; }
.beispielknopf:hover { border-color: var(--text); background: var(--flaeche-warm); }
.beispielliste { list-style: none; margin: 0; padding: 0; }
.beispielliste li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--flaeche-warm); border-radius: var(--radius-klein); }
.chat__form { position: sticky; bottom: calc(var(--unterleiste-hoehe) + env(safe-area-inset-bottom, 0px)); z-index: 5; display: grid; gap: 10px; padding: 12px; margin-inline: -4px; background: var(--seite); border-top: 1px solid var(--linie); border-radius: var(--radius) var(--radius) 0 0; }
.chat__form textarea { min-height: 64px; }
.chat__senden { min-width: 8rem; }
.chat__modushinweis { max-width: 16rem; }

/* ---------------------------------------------------------------- Kreativ */
.hookliste, .entwurfliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hookkarte__hook { font-size: 1.1rem; line-height: 1.3; }
.hookkarte__zeile { color: var(--leise); }
.hookkarte__fuss { padding-top: 4px; }
.testspalten { display: grid; gap: 24px; }
.testspalte { display: grid; gap: 10px; align-content: start; }
.testspalte__titel { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.hypokarte { appearance: none; width: 100%; display: grid; gap: 8px; text-align: left; color: var(--text); cursor: pointer; font: inherit; }
.hypokarte:hover { border-color: var(--linie-stark); }
.hypokarte__titel { font: 800 1.05rem/1.25 var(--schrift-kopf); }
.hypokarte__satz { font-size: .9rem; color: var(--leise); }
.hypokarte__lernen { font-size: .9rem; padding: 8px 10px; background: var(--akzent); border-radius: 10px; }
.ergebnisauswahl { display: grid; gap: 4px; }

/* ---------------------------------------------------------------- Verbindungen, Nutzer */
.verbindungsraster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.anleitung__koerper { padding: 12px 14px; background: var(--flaeche-warm); border-radius: var(--radius-klein); display: grid; gap: 14px; }
.anleitung__abschnitt { margin: 0; font-size: 1rem; }
.anleitung__ziel { padding: 10px 12px; background: var(--flaeche); border-radius: var(--radius-klein); }
/* Eine Spalte, die nicht breiter als der Behälter wird, und Wörter ohne Lücke (lange Dateinamen) brechen um: sonst weitet ein Name die ganze Seite (Prüfbefund F50). */
.importergebnis, .laufliste, .laufschritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.laufschritte { gap: 2px; padding-left: 1em; list-style: disc; }
.importzeile, .laufzeile { min-width: 0; overflow-wrap: anywhere; padding: 10px 12px; background: var(--flaeche-warm); border-radius: var(--radius-klein); display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.nutzerliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nutzerkarte h3 { font-size: 1.15rem; }
.rollenfeld { min-height: var(--tipp); display: flex; align-items: center; }
#linkFeld { font-size: .875rem; }

/* ---------------------------------------------------------------- Wochenreport */
.berichtsliste { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; line-height: 1.5; }
.berichtsabschnitt { display: grid; gap: 10px; }
.nur-druck { display: none; }

/* ---------------------------------------------------------------- Kopfzeile: Tippfläche des Logo-Links */
/* Der Logo-Link ist 21,6 Pixel hoch (Prüfbefund F52). Rand innen und gleicher Rand außen abgezogen: 44 Pixel Tippfläche, das Bild bleibt gleich. */
.kopf .marke { padding-block: 12px; margin-block: -12px; }

/* ---------------------------------------------------------------- Größere Fenster */
@media (min-width: 720px) {
  .tabelle-huelle { display: block; }
  .zeilenkarten:not(.zeilenkarten--einfach) { display: none; }
  .zeilenkarten--einfach { display: none; }
  .abgleich-zahlen { grid-template-columns: 1fr 1fr; }
  .trend-paar { grid-template-columns: 1fr 1fr; }
  .testspalten { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .chat__beispiele { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .chat__form { bottom: 0; }
  .formfuss { bottom: 0; }
}
@media (min-width: 1180px) {
  .nur-schmal { display: none; }
  .nur-breit { display: block; }
  .karten-raster { grid-template-columns: minmax(340px, 400px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .karten-raster .zweispalt__liste, .karten-raster.zweispalt--detail .zweispalt__liste { display: grid; align-content: start; }
  .karten-raster .zweispalt__detail { display: block; position: sticky; top: 84px; max-height: calc(100vh - 108px); overflow-y: auto; padding-right: 6px; }
  .karten-raster .filterreihe[role="group"] { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
  .konto-raster.zweispalt--detail { grid-template-columns: minmax(0, 1fr) minmax(400px, 470px); gap: 24px; align-items: start; }
  .konto-raster.zweispalt--detail .zweispalt__liste { display: grid; align-content: start; }
  .konto-raster .zweispalt__detail { position: sticky; top: 84px; max-height: calc(100vh - 108px); overflow-y: auto; padding-right: 6px; }
  /* P1 (R2 Wunsch 6): Ist das Detail offen, bleibt die Tabelle links stehen (nur Ampel, Name und Kosten je Kauf), statt durch eine Kartenliste ersetzt zu werden. */
  .konto-raster--kompakt .tabelle-huelle { display: block; }
  .konto-raster--kompakt .zeilenkarten:not(.zeilenkarten--einfach) { display: none; }
  .konto-raster--kompakt .tabelle .spalte-optional, .konto-raster--kompakt .tabelle th:nth-child(3), .konto-raster--kompakt .tabelle td:nth-child(3), .konto-raster--kompakt .tabelle th:nth-child(4), .konto-raster--kompakt .tabelle td:nth-child(4) { display: none; }
  .chat__form { margin-inline: 0; }
}

/* ---------------------------------------------------------------- Druck */
@media print {
  body { background: #fff; }
  .kopf, .leiste, .unterleiste, .banner-stapel, .nicht-drucken, .toast-ort, .sprung, .zurueck { display: none !important; }
  .huelle { display: block; padding: 0; }
  .inhalt { max-width: none; padding: 0; }
  .nur-druck { display: block; font-weight: 600; margin-bottom: 12px; }
  .karte { box-shadow: none; break-inside: avoid; border-color: #999; }
  .seitenkopf__unter { display: none; }
}

.gruppe__titel { font: 800 1.2rem/1.2 var(--schrift-kopf); }
.gruppe[open] > .stapel { margin-top: 8px; }
.abgleich-zahl > .chip { justify-self: start; }
input[type="file"] { width: 100%; padding: 6px; min-height: var(--tipp); border: 1.5px dashed var(--linie-stark); border-radius: var(--radius-klein); background: var(--flaeche); font: 400 .9375rem/1.3 var(--schrift-text); color: var(--text); }
input[type="file"]::file-selector-button { min-height: 36px; margin-right: 12px; padding: 0 14px; border: 1.5px solid var(--text); border-radius: 10px; background: var(--flaeche); color: var(--text); font: 600 .9375rem/1 var(--schrift-text); cursor: pointer; }
.filterreihe--felder > input[type="search"] { flex: 1 1 100%; }
@media (min-width: 720px) { .filterreihe--felder > input[type="search"] { flex: 1 1 14rem; } }

.chat__hinweise { margin: 0; padding: 8px 12px 8px 28px; background: var(--flaeche-warm); border-radius: var(--radius-klein); color: var(--leise); }
.kostenzeilen { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kostenzeile { display: grid; gap: 2px; padding: 10px 12px; background: var(--flaeche-warm); border-radius: var(--radius-klein); }
.analyse-platz:not(:empty) { margin-top: 14px; }
.agentenanalyse { background: var(--flaeche); border-color: var(--linie); }

@media (max-width: 1179px) { .konto--detail .konto-steuerung, .konto--detail .seitenkopf__unter { display: none; } }
@media (max-width: 520px) {
  .tabelle-klein { font-size: .875rem; }
  .tabelle-klein th, .tabelle-klein td { padding: 8px 5px; }
  .tabelle-klein td { font-size: .8125rem; }
  .tabelle-klein th:first-child { width: 30%; }
}

/* Rundgang R2: Konto, Hinweise und Filter einklappbar, Tabelle ohne abgeschnittene Spalte */
.hinweise-zu, .filter-mehr { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-klein); padding: 0 12px; }
.hinweise-zu[open] > summary, .filter-mehr[open] > summary { margin-bottom: 4px; }
.hinweise-zu > .stapel, .filter-mehr > .filterreihe { padding-bottom: 12px; }
.tabelle thead .chip { font-size: .75rem; padding: 1px 6px; letter-spacing: 0; }
.tabelle th, .tabelle td { padding: 10px 10px; }
.tabelle__name { min-width: 14rem; }
@media (min-width: 720px) { .filter-mehr { background: transparent; border: 0; padding: 0; } .filter-mehr > summary { display: none; } }

/* Rundgang R2: Eingabestreifen im Chat kompakt halten */
.chat__form { gap: 8px; padding: 10px 12px; }
.chat__form textarea { min-height: 52px; }
.chat__info { padding: 8px 4px 0; }
@media (hover: none) { .nur-tastatur { display: none; } }
.neu-seit { margin: -12px 0 -4px; padding-left: 4px; color: var(--text); font-weight: 600; }

.annahme-leiste { margin: 0; color: var(--text-leise, inherit); }
.annahme-leiste a { text-decoration: underline; text-underline-offset: 3px; }
.zahlen-hinweise:empty { display: none; }
