/* =============================================================================
   Telefon in der roten Schiene (Entwurf 86) – Darstellung zu js/telefon-schiene.js.

   ÜBERNOMMEN aus entwuerfe/86-telefon-gesamt/telefon.html (Kontraste dort geprüft): .g-… heißt hier .tf-…,
   --g-… heißt --tf-…, die Zustände hängen an data-tf-z / data-tf-w / data-tf-teil auf <html> (statt data-z …).
   Die Breite der Schiene ist --schiene aus stil.css (84 px ohne Telefon, 168 schmal, 360 breit).
   Weggelassen: Entwurfs-Steuerung, angedeutete Hub-Seite, Feld-Rahmen (das ist .streifen__feld), Hilfe-Inhalt.
   Ergänzt am Ende: „nicht verbunden“, „Aufgelegt“, Handy-Form (runder Knopf + Blatt), Anrufliste im Feld.
   ========================================================================== */
:root {
  --tf-bewegung: .38s cubic-bezier(.16, 1, .3, 1);
  --tf-leise: #6B5F50;             /* Nebentext hell: ≥ 4,5:1 auf Papier/Sand  */
  --tf-rot: var(--ziegel-tief);
  /* auf Rot: Nebentext aus dem Rot getönt, nie grau-transparent */
  --tf-zart: #FFE9E3;
  --tf-gold-rot: #f7cf72;          /* nur Symbole und Punkte auf Rot          */
  /* Schiene: in beiden Modi gleich */
  --tf-sch-oben: #C23A33; --tf-sch-unten: #A52D27;
  --tf-ruf-oben: #9E1F18; --tf-ruf-mitte: #7E160F; --tf-ruf-unten: #5A0E0A;
  --tf-hell: #FFF8EF;              /* helle Hauptaktion auf Rot               */
  --tf-hell-text: #8E1A13;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-thema="hell"]) { --tf-leise: #A89C8C; --tf-rot: #EC8079; }
}

html[data-tf-w="breit"] .tf-sch__in { gap: 8px; }

