/* JaKI – Oberfläche. Dunkel zuerst (Vorbild Linear/Profound), hell nach Systemeinstellung. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/schrift/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/schrift/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #08090a;
  --flaeche: #0f1011;
  --erhoben: #141516;
  --erhoben-2: #1a1b1d;
  --hover: rgba(255, 255, 255, 0.04);
  --aktiv: rgba(255, 255, 255, 0.07);
  --rand: rgba(255, 255, 255, 0.07);
  --rand-2: rgba(255, 255, 255, 0.12);
  --text: #f7f8f8;
  --text-2: #c9ccd1;
  --text-3: #8a8f98;
  --text-4: #5d6168;
  --akzent: #7c84ff;
  --akzent-weich: rgba(124, 132, 255, 0.14);
  --plus: #4cb782;
  --plus-weich: rgba(76, 183, 130, 0.12);
  --warn: #f2c94c;
  --fehler: #eb5757;
  --knopf: #f7f8f8;
  --knopf-text: #08090a;
  --schatten: 0 0 0 1px var(--rand), 0 8px 24px rgba(0, 0, 0, 0.35);
  --leuchten: rgba(80, 130, 255, 0.35);
  --radius: 10px;
  --radius-gross: 14px;
  --seite: 248px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #fbfbfc;
    --flaeche: #ffffff;
    --erhoben: #f4f5f7;
    --erhoben-2: #eceef1;
    --hover: rgba(0, 0, 0, 0.035);
    --aktiv: rgba(0, 0, 0, 0.06);
    --rand: rgba(0, 0, 0, 0.08);
    --rand-2: rgba(0, 0, 0, 0.14);
    --text: #0e0f11;
    --text-2: #3c4149;
    --text-3: #6b6f76;
    --text-4: #9a9ea6;
    --akzent: #5e6ad2;
    --akzent-weich: rgba(94, 106, 210, 0.1);
    --plus: #1f9d62;
    --plus-weich: rgba(31, 157, 98, 0.1);
    --knopf: #0e0f11;
    --knopf-text: #ffffff;
    --schatten: 0 0 0 1px var(--rand), 0 8px 24px rgba(0, 0, 0, 0.06);
    --leuchten: rgba(94, 106, 210, 0.25);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body, #wurzel { height: 100%; }
h1, h2, h3, p { text-wrap: balance; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: 6px; }
.zahl { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-4); }
.leise { color: var(--text-3); }
.sehr-leise { color: var(--text-4); }
.plus { color: var(--plus); }
svg.ic { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 8px;
  background: var(--knopf); color: var(--knopf-text); font-weight: 500; font-size: 13.5px;
  transition: opacity .15s, transform .05s;
}
.knopf:hover { opacity: 0.9; }
.knopf:active { transform: translateY(0.5px); }
.knopf:disabled { opacity: 0.45; cursor: default; }
.knopf.gross { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; width: 100%; }
.knopf.zweit { background: var(--erhoben); color: var(--text); box-shadow: inset 0 0 0 1px var(--rand); }
.knopf.zweit:hover { background: var(--erhoben-2); opacity: 1; }
.knopf.geist { background: transparent; color: var(--text-3); height: 30px; padding: 0 10px; }
.knopf.geist:hover { background: var(--hover); color: var(--text); opacity: 1; }
.knopf.gefahr { background: transparent; color: var(--fehler); box-shadow: inset 0 0 0 1px var(--rand); }
.icon-knopf { width: 30px; height: 30px; border-radius: 7px; display: inline-grid; place-items: center; color: var(--text-3); }
.icon-knopf:hover { background: var(--hover); color: var(--text); }

/* ---------- Start (Anmelden, Einladung) ---------- */
.start {
  min-height: 100%; display: grid; place-items: center; padding: 32px 20px;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(124, 132, 255, 0.10), transparent 60%),
    var(--bg);
}
.start-karte { width: 100%; max-width: 380px; text-align: center; }
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.marke img { width: 26px; height: 26px; border-radius: 7px; }
/* Logo: Wortmarke als Maske, Farbe = Textfarbe („KI“ ist in der Datei halb durchsichtig). Hell und dunkel ohne zweite Datei. */
.wortmarke { display: inline-block; height: 19px; aspect-ratio: 4394 / 1490; background: var(--text);
  -webkit-mask: url(/wortmarke.svg) no-repeat center / contain; mask: url(/wortmarke.svg) no-repeat center / contain; }
.start .wortmarke { height: 26px; }
.start h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 36px 0 10px; }
.start p { color: var(--text-3); margin: 0 0 28px; font-size: 15px; }
.start .hinweis { margin-top: 18px; font-size: 13px; color: var(--text-4); }
.start .fehler { margin-top: 14px; color: var(--fehler); font-size: 13.5px; }

