/* Scheibe 9k (Helfer d): Protokollkollege – Besprechung aufnehmen (js/s-besprechung.js), Präfix bp9- */
.bp9-oben, .bp9-einzel { display: flex; flex-direction: column; gap: var(--a4); max-width: 860px; }
.bp9-oben { margin-bottom: var(--a4); }
.bp9-liste { max-width: 860px; }
.bp9-neu p, .bp9-laeuft p, .bp9-abgabe p, .bp9-einzel p { margin: 0; }
.bp9-neu > * + *, .bp9-laeuft > * + *, .bp9-abgabe > * + *, .bp9-einzel .card > * + * { margin-top: var(--a3); }
.bp9-neu .feld .lab { margin-top: 0; }
.bp9-lab { font-size: var(--fs-klein); color: var(--s-mut); }
.bp9-chips { display: flex; flex-wrap: wrap; gap: var(--a2); align-items: center; }
.bp9-chips:empty { display: none; }
.bp9-wahl svg.ic { visibility: hidden; }
.bp9-wahl[aria-pressed=true] { border-color: var(--akzent); background: var(--f-gewaehlt); color: var(--s-text); }
.bp9-wahl[aria-pressed=true] svg.ic { visibility: visible; color: var(--akzent-t); }
.bp9-gastzeile { display: flex; gap: var(--a2); align-items: flex-end; }
.bp9-gastzeile .feld { flex: 1 1 auto; min-width: 0; }
.bp9-gast { display: inline-flex; align-items: center; gap: var(--a1); }
.bp9-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.bp9-x:hover { background: var(--f-weich2); }
.bp9-x svg { width: 12px; height: 12px; }
/* Pflichtfeld */
.bp9-pflicht { display: flex; gap: var(--a3); align-items: flex-start; padding: var(--a3) var(--a4); border: 1px solid var(--l-rand); border-radius: var(--r-karte); background: var(--f-weich); }
.bp9-pflicht:has(input:checked) { border-color: var(--ok-t); background: var(--ok-bg); }
.bp9-pflicht input[type=checkbox], .bp9-v > input[type=checkbox] { flex: none; display: inline-block; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; border: 0; accent-color: var(--akzent); cursor: pointer; }
.bp9-pflicht input[type=checkbox]:disabled { cursor: default; }
.bp9-pflicht label { display: block; margin: 0; font-size: var(--fs); font-weight: 500; color: var(--s-text); cursor: pointer; }
.bp9-pflicht p { margin-top: var(--a1); font-size: var(--fs-klein); line-height: var(--lh-klein); }
.bp9-stern { color: var(--krit-t); }
.bp9-knoepfe { display: flex; flex-wrap: wrap; gap: var(--a2); align-items: center; }
.bp9-fehlt:empty { display: none; }
.bp9-fehlt, .bp9-grenze { font-size: var(--fs-klein); }
/* Sichtbare Aufnahme: der Balken bleibt beim Rollen oben stehen */
.bp9-aufnahme { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: var(--a2) var(--a3); padding: var(--a3) var(--a4); border: 2px solid var(--err-t); border-radius: var(--r-karte); background: var(--err-bg); color: var(--err-t); }
.bp9-punkt { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--err-t); animation: bp9-puls 1.2s ease-in-out infinite; }
.bp9-aufnahme.pause { border-style: dashed; }
.bp9-aufnahme.pause .bp9-punkt { animation: none; border-radius: 3px; opacity: .6; }
.bp9-wort { font-size: var(--fs-m); font-weight: 500; }
.bp9-zeit { font-size: var(--fs-l); font-weight: 500; font-variant-numeric: tabular-nums; }
.bp9-pegel { flex: 1 1 120px; min-width: 80px; height: 8px; border-radius: var(--r-pille); background: color-mix(in srgb, var(--err-t) 18%, transparent); overflow: hidden; }
.bp9-pegel-b { display: block; width: 0; height: 100%; border-radius: var(--r-pille); background: var(--err-t); transition: width 80ms linear; }
@keyframes bp9-puls { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .bp9-punkt, .bp9-dreh { animation: none; } .bp9-pegel-b { transition: none; } }
.bp9-warte { display: flex; align-items: center; gap: var(--a3); }
.bp9-dreh { flex: none; width: 18px; height: 18px; border: 2px solid var(--l-rand); border-top-color: var(--akzent); border-radius: 50%; animation: bp9-dreh 0.9s linear infinite; }
@keyframes bp9-dreh { to { transform: rotate(360deg); } }
/* Liste */
.bp9-zeilen { display: flex; flex-direction: column; }
.bp9-zeile { display: flex; align-items: center; justify-content: space-between; gap: var(--a3); min-height: var(--h-zeile-start); padding: var(--a2) 0; border-top: 1px solid var(--l-linie); color: var(--s-text); text-decoration: none; }
.bp9-zeile:first-child { border-top: 0; }
.bp9-zeile:hover b { text-decoration: underline; }
.bp9-z-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bp9-z-t b { font-weight: 500; overflow-wrap: anywhere; }
.bp9-z-t .mut, .bp9-z-z { font-size: var(--fs-klein); }
.bp9-z-r { display: flex; align-items: center; gap: var(--a3); flex: none; }
/* Eine Besprechung */
.bp9-k-z { display: flex; flex-wrap: wrap; align-items: center; gap: var(--a2) var(--a3); }
.bp9-vermerk { display: flex; align-items: flex-start; gap: var(--a2); color: var(--ok-t); font-size: var(--fs-klein); line-height: var(--lh-klein); }
.bp9-vermerk.offen { color: var(--warn-t); }
.bp9-vermerk svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.bp9-schritte { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--a2); }
.bp9-s { display: flex; align-items: center; gap: var(--a2); color: var(--s-mut); }
.bp9-s.ok, .bp9-s.jetzt { color: var(--s-text); }
.bp9-s-m { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--l-rand); }
.bp9-s.ok .bp9-s-m { border-color: var(--ok-t); background: var(--ok-bg); color: var(--ok-t); }
.bp9-s.ok .bp9-s-m svg { width: 12px; height: 12px; }
.bp9-s.jetzt .bp9-s-m { border-color: var(--l-rand); border-top-color: var(--akzent); animation: bp9-dreh 0.9s linear infinite; }
.bp9-s.jetzt { font-weight: 500; }
.bp9-kurz { font-size: var(--fs-m); line-height: 1.5; }
.bp9-thema h3 { margin: 0 0 var(--a1); font-size: var(--fs); font-weight: 500; }
.bp9-thema ul, .bp9-beschluesse ol { margin: 0; padding-left: var(--a5); display: grid; gap: var(--a1); }
.bp9-thema ul { list-style: disc; }
.bp9-neu .msg.hin, .bp9-abgabe .msg.hin, .bp9-einzel .card .msg.hin { margin-top: var(--a3); }
.bp9-einzel .card > .msg.hin:first-child { margin-top: 0; }
.bp9-beschluesse ol li::marker { font-weight: 500; }
.bp9-vorschlaege { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.bp9-v { display: flex; align-items: flex-start; gap: var(--a3); padding: var(--a3) 0; border-top: 1px solid var(--l-linie); }
.bp9-v:first-child { border-top: 0; padding-top: 0; }
.bp9-v > input[type=checkbox] { margin-top: 8px; }
.bp9-v-i { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--a2); }
.bp9-v-i textarea { height: auto; min-height: 76px; padding: 8px 10px; line-height: var(--lh); resize: vertical; }
.bp9-v-f { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: var(--a2); align-items: start; }
.bp9-v-f .feld { margin: 0; }
.bp9-v-h { font-size: var(--fs-klein); line-height: var(--lh-klein); }
.bp9-v.fest { align-items: center; justify-content: space-between; }
.bp9-v.fest b { font-weight: 500; overflow-wrap: anywhere; }
.bp9-v.fest .mut { font-size: var(--fs-klein); }
.bp9-v.fest .chip { flex: none; }
.bp9-w-t { white-space: pre-wrap; overflow-wrap: anywhere; }
.bp9-mitschrift summary { cursor: pointer; font-weight: 500; padding: var(--a2) 0; }
.bp9-mitschrift details[open] summary { margin-bottom: var(--a2); }
.bp9-m-text { max-height: 480px; overflow: auto; padding: var(--a3); border: 1px solid var(--l-linie); border-radius: var(--r-knopf); background: var(--f-weich); display: grid; gap: var(--a2); }
.bp9-m-text p { overflow-wrap: anywhere; }
.bp9-m-text b { font-weight: 500; }
.bp9-m-z { margin-right: var(--a2); color: var(--s-mut); font-variant-numeric: tabular-nums; font-size: var(--fs-klein); }
.bp9-fuss { margin-top: var(--a2); }
@media (max-width: 767px) {
  .bp9-gastzeile { flex-wrap: wrap; }
  .bp9-knoepfe .btn { flex: 1 1 100%; justify-content: center; min-height: 44px; }
  .bp9-knoepfe .btn.sm { flex: 0 1 auto; }
  .bp9-wahl { min-height: 40px; }
  .bp9-pflicht { padding: var(--a3); }
  .bp9-pflicht input[type=checkbox] { width: 24px; height: 24px; }
  .bp9-zeile { flex-direction: column; align-items: flex-start; gap: var(--a1); }
  .bp9-z-r { flex-wrap: wrap; gap: var(--a2); }
  .bp9-v-f { grid-template-columns: minmax(0, 1fr); }
  .bp9-v.fest { flex-direction: column; align-items: flex-start; gap: var(--a2); }
  .bp9-zeit { font-size: var(--fs-m); }
}
