/* Archiv der Meeting-Aufzeichnungen (Unterreiter von Meetings). Alle Klassen mit eigenem Präfix az-, weil Bereichs-CSS
   seitenweit gilt. */

.az-suchzeile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.az-suchzeile > svg {
  position: absolute;
  left: 14px;
  color: var(--tinte-3);
  pointer-events: none;
}

.az-suchzeile .az-suche {
  width: 100%;
  padding-left: 40px;
}

.az-zaehler {
  position: absolute;
  right: 14px;
  font-size: 13px;
  pointer-events: none;
}

.az-stapel {
  display: grid;
  gap: 10px;
}

.az-karte {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 140ms var(--ease-out),
    box-shadow 140ms ease;
}

.az-karte:active {
  transform: scale(0.99);
}

@media (hover: hover) {
  .az-karte:hover {
    box-shadow: var(--schatten-2);
  }
}

.az-bild {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--nacht);
}

.az-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.az-bild-leer {
  display: grid;
  place-items: center;
  height: 100%;
  color: oklch(0.85 0.05 195);
}

.az-dauer {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: oklch(0.15 0.02 228 / 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.az-karte-text {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-top: 2px;
}

.az-titel {
  font-weight: 620;
  font-size: 16.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.az-teil {
  color: var(--tinte-3);
  font-weight: 500;
  font-size: 14.5px;
}

.az-unter,
.az-wer {
  color: var(--tinte-2);
  font-size: 14px;
}

.az-wer {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.az-wer svg {
  flex: none;
  color: var(--tinte-3);
}

.az-treffer {
  margin-top: 2px;
  padding: 6px 10px;
  border-radius: var(--radius-s);
  background: var(--gelb-zart);
  color: var(--tinte-2);
  font-size: 13.5px;
}

.az-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.az-chips:empty {
  display: none;
}

.az-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--flaeche-3);
  color: var(--tinte-2);
  font-size: 12.5px;
  font-weight: 600;
}

.az-chip.az-live {
  background: var(--rot-zart);
  color: var(--rot);
}

.az-chip.az-gruen {
  background: var(--gruen-zart);
  color: var(--gruen);
}

.az-chip.az-marke {
  background: var(--marke-zart);
  color: var(--marke-tief);
}

.az-chip.az-rot {
  background: var(--rot-zart);
  color: var(--rot);
}

.az-punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rot);
  animation: az-puls 1.6s ease-in-out infinite;
}

.az-punkt.gross {
  width: 14px;
  height: 14px;
}

@keyframes az-puls {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-punkt {
    animation: none;
  }
}

.az-mehr {
  display: flex;
  margin: 16px auto 0;
}

.az-fuss {
  margin: 22px 0 8px;
  color: var(--tinte-3);
  font-size: 13px;
  text-align: center;
}

.az-aus {
  margin-top: 6px;
}

/* ---------- Eine Aufzeichnung ---------- */

.az-zurueck {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px -4px;
  padding: 6px 8px 6px 4px;
  border-radius: var(--radius-s);
  color: var(--marke-tief);
  font-weight: 560;
  text-decoration: none;
}

.az-kopf {
  margin-bottom: 14px;
}

.az-grosstitel {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.az-teile {
  margin-bottom: 12px;
}

.az-teile:empty {
  display: none;
}

.az-teile .filter {
  text-decoration: none;
}

.az-raster {
  display: grid;
  gap: 16px;
}

.az-links {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.az-video,
.az-platzhalter {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l);
  background: #000;
}

.az-platzhalter {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  background: var(--nacht);
  color: oklch(0.85 0.03 210);
  text-align: center;
}

.az-platzhalter strong {
  color: #fff;
  font-size: 18px;
  font-weight: 620;
}

.az-platzhalter svg {
  width: 30px;
  height: 30px;
}

.az-hinweis {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--tinte-3);
  font-size: 13.5px;
}

.az-steuerung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.az-steuerung:empty {
  display: none;
}

.az-tempo {
  display: flex;
  gap: 6px;
}