.tf-sch ::selection { background: rgba(247,207,114,.45); color: #fff; }
.tf-si { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7;
        stroke-linecap: round; stroke-linejoin: round; }
/* Knöpfe ohne Grundform – außer Chips und ×: die bringen ihre aus stil.css mit (Entwurf 123 D5, D10) */
.tf-leer:where(:not(.chip, .zu-knopf)) { all: unset; box-sizing: border-box; cursor: pointer; }
.tf-leer:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tf-sch .tf-leer:focus-visible, .tf-lasche:focus-visible { outline-color: var(--tf-gold-rot); }
/* In der Schiene: Ring hell-gold (≥ 3:1 auf Rot) und nach innen, damit overflow:hidden ihn nicht abschneidet */
.tf-sch :focus-visible:not(input) { outline: 2px solid #f7cf72; outline-offset: -2px; }
.tf-sch :is(.tf-ze, .tf-kol, .tf-tel__ab, .tf-zeile, .tf-akte__kopf, .tf-panel__link, .tf-verp):focus-visible { outline-offset: -2px; border-radius: 12px; }
.tf-zahlen { font-variant-numeric: tabular-nums; }
.tf-nur-breit { display: none; }
html[data-tf-w="breit"] .tf-nur-breit { display: inline; }
html[data-tf-w="breit"] .tf-verp__t .tf-nur-breit { display: block; }
html[data-tf-w="breit"] .tf-nur-schmal { display: none; }
/* Entwurf 115, 3 A: schmal ohne zweite Zeile am AB („AB · 2 neu“ steht schon oben) und ohne Rolle/Firma beim Gesprächspartner */
html:not([data-tf-w="breit"]) .tf-tel__ab small, html:not([data-tf-w="breit"]) .tf-kol__rolle { display: none; }

/* ----------------------------------------------------------------------
   Streifen: Feld + Schiene + Lasche
   ---------------------------------------------------------------------- */
/* Die Schiene selbst ist .streifen__schiene (streifen.js); --schiene setzt stil.css aus data-tf-w (168/360 px).
   Ist das Telefon da, bekommt sie die Farben aus 86 und wächst nach links; der Inhalt hat sofort die Zielbreite
   und ist rechts verankert – so wird er beim Breiterwerden aufgedeckt statt gequetscht. */
html:is([data-tf-w="schmal"],[data-tf-w="breit"]) .streifen__schiene {
  align-items: stretch; overflow: hidden; padding: 8px 0;
  background: linear-gradient(180deg, var(--tf-sch-oben), var(--tf-sch-unten));
  transition: width var(--tf-bewegung), flex-basis var(--tf-bewegung); }
.tf-sch { position: relative; flex: 0 1 auto; min-height: 0; display: flex; justify-content: flex-end; color: #fff; }
.tf-sch[hidden] { display: none; }
.tf-sch__in { width: var(--schiene); flex: none; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 0 7px; }
/* Im eigenen Gespräch kann die Liste (Weiterleiten, Konferenz) länger sein als das Fenster: dann scrollt die Schiene
   selbst, statt unter die Fußleiste zu laufen. Nur hier – sonst schnitte es Abzeichen am Rand ab (.tf-zahl). */
html[data-tf-teil="ich"] .tf-sch__in { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) {
  .streifen__schiene, .tf-lasche { transition: none; }
  .tf-frist i { animation: none; transform: scaleX(.3); }
  html[data-tf-teil="ruf"] .tf-ruf { animation: none; }
}

/* Lasche: Griff an der linken Kante, breiter/schmaler ohne Anruf */
.tf-lasche { position: fixed; top: calc(50% + var(--hub-hoehe, 0px) / 2); right: var(--schiene); z-index: 36; width: 16px; height: 64px; margin-top: -32px; display: none;
            place-items: center; padding: 0; border: 0; border-radius: 8px 0 0 8px; color: var(--tf-zart); cursor: ew-resize;
            background: linear-gradient(180deg, #B9362F, #A52D27); box-shadow: -3px 4px 10px -6px rgba(0,0,0,.45);
            transition: right var(--tf-bewegung), width .15s; touch-action: none; }
/* Trefferfläche 44 × 96: nach oben/unten verlängert, links nur in die 48 px Seitenrand-Luft der Seite (.tf-inh) */
.tf-lasche::before { content: ""; position: absolute; top: -16px; bottom: -16px; left: -28px; right: 0; }
.tf-lasche:hover { width: 20px; color: #fff; }
.tf-lasche .tf-si { width: 16px; height: 16px; stroke-width: 2; }
html:is([data-tf-z="ruhe"],[data-tf-z="breit"],[data-tf-z="mitlesen"],[data-tf-z="waehlen"]) .tf-lasche { display: grid; }

/* ---- Feld „Name oder Nummer" (oben, immer in Ruhe) ---- */
.tf-such { position: relative; flex: none; display: none; }
html[data-tf-teil="rest"] .tf-such { display: block; }
.tf-such__feld { all: unset; box-sizing: border-box; display: block; width: 100%; height: 44px; padding: 0 28px 0 31px; border-radius: 12px;
                background: rgba(48,4,2,.24); box-shadow: inset 0 0 0 1px rgba(255,233,227,.5); color: #fff;
                font: 600 13px/44px var(--schrift); cursor: text; transition: background .15s; }
.tf-such__feld::placeholder { color: var(--tf-zart); opacity: 1; font-weight: 500; }
.tf-such__feld:hover { background: rgba(48,4,2,.34); }
.tf-such__ic { position: absolute; left: 9px; top: 13px; width: 18px; height: 18px; pointer-events: none; color: #fff; }
.tf-such__kbd { position: absolute; right: 7px; top: 12px; min-width: 18px; height: 20px; padding: 0 4px; border-radius: 4px;
               box-shadow: inset 0 0 0 1px rgba(255,233,227,.6), inset 0 -2px 0 rgba(255,233,227,.25); color: var(--tf-zart);
               font: 700 11.5px/20px var(--schrift); text-align: center; pointer-events: none; }
.tf-such__titel { display: none; }
html[data-tf-w="schmal"] .tf-sch .tf-such__titel { display: block; position: absolute; left: 31px; top: 9px; font: 700 12.5px/18px var(--schrift); color: #fff; pointer-events: none; }
html[data-tf-w="schmal"] .tf-sch .tf-such__feld { height: 62px; padding: 24px 10px 0; line-height: 34px; font-size: 12.5px; }
html[data-tf-w="schmal"] .tf-sch .tf-such__ic { left: 9px; top: 9px; width: 17px; height: 17px; }
html[data-tf-w="schmal"] .tf-sch .tf-such__kbd { top: 8px; }
.tf-such__x { display: none; position: absolute; right: 1px; top: 1px; }   /* .zu-knopf--gross im Suchfeld */
html[data-tf-w="breit"] .tf-such__feld { height: 46px; padding-left: 40px; font-size: 14px; line-height: 46px; }
html[data-tf-w="breit"] .tf-such__ic { left: 13px; top: 14px; }
html[data-tf-w="breit"] .tf-such__kbd { right: 10px; top: 13px; }
/* aktiv: hell wie Papier – hier geht es jetzt um das Anrufen */
html[data-tf-z="waehlen"] .tf-such__feld, .tf-such__feld:focus { background: var(--tf-hell); color: #2A2624; outline: none;
  box-shadow: 0 8px 18px -12px rgba(30,0,0,.8), inset 0 0 0 2px #f4c35a; }
html[data-tf-z="waehlen"] .tf-such__feld::placeholder, .tf-such__feld:focus::placeholder { color: #6B5F50; }
html[data-tf-z="waehlen"] .tf-such__ic { color: #A82F29; }
html[data-tf-z="waehlen"] .tf-such__kbd { display: none; }
html[data-tf-z="waehlen"] .tf-such__x { display: grid; }

/* ---- Verpasst: schmale Zeile, die ganze Zeile ruft zurück ---- */
.tf-verp { display: none; flex: none; width: 100%; grid-template-columns: 18px minmax(0,1fr) auto; gap: 4px 8px; align-items: center; min-height: 52px;
          padding: 6px 5px 6px 9px; border-radius: 12px; color: #fff; background: rgba(48,4,2,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
html:is([data-tf-z="ruhe"],[data-tf-z="mitlesen"],[data-tf-z="ab"],[data-tf-z="hilfe"]) .tf-verp { display: grid; }
/* Mitlesen: knapp, eine Zeile */
html[data-tf-z="mitlesen"] .tf-verp { min-height: 48px; padding-block: 4px; }
.tf-verp:hover { background: rgba(48,4,2,.3); }
.tf-verp:hover .tf-verp__ruf { background: rgba(255,255,255,.16); }
.tf-verp:active .tf-verp__ruf { transform: scale(.96); }
.tf-verp__ic { width: 18px; height: 18px; color: var(--tf-gold-rot); }
.tf-verp__t { min-width: 0; display: grid; gap: 1px; }
.tf-verp__t small { font: 600 12px/1.25 var(--schrift); color: var(--tf-zart); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-verp__t b { font: 700 13px/1.25 var(--schrift); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-verp__ruf { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 12px;
               border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); font: 700 13px/1 var(--schrift); }
.tf-verp__ruf .tf-si { width: 18px; height: 18px; }
/* 168 px: Text über die volle Breite, der Knopf als eigene Reihe darunter */
html[data-tf-w="schmal"] .tf-verp { grid-template-columns: 16px minmax(0,1fr); padding: 7px 6px 6px 8px; }
html[data-tf-w="schmal"] .tf-verp__ic { width: 16px; height: 16px; align-self: start; margin-top: 1px; }
html[data-tf-w="schmal"] .tf-verp__ruf { grid-column: 1 / -1; height: 40px; }

/* ---- Panel: Zuletzt / Treffer ---- */
.tf-panel { display: none; flex: 0 1 auto; min-height: 0; flex-direction: column; overflow: auto;
           scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
html:is([data-tf-z="breit"],[data-tf-z="waehlen"]) .tf-panel { display: flex; }
.tf-zuletzt, .tf-treffer { display: block; }
.tf-panel__h { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0; font: 700 12.5px/1.2 var(--schrift); color: var(--tf-zart); }
.tf-panel__link { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 8px;
                 font: 700 12.5px/1 var(--schrift); color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.tf-panel__link:hover { text-decoration-color: currentColor; background: rgba(48,4,2,.2); }
.tf-ze { display: grid; grid-template-columns: 20px minmax(0,1fr) 44px; gap: 10px; align-items: center; width: 100%; min-height: 54px;
        padding: 5px 4px 5px 10px; border-top: 1px solid rgba(255,255,255,.16); color: #fff; }
.tf-ze:hover { background: rgba(48,4,2,.2); border-radius: 12px; }
.tf-ze__ic { width: 18px; height: 18px; color: var(--tf-zart); justify-self: center; }
.tf-ze__t { min-width: 0; display: grid; gap: 1px; }
.tf-ze__t b { display: flex; align-items: baseline; gap: 8px; min-width: 0; font: 700 13.5px/1.25 var(--schrift); }
.tf-ze__n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-ze__t b small { flex: none; font: 600 12px/1 var(--schrift); color: var(--tf-zart); }
.tf-ze__t > span { font: 500 12px/1.3 var(--schrift); color: var(--tf-zart); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tf-ze mark { background: none; color: inherit; box-shadow: inset 0 -2px 0 #f7cf72; font-weight: 800; }
.tf-ze__ruf { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; justify-self: end;
             box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); color: #fff; }
.tf-ze__ruf .tf-si { width: 18px; height: 18px; }
.tf-ze.is-verpasst .tf-ze__ic { color: var(--tf-gold-rot); }
.tf-ze.is-verpasst .tf-ze__t > span { color: #fff; font-weight: 700; }
/* markierte Zeile (Enter): heller Knopf, feiner Rahmen */
html[data-tf-z="waehlen"] .tf-ze.is-wahl { background: rgba(48,4,2,.28); border-radius: 12px; border-top-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,233,227,.6); }
html[data-tf-z="waehlen"] .tf-ze.is-wahl + .tf-ze { border-top-color: transparent; }
html[data-tf-z="waehlen"] .tf-ze.is-wahl .tf-ze__ruf { background: var(--tf-hell); color: var(--tf-hell-text); box-shadow: 0 6px 12px -8px rgba(0,0,0,.6); }
.tf-treffer-leer { margin: 4px 6px 0; padding: 10px; border-radius: 12px; background: rgba(48,4,2,.2); font: 600 12.5px/1.4 var(--schrift); }
.tf-panel__tipp { display: none; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 6px; padding: 6px 6px 0;
                 border-top: 1px solid rgba(255,255,255,.16); font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
html[data-tf-z="waehlen"] .tf-panel__tipp { display: flex; }
.tf-panel__tipp kbd { display: inline-block; min-width: 20px; padding: 0 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,233,227,.6), inset 0 -2px 0 rgba(255,233,227,.25);
                     font: 700 11.5px/19px var(--schrift); color: #fff; text-align: center; }

/* ---- Büro (Ruhe): zwei Teile, die wie ein Kasten wirken ---- */
.tf-gruppe { display: none; flex: none; flex-direction: column; background: rgba(48,4,2,.16); overflow: hidden; }
html[data-tf-teil="rest"] .tf-gruppe { display: flex; }
.tf-gruppe--a { border-radius: 12px 12px 0 0; box-shadow: inset 1px 0 0 rgba(255,255,255,.2), inset -1px 0 0 rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.2); }
.tf-gruppe--b { margin-top: -10px; border-radius: 0 0 12px 12px; box-shadow: inset 1px 0 0 rgba(255,255,255,.2), inset -1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(255,255,255,.2); }
.tf-gruppe__kopf { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 2px 9px 0; font: 700 12.5px/1 var(--schrift); color: var(--tf-zart); }
.tf-bereit { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 var(--schrift); color: var(--tf-zart); }
.tf-bereit::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9BE3A8; }

.tf-kol { display: block; width: 100%; padding: 7px 8px 9px; border-top: 1px solid rgba(255,255,255,.16); color: #fff; }
.tf-kol:hover { background: rgba(48,4,2,.2); }
.tf-kol__t { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 1px; }
.tf-kol__wohl { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html[data-tf-w="schmal"] .tf-kol { padding-inline: 6px; }
html[data-tf-w="schmal"] .tf-kol__akte { gap: 3px; font-size: 11.5px; }
html[data-tf-w="schmal"] .tf-kol__akte .tf-kol__chev { width: 14px; height: 14px; }
.tf-kol__tisch { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/1.3 var(--schrift); color: var(--tf-zart); }
.tf-kol__tisch .tf-si { width: 14px; height: 14px; }
.tf-kol__n { display: flex; gap: 6px; align-items: center; min-height: 24px; margin-bottom: 2px; font: 800 13.5px/1.25 var(--schrift); }
.tf-kol__n .tf-av { width: 23px; height: 23px; }
.tf-kol__n small { margin-left: auto; font: 600 12px/1 var(--schrift); color: var(--tf-zart); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tf-kol__mit { font: 700 12.5px/1.3 var(--schrift); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-kol__rolle { font: 500 12px/1.3 var(--schrift); color: var(--tf-zart); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-kol__akte { display: flex; align-items: center; gap: 4px; margin-top: 3px; font: 600 12px/1.2 var(--schrift); color: var(--tf-zart);
               font-variant-numeric: tabular-nums; white-space: nowrap; }
.tf-kol__akte .tf-si { width: 14px; height: 14px; }
.tf-kol__akte .tf-kol__chev { margin-left: auto; width: 16px; height: 16px; transition: transform .2s; }
.tf-kol[aria-expanded="true"] { background: rgba(48,4,2,.24); }
.tf-kol[aria-expanded="true"] .tf-kol__chev { transform: rotate(180deg); }
html[data-tf-w="breit"] .tf-kol__mit { font-size: 13.5px; }
/* Kollege im Büro: Punkt grün = frei (Hub offen), orange = am Telefon, rot = nicht angemeldet (Hub zu). Der Punkt hat
   einen hellen Rand, damit er auf dem Ziegel steht; das Wort rechts sagt dasselbe ohne Farbe. */
.tf-frei { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 9px; border-top: 1px solid rgba(255,255,255,.16);
          font: 700 13.5px/1.25 var(--schrift); color: #fff; }
.tf-frei__n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-frei small { margin-left: auto; flex: none; font: 600 12px/1.2 var(--schrift); color: var(--tf-zart); white-space: nowrap; }
.tf-frei.is-weg .tf-frei__n { color: var(--tf-zart); font-weight: 600; }
/* Anklickbar (hat eine Durchwahl): ruft an. Das Hörer-Zeichen erscheint erst beim Darüberfahren, die Zeile bleibt ruhig. */
/* Das Zeichen liegt über dem rechten Ende und hält keinen Platz frei – so steht der Zustand bündig rechts wie
   „du: bereit“ in der Kopfzeile (Marcel, 30.11.2026). Beim Darüberfahren tauschen Zustand und Hörer den Platz. */
.tf-frei--ruf { position: relative; width: 100%; text-align: left; cursor: pointer; }
.tf-frei--ruf:hover, .tf-frei--ruf:focus-visible { background: rgba(48,4,2,.2); }
.tf-frei__ruf { position: absolute; right: 9px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; opacity: 0; transition: opacity .15s; }
.tf-frei--ruf small { transition: opacity .15s; }
.tf-frei--ruf:hover .tf-frei__ruf, .tf-frei--ruf:focus-visible .tf-frei__ruf { opacity: 1; }
html:not([data-tf-w="schmal"]) .tf-frei--ruf:is(:hover, :focus-visible) small { opacity: 0; }
.tf-punkt { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255,248,238,.9); }
.tf-punkt--frei { background: #4CC46E; }
.tf-punkt--telefon { background: #FFB020; }
.tf-punkt--weg { background: #E5372B; }
html[data-tf-w="schmal"] .tf-frei { flex-wrap: wrap; row-gap: 0; }
html[data-tf-w="schmal"] .tf-frei small { margin-left: 18px; flex-basis: 100%; }
html[data-tf-w="schmal"] .tf-frei__ruf { display: none; }
/* Am Platz oder nicht (Entwurf 96): die einmalige Frage unten in „Im Büro“ */
/* Pop-up „Zeigen, ob du am Platz bist?“ (Entwurf 97, Frage 2 A) – sonst der normale Hub-Dialog */
.tf-anw-dlg .dialog__leib p { margin: 0 0 10px; line-height: 1.45; }
.tf-anw-dlg .dialog__leib ol { margin: 0 0 10px; padding-left: 22px; line-height: 1.6; }
.tf-anw-dlg__klein { font-size: 13px; color: var(--leise); }
.tf-tel__ab { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; width: 100%; min-height: 48px;
             padding: 5px 8px; border-top: 1px solid rgba(255,255,255,.16); color: #fff; }
.tf-tel__ab:hover { background: rgba(48,4,2,.2); }
.tf-tel__ab b { display: block; font: 700 13px/1.2 var(--schrift); }
.tf-tel__ab small { font: 500 12px/1.2 var(--schrift); color: var(--tf-zart); }
.tf-tel__ic { position: relative; display: grid; place-items: center; }
.tf-tel__ab .tf-tel__ic { justify-self: center; }
.tf-zahl { position: absolute; top: -7px; right: -9px; }   /* Abzeichen am Symbol; Signal auf Rot: Gold (.zaehler--signal, Marcel 03.12.2026) */
html[data-tf-z="ab"] .tf-tel__ab { background: rgba(48,4,2,.3); box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }

/* Avatare auf Rot: Zustand über Füllung UND Text, nie nur Farbe */
.tf-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
        font: 800 12px/1 var(--schrift); letter-spacing: -.02em; }
.tf-av--sp { background: #FFF8EF; color: var(--ziegel-tief); }

/* Mitlesen: Annas Gespräch, darunter die Nebeninfo im selben Kasten */
html[data-tf-z="mitlesen"] .tf-wer { margin-top: -10px; padding: 4px 8px 6px; background: rgba(48,4,2,.24);
  box-shadow: inset 1px 0 0 rgba(255,255,255,.2), inset -1px 0 0 rgba(255,255,255,.2); }
html[data-tf-z="mitlesen"] .tf-wer .tf-akte { background: transparent; box-shadow: none; padding: 2px 4px 4px; }
.tf-mithoer { display: none; align-items: center; gap: 7px; padding: 6px 4px 2px; border-top: 1px solid rgba(255,255,255,.16);
             font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-mithoer .tf-si { width: 15px; height: 15px; }
html[data-tf-z="mitlesen"] .tf-mithoer { display: flex; }
html[data-tf-z="mitlesen"] .tf-wer .tf-akte__rolle { display: none; }

/* ---- Eingehender Anruf: oberste Gruppe, satt dunkelrot (aus J) ---- */
.tf-ruf { display: none; flex: none; margin: -8px -7px 0; padding: 12px 14px 14px; color: #fff;
         background: linear-gradient(180deg, var(--tf-ruf-oben) 0%, var(--tf-ruf-mitte) 60%, var(--tf-ruf-unten) 100%);
         box-shadow: 0 12px 20px -14px rgba(30,0,0,.85); }
html[data-tf-teil="ruf"] .tf-ruf { display: block; animation: tf-rein .42s cubic-bezier(.16, 1, .3, 1); }
@keyframes tf-rein { from { transform: translateY(-10px); opacity: .5; } to { transform: none; opacity: 1; } }
.tf-ruf__v { display: block; }
.tf-ruf.is-da, .tf-klopf.is-da { animation: none !important; }
.tf-ruf__wo { display: flex; align-items: center; gap: 6px; font: 600 12px/1.3 var(--schrift); color: var(--tf-zart); }
.tf-ruf__wo .tf-si { width: 16px; height: 16px; }
.tf-ruf__name { margin-top: 8px; font: 800 22px/1.12 var(--schrift); letter-spacing: -.015em; overflow-wrap: anywhere; }
.tf-ruf__rolle { margin-top: 3px; font: 700 13.5px/1.3 var(--schrift); }
.tf-ruf__quelle { margin-top: 5px; font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-ruf__quelle .tf-zahlen { white-space: nowrap; }
.tf-ruf__quelle b { color: #fff; font-weight: 700; }
/* Klingelton gesperrt (nach dem Neuladen noch nichts angeklickt): helle Zeile mit Warum */
.tf-ruf__still { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 12px;
                 background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.tf-ruf__still .tf-si { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.tf-ruf__still b { display: block; font: 700 12.5px/1.3 var(--schrift); color: #fff; }
.tf-ruf__still small { display: block; margin-top: 2px; font: 500 11.5px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-frist-t { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font: 600 12px/1.25 var(--schrift); color: var(--tf-zart); }
.tf-frist { height: 2px; margin-top: 6px; border-radius: 4px; background: rgba(255,255,255,.22); overflow: hidden; }
.tf-frist i { display: block; height: 100%; background: #fff; transform-origin: left; animation: tf-frist 25s linear infinite; }
@keyframes tf-frist { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tf-ruf__knoepfe { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 10px; }
.tf-an { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 56px; border-radius: 16px;
        background: var(--tf-hell); color: var(--tf-hell-text); font: 800 17px/1 var(--schrift);
        box-shadow: 0 10px 22px -10px rgba(0,0,0,.6), inset 0 -2px 0 rgba(142,26,19,.12); }
.tf-an .tf-si { width: 22px; height: 22px; stroke-width: 2; }
.tf-an:hover { background: #fff; }
.tf-an:active { transform: scale(.98); }
.tf-nicht { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0 14px; border-radius: 16px;
           box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); color: #fff; font: 700 13px/1.15 var(--schrift); text-align: center; }
.tf-nicht:hover { background: rgba(255,255,255,.1); }

/* ---- Ausgehend: „Wählt …" ---- */
.tf-aus { display: none; flex: none; padding: 11px 12px 12px; border-radius: 12px; background: rgba(48,4,2,.22);
         box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }
html[data-tf-z="ausgehend"] .tf-aus { display: block; }
.tf-aus__reihe { display: flex; align-items: center; gap: 6px; font: 600 12px/1.3 var(--schrift); color: var(--tf-zart); }
.tf-aus__reihe .tf-si { width: 16px; height: 16px; }
.tf-aus__reihe .tf-zahlen { margin-left: auto; color: #fff; font-weight: 700; }
.tf-aus__wer { margin-top: 7px; font: 800 20px/1.2 var(--schrift); letter-spacing: -.01em; overflow-wrap: anywhere; }
.tf-aus__wer .tf-aus__verb { font-weight: 600; }
.tf-aus__wer small { font: 700 14px/1 var(--schrift); color: var(--tf-zart); white-space: nowrap; }
.tf-aus__rolle { margin-top: 2px; font: 600 12.5px/1.3 var(--schrift); color: var(--tf-zart); }
.tf-aus__ton { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.1);
              font: 600 12.5px/1.3 var(--schrift); }
.tf-aus__ton .tf-si { width: 17px; height: 17px; color: var(--tf-gold-rot); }
.tf-aus__ton i { display: inline-flex; gap: 3px; margin-left: auto; }
.tf-aus__ton i span { width: 5px; height: 5px; border-radius: 50%; background: var(--tf-zart); opacity: .35; animation: tf-ton 1.4s ease-in-out infinite; }
.tf-aus__ton i span:nth-child(2) { animation-delay: .2s; }
.tf-aus__ton i span:nth-child(3) { animation-delay: .4s; }
@keyframes tf-ton { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tf-aus__ton i span { animation: none; opacity: .8; } }
.tf-weg-gross { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 10px;
               border-radius: 12px; background: var(--tf-hell); color: var(--tf-hell-text); font: 800 15px/1 var(--schrift);
               box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.tf-weg-gross:hover { background: #fff; }
.tf-weg-gross:active { transform: scale(.98); }
.tf-weg-gross .tf-si { width: 20px; height: 20px; }

/* ---- Eigenes Gespräch: Kopf mit vier Knöpfen ---- */
.tf-live { display: none; flex: none; padding: 10px 10px 10px; border-radius: 12px; background: rgba(48,4,2,.22);
          box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }
html:is([data-tf-z="gespraech"],[data-tf-z="tastenfeld"],[data-tf-z="anklopfen"],[data-tf-z="weiterleiten"]) .tf-live { display: block; }
.tf-live__reihe { display: flex; align-items: center; gap: 6px; font: 700 12.5px/1 var(--schrift); color: var(--tf-zart); }
.tf-live__reihe::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9BE3A8; }
.tf-live.is-gehalten .tf-live__reihe::before { background: transparent; box-shadow: inset 0 0 0 2px var(--tf-gold-rot); }
.tf-live__dauer { margin-left: auto; font: 800 20px/1 var(--schrift); color: #fff; font-variant-numeric: tabular-nums; }
.tf-live__wer { margin-top: 6px; font: 800 18px/1.2 var(--schrift); overflow-wrap: anywhere; }
.tf-live__rolle { font: 600 12.5px/1.3 var(--schrift); color: var(--tf-zart); }
/* Entwurf 97 B: oben Stumm · Halten · Tastenfeld (klein), darunter Weiterleiten · Konferenz (groß), Auflegen allein
   über die volle Breite. Jeder Knopf trägt seinen Text; „Weiterleiten“ passt auch bei 340 px ganz hinein. */
.tf-live__knoepfe { display: grid; gap: 6px; margin-top: 10px; }
.tf-kn__klein { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.tf-kn__gross { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; }
.tf-sch .tf-knk, .tf-blatt .tf-knk { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 3px;
  border-radius: 12px; color: #fff; background: rgba(255,255,255,.12); font: 700 12px/1.1 var(--schrift); white-space: nowrap; }
.tf-knk .tf-si { width: 16px; height: 16px; flex: none; }
.tf-sch .tf-kng, .tf-blatt .tf-kng { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 6px;
  border-radius: 12px; color: #fff; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,233,227,.35);
  font: 700 13.5px/1.1 var(--schrift); white-space: nowrap; }
.tf-kng .tf-si { width: 18px; height: 18px; flex: none; }
.tf-knk:hover, .tf-kng:hover { background: rgba(48,4,2,.2); }
.tf-knk:active, .tf-kng:active { transform: scale(.97); }
.tf-knk[aria-pressed="true"], .tf-kng[aria-pressed="true"] { background: rgba(48,4,2,.42); box-shadow: inset 0 0 0 1.5px rgba(244,195,90,.95); }
.tf-live__knoepfe > .tf-weg, .tf-konf__k .tf-weg { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px;
  border-radius: 12px; background: var(--tf-hell); color: var(--tf-hell-text); font: 800 14px/1 var(--schrift); }
.tf-live__knoepfe > .tf-weg:hover, .tf-konf__k .tf-weg:hover { background: #fff; }
.tf-live__knoepfe > .tf-weg:active, .tf-konf__k .tf-weg:active { transform: scale(.98); }
.tf-live__knoepfe > .tf-weg .tf-si, .tf-konf__k .tf-weg .tf-si { width: 19px; height: 19px; }

/* Konferenz: wer drin ist, je mit „Rauswerfen“; unten Stumm und „Alle auflegen“ */
.tf-konf__du { margin-top: 4px; font: 600 12px/1.3 var(--schrift); color: var(--tf-zart); }
.tf-konf__du:empty { display: none; }
.tf-tn { list-style: none; margin: 8px 0 0; padding: 0; }
.tf-tn li { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 54px; padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,.16); }
.tf-tn li b { display: block; font: 700 13.5px/1.3 var(--schrift); overflow-wrap: anywhere; }
.tf-tn li small { display: block; font: 500 12px/1.3 var(--schrift); color: var(--tf-zart); }
.tf-tn li > span:nth-child(2) { min-width: 0; }
.tf-tn__leer small { grid-column: 2 / -1; }
.tf-tn__raus { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 10px; border-radius: 8px; color: #fff;
  font: 700 12.5px/1 var(--schrift); box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); white-space: nowrap; }
.tf-tn__raus .tf-si { width: 15px; height: 15px; }
.tf-tn__raus:hover { background: rgba(48,4,2,.25); }
.tf-konf__k { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 6px; margin-top: 8px; }
.tf-konf__k .tf-knk { min-height: 48px; }

/* Wartet: gehaltenes Gespräch (nach Anklopfen oder „Halten und anrufen") */
.tf-wartet { display: none; grid-template-columns: 18px minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 48px; margin-top: 8px;
            padding: 4px 4px 4px 10px; border-radius: 12px; background: rgba(48,4,2,.3); font: 600 12.5px/1.3 var(--schrift); }
html[data-tf-wartet]:is([data-tf-z="ausgehend"],[data-tf-z="gespraech"],[data-tf-z="tastenfeld"],[data-tf-z="weiterleiten"]) .tf-wartet { display: grid; }
.tf-wartet .tf-si { width: 16px; height: 16px; color: var(--tf-gold-rot); }
.tf-wartet b { font-weight: 700; }
.tf-wartet small { display: block; font: 500 12px/1.3 var(--schrift); color: var(--tf-zart); font-variant-numeric: tabular-nums; }
.tf-wartet__k { min-height: 40px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); font: 700 12.5px/1 var(--schrift); }
.tf-wartet__k:hover { background: rgba(48,4,2,.25); }
.tf-wartet__kk { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; }
.tf-wartet__kk .tf-wartet__k { justify-content: center; }
.tf-wartet__k { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; white-space: nowrap; }
.tf-wartet__konf { background: rgba(255,255,255,.18); }
.tf-wartet__konf .tf-si { width: 15px; height: 15px; }
html[data-tf-z="ausgehend"] .tf-wartet__k, html[data-tf-z="ausgehend"] .tf-wartet__kk { display: none; }

/* ---- Anklopfen: zweiter Anruf, schmale dunkelrote Zeile oben ---- */
.tf-klopf { display: none; flex: none; margin: -8px -7px 0; padding: 10px 12px 12px; color: #fff;
           background: linear-gradient(180deg, var(--tf-ruf-oben), var(--tf-ruf-unten)); box-shadow: 0 10px 18px -14px rgba(0,0,0,.8); }
html[data-tf-z="anklopfen"] .tf-klopf { display: block; animation: tf-rein .42s cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) { html[data-tf-z="anklopfen"] .tf-klopf { animation: none; } }
.tf-klopf__t { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; align-items: start; }
.tf-klopf__t .tf-si { width: 18px; height: 18px; margin-top: 1px; color: var(--tf-gold-rot); }
.tf-klopf__t b { display: block; font: 800 14.5px/1.25 var(--schrift); }
.tf-klopf__t small { display: block; margin-top: 2px; font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); font-variant-numeric: tabular-nums; }
.tf-klopf__k { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 9px; }
.tf-klopf .tf-an { min-height: 46px; border-radius: 12px; font-size: 14px; gap: 7px; }
.tf-klopf .tf-an small { font: 600 12px/1 var(--schrift); }
.tf-klopf .tf-an .tf-si { width: 18px; height: 18px; }
.tf-klopf .tf-nicht { min-height: 46px; border-radius: 12px; padding: 0 12px; }

/* ---- Rückfrage beim Weiterleiten ---- */
.tf-rf { display: none; flex: none; padding: 10px; border-radius: 12px; background: rgba(48,4,2,.22); box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }
html[data-tf-z="rueckfrage"] .tf-rf { display: block; }
.tf-rf .tf-wartet { display: grid; }
.tf-rf__knoepfe { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; margin-top: 10px; }
.tf-rf__knoepfe .tf-leer { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 8px; border-radius: 12px;
                         font: 700 13px/1.15 var(--schrift); text-align: center; }
.tf-rf__knoepfe .tf-leer .tf-si { width: 18px; height: 18px; flex: none; }
.tf-rf__ueber { background: var(--tf-hell); color: var(--tf-hell-text); }
.tf-rf__ueber:hover { background: #fff; }
.tf-rf__zurueck { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); }
.tf-rf__zurueck:hover { background: rgba(48,4,2,.25); }
.tf-rf__knoepfe .tf-rf__zurueck { grid-column: 1 / -1; }
.tf-rf__konf { color: #fff; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,233,227,.35); }
.tf-rf__konf:hover { background: rgba(48,4,2,.25); }
.tf-rf__knoepfe .tf-leer:disabled { opacity: .45; cursor: default; transform: none; }

/* ---- Weiterleiten: Liste klappt in der Schiene auf ---- */
.tf-wl { display: none; flex: none; padding: 4px 10px 10px; border-radius: 12px; background: rgba(48,4,2,.24); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
html[data-tf-z="weiterleiten"] .tf-wl { display: block; }
.tf-wl__kopf { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.tf-wl__kopf h3 { flex: 1; margin: 0; font: 700 13px/1.2 var(--schrift); color: #fff; }
/* Feld „Name oder Nummer“: sucht im Team und im Hub, eine Nummer geht immer */
.tf-wl__feld { position: relative; margin: 2px 0 8px; }
.tf-wl__feld .tf-si { position: absolute; left: 11px; top: 13px; width: 17px; height: 17px; pointer-events: none; color: #fff; }
.tf-wl__eingabe { box-sizing: border-box; display: block; width: 100%; height: 44px; padding: 0 10px 0 36px; border: 0; border-radius: 12px;
  background: rgba(48,4,2,.24); box-shadow: inset 0 0 0 1px rgba(255,233,227,.5); color: #fff; font: 600 13.5px/44px var(--schrift); outline: none; }
.tf-wl__eingabe::placeholder { color: var(--tf-zart); opacity: 1; font-weight: 500; }
.tf-wl__eingabe:focus { background: var(--tf-hell); color: #2A2624; box-shadow: 0 8px 18px -12px rgba(30,0,0,.8), inset 0 0 0 2px #f4c35a; }
.tf-wl__eingabe:focus::placeholder { color: #6B5F50; }
.tf-wl__feld:focus-within .tf-si { color: #A82F29; }
.tf-wl ul { list-style: none; margin: 0; padding: 0; }
/* Name oben, Ort und Zustand darunter; die Zeile darf umbrechen und wird höher, die Knöpfe bleiben rechts */
.tf-wl li { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 56px; padding: 6px 0;
           border-top: 1px solid rgba(255,255,255,.16); }
.tf-wl__oben li:first-child, .tf-wl__team li:first-child { border-top: 0; }
.tf-wl__txt { min-width: 0; }
.tf-wl li b { display: block; font: 700 13px/1.3 var(--schrift); overflow-wrap: anywhere; }
.tf-wl li small { display: block; font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-wl__wo { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.tf-wl__wo .tf-si { width: 14px; height: 14px; }
.tf-wl__wo:empty { display: none; }
.tf-wl__frei { color: #fff; font-weight: 600; white-space: nowrap; }
.tf-wl__frei::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #9BE3A8; vertical-align: 1px; }
.tf-wl__grund { color: #fff; font-weight: 600; }
.tf-wl__grund::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #FF8A80;
  box-shadow: 0 0 0 1.5px rgba(255,248,238,.9); vertical-align: 1px; }
.tf-wl li.is-besetzt .tf-wl__txt { grid-column: 2 / -1; }
.tf-wl li.is-besetzt b { color: var(--tf-zart); font-weight: 600; }
.tf-wl li.is-besetzt .tf-av { background: transparent; color: var(--tf-zart); box-shadow: inset 0 0 0 1.5px rgba(255,233,227,.6); }
.tf-wl__k { display: flex; gap: 5px; }
.tf-wl__k .tf-leer { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 9px; border-radius: 8px; color: #fff;
  font: 700 12.5px/1 var(--schrift); box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); white-space: nowrap; }
.tf-wl__k .tf-leer .tf-si { width: 15px; height: 15px; }
.tf-wl__k .tf-leer:hover { background: rgba(48,4,2,.25); }
.tf-wl__k .tf-leer:active { transform: scale(.97); }
/* Uwe Mobil: fest oben, leicht abgehoben (Gold) – damit man sieht, dass es nach draußen geht */
.tf-wl li.tf-wl__fest { padding: 8px; border-top: 0; border-radius: 12px; background: rgba(247,207,114,.13); box-shadow: inset 0 0 0 1px rgba(247,207,114,.5); }
.tf-wl li.tf-wl__nummer { padding: 8px; border-top: 0; border-radius: 12px; background: rgba(255,248,239,.12); margin-bottom: 4px; }
.tf-wl li.tf-wl__fest + li, .tf-wl li.tf-wl__nummer + li { border-top: 0; }
.tf-av--handy { background: rgba(247,207,114,.22); color: var(--tf-gold-rot); }
.tf-av--nr { background: var(--tf-hell); color: #A82F29; }
.tf-av--handy .tf-si, .tf-av--nr .tf-si { width: 15px; height: 15px; }
.tf-nw { white-space: nowrap; }
.tf-wl__gr { margin: 10px 0 2px; font: 700 12px/1 var(--schrift); letter-spacing: .07em; text-transform: uppercase; color: var(--tf-zart); }
.tf-wl__fuss { margin: 6px 0 0; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.16); font: 600 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-av--frei { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* Nicht im Hub, aber schon telefoniert (Mini-Akte): wie oft, wann, die letzten drei Anrufe */
.tf-verlauf b { display: block; font: 700 13px/1.3 var(--schrift); color: #fff; }
.tf-verlauf__liste { list-style: none; margin: 6px 0 4px; padding: 0; }
.tf-verlauf__liste li { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; padding: 3px 0; font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-verlauf__wann { color: #fff; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- Tischtelefon (Ansicht Uwe) ---- */
.tf-tisch { display: none; flex: none; padding: 10px; border-radius: 12px; background: rgba(48,4,2,.22); box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }
html[data-tf-z="tischtelefon"] .tf-tisch { display: block; }
.tf-tisch__still { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; align-items: center; margin-top: 8px; padding: 7px 10px;
                  border-radius: 8px; background: rgba(255,255,255,.1); font: 600 12.5px/1.3 var(--schrift); }
.tf-tisch__still .tf-si { width: 17px; height: 17px; color: var(--tf-zart); }
.tf-tisch__knoepfe { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; margin-top: 8px; }
.tf-tisch__wo { font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-tisch__wl { display: grid; justify-items: start; gap: 2px; min-height: 48px; padding: 6px 12px; border-radius: 12px;
               box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); font: 700 13px/1.1 var(--schrift); }
.tf-tisch__wl span { display: inline-flex; align-items: center; gap: 6px; }
.tf-tisch__wl .tf-si { width: 17px; height: 17px; }
.tf-tisch__wl small { font: 500 12px/1.1 var(--schrift); color: var(--tf-zart); }
.tf-tisch__wl:hover { background: rgba(48,4,2,.25); }
.tf-tisch__soft { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; align-items: center; margin-top: 8px;
                 font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-tisch__soft .tf-si { width: 16px; height: 16px; }

/* ---- Gespräch nach dem Neuladen: „holt zurück“ und Kasten „Gespräch läuft · nicht in diesem Fenster“ ----
   Wie das Tischtelefon (goldener Rand): ein eigenes Gespräch, das gerade nicht hier läuft. Zurückholen ist die helle
   Hauptaktion, Auflegen nur umrandet – beides fragt nach (telefon-schiene.js, tfsZurueckHolen/tfsZurueckAuflegen). */
.tf-zurueck { display: none; flex: none; padding: 10px; border-radius: 12px; background: rgba(48,4,2,.22); box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }
html[data-tf-z="zurueckholen"] .tf-zurueck { display: block; }
.tf-zurueck__titel { margin-bottom: 8px; font: 700 13px/1.3 var(--schrift); }
.tf-zurueck__zeile + .tf-zurueck__zeile { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.22); }
.tf-zurueck .tf-live__reihe b { font-weight: 700; color: #fff; }
.tf-zurueck .tf-live__reihe::before { background: transparent; box-shadow: inset 0 0 0 2px var(--tf-gold-rot); }
.tf-zurueck.is-holt .tf-live__reihe::before { background: var(--tf-gold-rot); box-shadow: none; animation: tf-ton 1.4s ease-in-out infinite; }
.tf-zurueck__knoepfe { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 6px; margin-top: 10px; }
.tf-zurueck__hol, .tf-zurueck__weg { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 8px;
  border-radius: 12px; font: 800 14px/1 var(--schrift); }
.tf-zurueck__hol { background: var(--tf-hell); color: var(--tf-hell-text); box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.tf-zurueck__hol:hover { background: #fff; }
.tf-zurueck__weg { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,233,227,.7); }
.tf-zurueck__weg:hover { background: rgba(48,4,2,.3); }
.tf-zurueck__hol:active, .tf-zurueck__weg:active { transform: scale(.98); }
.tf-zurueck__knoepfe .tf-si { width: 18px; height: 18px; }
.tf-zurueck__still { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; align-items: center; margin-top: 8px; padding: 7px 10px;
  border-radius: 8px; background: rgba(255,255,255,.1); font: 600 12.5px/1.3 var(--schrift); }
.tf-zurueck__still .tf-si { width: 17px; height: 17px; color: var(--tf-zart); }
.tf-live__still { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .tf-zurueck.is-holt .tf-live__reihe::before { animation: none; } }

/* ---- Rückfrage an einer Nummer im Hub (während Gespräch / Klingeln / Wählen) ---- */
.tf-rueck { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; padding: 8px 8px 8px 12px; border-radius: 12px;
           background: var(--sand); box-shadow: inset 0 0 0 1px var(--linie), 0 6px 14px -10px rgba(0,0,0,.35); font: 600 13.5px/1.35 var(--schrift); color: var(--tinte); }
.tf-rueck > span { flex: 1 1 180px; }
.tf-rueck .tf-haupt, .tf-rueck .tf-ruhig { min-height: 44px; }

/* ---- Tastenfeld: klappt IN der Schiene auf ---- */
.tf-tasten { display: none; flex: none; padding: 4px 9px 9px; border-radius: 12px; background: rgba(48,4,2,.24);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
html[data-tf-z="tastenfeld"] .tf-tasten { display: block; }
.tf-tasten__kopf { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 3px; }
.tf-tasten__kopf small { display: block; font: 600 12px/1.2 var(--schrift); color: var(--tf-zart); }
.tf-tasten__anz { display: block; min-height: 28px; font: 800 23px/28px var(--schrift); letter-spacing: .1em; font-variant-numeric: tabular-nums;
                 overflow: hidden; white-space: nowrap; }
.tf-tasten__anz:empty::before { content: "noch nichts gedrückt"; font: 500 13px/28px var(--schrift); letter-spacing: 0; color: var(--tf-zart); }
.tf-tasten__zu { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 9px; border-radius: 12px; color: #fff;
                font: 700 12.5px/1 var(--schrift); box-shadow: inset 0 0 0 1px rgba(255,233,227,.4); }
.tf-tasten__zu:hover { background: rgba(48,4,2,.25); }
.tf-tasten__zu .tf-si { width: 16px; height: 16px; transform: rotate(180deg); }
.tf-tasten__zu kbd { padding: 0 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,233,227,.5); font: 600 11px/18px var(--schrift); color: var(--tf-zart); }
.tf-tasten__feld { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; }
.tf-taste { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 48px; border-radius: 12px; color: #fff;
           background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 -2px 0 rgba(48,4,2,.2);
           transition: transform 70ms ease-out, background 70ms; user-select: none; }
.tf-taste b { font: 700 21px/1 var(--schrift); font-variant-numeric: tabular-nums; }
.tf-taste small { min-height: 13px; font: 600 11px/13px var(--schrift); letter-spacing: .1em; color: var(--tf-zart); }
.tf-taste:hover { background: rgba(255,255,255,.18); }
.tf-taste:hover small { color: #fff; }
.tf-taste:active, .tf-taste.is-gedrueckt { transform: scale(.94); background: rgba(255,255,255,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }

/* ---- Nebeninfo-Blöcke (Mini-Akte aus G) ---- */
.tf-wer { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 0 1 auto; overflow: hidden; }

.tf-akten { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 0 1 auto; overflow: hidden; }
.tf-akten:not(.is-gruppe) { flex: none; }   /* ohne eigene Liste: die Akte bleibt ganz, darunter scrollt „Letzte Kontakte" */
.tf-akte { --a-text: #fff; --a-leise: var(--tf-zart); --a-linie: rgba(255,255,255,.22); --a-leer: rgba(255,233,227,.7);
          --a-jetzt: #FFDC8F; --a-hover: rgba(255,255,255,.08); --tf-akte-grund: #8A2620;
          flex: none; padding: 2px 12px 11px; border-radius: 12px; color: var(--a-text);
          background: rgba(60,6,3,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.tf-akte__kopf { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; width: calc(100% + 16px);
                min-height: 44px; margin: 0 -8px; padding: 0 8px; border-radius: 8px; }
.tf-akte__kopf:hover { background: var(--a-hover); }
.tf-akte__nr { font: 800 15px/1.2 var(--schrift); font-variant-numeric: tabular-nums; letter-spacing: -.005em; }
.tf-akte__vn { font: 700 15px/1.2 var(--schrift); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-akte__auf { display: inline-flex; align-items: center; gap: 2px; font: 700 12.5px/1 var(--schrift); color: var(--a-text);
               text-decoration: underline; text-decoration-color: var(--a-linie); text-underline-offset: 3px; white-space: nowrap; }
.tf-akte__auf .tf-si { width: 16px; height: 16px; }
.tf-akte__kopf:hover .tf-akte__auf { text-decoration-color: currentColor; }
.tf-akte__art { margin-top: -4px; font: 600 13px/1.3 var(--schrift); color: var(--a-leise); }

/* Stand-Verlauf: fünf Stationen, waagerecht (aus G). ol.: schlägt .streifen__inhalt ol im Feld daneben */
ol.tf-stand { list-style: none; margin: 12px 0 0; padding: 0; gap: 0; display: grid;
           grid-template-columns: auto minmax(4px,1fr) auto minmax(4px,1fr) auto minmax(4px,1fr) auto minmax(4px,1fr) auto; }
.tf-st { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; }
.tf-st::before, .tf-st::after { content: ""; position: absolute; top: 6px; height: 2px; background: var(--a-linie); }
.tf-st::before { left: 0; right: 50%; }
.tf-st::after { left: 50%; right: 0; }
.tf-st:first-child::before, .tf-st:last-child::after { display: none; }
.tf-st.is-da::before, .tf-st:has(+ .tf-vb.is-da)::after, .tf-st:has(+ .tf-vb.is-halb)::after { background: var(--a-text); }
.tf-vb { align-self: start; height: 2px; margin-top: 6px; background: var(--a-linie); }
.tf-vb.is-da { background: var(--a-text); }
.tf-vb.is-halb { background: linear-gradient(90deg, var(--a-text), var(--a-linie)); }
.tf-st i { position: relative; z-index: 1; width: 10px; height: 10px; margin: 2px 0 6px; border-radius: 50%;
          background: var(--tf-akte-grund); box-shadow: inset 0 0 0 1.5px var(--a-leer); }
.tf-st.is-da i { background: var(--a-text); box-shadow: none; }
.tf-st.is-jetzt i { width: 14px; height: 14px; margin: 0 0 4px; box-shadow: inset 0 0 0 3px var(--a-jetzt); }
.tf-st b { font: 700 11.5px/1.2 var(--schrift); letter-spacing: -.01em; white-space: nowrap; }
.tf-st span { margin-top: 1px; font: 600 11.5px/1.25 var(--schrift); color: var(--a-leise); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tf-st:not(.is-da):not(.is-jetzt) b { font-weight: 600; color: var(--a-leise); }
.tf-st.is-jetzt b, .tf-st.is-jetzt span { color: var(--a-jetzt); }
.tf-akte__tour { display: flex; gap: 7px; align-items: center; margin-top: 10px; padding: 7px 9px; border-radius: 8px;
                background: rgba(255,255,255,.1); font: 700 12.5px/1.3 var(--schrift); }
.tf-akte__tour .tf-si { width: 17px; height: 17px; color: var(--a-jetzt); }
.tf-akte__rolle { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 7px; align-items: start; margin-top: 10px; padding-top: 9px;
                 border-top: 1px solid var(--a-linie); font: 500 12.5px/1.35 var(--schrift); color: var(--a-leise); }
.tf-akte__rolle .tf-si { width: 16px; height: 16px; margin-top: 1px; }
.tf-akte__rolle b { color: var(--a-text); font-weight: 700; }
html[data-tf-teil="ruf"] .tf-wer .tf-akte__rolle { display: none; }
/* Ausblenden nur, wenn wirklich etwas überläuft (JS setzt .is-mehr) */
.tf-weitere.is-mehr { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); }
.tf-akte__naechst { display: none; margin-top: 6px; font: 700 12.5px/1.3 var(--schrift); color: var(--a-jetzt); }

/* Weitere Treffer: schmale Zeilen, Klick tauscht die Mini-Akte */
.tf-weitere { min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.tf-weitere h3 { margin: 0 4px 4px; font: 700 12.5px/1.3 var(--schrift); color: var(--tf-zart); }
.tf-zeile { display: grid; grid-template-columns: minmax(0,1fr) 16px; gap: 8px; align-items: center; width: 100%; min-height: 46px;
           padding: 5px 8px; border-top: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 0; }
.tf-zeile:hover { background: rgba(48,4,2,.2); border-radius: 8px; }
.tf-zeile b { display: block; font: 700 13px/1.25 var(--schrift); font-variant-numeric: tabular-nums; }
.tf-zeile span { display: block; font: 500 12px/1.3 var(--schrift); color: var(--tf-zart); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-zeile .tf-si { width: 16px; height: 16px; color: var(--tf-zart); }
.tf-zeile:active { background: rgba(48,4,2,.3); }

.tf-nichts { padding: 10px 12px; border-radius: 12px; background: rgba(60,6,3,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
            font: 700 13px/1.35 var(--schrift); }
.tf-nichts small { display: block; margin-top: 4px; font: 500 12px/1.4 var(--schrift); color: var(--tf-zart); }
/* Verzeichniseintrag ohne Auftrag (z. B. Hotline) */
.tf-verz { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 4px 9px; align-items: start; }
.tf-verz > .tf-si { width: 18px; height: 18px; margin-top: 1px; color: var(--tf-zart); }
.tf-verz b { font: 700 13.5px/1.3 var(--schrift); }
.tf-verz small { margin-top: 1px; }
/* Outlook-Kontakt: Rolle unter dem Namen, kleines Merkmal „Outlook“ – Linie und Schrift in der Farbe der Umgebung
   (hell auf Rot in der Schiene, gedämpft im Feld daneben), deshalb nur currentColor */
.tf-verz .tf-verz__rolle { margin-top: 0; font-weight: 600; }
.tf-outlook, .tf-nichts small.tf-outlook, .tf-ze__t b small.tf-outlook { display: inline-flex; align-items: center; gap: 3px; margin: 0;
             padding: 0 6px 0 4px; min-height: 17px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor;
             font: 600 11px/1 var(--schrift); letter-spacing: .01em; vertical-align: 1px; opacity: .92; white-space: nowrap; }
.tf-outlook .tf-si { width: 12px; height: 12px; stroke-width: 1.8; }
.tf-nichts .tf-zeile { margin-top: 8px; border-radius: 8px; }
.tf-nichts .tf-zeile b { font-weight: 600; }

/* Tastenfeld oder Weiterleiten offen: Mini-Akte klappt auf ihren Kopf zu (Satz dazu in .tf-wer__zu) */
.tf-wer__zu { display: none; margin: -4px 4px 0; font: 500 12px/1.3 var(--schrift); color: var(--tf-zart); }
html:is([data-tf-z="tastenfeld"],[data-tf-z="weiterleiten"],[data-tf-z="anklopfen"]) .tf-wer__zu { display: block; }
html[data-tf-z="tastenfeld"] .tf-wer:not(:has(.tf-akte)), html[data-tf-z="weiterleiten"] .tf-wer { display: none; }
html[data-tf-z="tischtelefon"] .tf-akte__rolle { display: none; }
html:is([data-tf-z="tastenfeld"],[data-tf-z="weiterleiten"],[data-tf-z="anklopfen"]) .tf-akte { padding-bottom: 2px; }
html:is([data-tf-z="tastenfeld"],[data-tf-z="weiterleiten"],[data-tf-z="anklopfen"]) :is(.tf-akte > :not(.tf-akte__kopf), .tf-weitere, .tf-nichts .tf-zeile) { display: none; }

/* ---- Büro knapp (bei Anruf und eigenem Gespräch) ---- */
.tf-knapp { display: none; flex: none; grid-template-columns: 23px minmax(0,1fr); gap: 8px; align-items: center; padding: 7px 8px;
           border-top: 1px solid rgba(255,255,255,.22); }
html:is([data-tf-teil="ruf"],[data-tf-z="ausgehend"],[data-tf-z="gespraech"],[data-tf-z="tastenfeld"],[data-tf-z="anklopfen"],[data-tf-z="rueckfrage"],[data-tf-z="tischtelefon"],[data-tf-z="zurueckholen"]) .tf-knapp { display: grid; }
html[data-tf-z="tastenfeld"] .tf-knapp { padding-block: 4px; }
html[data-tf-z="tastenfeld"] .tf-knapp small { display: none; }
.tf-knapp .tf-av { width: 23px; height: 23px; }
.tf-knapp b { display: block; font: 700 12.5px/1.3 var(--schrift); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-knapp small { display: block; font: 500 12px/1.3 var(--schrift); color: var(--tf-zart); font-variant-numeric: tabular-nums;
                 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-knapp__v { display: contents; min-width: 0; }
.tf-knapp__frei { width: 23px; height: 23px; display: grid; place-items: center; }
.tf-knapp__frei::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #fff; }

/* ---- Unten: Hilfe · KI · Neu · Feedback ---- */
.tf-unten { margin-top: auto; flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.tf-sk { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 56px; padding: 6px 2px;
        border-radius: 12px; color: #fff; font: 700 12px/1.1 var(--schrift); text-align: center; }
.tf-sk:hover { background: rgba(48,4,2,.2); }
.tf-sk:active { transform: scale(.96); background: rgba(255,255,255,.2); }
.tf-sk .tf-tel__ic .tf-zahl { right: -11px; }
html[data-tf-z="hilfe"] .tf-sk--hilfe { background: rgba(48,4,2,.3); box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }
.tf-sk--fb { grid-column: 1 / -1; display: flex; justify-content: flex-start; gap: 8px; min-height: 50px; margin-top: 3px; padding: 8px 8px 4px;
            border-top: 1px solid rgba(255,255,255,.28); border-radius: 0 0 12px 12px; font-size: 12.5px; }
/* breite Schiene: Hilfe · KI · Neu in einer Reihe, „Feedback an Marcel" wie schmal mit Strich darüber */
html[data-tf-w="breit"] .tf-unten { border-top: 1px solid rgba(255,255,255,.22); padding-top: 4px; }
html[data-tf-w="breit"] .tf-sk { min-height: 44px; display: flex; align-items: center; gap: 10px; justify-content: center; }
html[data-tf-w="breit"] .tf-sk .tf-tel__ic .tf-zahl { right: -4px; }
html[data-tf-w="breit"] .tf-sk--fb { justify-content: flex-start; min-height: 44px; margin-top: 2px; padding: 6px 8px 2px; gap: 8px; }

/* ---- Feld daneben (Anrufbeantworter, Hilfe) – aus G ---- */
/* Im Feld daneben (.streifen__feld): Reiter, Nachrichten, Mini-Akte auf Papier */
.tf-feld { display: block; }
.tf-reiter { flex: 1; display: flex; gap: 2px; border-bottom: 1px solid var(--linie); min-width: 0; }
.tf-reiter .tf-leer { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px;
                    border-bottom: 3px solid transparent; margin-bottom: -1px; font: 600 14px var(--schrift); color: var(--tf-leise); white-space: nowrap; }
.tf-reiter .tf-leer:hover { color: var(--tinte); }
.tf-reiter .on { color: var(--tinte); font-weight: 800; border-bottom-color: var(--gold); }

.tf-ruhig { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 14px;
           border-radius: 12px; background: var(--flaeche); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie);
           font: 600 13.5px/1 var(--schrift); }
.tf-ruhig:hover { background: var(--sand); }
.tf-ruhig .tf-si { width: 18px; height: 18px; }
.tf-haupt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px;
           background: linear-gradient(180deg, var(--tf-sch-oben), var(--tf-sch-unten)); color: #FFF6E8;
           box-shadow: 0 2px 6px -2px rgba(126,33,28,.45); font: 700 14px/1 var(--schrift); }
.tf-haupt:hover { filter: brightness(1.05); }
.tf-haupt:active { transform: translateY(1px); box-shadow: 0 1px 3px -1px rgba(126,33,28,.45); }
.tf-haupt .tf-si { width: 18px; height: 18px; }

/* ============================================================================
   System Telefon-Feld (Entwurf 92) – Bausteine für Anrufbeantworter, später auch Anrufliste und Schiene.
   Raster      Avatar-Spalte 32 px · Abstand 12 px · Inhalt (.tff-zeile)
   Abstände    4 · 8 · 12 · 16 px (--tff-1 … --tff-4), nichts dazwischen
   Schrift     15/700 Name (.tff-name) · 14/400 Text (.tff-text) · 12,5/600 Nebeninfo (.tff-neben)
   Bausteine   Avatar 32 (.tff-av, Farbe je Art) · Abspielknopf 32, Trefferfläche 44 (.tff-spiel)
               Spur 4 px, Trefferfläche 24, ein echter Schieberegler (.tff-spur) · Chip 32 hoch (.chip aus stil.css)
               Pille 22 hoch (.tff-pille) · Punkt 8 px (.tff-punkt) · Gruppen-Überschrift (.tff-gruppe)
   Farben      Ziegel = handeln · Gelb = neu, noch nicht abgehört · Grün = gelesen/erledigt · Leise = Nebeninfo
   ========================================================================== */
:root {
  --tff-1: 4px; --tff-2: 8px; --tff-3: 12px; --tff-4: 16px; --tff-av: 32px;
  --tff-av-kunde: var(--kohle); --tff-av-vers: #2F5D7C; --tff-av-unbekannt: #6E6355;
  --tff-nb: var(--tf-leise);
  --tff-ok: #2C5A37; --tff-ok-fl: color-mix(in srgb, var(--gut) 13%, var(--flaeche));
}
@media (prefers-color-scheme: dark) { :root:not([data-thema="hell"]) { --tff-ok: #9CCB9F; } }

.tf-feld :focus-visible { outline: 3px solid var(--tf-rot); outline-offset: 2px; }

/* Filter über Anrufliste und Anrufbeantworter (Entwurf 116 B): Feld, darunter in der Anrufliste die Art-Knöpfe, „2 von 14“. */
.tf-filter { display: flex; flex-direction: column; gap: var(--tff-2); margin: var(--tff-3) 0 var(--tff-1); }
.tf-filter__feld { display: flex; align-items: center; gap: var(--tff-2); min-height: 44px; padding: 0 var(--tff-1) 0 var(--tff-3); border-radius: 12px;
  background: color-mix(in srgb, var(--tinte) 5%, var(--flaeche)); box-shadow: inset 0 0 0 1px var(--linie); color: var(--tff-nb); }
.tf-filter__feld:focus-within { background: var(--flaeche); }
.tf-filter__feld .tf-si { width: 18px; height: 18px; flex: none; }
.tf-filter__eingabe { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font: 500 15px/1.3 var(--schrift); color: var(--tinte); outline: none; }
.tf-feld .tf-filter__eingabe:focus-visible { outline: none; }          /* der Rahmen sitzt am ganzen Feld */
.tf-filter__eingabe::placeholder { color: var(--tff-nb); }
.tf-filter__eingabe::-webkit-search-cancel-button { display: none; }
.tf-filter__feld:has(.tf-filter__eingabe:focus-visible) { outline: 3px solid var(--tf-rot); outline-offset: 2px; }
.tf-filter__arten { display: flex; flex-wrap: wrap; gap: var(--tff-2); }
.tf-filter__art { min-height: 32px; padding: 0 var(--tff-3); border-radius: 999px; font: 700 13px/1 var(--schrift); color: var(--tinte);
  background: color-mix(in srgb, var(--tinte) 5%, var(--flaeche)); box-shadow: inset 0 0 0 1px var(--linie); }
.tf-filter__art { position: relative; }
.tf-filter__art::after { content: ""; position: absolute; inset: -6px -2px; }          /* Trefferfläche 44 */
.tf-filter__art:hover { background: color-mix(in srgb, var(--tinte) 10%, var(--flaeche)); }
.tf-filter__art[aria-pressed="true"] { background: var(--tinte); color: var(--flaeche); box-shadow: none; }
.tf-filter__zahl:empty { display: none; }
.tf-filter__leer { padding: var(--tff-4) var(--tff-2); text-align: center; color: var(--tff-nb); }
.tf-filter__leer p { margin: 0 0 var(--tff-2); font: 600 14px/1.4 var(--schrift); }
.tf-feld mark { background: none; color: inherit; font-weight: 800; box-shadow: inset 0 -2px 0 var(--gold); }
.tff-gruppe { margin: var(--tff-3) 0 var(--tff-1); font: 700 12.5px/1.3 var(--schrift); color: var(--tff-nb); }
.tff-neben { font: 600 12.5px/1.35 var(--schrift); color: var(--tff-nb); font-variant-numeric: tabular-nums; }
.tff-name { font: 700 15px/1.3 var(--schrift); color: var(--tinte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.tff-text { display: block; margin-top: var(--tff-1); font: 400 14px/1.5 var(--schrift); color: var(--tinte); }
.tff-av { width: var(--tff-av); height: var(--tff-av); border-radius: 999px; display: grid; place-items: center; flex: none;
          font: 800 12px/1 var(--schrift); color: #fff; background: var(--tff-av-kunde); }
.tff-av--v { background: var(--tff-av-vers); }
.tff-av--u { background: var(--tff-av-unbekannt); }
.tff-av--sym { background: var(--sand); color: var(--tinte); }                   /* Symbol statt Kürzel (Anrufliste) */
.tff-av--sym .tf-si { width: 16px; height: 16px; }
.is-verpasst > .tff-av--sym { background: var(--ziegel); color: #fff; }
.tff-pille { display: inline-flex; align-items: center; gap: var(--tff-1); height: 22px; padding: 0 var(--tff-2); border-radius: 999px;
             background: var(--sand); color: var(--tinte); font: 700 12px/1 var(--schrift); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tff-pille .tf-si { width: 12px; height: 12px; stroke-width: 2.4; }
.tff-pille--ok { background: var(--tff-ok-fl); color: var(--tff-ok); }
/* Chips sind .chip (stil.css). Hier nur, was die Schiene anders braucht: Zurückrufen rot, rund, nur Text */
.chip .tf-si { stroke-width: 2.2; }
.tff-chip--rot { background: var(--ziegel); color: #FFF8EE; border-color: transparent; }
.tff-chip--rot:hover { background: var(--ziegel-tief); }
.tff-chip--rund { width: 32px; padding: 0; }
.tff-chip--text { border-color: transparent; background: transparent; padding: 0 var(--tff-2); }
/* Erledigt/gelesen bleibt grün (Entwurf 110/120 A): das ist ein Stand, keine Auswahl */
.tf-anruf__erledigt[aria-pressed="true"], .tf-anruf__erledigt[aria-pressed="true"]:hover { background: var(--tff-ok-fl); color: var(--tff-ok); border-color: var(--tff-ok); box-shadow: inset 0 0 0 .5px var(--tff-ok); }
.tff-chip__text { overflow: hidden; text-overflow: ellipsis; }
.tff-spiel { position: relative; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; flex: none;
             background: var(--ziegel); color: #fff; cursor: pointer; }
.tff-spiel::after { content: ""; position: absolute; inset: -6px; }               /* Trefferfläche 44 */
.tff-spiel .tf-si { width: 13px; height: 13px; stroke-width: 2.6; }
.tff-spur { position: relative; flex: 1; min-width: 0; height: 24px; display: flex; align-items: center; border-radius: 999px; }
.tff-spur::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--tff-nb); }
.tff-spur__fuell { position: absolute; left: 0; width: 0; height: 4px; border-radius: 4px; background: var(--ziegel); }
.tff-spur__fuell::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 999px; background: var(--ziegel); }
.tff-spur__regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; min-height: 0; cursor: pointer; }
.tff-spur:has(.tff-spur__regler:focus-visible) { outline: 3px solid var(--tf-rot); outline-offset: 2px; }
.tff-zeit { white-space: nowrap; }
/* Zeile: Raster Avatar · Inhalt (ohne Trenner und ohne eigene Fläche, Entwurf 110) */
.tff-zeile { display: grid; grid-template-columns: var(--tff-av) minmax(0,1fr); gap: 0 var(--tff-3); padding: var(--tff-3) var(--tff-2);
             border-radius: var(--tff-3); cursor: pointer; }
/* Entwurf 110 (Marcel 01.12.2026): keine Trennstriche, keine Sand-Fläche für die ausgewählte Zeile – Anrufbeantworter
   und Anrufliste. Die Zeilen trennt Abstand (.tf-ab-gruppe gap); ausgewählt ist, was aufgeklappt ist. */
.tff-zeile__inhalt { min-width: 0; }
.tff-kopf { display: flex; align-items: center; gap: var(--tff-2); min-width: 0; min-height: 20px; }
.tff-kopf__meta { flex: 1 1 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }   /* kürzt zuerst, der Name behält seinen Platz */
.tff-kopf__rechts { margin-left: auto; display: flex; align-items: center; gap: var(--tff-2); flex: none; }
.tff-leiste { display: flex; align-items: center; gap: var(--tff-2); margin-top: var(--tff-2); }
.tff-chips { display: flex; align-items: center; gap: var(--tff-2); flex-wrap: wrap; margin-top: var(--tff-2); }
/* Avatar wird zum Abspielknopf: beim Darüberfahren, mit Fokus, in der ausgewählten Zeile, beim Spielen; Touch immer */
.tff-av-spiel { position: relative; width: var(--tff-av); height: var(--tff-av); }
.tff-av-spiel .tff-spiel { position: absolute; inset: 0; opacity: 0; transition: opacity .12s; }
.tff-zeile:hover .tff-av-spiel .tff-spiel, .tff-zeile--sel .tff-av-spiel .tff-spiel, .tff-av-spiel .tff-spiel:focus-visible,
.tff-av-spiel.is-spielt .tff-spiel { opacity: 1; }
@media (hover: none) { .tff-av-spiel .tff-spiel { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tff-av-spiel .tff-spiel { transition: none; } }

/* ---- Anrufliste (Entwurf 93 b): wie der AB; wer im Büro als Pille mit Initialen ---- */
.tff-av--rot { background: var(--sand); color: var(--ziegel);
               box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ziegel) 40%, transparent); }
.tff-av--rot .tf-si { width: 16px; height: 16px; }
.tff-pille--wer { padding-left: 2px; gap: 6px; font-size: 12.5px; }
.tff-pille--wer small { font: 600 12px/1 var(--schrift); color: var(--tff-nb); }
.tff-mav { width: 18px; height: 18px; border-radius: 999px; display: inline-grid; place-items: center; flex: none;
           font: 800 9px/1 var(--schrift); color: #fff; }
.tf-anruf__wie { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: var(--tff-1); min-height: 22px; }
.tf-anruf__wie > .tf-si { width: 14px; height: 14px; color: var(--tff-nb); flex: none; }
.tf-anruf__wie.is-rot { font: 700 14px/1.4 var(--schrift); color: var(--ziegel); }
.tf-anruf__pfeil { font: 700 13px/1 var(--schrift); color: var(--tff-nb); }

/* ---- Anrufbeantworter (Entwurf 92 b) aus den Bausteinen ---- */
.tf-ab-gruppe { display: grid; }
.tf-ab__zeile { display: block; width: 100%; min-height: 44px; text-align: left; border-radius: var(--tff-2); }
.tf-ab:not(.tf-ab--neu) .tff-name { font-weight: 600; }
.tf-ab .tff-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tf-ab:not(.tf-ab--neu) .tff-text { color: color-mix(in srgb, var(--tinte) 80%, var(--flaeche)); }
.tf-ab.tff-zeile--sel .tff-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.tff-text--leer { display: block; margin-top: var(--tff-1); }
/* Wann: rechts am Anfang des Texts, der Text fließt drumherum (Marcel 04.12.2026) – oben bleibt Platz für Name und Versicherung */
/* Wann: eigene Zeile unter dem Kopf, rechtsbündig, Laufzeit als Pille dahinter; „neu“ oben rechts, sein letzter
   Buchstabe genau über der letzten Ziffer der Pille (Entwurf 130, Marcel 04.12.2026) */
.tf-ab__wann { display: block; text-align: right; margin-top: var(--tff-1); }
.tf-ab__wann b, .tf-ab__neu b { font-weight: 800; }
.tf-ab__wann .tff-pille { margin-left: var(--tff-1); }
.tf-ab__neu { padding-right: var(--tff-2); }
.tf-ab__hinweis { margin: var(--tff-1) 0 0; }
.tf-ab__band { display: flex; align-items: center; flex-wrap: wrap; gap: var(--tff-2); margin-top: var(--tff-2); padding: var(--tff-2) var(--tff-3);
               border-radius: var(--tff-2); border: 1px dashed color-mix(in srgb, var(--tff-av-vers) 55%, var(--linie));
               background: color-mix(in srgb, var(--tff-av-vers) 7%, var(--flaeche)); font: 400 13px/1.35 var(--schrift); }
.tf-ab__band-text { flex: 1 1 160px; }
.tf-ab__anlegen { margin-left: auto; border-color: var(--tff-av-vers); box-shadow: inset 0 0 0 .5px var(--tff-av-vers); }
.tf-ab__anlegen[disabled] { cursor: progress; opacity: .75; }
/* Pop-up „Kontakt anlegen?“ (abkontakt.js, Entwurf 108 A) – sonst wie „Sachbearbeiter anlegen?“ im Postfach */
.ak-dialog .pf-sb__quelle { white-space: pre-line; }
.ak-schon { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; border-radius: 8px;
            border: 1.5px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--flaeche)); font-size: 13.5px; }
.ak-schon > span { flex: 1 1 220px; }
.ak-schon button { min-height: 44px; }
.ak-mail { margin: 0; font-size: 13px; }
.tf-ab__mehr { margin-left: auto; }
.tf-ab__akte { max-width: 100%; }
.tf-ab__menue { display: grid; width: max-content; min-width: 220px; margin: var(--tff-2) 0 0 auto; padding: 6px; border-radius: var(--tff-3);
               background: var(--flaeche); box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); }
.tf-ab__menuepunkt { display: flex; align-items: center; min-height: 44px; padding: 0 var(--tff-3); border-radius: var(--tff-2);
                    font: 600 14px/1.2 var(--schrift); color: var(--tinte); }
.tf-ab__menuepunkt:hover { background: var(--sand); }

.tf-rund { position: fixed; right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 36; border: 0; padding: 0; cursor: pointer; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
          color: #fff; background: linear-gradient(180deg, var(--ziegel-hell), var(--ziegel-tief));
          box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 8px 18px -8px rgba(126,33,28,.7); }
.tf-rund .tf-si { width: 24px; height: 24px; }
.tf-rund .tf-zahl { top: -2px; right: -2px; }
.tf-rund__info { position: fixed; right: 84px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 36; padding: 6px 11px; border-radius: 16px; background: var(--flaeche);
                box-shadow: var(--schatten), inset 0 0 0 1px var(--linie); font: 600 12px/1.3 var(--schrift); color: var(--tinte); white-space: nowrap; }
.tf-rund__info span { display: block; color: var(--tf-leise); font-weight: 500; }
.tf-blatt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-height: 88dvh; overflow: auto; padding: 14px 12px calc(14px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; color: #fff;
           background: linear-gradient(180deg, var(--tf-ruf-oben), var(--tf-ruf-unten)); box-shadow: 0 -20px 40px -20px rgba(0,0,0,.6);
           display: flex; flex-direction: column; gap: 8px; }
.tf-blatt--normal { background: linear-gradient(180deg, var(--tf-sch-oben), var(--tf-sch-unten)); }
.tf-blatt .tf-ruf__name { font-size: 19px; margin-top: 2px; }
.tf-blatt .tf-ruf__rolle { font-size: 12.5px; margin-top: 1px; }
.tf-blatt .tf-akte { padding: 2px 10px 10px; }
.tf-blatt .tf-akte__nr, .tf-blatt .tf-akte__vn { font-size: 13.5px; }
.tf-blatt .tf-akte__auf span { display: none; }
.tf-blatt ol.tf-stand { margin-top: 8px; }
.tf-blatt .tf-st b, .tf-blatt .tf-st span { display: none; }
.tf-blatt .tf-akte__naechst { display: block; }
.tf-blatt .tf-frist-t { margin-top: 2px; }
.tf-blatt .tf-an { min-height: 52px; }
.tf-blatt .tf-nicht { min-height: 44px; }
.tf-blatt .tf-ruf__knoepfe { grid-template-columns: 1fr; margin-top: 4px; gap: 6px; }
.tf-blatt .tf-live { display: block; padding: 9px; }
.tf-blatt .tf-zeile, .tf-blatt .tf-ze { min-height: 48px; padding: 4px 6px; }
.tf-blatt .tf-such__feld { height: 46px; line-height: 46px; padding-left: 38px; background: var(--tf-hell); color: #2A2624; box-shadow: inset 0 0 0 2px #f4c35a; }
.tf-blatt .tf-such { display: block; }
.tf-blatt .tf-such__ic { left: 12px; top: 14px; color: #A82F29; }
.tf-blatt .tf-panel__h { padding-top: 4px; }

/* ----------------------------------------------------------------------
   Ergänzungen für den Hub
   ---------------------------------------------------------------------- */
/* Knöpfe ohne .tf-leer: die Grundform von button (stil.css) zurücknehmen */
.tf-lasche, .tf-rund { min-height: 0; border: 0; font: inherit; }

/* Nicht verbunden: mit Warum, damit niemand rätselt, warum über das eigene Gerät gewählt wird */
.tf-warn { flex: none; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; align-items: start; padding: 8px 10px;
           border-radius: 12px; background: rgba(48,4,2,.28); box-shadow: inset 0 0 0 1px rgba(244,195,90,.95); }
.tf-warn .tf-si { width: 18px; height: 18px; margin-top: 1px; color: var(--tf-gold-rot); }
.tf-warn b { display: block; font: 700 13px/1.3 var(--schrift); }
.tf-warn small { display: block; margin-top: 2px; font: 500 12px/1.35 var(--schrift); color: var(--tf-zart); }
html[data-tf-w="schmal"] .tf-warn { grid-template-columns: minmax(0,1fr); }
html[data-tf-w="schmal"] .tf-warn .tf-si { display: none; }
html[data-tf-w="schmal"] .tf-warn small { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* 2 s nach dem Auflegen */
.tf-ende { flex: none; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 10px; border-radius: 12px;
           background: rgba(48,4,2,.22); font: 700 12.5px/1.3 var(--schrift); font-variant-numeric: tabular-nums; }
.tf-ende .tf-si { width: 18px; height: 18px; color: var(--tf-zart); }

.tf-bereit.is-aus::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tf-gold-rot); }
.tf-nichts--klein { padding: 6px 10px; font: 500 12px/1.35 var(--schrift); }

/* Anrufliste im Feld daneben (gleicher Baustein wie die Nachrichten) */
.tf-feld { font-size: 14px; }
.tf-reiter .tf-leer { cursor: pointer; }

/* Handy: runder Knopf (über dem Knopf des Streifens) und Blatt von unten */
.tfs-handy { display: none; }
.tf-blatt__in { display: flex; flex-direction: column; gap: 8px; }
.tf-blatt__zu { align-self: flex-end; margin: -8px -4px -10px 0; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,233,227,.55); }   /* .zu-knopf--gross auf Rot */
.tf-blatt .tf-panel { display: flex; }
.tf-blatt .tf-sch__in { width: auto; }
@media (max-width: 900px) {
  .tfs-handy { display: block; }
  .streifen .tf-sch, .tf-lasche { display: none !important; }
}

/* ---- iPhone als Hauptgerät (telefon-leitung.js, Abschnitt „iPhone“): dezentes Merkmal, Gespräch „am iPhone“ ---- */
.tf-bereit--iphone::before { content: none; }
.tf-bereit--iphone .tf-si { width: 13px; height: 13px; color: #9BE3A8; }
.tf-live--iphone .tf-live__knoepfe { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.tf-am-iphone .tf-si { color: var(--tf-zart); }

/* ==========================================================================
   Aqua-Gel (Entwurf 109, Marcel 01.12.2026: Variante C, dazu Annehmen und Auflegen)
   Glänzende Gel-Knöpfe wie Mac OS X/iTunes um 2001 – bewusst nur an diesen Stellen: der Abspielknopf im
   Anrufbeantworter (pulsiert, solange die Nachricht läuft), Annehmen (grün) und Auflegen (rot). Nur CSS:
   ::before ist die weiße Glanzkappe (z-index -1 in eigenem Stapel, damit Zeichen und Text darüber liegen),
   unten glüht das Gel heller. ::after bleibt frei (Trefferfläche beim Abspielknopf).
   ========================================================================== */
.tff-spiel, .tf-an, .tf-weg-gross, .tf-live__knoepfe > .tf-weg, .tf-konf__k .tf-weg { position: relative; isolation: isolate; }
.tff-spiel::before, .tf-an::before, .tf-weg-gross::before, .tf-live__knoepfe > .tf-weg::before, .tf-konf__k .tf-weg::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.92), rgba(255,255,255,.14)); }

/* Abspielknopf: roter Gel-Tropfen. Ohne CSS-Filter (brightness/drop-shadow): Filter rechnen den Knopf als Bild, der Rand
   wird dann stufig (Marcel 01.12.2026: „grieselig“). Hover, Drücken und Pulsieren ändern nur Verlauf und Schatten. */
.tff-spiel { color: #fff;
  background: radial-gradient(circle at 50% 118%, #FF8C7A 0%, #E23B2E 40%, #B3180F 72%, #8A100A 100%);
  box-shadow: 0 0 0 1px rgba(110,12,6,.55), 0 1px 2px rgba(60,0,0,.35),
              inset 0 -2px 4px rgba(255,170,150,.45), inset 0 1px 1px rgba(80,0,0,.45); }
.tff-spiel::before { left: 16%; right: 16%; top: 6%; height: 44%; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; }
.tff-spiel .tff-spiel__z { width: 18px; height: 18px; margin: 0; fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.tff-spiel .tff-spiel__z rect { stroke: none; }      /* Pause: ohne Rand, sonst wachsen die Balken zusammen */
.tff-spiel:hover { background: radial-gradient(circle at 50% 118%, #FFA090 0%, #EC4A3C 40%, #C0221A 72%, #94140D 100%); }
.tff-spiel:active { background: radial-gradient(circle at 50% 118%, #E66C5C 0%, #BD2B20 40%, #8F120B 72%, #640905 100%); }
.tff-av-spiel.is-spielt .tff-spiel { animation: tff-gel-puls 1.6s ease-in-out infinite; }
@keyframes tff-gel-puls {
  0%, 100% { box-shadow: 0 0 0 1px rgba(110,12,6,.55), 0 0 0 1px rgba(226,59,46,0), 0 1px 2px rgba(60,0,0,.35),
                         inset 0 -2px 4px rgba(255,170,150,.45), inset 0 1px 1px rgba(80,0,0,.45); }
  50% { box-shadow: 0 0 0 1px rgba(110,12,6,.55), 0 0 0 5px rgba(226,59,46,.22), 0 1px 2px rgba(60,0,0,.35),
                    inset 0 -3px 6px rgba(255,200,180,.75), inset 0 1px 1px rgba(80,0,0,.45); } }
@media (prefers-reduced-motion: reduce) {
  .tff-av-spiel.is-spielt .tff-spiel { animation: none;
    box-shadow: 0 0 0 1px rgba(110,12,6,.55), 0 0 0 3px rgba(226,59,46,.28), inset 0 -2px 4px rgba(255,170,150,.45), inset 0 1px 1px rgba(80,0,0,.45); } }

/* Annehmen: grüne Gel-Kapsel */
.tf-an, .tf-an:hover { color: #fff; text-shadow: 0 1px 1px rgba(0,50,10,.55);
  background: radial-gradient(120% 140% at 50% 125%, #A6F09A 0%, #34A040 36%, #1D7329 70%, #114F1A 100%);
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.6), 0 1px 2px rgba(0,40,10,.5), inset 0 -3px 6px rgba(190,255,180,.45),
              inset 0 1px 1px rgba(0,60,10,.6), inset 0 0 0 1px rgba(255,255,255,.35); }
.tf-an .tf-si { filter: drop-shadow(0 1px 0 rgba(0,50,10,.5)); }
.tf-an:hover { filter: brightness(1.07); }
.tf-an:active { filter: brightness(.85); }

/* Auflegen: rote Gel-Kapsel (mit hellem Rand, damit sie auf der roten Leiste steht) */
.tf-weg-gross, .tf-weg-gross:hover, .tf-live__knoepfe > .tf-weg, .tf-live__knoepfe > .tf-weg:hover, .tf-konf__k .tf-weg, .tf-konf__k .tf-weg:hover {
  color: #fff; text-shadow: 0 1px 1px rgba(80,0,0,.6);
  background: radial-gradient(120% 140% at 50% 125%, #FF9C8A 0%, #E8402F 36%, #B3140C 70%, #6E0904 100%);
  box-shadow: 0 8px 18px -10px rgba(0,0,0,.7), 0 1px 2px rgba(50,0,0,.55), inset 0 -3px 6px rgba(255,180,160,.45),
              inset 0 1px 1px rgba(70,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.55); }
.tf-weg-gross .tf-si, .tf-live__knoepfe > .tf-weg .tf-si, .tf-konf__k .tf-weg .tf-si { filter: drop-shadow(0 1px 0 rgba(80,0,0,.5)); }
.tf-weg-gross:hover, .tf-live__knoepfe > .tf-weg:hover, .tf-konf__k .tf-weg:hover { filter: brightness(1.07); }
.tf-weg-gross:active, .tf-live__knoepfe > .tf-weg:active, .tf-konf__k .tf-weg:active { filter: brightness(.85); }

/* Glanzkappe der Kapseln: obere Hälfte, mit Abstand zum Rand */
.tf-an::before, .tf-weg-gross::before, .tf-live__knoepfe > .tf-weg::before, .tf-konf__k .tf-weg::before {
  left: 8px; right: 8px; top: 2px; height: 48%; border-radius: 12px 12px 40% 40% / 12px 12px 60% 60%; opacity: .85; }

/* ==========================================================================
   Ungelesen und gelesen (Entwurf 110, Marcel 01.12.2026: A Gelb; Knopf „Habe ich gelesen ✓“ → grün „Wurde gelesen ✓“)
   Neue Nachrichten liegen auf Textmarker-Gelb, abgehörte ohne Fläche. Keine Trennstriche, keine Sand-Fläche für die
   aufgeklappte Nachricht – sie ist aufgeklappt, das reicht. Der Abspielknopf steht bei neuen immer da.
   ========================================================================== */
.tf-ab-gruppe { gap: 6px; }
.tf-ab--neu.tff-zeile, .tf-ab--neu.tff-zeile--sel { background: #FFE58A; }
.tf-ab--neu, .tf-ab--neu .tff-name, .tf-ab--neu .tff-text { color: #2A2420; }
.tf-ab--neu .tff-name { font-weight: 800; }
.tf-ab--neu .tff-neben, .tf-ab--neu .tff-zeit, .tf-ab--neu .tf-ab__hinweis { color: #5A4A20; }
.tf-ab--neu :is(.tf-ab__wann, .tf-ab__neu) { color: #2A2420; }
.tf-ab--neu .tff-pille { background: rgba(42,36,32,.10); color: #2A2420; }
.tf-ab--neu .chip:not(.tff-chip--rot) { background: rgba(42,36,32,.10); border-color: transparent; color: #2A2420; }
.tf-ab--neu .chip:not(.tff-chip--rot):hover { background: rgba(42,36,32,.18); }
.tf-ab--neu .tff-spur::before { background: rgba(42,36,32,.25); }
.tf-ab--neu .tf-ab__band { background: rgba(255,255,255,.55); }
.tf-ab--neu .tff-av-spiel .tff-spiel { opacity: 1; }
.tf-ab__erledigt { padding: 0 var(--tff-3); }
.tf-ab__erledigt .tf-si { order: 2; }
.tf-ab__erledigt.is-gelesen, .tf-ab__erledigt.is-gelesen:hover { background: var(--tff-ok-fl); color: var(--tff-ok); border-color: var(--tff-ok); box-shadow: inset 0 0 0 .5px var(--tff-ok); }
.tf-ab__gelesen-von { flex-basis: 100%; margin: 2px 0 0; font-size: 12.5px; }
.tf-ab__leser { flex-basis: 100%; }   /* mehrere Leser: je eine Zeile */

/* „Zuletzt“ (Marcel 01.12.2026): Name öffnet die Einzelheiten, nur der runde Hörer ruft an (seit 02.12.2026 sofort).
   Zwei Knöpfe statt einer Zeile als Knopf; nicht abgehörte Nachricht: gelber Kreis unter dem Symbol. Die Treffer der
   Suche (.tf-ze--treffer) sind genauso gebaut: Kachel fragt „… anrufen?“, Hörer wählt. */
.tf-ze--zuletzt { grid-template-columns: minmax(0,1fr) 44px; gap: 6px; padding: 3px 4px 3px 4px; }
.tf-ze__haupt { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; align-items: center; min-height: 48px; padding: 0 4px;
  text-align: left; color: inherit; border-radius: 12px; }
.tf-ze__icw { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.tf-ze__icw.is-neu { background: #FFE58A; box-shadow: 0 1px 2px rgba(48,4,2,.35); }
.tf-ze__icw.is-neu .tf-ze__ic { color: #2A2420; }
.tf-ze.is-ab-neu .tf-ze__t > span { color: #fff; font-weight: 700; }
.tf-ze__ruf:hover { background: rgba(255,255,255,.14); }
/* Uwe Mobil unter „Zuletzt“: golden abgesetzt wie beim Weiterleiten (geht nach draußen, Uwe ist nicht im Büro) */
/* „Kurzwahl“ unter „Zuletzt“: eigener Block, der nicht schrumpft – bei wenig Höhe zeigt „Zuletzt“ weniger Anrufe
   (tfsZuletztKuerzen blendet von unten aus, was nicht ganz passt), gescrollt wird nicht */
.tf-zuletzt { min-height: 0; overflow: hidden; }
.tf-ze.is-passt-nicht { display: none; }
.tf-kurzwahl { flex: none; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.16); }
.tf-kurzwahl .tf-panel__h { min-height: 34px; }
.tf-ze--fest { border-top: 0; border-radius: 12px; background: rgba(247,207,114,.13); box-shadow: inset 0 0 0 1px rgba(247,207,114,.5); }
.tf-ze--fest .tf-ze__icw { background: rgba(247,207,114,.22); }
.tf-ze--fest .tf-ze__ic { color: var(--tf-gold-rot); }
.tf-ze--fest:hover { background: rgba(247,207,114,.2); }
.tf-ze--fest .tf-ze__ruf { box-shadow: inset 0 0 0 1px rgba(247,207,114,.75); }
.tf-ze__ruf:active { transform: scale(.94); }

/* ==========================================================================
   Anrufliste als Kacheln (Entwurf 111 D, Marcel 01.12.2026: „weiß in weiß“, man sah nicht, wo ein Anruf endet,
   und der angeklickte war nicht hervorgehoben). Das Feld bleibt weiß; jeder Anruf ist eine eigene Kachel mit
   neutraler Fläche und Luft dazwischen – kein Rosé, kein Sand, keine Striche, kein Rahmen, kein Schatten. Der
   aufgeklappte Anruf ist eine volle rote Fläche im Verlauf der Schiene, mit allem, was der Hub dazu weiß, und
   „Bisher: n Anrufe“ klappt genau diese Anrufe auf. In „Zuletzt“ ist die Zeile des offenen Anrufs markiert.
   ========================================================================== */
:root { --tf-kachel: color-mix(in srgb, var(--tinte) 5%, var(--flaeche)); --tf-kachel-hover: color-mix(in srgb, var(--tinte) 9%, var(--flaeche)); }
.tf-anruf-gruppe { gap: var(--tff-2); }
.tf-anruf-gruppe + .tf-anruf-gruppe { margin-top: var(--tff-2); }
.tff-zeile.tf-anruf { background: var(--tf-kachel); padding: var(--tff-3); }
.tff-zeile.tf-anruf:not(.tff-zeile--sel):hover { background: var(--tf-kachel-hover); }
/* Farbe je Art (Entwurf 131 C, Marcel 04.12.2026): angenommen Himmelblau, ausgehend (auch nicht erreicht) Grau, verpasst
   Rot, Anrufbeantworter Gold wie eine neue Nachricht. Gewählt bleibt Rot, verpasst + erledigt Grün (beides weiter unten). */
:root { --tf-anruf-ein: linear-gradient(180deg, #D6E7F8, #BBD5EF); --tf-anruf-raus: color-mix(in srgb, var(--tinte) 13%, var(--flaeche));
        --tf-anruf-verp: linear-gradient(180deg, color-mix(in srgb, var(--ziegel) 18%, #fff), color-mix(in srgb, var(--ziegel) 30%, #fff));
        --tf-anruf-ab: linear-gradient(180deg, #FFE68E, #F8CF58); --tf-anruf-verp-text: #8E211B; }
@media (prefers-color-scheme: dark) { :root:not([data-thema="hell"]) {
  --tf-anruf-ein: linear-gradient(180deg, #2A4253, #223746); --tf-anruf-verp: linear-gradient(180deg, #552A26, #4A2420);
  --tf-anruf-ab: linear-gradient(180deg, #55471F, #4A3D1A); --tf-anruf-verp-text: #FF9C93; } }
.tff-zeile.tf-anruf.is-ein:not(.tff-zeile--sel) { background: var(--tf-anruf-ein); }
.tff-zeile.tf-anruf.is-raus:not(.tff-zeile--sel) { background: var(--tf-anruf-raus); }
.tff-zeile.tf-anruf.is-verpasst:not(.tff-zeile--sel):not(.is-erledigt) { background: var(--tf-anruf-verp); }
.tff-zeile.tf-anruf.is-ab:not(.tff-zeile--sel) { background: var(--tf-anruf-ab); }
.tff-zeile.tf-anruf:is(.is-ein, .is-raus, .is-ab, .is-verpasst:not(.is-erledigt)):not(.tff-zeile--sel):hover { filter: brightness(.97); }
.tf-anruf.is-verpasst:not(.tff-zeile--sel):not(.is-erledigt) .tf-anruf__wie.is-rot { color: var(--tf-anruf-verp-text); }
.tf-anruf:is(.is-ein, .is-raus, .is-ab, .is-verpasst):not(.tff-zeile--sel):not(.is-erledigt) :is(.tff-pille, .tff-pille--wer) { background: rgba(42,36,32,.10); }
.tff-zeile.tf-anruf.tff-zeile--sel { background: linear-gradient(180deg, var(--tf-sch-oben), var(--tf-sch-unten)); color: #fff; padding: 14px var(--tff-3) var(--tff-4); }
.tf-anruf.tff-zeile--sel .tff-name { color: #fff; }
.tf-anruf.tff-zeile--sel :is(.tff-neben, .tf-anruf__pfeil, .tff-pille--wer small),
.tf-anruf.tff-zeile--sel .tf-anruf__wie > .tf-si { color: var(--tf-zart); }
.tf-anruf.tff-zeile--sel .tff-pille { background: rgba(255,255,255,.18); color: #fff; }
.tf-anruf.tff-zeile--sel .tf-anruf__wie.is-rot { color: #fff; }
.tf-anruf.tff-zeile--sel .tff-av { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.tf-anruf.tff-zeile--sel .tff-av--rot { background: var(--tf-hell); color: var(--ziegel); }
.tf-anruf.tff-zeile--sel :focus-visible { outline-color: var(--tf-gold-rot); }
/* Einzelheiten: zwei Spalten, wo Platz ist */
.tf-anruf__det { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 18px; margin: var(--tff-3) 0 0;
                 padding-top: var(--tff-3); border-top: 2px solid rgba(255,233,227,.35); }
.tf-anruf__d { min-width: 0; }
.tf-anruf__d.is-breit { grid-column: 1 / -1; }
.tf-anruf__d dt { font: 600 12px/1.35 var(--schrift); color: var(--tf-zart); }
.tf-anruf__d dd { margin: 0; font: 600 14px/1.4 var(--schrift); color: #fff; overflow-wrap: anywhere; }
.tf-anruf__auftraege { display: grid; gap: 2px; }
.tf-anruf__akte { min-height: 28px; font: 700 14px/1.4 var(--schrift); color: #fff; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tf-anruf__akte:hover { text-decoration-color: var(--tf-gold-rot); }
/* „Bisher: 5 Anrufe …“ ist ein Knopf; offen hell mit gedrehtem Pfeil */
.tf-anruf__bisher { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 2px; padding: 0 10px 0 12px; border-radius: 999px;
                    font: 700 14px/1.2 var(--schrift); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,233,227,.6); position: relative; }
.tf-anruf__bisher::after { content: ""; position: absolute; inset: -6px -2px; }          /* Trefferfläche 44 */
.tf-anruf__bisher:hover { background: rgba(255,255,255,.12); }
.tf-anruf__bisher .tf-si { width: 16px; height: 16px; transition: transform .15s; }
.tf-anruf__bisher[aria-expanded="true"] { background: var(--tf-hell); color: var(--tf-hell-text); box-shadow: none; }
.tf-anruf__bisher[aria-expanded="true"] .tf-si { transform: rotate(180deg); }
.tf-anruf__verlauf { display: grid; gap: 3px; margin-top: var(--tff-3); }
.tf-anruf__verlauf-kopf { font: 600 12.5px/1.4 var(--schrift); color: var(--tf-zart); margin: 0 0 var(--tff-1); }
.tf-anruf__vz { display: grid; grid-template-columns: minmax(96px, auto) 16px minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 38px;
                padding: 4px 10px; border-radius: 8px; background: rgba(48,4,2,.28); font: 500 13px/1.3 var(--schrift); color: #fff; }
.tf-anruf__vz .tf-si { width: 15px; height: 15px; color: var(--tf-zart); }
.tf-anruf__vz.is-verpasst .tf-si { color: var(--tf-gold-rot); }
.tf-anruf__vz.is-verpasst .tf-anruf__vz-was { font-weight: 700; }
.tf-anruf__vz-wann { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tf-anruf__vz-was { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-anruf__vz-dauer { text-align: right; font-variant-numeric: tabular-nums; color: var(--tf-zart); }
.tf-anruf__vz.is-jetzt { background: var(--tf-hell); color: #2A2624; }
.tf-anruf__vz.is-jetzt :is(.tf-si, .tf-anruf__vz-dauer) { color: var(--tf-hell-text); }
.tf-anruf__mehr { justify-self: start; min-height: 36px; padding: 0 4px; font: 700 13px/1 var(--schrift); color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Knöpfe auf Rot: Anrufen hell, Akte mit hellem Ring */
.tf-anruf.tff-zeile--sel .tff-chips { margin-top: var(--tff-3); }
.tf-anruf.tff-zeile--sel .tff-chip--rot { background: var(--tf-hell); color: var(--tf-hell-text); box-shadow: 0 6px 12px -8px rgba(0,0,0,.6); }
.tf-anruf.tff-zeile--sel .tff-chip--rot:hover { background: #fff; }
.tf-anruf.tff-zeile--sel .chip:not(.tff-chip--rot) { background: transparent; color: #fff; border-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,233,227,.75); }
.tf-anruf.tff-zeile--sel .chip:not(.tff-chip--rot):hover { background: rgba(255,255,255,.12); }
/* Verpasst, von Hand erledigt (Entwurf 120 A, Marcel 03.12.2026): grün wie eine gehörte AB-Nachricht – zugeklappt
   zartgrün, aufgeklappt kräftig grün statt Rot. Variablen aus dem AB-Teil weiter unten (gelten global). */
.tff-zeile.tf-anruf.is-erledigt:not(.tff-zeile--sel) { background: var(--tf-ab-gehoert); }
.tff-zeile.tf-anruf.is-erledigt:not(.tff-zeile--sel):hover { background: var(--tf-ab-gehoert-hover); }
.tff-zeile.tf-anruf.is-erledigt:not(.tff-zeile--sel) .tff-pille { background: rgba(31,74,42,.12); color: var(--tinte); }
.tff-zeile.tf-anruf.is-erledigt.tff-zeile--sel { background: var(--tf-ab-offen); }
.tf-anruf.is-erledigt.tff-zeile--sel :is(.tff-neben, .tf-anruf__wie > .tf-si, .tf-anruf__erl) { color: #E3F4E7; }
.tf-anruf.is-erledigt.tff-zeile--sel .tff-chip--rot { color: var(--tf-ab-gruen-text); }
.tff-av--ok { background: rgba(31,74,42,.14); color: var(--tff-ok); }
.tff-av--ok .tf-si { width: 16px; height: 16px; }
.tf-anruf.tff-zeile--sel .tff-av--ok { background: var(--tf-hell); color: var(--tf-ab-gruen-text); }
.tf-anruf__wie.is-erledigt > .tf-si { color: var(--tff-ok); }
.tf-anruf__erl { font: 700 12.5px/1.35 var(--schrift); color: var(--tff-ok); }
.tf-anruf__erledigt .tf-si { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .tf-anruf__bisher .tf-si { transition: none; } }
/* „Zuletzt“: die Zeile, deren Anruf links offen ist – dunkler mit hellem Rand (wie die markierte Zeile beim Wählen) */
.tf-ze--zuletzt.is-auf { background: rgba(48,4,2,.32); border-radius: 12px; border-top-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,233,227,.8); }
.tf-ze--zuletzt.is-auf + .tf-ze { border-top-color: transparent; }
.tf-ze--zuletzt.is-auf .tf-ze__icw { background: var(--tf-hell); }
.tf-ze--zuletzt.is-auf .tf-ze__ic { color: var(--ziegel); }

/* ==========================================================================
   Anrufbeantworter als Kacheln wie die Anrufliste (Marcel 01.12.2026: „dieselbe Listenansicht jetzt auch für den
   Anrufbeantworter, ungelesene gelb/gold mit Farbverlauf“). Feld weiß, jede Nachricht eine graue Kachel; ungelesene
   (weder abgehört noch gelesen) auf einem Verlauf von Gelb zu Gold – auch aufgeklappt, damit „neu“ sichtbar bleibt;
   gehörte seit Entwurf 112 C grün (siehe unten). Aufgeklappt auf kräftigem Grün: Text hell, Knöpfe hell bzw. mit
   hellem Ring, „Wurde gelesen ✓“ weiß, Spur hell, Gel-Knopf mit weißem Rand.
   ========================================================================== */
.tf-ab-gruppe { gap: var(--tff-2); }
.tf-ab-gruppe + .tf-ab-gruppe { margin-top: var(--tff-2); }
.tff-zeile.tf-ab { background: var(--tf-kachel); padding: var(--tff-3); }
.tff-zeile.tf-ab:not(.tff-zeile--sel):not(.tf-ab--neu):hover { background: var(--tf-kachel-hover); }
/* Entwurf 112 C (Marcel 02.12.2026): Gold = neu, Grün = gehört. Gehörte (abgehört oder als gelesen markiert) zugeklappt
   zartgrün, aufgeklappt kräftig grün mit Verlauf – statt Rot, das nach dem Abhören wie ein Alarm wirkte. */
:root { --tf-ab-gehoert: linear-gradient(180deg, #E4F5E8 0%, #CDEBD5 100%); --tf-ab-gehoert-hover: linear-gradient(180deg, #D8F0DE 0%, #BFE4C9 100%);
        --tf-ab-offen: linear-gradient(180deg, #2E8B45 0%, #25793B 55%, #1A5E2E 100%); --tf-ab-gruen-text: #1F4A2A; }
@media (prefers-color-scheme: dark) { :root:not([data-thema="hell"]) { --tf-ab-gehoert: linear-gradient(180deg, #24402C 0%, #1C3523 100%);
  --tf-ab-gehoert-hover: linear-gradient(180deg, #2A4A33 0%, #213D29 100%); } }
.tff-zeile.tf-ab:not(.tf-ab--neu):not(.tff-zeile--sel) { background: var(--tf-ab-gehoert); }
.tff-zeile.tf-ab:not(.tf-ab--neu):not(.tff-zeile--sel):hover { background: var(--tf-ab-gehoert-hover); }
.tff-zeile.tf-ab:not(.tf-ab--neu):not(.tff-zeile--sel) .tff-pille { background: rgba(31,74,42,.12); color: var(--tinte); }
.tff-zeile.tf-ab:not(.tf-ab--neu):not(.tff-zeile--sel) .tff-pille--ok { background: #2A8242; color: #fff; }
.tf-ab--neu.tff-zeile, .tf-ab--neu.tff-zeile--sel { background: linear-gradient(180deg, #FFE68E 0%, #F8CF58 55%, #EDB83A 100%); }
.tf-ab--neu.tff-zeile:not(.tff-zeile--sel):hover { background: linear-gradient(180deg, #FFEC9F 0%, #FAD566 55%, #F1BF47 100%); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) { background: var(--tf-ab-offen); color: #fff; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) :is(.tff-name, .tff-text) { color: #fff; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) :is(.tff-neben, .tff-zeit, .tf-ab__hinweis, .tf-ab__gelesen-von) { color: #E3F4E7; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-pille { background: rgba(255,255,255,.18); color: #fff; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-pille--ok { background: #fff; color: var(--tf-ab-gruen-text); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-av { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-spiel {
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 1px 2px rgba(60,0,0,.35), inset 0 -2px 4px rgba(255,170,150,.45), inset 0 1px 1px rgba(80,0,0,.45); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .chip:not(.tff-chip--rot):not(.is-gelesen) { background: transparent; color: #fff; border-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,233,227,.75); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-chip--text:not(.is-gelesen) { box-shadow: none; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .chip:not(.tff-chip--rot):not(.is-gelesen):hover { background: rgba(255,255,255,.12); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-chip--rot { background: var(--tf-hell); color: var(--tf-ab-gruen-text); box-shadow: 0 6px 12px -8px rgba(0,0,0,.6); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-chip--rot:hover { background: #fff; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tf-ab__erledigt.is-gelesen { background: #fff; color: var(--tf-ab-gruen-text); box-shadow: none; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-spur::before { background: rgba(255,255,255,.35); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) :is(.tff-spur__fuell, .tff-spur__fuell::after) { background: var(--tf-hell); }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tf-ab__band { background: rgba(255,255,255,.14); border-color: rgba(255,233,227,.6); color: #fff; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tf-ab__anlegen { background: var(--tf-hell); color: var(--tf-hell-text); box-shadow: none; }
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) :focus-visible,
.tf-ab.tff-zeile--sel:not(.tf-ab--neu) .tff-spur:has(.tff-spur__regler:focus-visible) { outline-color: var(--tf-gold-rot); }

/* ==========================================================================
   Ton: Mikrofon und Lautsprecher direkt an der Schiene (Entwurf 113 A, Marcel 02.12.2026). Knopf „Ton“ neben
   „du: bereit“, im Gespräch rund neben der Dauer. Das Pop-up hängt an <body> (fest positioniert links neben der
   Schiene, Pfeil zum Knopf); auf dem Handy unten über die ganze Breite.
   ========================================================================== */
.tf-ton { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px 0 7px; border-radius: 999px; flex: none;
          color: #fff; font: 700 12px/1 var(--schrift); box-shadow: inset 0 0 0 1.5px rgba(255,233,227,.6); }
.tf-ton::after { content: ""; position: absolute; inset: -8px -3px; }            /* Trefferfläche 44 */
.tf-ton .tf-si { width: 15px; height: 15px; }
.tf-ton:hover { background: rgba(255,255,255,.14); }
.tf-ton[aria-expanded="true"] { background: var(--tf-hell); color: var(--tf-hell-text); box-shadow: none; }
.tf-ton--rund { width: 28px; padding: 0; justify-content: center; margin-left: 8px; }
.tf-gruppe__kopf .tf-bereit + .tf-ton, .tf-gruppe__kopf .tf-bereit--iphone + .tf-ton { margin-left: 8px; }
html[data-tf-w="schmal"] .tf-gruppe__kopf .tf-ton span { display: none; }
html[data-tf-w="schmal"] .tf-gruppe__kopf .tf-ton { width: 28px; padding: 0; justify-content: center; }
.tf-live__reihe .tf-ton { align-self: center; }

.tf-ton-pop { position: fixed; z-index: 60; width: 340px; max-width: calc(100vw - 24px); display: grid; gap: 14px; padding: 16px;
              border-radius: 16px; background: var(--flaeche); color: var(--tinte); font: 400 14px/1.4 var(--schrift);
              box-shadow: 0 18px 40px -18px rgba(42,36,32,.55), 0 0 0 1px var(--linie); }
.tf-ton-pop::after { content: ""; position: absolute; right: -8px; top: var(--tf-ton-pfeil, 40px); width: 16px; height: 16px; background: var(--flaeche);
                     transform: rotate(45deg); box-shadow: 1px -1px 0 var(--linie); }
.tf-ton-pop.is-unten { left: 12px; right: 12px; bottom: 12px; top: auto !important; width: auto; max-height: calc(100vh - 24px); overflow: auto; }
.tf-ton-pop.is-unten::after { display: none; }
.tf-ton-pop__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding-right: 36px; }
.tf-ton-pop__kopf b { font: 800 15px/1.3 var(--schrift); }
.tf-ton-pop__kopf small { flex-basis: 100%; padding-left: 26px; font: 600 12px/1.3 var(--schrift); color: var(--tf-leise); }
.tf-ton-pop__kopf .tf-si { width: 18px; height: 18px; }
.tf-ton-pop__zu { position: absolute; right: 4px; top: 4px; }   /* .zu-knopf--gross */
.tf-ton-pop__felder { display: grid; gap: 14px; }
.tf-ton-pop__feld { display: grid; gap: 4px; }
.tf-ton-pop__t { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 13px/1.3 var(--schrift); color: var(--tinte); text-transform: none; letter-spacing: 0; }
.tf-ton-pop__t .tf-si { width: 16px; height: 16px; }
.tf-ton-pop__pegel { margin-left: auto; display: flex; gap: 3px; height: 12px; color: #2A8242; }
.tf-ton-pop__pegel i { width: 6px; height: 100%; border-radius: 4px; background: currentColor; opacity: .2; transition: opacity .06s; }
.tf-ton-pop__pegel i.an { opacity: 1; }
.tf-ton-pop__wahl { width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 12px; background: var(--tf-kachel); color: var(--tinte);
                    font: 600 14px/1.2 var(--schrift); }
.tf-ton-pop__wahl:disabled { opacity: .7; }
.tf-ton-pop__zeile { display: flex; align-items: center; gap: 10px; }
.tf-ton-pop__hilfe { margin: 0; flex: 1; font: 500 12px/1.35 var(--schrift); color: var(--tf-leise); }
.tf-ton-pop__probe { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px;
                     background: var(--tf-kachel); font: 700 12.5px/1 var(--schrift); }
.tf-ton-pop__probe::after { content: ""; position: absolute; inset: -6px -2px; }
.tf-ton-pop__probe:hover { background: var(--tf-kachel-hover); }
.tf-ton-pop__probe .tf-si { width: 13px; height: 13px; }
.tf-ton-pop__fuss { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tf-ton-pop__alle { min-height: 36px; font: 700 13px/1 var(--schrift); text-decoration: underline; text-underline-offset: 3px; }
.tf-ton-pop__fuss small { font: 500 12px/1.35 var(--schrift); color: var(--tf-leise); }
.tf-ton-pop :focus-visible { outline: 3px solid var(--tf-rot); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tf-ton-pop__pegel i { transition: none; } }
