/*
  workspace-rechte-stufen.css — Ansicht „Stufen" der Seite „Berechtigungen" (Logik: workspace-rechte-stufen.js).

  Kurzbeschreibung (für Laien): Oben die Auswahl „für wen" (Abteilung oder Person), darunter eine Karte mit einer Zeile je Bereich:
  links Name und Hinweis, rechts die fünf Stufen-Knöpfe. Aufbau und Knöpfe wie die anderen Ansichten (bs-sk-werte, tm-k);
  was von der Abteilung kommt, ist am Knopf blass markiert. Am Handy stehen Name und Knöpfe untereinander.
*/
.rs { display: flex; flex-direction: column; gap: 12px; min-width: 0; font-family: var(--marke-schrift); }
.rs-wahl { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rs-etikett { flex: none; width: 72px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--bs-leise); }
.rs-wahl .bs-sk-werte button.hat::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--marke-akzent); vertical-align: middle; }
.rs-wahl .bs-sk-werte button.an.hat::after { background: #fff; }
.rs-karte { gap: 0; padding: 4px 16px; }
.rs-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--bs-linie); }
.rs-zeile:last-child { border-bottom: 0; }
.rs-name { display: flex; flex-direction: column; gap: 2px; min-width: 180px; flex: 1 1 200px; }
.rs-name b { font-size: 14px; font-weight: 600; color: var(--bs-text); }
.rs-name small { font-size: 12px; color: var(--bs-leise); }
.rs-stufen { flex: 0 1 auto; }
.rs-stufen button.erbt:not(.an) { background: color-mix(in srgb, var(--marke-akzent) 14%, var(--bs-weich)); color: var(--bs-text); }
@media (max-width: 720px) {
  .rs-etikett { width: 100%; }
  .rs-zeile { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rs-name { flex: none; width: 100%; }
}
