/* ═══════════════════════════════════════════════════════════════════
   EINNAHMEN BEI EINER LAUFENDEN ATTACKE
   Eigene Datei, weil die Notiz an zwei Orten steht: im Dashboard und im
   Attackenplan der Journey. Die beiden Seiten teilen sich sonst keine
   Stildatei, in style.css hätte die Journey die Regeln nicht bekommen.

   Durchgehend über Farbvariablen, damit der dunkle Modus von selbst
   stimmt. Keine Flächenfarbe als Schriftfarbe, die kippt beim Umschalten.
   Die dunkle Fassung für den Attackenplan steht in journey/style.css.
   ═══════════════════════════════════════════════════════════════════ */
.an-leer { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; margin: 0 0 12px; }
.an-liste { margin-bottom: 12px; }
/* Zweizeilig statt alles nebeneinander: Medikamentenname, Uhrzeit und Abstand
   passen auf einer Handybreite nicht in eine Zeile, ein Name wie
   "Sumatriptan 50 mg" wurde sonst mitten im Wort umgebrochen. */
.an-eintrag {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--gray-light);
}
.an-eintrag:last-child { border-bottom: none; }
.an-haupt { flex: 1 1 auto; min-width: 0; }
.an-eintrag .an-mittel { font-weight: 600; color: var(--gray-text); hyphens: auto; overflow-wrap: break-word; }
.an-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.an-weg {
  flex-shrink: 0; background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 0.95rem; padding: 0 2px; line-height: 1;
}
.an-aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.an-btn {
  font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  padding: 9px 14px; border-radius: 9px;
  border: 1px solid var(--purple-light); background: var(--white); color: var(--gray-text);
}
.an-btn-haupt { border-color: var(--purple-mid); color: var(--purple-mid); }
.an-btn-weg { border-color: var(--purple-light); }
.an-eingabe { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-light); }
.an-zeit-zeile { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.an-zeit-zeile label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.an-zeit, .an-frei {
  font-family: inherit; font-size: 0.9rem; padding: 8px 10px;
  border: 1px solid var(--purple-light); border-radius: 8px;
  background: var(--white); color: var(--gray-text);
}
.an-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.an-chip {
  font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  padding: 9px 13px; border-radius: 999px;
  border: 1px solid var(--purple-light); background: var(--lavender-soft); color: var(--purple-mid);
}
.an-frei-zeile { display: flex; gap: 8px; }
.an-frei-zeile .an-frei { flex: 1 1 auto; min-width: 0; }
.an-abschluss { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-light); }
.an-abschluss-text { font-size: 0.86rem; color: var(--gray-text); line-height: 1.5; margin: 0 0 10px; }
.an-tage { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.an-tag-btn {
  display: block; text-decoration: none; font-size: 0.86rem; font-weight: 600;
  padding: 10px 13px; border-radius: 9px;
  border: 1px solid var(--purple-mid); background: var(--lavender-soft); color: var(--purple-mid);
}
.an-abschluss-hinweis { font-size: 0.78rem; color: var(--text-muted); margin: 8px 0 0; line-height: 1.45; }