/* ---------- App-Rahmen ---------- */
.app { display: grid; grid-template-columns: var(--seite) 1fr; height: 100%; }
.seitenleiste {
  display: flex; flex-direction: column; gap: 2px; min-height: 0;
  padding: 12px 10px; border-right: 1px solid var(--rand); background: var(--bg);
}
.bereich {
  display: flex; align-items: center; gap: 9px; padding: 6px 8px; margin-bottom: 10px;
  border-radius: 8px; font-weight: 500; letter-spacing: -0.01em; text-align: left;
}
.bereich:hover { background: var(--hover); }
.avatar {
  width: 22px; height: 22px; border-radius: 6px; flex: none; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6366f1);
}
.avatar.rund { border-radius: 50%; }
.avatar.gross { width: 56px; height: 56px; font-size: 22px; border-radius: 14px; }
.nav-punkt {
  display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px; border-radius: 7px;
  color: var(--text-2); font-size: 13.5px; width: 100%; text-align: left;
}
.nav-punkt:hover { background: var(--hover); color: var(--text); }
.nav-punkt.an { background: var(--aktiv); color: var(--text); }
.nav-punkt .ic { color: var(--text-3); }
.nav-punkt.an .ic { color: var(--text); }
.abschnitt-titel { display: flex; align-items: center; justify-content: space-between; padding: 18px 8px 6px; font-size: 12px; color: var(--text-4); font-weight: 500; }
.chatliste { list-style: none; margin: 0; padding: 0; overflow-y: auto; min-height: 0; flex: 1; }
.chatliste .nav-punkt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatliste .leer { padding: 6px 8px; font-size: 13px; color: var(--text-4); }
.seitenleiste-unten { border-top: 1px solid var(--rand); padding-top: 8px; margin-top: 8px; }

.inhalt { min-width: 0; min-height: 0; overflow-y: auto; background: var(--bg); scrollbar-width: thin; scrollbar-color: var(--rand-2) transparent; }
.inhalt.voll { overflow: hidden; }
.handy-nur { display: none; }
a.konto, a.umsatz { color: inherit; }
.seite { max-width: 920px; margin: 0 auto; padding: 36px 40px 80px; }
.kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.kopf h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.022em; margin: 0; line-height: 1.2; }
.kopf .unterzeile { color: var(--text-3); margin-top: 6px; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.punkt { width: 6px; height: 6px; border-radius: 50%; background: var(--plus); box-shadow: 0 0 0 3px var(--plus-weich); }
.kontokopf-name { display: flex; gap: 14px; align-items: center; min-width: 0; }
.kontokopf-stand { text-align: right; }
.kontokopf .konto-saldo { font-size: 26px; }
.zurueck { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; margin-bottom: 18px; }
.zurueck:hover { color: var(--text); }

/* ---------- Summen und Konten ---------- */
.summen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 36px; }
.summe {
  padding: 18px 20px; border-radius: var(--radius-gross); background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--rand);
}
.summe .betrag { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin-top: 8px; line-height: 1.1; }
.summe .betrag .nach { color: var(--text-3); font-weight: 500; }
.summe .fuss { margin-top: 12px; font-size: 12.5px; color: var(--text-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.summe .monat { display: inline-flex; gap: 10px; font-variant-numeric: tabular-nums; }

.abschnitt { margin-bottom: 36px; }
.abschnitt-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.abschnitt-kopf h2 { font-size: 14px; font-weight: 500; margin: 0; color: var(--text-2); letter-spacing: -0.005em; }

.konten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.konto {
  display: flex; flex-direction: column; gap: 18px; padding: 16px 18px; border-radius: var(--radius-gross);
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand); text-align: left; width: 100%;
  transition: background .15s, box-shadow .15s;
}
.konto:hover { background: var(--erhoben); box-shadow: inset 0 0 0 1px var(--rand-2); }
.konto-kopf { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bank-logo {
  width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; letter-spacing: -0.02em;
}
.konto-name { font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.konto-unter { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.konto-saldo { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.konto-fuss { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-4); }
.marke-klein { font-size: 11px; padding: 1px 6px; border-radius: 5px; background: var(--erhoben-2); color: var(--text-3); font-weight: 500; }

/* ---------- Umsatzliste ---------- */
.liste { border-radius: var(--radius-gross); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand); overflow: hidden; }
.tag-titel { padding: 14px 18px 6px; font-size: 12px; color: var(--text-4); font-weight: 500; }
.umsatz { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; padding: 10px 18px; }
.umsatz + .umsatz { border-top: 1px solid var(--rand); }
.umsatz:hover { background: var(--hover); }
.umsatz .wer { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.005em; }
.umsatz .was { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.umsatz .betrag { font-weight: 500; text-align: right; }
.umsatz .betrag .status { display: block; font-size: 11px; font-weight: 400; color: var(--warn); }
.initiale {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600; background: var(--erhoben-2); color: var(--text-2);
}
.mehr { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--rand); }

.suchleiste { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.eingabe {
  flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
  border-radius: 9px; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand); color: var(--text-3);
}
.eingabe:focus-within { box-shadow: inset 0 0 0 1px var(--rand-2); }
.eingabe input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13.5px; }
.chips { display: flex; gap: 6px; }
.chip { height: 36px; padding: 0 12px; border-radius: 9px; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--rand); font-size: 13px; }
.chip:hover { color: var(--text); }
.chip.an { color: var(--text); background: var(--aktiv); box-shadow: inset 0 0 0 1px var(--rand-2); }

.leerzustand { padding: 48px 24px; text-align: center; color: var(--text-3); }
.leerzustand h3 { color: var(--text); font-weight: 500; font-size: 15px; margin: 14px 0 6px; }
.leerzustand p { margin: 0 0 18px; font-size: 13.5px; }
.leerzustand .ic-gross { width: 40px; height: 40px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--erhoben); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--rand); }

