/* Controlling → TFA (03.10.2026). Nutzt die Tabellen-/KPI-/Badge-Klassen der Projektstatistik (.ps-*, projektstatistik.css).
   WICHTIG (Regel "sticky Zellen immer deckend"): Summen-/Hervorhebungszeilen nur mit DECKENDEN Farben, nie rgba(). */
.tfa-wrap .ps-toolbar { overflow: visible; flex-wrap: wrap; align-items: flex-end; }
.tfa-feld label { display: block; font-size: .72rem; color: var(--text-muted); margin-bottom: 3px; }
.tfa-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; border-bottom: 1px solid var(--border); }
.tfa-tab { border: 1px solid var(--border); border-bottom: none; background: var(--surface); color: var(--text-main); padding: 7px 14px; border-radius: 8px 8px 0 0; cursor: pointer; font-size: .85rem; }
.tfa-tab:hover { background: var(--surface-hover); }
.tfa-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.tfa-hinweis { font-size: .82rem; color: var(--text-muted); margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.tfa-hinweis b { color: var(--text-main); }
.tfa-inline { width: 150px !important; display: inline-block; }
.tfa-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.tfa-chk { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; cursor: pointer; }
.tfa-ausn { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .78rem; color: var(--text-muted); }
.tfa-begruendung { margin: 0 0 14px; }
.tfa-begruendung label { display: block; font-size: .72rem; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .03em; }
.tfa-inp { padding: 3px 6px; font-size: .8rem; height: auto; text-align: right; }
td .tfa-inp[data-text] { text-align: left; }
.tfa-c { text-align: center; }
.tfa-ampel { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; }
.tfa-rot { background: #dc2626; } .tfa-gelb { background: #f59e0b; } .tfa-gruen { background: #16a34a; }
/* Summenzeilen je Gruppe und Dubletten (deckend, später in der Datei als die Zebrastreifen der Projektstatistik) */
.ps-table tbody tr.tfa-summe td { background: var(--border); font-weight: 700; }
.ps-table tbody tr.tfa-dup td { background: #fee2e2; color: #991b1b; }
:root[data-theme="dark"] .ps-table tbody tr.tfa-dup td { background: #3a1818; color: #fca5a5; }
.ps-table tbody tr.tfa-dup:hover td { background: #fecaca; }
:root[data-theme="dark"] .ps-table tbody tr.tfa-dup:hover td { background: #4a2020; }

/* Blatt 7 "Stunden": Auswertung nach Lohnart + Kennzahlen nebeneinander (Excel "TFA Stunden AEA") */
.tfa-split { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; margin: 0 0 16px; }
.tfa-box { flex: 1 1 420px; min-width: 320px; }
.tfa-box h3 { font-size: .9rem; margin: 0 0 8px; }
.tfa-mini { max-height: 420px; }
.tfa-kz td, .tfa-kz th { white-space: nowrap; }
.tfa-klein { font-size: .75rem; color: var(--text-muted); }
.tfa-azubi { margin-top: 12px; }
.tfa-azubi label { display: block; font-size: .72rem; color: var(--text-muted); margin-bottom: 3px; }