.az-tempo .filter {
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.az-loeschzeile {
  margin-top: 4px;
}

.az-loeschzeile:empty {
  display: none;
}

.az-blatt-text {
  margin: 0 4px 4px;
  color: var(--tinte-2);
}

.az-klein-titel {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 640;
  color: var(--tinte);
}

.az-anwesend {
  display: grid;
  gap: 2px;
}

.az-anwesend:empty {
  display: none;
}

.az-person {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  font-size: 14.5px;
}

.az-person-name {
  font-weight: 560;
}

.az-person-rolle {
  padding: 0 7px;
  border-radius: 999px;
  background: var(--marke-zart);
  color: var(--marke-tief);
  font-size: 12px;
  font-weight: 600;
}

.az-person-zeit {
  margin-left: auto;
  color: var(--tinte-3);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.az-abschrift {
  padding: 16px;
  min-width: 0;
}

.az-abschrift-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.az-abschrift-kopf .az-klein-titel {
  margin: 0;
}

.az-knoepfe {
  display: flex;
  gap: 6px;
}

.az-leise {
  margin: 0 0 12px;
  color: var(--tinte-3);
  font-size: 14px;
}

.az-fehler {
  margin: 0 0 10px;
  color: var(--rot);
  font-size: 14px;
}

.az-fortschritt {
  height: 8px;
  margin: 4px 0 10px;
  border-radius: 999px;
  background: var(--flaeche-3);
  overflow: hidden;
}

.az-fortschritt span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--marke-tief);
  transition: width 400ms var(--ease-out);
}

.az-zeilen {
  display: grid;
  margin: 0 -8px;
}

.az-zeile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 5px 8px;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.az-zeile.az-wechsel {
  margin-top: 8px;
}

.az-zeile.az-wechsel:first-child {
  margin-top: 0;
}

@media (hover: hover) {
  .az-zeile:hover {
    background: var(--flaeche-2);
  }
}

.az-zeile.az-aktiv {
  background: var(--marke-zart);
}

.az-zeile.az-gedimmt {
  opacity: 0.35;
}

