/* Links & Freigaben in der Zentrale. Ruhige Zeilen, die Matrix am Computer, am Handy je Person aufklappbar. */
.ln-gruppen { display: grid; gap: 18px; }
.ln-gruppe { display: grid; gap: 6px; min-width: 0; }
.ln-gruppe-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.ln-gruppe-kn { display: flex; gap: 2px; }
.ln-gruppe-kn .kn { color: var(--text2); }
.ln-gruppe-kn .kn:disabled { background: transparent; border-color: transparent; color: var(--rand); }
.ln-zeile { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 16px; }
.ln-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--rund); background: var(--grund); color: var(--text); }
.ln-text { min-width: 0; }
.ln-text strong { display: block; font-weight: 650; overflow-wrap: anywhere; }
.ln-text > span { display: block; font-size: 14px; color: var(--text2); overflow-wrap: anywhere; }
.ln-text > span.warn-text { color: var(--warn); }
.ln-text .ln-ziel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.ln-text .ln-zugriff { color: var(--text); font-weight: 550; }
.ln-aktiv .pr-schalter-text { display: none; min-width: 2.6em; }
.ln-aktionen { grid-column: 2 / -1; display: flex; gap: 2px; margin-left: -13px; }
.ln-kn { border-color: transparent; background: transparent; color: var(--text); }
.ln-kn:disabled { background: transparent; border-color: transparent; color: var(--rand); }
.ln-qr-kn { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
@media (min-width: 760px) {
  .ln-zeile { grid-template-columns: 38px minmax(0, 1fr) auto auto; }
  .ln-aktionen { grid-column: auto; grid-row: 1; grid-column-start: 4; margin-left: 0; }
  .ln-aktiv { grid-column-start: 3; grid-row: 1; }
  .ln-aktiv .pr-schalter-text { display: inline; }
  .ln-text { grid-column-start: 2; grid-row: 1; }
  .ln-symbol { grid-row: 1; }
}
.ln-symbole label.wahl { padding: 0; width: 44px; }
.ln-symbole label.wahl .ic { width: 20px; height: 20px; }
.ln-qr { display: grid; place-items: center; padding: 8px 0 4px; }
.ln-qr svg { display: block; width: 100%; max-width: 240px; height: auto; }
.ln-qr-ziel { text-align: center; font-weight: 600; overflow-wrap: anywhere; }

/* Freigaben */
.fg .karte-kopf { padding-bottom: 12px; }
.fg-suche { flex: 1 1 200px; max-width: 320px; }
.fg-handy { display: block; }
.fg-rahmen { display: none; }
.fg-schalter { justify-content: center; min-width: 44px; padding: 0; }
.fg-masse { display: flex; gap: 6px; flex: none; }
.fg-masse .kn { padding: 0 10px; }
.fg-masse-kn, .fg-person-kn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 16px; text-align: left; color: var(--text); }
.fg-masse-kn { min-height: 44px; font-weight: 600; justify-content: space-between; border-top: 1px solid var(--linie); }
.fg-masse-kn .ic, .fg-person-kn .ic { width: 16px; height: 16px; color: var(--text2); flex: none; }
.fg-masse-kn:active, .fg-person-kn:active { background: var(--flaeche); }
.fg-masse-liste { padding: 0 16px 8px; display: grid; gap: 6px; }
.fg-masse-liste li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.fg-handy > .liste { border-top: 1px solid var(--linie); }
.fg-anzahl { flex: none; font-size: 14px; color: var(--text2); font-weight: 600; }
.fg-schalterliste { padding: 0 16px 8px; }
.fg-schalterliste li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-top: 1px solid var(--linie); }
.fg-schalterliste li > span { min-width: 0; overflow-wrap: anywhere; font-weight: 550; }
.fg-im-blatt { padding: 0; }
.fg-im-blatt li:first-child { border-top: 0; }
@media (min-width: 760px) {
  .fg-handy { display: none; }
  .fg-rahmen { display: block; overflow-x: auto; overscroll-behavior-x: contain; border-top: 1px solid var(--linie); border-radius: 0 0 var(--rund-gross) var(--rund-gross); }
  .fg-tabelle { width: 100%; border-collapse: separate; border-spacing: 0; }
  .fg-tabelle th, .fg-tabelle td { padding: 6px 12px; border-bottom: 1px solid var(--linie); text-align: center; vertical-align: middle; background: var(--karte); }
  .fg-tabelle thead th { padding-top: 12px; padding-bottom: 10px; font-weight: 650; font-size: 14px; vertical-align: bottom; min-width: 148px; }
  .fg-tabelle tbody tr:last-child th, .fg-tabelle tbody tr:last-child td { border-bottom: 0; }
  .fg-tabelle .fg-person { position: sticky; left: 0; z-index: 1; min-width: 200px; padding-left: 16px; text-align: left; font-weight: 600; box-shadow: 1px 0 0 var(--linie); }
  .fg-tabelle .fg-person small { display: block; font-size: 13.5px; font-weight: 450; color: var(--text2); }
  .fg-titel { display: block; margin-bottom: 8px; text-wrap: balance; }
  .fg-tabelle .fg-masse { justify-content: center; }
}
