.kfe-wrap { --kfe-accent: #2f7d32; --kfe-border: #d9dfd6; --kfe-soft: #f4f8f2; max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.5; }
.kfe-wrap *, .kfe-wrap *::before, .kfe-wrap *::after { box-sizing: border-box; }
.kfe-wrap [hidden] { display: none !important; }

.kfe-notice { padding: 14px 18px; border-radius: 10px; background: var(--kfe-soft); margin: 0 0 20px; }
.kfe-notice ul { margin: 6px 0 0 18px; }
.kfe-ok { background: #e7f5e8; border: 1px solid #a6d4a9; }
.kfe-error { background: #fdecea; border: 1px solid #f1b0a8; }

.kfe-section { border: 1px solid var(--kfe-border); border-radius: 12px; padding: 18px 20px 20px; margin: 0 0 18px; }
.kfe-section legend { font-weight: 700; font-size: 1.1em; padding: 0 6px; }
.kfe-hint { color: #5f6b5c; font-size: .9em; margin: 0 0 10px; }

.kfe-monat { font-weight: 700; margin: 14px 0 6px; color: var(--kfe-accent); }
.kfe-termine { display: grid; gap: 8px; }
.kfe-termin { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--kfe-border); border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.kfe-termin:hover { border-color: var(--kfe-accent); }
.kfe-termin:has(input:checked) { border-color: var(--kfe-accent); background: var(--kfe-soft); }
.kfe-termin input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--kfe-accent); flex: none; }
.kfe-termin.is-voll { opacity: .5; cursor: not-allowed; }
.kfe-termin-body { display: flex; flex-direction: column; }
.kfe-termin-datum { font-weight: 600; }
.kfe-termin-meta { font-size: .88em; color: #5f6b5c; }

.kfe-field { display: block; margin: 0 0 12px; }
.kfe-field > span { display: block; font-weight: 600; font-size: .92em; margin-bottom: 4px; }
.kfe-field small { font-weight: 400; color: #5f6b5c; }
.kfe-field input, .kfe-field select, .kfe-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #c4ccc0; border-radius: 8px; font: inherit; background: #fff; }
.kfe-field input:focus, .kfe-field select:focus, .kfe-field textarea:focus { outline: 2px solid var(--kfe-accent); outline-offset: 1px; border-color: var(--kfe-accent); }
.kfe-anzahl select { max-width: 220px; }
.kfe-row { display: flex; gap: 12px; flex-wrap: wrap; }
.kfe-grow { flex: 1 1 220px; }
.kfe-alter { flex: 0 0 100px; }

.kfe-person { padding: 14px 14px 4px; border-radius: 10px; background: var(--kfe-soft); margin: 0 0 12px; }
.kfe-person-title { font-weight: 700; margin-bottom: 8px; }
.kfe-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; cursor: pointer; }
.kfe-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--kfe-accent); flex: none; }

.kfe-kosten { border: 2px solid var(--kfe-accent); border-radius: 12px; padding: 16px 20px; margin: 0 0 16px; background: #fff; }
.kfe-kosten-title { font-weight: 700; font-size: 1.1em; margin-bottom: 8px; }
.kfe-kosten-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--kfe-border); font-size: .94em; }
.kfe-kosten-line span:last-child { white-space: nowrap; font-weight: 600; }
.kfe-kosten-total { text-align: right; font-size: 1.15em; margin-top: 10px; }
.kfe-pauschal-hinweis { font-size: .88em; color: #5f6b5c; background: var(--kfe-soft); border-radius: 8px; padding: 10px 12px; margin: 12px 0 0; }

.kfe-info-link { margin: 0 0 16px; }
.kfe-info-link a { font-weight: 700; color: var(--kfe-accent); }

.kfe-datenschutz { font-size: .92em; background: #f7f7f5; border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; }
.kfe-datenschutz p { margin: 0 0 10px; }

.kfe-submit { display: block; width: 100%; padding: 14px 20px; border: 0; border-radius: 10px; background: var(--kfe-accent); color: #fff; font-size: 1.1em; font-weight: 700; cursor: pointer; }
.kfe-submit:hover { filter: brightness( 1.1 ); }

.kfe-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.kfe-abo-mini { margin-top: 22px; font-size: .9em; color: #5f6b5c; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kfe-abo-btn { display: inline-block; padding: 6px 12px; border: 1px solid var(--kfe-accent); border-radius: 999px; color: var(--kfe-accent); text-decoration: none; font-weight: 600; }
.kfe-abo-btn:hover { background: var(--kfe-soft); }

/* Pauschale-Frage je Teilnehmer */
.kfe-pfrage { border: 0; padding: 0; margin: 4px 0 12px; }
.kfe-pfrage legend { font-weight: 600; font-size: .92em; margin-bottom: 6px; padding: 0; }
.kfe-radio { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 6px 0; padding: 8px 14px; border: 1px solid #c4ccc0; border-radius: 999px; background: #fff; cursor: pointer; font-size: .94em; }
.kfe-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--kfe-accent); }
.kfe-radio:has(input:checked) { border-color: var(--kfe-accent); background: #e7f5e8; font-weight: 600; }
.kfe-kosten-line small { color: #5f6b5c; font-weight: 400; }

/* Monatskalender */
.kfe-cal { border: 1px solid var(--kfe-border); border-radius: 12px; padding: 10px 10px 8px; margin: 0 0 12px; background: #fff; }
.kfe-cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.kfe-cal-head strong { font-size: 1.05em; }
.kfe-cal-nav { width: 40px; height: 36px; border: 1px solid var(--kfe-border); border-radius: 8px; background: #fff; font-size: 1.3em; line-height: 1; cursor: pointer; color: var(--kfe-accent); }
.kfe-cal-nav:disabled { opacity: .3; cursor: default; }
.kfe-cal-grid { display: grid; grid-template-columns: repeat( 7, 1fr ); gap: 4px; }
.kfe-cal-wd { text-align: center; font-size: .75em; font-weight: 700; color: #5f6b5c; padding: 2px 0 4px; }
.kfe-cal-d { aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; font-size: .92em; border: 0; background: transparent; padding: 0; font-family: inherit; color: inherit; }
.kfe-cal-d.is-leer { color: #b8c0b4; }
.kfe-cal-d.has-t { background: var(--kfe-soft); border: 1px solid #b9d7b4; font-weight: 700; cursor: pointer; color: #1f4d21; }
.kfe-cal-d.has-t:hover { border-color: var(--kfe-accent); }
.kfe-cal-d.is-gew { background: var(--kfe-accent); border-color: var(--kfe-accent); color: #fff; }
.kfe-cal-d.is-voll:not(.is-gew) { background: #f3f3f1; border-color: #ddd; color: #999; }
.kfe-cal-d.is-akt { outline: 3px solid #f2b705; outline-offset: 1px; }
.kfe-cal-dots { display: flex; gap: 2px; height: 5px; margin-top: 2px; }
.kfe-cal-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.kfe-cal-leg { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: .78em; color: #5f6b5c; margin-top: 8px; }
.kfe-cal-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.kfe-cal-leg .l-t { background: var(--kfe-soft); border: 1px solid #b9d7b4; }
.kfe-cal-leg .l-g { background: var(--kfe-accent); }
.kfe-cal-leg .l-v { background: #f3f3f1; border: 1px solid #ddd; }
.kfe-cal-info { font-weight: 600; font-size: .95em; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kfe-cal-alle { background: none; border: 0; padding: 0; color: var(--kfe-accent); text-decoration: underline; cursor: pointer; font: inherit; }
.kfe-cal-count { margin-left: auto; background: var(--kfe-accent); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .85em; }

/* Vereinsbus */
.kfe-termin-bus { font-size: .86em; color: #1f5fa8; font-weight: 600; }
.kfe-termin-bus.is-voll { color: #b26a00; }
.kfe-bfrage { margin-top: 0; }
.kfe-bus-status { margin: 2px 0 0; font-weight: 600; }
.kfe-bus-status.is-ok { color: var(--kfe-accent); }
.kfe-bus-status.is-warte { color: #b26a00; }
.kfe-bus-hinweis { background: #eef4fb; border-radius: 8px; padding: 10px 12px; color: #2b4a6b; }

/* Eingabefelder robust gegen Theme-Styles: groß, gut sichtbar, immer im Kasten */
.kfe-wrap fieldset, .kfe-wrap .kfe-section { min-width: 0; max-width: 100%; }
.kfe-wrap .kfe-row > * { min-width: 0; }
.kfe-wrap .kfe-field { width: 100%; max-width: 100%; }
.kfe-wrap .kfe-field input[type="text"],
.kfe-wrap .kfe-field input[type="email"],
.kfe-wrap .kfe-field input[type="tel"],
.kfe-wrap .kfe-field input[type="number"],
.kfe-wrap .kfe-field select,
.kfe-wrap .kfe-field textarea {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 50px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	font-size: 17px !important;
	line-height: 1.4 !important;
	color: #1d2327 !important;
	background: #fff !important;
	border: 1.5px solid #9aa596 !important;
	border-radius: 10px !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	float: none !important;
	transform: none !important;
	min-width: 0 !important;
}
.kfe-wrap .kfe-field > span { display: block !important; float: none !important; width: auto !important; }
.kfe-wrap .kfe-field select { background-image: linear-gradient( 45deg, transparent 50%, #5f6b5c 50% ), linear-gradient( 135deg, #5f6b5c 50%, transparent 50% ) !important; background-position: calc( 100% - 20px ) 50%, calc( 100% - 14px ) 50% !important; background-size: 6px 6px !important; background-repeat: no-repeat !important; padding-right: 36px !important; }
.kfe-wrap .kfe-field textarea { min-height: 96px !important; }
.kfe-wrap .kfe-field input:focus, .kfe-wrap .kfe-field select:focus, .kfe-wrap .kfe-field textarea:focus { border-color: var(--kfe-accent) !important; outline: 3px solid rgba( 47, 125, 50, .2 ) !important; outline-offset: 0 !important; }
.kfe-wrap .kfe-field input::placeholder, .kfe-wrap .kfe-field textarea::placeholder { color: #9aa29a; }
.kfe-wrap .kfe-kontakt { margin-bottom: 16px; }
.kfe-wrap .kfe-alter { flex: 0 0 110px; }
@media ( max-width: 480px ) {
	.kfe-section { padding: 14px 14px 16px; }
	.kfe-person { padding: 12px 12px 4px; }
}

/* ---------------------------------------------------------------- Mitgliederbereich */
.kfe-h { margin: 0 0 12px; font-size: 1.15em; }
.kfe-m-hinweis { background: #eef4fb; border-radius: 10px; padding: 10px 14px; font-size: .94em; margin: 0 0 16px; }
.kfe-m-hinweis a { font-weight: 700; color: #1f5fa8; }
.kfe-btn, .kfe-btn-sek { display: inline-block; padding: 9px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .94em; cursor: pointer; font-family: inherit; }
.kfe-btn { background: var(--kfe-accent); color: #fff !important; border: 0; }
.kfe-btn-sek { background: #fff; color: var(--kfe-accent) !important; border: 1.5px solid var(--kfe-accent); }
.kfe-m-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 16px; }
.kfe-m-head h2 { margin: 0; font-size: 1.5em; }
.kfe-m-head-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.kfe-m-liste { display: grid; gap: 10px; margin: 0 0 10px; }
.kfe-m-item { display: flex; gap: 12px; align-items: center; border: 1px solid var(--kfe-border); border-radius: 12px; padding: 12px 12px 12px 14px; background: #fff; }
.kfe-m-item.is-warte { background: #fff6ea; border-color: #f0c48a; }
.kfe-m-item.is-abg { opacity: .55; }
.kfe-m-datum { flex: 0 0 92px; display: flex; flex-direction: column; font-size: .9em; line-height: 1.3; }
.kfe-m-datum span { color: #5f6b5c; }
.kfe-m-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: .94em; }
.kfe-m-info > span { color: #5f6b5c; }
.kfe-m-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.kfe-m-tags em { font-style: normal; font-size: .82em; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.kfe-m-tags .t-p { background: #e7f5e8; color: #1f4d21; }
.kfe-m-tags .t-e { background: #f1f3ef; color: #1d2327; }
.kfe-m-tags .t-b { background: #e3f0fc; color: #1565c0; }
.kfe-m-tags .t-w { background: #fdecd2; color: #a35a00; }
.kfe-m-tags .t-x { background: #fdeaea; color: #c62828; }
.kfe-storno { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: #fdeaea; color: #c62828; font-size: 18px; font-weight: 700; cursor: pointer; }
.kfe-storno:hover { background: #c62828; color: #fff; }

.kfe-m-monat { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; }
.kfe-m-monat strong { min-width: 150px; text-align: center; }
.kfe-m-monat .kfe-btn-sek { padding: 5px 14px; }
.kfe-m-kosten { display: grid; gap: 10px; }
.kfe-m-k { border: 1px solid var(--kfe-border); border-radius: 12px; padding: 12px 14px; }
.kfe-m-k-name { display: flex; flex-direction: column; margin-bottom: 8px; }
.kfe-m-k-name span { font-size: .86em; color: #5f6b5c; }
.kfe-m-k-zahlen { display: flex; gap: 8px; flex-wrap: wrap; }
.kfe-m-k-zahlen > div { flex: 1 1 110px; background: var(--kfe-soft); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.kfe-m-k-zahlen span { font-size: .78em; color: #5f6b5c; }
.kfe-m-k-zahlen .is-plus { background: #e7f5e8; }
.kfe-m-k-zahlen .is-plus strong { color: var(--kfe-accent); }
.kfe-m-summe { text-align: right; margin: 12px 0 6px; font-size: 1.05em; }
.kfe-warn { color: #a35a00; }

.kfe-wrap details.kfe-section > summary { cursor: pointer; font-size: 1.05em; }
.kfe-wrap details.kfe-section[open] > summary { margin-bottom: 14px; }
.kfe-kinder { background: var(--kfe-soft); border-radius: 12px; padding: 14px; margin: 4px 0 16px; }
.kfe-kind { display: grid; grid-template-columns: 120px 1fr 1fr 150px 40px; gap: 8px; align-items: end; padding: 8px 0; border-bottom: 1px dashed var(--kfe-border); }
.kfe-kind .kfe-field { margin: 0; }
.kfe-kind-weg { height: 50px; border: 0; background: transparent; color: #c62828; font-size: 18px; cursor: pointer; }
.kfe-kind-plus { margin-top: 10px; }
@media ( max-width: 560px ) {
	.kfe-kind { grid-template-columns: 1fr 1fr; }
	.kfe-kind label:nth-child(1) { grid-column: 1 / -1; }
	.kfe-m-datum { flex-basis: 74px; }
}

.kfe-login form p { margin: 0 0 12px; }
.kfe-login label { display: block; font-weight: 600; font-size: .92em; margin-bottom: 4px; }
.kfe-login input[type="text"], .kfe-login input[type="password"] { display: block !important; width: 100% !important; min-height: 50px !important; padding: 12px 14px !important; font-size: 17px !important; border: 1.5px solid #9aa596 !important; border-radius: 10px !important; box-sizing: border-box !important; background: #fff !important; }
.kfe-login .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.kfe-login input[type="submit"] { width: 100%; padding: 14px; border: 0; border-radius: 10px; background: var(--kfe-accent); color: #fff; font-size: 1.05em; font-weight: 700; cursor: pointer; }

.kfe-profil-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.kfe-profil-chips .kfe-hint { margin: 0 4px 0 0; }
.kfe-chip { border: 1.5px solid var(--kfe-accent); background: #fff; color: var(--kfe-accent); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .9em; cursor: pointer; font-family: inherit; }
.kfe-chip:disabled { background: var(--kfe-accent); color: #fff; opacity: .7; cursor: default; }
.kfe-m-summe strong { white-space: nowrap; }

/* Bus je Training */
.kfe-bus-termine { display: grid; gap: 6px; margin: 2px 0 6px; }
.kfe-bus-t { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid #c9d6e6; border-radius: 10px; background: #fff; cursor: pointer; font-size: .92em; }
.kfe-bus-t input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: #1565c0; }
.kfe-bus-t-txt { flex: 1; min-width: 0; }
.kfe-bus-t-st { font-weight: 700; font-size: .9em; white-space: nowrap; }
.kfe-bus-t.is-ok { border-color: #1565c0; background: #eef5fd; }
.kfe-bus-t.is-ok .kfe-bus-t-st { color: #1565c0; }
.kfe-bus-t.is-warte { border-color: #f0c48a; background: #fff6ea; }
.kfe-bus-t.is-warte .kfe-bus-t-st { color: #a35a00; }
.kfe-bus-schnell { margin: 0; }
.kfe-bus-alle { background: none; border: 0; padding: 2px 4px; color: #1565c0; font-weight: 700; cursor: pointer; font: inherit; font-size: .95em; }
.kfe-kosten-line.is-pauschal { background: #f1f8ef; border-radius: 6px; padding: 6px 8px; margin: 4px 0; border-bottom: 0; }

/* Abrechnung im Mitgliederbereich */
.kfe-m-filter { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin: 0 0 14px; }
.kfe-m-filter .kfe-field { margin: 0; flex: 1 1 140px; }
.kfe-m-filter .kfe-btn-sek { padding: 12px 16px; }
.kfe-m-k + .kfe-m-k { margin-top: 10px; }
.kfe-m-daten { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.kfe-m-daten span { font-size: .84em; font-weight: 600; padding: 4px 9px; border-radius: 8px; }
.kfe-m-daten span small { font-weight: 400; opacity: .8; }
.kfe-m-daten .is-p { background: #e7f5e8; color: #1f4d21; }
.kfe-m-daten .is-e { background: #f1f3ef; color: #1d2327; }
.kfe-m-k-zahlen .is-aus { background: #fdecd2; }
.kfe-m-k-zahlen .is-aus strong { color: #a35a00; }
.kfe-m-zahlen { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 8px; padding: 14px 16px; border-radius: 12px; background: var(--kfe-accent); color: #fff; }
.kfe-m-zahlen strong { font-size: 1.35em; white-space: nowrap; }

/* Betreuer (klein, platzsparend) */
.kfe-person-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.kfe-betreuer-check { display: inline-flex; align-items: center; gap: 5px; font-size: .8em; font-weight: 600; color: #6a1b9a; background: #f5eefa; border: 1px solid #e1cdee; border-radius: 999px; padding: 3px 10px 3px 7px; cursor: pointer; white-space: nowrap; }
.kfe-betreuer-check input { width: 15px; height: 15px; margin: 0; accent-color: #6a1b9a; }
.kfe-person.is-betreuer { box-shadow: inset 3px 0 0 #8e44ad; }
.kfe-tag-b { display: inline-block; font-size: .78em; font-weight: 700; color: #6a1b9a; background: #f5eefa; border-radius: 6px; padding: 0 6px; }

/* Tarife im Mitgliederbereich */
.kfe-tarif-chip { display: inline-block; margin: 6px 6px 0 0; font-size: .82em; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e3f0fc; color: #135e96; }
.kfe-tarif-chip.kfe-tarif-geschwister { background: #f5eefa; color: #6a1b9a; }
.kfe-tarif-chip.kfe-tarif-familie { background: #fdf0d5; color: #8a5a00; }
.kfe-m-k-zahlen small { display: block; font-size: .75em; color: #5f6b5c; font-weight: 400; }
.kfe-m-k-zahlen .is-gruppe { background: #f5eefa; }
.kfe-m-k-zahlen .is-gruppe strong { color: #6a1b9a; font-size: .9em; }
.kfe-m-gruppe { border-color: #e1cdee; background: #fcf9fe; }
.kfe-m-zahlen-auf { flex-basis: 100%; opacity: .85; font-size: .82em; }
.kfe-tarif-chip.kfe-tarif-einzelpreis { background: #eef2f6; color: #135e96; }

/* Rechnungen im Mitgliederbereich (kompakt, mit Jahresfilter) */
.kfe-rech-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.kfe-rech-kopf .kfe-h { margin: 0; }
.kfe-rech-jahre { display: flex; gap: 4px; }
.kfe-rech-jahre a { font-size: .8em; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-decoration: none; color: #5f6b5c; background: #f0f2ef; }
.kfe-rech-jahre a.is-akt { background: var(--kfe-accent); color: #fff; }
.kfe-rech-sum { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: .85em; color: #5f6b5c; margin: 8px 0 6px; }
.kfe-rech-sum b { font-weight: 700; }
.kfe-rech-liste { border: 1px solid var(--kfe-border); border-radius: 10px; overflow: hidden; background: #fff; }
.kfe-rz { display: grid; grid-template-columns: 2.6em 1fr auto 1.9em auto; align-items: center; gap: 8px; padding: 6px 10px; border-top: 1px solid #edf1eb; font-size: .9em; line-height: 1.25; }
.kfe-rz:first-child { border-top: 0; }
.kfe-rz.is-laufend { background: #fafbfa; color: #5f6b5c; }
.kfe-rz.is-storniert { color: #8a948a; }
.kfe-rz-m { font-weight: 800; text-transform: uppercase; font-size: .82em; color: var(--kfe-accent); }
.kfe-rz-i small { color: #5f6b5c; font-size: .82em; }
.kfe-rz-b { font-weight: 800; text-align: right; white-space: nowrap; }
.kfe-rz-b.is-x { text-decoration: line-through; color: #8a948a; font-weight: 600; }
.kfe-rz-s { width: 1.7em; height: 1.7em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8em; font-weight: 800; }
.kfe-rz-s em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kfe-rz-s.kfe-zs-o { background: #fdecd2; color: #a35a00; }
.kfe-rz-s.kfe-zs-ok { background: #e7f5e8; color: #2f7d32; }
.kfe-rz-s.kfe-zs-x { background: #fbe1e1; color: #b32d2e; }
.kfe-rz-s.kfe-zs-l { background: #eef0ee; }
.kfe-rz-a { display: flex; gap: 4px; }
.kfe-rz-a a { width: 1.9em; height: 1.9em; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--kfe-soft); border: 1px solid var(--kfe-border); font-size: .85em; }
.kfe-rz-a a:hover { border-color: var(--kfe-accent); }
.kfe-rech-bank { margin-top: 8px; font-size: .85em; }
.kfe-rech-bank summary { cursor: pointer; color: #5f6b5c; }
.kfe-rech-bank p { background: #f7f9f6; border-radius: 8px; padding: 8px 10px; margin: 6px 0 0; }
.kfe-rech-leg { font-size: .72em; color: #8a948a; margin: 6px 0 0; }
.kfe-zs-ok { color: #2f7d32; } .kfe-zs-x { color: #c62828; } .kfe-zs-o { color: #a35a00; }

/* Familienzugänge */
.kfe-fz summary { cursor: pointer; }
.kfe-fz-anz { display: inline-block; min-width: 1.5em; text-align: center; font-size: .75em; font-weight: 700; background: #f5eefa; color: #6a1b9a; border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
.kfe-fz-liste { display: grid; gap: 6px; margin: 10px 0 14px; }
.kfe-fz-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--kfe-border); border-radius: 10px; padding: 8px 10px; background: #fff; flex-wrap: wrap; }
.kfe-fz-item.is-aus { background: #fafafa; opacity: .8; }
.kfe-fz-toggle { margin: 0; }
.kfe-fz-haken { width: 30px; height: 30px; border-radius: 8px; border: 2px solid #b9c2b5; background: #fff; color: #fff; font-weight: 900; font-size: 16px; cursor: pointer; line-height: 1; }
.kfe-fz-haken.is-an { background: var(--kfe-accent); border-color: var(--kfe-accent); }
.kfe-fz-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kfe-fz-info small { color: #5f6b5c; font-size: .8em; }
.kfe-fz-mehr summary { list-style: none; cursor: pointer; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #f0f2ef; font-weight: 800; }
.kfe-fz-mehr summary::-webkit-details-marker { display: none; }
.kfe-fz-mehr[open] { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kfe-fz-pw { display: flex; gap: 6px; margin: 0; }
.kfe-fz-pw input { padding: 6px 8px; border: 1px solid var(--kfe-border); border-radius: 8px; }
.kfe-fz-del { background: none; border: 0; color: #c62828; cursor: pointer; font-size: .85em; }
.kfe-fz-neu { border-top: 1px dashed var(--kfe-border); padding-top: 12px; }
.kfe-fz-neu-t { display: block; margin-bottom: 8px; }
.kfe-fz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
@media (max-width: 520px) { .kfe-fz-grid { grid-template-columns: 1fr; } }
.kfe-fz-chip { background: #f5eefa; color: #6a1b9a; }
.kfe-m-tags .t-v { background: #f5eefa; color: #6a1b9a; }

.kfe-betreuer-check select { border: 0; background: transparent; color: #6a1b9a; font-weight: 700; font-size: 1em; padding: 0 2px; cursor: pointer; }
.kfe-betreuer-check[hidden] { display: none; }