.az-zeit {
  padding-top: 1px;
  color: var(--marke-tief);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.az-zeile-text {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.az-sprecher {
  font-size: 13.5px;
  font-weight: 640;
  color: var(--tinte);
}

.az-satz mark {
  border-radius: 3px;
  background: var(--gelb-zart);
  color: inherit;
  box-shadow: 0 0 0 2px var(--gelb-zart);
}

.az-ohne-namen {
  padding: 8px 10px;
  border-radius: var(--radius-s);
  background: var(--flaeche-2);
}

@media (max-width: 599px) {
  .az-karte {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .az-titel {
    font-size: 15.5px;
  }

  .az-video,
  .az-platzhalter {
    border-radius: var(--radius-m);
  }

  .az-zeile {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }
}

/* Am Mac: Video links (bleibt stehen), Abschrift rechts und für sich scrollbar. */
@media (min-width: 1100px) {
  .az-raster {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
    align-items: start;
  }

  .az-links {
    position: sticky;
    top: 16px;
  }

  .az-zeilen {
    max-height: calc(100dvh - 250px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* ---------- Gesprächsanalyse (seit 19.10.2026, ansichten/analyse.js) ----------
   Liste: Chip mit der Wertung, Sicht „Stellen aus allen Gesprächen“. Einzelansicht: Band mit Kapiteln und Stellen unter
   dem Video, rechts Analyse und Abschrift im Wechsel. Farben der Kapitel nach Skriptteil, Punkte nach Urteil. */

.az-sicht {
  margin-bottom: 12px;
}

.az-sicht .filter svg,
.az-rechts-sicht .filter svg {
  flex: none;
}

.az-rechts-sicht {
  margin: 0 0 10px;
  padding: 2px 0 4px;
}

.az-chip.az-wertung[data-stufe='gut'] {
  background: var(--gruen-zart);
  color: var(--gruen);
}

.az-chip.az-wertung[data-stufe='mittel'] {
  background: var(--gelb-zart);
  color: var(--gelb);
}

.az-chip.az-wertung[data-stufe='schwach'] {
  background: var(--rot-zart);
  color: var(--rot);
}

.az-analyse {
  padding: 16px;
  min-width: 0;
}

.az-analyse[hidden],
.az-abschrift[hidden] {
  display: none;
}

.ga-inhalt {
  display: grid;
  gap: 22px;
}

/* Lage: wartet, läuft, Fehler */
.ga-lage {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  background: var(--marke-zart);
  color: var(--tinte-2);
  font-size: 14px;
}

.ga-lage > div {
  display: grid;
  gap: 2px;
}

.ga-lage strong {
  color: var(--tinte);
  font-weight: 640;
}

.ga-lage.ga-fehler {
  background: var(--rot-zart);
}

.ga-lage.ga-fehler svg {
  flex: none;
  color: var(--rot);
}

.ga-kreisel {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2.5px solid oklch(0.49 0.095 202 / 0.25);
  border-top-color: var(--marke-tief);
  border-radius: 50%;
  animation: ga-drehen 0.9s linear infinite;
}

@keyframes ga-drehen {
  to {
    transform: rotate(360deg);
  }
}

/* Überblick: Wertung, Kennzahlen, Zusammenfassung */
.ga-uebersicht {
  display: grid;
  gap: 12px;
}

.ga-wertung {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  background: var(--flaeche-2);
  box-shadow: inset 4px 0 0 var(--ga-stufe, var(--tinte-3));
}

.ga-wertung[data-stufe='gut'] {
  --ga-stufe: var(--gruen);
}

.ga-wertung[data-stufe='mittel'] {
  --ga-stufe: var(--gelb);
}

.ga-wertung[data-stufe='schwach'] {
  --ga-stufe: var(--rot);
}

.ga-wertung-zahl {
  grid-row: span 2;
  color: var(--ga-stufe);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.ga-wertung-von {
  color: var(--tinte);
  font-size: 15px;
  font-weight: 620;
}

.ga-wertung-text {
  color: var(--tinte-3);
  font-size: 13px;
}

.ga-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ga-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--flaeche-3);
  color: var(--tinte-2);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ga-chip[data-ergebnis='abschluss'] {
  background: var(--gruen-zart);
  color: var(--gruen);
}

.ga-chip[data-ergebnis='kein_abschluss'] {
  background: var(--rot-zart);
  color: var(--rot);
}

.ga-chip[data-ergebnis='folgetermin'] {
  background: var(--marke-zart);
  color: var(--marke-tief);
}

.ga-zusammenfassung {
  margin: 0;
  color: var(--tinte);
  font-size: 15px;
  line-height: 1.5;
}

.ga-abschnitt {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ga-titel {
  margin: 0;
  color: var(--tinte);
  font-size: 15px;
  font-weight: 660;
}

/* Drei Hebel */
.ga-hebel {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hebel;
}

.ga-hebel li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 10px;
  counter-increment: hebel;
  font-size: 14.5px;
  line-height: 1.45;
}

.ga-hebel li::before {
  content: counter(hebel);
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nacht);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ga-hebel strong {
  font-weight: 650;
}

.ga-hebel span {
  color: var(--tinte-2);
}

/* Wertung je Teil */
.ga-teile {
  display: grid;
  border-radius: var(--radius-m);
  background: var(--flaeche-2);
  overflow: hidden;
}

.ga-teil + .ga-teil {
  border-top: 1px solid var(--linie-2);
}

.ga-teil summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 64px 30px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  list-style: none;
}

.ga-teil summary::-webkit-details-marker {
  display: none;
}

.ga-teil-nr {
  color: var(--tinte-3);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.ga-teil-name {
  display: grid;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}

.ga-teil-name small {
  overflow: hidden;
  color: var(--tinte-3);
  font-size: 12.5px;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ga-teil[open] .ga-teil-name small {
  white-space: normal;
}

.ga-balken {
  height: 6px;
  border-radius: 999px;
  background: var(--flaeche-3);
  overflow: hidden;
}

.ga-balken span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ga-stufe, var(--tinte-3));
}

.ga-teil[data-stufe='gut'] {
  --ga-stufe: var(--gruen);
}

.ga-teil[data-stufe='mittel'] {
  --ga-stufe: var(--gelb);
}

.ga-teil[data-stufe='schwach'] {
  --ga-stufe: var(--rot);
}

.ga-teil-punkte {
  color: var(--ga-stufe, var(--tinte-3));
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ga-teil-mehr {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px 56px;
}

.ga-teil-mehr .knopf {
  justify-self: start;
}

/* Gesprächsverlauf */
.ga-kapitelliste {
  display: grid;
  margin: 0 -8px;
}

.ga-kapitelzeile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

@media (hover: hover) {
  .ga-kapitelzeile:hover {
    background: var(--flaeche-2);
  }
}

.ga-kapitelzeile.ga-aktiv {
  background: var(--marke-zart);
}

.ga-zeit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--marke-tief);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.ga-kapitel-text {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 14px;
}

.ga-kapitel-text strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 620;
}

.ga-kapitel-text > span {
  color: var(--tinte-3);
  font-size: 13px;
}

.ga-teil-marke {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--flaeche-3);
  color: var(--tinte-2);
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Stellen */
.ga-filter {
  margin: 0;
  padding: 2px 0 4px;
}

.ga-filter .filter.klein,
.az-rechts-sicht .filter.klein {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13.5px;
}

.ga-stellen {
  display: grid;
  gap: 10px;
}

.ga-stelle {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-m);
  background: var(--flaeche-2);
  box-shadow: inset 3px 0 0 var(--ga-urteil, var(--linie));
  font-size: 14px;
  line-height: 1.45;
}

.ga-stelle[hidden] {
  display: none;
}

.ga-stelle[data-urteil='schwach'],
.ga-marke[data-urteil='schwach'],
.ga-legende-eintrag[data-urteil='schwach'] {
  --ga-urteil: var(--rot);
}

.ga-stelle[data-urteil='ausbaufaehig'],
.ga-marke[data-urteil='ausbaufaehig'],
.ga-legende-eintrag[data-urteil='ausbaufaehig'] {
  --ga-urteil: var(--gelb);
}

.ga-stelle[data-urteil='gut'],
.ga-marke[data-urteil='gut'],
.ga-legende-eintrag[data-urteil='gut'] {
  --ga-urteil: var(--gruen);
}

.ga-stelle[data-urteil='neutral'],
.ga-marke[data-urteil='neutral'],
.ga-legende-eintrag[data-urteil='neutral'] {
  --ga-urteil: var(--tinte-3);
}

.ga-stelle.ga-blitz {
  animation: ga-blitz 1.6s var(--ease-out);
}

@keyframes ga-blitz {
  0%,
  30% {
    background: var(--marke-zart);
  }
}

.ga-stelle-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ga-sprung {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--flaeche);
  box-shadow: var(--schatten-1);
  text-decoration: none;
  cursor: pointer;
}

.ga-sprung:active {
  transform: scale(0.96);
}

.ga-art {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--flaeche-3);
  color: var(--tinte-2);
  font-size: 12.5px;
  font-weight: 650;
}

.ga-art[data-art='einwand'] {
  background: var(--rot-zart);
  color: var(--rot);
}

.ga-art[data-art='skript'] {
  background: var(--gelb-zart);
  color: var(--gelb);
}

.ga-art[data-art='verpasst'] {
  background: oklch(0.955 0.04 50);
  color: oklch(0.54 0.15 50);
}

.ga-art[data-art='kaufsignal'] {
  background: var(--marke-zart);
  color: var(--marke-tief);
}

.ga-art[data-art='abschluss'] {
  background: oklch(0.95 0.035 265);
  color: oklch(0.48 0.13 265);
}

.ga-art[data-art='zusage'] {
  background: oklch(0.955 0.035 310);
  color: oklch(0.5 0.14 310);
}

.ga-art[data-art='stark'] {
  background: var(--gruen-zart);
  color: var(--gruen);
}

.ga-urteil {
  margin-left: auto;
  color: var(--ga-urteil, var(--tinte-3));
  font-size: 12.5px;
  font-weight: 650;
}

.ga-stelle .ga-urteil {
  --ga-urteil: inherit;
}

.ga-stelle[data-urteil] .ga-urteil {
  color: var(--ga-urteil);
}

.ga-stelle-titel {
  color: var(--tinte);
  font-size: 15px;
  font-weight: 640;
}

.ga-zitat {
  margin: 0;
  padding: 6px 10px;
  border-radius: var(--radius-s);
  background: var(--flaeche);
  color: var(--tinte-2);
  font-style: italic;
}

.ga-absatz {
  margin: 0;
  color: var(--tinte-2);
}

.ga-absatz strong {
  color: var(--tinte);
  font-weight: 650;
}

.ga-besser strong {
  color: var(--gruen);
}

.ga-wortlaut {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-left: 3px solid var(--marke);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--marke-zart);
}

