/* ============================================================
   Telefon Akquise — das Aussehen.

   Vier Spalten in #crsEigen. Alle Klassen tragen tel-, damit
   nichts mit crm.css oder crm-suite.css kollidiert.

   DIE FARBEN KOMMEN AUS DEM CRM, nicht von hier: --ci-line,
   --ci-mut und --accent-rgb setzt applyChrome auf <body>. Wer
   sie hier fest hinschreibt, haelt die Designfarbe des Kontos
   nicht aus. Eigene Werte stehen nur als Rueckfall daneben.
   ============================================================ */
.tel-kopf,
.tel-buehne {
  --tel-linie: var(--ci-line, #e7eef6);
  --tel-linie2: #d9e4f0;
  --tel-mut: var(--ci-mut, #647089);
  --tel-text2: #36506b;
  --tel-akz: rgb(var(--accent-rgb, 26, 155, 219));
  --tel-akz-rgb: var(--accent-rgb, 26, 155, 219);
  --tel-gut: #0e7c6b;
  --tel-gut-rgb: 14, 124, 107;
  --tel-warn: #b45309;
  --tel-warn-rgb: 180, 83, 9;
  --tel-kalt: #b3261e;
  --tel-kalt-rgb: 179, 38, 30;
  --tel-lila: #6d4aad;
  --tel-lila-rgb: 109, 74, 173;
  --tel-1: 0 1px 2px 0 rgba(0, 0, 0, .30), 0 1px 3px 1px rgba(0, 0, 0, .15);
  --tel-2: 0 1px 2px 0 rgba(0, 0, 0, .30), 0 2px 6px 2px rgba(0, 0, 0, .15);
}

/* Das einzige Kind von #crsEigen: .crs-eigen ist ein Flex-Kasten
   mit padding und gap — hier wird daraus wieder eine Spalte. */
.tel-wrap {
  flex: 1 1 auto; min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
}

/* ---------- Kopfzeile ---------- */
.tel-kopf { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 11px; }
.tel-sz {
  display: flex; align-items: center; gap: 8px; padding: 5px 11px;
  border-radius: 9px; background: #fff; border: 1px solid var(--tel-linie);
}
.tel-sz .material-symbols-rounded { font-size: 16px; color: var(--tel-mut); }
.tel-sz b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tel-sz span { display: block; font-size: 10px; color: var(--tel-mut); }
.tel-sz.gut { background: rgba(var(--tel-gut-rgb), .08); border-color: rgba(var(--tel-gut-rgb), .25); }
.tel-sz.gut b, .tel-sz.gut .material-symbols-rounded { color: var(--tel-gut); }
.tel-offen { margin-left: auto; font-size: 11.5px; color: var(--tel-mut); font-variant-numeric: tabular-nums; }

/* ---------- Drei Spalten ----------

   Liste · Mitte · Verlauf. Der Verlauf stand frueher zwischen
   Liste und Mitte und trennte damit zwei Dinge, die
   zusammengehoeren: wen ich anrufe und was ich mit ihm bespreche.

   Die vierte Spalte (Einstieg und Einwaende) ist ausgeschaltet
   — die Regeln dafuer bleiben stehen, siehe ZEIG_RECHTS in
   crs-telefon.js. Faellt der Schalter wieder auf true, greift
   die Zeile mit den vier Breiten darunter.

   Was zuerst weicht, wenn es eng wird: die Mitte braucht den
   Platz, also geht der Verlauf unter 1160 px. */
.tel-buehne {
  display: grid; grid-template-columns: 480px minmax(0, 1fr) 300px;
  gap: 11px; flex: 1 1 auto; min-height: 0;
}
@media (max-width: 1640px) { .tel-buehne { grid-template-columns: 440px minmax(0, 1fr) 280px; } }
@media (max-width: 1160px) { .tel-buehne { grid-template-columns: 400px minmax(0, 1fr); } }
@media (max-width: 900px)  { .tel-buehne { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1160px) { .tel-verlaufspalte { display: none; } }

/* Mit der vierten Spalte (ZEIG_RECHTS): der Wirt setzt dann
   .tel-rechts, und das Raster braucht eine Breite mehr. */
.tel-buehne:has(.tel-rechts) { grid-template-columns: 480px minmax(0, 1fr) 270px 300px; }
@media (max-width: 1640px) { .tel-buehne:has(.tel-rechts) { grid-template-columns: 440px minmax(0, 1fr) 250px 280px; } }
@media (max-width: 1460px) { .tel-rechts { display: none; } }

.tel-spalte { min-width: 0; display: flex; flex-direction: column; gap: 11px; min-height: 0; }
.tel-mitte, .tel-rechts, .tel-verlaufspalte { overflow-y: auto; overflow-x: hidden; }
.tel-mitte { padding-right: 2px; }

/* ---------- Die Liste ---------- */
.tel-liste {
  background: #fff; border-radius: 16px; border: 1px solid var(--tel-linie);
  display: flex; flex-direction: column; min-height: 140px; flex: 1; overflow: hidden;
}
.tel-lkopf { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-bottom: 1px solid var(--tel-linie); }
.tel-lkopf h2 { margin: 0; font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; }
.tel-lkopf .material-symbols-rounded { font-size: 18px; color: var(--tel-mut); }

.tel-countdown {
  display: flex; align-items: center; gap: 9px; margin: 8px 8px 0; padding: 8px 10px;
  border-radius: 10px; background: rgba(var(--tel-kalt-rgb), .08);
  border: 1px solid rgba(var(--tel-kalt-rgb), .3);
}
.tel-countdown .material-symbols-rounded { font-size: 18px; color: var(--tel-kalt); flex: none; }
.tel-countdown .tx { flex: 1; min-width: 0; }
.tel-countdown .tx b { display: block; font-size: 12px; font-weight: 750; color: var(--tel-kalt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-countdown .tx small { display: block; font-size: 10.5px; color: var(--tel-text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-countdown .uhr { font-size: 13px; font-weight: 800; color: var(--tel-kalt); font-variant-numeric: tabular-nums; flex: none; }
.tel-countdown.ruhig { background: rgba(var(--tel-gut-rgb), .07); border-color: rgba(var(--tel-gut-rgb), .25); }
.tel-countdown.ruhig .material-symbols-rounded,
.tel-countdown.ruhig .tx b,
.tel-countdown.ruhig .uhr { color: var(--tel-gut); }

.tel-zwei { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .tel-zwei { grid-template-columns: 1fr; } }
.tel-topf { min-width: 0; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--tel-linie); }
.tel-topf:last-child { border-right: 0; }
.tel-tkopf { display: flex; align-items: center; gap: 6px; padding: 8px 10px 5px; }
.tel-tkopf .material-symbols-rounded { font-size: 15px; }
.tel-tkopf b { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tel-tkopf .n { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--tel-mut); font-variant-numeric: tabular-nums; }
.tel-topf.kalt .tel-tkopf b, .tel-topf.kalt .tel-tkopf .material-symbols-rounded { color: var(--tel-mut); }
.tel-topf.warm .tel-tkopf b, .tel-topf.warm .tel-tkopf .material-symbols-rounded { color: var(--tel-kalt); }
.tel-rumpf { flex: 1; min-height: 0; overflow-y: auto; padding: 0 6px 7px; }

/* Kompakt: Name, darunter klein die Firma, rechts die Zeit. */
.tel-ez {
  display: flex; gap: 7px; align-items: center; width: 100%; text-align: left;
  padding: 5px 6px; border-radius: 8px; background: #fff; cursor: grab;
  border: 1px solid transparent; margin-bottom: 2px;
}
.tel-ez:hover { background: rgba(var(--tel-akz-rgb), .05); }
.tel-ez.dran { background: rgba(var(--tel-akz-rgb), .1); border-color: rgba(var(--tel-akz-rgb), .45); }
.tel-ez.gleich { background: rgba(var(--tel-kalt-rgb), .07); border-color: rgba(var(--tel-kalt-rgb), .3); }
.tel-ez.hebt { opacity: .3; }
.tel-av { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; }
.tel-etx { flex: 1; min-width: 0; }
.tel-etx b { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-etx .fa { display: block; font-size: 10px; color: var(--tel-mut); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-erechts { flex: none; text-align: right; }
.tel-zeit { display: block; font-size: 12px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.25; }
.tel-zeit.gleich { color: var(--tel-kalt); }
.tel-zeit.rot { color: var(--tel-kalt); }
.tel-frist { display: block; font-size: 9.5px; color: var(--tel-mut); white-space: nowrap; line-height: 1.25; }
.tel-frist.rot { color: var(--tel-kalt); font-weight: 700; }
.tel-leerzeile { padding: 14px 8px; text-align: center; font-size: 11.5px; color: #b6c7d6; }

/* ---------- Kontaktkarte ---------- */
.tel-kontakt { background: #fff; border-radius: 16px; border: 1px solid var(--tel-linie); padding: 16px 18px; flex: none; }
.tel-kzeile { display: flex; align-items: flex-start; gap: 13px; }
.tel-kgriff { display: flex; align-items: flex-start; gap: 13px; flex: 1; min-width: 0; cursor: grab; border-radius: 10px; margin: -4px; padding: 4px; }
.tel-kgriff:hover { background: rgba(var(--tel-akz-rgb), .05); }
.tel-kav { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 16px; font-weight: 800; color: #fff; }
.tel-kwer { flex: 1; min-width: 0; }
.tel-kwer h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; display: flex; align-items: center; gap: 8px; }
.tel-kwer h2 .material-symbols-rounded { font-size: 16px; color: #b6c7d6; }
.tel-kwer .rolle { font-size: 13px; color: var(--tel-text2); margin-top: 3px; }
.tel-kwer .firma { font-size: 12.5px; color: var(--tel-mut); margin-top: 1px; }
.tel-knr { text-align: right; flex: none; }
.tel-knr .nr { font-size: 18px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tel-knr .mob { font-size: 11.5px; color: var(--tel-mut); font-variant-numeric: tabular-nums; margin-top: 2px; }

.tel-wissen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); gap: 1px;
  margin-top: 13px; background: var(--tel-linie); border: 1px solid var(--tel-linie);
  border-radius: 10px; overflow: hidden;
}
.tel-wz { background: #fff; padding: 7px 11px; min-width: 0; }
.tel-wz .k { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tel-mut); }
.tel-wz .v { font-size: 12.5px; font-weight: 650; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-wz.achtung .v { color: var(--tel-warn); }

.tel-anlass {
  display: flex; gap: 9px; margin-top: 10px; padding: 9px 12px; border-radius: 10px;
  background: rgba(var(--tel-akz-rgb), .07); border: 1px solid rgba(var(--tel-akz-rgb), .2);
  font-size: 12.5px; line-height: 1.5; color: var(--tel-text2);
}
.tel-anlass.heiss { background: rgba(var(--tel-kalt-rgb), .07); border-color: rgba(var(--tel-kalt-rgb), .25); }
.tel-anlass .material-symbols-rounded { font-size: 18px; color: var(--tel-akz); flex: none; }
.tel-anlass.heiss .material-symbols-rounded { color: var(--tel-kalt); }

.tel-waehlen { display: flex; align-items: center; gap: 9px; margin-top: 13px; flex-wrap: wrap; }
.tel-wbtn {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 20px; border-radius: 22px; background: var(--tel-gut); color: #fff;
  font-size: 14.5px; font-weight: 750; border: 1px solid var(--tel-linie);
}
.tel-wbtn:hover { filter: brightness(1.07); }
.tel-wbtn.laeuft { background: var(--tel-kalt); }
.tel-wbtn .material-symbols-rounded { font-size: 20px; }
.tel-mailbtn {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 17px; border-radius: 22px; color: var(--tel-akz);
  box-shadow: inset 0 0 0 1px var(--tel-linie2); font-size: 13.5px; font-weight: 700;
}
.tel-mailbtn:hover { box-shadow: inset 0 0 0 1px var(--tel-akz); background: rgba(var(--tel-akz-rgb), .05); }
.tel-mailbtn .material-symbols-rounded { font-size: 19px; }
.tel-uhrg { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--tel-mut); }
.tel-uhrg.laeuft { color: var(--tel-kalt); }
.tel-tasten { margin-left: auto; font-size: 11px; color: var(--tel-mut); text-align: right; }

/* ---------- Gesprächswissen ---------- */
.tel-gespraech { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 11px; flex: none; }
.tel-gk {
  background: #fff; border-radius: 16px; border: 1px solid var(--tel-linie);
  padding: 12px 14px; display: flex; flex-direction: column;
  /* Keine eigene Mindesthoehe: die gibt der Streifen vor. */
  min-height: 0;
}
/* Die Saetze rollen in ihrem Kasten, die Erfassungszeile bleibt
   unten stehen — sonst wandert sie beim zehnten Satz aus dem Bild. */
.tel-azliste { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin-right: -4px; padding-right: 4px; }
.tel-gk.wunsch .tel-az > .material-symbols-rounded { color: var(--tel-lila); }
.tel-gkopf { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.tel-gkopf .material-symbols-rounded { font-size: 17px; color: var(--tel-mut); }
.tel-gkopf b { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tel-mut); }
.tel-gkopf .n { margin-left: auto; font-size: 11px; color: var(--tel-mut); font-variant-numeric: tabular-nums; }
.tel-gkopf .hin { margin-left: auto; font-size: 11px; color: var(--tel-mut); }
.tel-gkopf .tun {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--tel-akz); padding: 3px 7px; border-radius: 7px;
}
.tel-gkopf .tun:hover { background: rgba(var(--tel-akz-rgb), .08); }
.tel-gkopf .tun .material-symbols-rounded { font-size: 14px; color: inherit; }

.tel-az { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-bottom: 1px dashed var(--tel-linie); }
.tel-az:last-of-type { border-bottom: 0; }
.tel-az > .material-symbols-rounded { font-size: 16px; flex: none; margin-top: 1px; color: var(--tel-akz); }
.tel-az.killer > .material-symbols-rounded { color: var(--tel-kalt); }
.tel-az.nett > .material-symbols-rounded { color: var(--tel-lila); }
.tel-az .tx { flex: 1; min-width: 0; }
.tel-az .tx > span { display: block; font-size: 12.5px; line-height: 1.45; }
.tel-az .tx small { display: block; font-size: 10.5px; color: var(--tel-mut); margin-top: 2px; }
.tel-weg { all: unset; cursor: pointer; color: #cfdae4; flex: none; display: grid; place-items: center; }
.tel-weg .material-symbols-rounded { font-size: 15px; color: inherit; }
.tel-az:hover .tel-weg { color: var(--tel-kalt); }

/* Die Zahl ist das Argument: "das nennen fünf andere auch". */
.tel-teilen {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 3px;
  margin-left: 6px; padding: 1px 6px; border-radius: 7px; font-size: 10px; font-weight: 800;
  background: rgba(var(--tel-akz-rgb), .12); color: var(--tel-akz);
}
.tel-teilen:hover { background: rgba(var(--tel-akz-rgb), .24); }
.tel-teilen .material-symbols-rounded { font-size: 12px; color: inherit; }
.tel-teilen.viele { background: rgba(var(--tel-warn-rgb), .13); color: var(--tel-warn); }
.tel-wer { display: block; font-size: 10.5px; color: var(--tel-text2); margin-top: 5px; line-height: 1.5; padding: 6px 9px; border-radius: 8px; background: rgba(var(--tel-akz-rgb), .05); }
.tel-wer b { font-weight: 700; }

.tel-nix { font-size: 12px; color: #9fb3c6; line-height: 1.5; padding: 3px 0 8px; }
.tel-erfassen { display: flex; gap: 7px; align-items: center; margin-top: auto; padding-top: 9px; }
.tel-artwahl { display: flex; background: rgba(var(--tel-akz-rgb), .05); border: 1px solid var(--tel-linie2); border-radius: 9px; overflow: hidden; flex: none; }
.tel-artwahl button { all: unset; cursor: pointer; padding: 7px 9px; color: var(--tel-mut); display: flex; align-items: center; }
.tel-artwahl button .material-symbols-rounded { font-size: 16px; }
.tel-artwahl button.an { background: #fff; color: var(--tel-akz); box-shadow: inset 0 0 0 1px var(--tel-akz); }
.tel-feldhalter { flex: 1; min-width: 0; position: relative; }
.tel-feldhalter input { width: 100%; height: 36px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--tel-linie2); font: inherit; font-size: 12.5px; outline: 0; background: #fff; color: inherit; }
.tel-feldhalter input:focus { border-color: var(--tel-akz); }

/* Die Klappe öffnet nach oben: unten ist der Rand. */
.tel-klappe {
  position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #fff; border-radius: 12px; box-shadow: var(--tel-2);
  border: 1px solid var(--tel-linie); max-height: 290px; overflow-y: auto; padding: 5px;
}
.tel-khinweis { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tel-mut); padding: 6px 8px 5px; }
.tel-kz { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 8px; align-items: flex-start; width: 100%; padding: 7px 8px; border-radius: 9px; }
.tel-kz:hover { background: rgba(var(--tel-akz-rgb), .07); }
.tel-kz > .material-symbols-rounded { font-size: 15px; flex: none; margin-top: 1px; color: var(--tel-akz); }
.tel-kz .tx { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; }
.tel-kz .zahl { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; color: var(--tel-akz); background: rgba(var(--tel-akz-rgb), .12); padding: 2px 6px; border-radius: 7px; }
.tel-kz .zahl .material-symbols-rounded { font-size: 12px; color: inherit; }
.tel-kz .zahl.viele { background: rgba(var(--tel-warn-rgb), .13); color: var(--tel-warn); }
.tel-kz.drin { opacity: .42; cursor: default; }
.tel-kz.drin:hover { background: transparent; }
.tel-kz.neuanlegen { border-top: 1px solid var(--tel-linie); border-radius: 0; margin-top: 3px; padding-top: 9px; }
.tel-kz.neuanlegen .tx { font-weight: 700; color: var(--tel-akz); }

.tel-modliste { display: flex; flex-wrap: wrap; gap: 5px; }
.tel-modchip {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 9px; font-size: 11.5px; font-weight: 700;
  background: rgba(var(--tel-gut-rgb), .1); color: var(--tel-gut); border: 1px solid rgba(var(--tel-gut-rgb), .3);
}
.tel-modchip:hover { background: rgba(var(--tel-gut-rgb), .18); }
.tel-modchip .material-symbols-rounded { font-size: 14px; }
.tel-modchip .prod { font-weight: 500; opacity: .75; font-size: 10px; }
.tel-prodhin { font-size: 10.5px; color: var(--tel-mut); line-height: 1.45; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--tel-linie); }
.tel-prodhin .material-symbols-rounded { font-size: 14px; vertical-align: -2px; }

/* ---------- Ergebnis ---------- */
.tel-erg { background: #fff; border-radius: 16px; border: 1px solid var(--tel-linie); padding: 13px 15px; flex: none; }
.tel-ebtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)); gap: 7px; }
.tel-eb {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 9px 11px; border-radius: 11px; background: #fff; border: 1px solid var(--tel-linie2);
  transition: border-color .12s, background .12s;
}
.tel-eb:hover { border-color: var(--tel-akz); background: rgba(var(--tel-akz-rgb), .04); }
.tel-eb .material-symbols-rounded { font-size: 18px; flex: none; color: var(--tel-mut); }
.tel-eb .tx { flex: 1; min-width: 0; }
.tel-eb .tx b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.tel-eb .tx small { display: block; font-size: 10px; color: var(--tel-mut); margin-top: 1px; }
.tel-eb kbd { font: inherit; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: rgba(var(--tel-akz-rgb), .07); border: 1px solid var(--tel-linie2); color: var(--tel-mut); flex: none; }
.tel-eb.rueck { border-color: rgba(var(--tel-akz-rgb), .45); background: rgba(var(--tel-akz-rgb), .06); }
.tel-eb.rueck .material-symbols-rounded { color: var(--tel-akz); }
.tel-eb.vorzimmer .material-symbols-rounded { color: var(--tel-warn); }
.tel-eb.termin { border-color: rgba(var(--tel-gut-rgb), .45); background: rgba(var(--tel-gut-rgb), .07); }
.tel-eb.termin .material-symbols-rounded { color: var(--tel-gut); }
.tel-eb.unterlagen .material-symbols-rounded { color: var(--tel-akz); }
.tel-eb.nein .material-symbols-rounded { color: var(--tel-kalt); }
.tel-notiz { margin-top: 9px; }
.tel-notiz textarea {
  width: 100%; min-height: 46px; padding: 9px 11px; border-radius: 10px;
  border: 1px solid var(--tel-linie); background: rgba(var(--tel-akz-rgb), .04); resize: vertical;
  font: inherit; font-size: 12.5px; line-height: 1.5; color: inherit; outline: 0;
}
.tel-notiz textarea:focus { border-color: var(--tel-akz); background: #fff; }

/* ---------- Verlauf und Leitfaden ---------- */
.tel-block { background: #fff; border-radius: 16px; border: 1px solid var(--tel-linie); padding: 13px 15px; flex: none; }
.tel-bkopf { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.tel-bkopf .material-symbols-rounded { font-size: 16px; color: var(--tel-mut); }
.tel-bkopf b { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tel-mut); }
.tel-vwer { font-size: 13px; font-weight: 800; letter-spacing: -.01em; margin: -3px 0 8px; }
.tel-vstat { display: flex; gap: 10px; flex-wrap: wrap; padding: 1px 0 10px; border-bottom: 1px solid var(--tel-linie); margin-bottom: 11px; }
.tel-vstat span { font-size: 11px; color: var(--tel-mut); display: inline-flex; align-items: center; gap: 4px; }
.tel-vstat span b { font-size: 12.5px; font-weight: 800; color: inherit; }
.tel-vstat .material-symbols-rounded { font-size: 14px; }

.tel-vz { display: flex; gap: 10px; padding-bottom: 12px; }
.tel-vz:last-child { padding-bottom: 0; }
.tel-vz .spur { flex: none; width: 12px; display: flex; flex-direction: column; align-items: center; }
.tel-vz .pkt { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 4px; background: #aebfce; }
.tel-vz .strich { flex: 1; width: 2px; background: var(--tel-linie); margin-top: 3px; border-radius: 1px; }
.tel-vz:last-child .strich { display: none; }
.tel-vz .inh { flex: 1; min-width: 0; }
.tel-vz .wann { display: block; font-size: 10px; font-weight: 700; letter-spacing: .03em; color: var(--tel-mut); text-transform: uppercase; }
.tel-vz .wann .material-symbols-rounded { font-size: 13px; }
.tel-vz .wann .ri { margin-left: 5px; opacity: .8; }
.tel-vz .titel { font-size: 12.5px; font-weight: 700; line-height: 1.35; margin-top: 1px; }
.tel-vz .text { font-size: 11.5px; color: var(--tel-text2); line-height: 1.5; margin-top: 2px; }
.tel-vz.anruf .pkt { background: var(--tel-gut); }
.tel-vz.mail .pkt { background: var(--tel-akz); }
.tel-vz.termin .pkt { background: var(--tel-lila); }
.tel-vz.notiz .pkt { background: var(--tel-warn); }
.tel-vz.frisch .pkt { box-shadow: 0 0 0 4px rgba(var(--tel-akz-rgb), .18); }
.tel-vz.frisch .titel, .tel-vz.frisch .wann { color: var(--tel-akz); }
.tel-vleer { font-size: 12px; color: #9fb3c6; line-height: 1.55; }

.tel-einstieg { font-size: 13px; line-height: 1.55; }
.tel-schritte { display: grid; gap: 6px; margin-top: 10px; }
.tel-sr { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--tel-text2); cursor: pointer; }
.tel-sr i { width: 17px; height: 17px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; font-style: normal; background: rgba(var(--tel-akz-rgb), .07); border: 1px solid var(--tel-linie2); color: var(--tel-mut); }
.tel-sr.an i { background: var(--tel-akz); border-color: var(--tel-akz); color: #fff; }
.tel-sr.an { font-weight: 600; }
.tel-einwand { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--tel-linie2); background: #fff; font-size: 12px; font-weight: 650; margin-bottom: 5px; }
.tel-einwand:hover { border-color: var(--tel-akz); }
.tel-einwand.auf { border-color: var(--tel-akz); background: rgba(var(--tel-akz-rgb), .05); }
.tel-eantwort { font-size: 12px; line-height: 1.55; color: var(--tel-text2); padding: 2px 10px 8px; }

/* ---------- Kalender ---------- */
.tel-kal { background: #fff; border-radius: 16px; border: 1px solid var(--tel-linie); padding: 10px 12px 11px; flex: none; }
.tel-kalkopf { display: flex; align-items: center; gap: 4px; margin-bottom: 7px; }
.tel-kalkopf .mon { flex: 1; text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: -.01em; text-transform: capitalize; }
.tel-blaett { all: unset; cursor: pointer; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--tel-mut); }
.tel-blaett .material-symbols-rounded { font-size: 19px; }
.tel-blaett:hover { background: rgba(var(--tel-akz-rgb), .08); color: var(--tel-akz); }
.tel-blaett.lauert { background: rgba(var(--tel-akz-rgb), .16); color: var(--tel-akz); animation: telPuls .5s ease-in-out infinite alternate; }
@keyframes telPuls { to { transform: scale(1.15); } }
.tel-wochentage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 2px; }
.tel-wochentage span { text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--tel-mut); }
.tel-gitter { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tel-ktag {
  height: 33px; border-radius: 7px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1px; font-size: 11.5px; font-weight: 600; color: var(--tel-text2);
  cursor: pointer; border: 1px solid transparent; font-variant-numeric: tabular-nums;
  transition: transform .1s, background .1s;
}
.tel-ktag:hover { background: rgba(var(--tel-akz-rgb), .07); }
.tel-ktag.leer { cursor: default; color: transparent; }
.tel-ktag.leer:hover { background: transparent; }
.tel-ktag.vorbei { color: #c3d2df; }
.tel-ktag.heute { font-weight: 800; color: var(--tel-akz); box-shadow: inset 0 0 0 1.5px var(--tel-akz); }
.tel-ktag.wahl { background: rgba(var(--tel-akz-rgb), .14); color: var(--tel-akz); font-weight: 800; }
.tel-ktag .pp { display: flex; gap: 2px; height: 4px; }
.tel-ktag .pp i { width: 4px; height: 4px; border-radius: 50%; background: var(--tel-akz); }
.tel-ktag .pp i.termin { background: var(--tel-lila); }
body.tel-zieht .tel-ktag:not(.leer):not(.vorbei) { background: rgba(var(--tel-akz-rgb), .07); border-color: rgba(var(--tel-akz-rgb), .3); }
body.tel-zieht .tel-ktag.vorbei { opacity: .3; }
.tel-ktag.ueber { background: var(--tel-akz) !important; border-color: var(--tel-akz) !important; color: #fff !important; transform: scale(1.18); box-shadow: var(--tel-2); }
.tel-ktag.ueber .pp i { background: #fff !important; }
.tel-ktag.eben { animation: telEben .8s ease-out; }
@keyframes telEben { 0% { box-shadow: 0 0 0 0 rgba(109, 74, 173, .6); } 100% { box-shadow: 0 0 0 15px rgba(109, 74, 173, 0); } }

.tel-ziehhin { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding: 7px 9px; border-radius: 9px; background: rgba(var(--tel-akz-rgb), .05); font-size: 10.5px; color: var(--tel-mut); line-height: 1.4; }
.tel-ziehhin .material-symbols-rounded { font-size: 15px; flex: none; }
body.tel-zieht .tel-ziehhin { background: rgba(var(--tel-akz-rgb), .14); color: var(--tel-akz); font-weight: 650; }

.tel-tagliste { margin-top: 9px; border-top: 1px solid var(--tel-linie); padding-top: 8px; max-height: 120px; overflow-y: auto; }
.tel-tagliste h4 { margin: 0 0 5px; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tel-mut); }
.tel-tz { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; }
.tel-tz .u { font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; flex: none; width: 38px; color: var(--tel-akz); }
.tel-tz.termin .u { color: var(--tel-lila); }
.tel-tz .w { flex: 1; min-width: 0; }
.tel-tz .w b { display: block; font-size: 11.5px; font-weight: 650; }
.tel-tz .w small { display: block; font-size: 10px; color: var(--tel-mut); line-height: 1.4; }
.tel-tagleer { font-size: 11px; color: #9fb3c6; padding: 2px 0; }

/* ---------- Das Blatt ---------- */
.tel-scrim { position: fixed; inset: 0; background: rgba(9, 17, 32, .4); opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 60; }
.tel-scrim.an { opacity: 1; pointer-events: auto; }
.tel-blatt {
  position: fixed; inset-block: 0; inset-inline-end: 0; width: min(480px, 94vw); z-index: 61;
  background: #fff; box-shadow: -14px 0 40px -18px rgba(18, 35, 58, .6);
  transform: translateX(100%); transition: transform .24s cubic-bezier(.2, 0, 0, 1);
  display: flex; flex-direction: column;
}
.tel-blatt.an { transform: translateX(0); }
.tel-blkopf { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--tel-linie); }
.tel-blkopf h3 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.tel-blkopf .wen { font-size: 11.5px; color: var(--tel-mut); margin-top: 2px; }
.tel-blkopf .m3-icon-btn { margin-left: auto; }
.tel-blleib { padding: 16px 18px; overflow-y: auto; flex: 1; }
.tel-blfuss { padding: 12px 18px; border-top: 1px solid var(--tel-linie); display: flex; gap: 9px; align-items: center; }
.tel-blfuss .luecke { margin-left: auto; }
.tel-wohin { flex: 1; min-width: 0; font-size: 11px; color: var(--tel-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-gh { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tel-mut); margin: 0 0 9px; }
.tel-zeiten { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 7px; margin-bottom: 17px; }
.tel-zeiten.uhrzeiten { grid-template-columns: repeat(4, 1fr); }
.tel-zb { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 11px 8px; border-radius: 11px; border: 1px solid var(--tel-linie2); background: #fff; }
.tel-zb:hover { border-color: var(--tel-akz); }
.tel-zb.an { border-color: var(--tel-akz); background: rgba(var(--tel-akz-rgb), .1); box-shadow: inset 0 0 0 1px var(--tel-akz); }
.tel-zb b { display: block; font-size: 13px; font-weight: 750; }
.tel-zb small { display: block; font-size: 10.5px; color: var(--tel-mut); margin-top: 2px; }
.tel-zeiten.uhrzeiten .tel-zb { padding: 9px 4px; }
.tel-zeiten.uhrzeiten .tel-zb b { font-variant-numeric: tabular-nums; }
.tel-selbst { display: flex; gap: 8px; align-items: center; }
.tel-selbst input { flex: 1; min-width: 0; height: 42px; }
.tel-datumband { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 11px; background: rgba(var(--tel-lila-rgb), .08); border: 1px solid rgba(var(--tel-lila-rgb), .25); margin-bottom: 17px; }
.tel-datumband .material-symbols-rounded { font-size: 22px; color: var(--tel-lila); }
.tel-datumband b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--tel-lila); text-transform: capitalize; }
.tel-datumband small { display: block; font-size: 11.5px; color: var(--tel-text2); }
.tel-hinweis { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(var(--tel-akz-rgb), .05); font-size: 11.5px; color: var(--tel-text2); line-height: 1.55; }
.tel-hinweis .material-symbols-rounded { font-size: 15px; color: var(--tel-mut); vertical-align: -3px; }
.tel-mailvorlagen { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 15px; }
.tel-mv { all: unset; box-sizing: border-box; cursor: pointer; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--tel-linie2); font-size: 12px; font-weight: 700; color: var(--tel-text2); }
.tel-mv:hover { border-color: var(--tel-akz); color: var(--tel-akz); }
.tel-mv.an { border-color: var(--tel-akz); background: rgba(var(--tel-akz-rgb), .1); color: var(--tel-akz); box-shadow: inset 0 0 0 1px var(--tel-akz); }
.tel-mfeld { margin-bottom: 11px; }
.tel-mfeld label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tel-mut); margin-bottom: 4px; }
.tel-mfeld input { width: 100%; height: 40px; }
.tel-mkoerper {
  width: 100%; min-height: 230px; padding: 12px 13px; border-radius: 11px;
  border: 1px solid var(--tel-linie2); font: inherit; font-size: 12.5px; line-height: 1.6;
  color: inherit; outline: 0; resize: vertical; background: #fff;
}
.tel-mkoerper:focus { border-color: var(--tel-akz); }

.tel-fertig { display: grid; place-items: center; padding: 60px 0; text-align: center; }
.tel-fertig .material-symbols-rounded { font-size: 50px; color: var(--tel-gut); }
.tel-fertig h2 { margin: 12px 0 5px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.tel-fertig p { margin: 0; color: var(--tel-mut); font-size: 13px; }

/* ============================================================
   Kontakte aufnehmen

   Das Blatt zeigt AUCH die Kontakte ohne Telefonnummer — mit
   einem Feld, um sie gleich nachzutragen. Wer sie weglaesst,
   zeigt ein leeres Blatt und verschweigt, woran es liegt.
   ============================================================ */
.tel-plus {
  all: unset; box-sizing: border-box; cursor: pointer; margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px;
  border-radius: 8px; font-size: 11.5px; font-weight: 700; color: var(--tel-akz);
}
.tel-plus:hover { background: rgba(var(--tel-akz-rgb), .1); }
.tel-plus .material-symbols-rounded { font-size: 16px; }

.tel-aufkopf { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.tel-aufkopf input { flex: 1; min-width: 0; height: 38px; }
.tel-aufliste {
  max-height: 46vh; overflow-y: auto; border: 1px solid var(--tel-linie);
  border-radius: 11px; padding: 5px;
}
.tel-aufz {
  display: flex; gap: 9px; align-items: center; padding: 7px 8px;
  border-radius: 9px; cursor: pointer;
}
.tel-aufz:hover { background: rgba(var(--tel-akz-rgb), .06); }
.tel-aufz.an { background: rgba(var(--tel-akz-rgb), .1); }
.tel-aufz input[type="checkbox"] { width: 17px; height: 17px; flex: none; accent-color: var(--tel-akz); }
.tel-aufz .tel-etx b { font-size: 12.5px; }
.tel-aufnr { flex: none; font-size: 11.5px; color: var(--tel-mut); font-variant-numeric: tabular-nums; }
/* Ohne Nummer: nicht waehlbar, aber sichtbar — und sofort zu heilen. */
.tel-aufz.ohne { cursor: default; }
.tel-aufz.ohne:hover { background: transparent; }
.tel-aufz.ohne .tel-av, .tel-aufz.ohne .tel-etx { opacity: .55; }
.tel-aufkein { width: 17px; flex: none; display: grid; place-items: center; color: #c3d2df; }
.tel-aufkein .material-symbols-rounded { font-size: 16px; }
.tel-aufneu { flex: none; display: flex; gap: 4px; align-items: center; }
.tel-aufneu input { width: 150px; height: 32px; font-size: 12px; }
.tel-nrok {
  all: unset; cursor: pointer; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; color: var(--tel-akz);
  box-shadow: inset 0 0 0 1px var(--tel-linie2);
}
.tel-nrok:hover { background: rgba(var(--tel-akz-rgb), .1); box-shadow: inset 0 0 0 1px var(--tel-akz); }
.tel-nrok .material-symbols-rounded { font-size: 17px; }


/* ============================================================
   Die Mitte ohne Kontakt

   Sie bleibt vollstaendig stehen — Karte, Anforderungen, Im
   Rennen, Ergebnis. Nur nimmt nichts davon einen Klick an:
   ein Knopf, der aussieht wie ein Knopf und nichts tut, ist
   schlimmer als einer, der grau ist. Lebendig bleibt allein
   der Weg, der die Liste fuellt.
   ============================================================ */
.tel-mitte.stumm .tel-kav { background: #c3d2df !important; }
.tel-mitte.stumm .tel-kwer h2 { color: var(--tel-mut); }
.tel-mitte.stumm .tel-knr .nr { color: #c3d2df; }
.tel-mitte.stumm .tel-wz .v { color: #b6c7d6; }
.tel-mitte.stumm .tel-gk,
.tel-mitte.stumm .tel-erg { opacity: .55; }
.tel-mitte.stumm .tel-gk *,
.tel-mitte.stumm .tel-erg * { pointer-events: none; }
.tel-mitte.stumm .tel-eb { border-style: dashed; }
.tel-leerhin { font-size: 12px; color: var(--tel-mut); line-height: 1.45; }


/* ============================================================
   Von der Liste nehmen
   ============================================================ */
.tel-plus.an { background: rgba(var(--tel-akz-rgb), .14); }
/* Das ✕ zeigt sich erst beim Zeigen auf die Zeile: eine Liste
   voller Kreuze liest sich wie eine Baustelle. */
.tel-ezweg {
  all: unset; cursor: pointer; flex: none; width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center; color: #c3d2df; opacity: 0; margin-left: 2px;
}
.tel-ezweg .material-symbols-rounded { font-size: 15px; }
.tel-ez:hover .tel-ezweg { opacity: 1; }
.tel-ezweg:hover { background: rgba(var(--tel-kalt-rgb), .12); color: var(--tel-kalt); }
.tel-ezhaken { width: 17px; height: 17px; flex: none; accent-color: var(--tel-akz); margin: 0 3px; }
.tel-ez.markiert { background: rgba(var(--tel-akz-rgb), .12); }

.tel-markfuss {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-top: 1px solid var(--tel-linie); background: rgba(var(--tel-akz-rgb), .05);
  font-size: 12px; font-weight: 650; color: var(--tel-akz);
}
.tel-markweg {
  all: unset; box-sizing: border-box; cursor: pointer; margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border-radius: 9px; font-size: 12px; font-weight: 700; color: var(--tel-kalt);
  box-shadow: inset 0 0 0 1px rgba(var(--tel-kalt-rgb), .35);
}
.tel-markweg:hover { background: rgba(var(--tel-kalt-rgb), .1); }
.tel-markweg[disabled] { opacity: .4; pointer-events: none; }
.tel-markweg .material-symbols-rounded { font-size: 16px; }


/* ============================================================
   Die Verlaufsspalte reicht bis unten

   Vorher endete die Karte, wo der Text aufhoerte — neben einer
   Liste, die bis zum Rand geht, sah das aus wie ein Fehler.
   Jetzt fuellt sie die Spalte, und die Zeitleiste scrollt in
   ihr, statt die Spalte zu dehnen.
   ============================================================ */
.tel-verlaufspalte { overflow: hidden; }
.tel-verlaufspalte .tel-block {
  flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column;
}
/* Kopf und Name bleiben stehen, die Eintraege darunter rollen. */
.tel-verlaufspalte .tel-block > .tel-bkopf,
.tel-verlaufspalte .tel-block > .tel-vwer,
.tel-verlaufspalte .tel-block > .tel-vstat { flex: none; }
.tel-verlaufspalte .tel-vz:first-of-type { margin-top: 0; }
.tel-vstrom { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin-right: -6px; padding-right: 6px; }


/* ============================================================
   Die Zeitwahl im Blatt

   Die freie Eingabe steht neben der Frage, nicht unter den
   sechzehn Knoepfen — dort hat sie niemand gefunden. Eigene
   Klasse statt m3-input: ein fremdes Eingabe-CSS kann einem
   <input type="time"> die Bedienelemente nehmen.
   ============================================================ */
.tel-zeitzeile { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.tel-zeitzeile .tel-gh { margin: 0; }
.tel-zeitfrei {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--tel-mut);
}
.tel-zeitfeld {
  height: 38px; padding: 0 10px; border-radius: 10px; background: #fff;
  border: 1px solid var(--tel-linie2); font: inherit; font-size: 14px; font-weight: 700;
  color: inherit; outline: 0; font-variant-numeric: tabular-nums;
}
.tel-zeitfeld:focus { border-color: var(--tel-akz); box-shadow: inset 0 0 0 1px var(--tel-akz); }
.tel-zeitfeld.breit { flex: 1; min-width: 0; font-weight: 600; }
.tel-selbst .tel-zeitfeld { height: 42px; }

/* Flach wie das Dashboard: kleinere Bausteine passen sich an. */
.tel-sz { border-radius: 10px; }
.tel-markfuss { border-radius: 0 0 16px 16px; }


/* ============================================================
   Die Mitte reicht bis nach unten

   Das Ergebnis schliesst an wie der Kalender in der linken
   Spalte: die Mitschrift waechst in den freien Platz, statt
   dass darunter weisse Flaeche steht.
   ============================================================ */
.tel-mitte { display: flex; flex-direction: column; }
.tel-erg { flex: 1 1 auto; min-height: 190px; display: flex; flex-direction: column; }
.tel-erg .tel-notiz { flex: 1 1 auto; min-height: 56px; display: flex; }
.tel-erg .tel-notiz textarea { flex: 1 1 auto; height: 100%; resize: none; }

/* ============================================================
   Der Tag in der Listenkopfzeile
   ============================================================ */
.tel-tagtitel { flex: 1; text-align: center; font-size: 13px !important; }
.tel-tagpfeil {
  all: unset; cursor: pointer; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; color: var(--tel-mut); flex: none;
}
.tel-tagpfeil:hover { background: rgba(var(--tel-akz-rgb), .1); color: var(--tel-akz); }
.tel-tagpfeil .material-symbols-rounded { font-size: 19px; }
.tel-heutezurueck {
  all: unset; cursor: pointer; flex: none; padding: 4px 9px; border-radius: 8px;
  font-size: 11px; font-weight: 700; color: var(--tel-akz);
  background: rgba(var(--tel-akz-rgb), .1);
}
.tel-heutezurueck:hover { background: rgba(var(--tel-akz-rgb), .2); }


/* Die Rangfolge in der Mitte: Karte und Ergebnis stehen fest,
   das Gespraechswissen dazwischen nimmt den Rest — und gibt ihn
   wieder her, wenn der Platz knapp wird. So endet das Ergebnis
   auf derselben Linie wie der Kalender. */
.tel-mitte .tel-kontakt { flex: 0 0 auto; }
.tel-gespraech { flex: 1 1 auto; min-height: 238px; }
.tel-gespraech .tel-gk { height: 100%; min-height: 0; }
.tel-erg { flex: 0 0 auto; min-height: 0; }
.tel-erg .tel-notiz { flex: 0 0 auto; }
.tel-erg .tel-notiz textarea { height: 58px; }

/* ---------- Der Weg in den Akquise Modus ----------

   Er steht in der Titelzeile der Suite, oben rechts — dort, wo
   vorher "Firma anlegen" stand, was auf dieser Seite nichts zu
   suchen hatte.

   UND ER IST GROESSER ALS DIE ANDEREN KOPFKNOEPFE. Er ist nicht
   einer von mehreren, sondern der, um den es auf dieser Seite
   geht: höher, mit Schatten, und das Symbol trägt mit.

   Gesperrt, wenn die Liste leer ist — ohne Kontakte gibt es
   nichts abzutelefonieren. */
#crsAkt .tel-akqbtn {
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 22px;
  background: var(--tel-akz, rgb(var(--accent-rgb, 26, 155, 219)));
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.1px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2),
              0 3px 10px rgba(var(--accent-rgb, 26, 155, 219), .36);
  transition: box-shadow .2s ease, transform .12s ease, opacity .2s ease;
}
#crsAkt .tel-akqbtn:hover:not(:disabled) {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .22),
              0 6px 18px rgba(var(--accent-rgb, 26, 155, 219), .46);
}
#crsAkt .tel-akqbtn:active:not(:disabled) { transform: scale(.98); }
#crsAkt .tel-akqbtn:disabled { opacity: .38; cursor: default; box-shadow: none; }
#crsAkt .tel-akqbtn .material-symbols-rounded { font-size: 21px; }

/* ============================================================
   Die eigene Notizkarte

   Die Seite hatte kein Notizfeld mehr: es sass im
   Ergebnis-Bereich, und der ist ausgeblendet (ZEIG_ERGEBNIS).
   Diese Karte haengt NICHT daran — sonst waere sie beim
   naechsten Umschalten wieder weg.
   ============================================================ */
.tel-nkarte {
  background: #fff;
  border: 1px solid var(--tel-linie);
  border-radius: 16px;
  padding: 13px 15px;
  flex: none;
}
/* Knoepfe links, Sichern rechts. Das Sichern ist die Handlung,
   die KI-Knoepfe sind Hilfe davor — die Reihenfolge ist die
   Lesefolge. */
.tel-nfuss {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.tel-nfuss .ki-leiste { margin-top: 0; }
.tel-nfuss #telNotizOk { margin-left: auto; }

/* Die fuenfte Wissens-Kachel kann auch gut ausfallen; bisher gab
   es nur "achtung". */
.tel-wz.gut .v { color: var(--tel-gut, #1e9e6a); }
