/* Voice Demo · Live-Protokoll (Unterchat „Protokoll neue Ansicht", 09.11.2026) — nur Ergänzungen zu stil.css/voice.css.
   Ziel (Philip): alles, was eingesprochen wurde, kompakt und übersichtlich auf EINER Seite. */

/* Umschalter Live-Protokoll | Tickets & Co. (alte Demo) */
#seite-voice:not(.vl-alt) #vo-kopf, #seite-voice:not(.vl-alt) #vo-ergebnis,
#seite-voice:not(.vl-alt) .vo-hinweis { display: none !important; }
#seite-voice.vl-alt #vl-karte { display: none; }
.vl-modus {
  grid-column: 1 / -1; justify-self: center; display: inline-flex; gap: 2px;
  background: var(--rand); border-radius: 10px; padding: 2px;
}
.vl-modus button {
  border: 0; background: transparent; font: inherit; font-size: .9rem; color: var(--text);
  padding: .35rem 1rem; border-radius: 8px;
}
.vl-modus button[aria-selected="true"] { background: var(--flaeche); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-weight: 600; }

.vl-karte { grid-column: 1 / -1; padding: .8rem .8rem .6rem; }

/* Kopf: Mikro + was gerade gehört wird */
.vl-oben { display: flex; gap: .7rem; align-items: flex-start; }
.vl-mikro {
  flex: none; width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--akzent); color: #fff; box-shadow: 0 2px 6px rgba(0, 122, 255, .3);
}
.vl-mikro svg { width: 28px; height: 28px; }
.vl-mikro.an { background: var(--schlecht); box-shadow: none; animation: vl-puls 1.4s ease-out infinite; }
.vl-mikro.an svg { width: 22px; height: 22px; }
@keyframes vl-puls {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .45); }
  80%, 100% { box-shadow: 0 0 0 14px rgba(255, 59, 48, 0); }
}
.vl-mikro.an.server { animation: none; box-shadow: 0 0 0 calc(var(--pegel, 0) * 16px + 2px) rgba(255, 59, 48, .3); transition: box-shadow .1s; }
.vl-hoeren { flex: 1; min-width: 0; }
.vl-quelle { margin-top: .3rem; font-size: .78rem; color: var(--leise); display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.vl-quelle button {
  border: 0.5px solid var(--rand2); background: var(--flaeche); color: var(--text); border-radius: 99px;
  font: inherit; font-size: .78rem; padding: .1rem .6rem;
}
.vl-quelle button[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.vl-status { font-size: .85rem; color: var(--leise); min-height: 1.25em; line-height: 1.25; }
.vl-status.laeuft { color: var(--akzent); }
.vl-status.ok { color: var(--gut-text); }
.vl-status.fehler { color: var(--schlecht-text); }
#vl-text {
  display: block; width: 100%; box-sizing: border-box; margin-top: .3rem; height: 3.3em; resize: none;
  font: inherit; font-size: 16px; line-height: 1.3;               /* < 16 px zoomt das iPhone */
  border: 0.5px solid var(--rand2); border-radius: 12px; padding: .4rem .65rem;
  background: var(--flaeche2); color: var(--text);
}
#vl-text:focus { outline: 2px solid var(--akzent); outline-offset: -1px; background: var(--flaeche); }

.vl-frage {
  margin: .6rem 0 0; background: var(--warn-grund); color: var(--warn-text);
  border-radius: 12px; padding: .5rem .75rem; font-size: .92rem; line-height: 1.3;
}
.vl-frage .klein { font-size: .8rem; opacity: .8; margin-top: .15rem; }
.vl-anfahrt {
  margin: .6rem 0 0; background: var(--warn-grund); color: var(--warn-text);
  border-radius: 12px; padding: .5rem .75rem; font-size: .95rem;
}

/* Fortschritt */
.vl-kopf { display: flex; align-items: center; gap: .6rem; margin: .7rem 0 .45rem; font-size: .8rem; color: var(--leise); }
.vl-balken { flex: 1; height: 4px; background: var(--spur); border-radius: 2px; overflow: hidden; }
.vl-balken i { display: block; height: 100%; background: var(--akzent); transition: width .4s; }
.vl-balken i.voll { background: var(--gut); }

/* Die Kacheln: Handy 2 Spalten, ab Tablett 5 (Protokoll in zwei Reihen) */
.vl-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.vl-breit, .vl-halb { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .vl-raster { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vl-halb { grid-column: span 2; }
  .vl-halb + .vl-halb { grid-column: span 3; }
}
.vl-feld {
  background: var(--flaeche2); border: 1px solid transparent; border-radius: 12px;
  padding: .4rem .6rem .5rem; min-height: 3.2rem; min-width: 0;
}
.vl-feld .t {
  display: flex; justify-content: space-between; gap: .3rem;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .03em; color: var(--leise);
}
.vl-feld.fertig .t::after { content: "✓"; color: var(--gut); font-weight: 700; font-size: .85rem; line-height: 1; }
.vl-feld .w { font-size: .95rem; line-height: 1.25; margin-top: .12rem; overflow-wrap: anywhere; }
@media (max-width: 699px) {                      /* Handy: etwas dichter, damit mehr auf eine Seite passt */
  .vl-feld { padding: .32rem .55rem .4rem; min-height: 2.9rem; border-radius: 10px; }
  .vl-feld .t { font-size: .66rem; }
  .vl-feld .w { font-size: .9rem; line-height: 1.22; }
  .vl-liste { font-size: .88rem; }
}
.vl-feld.vl-leer .w { color: var(--rand2); }   /* nicht „leer": die Klasse belegt stil.css schon */
.vl-woanders .w { color: var(--leise); font-size: .88rem; }
.vl-feld.vl-neu, .vl-anfahrt.vl-neu { animation: vl-neu 2.6s ease-out; }
@keyframes vl-neu {
  0%, 25% { background: #dcebff; border-color: var(--akzent); }
  100% { background: var(--flaeche2); border-color: transparent; }
}

/* Ampel-Liste der Protokoll-Session (philip/protokoll.css, .pr-ueb*) in der Live-Ansicht */
.vl-ampel { margin-top: .7rem; }
.vl-ampel .pr-ueb.vl-neu { animation: vl-neu-zeile 2.6s ease-out; }
@keyframes vl-neu-zeile { 0%, 25% { background: #dcebff; } 100% { background: transparent; } }
.vl-wortlaut { margin-top: .5rem; }

/* Listen in Tickets / Auffälligkeiten */
.vl-liste { margin: .15rem 0 0; padding: 0; list-style: none; font-size: .93rem; line-height: 1.3; }
.vl-liste li { padding: .22rem 0; border-top: 0.5px solid var(--rand); }
.vl-liste li:first-child { border-top: 0; }
ol.vl-liste li { display: flex; gap: .45rem; }
.vl-nr {
  flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--rand);
  font-size: .72rem; display: grid; place-items: center; margin-top: .05rem;
}
.vl-c {
  display: inline-block; font-size: .74rem; border-radius: 99px; padding: 0 .45rem; margin: 0 0 0 .2rem;
  background: var(--flaeche); border: 0.5px solid var(--rand2); white-space: nowrap; vertical-align: 1px;
}
.vl-c.fehlt { background: var(--warn-grund); color: var(--warn-text); border-color: transparent; }
.vl-c.leise { color: var(--leise); }

.vl-fuss { display: flex; justify-content: center; gap: 1.4rem; margin: .7rem 0 .2rem; font-size: .92rem; }
.vl-fuss button.vl-rot { color: var(--schlecht-text); }
.vl-hinweis { margin: .3rem 0 0; text-align: center; font-size: .75rem; color: var(--leise); }