.ga-wortlaut-text {
  color: var(--tinte);
}

.ga-quelle {
  color: var(--tinte-3);
  font-size: 12.5px;
}

.ga-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--linie-2);
  color: var(--tinte-3);
  font-size: 13px;
}

/* Band unter dem Video: oben die Stellen als Punkte, darunter die Kapitel, die Linie ist die Abspielstelle */
.ga-verlauf {
  display: grid;
  gap: 6px;
}

.ga-verlauf[hidden] {
  display: none;
}

.ga-flaeche {
  position: relative;
  padding-top: 16px;
  cursor: pointer;
}

.ga-marken {
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
}

.ga-marke {
  position: absolute;
  top: 1px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  padding: 0;
  border: 2px solid var(--flaeche);
  border-radius: 50%;
  background: var(--ga-urteil, var(--tinte-3));
  box-shadow: 0 0 0 1px var(--haarlinie);
  cursor: pointer;
}

.ga-marke::after {
  /* größere Tippfläche am Telefon */
  content: '';
  position: absolute;
  inset: -8px;
}

@media (hover: hover) {
  .ga-marke:hover {
    transform: scale(1.35);
  }
}

.ga-band {
  position: relative;
  height: 28px;
  border-radius: var(--radius-s);
  background: var(--flaeche-3);
  overflow: hidden;
}

