/* ── Screen „termine-eltern“ (partials/screens/termine-eltern.php) ─────────
   Terminliste mit Mündel (events_page.dart: _EventFilterChips, _WeekStrip; event_card.dart, event_rsvp_widgets.dart).
   Ablauf „kind“: Emmas „Zusagen“ wird grün „Zugesagt“. */
.vf-phone { --a-warning: #FF9B5A; --a-on-success: #06210F; }
[data-theme="light"] .vf-phone { --a-warning: #CD6505; --a-on-success: #FFFFFF; }

/* Filter-Chips (_ChipShell): 36 hoch, Karte mit Haarlinie; gewählt = Textfarbe als Fläche. Rechts „Heute“-Knopf */
.vf-screen--termine-eltern .vf-termine-eltern-chips { display: flex; align-items: center; gap: 8px; height: 48px; }
.vf-screen--termine-eltern .vf-termine-eltern-chips > span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--a-card); box-shadow: inset 0 0 0 1px var(--a-divider); font-size: 13px; font-weight: 600; white-space: nowrap; }
.vf-screen--termine-eltern .vf-termine-eltern-chips .hi { width: 15px; height: 15px; color: var(--a-muted); }
.vf-screen--termine-eltern .vf-termine-eltern-chips b { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: var(--a-soft); color: var(--a-blue-t); text-align: center; font-size: 11px; line-height: 14px; font-weight: 800; }
.vf-screen--termine-eltern .vf-termine-eltern-chips .is-on { background: var(--a-text); box-shadow: none; color: var(--a-bg); font-weight: 700; }
.vf-screen--termine-eltern .vf-termine-eltern-chips .is-on .hi { color: var(--a-bg); }
.vf-screen--termine-eltern .vf-termine-eltern-chips .is-on b { background: color-mix(in srgb, var(--a-bg) 20%, transparent); color: var(--a-bg); }
.vf-screen--termine-eltern .vf-termine-eltern-chips .vf-termine-eltern-ward { gap: 8px; padding-left: 4px; }
.vf-screen--termine-eltern .vf-termine-eltern-wav { width: 26px; height: 26px; font-size: 10px; }
.vf-screen--termine-eltern .vf-termine-eltern-today { width: 36px; height: 36px; margin-left: auto; display: grid; place-items: center; border-radius: 14px; background: var(--a-card); }
.vf-screen--termine-eltern .vf-termine-eltern-today .hi { width: 18px; height: 18px; }

/* Wochenleiste (_WeekStrip/_WeekDay): 7 Tage à 64 hoch, Radius 18; heute blau, sichtbarer Tag 2-px-Rand */
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 2px 0 8px; }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week span { height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 18px; background: var(--a-card); box-shadow: inset 0 0 0 1px var(--a-divider); }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week small { font-size: 11px; line-height: 14px; font-weight: 700; opacity: .7; }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week b { font-size: 18px; line-height: 23px; font-weight: 800; font-variant-numeric: tabular-nums; }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week i { display: flex; height: 11px; margin-top: 2px; color: var(--a-blue-t); }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week i .hi { width: 11px; height: 11px; }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week .is-today { background: var(--a-blue); box-shadow: none; color: #fff; }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-week .is-vis { box-shadow: inset 0 0 0 2px var(--a-blue); }

/* Tages-Überschrift (12.5/w800, Laufweite .7) */
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-day { margin: 4px 0 10px 2px; font-size: 12.5px; font-weight: 800; letter-spacing: .7px; color: var(--a-muted); }
:is(.vf-screen--termine-eltern, .vf-screen--termine) .vf-termine-eltern-day ~ .vf-termine-eltern-day { margin-top: 12px; }

/* Terminkarte (AppCard Radius 24): Zeitspalte 50 | Linie | Infos; Antwortzeilen; Zusammenfassung */
.vf-screen--termine-eltern .vf-termine-eltern-card { padding: 16px 16px 0; border-radius: 24px; background: var(--a-card); box-shadow: inset 0 0 0 1px var(--a-divider); }
.vf-screen--termine-eltern .vf-termine-eltern-head { position: relative; display: flex; min-height: 44px; padding-left: 79px; }
.vf-screen--termine-eltern .vf-termine-eltern-head::before { content: ''; position: absolute; left: 64px; top: 0; bottom: 0; width: 1px; background: var(--a-divider); }
.vf-screen--termine-eltern .vf-termine-eltern-time { position: absolute; left: 0; top: 0; width: 50px; display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.vf-screen--termine-eltern .vf-termine-eltern-time b { font-size: 17px; line-height: 21px; font-weight: 800; }
.vf-screen--termine-eltern .vf-termine-eltern-time small { font-size: 13px; line-height: 17px; font-weight: 600; color: var(--a-muted); }
.vf-screen--termine-eltern .vf-termine-eltern-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vf-screen--termine-eltern .vf-termine-eltern-info strong { font-size: 17px; line-height: 21px; font-weight: 700; letter-spacing: -.2px; }
.vf-screen--termine-eltern .vf-termine-eltern-info small { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; line-height: 17px; color: var(--a-muted); }
.vf-screen--termine-eltern .vf-termine-eltern-info small .hi { width: 14px; height: 14px; }
.vf-screen--termine-eltern .vf-termine-eltern-info .vf-termine-eltern-hint { color: var(--a-warning); font-weight: 700; }
.vf-screen--termine-eltern .vf-termine-eltern-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.vf-screen--termine-eltern .vf-termine-eltern-row { display: flex; align-items: center; gap: 6px; }
.vf-screen--termine-eltern .vf-termine-eltern-av { width: 32px; height: 32px; margin-right: 2px; font-size: 11px; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--a-muted) 30%, transparent); }
.vf-screen--termine-eltern .vf-termine-eltern-av.is-me { box-shadow: 0 0 0 1.5px var(--a-blue-t); }

