/* pruefung.css — Bewertung des Kontroll-Agenten in der Ansicht „Heute": Statuskarte, Verlaufsstreifen, Hinweiszeilen je Fach
   und Einspruch (Flavio); Karte „Bewertung" mit Entscheidungen, Override, Läufen und Rohantwort (Eltern).
   Mobile-first, keine Inline-Styles (CSP), Touch-Ziele ≥ 48 px. Ergänzt style.css um die Status-Pillen gruen/gelb/rot/grau/strittig.
   Farben nur über die Tokens aus style.css: Status grün/gelb/rot = --gruen/--gold/--rot (getönt --*-hell mit --*-text, satt mit
   --*-dunkel), neutral = --neutral-hell/--grau, strittig = gestrichelt in Light Blue. */
.pille.gruen { background: var(--gruen-hell); color: var(--gruen-text); }
.pille.gelb { background: var(--warn-hell); color: var(--warn-text); }
.pille.rot { background: var(--rot-hell); color: var(--rot-text); }
.pille.grau { background: var(--neutral-hell); color: var(--neutral-text); }
.pille.strittig { background: transparent; color: var(--neutral-text); border: 1px dashed var(--blau-hell); }
.pruef-pille { font-size: 0.95rem; padding: 6px 12px; border-radius: 999px; }
.pruef-versteckt { display: none; }

/* Statuskarte (Flavio) und Karte „Bewertung" (Eltern) */
.pruef-karte h2, .pruef-bewertung h2 { margin-bottom: 10px; }
.pruef-pillen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px; }
.pruef-text { margin-bottom: 8px; }
.pruef-stand { margin-bottom: 8px; }
.pruef-laeuft { color: var(--warn); font-weight: 600; margin: 8px 0; min-height: 1.3em; }
.pruef-knoepfe { margin-top: 4px; }
.pruef-knoepfe .knopf { flex: 1 1 200px; }
.pruef-fehlt { margin-bottom: 12px; }

/* Verlaufsstreifen: ein Kreis je Schultag, ältester links; satt gefüllt in Grün/Gold/Rot mit dunklem Text, offen/nicht gewertet
   als leise Fläche, strittig nur mit gestricheltem Rand */
.verlauf-streifen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.verlauf-punkt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--neutral-hell);
  color: var(--grau);
}
.verlauf-punkt.gruen { background: var(--gruen); color: var(--gruen-dunkel); }
.verlauf-punkt.gelb { background: var(--gold); color: var(--gelb-dunkel); }
.verlauf-punkt.rot { background: var(--rot); color: var(--navy); } /* --rot-dunkel wäre auf Rot zu hell (unter 3:1) */
.verlauf-punkt.strittig { background: transparent; border: 2px dashed var(--blau-hell); color: var(--neutral-text); }
.verlauf-punkt.grau { background: var(--neutral-hell); color: var(--grau); }

/* Hinweiszeile je Fach (Flavio unter der Statuszeile, Eltern in der Fachzeile): getönte Fläche je Status, Balken links in der
   satten Statusfarbe */
.pruef-fach { margin-top: 8px; }
.pruef-fach:empty { display: none; }
.pruef-hinweis {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 4px solid var(--grau);
  background: var(--neutral-hell);
  color: var(--neutral-text);
  line-height: 1.45;
}
.pruef-hinweis.gruen { border-left-color: var(--gruen); background: var(--gruen-hell); color: var(--gruen-text); }
.pruef-hinweis.gelb { border-left-color: var(--gold); background: var(--warn-hell); color: var(--warn-text); }
.pruef-hinweis.rot { border-left-color: var(--rot); background: var(--rot-hell); color: var(--rot-text); }
.pruef-hinweis.grau { border-left-color: var(--grau); background: var(--neutral-hell); color: var(--neutral-text); }

/* Einspruch: Knopf und Formular (Flavio), Text mit Entscheidung (Eltern) — ruhiger Lesekasten, offen gestrichelt, entschieden
   mit Trennlinie */
.pruef-einspruch { margin-top: 8px; }
.pruef-einspruch .knopfleiste .knopf { flex: 1 1 160px; }
.pruef-einspruch-formular textarea { min-height: 84px; font-size: 1.05rem; line-height: 1.45; }
.pruef-einspruch.offen, .pruef-einspruch.entschieden { padding: 10px 12px; border-radius: 10px; background: var(--flaeche-leise); border: 1px dashed rgba(91, 179, 255, 0.3); }
.pruef-einspruch.entschieden { border-style: solid; border-color: var(--linie); }
.pruef-einspruch-titel { font-weight: 600; margin-bottom: 4px; }
.pruef-einspruch-text { white-space: pre-wrap; margin-bottom: 8px; }

/* Nacharbeiten (E137, Flavio): je Tag die gelben Fächer mit Textfeld, Trennlinie zwischen den Fächern */
.pruef-nacharbeit-tag { margin-top: 12px; }
.pruef-nacharbeit-tag h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 4px; }
.pruef-nacharbeit-fach { padding: 10px 0; border-top: 1px solid var(--linie); }
.pruef-nacharbeit-titel { margin-bottom: 6px; }
.pruef-nacharbeit-eintrag { white-space: pre-wrap; margin-bottom: 6px; }
.pruef-nacharbeit-fach textarea { min-height: 84px; font-size: 1.05rem; line-height: 1.45; }
.pruef-nacharbeit-ergebnis { min-height: 1.3em; margin: 4px 0 8px; }
.pruef-nacharbeit-fach .knopfleiste .knopf { flex: 1 1 200px; }
.pruef-nacharbeit-rot { margin-top: 12px; }

/* Eltern: Fachzeilen, Vorschau, aufklappbare Details (Aufklapp-Zeichen in Gold, Muster bonus.css), Rohantwort (dunkler
   Monospace-Kasten), Statistik */
.pruef-faecher { margin-top: 8px; }
.pruef-fach-zeile { padding: 12px 0; border-top: 1px solid var(--linie); }
.pruef-fach-zeile:first-child { border-top: none; }
.pruef-fach-zeile > p { margin-bottom: 6px; }
.pruef-fach-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.pruef-fach-kopf strong { font-size: 1.05rem; flex: 1 1 auto; }
.pruef-vorschau { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px; }
.pruef-details { margin-top: 12px; border-top: 1px solid var(--linie); }
.pruef-details summary { min-height: 48px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; list-style: none; }
.pruef-details summary::-webkit-details-marker { display: none; }
.pruef-details summary::before { content: "▸"; color: var(--gold); }
.pruef-details[open] summary::before { content: "▾"; }
.pruef-details .unterformular { margin-top: 0; padding-top: 0; border-top: none; }
.pruef-roh {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--flaeche-dunkel);
  border: 1px solid var(--linie);
  padding: 10px;
  border-radius: 10px;
  max-height: 60vh;
  overflow: auto;
  margin: 0 0 8px;
}
.pruef-statistik { margin: 12px 0 0; }
.pruef-statistik.pruef-statistik-foto { margin-top: 4px; }

@media (min-width: 720px) {
  .pruef-knoepfe .knopf, .pruef-einspruch .knopfleiste .knopf { flex: 0 1 auto; }
  .pruef-override .feld select, .pruef-override .feld input { max-width: 420px; }
}
