/*
  workspace-grundanordnung.css — Ansichten „Grund-Anordnung" und „Entfernt" der Seite „Berechtigungen"
  (Logik: workspace-grundanordnung.js).

  Kurzbeschreibung (für Laien): Ralph, 26.10.2026. Links die Bentos als Pillen (wie in „Ziehen"), rechts die Auswahl
  (für alle / Abteilung / Person) und eine kleine Vorschau der Startseite als Raster: jede Kachel so breit und hoch wie
  später auf der Startseite (6 Spalten). Farben nur aus marke.css bzw. den Bento-Werten. Am Handy eine Spalte.
*/
.ga { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; align-items: start; font-family: var(--marke-schrift); }
.ga > .tm-k { grid-column: auto; }
.ga-wahl .bs-sk-werte button.hat::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--marke-akzent); vertical-align: middle; }
.ga-links { position: sticky; top: 0; max-height: calc(100vh - 160px); overflow-y: auto; }
.ga-rechts { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ga-wahl { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ga-etikett { flex: none; width: 72px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--bs-leise); }
.ga-raster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 48px; grid-auto-flow: row dense; gap: 8px;
  min-height: 120px; padding: 12px; border-radius: var(--marke-r-l); background: var(--bs-weich); }
.ga-raster.leer { display: flex; align-items: center; justify-content: center; }
.ga-raster.ueber, .ga-raster.leer.ueber { box-shadow: 0 0 0 2px var(--marke-akzent); }
.ga-k { position: relative; grid-column: span var(--w, 1); grid-row: span var(--h, 1); display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0; padding: 8px 10px; border-radius: var(--marke-r-m); background: var(--bs-karte); color: var(--bs-text); box-shadow: var(--marke-schatten-leise);
  cursor: grab; user-select: none; }
.ga-k b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-k small { font-size: 11px; color: var(--bs-leise); }
.ga-k.ueber { box-shadow: -3px 0 0 var(--marke-akzent), var(--marke-schatten-leise); }
.ga-k-knoepfe { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 4px; }
.ga-mini { min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; border: 0;
  border-radius: var(--marke-r-s); background: var(--bs-weich); color: var(--bs-text); font: 600 11px var(--marke-schrift); cursor: pointer; }
.ga-mini:hover { background: var(--marke-feld); }
.ga-mini svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ga-tun .bs-knopf[disabled] { opacity: .45; cursor: default; }
.ga-leise { font-size: 12px; color: var(--bs-leise); margin: 0; }
.ga-liste, .ga-laeufe { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ga-liste li, .ga-laeufe li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0;
  border-bottom: 1px solid var(--bs-linie); font-size: 13px; }
.ga-liste li span, .ga-laeufe li span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-liste .bs-knopf { height: 32px; font-size: 12px; }
@media (max-width: 899px) {
  .ga { grid-template-columns: minmax(0, 1fr); }
  .ga-links { position: static; max-height: none; }
  .ga-raster { grid-auto-rows: 40px; }
}