/* StatusButton: 44 hoch, Radius 13, 13/w700, Icon 15; gewählt vollfarbig */
.vf-screen--termine-eltern .vf-termine-eltern-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; border-radius: 13px; background: var(--a-field); font-size: 13px; font-weight: 700; transition: background-color .2s, color .2s, transform .15s; }
.vf-screen--termine-eltern .vf-termine-eltern-btn i { display: flex; }
.vf-screen--termine-eltern .vf-termine-eltern-btn .hi { width: 15px; height: 15px; }
.vf-screen--termine-eltern .vf-termine-eltern-btn.is-yes { background: var(--a-green); color: var(--a-on-success); }
.vf-screen--termine-eltern :is(.vf-termine-eltern-now) { display: none; }

/* EventParticipantsSummary: Gruppenbild 26 (Radius 8) + Name, je Status Icon 15 + Zahl */
.vf-screen--termine-eltern .vf-termine-eltern-sum { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 6px 0; font-size: 13px; font-weight: 700; }
.vf-screen--termine-eltern .vf-termine-eltern-thumb { width: 26px; height: 26px; border-radius: 8px; }
.vf-screen--termine-eltern .vf-termine-eltern-stat { display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.vf-screen--termine-eltern .vf-termine-eltern-stat i { font-style: normal; }
.vf-screen--termine-eltern .vf-termine-eltern-stat .hi { width: 15px; height: 15px; color: var(--a-muted); }
.vf-screen--termine-eltern .vf-termine-eltern-stat.is-yes .hi { color: var(--a-green); }
.vf-screen--termine-eltern .vf-termine-eltern-stat.is-no .hi { color: var(--a-red); }

/* ── Ablauf „kind“: Emmas „Zusagen“ → „Zugesagt“ (Daumen kippt und schwingt zurück, Button federt) ── */
@keyframes vfTeThumb {
  0% { transform: none; }
  23% { transform: translateY(-3px) rotate(-28deg) scale(1.35); }
  45% { transform: translateY(1px) rotate(7deg) scale(.92); }
  65% { transform: rotate(-3deg) scale(1.03); }
  100% { transform: none; }
}
@keyframes vfTeBounce { 0% { transform: scale(.92); } 60% { transform: scale(1.02); } 100% { transform: none; } }
.s1 .vf-screen--termine-eltern .vf-termine-eltern-go { background: var(--a-green); color: var(--a-on-success); animation: vfTeBounce .5s cubic-bezier(.34,1.56,.64,1); }
.s1 .vf-screen--termine-eltern .vf-termine-eltern-go i { animation: vfTeThumb .78s ease-out; }
.s1 .vf-screen--termine-eltern .vf-termine-eltern-was { display: none; }
.s1 .vf-screen--termine-eltern .vf-termine-eltern-now { display: inline; }
.s1 .vf-screen--termine-eltern .vf-termine-eltern-hint { display: none; }
@media (prefers-reduced-motion: reduce) { .vf-screen--termine-eltern :is(.vf-termine-eltern-go, .vf-termine-eltern-go i) { animation: none !important; } }
