/* haushalt.css — Haushalt (Phase 3): auffällige Erinnerungskarte ganz oben in Flavios „Heute" und Eltern-Ansicht „Haushalt".
   Mobile-first, keine Inline-Styles (CSP), Touch-Ziele ≥ 48 px. Ergänzt style.css (karte, knopf, feld, pille, hinweis, tabelle).
   Gestaltung „Bonus Boss": Farben nur über die Tokens aus style.css — Gold für die Erinnerung/Warnung, Grün für „gut",
   Light Blue gedämpft für Ränder und Zitatbalken. */
.hh-versteckt { display: none; }
#haushalt-erinnerungen:empty { display: none; }

/* Flavio: Erinnerungskarte — goldener Rahmen, goldgetönte Fläche über der Kartenfläche (bleibt auch im Kopfschimmer eine Karte) */
.hh-erinnerung { border: 2px solid var(--gold); background: linear-gradient(var(--warn-hell), var(--warn-hell)), var(--karte); }
.hh-erinnerung.angehalten { border-color: var(--linie); background: var(--karte); }
.hh-erinnerung h2 { font-size: 1.3rem; margin-bottom: 8px; }
.hh-erinnerung-text { font-size: 1.05rem; margin-bottom: 8px; }
.hh-frist { font-weight: 700; color: var(--warn-text); margin-bottom: 10px; min-height: 1.4em; }
.hh-erinnerung.angehalten .hh-frist { color: var(--grau); font-weight: 600; }
/* Flavios „Erledigt" wie die Vorlage „Aufgabe erledigt": navy Pille mit hellem Rand und goldenem Haken rechts statt des blauen
   Primärknopfs mit Pfeil (das Zeichen ist eine Maske aus data:-SVG wie in style.css; Material Symbols check_circle). */
button.knopf.hh-erledigt {
  --knopf-zeichen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'%3E%3C/path%3E%3C/svg%3E");
  flex: 1 1 100%;
  width: 100%;
  min-height: 60px;
  font-size: 1.25rem;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--navy-3) 0%, var(--navy-2) 100%);
  border: 1px solid rgba(91, 179, 255, 0.45);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
button.knopf.hh-erledigt::after { width: 26px; height: 26px; background-color: var(--gold); }
button.knopf.hh-erledigt:hover { background: var(--navy-3); }
.hh-hinweis { margin-bottom: 0; }
.hh-widerspruch-block { margin-top: 6px; }
.hh-widerspruch-block .knopfleiste .knopf { flex: 1 1 160px; }
.hh-widerspruch-block textarea { min-height: 84px; font-size: 1.05rem; line-height: 1.45; }

/* Flavio: kürzlich beendete Erinnerungen als kleine Zeilen */
.hh-zuletzt { margin-bottom: 16px; padding: 4px 14px; border: 1px solid var(--linie); border-radius: 12px; background: var(--karte); }
.hh-zuletzt-zeile { padding: 8px 0; border-top: 1px solid var(--linie); }
.hh-zuletzt-zeile:first-child { border-top: none; }
.hh-zuletzt-zeile p { margin: 0 0 4px; line-height: 1.45; }
.hh-zuletzt-zeile .pille { margin-right: 4px; }

/* Eltern */
.hh-kopf-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.hh-kopf-zeile h2 { margin: 0; flex: 1 1 auto; }
.hh-aufgaben { display: grid; grid-template-columns: 1fr; column-gap: 16px; }
.hh-aufgabe h2 { margin-bottom: 4px; }
.hh-aufgabe > .klein { margin-bottom: 8px; }
.hh-zustand { margin: 0 0 6px; font-weight: 600; font-size: 0.95rem; color: var(--grau); line-height: 1.4; }
.hh-zustand.gut { color: var(--gruen-text); }
.hh-zustand.warn { color: var(--warn-text); background: var(--warn-hell); padding: 6px 10px; border-radius: 10px; }
.hh-aufgabe-knoepfe .knopf { flex: 1 1 140px; min-height: 56px; font-size: 1.05rem; }
.hh-eintrag { padding: 12px 0; border-top: 1px solid var(--linie); }
.hh-eintrag:first-of-type { border-top: none; }
.hh-eintrag p { margin-bottom: 6px; }
.hh-eintrag .pille { margin-left: 4px; }
/* Zitat (Widerspruchstext, Abmeldungsgrund): ruhige Lesefläche mit gedämpft blauem Balken */
.hh-zitat { white-space: pre-wrap; margin-bottom: 8px; padding: 10px 12px; border-radius: 10px; background: var(--flaeche-leise); border-left: 4px solid rgba(91, 179, 255, 0.3); line-height: 1.5; }
.hh-details { border-top: 1px solid var(--linie); }
.hh-details:first-of-type { border-top: none; }
.hh-details summary { min-height: 48px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; list-style: none; }
.hh-details summary::-webkit-details-marker { display: none; }
.hh-details summary::before { content: "▸"; color: var(--gold); }
.hh-details[open] summary::before { content: "▾"; }
.hh-verwalten { padding: 12px 0; border-top: 1px dashed var(--linie); }
.hh-verwalten h3 { margin-bottom: 10px; }
.hh-fristen { margin-top: 12px; }

@media (min-width: 720px) {
  .hh-aufgaben { grid-template-columns: 1fr 1fr; }
  .hh-aufgabe-knoepfe .knopf { flex: 1 1 auto; }
  button.knopf.hh-erledigt { width: auto; flex: 0 1 320px; }
}