.skelett { background: linear-gradient(90deg, var(--erhoben) 0%, var(--erhoben-2) 50%, var(--erhoben) 100%); background-size: 200% 100%; animation: schimmer 1.4s infinite; border-radius: 6px; }
@keyframes schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Chat ---------- */
.chat { display: grid; grid-template-rows: auto 1fr auto; height: 100%; min-height: 0; }
.chat-verlauf { overflow-y: auto; min-height: 0; }
.chat-spalte { max-width: 720px; margin: 0 auto; padding: 40px 24px 24px; display: flex; flex-direction: column; gap: 22px; }
.chat-titel { font-size: 13px; color: var(--text-3); padding: 14px 24px; border-bottom: 1px solid var(--rand); display: flex; align-items: center; gap: 10px; }
.chat-titel span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frage {
  align-self: flex-end; max-width: 80%; padding: 9px 14px; border-radius: 14px;
  background: var(--erhoben-2); box-shadow: inset 0 0 0 1px var(--rand); white-space: pre-wrap; overflow-wrap: anywhere;
}
.antwort { color: var(--text); line-height: 1.65; overflow-wrap: anywhere; }
.antwort p { margin: 0 0 10px; }
.antwort p:last-child { margin-bottom: 0; }
.antwort ul { margin: 4px 0 10px; padding-left: 18px; }
.antwort li { margin: 3px 0; }
.antwort li::marker { color: var(--text-4); }
.antwort strong { font-weight: 600; }
.antwort.fehler { color: var(--fehler); font-size: 13.5px; }
.denkt { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; }
.denkt .punkte span { display: inline-block; width: 4px; height: 4px; margin-right: 3px; border-radius: 50%; background: currentColor; animation: puls 1.2s infinite; }
.denkt .punkte span:nth-child(2) { animation-delay: .15s; }
.denkt .punkte span:nth-child(3) { animation-delay: .3s; }
@keyframes puls { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.aktion {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; margin-top: 12px;
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand-2); max-width: 420px;
}
.aktion .text { flex: 1; min-width: 0; font-size: 13px; color: var(--text-3); }
.aktion .text strong { display: block; color: var(--text); font-weight: 500; font-size: 13.5px; }

.chat-unten { padding: 8px 24px calc(18px + env(safe-area-inset-bottom)); }
.eingabefeld {
  position: relative; max-width: 720px; margin: 0 auto; border-radius: 16px; background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--rand-2), 0 10px 30px rgba(0, 0, 0, 0.25);
}
.eingabefeld::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--leuchten), transparent);
}
.eingabefeld::after {
  content: ""; position: absolute; left: 20%; right: 20%; top: -14px; height: 28px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, var(--leuchten), transparent); opacity: .35; filter: blur(10px);
}
.eingabefeld textarea {
  display: block; width: 100%; resize: none; border: 0; outline: 0; background: transparent;
  padding: 14px 16px 4px; font-size: 14.5px; line-height: 1.5; max-height: 200px; color: var(--text);
}
.eingabefeld textarea::placeholder { color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eingabe-leiste { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 8px 10px; }
.senden { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--knopf); color: var(--knopf-text); }
.senden:disabled { opacity: .3; cursor: default; }
.senden .ic { stroke-width: 2.2; width: 15px; height: 15px; }
.vorschlaege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 720px; margin: 0 auto 10px; }
.vorschlag {
  text-align: left; padding: 11px 14px; border-radius: 12px; color: var(--text-2); font-size: 13.5px;
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand);
}
.vorschlag:hover { background: var(--erhoben); color: var(--text); }
.vorschlag small { display: block; color: var(--text-4); font-size: 12px; margin-top: 2px; }
.chat-spalte.leer { min-height: 100%; justify-content: flex-end; }
.chat-leer { text-align: center; padding: 24px 24px 8px; }
.chat-leer h1 { font-size: 26px; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 8px; }
.chat-leer p { color: var(--text-3); margin: 0; }