.ga-kapitel {
  position: absolute;
  top: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-right: 1.5px solid var(--flaeche);
  background: var(--ga-teil, var(--flaeche-3));
  color: oklch(0.3 0.03 230);
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  cursor: pointer;
}

.ga-kapitel span {
  overflow: hidden;
  white-space: nowrap;
}

@media (hover: hover) {
  .ga-kapitel:hover {
    filter: brightness(0.94);
  }
}

.ga-kapitel[data-teil='4.1'],
.ga-kapitelzeile[data-teil='4.1'] .ga-teil-marke {
  --ga-teil: oklch(0.88 0.05 200);
}

.ga-kapitel[data-teil='4.2'],
.ga-kapitelzeile[data-teil='4.2'] .ga-teil-marke {
  --ga-teil: oklch(0.8 0.09 200);
}

.ga-kapitel[data-teil='4.3'],
.ga-kapitelzeile[data-teil='4.3'] .ga-teil-marke {
  --ga-teil: oklch(0.83 0.08 265);
}

.ga-kapitel[data-teil='4.4'],
.ga-kapitelzeile[data-teil='4.4'] .ga-teil-marke {
  --ga-teil: oklch(0.88 0.05 265);
}

.ga-kapitel[data-teil='4.5'],
.ga-kapitelzeile[data-teil='4.5'] .ga-teil-marke {
  --ga-teil: oklch(0.83 0.09 160);
}

.ga-kapitel[data-teil='4.6'],
.ga-kapitelzeile[data-teil='4.6'] .ga-teil-marke {
  --ga-teil: oklch(0.87 0.08 130);
}

.ga-kapitel[data-teil='4.7'],
.ga-kapitelzeile[data-teil='4.7'] .ga-teil-marke {
  --ga-teil: oklch(0.84 0.11 80);
}

