/* Smart-BN Learning – gemeinsame Gestaltung */
:root {
  --grund: #f5f6f8; --karte: #fff; --text: #1d2430; --leise: #5b6574; --linie: #dde2e8;
  --akzent: #1f5fa8; --akzent-weich: #e8f0fa; --gut: #1d7a46; --gut-weich: #e6f4ec;
  --warn: #9a5b00; --warn-weich: #fff4e0; --schlecht: #b3261e; --schlecht-weich: #fdecea;
}
@media (prefers-color-scheme: dark) {
  :root { --grund: #14181e; --karte: #1c222b; --text: #e6e9ee; --leise: #9aa4b2; --linie: #2c3440;
    --akzent: #7fb0ea; --akzent-weich: #1d2a3b; --gut: #6fcf97; --gut-weich: #16291f;
    --warn: #f0b354; --warn-weich: #2e2414; --schlecht: #f28b82; --schlecht-weich: #331a19; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 980px; margin: 0 auto; padding: 24px 16px 48px; }
/* Verwaltungsseiten mit breiten Tabellen (Beschäftigte, Zuordnungen) nutzen die Bildschirmbreite;
   schmale Bildschirme scrollen weiter in der Karte. */
main:has(.karte.breit) { max-width: 1240px; }
h1 { font-size: 24px; margin: 0 0 4px; } h2 { font-size: 18px; margin: 28px 0 10px; } h3 { font-size: 16px; margin: 0 0 8px; }
a { color: var(--akzent); }
.leise, .hinweis-klein { color: var(--leise); font-size: 14px; }
.kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.marke { display: inline-block; background: var(--akzent); color: var(--karte); border-radius: 4px; padding: 1px 7px; font-size: 12px; font-weight: 600; }
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.karte.breit { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--leise); font-weight: 600; }
td.z, th.z { text-align: right; font-variant-numeric: tabular-nums; }
tfoot td { font-weight: 600; border-bottom: none; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
dt { color: var(--leise); } dd { margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: 13px; word-break: break-all; }
.knopf, button { display: inline-block; border: 1px solid var(--akzent); background: var(--akzent); color: var(--karte); border-radius: 8px;
  padding: 9px 16px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.knopf.zweit, button.zweit { background: transparent; color: var(--akzent); }
.knopf.klein, button.klein { padding: 4px 10px; font-size: 14px; font-weight: 500; }
form.inline { display: inline; margin: 0; }
.status { display: inline-block; border-radius: 999px; padding: 1px 10px; font-size: 13px; font-weight: 600; }
.status.offen { background: var(--akzent-weich); color: var(--akzent); }
.status.begonnen { background: var(--warn-weich); color: var(--warn); }
.status.abgeschlossen { background: var(--gut-weich); color: var(--gut); }
progress.fortschritt { display: block; width: 100%; height: 8px; margin: 8px 0; border: 0; border-radius: 999px; background: var(--linie); color: var(--akzent); -webkit-appearance: none; appearance: none; }
progress.fortschritt::-webkit-progress-bar { background: var(--linie); border-radius: 999px; }
progress.fortschritt::-webkit-progress-value { background: var(--akzent); border-radius: 999px; }
progress.fortschritt::-moz-progress-bar { background: var(--akzent); border-radius: 999px; }
.abstand-unten { margin-bottom: 14px; }
.kurs { display: grid; gap: 6px; }
.kurs .titel { font-size: 18px; font-weight: 700; }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
/* Station */
.station-kopf { margin-bottom: 18px; }
.station-kopf .untertitel { color: var(--leise); font-size: 17px; }
.nachricht { border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; margin: 14px 0; background: var(--karte); }
.nachricht .leiste { background: var(--akzent-weich); padding: 8px 14px; font-size: 13px; color: var(--leise); }
.nachricht .felder { padding: 10px 14px; border-bottom: 1px solid var(--linie); font-size: 14px; }
.nachricht .felder b { display: inline-block; min-width: 64px; color: var(--leise); font-weight: 500; }
.nachricht .absender { font-family: ui-monospace, Consolas, "Courier New", monospace; }
.nachricht .text { padding: 14px; white-space: pre-line; }
.nachricht .link { margin: 0 14px 14px; }
.nachricht .link span { display: inline-block; background: var(--akzent); color: var(--karte); border-radius: 6px; padding: 7px 14px; font-weight: 600; }
.nachricht .link small { display: block; color: var(--leise); margin-top: 6px; font-family: ui-monospace, Consolas, monospace; }
.warnzeichen { background: var(--warn-weich); border-left: 4px solid var(--warn); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.warnzeichen h3 { color: var(--warn); }
.warnzeichen ul, .merkpunkte ul { margin: 0; padding-left: 20px; }
.merkpunkte { background: var(--akzent-weich); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.hinweis { border-left: 4px solid var(--gut); background: var(--gut-weich); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 12px 0; }
.schritt { background: var(--karte); border: 1px solid var(--linie); border-radius: 10px; padding: 14px; }
.schritt .nr { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--akzent); color: var(--karte); font-weight: 700; margin-bottom: 6px; }
.meldeweg { border: 1px dashed var(--linie); border-radius: 8px; padding: 12px 16px; color: var(--leise); }
/* Test */
fieldset { border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; margin: 0 0 14px; background: var(--karte); }
legend { font-weight: 600; padding: 0 6px; }
label.antwort { display: flex; gap: 10px; align-items: flex-start; padding: 6px 4px; cursor: pointer; }
label.antwort input { margin-top: 5px; }
.ergebnis { border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.ergebnis.gut { background: var(--gut-weich); border: 1px solid var(--gut); }
.ergebnis.schlecht { background: var(--schlecht-weich); border: 1px solid var(--schlecht); }
/* Zertifikat */
.zertifikat { background: #fff; color: #1d2430; border: 1px solid #c9d2de; border-radius: 6px; padding: 48px 56px; text-align: center;
  aspect-ratio: 297 / 210; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.zertifikat::before { content: ""; position: absolute; inset: 14px; border: 2px solid #1f5fa8; border-radius: 4px; pointer-events: none; }
.zertifikat .absender { letter-spacing: .18em; text-transform: uppercase; color: #1f5fa8; font-weight: 700; font-size: 14px; }
.zertifikat .art { font-size: 34px; font-weight: 700; margin: 4px 0; }
.zertifikat .name { font-size: 28px; font-weight: 600; border-bottom: 1px solid #c9d2de; display: inline-block; padding: 0 24px 4px; margin: 6px auto; }
.zertifikat .kurstitel { font-size: 20px; font-weight: 600; }
.zertifikat .daten { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; font-size: 14px; margin-top: 18px; }
.zertifikat .daten b { display: block; font-size: 12px; color: #5b6574; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.zertifikat .nummer { font-family: ui-monospace, Consolas, monospace; }
@media (max-width: 640px) { .zertifikat { aspect-ratio: auto; padding: 32px 20px; } .zertifikat .art { font-size: 26px; } }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #fff; } main { max-width: none; padding: 0; }
  .nicht-drucken { display: none !important; }
  .zertifikat { border: none; height: 186mm; aspect-ratio: auto; padding: 18mm 24mm; }
}
ul.personen { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
ul.personen li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* Schulungsverwaltung */
.karte.gut { border-color: var(--gut); background: var(--gut-weich); }
.karte.schlecht { border-color: var(--schlecht); background: var(--schlecht-weich); }
.status.entfallen, .status.inaktiv, .status.entfernt, .status.hinweis { background: var(--linie); color: var(--leise); }
.status.aktiv, .status.verarbeitet, .status.aenderung { background: var(--gut-weich); color: var(--gut); }
.status.abgelehnt, .status.fehler { background: var(--schlecht-weich); color: var(--schlecht); }
.status.zuweisung { background: var(--akzent-weich); color: var(--akzent); }
.abstand-oben { margin-top: 18px; }
input, select { font: inherit; color: var(--text); background: var(--karte); border: 1px solid var(--linie); border-radius: 8px; padding: 7px 10px; max-width: 100%; }
.formular { display: grid; gap: 10px; margin-top: 12px; }
.formular label { display: grid; gap: 4px; }
.spalten3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
fieldset { border: 1px solid var(--linie); border-radius: 10px; padding: 8px 12px; margin: 0; }
legend { color: var(--leise); font-size: 14px; padding: 0 4px; }
label.wahl { display: block; padding: 2px 0; }
details > summary { cursor: pointer; }
.status.ungeklaert { background: var(--warn-weich); color: var(--warn); }
input.voll { width: 100%; box-sizing: border-box; font-family: monospace; }
/* Kursbausteine ab Basisschulung 0.2: Absatz/Liste/Beispiel, Lernentscheidung, Auswertung, Muster-Kennzeichnung */
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.kennzeichnung { background: var(--warn-weich); border: 1px solid var(--warn); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.kennzeichnung b { color: var(--warn); }
.kennzeichnung details { margin-top: 6px; }
.kennzeichnung ul { margin: 6px 0 0; padding-left: 20px; }
.status.muster { background: var(--warn-weich); color: var(--warn); }
ol.liste, ul.liste { padding-left: 22px; } ol.liste li, ul.liste li { margin: 6px 0; }
.beispiel { border: 1px solid var(--linie); border-left: 4px solid var(--akzent); border-radius: 8px; background: var(--akzent-weich); padding: 4px 16px; margin: 14px 0; }
.beispiel .fussnote { font-size: 13px; color: var(--leise); }
fieldset.entscheidung { margin-top: 18px; }
fieldset.entscheidung legend { color: var(--text); font-size: 16px; font-weight: 600; }
fieldset.entscheidung[disabled] label.antwort { opacity: .65; cursor: default; }
fieldset.entscheidung[disabled] label.antwort.gewaehlt { opacity: 1; font-weight: 600; }
.rueckmeldung { border-left: 4px solid var(--akzent); background: var(--akzent-weich); border-radius: 8px; padding: 12px 16px; margin: 14px 0; }
.rueckmeldung.gut { border-left-color: var(--gut); background: var(--gut-weich); }
.rueckmeldung h2 { font-size: 16px; margin: 0 0 6px; }
.rueckmeldung p { margin: 6px 0; }
.handlungsregel { border-top: 1px solid var(--linie); padding-top: 12px; }
ol.auswertung { list-style: none; padding: 0; margin: 0; }
ol.auswertung li.karte { border-left: 4px solid var(--linie); }
ol.auswertung li.richtig { border-left-color: var(--gut); }
ol.auswertung li.falsch { border-left-color: var(--schlecht); }
ol.auswertung p { margin: 6px 0; }
.zertifikat .testvermerk { color: #9a5b00; font-weight: 600; font-size: 14px; max-width: 70ch; margin: 0 auto; }
.zertifikat.test::before { border-color: #9a5b00; border-style: dashed; }
/* Schulungsverwaltung als Vorführweg: Bereiche, Kennzahlen, Kurs zuweisen */
nav.bereiche { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
nav.bereiche a { border: 1px solid var(--linie); border-radius: 999px; padding: 4px 14px; text-decoration: none; background: var(--karte); font-weight: 600; }
.kennzahlen { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.kennzahlen > div { background: var(--karte); border: 1px solid var(--linie); border-radius: 10px; padding: 8px 16px; }
.kennzahlen b { font-size: 20px; margin-right: 4px; }
.karte.schulung h3 { margin-bottom: 4px; }
details.beenden summary { color: var(--leise); font-size: 14px; }
details.beenden form { margin-top: 6px; }
.filter select, .filter input { max-width: 220px; }
.status.fehler { background: var(--schlecht-weich); color: var(--schlecht); }
fieldset.kurse label.kurswahl { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--linie); border-radius: 8px; margin: 8px 0; cursor: pointer; }
fieldset.kurse label.kurswahl input { margin-top: 5px; }
dl.text dd { font-family: inherit; font-size: inherit; word-break: normal; }
details.einrichtung > summary { padding: 4px 0; }
/* Anmeldung der Teilnehmer (E-Mail und Passwort) */
.karte.anmeldung { max-width: 460px; margin: 40px auto; }
.karte.anmeldung input { width: 100%; }
.fehlermeldung { color: var(--schlecht); background: var(--schlecht-weich); border-radius: 8px; padding: 8px 12px; }

/* Kursbausteine mit Medien und Übungen (seit Basisschulung 0.4) */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kursbild, .bildstellen, .film { margin: 16px 0; }
.kursbild img, .bildstellen img, .zitat img { display: block; width: 100%; height: auto; border-radius: 10px; }
.kursbild figcaption, .bildstellen figcaption, .film figcaption { color: var(--leise); font-size: 13px; margin-top: 6px; }
.zitat { margin: 16px 0; }
.zitat.mit-bild { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.zitat blockquote { margin: 0; border-left: 4px solid var(--akzent); background: var(--akzent-weich); border-radius: 8px; padding: 12px 16px; }
.zitat .sprecher { font-size: 13px; color: var(--leise); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.zitat blockquote p { margin: 6px 0 0; font-size: 18px; }
.szene { position: relative; }
.bildmarke { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--akzent); color: #fff;
  border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.aufforderung { font-weight: 600; margin: 14px 0 8px; }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 10px 0 16px; align-items: start; }
.karte-auf { border: 1px solid var(--linie); border-radius: 10px; background: var(--karte); padding: 0; }
.karte-auf > summary { cursor: pointer; padding: 12px 14px; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; border-radius: 10px; }
.karte-auf > summary::-webkit-details-marker { display: none; }
.karte-auf > summary::after { content: "anzeigen"; margin-left: auto; font-size: 12px; color: var(--akzent); }
.karte-auf[open] > summary { background: var(--akzent-weich); }
.karte-auf[open] > summary::after { content: "ausblenden"; }
.karte-auf > summary span:not(.nr) { color: var(--leise); flex-basis: 100%; font-size: 14px; }
.karte-auf > p { margin: 0; padding: 10px 14px 12px; }
.karte-auf .nr { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--akzent); color: var(--karte); align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
summary:focus-visible, .uebung select:focus-visible, .antwort input:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.film video { display: block; width: 100%; height: auto; background: #000; border-radius: 10px; }
.textfassung, .aufdecken { margin: 8px 0 16px; }
.textfassung > summary, .aufdecken > summary { cursor: pointer; color: var(--akzent); font-weight: 600; padding: 6px 0; }
.aufdecken > summary { display: inline-block; border: 1px solid var(--akzent); border-radius: 8px; padding: 8px 14px; }
.textfassung li { margin: 6px 0; }
.nachricht.pruef .text p { margin: 0 0 8px; white-space: normal; }
.nachricht.pruef .fussnote { padding: 8px 14px; border-top: 1px solid var(--linie); font-size: 13px; color: var(--leise); }
.nachricht mark { background: var(--warn-weich); color: inherit; border-bottom: 2px solid var(--warn); padding: 0 2px; overflow-wrap: anywhere; }
.weg { display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; }
.weg .endpunkt { border: 1px solid var(--linie); background: var(--karte); border-radius: 8px; padding: 8px 12px; font-weight: 600; }
.weg .pfeil { flex: 1; border-top: 2px dashed var(--leise); min-width: 24px; }
.akte { border: 1px solid var(--linie); border-radius: 10px; background: var(--karte); padding: 12px 16px; margin: 14px 0; }
.akte .zeile { padding: 6px 0; border-bottom: 1px dashed var(--linie); }
.akte .zeile:last-child { border-bottom: none; }
.akte .zeile.hervor { background: var(--warn-weich); }
.geschwaerzt { background: var(--text); color: transparent; border-radius: 2px; user-select: none; }
.vergleich { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 14px 0; }
.vergleich .seite { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; background: var(--karte); }
.vergleich .label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--leise); font-weight: 600; }
.abweichung { background: var(--schlecht-weich); border-bottom: 2px solid var(--schlecht); }
.uebung fieldset { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; }
.reihenfolge { list-style: none; padding: 0; margin: 10px 0; }
.reihenfolge li { display: flex; gap: 10px; align-items: center; border: 1px solid var(--linie); border-radius: 8px; padding: 8px 12px; margin: 6px 0; background: var(--karte); }
.reihenfolge select { font: inherit; padding: 4px 6px; }
.reihenfolge .platz { color: var(--leise); font-size: 13px; }
.checkliste { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; }
.kette { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; counter-reset: k; }
.kette li { border: 1px solid var(--linie); border-radius: 8px; padding: 8px 12px; background: var(--karte); }
.kette li + li::before { content: "→ "; color: var(--leise); }
.quellen { font-size: 14px; margin: 12px 0; }
.recht { border: 1px solid var(--linie); border-radius: 10px; padding: 12px 16px; margin: 16px 0 0; background: var(--grund); }
.recht-art { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--leise); font-weight: 600; }
.recht p { margin: 6px 0; }
.recht summary { cursor: pointer; color: var(--akzent); font-weight: 600; }
.rueckmeldung h3 { margin: 0 0 6px; }
@media (max-width: 640px) { .zitat.mit-bild, .vergleich { grid-template-columns: 1fr; } .bildmarke { width: 28px; height: 28px; font-size: 13px; } }
/* Kurskatalog der Hausverwaltung */
.katalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.katalogkurs .titel { font-weight: 700; }
.katalogkurs.grau { opacity: .62; background: var(--grund); }
.status.nicht-gebucht { background: var(--grund); color: var(--leise); border: 1px solid var(--linie); }
.hinweis-erneut { border-left: 4px solid var(--warn); background: var(--warn-weich); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
/* Plattform-Sicht */
.berechtigungen { margin: 8px 0; padding-left: 18px; }
.berechtigungen li.grau, .katalogkurs.grau .titel { color: var(--leise); }
.mandant .titel, .kursfassung .titel { margin-bottom: 4px; }
details.support summary, details.freigabe summary { cursor: pointer; color: var(--akzent); }
/* Lage der Bildstellen in Prozent (Inline-Stile verbietet die Sicherheitsrichtlinie) */
.px-0{left:0%}.px-1{left:1%}.px-2{left:2%}.px-3{left:3%}.px-4{left:4%}.px-5{left:5%}.px-6{left:6%}.px-7{left:7%}.px-8{left:8%}.px-9{left:9%}.px-10{left:10%}.px-11{left:11%}.px-12{left:12%}.px-13{left:13%}.px-14{left:14%}.px-15{left:15%}.px-16{left:16%}.px-17{left:17%}.px-18{left:18%}.px-19{left:19%}.px-20{left:20%}.px-21{left:21%}.px-22{left:22%}.px-23{left:23%}.px-24{left:24%}.px-25{left:25%}.px-26{left:26%}.px-27{left:27%}.px-28{left:28%}.px-29{left:29%}.px-30{left:30%}.px-31{left:31%}.px-32{left:32%}.px-33{left:33%}.px-34{left:34%}.px-35{left:35%}.px-36{left:36%}.px-37{left:37%}.px-38{left:38%}.px-39{left:39%}.px-40{left:40%}.px-41{left:41%}.px-42{left:42%}.px-43{left:43%}.px-44{left:44%}.px-45{left:45%}.px-46{left:46%}.px-47{left:47%}.px-48{left:48%}.px-49{left:49%}.px-50{left:50%}.px-51{left:51%}.px-52{left:52%}.px-53{left:53%}.px-54{left:54%}.px-55{left:55%}.px-56{left:56%}.px-57{left:57%}.px-58{left:58%}.px-59{left:59%}.px-60{left:60%}.px-61{left:61%}.px-62{left:62%}.px-63{left:63%}.px-64{left:64%}.px-65{left:65%}.px-66{left:66%}.px-67{left:67%}.px-68{left:68%}.px-69{left:69%}.px-70{left:70%}.px-71{left:71%}.px-72{left:72%}.px-73{left:73%}.px-74{left:74%}.px-75{left:75%}.px-76{left:76%}.px-77{left:77%}.px-78{left:78%}.px-79{left:79%}.px-80{left:80%}.px-81{left:81%}.px-82{left:82%}.px-83{left:83%}.px-84{left:84%}.px-85{left:85%}.px-86{left:86%}.px-87{left:87%}.px-88{left:88%}.px-89{left:89%}.px-90{left:90%}.px-91{left:91%}.px-92{left:92%}.px-93{left:93%}.px-94{left:94%}.px-95{left:95%}.px-96{left:96%}.px-97{left:97%}.px-98{left:98%}.px-99{left:99%}.px-100{left:100%}
.py-0{top:0%}.py-1{top:1%}.py-2{top:2%}.py-3{top:3%}.py-4{top:4%}.py-5{top:5%}.py-6{top:6%}.py-7{top:7%}.py-8{top:8%}.py-9{top:9%}.py-10{top:10%}.py-11{top:11%}.py-12{top:12%}.py-13{top:13%}.py-14{top:14%}.py-15{top:15%}.py-16{top:16%}.py-17{top:17%}.py-18{top:18%}.py-19{top:19%}.py-20{top:20%}.py-21{top:21%}.py-22{top:22%}.py-23{top:23%}.py-24{top:24%}.py-25{top:25%}.py-26{top:26%}.py-27{top:27%}.py-28{top:28%}.py-29{top:29%}.py-30{top:30%}.py-31{top:31%}.py-32{top:32%}.py-33{top:33%}.py-34{top:34%}.py-35{top:35%}.py-36{top:36%}.py-37{top:37%}.py-38{top:38%}.py-39{top:39%}.py-40{top:40%}.py-41{top:41%}.py-42{top:42%}.py-43{top:43%}.py-44{top:44%}.py-45{top:45%}.py-46{top:46%}.py-47{top:47%}.py-48{top:48%}.py-49{top:49%}.py-50{top:50%}.py-51{top:51%}.py-52{top:52%}.py-53{top:53%}.py-54{top:54%}.py-55{top:55%}.py-56{top:56%}.py-57{top:57%}.py-58{top:58%}.py-59{top:59%}.py-60{top:60%}.py-61{top:61%}.py-62{top:62%}.py-63{top:63%}.py-64{top:64%}.py-65{top:65%}.py-66{top:66%}.py-67{top:67%}.py-68{top:68%}.py-69{top:69%}.py-70{top:70%}.py-71{top:71%}.py-72{top:72%}.py-73{top:73%}.py-74{top:74%}.py-75{top:75%}.py-76{top:76%}.py-77{top:77%}.py-78{top:78%}.py-79{top:79%}.py-80{top:80%}.py-81{top:81%}.py-82{top:82%}.py-83{top:83%}.py-84{top:84%}.py-85{top:85%}.py-86{top:86%}.py-87{top:87%}.py-88{top:88%}.py-89{top:89%}.py-90{top:90%}.py-91{top:91%}.py-92{top:92%}.py-93{top:93%}.py-94{top:94%}.py-95{top:95%}.py-96{top:96%}.py-97{top:97%}.py-98{top:98%}.py-99{top:99%}.py-100{top:100%}
/* Auswertung je Schulung: Filter der Personenliste, Summenzeile je Kurs */
.filterwahl { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.filterwahl a { border: 1px solid var(--linie); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--text); background: var(--karte); font-size: 14px; }
.filterwahl a.aktiv { background: var(--akzent); border-color: var(--akzent); color: var(--karte); }
.filterwahl a b { font-variant-numeric: tabular-nums; margin-left: 4px; }
a.ueberfaellig { color: var(--schlecht); font-weight: 700; }
tr.summe td { border-top: 2px solid var(--linie); background: var(--grund); }
.mail { white-space: nowrap; }
table.stand td:first-child, table.personen td:first-child { position: sticky; left: 0; background: var(--karte); }
tr.summe td:first-child { background: var(--grund); }
@media (max-width: 640px) {
  table.stand { min-width: 0; }
  table.stand thead { display: none; }
  table.stand tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
  table.stand td { display: block; border: 0; padding: 0; text-align: left; position: static; background: none; }
  table.stand td:first-child, table.stand td:last-child { grid-column: 1 / -1; }
  table.stand td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--leise); }
}
/* Liste ueber alle Schulungen, Nachweis zum Stichtag */
.schulungsliste { margin: 0; padding-left: 18px; min-width: 28ch; }
.schulungsliste li { margin: 2px 0; }
.nachweis h1 { font-size: 22px; margin: 0 0 8px; }
@media print { .nachweis { border: none; padding: 0; } .karte.breit { overflow: visible; } }