/* ---------- Einstellungen ---------- */
.karte { border-radius: var(--radius-gross); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand); margin-bottom: 16px; }
.karte-kopf { padding: 16px 20px 4px; }
.karte-kopf h2 { font-size: 14px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.karte-kopf p { margin: 4px 0 0; color: var(--text-3); font-size: 13px; }
.zeile { display: flex; align-items: center; gap: 14px; padding: 14px 20px; }
.zeile + .zeile { border-top: 1px solid var(--rand); }
.zeile .mitte { flex: 1; min-width: 0; }
.zeile .titel { font-weight: 500; }
.zeile .unter { font-size: 12.5px; color: var(--text-3); }
.zeile input.feld {
  height: 34px; padding: 0 10px; border-radius: 8px; border: 0; outline: 0; width: 100%; max-width: 280px;
  background: var(--erhoben); box-shadow: inset 0 0 0 1px var(--rand); color: var(--text);
}
.zeile input.feld:focus { box-shadow: inset 0 0 0 1px var(--rand-2); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--plus); }
.status.warn::before { background: var(--warn); }
.status.aus::before { background: var(--fehler); }

/* ---------- Mitteilung ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  padding: 10px 14px; border-radius: 10px; background: var(--erhoben-2); box-shadow: var(--schatten); font-size: 13.5px;
  animation: rein .2s ease-out;
}
@keyframes rein { from { opacity: 0; transform: translate(-50%, 6px); } }

/* ---------- Handy ---------- */
.handy-kopf, .tabs { display: none; }
@media (max-width: 820px) {
  body { font-size: 15px; }
  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .seitenleiste { display: none; }
  .handy-kopf {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px; border-bottom: 1px solid var(--rand); background: var(--bg);
  }
  .handy-kopf .bereich { margin: 0; padding: 4px 6px; }
  .tabs {
    display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rand);
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; color: var(--text-4); }
  .tab .ic { width: 20px; height: 20px; }
  .tab.an { color: var(--text); }
  .seite { padding: 22px 16px 40px; }
  .kopf { margin-bottom: 20px; }
  .kopf h1 { font-size: 22px; }
  .kontokopf { flex-direction: column; align-items: flex-start; gap: 16px; }
  .kontokopf .unterzeile { white-space: nowrap; font-size: 12.5px; }
  .kontokopf-stand { text-align: left; }
  .kontokopf .konto-saldo { font-size: 30px; }
  .summen { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .summe .betrag { font-size: 28px; }
  /* Konten auf dem Handy: eine kompakte Liste je Bank (links Konto, rechts Betrag). */
  .konten { grid-template-columns: 1fr; gap: 0; border-radius: var(--radius-gross); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--rand); overflow: hidden; }
  .konto { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 0; box-shadow: none; background: transparent; }
  .konto + .konto { border-top: 1px solid var(--rand); }
  .konto:hover { box-shadow: none; }
  .konto > div:last-child { text-align: right; }
  .konto-saldo { font-size: 16px; letter-spacing: -0.015em; }
  .konto-fuss { justify-content: flex-end; margin-top: 2px; }
  .konto-fuss span:last-child { display: none; }
  .konto-fuss span:first-child:empty { display: none; }
  .abschnitt { margin-bottom: 24px; }
  .abschnitt-kopf { margin-bottom: 8px; }
  .umsatz { padding: 11px 14px; }
  .tag-titel { padding: 14px 14px 6px; }
  .chat-spalte { padding: 24px 16px 16px; }
  .chat-unten { padding: 6px 12px 10px; }
  .eingabefeld textarea { font-size: 16px; }
  .vorschlaege { grid-template-columns: 1fr; }
  .vorschlaege .vorschlag:nth-child(n+3) { display: none; }
  .chat-titel { padding: 8px 12px; }
  .handy-nur { display: inline-grid; }
  .app { height: 100dvh; }
  .zeile { padding: 14px 16px; flex-wrap: wrap; }
  .zeile input.feld { max-width: none; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