.ga-kapitel[data-teil='4.8'],
.ga-kapitelzeile[data-teil='4.8'] .ga-teil-marke {
  --ga-teil: oklch(0.8 0.11 35);
}

.ga-kapitel[data-teil='4.9'],
.ga-kapitelzeile[data-teil='4.9'] .ga-teil-marke {
  --ga-teil: oklch(0.78 0.11 355);
}

.ga-kapitel[data-teil='5'],
.ga-kapitelzeile[data-teil='5'] .ga-teil-marke {
  --ga-teil: oklch(0.88 0.03 230);
}

.ga-kapitelzeile .ga-teil-marke {
  background: var(--ga-teil, var(--flaeche-3));
  color: oklch(0.3 0.03 230);
}

.ga-jetzt {
  position: absolute;
  top: 12px;
  bottom: -2px;
  left: 0;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--nacht);
  pointer-events: none;
}

.ga-legende {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  color: var(--tinte-3);
  font-size: 12.5px;
}

.ga-legende-eintrag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ga-legende-eintrag i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ga-urteil);
}

.ga-legende-hinweis {
  margin-left: auto;
}

/* Stellen aus allen Gesprächen */
.ga-uebersicht-alle {
  display: grid;
  gap: 12px;
}

.ga-uebersicht-alle[hidden] {
  display: none;
}

.ga-uebersicht-alle > .ga-filter {
  margin: 0 calc(-1 * var(--seite));
  padding: 2px var(--seite) 4px;
}

.ga-gespraeche {
  display: grid;
  gap: 14px;
}

.ga-gespraech {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.ga-gespraech-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: inherit;
  text-decoration: none;
}

.ga-gespraech-titel {
  font-size: 16px;
  font-weight: 650;
}

.ga-gespraech-unter {
  color: var(--tinte-3);
  font-size: 13.5px;
}

.ga-gespraech-kopf .az-chip {
  margin-left: auto;
}

@media (max-width: 599px) {
  .ga-teil summary {
    grid-template-columns: 30px minmax(0, 1fr) 44px 26px;
    gap: 8px;
    padding: 9px 10px;
  }

  .ga-teil-mehr {
    padding: 0 10px 12px;
  }

  .ga-legende-hinweis {
    display: none;
  }

  .ga-wertung-zahl {
    font-size: 38px;
  }
}

/* Am Mac: Analyse rechts für sich scrollbar wie die Abschrift, Video bleibt stehen */
@media (min-width: 1100px) {
  .ga-inhalt {
    max-height: calc(100dvh - 290px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-right: -8px;
    padding-right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ga-kreisel {
    animation-duration: 3s;
  }

  .ga-stelle.ga-blitz {
    animation: none;
  }
}

/* Maßstab je Gespräch (seit 19.10.2026 abends): nach Skript oder ohne Skript, beide Werte sichtbar, der geltende gedrückt */
.ga-modus {
  display: grid;
  gap: 6px;
}

.ga-modus-knoepfe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-m);
  background: var(--flaeche-3);
}

.ga-modus-knopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: var(--tinte-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ga-modus-knopf[aria-pressed='true'] {
  background: var(--flaeche);
  box-shadow: var(--schatten-1);
  color: var(--tinte);
}

.ga-modus-knopf:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ga-modus-zahl {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ga-modus-zahl[data-stufe='gut'] {
  color: var(--gruen);
}

.ga-modus-zahl[data-stufe='mittel'] {
  color: var(--gelb);
}

.ga-modus-zahl[data-stufe='schwach'] {
  color: var(--rot);
}

.ga-modus-text {
  margin: 0;
  color: var(--tinte-3);
  font-size: 13px;
  line-height: 1.45;
}

.ga-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--marke-tief);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.ga-gemessen {
  display: grid;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-s);
  background: var(--flaeche);
  font-size: 14px;
  font-weight: 600;
}

.ga-gemessen span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 10px;
}

.ga-gemessen small {
  color: var(--tinte-3);
  font-size: 12.5px;
  font-weight: 450;
}
