/* Zugänge & Zugangsblätter (Einstellungen → Benutzer & Rollen → „🪪 Zugänge“, 29.10.2026) – Druck nach Vorlage F:\ClaudeCode\Zugaenge (Kerstens-CI, A4) */
.zg-liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.zg-liste li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line, #e5ded5); border-radius: 10px; background: #fff; }
.zg-liste .zg-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #f1ece5; color: #584528; font-weight: 700; font-size: 13px; }
.zg-liste .zg-name { flex: 1; min-width: 0; } .zg-liste .zg-name small { display: block; color: var(--muted, #77716a); }
.zg-kopf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

@media print {
  #druck .zg-druck { display: block; font-family: "Gotham", "Montserrat", Arial, sans-serif; color: #363534; font-size: 9.5pt; }
  #druck .zg-druck * { box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #druck .zg-druck .seite { width: 210mm; height: 297mm; padding: 14mm 15mm 12mm 20mm; position: relative; break-after: page; page-break-after: always; overflow: hidden; }
  #druck .zg-druck .kopf { display: flex; justify-content: space-between; align-items: flex-start; }
  #druck .zg-druck .kopf img.logo { height: 16mm; }
  #druck .zg-druck .kopf .art { text-align: right; font-size: 8pt; color: #584528; }
  #druck .zg-druck .kopf .art b { display: block; font-size: 15pt; color: #363534; margin-bottom: 1mm; letter-spacing: .02em; }
  #druck .zg-druck .person { display: flex; gap: 6mm; align-items: center; margin: 6mm 0 5mm; }
  #druck .zg-druck .person .bild { width: 26mm; height: 26mm; border-radius: 50%; object-fit: cover; border: 1mm solid #fff; box-shadow: 0 0 0 .4mm #d9d2c8; }
  #druck .zg-druck .person .ini { width: 26mm; height: 26mm; border-radius: 50%; background: #f1ece5; display: flex; align-items: center; justify-content: center; font-size: 22pt; font-weight: 700; color: #584528; }
  #druck .zg-druck .person h1 { margin: 0 0 1.5mm; font-size: 20pt; font-weight: 700; }
  #druck .zg-druck .person .sub { color: #584528; font-weight: 500; }
  #druck .zg-druck .box { border: .35mm solid #d9d2c8; border-radius: 3mm; padding: 4mm 6mm; margin-bottom: 4mm; display: flex; gap: 6mm; }
  #druck .zg-druck .box .inhalt { flex: 1; }
  #druck .zg-druck .box h2 { margin: 0 0 3mm; font-size: 11pt; font-weight: 700; display: flex; align-items: center; gap: 3mm; }
  #druck .zg-druck .box h2 img { height: 7mm; }
  #druck .zg-druck .feld { display: grid; grid-template-columns: 34mm 1fr; align-items: end; margin: 1.8mm 0; }
  #druck .zg-druck .feld span { color: #77716a; font-size: 8.5pt; }
  #druck .zg-druck .feld i { color: #584528; font-size: 9.5pt; }
  #druck .zg-druck .feld b { font-size: 13pt; font-family: Consolas, "Courier New", monospace; letter-spacing: .03em; }
  #druck .zg-druck .box .qr { text-align: center; font-size: 7pt; color: #77716a; }
  #druck .zg-druck .box .qr img { width: 26mm; height: 26mm; display: block; }
  #druck .zg-druck ul.wo { margin: 2mm 0 0; padding-left: 4.5mm; } #druck .zg-druck ul.wo li { margin: 1mm 0; }
  #druck .zg-druck ul.wo b { font-weight: 600; }
  #druck .zg-druck h3 { font-size: 10pt; margin: 4mm 0 2mm; font-weight: 700; }
  #druck .zg-druck .gruppen { columns: 2; column-gap: 7mm; font-size: 8.3pt; }
  #druck .zg-druck .gruppe { break-inside: avoid; margin-bottom: 2.5mm; }
  #druck .zg-druck .gruppe b { display: block; color: #584528; font-weight: 600; font-size: 8.3pt; }
  #druck .zg-druck .extra { background: #fbf3e6; border-radius: 2mm; padding: 2mm 3mm; font-size: 8.3pt; margin-top: 1mm; }
  #druck .zg-druck .hinweise { font-size: 8.3pt; margin: 0; padding-left: 4.5mm; } #druck .zg-druck .hinweise li { margin: .8mm 0; }
  #druck .zg-druck .fuss { position: absolute; left: 20mm; right: 15mm; bottom: 8mm; border-top: .3mm solid #d9d2c8; padding-top: 2mm; font-size: 7pt; color: #77716a; display: flex; justify-content: space-between; }
  #druck .zg-druck .akzent { height: .8mm; background: linear-gradient(90deg, #ED2939, #FF5800 60%, #FECB00); width: 30mm; margin-top: 2mm; }
  #druck .zg-druck .quer { width: 297mm; height: 210mm; padding: 8mm 12mm; overflow: hidden; break-after: page; page-break-after: always; position: relative; }
  #druck .zg-druck table { border-collapse: collapse; width: 100%; font-size: 7.5pt; }
  #druck .zg-druck th { text-align: left; background: #f1ece5; font-weight: 600; padding: 1.8mm 2mm; border-bottom: .3mm solid #d9d2c8; }
  #druck .zg-druck td { padding: .9mm 2mm; border-bottom: .2mm solid #ebe6df; vertical-align: middle; }
  #druck .zg-druck td img { width: 6.5mm; height: 6.5mm; border-radius: 50%; object-fit: cover; vertical-align: middle; }
  #druck .zg-druck td .ini { width: 6.5mm; height: 6.5mm; font-size: 6pt; border-radius: 50%; background: #f1ece5; display: inline-flex; align-items: center; justify-content: center; color: #584528; font-weight: 700; }
  #druck .zg-druck .ja { color: #2e7d32; font-weight: 600; } #druck .zg-druck .nein { color: #ED2939; font-weight: 600; } #druck .zg-druck .grau { color: #9a948c; }
  #druck .zg-druck code { font-family: Consolas, monospace; font-size: 8.5pt; white-space: nowrap; }
}
