/* FF Legden – Lehrgangsbedarf. Gleiche Gestaltung wie die Einsatz-Schnellerfassung. */
.ffl {
  --ink: #111; --ink2: #313131; --mu: #76767a; --line: #e3e3e3; --soft: #f4f4f4; --paper: #fff; --bg: #fff; --on-ink: #fff; --tint-warn: #fff6e5;
  --red: #d6001c; --ok: #178a45; --warn: #c27400;
  font-family: "Barlow", Arial, sans-serif; font-size: 16px; line-height: 1.4; color: var(--ink2);
  text-align: left; -webkit-font-smoothing: antialiased;
}
.ffl * { box-sizing: border-box; font-family: inherit; }
.ffl-member { max-width: 680px; margin: 0 auto; padding-bottom: 40px; }
.ffl-admin { max-width: 1200px; margin-top: 12px; }

.ffl .ffl-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 8px 0 14px; border-bottom: 3px solid var(--ink); }
.ffl .ffl-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ffl h2.ffl-h { font-size: 34px; line-height: 1; margin: 4px 0 0; padding: 0; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: -.01em; }
.ffl .ffl-sub { font-size: 15px; color: var(--mu); margin-top: 10px; }
.ffl .ffl-sec { margin-top: 28px; }
.ffl .ffl-sh { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.ffl .ffl-sh span { font-size: 13px; color: var(--red); letter-spacing: .08em; }
.ffl .ffl-sh em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 400; text-transform: none; color: var(--mu); }
.ffl .ffl-fl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); margin: 16px 0 6px; }
.ffl .ffl-mu { color: var(--mu); font-size: 14px; }

.ffl input[type=text], .ffl input[type=password], .ffl input[type=number], .ffl input[type=date], .ffl input[type=search],
.ffl input[type=tel], .ffl select, .ffl textarea {
  display: block; width: 100%; max-width: none; font-size: 16px; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 2px;
  background: var(--paper); color: var(--ink); margin: 0; box-shadow: none; min-height: 44px; line-height: 1.3; outline: none;
}
.ffl textarea { min-height: 120px; resize: vertical; font-size: 14px; }
.ffl input:focus, .ffl select:focus, .ffl textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ffl input.ffl-pin { font-size: 28px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

.ffl button, .ffl .ffl-btn {
  font-size: 15px; font-weight: 700; border-radius: 2px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
  padding: 0 14px; min-height: 44px; cursor: pointer; line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; box-shadow: none; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.ffl button:disabled { opacity: .45; cursor: default; }
.ffl button.ffl-p { background: var(--ink); color: var(--on-ink); }
.ffl button.ffl-go { background: var(--red); border-color: var(--red); color: var(--on-red); }
.ffl button.ffl-q { border-color: transparent; background: transparent; color: var(--mu); padding: 0 8px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.ffl button.ffl-sm { min-height: 32px; font-size: 13px; padding: 0 10px; }
.ffl .ffl-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ffl .ffl-row > .ffl-grow { flex: 1 1 160px; min-width: 0; }

.ffl .ffl-msg { font-size: 15px; padding: 12px 14px; margin-top: 12px; border-left: 3px solid var(--ink); background: var(--soft); color: var(--ink); }
.ffl .ffl-msg.err { border-color: var(--red); }
.ffl .ffl-msg.ok { border-color: var(--ok); }
.ffl .ffl-msg.warn { border-color: var(--warn); }

.ffl .ffl-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border: 1px solid currentColor; color: var(--mu); white-space: nowrap; }
.ffl .ffl-tag.ok { color: var(--on-ink); background: var(--ok); border-color: var(--ok); }
.ffl .ffl-tag.warn { color: var(--warn); }
.ffl .ffl-tag.err { color: var(--on-red); background: var(--red); border-color: var(--red); }
.ffl .ffl-tag.ink { color: var(--on-ink); background: var(--ink); border-color: var(--ink); }

/* Namensliste beim Anmelden */
.ffl .ffl-names { border-top: 1px solid var(--line); margin-top: 10px; max-height: 50vh; overflow: auto; }
.ffl .ffl-names button { display: flex; width: 100%; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 17px; padding: 0 4px; min-height: 48px; }
.ffl .ffl-names button span { color: var(--mu); font-size: 13px; }

/* Lehrgangsliste (Mitglieder) */
.ffl .ffl-course { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.ffl .ffl-course:last-child { border-bottom: 1px solid var(--line); }
.ffl .ffl-course .ffl-ct { flex: 1; min-width: 0; }
.ffl .ffl-course b { display: block; font-size: 17px; color: var(--ink); }
.ffl .ffl-course .ffl-meta { font-size: 14px; color: var(--mu); }
.ffl .ffl-course .ffl-pre { font-size: 13px; color: var(--mu); margin-top: 2px; }
.ffl .ffl-course .ffl-cm { margin-top: 8px; }
.ffl .ffl-course .ffl-cm input { min-height: 38px; font-size: 15px; }
.ffl .ffl-toggle { min-width: 112px; }
.ffl .ffl-toggle[aria-pressed=true] { background: var(--ink); color: var(--on-ink); }
.ffl .ffl-mine { border: 1px solid var(--ink); padding: 14px; margin-top: 10px; }
.ffl .ffl-mine b { font-size: 18px; color: var(--ink); }

/* Verwaltung */
.ffl .ffl-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ink); margin-top: 18px; flex-wrap: wrap; }
.ffl .ffl-tabs button { border: 0; border-bottom: 3px solid transparent; min-height: 44px; background: transparent; }
.ffl .ffl-tabs button[aria-selected=true] { border-bottom-color: var(--red); color: var(--ink); }
.ffl .ffl-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ffl .ffl-bar label { display: inline-flex; gap: 6px; align-items: center; font-size: 15px; color: var(--ink); }
.ffl .ffl-bar input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.ffl .ffl-bar select, .ffl .ffl-bar input[type=date] { width: auto; min-height: 36px; padding: 4px 8px; }

.ffl .ffl-acard { border-top: 1px solid var(--line); }
.ffl .ffl-acard.is-open { border-top: 3px solid var(--red); }
.ffl .ffl-ahead { display: flex; width: 100%; gap: 14px; align-items: center; border: 0; background: transparent; padding: 12px 0; min-height: 0; text-transform: none; letter-spacing: 0; font-weight: 400; text-align: left; color: inherit; }
.ffl .ffl-ahead .ffl-short { min-width: 110px; font-size: 18px; font-weight: 700; color: var(--ink); }
.ffl .ffl-ahead .ffl-ct { flex: 1; min-width: 0; }
.ffl .ffl-ahead .ffl-ct b { display: block; color: var(--ink); font-size: 16px; }
.ffl .ffl-count { display: flex; gap: 14px; font-size: 14px; color: var(--mu); white-space: nowrap; }
.ffl .ffl-count strong { color: var(--ink); font-size: 18px; }
.ffl .ffl-abody { padding: 0 0 18px; }

.ffl table.ffl-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.ffl .ffl-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); border-bottom: 1px solid var(--ink); padding: 6px 6px; }
.ffl .ffl-table td { border-bottom: 1px solid var(--line); padding: 6px; vertical-align: middle; }
.ffl .ffl-table td input:not([type=checkbox]), .ffl .ffl-table td select { min-height: 34px; padding: 4px 8px; font-size: 14px; }
.ffl .ffl-table tr.is-off td { color: var(--mu); }

.ffl .ffl-group { margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.ffl .ffl-hide { display: none !important; }
.ffl .ffl-linkbox { display: flex; gap: 8px; align-items: center; background: var(--soft); padding: 10px 12px; margin-top: 10px; word-break: break-all; font-size: 14px; }

/* Ausdrucke */
.ffl-print { background: #fff; color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 11px; }
.ffl-print .pr-head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #000; padding-bottom: 6px; margin-bottom: 10px; }
.ffl-print .pr-head h1 { font-size: 18px; margin: 0; padding: 0; line-height: 1.2; }
.ffl-print .pr-head div { font-size: 11px; text-align: right; }
.ffl-print h2 { font-size: 13px; margin: 16px 0 4px; padding: 0; }
.ffl-print table { width: 100%; border-collapse: collapse; page-break-inside: auto; }
.ffl-print tr { page-break-inside: avoid; }
.ffl-print th, .ffl-print td { border: 1px solid #000; padding: 3px 5px; vertical-align: top; text-align: left; }
.ffl-print th { background: #ddd; font-size: 10px; }
.ffl-print th.l { background: #fff59d; }
.ffl-print th.a { background: #c9f1f8; }
.ffl-print td.n { text-align: center; font-weight: bold; }
.ffl-print td.r { color: #c00; }
.ffl-print .pr-foot { margin-top: 10px; font-size: 10px; text-align: right; }
.ffl-print .pr-person { page-break-inside: avoid; margin-bottom: 12px; }

#myf-printroot { display: none; }
@media print {
  html.wp-toolbar { padding-top: 0 !important; }
  html, body { background: var(--paper) !important; min-width: 0 !important; }
  body > *:not(#myf-printroot) { display: none !important; }
  #myf-printroot { display: block !important; }
}
@media (max-width: 600px) {
  .ffl h2.ffl-h { font-size: 28px; }
  .ffl .ffl-course { flex-wrap: wrap; }
  .ffl .ffl-toggle { width: 100%; }
}
.ffl input[type=checkbox] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--ink); }
.ffl-member .ffl-tabs { flex-wrap: nowrap; }
.ffl-member .ffl-tabs button { flex: 1 1 0; padding: 0 4px; font-size: 14px; }

/* Lesbarkeit: Fließtext in normaler Schrift, schmale Schrift nur für Überschriften, Knöpfe und Kennzeichnungen */
.ffl { --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow", Arial, sans-serif; font-family: var(--sans); line-height: 1.5; }
.ffl h2.ffl-h, .ffl .ffl-kicker, .ffl .ffl-sh, .ffl button, .ffl .ffl-btn, .ffl .ffl-tag, .ffl .ffl-fl, .ffl .ffl-group,
.ffl .ffl-short, .ffl .ffl-count strong, .ffl .ffl-table th, .ffl .ffl-mine b { font-family: var(--cond); }
.ffl .ffl-names button, .ffl .ffl-ahead, .ffl button.ffl-q { font-family: var(--sans); }
.ffl .ffl-ahead .ffl-ct b { font-family: var(--sans); font-weight: 600; }
.ffl .ffl-mu, .ffl .ffl-meta, .ffl .ffl-sub { font-size: 15px; }
.ffl .ffl-course .ffl-pre { font-size: 14px; }
.ffl .ffl-course b { font-weight: 600; }
.ffl .ffl-fl { font-size: 13px; letter-spacing: .06em; }
.ffl table.ffl-table { font-size: 15px; }
.ffl .ffl-table th { font-size: 12px; }
.ffl .ffl-msg { line-height: 1.45; }

/* ---- MyFeuerwehr: zusätzliche Bausteine ---- */
.ffl .ffl-panel { border: 1px solid var(--line); padding: 18px; margin-top: 16px; background: var(--paper); }
.ffl #myf-login p { margin: 0 0 14px; }
.ffl #myf-login label { display: block; font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); margin-bottom: 6px; }
.ffl #myf-login .login-remember label { display: flex; gap: 10px; align-items: center; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.ffl #myf-login input[type=submit] { width: 100%; min-height: 52px; border: 1px solid var(--red); background: var(--red); color: var(--on-red); font-family: var(--cond);
  font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 2px; cursor: pointer; }
.ffl a { color: var(--ink); }

/* Navigation Mitglieder: auf dem Handy waagerecht scrollbar */
.ffl-member .ffl-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ffl-member .ffl-tabs::-webkit-scrollbar { display: none; }
.ffl-member .ffl-tabs button { flex: 0 0 auto; padding: 0 12px; font-size: 15px; }

/* Karten auf Startseite / Übersicht */
.ffl .ffl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 14px; }
.ffl .ffl-card { border: 1px solid var(--line); padding: 14px; background: var(--paper); text-align: left; display: block; width: 100%;
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 400; min-height: 0; color: inherit; cursor: pointer; }
.ffl button.ffl-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.ffl .ffl-card .ffl-big { font-family: var(--cond); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; display: block; }
.ffl .ffl-card .ffl-cl { font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); display: block; margin-bottom: 6px; }
.ffl .ffl-card.is-alert { border-color: var(--red); border-left-width: 4px; }
.ffl .ffl-card.is-ok { border-left: 4px solid var(--ok); }

/* Termin-/Agenda-Liste (Kalender) */
.ffl .ffl-month { font-family: var(--cond); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin: 22px 0 6px; }
.ffl .ffl-ev { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.ffl .ffl-ev .ffl-day { min-width: 64px; font-family: var(--cond); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.1; }
.ffl .ffl-ev .ffl-day small { display: block; font-size: 12px; font-weight: 400; color: var(--mu); }
.ffl .ffl-ev.is-mine { background: var(--tint-warn); border-left: 4px solid var(--red); padding-left: 10px; }
.ffl .ffl-ev b { display: block; color: var(--ink); font-weight: 600; }

.ffl .ffl-seg2 { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.ffl .ffl-seg2 button { border: 0; min-height: 46px; }
.ffl .ffl-seg2 button + button { border-left: 1px solid var(--ink); }
.ffl .ffl-seg2 button[aria-pressed=true] { background: var(--ink); color: var(--on-ink); }

.ffl .ffl-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.ffl .ffl-pills button { min-height: 34px; font-size: 14px; padding: 0 12px; }
.ffl .ffl-pills button[aria-pressed=true] { background: var(--ink); color: var(--on-ink); }

.ffl .ffl-idea { border: 1px solid var(--line); padding: 14px; margin-top: 10px; }
.ffl .ffl-idea .ffl-answer { margin-top: 10px; padding: 10px 12px; background: var(--soft); border-left: 3px solid var(--ok); white-space: pre-line; }
.ffl .ffl-pre-line { white-space: pre-line; }
.ffl .ffl-subtabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-top: 6px; flex-wrap: wrap; }
.ffl .ffl-subtabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; min-height: 38px; font-size: 14px; }
.ffl .ffl-subtabs button[aria-selected=true] { border-bottom-color: var(--ink); }
.ffl .ffl-profile { border: 1px solid var(--ink); border-left-width: 4px; padding: 16px; margin-top: 14px; background: var(--paper); }

/* ---- Lesbarkeit 2: überall normale Schrift, keine Großbuchstaben-Knöpfe ---- */
.ffl { --cond: var(--sans); }
.ffl button, .ffl .ffl-btn { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; }
.ffl .ffl-tabs button { font-size: 16px; padding: 0 14px; }
.ffl .ffl-subtabs button { font-size: 15px; }
.ffl h2.ffl-h { text-transform: none; font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.ffl .ffl-kicker { font-size: 12px; letter-spacing: .1em; }
.ffl .ffl-sh { text-transform: none; font-size: 20px; letter-spacing: -.01em; }
.ffl .ffl-sh span { letter-spacing: 0; }
.ffl .ffl-fl { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--ink2); }
.ffl .ffl-group { text-transform: none; letter-spacing: 0; font-size: 16px; }
.ffl .ffl-tag { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; border-radius: 12px; padding: 2px 9px; }
.ffl .ffl-table th { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--ink2); }
.ffl .ffl-card .ffl-cl, .ffl .ffl-month, .ffl #myf-login label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.ffl .ffl-card .ffl-big { font-weight: 800; }
.ffl .ffl-short { font-size: 16px; font-weight: 700; }
.ffl .ffl-toggle { font-size: 15px; }

/* Status-Chips: gleiche Farben überall */
.ffl .ffl-chip { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 9px; border-radius: 12px; white-space: nowrap; border: 1px solid transparent; }
.ffl .st-open { background: #eef0f3; color: #3c4250; }
.ffl .st-ok { background: #e2f3e8; color: #13693a; }
.ffl .st-warn { background: var(--tint-warn); color: #8a5300; }
.ffl .st-no { background: #f2f2f2; color: #6e6e73; }
.ffl .st-done { background: #e3ecfb; color: #1f4f9c; }
.ffl .st-bad { background: #fde4e8; color: #a00d25; }
.ffl .ffl-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Ablauf des Lehrgangsjahres */
.ffl .ffl-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 8px; margin-top: 14px; }
.ffl .ffl-step { border: 1px solid var(--line); padding: 12px; background: var(--paper); position: relative; }
.ffl .ffl-step .n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center;
  background: #eef0f3; color: var(--ink2); font-weight: 700; font-size: 14px; margin-right: 6px; }
.ffl .ffl-step b { font-size: 15px; color: var(--ink); }
.ffl .ffl-step .i { font-size: 14px; color: var(--mu); margin: 6px 0 8px; min-height: 20px; }
.ffl .ffl-step.is-now { border: 2px solid var(--red); }
.ffl .ffl-step.is-now .n { background: var(--red); color: var(--on-red); }
.ffl .ffl-step.is-done .n { background: var(--ok); color: var(--on-ink); }
.ffl .ffl-step label { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--ink); }
.ffl .ffl-step input[type=date] { min-height: 34px; padding: 3px 6px; font-size: 14px; margin-top: 6px; }
.ffl .ffl-yearbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.ffl .ffl-yearbar select { width: auto; min-width: 260px; font-weight: 600; }
.ffl .ffl-banner { margin-top: 12px; padding: 12px 14px; background: #f3f6fb; border-left: 4px solid #1f4f9c; }

/* Zuteilung nach Terminen */
.ffl .ffl-agroup { margin-top: 16px; border: 1px solid var(--line); background: var(--paper); }
.ffl .ffl-agroup > .h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 12px; background: #f7f7f8; border-bottom: 1px solid var(--line); }
.ffl .ffl-agroup > .h b { font-size: 15px; color: var(--ink); }
.ffl .ffl-arow { display: grid; grid-template-columns: minmax(120px, 1.2fr) 70px minmax(0, 1fr) minmax(170px, 260px) minmax(110px, 1.3fr) 32px; gap: 10px; align-items: center; padding: 6px 12px; border-top: 1px solid var(--line); }
.ffl .ffl-arow:first-of-type { border-top: 0; }
.ffl .ffl-arow select, .ffl .ffl-arow input { min-width: 0; width: 100%; min-height: 34px; padding: 3px 8px; font-size: 14px; }
.ffl .ffl-arow .c { font-size: 14px; color: var(--mu); }
@media (max-width: 900px) { .ffl .ffl-arow { grid-template-columns: 1fr 1fr; } }

/* Breite Tabellen mit Eingabefeldern: Mindestbreiten, bei schmalem Fenster innerhalb der Tabelle scrollen */
.ffl .ffl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ffl table.ffl-wide { min-width: 980px; }
.ffl table.ffl-wide td select { min-width: 130px; }
.ffl table.ffl-wide td input[data-f="note"], .ffl table.ffl-wide td input[data-f="admin_note"] { min-width: 150px; }
.ffl .ffl-seg2 button { flex-direction: column; gap: 0; min-height: 56px; line-height: 1.25; }
.ffl .ffl-seg2 button span { display: block; font-size: 13px; }

/* QR-Bogen zum Ausdrucken */
.ffl-print .qr-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8mm; }
.ffl-print .qr-card { border: 1px solid #000; padding: 6mm; text-align: center; page-break-inside: avoid; }
.ffl-print .qr-card svg { width: 45mm; height: 45mm; display: block; margin: 0 auto 3mm; }
.ffl-print .qr-card b { display: block; font-size: 14px; }
.ffl-print .qr-card span { font-size: 10px; color: #333; }
.ffl-print .qr-sheet:has(.qr-card:only-child) { grid-template-columns: 1fr; }
.ffl-print .qr-card:only-child svg { width: 120mm; height: 120mm; }
.ffl-print .qr-card:only-child b { font-size: 40px; margin-top: 6mm; }
.ffl-print .qr-card:only-child span { font-size: 16px; }

/* =========================================================================
   Version 2.5: Verwaltung aufgeräumt, Schrittleiste, Profil-Boxen, responsiv
   ========================================================================= */
.ffl-admin { max-width: 1240px; }
.ffl .ffl-card .ffl-big small { font-size: 20px; font-weight: 600; color: var(--mu); }

/* Hauptreiter: eine Zeile, auf schmalen Bildschirmen waagerecht scrollbar */
.ffl-admin .ffl-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ffl-admin .ffl-tabs button { flex: 0 0 auto; white-space: nowrap; padding: 0 13px; }
.ffl .ffl-subtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ffl .ffl-subtabs button { flex: 0 0 auto; white-space: nowrap; }

/* Boxen für Profil und Einstellungen */
.ffl .ffl-pbox { background: var(--paper); border: 1px solid var(--line); padding: 16px 18px; margin-top: 14px; min-width: 0; }
.ffl .ffl-pbox .ffl-sh { margin-bottom: 8px; }
.ffl .ffl-sh em a { color: var(--ink2); }
.ffl .ffl-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.ffl .ffl-grid2 > .ffl-pbox { margin-top: 0; }
.ffl .ffl-phead { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 16px 18px; margin-top: 12px; }
.ffl .ffl-phead h3 { margin: 0; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; line-height: 1.15; }
.ffl .ffl-form4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 12px; margin-top: 6px; }
.ffl .ffl-form4 .span2 { grid-column: span 2; }
.ffl .ffl-form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ffl .ffl-check { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--ink); cursor: pointer; }
.ffl .ffl-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0 10px; }
.ffl .ffl-sizes .ffl-fl { margin-top: 4px; }

/* Atemschutz-Status im Profil */
.ffl .ffl-agtbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 3px; font-size: 15px; }
.ffl .ffl-agtbar.ok { background: #e2f3e8; color: #13693a; }
.ffl .ffl-agtbar.warn { background: var(--tint-warn); color: #8a5300; }
.ffl .ffl-agtbar.bad { background: #fde4e8; color: #a00d25; }
.ffl .ffl-agtbar a { margin-left: auto; color: inherit; font-weight: 600; }

/* Merkmale als Schalter-Chips */
.ffl .ffl-toggle-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #cfd3da; border-radius: 18px;
  background: var(--paper); font-size: 14px; color: var(--ink2); cursor: pointer; user-select: none; transition: background .12s, border-color .12s; }
.ffl .ffl-toggle-chip:hover { border-color: var(--ink); }
.ffl .ffl-toggle-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ffl .ffl-toggle-chip.on, .ffl .ffl-toggle-chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.ffl .ffl-toggle-chip.on::before, .ffl .ffl-toggle-chip:has(input:checked)::before { content: "✓"; font-weight: 700; }
.ffl .ffl-toggle-chip:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.ffl a.ffl-chip { text-decoration: none; }

/* Mitgliederliste: Filterleiste */
.ffl .ffl-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; align-items: center; margin-top: 14px; }
.ffl .ffl-filters select, .ffl .ffl-filters input[type=search] { min-height: 40px; padding: 6px 10px; font-size: 15px; }
.ffl .ffl-mtable td { vertical-align: top; padding-top: 10px; padding-bottom: 10px; }

/* Auswahllisten bearbeiten */
.ffl .ffl-lrows { display: flex; flex-direction: column; gap: 6px; }
.ffl .ffl-lrow { display: flex; gap: 6px; align-items: center; }
.ffl .ffl-lrow input { min-height: 38px; padding: 6px 10px; font-size: 15px; }
.ffl .ffl-lrow[data-key=""] input { border-style: dashed; }
.ffl .ffl-howto { margin: 4px 0 8px 18px; padding: 0; font-size: 15px; }
.ffl .ffl-howto li { margin: 4px 0; }
.ffl .ffl-mailprev { white-space: pre-wrap; font-size: 14px; background: var(--soft); padding: 12px; margin-top: 8px; border-left: 3px solid var(--line); }
.ffl input.ffl-picker { min-width: 240px; width: auto; flex: 1 1 240px; }

/* Ablauf des Lehrgangsjahres: verbundene Schrittleiste */
.ffl .ffl-stepper { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ffl .ffl-st { position: relative; padding: 0 8px 0 0; margin: 0; }
.ffl .ffl-st::before { content: ""; position: absolute; top: 15px; left: 32px; right: 0; height: 3px; background: #dfe2e7; }
.ffl .ffl-st:last-child::before { display: none; }
.ffl .ffl-st.is-done::before { background: var(--ok); }
.ffl .ffl-st .dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 2px solid #cfd3da; color: var(--mu); font-weight: 700; font-size: 15px; }
.ffl .ffl-st.is-done .dot { background: var(--ok); border-color: var(--ok); color: var(--on-ink); }
.ffl .ffl-st.is-now .dot { background: var(--red); border-color: var(--red); color: var(--on-red); box-shadow: 0 0 0 5px rgba(227, 6, 19, .15); }
.ffl .ffl-st .body { margin-top: 10px; padding: 12px; background: var(--paper); border: 1px solid var(--line); min-height: 130px; }
.ffl .ffl-st.is-now .body { border-color: var(--red); box-shadow: inset 0 3px 0 var(--red); }
.ffl .ffl-st .body b { display: block; font-size: 15px; color: var(--ink); line-height: 1.25; }
.ffl .ffl-st .now { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--red); }
.ffl .ffl-st .i { font-size: 14px; color: var(--mu); margin: 6px 0 8px; }
.ffl .ffl-st .a { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ffl .ffl-st .a button { max-width: 100%; white-space: normal; text-align: left; min-height: 32px; height: auto; padding-top: 4px; padding-bottom: 4px; }
.ffl .ffl-due { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--mu); width: 100%; }
.ffl .ffl-due input[type=date] { min-height: 32px; padding: 2px 6px; font-size: 14px; width: 100%; }
.ffl .ffl-st { display: flex; flex-direction: column; }
.ffl .ffl-st .body { flex: 1; }
/* Schalter */
.ffl .ffl-switch { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ffl .ffl-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ffl .ffl-switch span { width: 36px; height: 20px; border-radius: 10px; background: #cfd3da; position: relative; transition: background .15s; flex: 0 0 auto; }
.ffl .ffl-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); transition: left .15s; }
.ffl .ffl-switch input:checked + span { background: var(--ok); }
.ffl .ffl-switch input:checked + span::after { left: 18px; }
.ffl .ffl-switch input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* Ausbildungsnachweis (A4 hoch, eine Seite) */
.ffl-print .pr-nachweis { font-size: 11px; }
.ffl-print table.pr-kv { margin-bottom: 4px; }
.ffl-print table.pr-kv th { background: #f0f0f0; font-size: 11px; }
.ffl-print .pr-nachweis td, .ffl-print .pr-nachweis th { padding: 3px 6px; }
.ffl-print .pr-sign { display: flex; gap: 20mm; margin-top: 18mm; }
.ffl-print .pr-sign div { flex: 1; border-top: 1px solid #000; padding-top: 2px; font-size: 10px; }

/* ---- Responsiv ---- */
@media (max-width: 1100px) {
  .ffl .ffl-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .ffl .ffl-st:nth-child(3)::before { display: none; }
}
@media (max-width: 782px) {
  .ffl-admin { margin-right: 10px; }
  .ffl .ffl-top { flex-wrap: wrap; align-items: flex-start; }
  .ffl h2.ffl-h { font-size: 26px; }
  .ffl .ffl-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ffl .ffl-card { padding: 12px; }
  .ffl .ffl-card .ffl-big { font-size: 28px; }
  .ffl .ffl-stepper { grid-template-columns: 1fr; row-gap: 0; }
  .ffl .ffl-st { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 0 0 12px; }
  .ffl .ffl-st::before, .ffl .ffl-st:nth-child(3)::before { display: block; top: 32px; bottom: 0; left: 15px; right: auto; width: 3px; height: auto; }
  .ffl .ffl-st:last-child::before { display: none; }
  .ffl .ffl-st .body { margin-top: 0; min-height: 0; }
  .ffl .ffl-yearbar select { min-width: 0; width: 100%; }
  .ffl .ffl-filters { grid-template-columns: 1fr 1fr; }
  .ffl .ffl-filters input[type=search] { grid-column: 1 / -1; }
  .ffl .ffl-form2 { grid-template-columns: 1fr; }
  .ffl .ffl-form4 .span2 { grid-column: auto; }
  .ffl .ffl-grid2 { grid-template-columns: 1fr; }
  .ffl .ffl-pbox, .ffl .ffl-phead { padding: 12px; }
  .ffl .ffl-phead h3 { font-size: 22px; }
  .ffl-admin table.ffl-table:not(.ffl-wide) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ffl .ffl-row > select, .ffl .ffl-row > input:not([type=checkbox]):not([type=radio]) { flex: 1 1 140px; width: auto !important; min-width: 0; }
  .ffl input.ffl-picker { min-width: 0; }
  .ffl .ffl-bar { gap: 8px; }
  .ffl .ffl-bar > span[style*="flex:1"] { display: none; }
  .ffl .ffl-arow { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ffl .ffl-cards { grid-template-columns: 1fr; }
  .ffl .ffl-filters { grid-template-columns: 1fr; }
}

/* =========================================================================
   Version 2.6: Hausschrift Barlow (lokal, OFL), Logo, Gestaltung angelehnt an
   die NRW-Kampagne „Freiwillige Feuerwehr. Für mich. Für alle.“ (kräftige
   Condensed-Überschriften, schräge rote Bänder)
   ========================================================================= */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Barlow-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-style: italic; font-display: swap; src: url("fonts/BarlowCondensed-BlackItalic.woff2") format("woff2"); }

.ffl { --sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; --cond: var(--sans);
  --head: "Barlow Condensed", "Barlow", "Arial Narrow", Arial, sans-serif; --red: #e30620; font-family: var(--sans); }
.ffl, .ffl * { font-family: var(--sans); }
.ffl h2.ffl-h, .ffl .ffl-sh, .ffl .ffl-phead h3, .ffl .ffl-card .ffl-big, .ffl .ffl-st .dot, .ffl .ffl-ev .ffl-day, .ffl .ffl-month {
  font-family: var(--head); font-weight: 800; letter-spacing: 0; }
.ffl .ffl-sh { font-size: 23px; text-transform: none; }
.ffl .ffl-phead h3 { font-size: 30px; }
.ffl .ffl-card .ffl-big { font-size: 40px; }
.ffl .ffl-card .ffl-big small { font-family: var(--head); }
.ffl button, .ffl .ffl-btn { font-weight: 600; }

/* Kopf mit Logo und schrägem roten Band */
.ffl .ffl-top.ffl-brand { border-bottom: 0; position: relative; padding: 6px 0 22px; align-items: flex-end; }
.ffl .ffl-top.ffl-brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
.ffl .ffl-logo { display: block; height: 50px; width: auto; max-width: 100%; }
.ffl-admin .ffl-logo { height: 44px; }
.ffl .ffl-brand .ffl-kicker { margin-top: 8px; color: var(--mu); letter-spacing: .14em; font-size: 12px; font-weight: 700; }
.ffl-admin .ffl-tabs { margin-top: 10px; }

/* Abschnittsüberschriften mit kleinem schrägen Akzent */
.ffl .ffl-pbox > .ffl-sh::before, .ffl .ffl-sec > .ffl-sh::before { content: ""; display: inline-block; width: 6px; height: 18px; background: var(--red);
  transform: skewX(-12deg); margin-right: 4px; flex: 0 0 auto; align-self: center; }
.ffl .ffl-msg a { color: inherit; font-weight: 600; }
@media (max-width: 782px) { .ffl .ffl-logo, .ffl-admin .ffl-logo { height: 38px; } }

/* Hinweise (Infoscreen) */
.ffl .ffl-notice { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin-top: 8px; background: #f3f4f6; border-left: 5px solid #8a909c; }
.ffl .ffl-notice > b { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; min-width: 62px; }
.ffl .ffl-notice > span { flex: 1; color: var(--ink); font-size: 16px; }
.ffl .ffl-notice small { display: block; font-size: 13px; color: var(--mu); margin-top: 2px; }
.ffl .ffl-notice.lv-warn { background: var(--tint-warn); border-color: #e09a00; }
.ffl .ffl-notice.lv-warn > b { color: #8a5300; }
.ffl .ffl-notice.lv-alert { background: #fde8eb; border-color: var(--red); }
.ffl .ffl-notice.lv-alert > b { color: #a00d25; }
.ffl .ffl-notice.is-past { opacity: .6; }
.ffl .ffl-seg3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.ffl .ffl-seg3 button { border: 0; min-height: 44px; border-radius: 0; }
.ffl .ffl-seg3 button + button { border-left: 1px solid var(--ink); }
.ffl .ffl-seg3 button[aria-pressed=true] { background: var(--ink); color: var(--on-ink); }
.ffl .ffl-seg3 button.lv-warn[aria-pressed=true] { background: #e09a00; color: #111; }
.ffl .ffl-seg3 button.lv-alert[aria-pressed=true] { background: var(--red); color: var(--on-red); }
@media (max-width: 600px) { .ffl .ffl-notice { flex-wrap: wrap; } .ffl .ffl-notice > span { flex-basis: 70%; } }

/* =========================================================================
   Version 2.8: NRW-Kampagnenstil durchgezogen („Freiwillige Feuerwehr. Für mich. Für alle.“)
   Weiße Condensed-Schrift im leicht gedrehten roten Feld, schräge rote Markierungen, sonst ruhig schwarz/weiß/grau.
   ========================================================================= */
.ffl .ffl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 10px 0 16px; border-bottom: 1px solid var(--line); }
.ffl .ffl-tagline { margin: 0; padding: 0; font-family: var(--head); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: 0; text-transform: none; }
.ffl .ffl-tagline span { display: inline-block; background: var(--red); color: var(--on-red); padding: .14em .38em .18em; transform: rotate(-2.2deg); transform-origin: left bottom;
  font-family: var(--head); font-weight: 800; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ffl .ffl-tagline.sm { font-size: 17px; margin-top: 10px; }
.ffl .ffl-tagline.sm span { transform: rotate(-1.5deg); padding: .12em .45em .16em; }
.ffl .ffl-who { font-size: 14px; color: var(--mu); text-align: right; line-height: 1.5; }
.ffl .ffl-who a { color: var(--ink2); }
.ffl-member .ffl-sub { margin-top: 14px; }

/* Reiter: aktiver Reiter als schräges rotes Feld */
.ffl .ffl-tabs { border-bottom: 1px solid var(--line); }
.ffl .ffl-tabs button { position: relative; isolation: isolate; border-bottom: 0 !important; color: var(--ink2); }
.ffl .ffl-tabs button[aria-selected=true] { color: var(--on-ink); }
.ffl .ffl-tabs button[aria-selected=true]::before { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; bottom: 7px; background: var(--red); transform: skewX(-12deg); z-index: -1; }
.ffl .ffl-tabs button:not([aria-selected=true]):hover { color: var(--red); }
.ffl .ffl-subtabs button[aria-selected=true] { border-bottom-color: var(--red); color: var(--ink); }

/* Überschriften und Karten */
.ffl .ffl-sh { font-family: var(--head); font-weight: 800; font-size: 24px; color: var(--ink); }
.ffl .ffl-sec > .ffl-sh::before, .ffl .ffl-pbox > .ffl-sh::before { width: 7px; height: 20px; }
.ffl .ffl-card { transition: border-color .12s, transform .12s; }
.ffl button.ffl-card:hover { border-color: var(--ink); }
.ffl .ffl-card .ffl-cl { font-weight: 700; color: var(--ink2); }
.ffl .ffl-card.is-alert { border-color: var(--line); border-left-width: 1px; box-shadow: inset 0 4px 0 var(--red); }
.ffl .ffl-card.is-ok { border-left: 1px solid var(--line); box-shadow: inset 0 4px 0 var(--ok); }
.ffl .ffl-month { color: var(--red); font-size: 20px; }

/* Knöpfe: Hauptaktion rot, sonst schwarz umrandet – eckig wie in der Kampagne */
.ffl button, .ffl .ffl-btn { border-radius: 0; }
.ffl button.ffl-go { background: var(--red); border-color: var(--red); }
.ffl button.ffl-go:hover { background: #c4051b; border-color: #c4051b; }
.ffl button.ffl-p:hover { background: #2a2a2a; }
.ffl #myf-login input[type=submit] { border-radius: 0; font-family: var(--head); font-weight: 800; font-size: 20px; text-transform: none; letter-spacing: 0; }
.ffl .ffl-panel { border-top: 4px solid var(--red); }

@media (max-width: 600px) {
  .ffl .ffl-tagline { font-size: 30px; }
  .ffl .ffl-who { text-align: left; }
  .ffl-member .ffl-tabs button[aria-selected=true]::before { left: 1px; right: 1px; }
}
.ffl .st-fn { background: #1d2126; color: var(--on-ink); }
.ffl .ffl-right { padding: 12px 0; border-top: 1px solid var(--line); }
.ffl .ffl-right:first-of-type { border-top: 0; }
.ffl tr.is-unsure td { background: var(--tint-warn); }

/* =========================================================================
   Version 2.9: ruhiger. Prinzipien bleiben (Rot als einzige Akzentfarbe, schräge Elemente, kräftige
   Condensed-Überschriften) – aber sparsamer: ein rotes Feld pro Seite, sonst Linien und Text.
   ========================================================================= */
.ffl .ffl-tagline { font-size: 28px; }
.ffl .ffl-tagline span { transform: rotate(-1.2deg); padding: .12em .34em .15em; }
.ffl .ffl-head { padding: 6px 0 12px; }

/* Aktiver Reiter: rote Schrift mit schräger roter Unterstreichung statt voller Fläche */
.ffl .ffl-tabs button[aria-selected=true] { color: var(--ink); }
.ffl .ffl-tabs button[aria-selected=true]::before { top: auto; bottom: -1px; left: 10px; right: 10px; height: 4px; transform: skewX(-20deg); z-index: 0; }
.ffl .ffl-tabs button:not([aria-selected=true]):hover { color: var(--ink); }

/* Überschriften-Markierung schmaler */
.ffl .ffl-sec > .ffl-sh::before, .ffl .ffl-pbox > .ffl-sh::before { width: 4px; height: 17px; margin-right: 2px; }
.ffl .ffl-sh { font-size: 22px; }

/* Karten: nur „Achtung“ farbig markiert */
.ffl .ffl-card.is-ok { box-shadow: none; }
.ffl .ffl-card.is-alert { box-shadow: inset 0 3px 0 var(--red); }
.ffl .ffl-card .ffl-big { font-size: 36px; }

/* Funktionen als ruhige Umriss-Chips */
.ffl .st-fn { background: var(--paper); color: var(--ink); border: 1px solid #9aa1aa; }

/* Schrittleiste ohne Leuchten */
.ffl .ffl-st.is-now .dot { box-shadow: none; }
.ffl .ffl-st.is-now .body { box-shadow: inset 0 3px 0 var(--red); border-color: var(--line); }

.ffl .ffl-panel { border-top-width: 3px; }
.ffl .ffl-brand .ffl-kicker { color: var(--mu); letter-spacing: .12em; }

/* Ausdrucke: Einsatzbericht, Beteiligung, Bescheinigung */
.ffl-print .pr-box { display: inline-block; width: 11px; height: 11px; border: 1px solid #000; text-align: center; line-height: 10px; font-size: 10px; margin-right: 2px; vertical-align: -1px; }
.ffl-print .pr-opt { display: inline-block; margin: 0 10px 2px 0; white-space: nowrap; }
.ffl-print table.pr-form th { width: 26%; background: #f2f2f2; font-size: 11px; }
.ffl-print table.pr-form td { min-height: 18px; }
.ffl-print .pr-pre { white-space: pre-wrap; }
.ffl-print table.pr-inner th { width: auto; }
.ffl-print .pr-cert { font-size: 13px; }
.ffl-print .pr-cert h1 { font-size: 20px; margin: 10mm 0 2mm; }
.ffl-print table.pr-lines th, .ffl-print table.pr-lines td { border: 0; border-bottom: 1px solid #000; padding: 6px 4px; font-size: 13px; }
.ffl-print table.pr-lines th { width: 30%; background: none; font-weight: normal; }
.ffl-print .pr-small { font-size: 9px; color: #444; }
.ffl-print .pr-verf { margin-top: 12mm; border-top: 2px solid #000; padding-top: 4mm; font-size: 12px; }

/* Einsätze im Mitgliederbereich */
.ffl .ffl-inc { border: 1px solid var(--line); background: var(--paper); padding: 12px 14px; margin-top: 8px; }
.ffl .ffl-inc.is-mine { border-left: 3px solid var(--ok); }
.ffl .ffl-inc-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.ffl .ffl-inc-h b { font-size: 17px; color: var(--ink); }
.ffl .ffl-pform { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ffl .ffl-repsec { border-top: 1px solid var(--line); padding: 8px 0 14px; }
.ffl button.ffl-toggle-chip { min-height: 0; font-weight: 500; font-size: 14px; }
.ffl .ffl-toggle-chip input[type=radio] { position: absolute; opacity: 0; }
.ffl .ffl-frow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; gap: 6px; align-items: center; padding: 6px 0; border-top: 1px dashed var(--line); }
.ffl .ffl-frow textarea { grid-column: 1 / -1; min-height: 60px; font-size: 14px; }
.ffl .ffl-frow input, .ffl .ffl-frow select { min-height: 38px; padding: 6px 8px; font-size: 14px; }
.ffl .ffl-qrprev svg { width: 160px; height: 160px; display: block; margin: 8px 0; }
@media (max-width: 600px) { .ffl .ffl-frow { grid-template-columns: 1fr 1fr; } }

/* Kopf rechts: Glocke, Verwaltung, Konto */
.ffl .ffl-headr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Postfach-Knopf: Aussehen kommt von .ffl-iconbtn (unten), hier nur die Grundlage */
.ffl button.ffl-bell { position: relative; }
.ffl .ffl-note { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.ffl .ffl-note.is-new b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 1px; }
.ffl .ffl-fbbox { margin-top: 12px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.ffl button.ffl-fbbtn { padding: 0; margin-top: 6px; text-decoration: underline; text-underline-offset: 2px; }

/* Verwaltung auf der Website: Ebene über der Seite, auf Wunsch Vollbild */
.ffl-adm-wrap { position: fixed; inset: 0; z-index: 99990; background: #f0f0f1; overflow: auto; -webkit-overflow-scrolling: touch; }
.ffl-adm-wrap[hidden] { display: none; }
body.myf-adm-open { overflow: hidden; }
.ffl-adm-bar { position: sticky; top: 0; z-index: 2; display: flex; gap: 8px; align-items: center; padding: 8px 16px; background: #111; color: var(--on-ink); font-family: "Barlow", Arial, sans-serif; }
.ffl-adm-bar button { font-family: inherit; min-height: 34px; padding: 0 12px; border: 1px solid #fff; background: transparent; color: var(--on-ink); cursor: pointer; font-weight: 600; }
.ffl-adm-bar button.ffl-p { background: var(--paper); color: #111; }
.ffl-admin.ffl-front { max-width: none; margin: 0; padding: 8px 20px 40px; }
.ffl .ffl-logoprev { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ffl .ffl-logoprev div { padding: 14px; border: 1px solid var(--line); background: var(--paper); }
.ffl .ffl-logoprev div.dark { background: #0c0f12; }
.ffl .ffl-logoprev img { display: block; max-width: 100%; height: 40px; }

/* =========================================================================
   Version 3.0: breiter auf dem Desktop, aufgeräumte Navigation auf dem Handy
   ========================================================================= */
/* Mitgliederbereich nutzt die verfügbare Breite (bis 1240 px), unabhängig von der schmalen Inhaltsspalte des Themes */
/* zentriert zur Spalte des Themes – bei schmaler Spalte ragt der Bereich gleichmäßig nach links und rechts hinaus */
.ffl.ffl-member { box-sizing: border-box; width: min(1240px, calc(100vw - 32px)); max-width: none !important;
  margin-left: calc(50% - min(620px, 50vw - 16px)) !important; margin-right: calc(50% - min(620px, 50vw - 16px)) !important; }
.ffl-member .ffl-sec > p { max-width: 980px; }
.ffl-member .ffl-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ffl-member .ffl-form2 { max-width: 760px; }
.ffl .ffl-tabs button.ffl-morebtn { display: none; }
.ffl .ffl-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ffl .ffl-more button { border: 1px solid var(--line); background: var(--paper); min-height: 44px; }
.ffl .ffl-more button[aria-selected=true] { border-color: var(--red); color: var(--red); }
@media (max-width: 900px) {
  .ffl-member .ffl-tabs button.sec:not([aria-selected=true]) { display: none; }
  .ffl-member .ffl-tabs button.sec[aria-selected=true] { display: none; }
  .ffl-member .ffl-tabs button.ffl-morebtn { display: inline-flex; flex: 0 0 auto; margin-left: auto; }
  .ffl-member .ffl-tabs button.ffl-morebtn.on { color: var(--red); }
  .ffl-member .ffl-headr { width: 100%; justify-content: space-between; }
}
@media (min-width: 901px) { .ffl .ffl-more { display: none; } }
@media (max-width: 600px) {
  .ffl.ffl-member { width: calc(100vw - 24px); margin-left: calc(50% - 50vw + 12px) !important; margin-right: calc(50% - 50vw + 12px) !important; }
  .ffl-member .ffl-cards { grid-template-columns: 1fr 1fr; }
  .ffl .ffl-inc-h { align-items: flex-start; }
  .ffl .ffl-form4 { grid-template-columns: 1fr 1fr; }
  .ffl .ffl-form4 .span2 { grid-column: 1 / -1; }
}
@media (max-width: 380px) { .ffl-member .ffl-cards { grid-template-columns: 1fr; } }
/* Verwaltungs-Ebene: unabhängig von der Inhaltsbreite des Themes, über der WordPress-Leiste */
.ffl-adm-wrap { max-width: none !important; width: auto !important; margin: 0 !important; z-index: 100001; }
@media (min-width: 783px) { .ffl-admin .ffl-tabs { flex-wrap: wrap; overflow: visible; } }
.ffl-admin .ffl-tabs { scrollbar-width: none; }
.ffl-admin .ffl-tabs::-webkit-scrollbar { display: none; }
.ffl-admin.ffl-front .ffl-logo { height: 40px; }
.ffl .ffl-sh .st-open { color: #3c4250; } .ffl .ffl-sh .st-ok { color: #13693a; } .ffl .ffl-sh .st-warn { color: #8a5300; } .ffl .ffl-sh .st-no { color: #6e6e73; }
.ffl .ffl-sh .st-done { color: #1f4f9c; } .ffl .ffl-sh .st-bad { color: #a00d25; } .ffl .ffl-sh .ffl-chip { letter-spacing: 0; font-size: 13px; }
@media (max-width: 600px) {
  .ffl-member .ffl-tabs { overflow: visible; }
  .ffl-member .ffl-tabs button.mid { display: none; }
  .ffl-member .ffl-tabs button { padding: 0 10px; }
}

/* ===== v3.2: Ersteinrichtung, Ortssuche, Quellen ===== */
.ffl .ffl-setup { margin-top: 16px; border: 1px solid var(--line); background: var(--paper); }
.ffl .ffl-setup-h { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(227,6,32,.06), transparent 60%); }
.ffl .ffl-setup-h span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.ffl .ffl-setup-h b { display: block; font-family: var(--head); font-size: 30px; line-height: 1.1; margin-top: 4px; }
.ffl .ffl-setup-h p { margin: 8px 0 0; color: var(--mu); max-width: 70ch; }
.ffl .ffl-setup-b { padding: 6px 24px; }
.ffl .ffl-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ffl .ffl-step:last-child { border-bottom: 0; }
.ffl .ffl-step > i { font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-weight: 700; border-radius: 50%; }
.ffl .ffl-setup-f { padding: 16px 24px; border-top: 1px solid var(--line); background: var(--soft); }
.ffl .ffl-locres { display: grid; gap: 6px; margin-top: 8px; }
.ffl .ffl-locres button { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 400; }
.ffl .ffl-locres button:hover { border-color: var(--ink); }
.ffl .ffl-locres span { font-size: 13px; color: var(--mu); }
.ffl .ffl-src { font-size: 12px; color: var(--mu); margin: 4px 0 0; }
.ffl .ffl-units { display: grid; gap: 6px; }
.ffl .ffl-credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ffl .ffl-credits li { display: grid; gap: 1px; font-size: 14px; }
.ffl .ffl-credits span { color: var(--mu); font-size: 13px; }
.ffl .ffl-form2 .span2, .ffl .ffl-form4 .span2 { grid-column: span 2; }
@media (max-width: 600px) { .ffl .ffl-setup-h, .ffl .ffl-setup-b, .ffl .ffl-setup-f { padding-left: 16px; padding-right: 16px; } .ffl .ffl-form2 .span2 { grid-column: auto; } }

/* Teams, Aufgaben, Unter-Reiter zweiter Ebene */
.ffl .ffl-subtabs-2 { margin-top: 12px; }
.ffl .ffl-subtabs-2 button { font-size: 14px; }
.ffl .ffl-teamhead { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; justify-content: space-between; margin-top: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ffl .ffl-teamhead b { display: block; font-family: var(--head); font-size: 26px; line-height: 1.1; }
.ffl .ffl-teamhead span { color: var(--mu); }
.ffl .ffl-tasks { display: grid; gap: 8px; }
.ffl .ffl-task { border: 1px solid var(--line); border-left: 4px solid var(--line); background: var(--paper); padding: 12px 14px; }
.ffl .ffl-task.is-prio { border-left-color: var(--red); }
.ffl .ffl-task-h { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.ffl .ffl-task-h b { font-size: 16px; }
.ffl .ffl-task-f { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 8px; font-size: 14px; }
.ffl .ffl-task-f .ffl-picker { width: 180px; }
.ffl select.ffl-mini { width: auto; padding: 4px 28px 4px 10px; font-size: 13px; min-height: 0; border-radius: 999px; }
.ffl .ffl-newtask .ffl-picker { width: 200px; }
/* Segment-Auswahl (eine Option aus mehreren) */
.ffl .ffl-seg { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); width: fit-content; max-width: 100%; }
.ffl .ffl-seg button { border: 0; border-radius: 0; min-height: 42px; padding: 8px 14px; background: var(--paper); color: var(--ink); font-weight: 600; }
.ffl .ffl-seg button + button { border-left: 1px solid var(--ink); }
.ffl .ffl-seg button[aria-pressed=true] { background: var(--ink); color: var(--on-ink); }
.ffl .ffl-seg button:disabled { opacity: .6; cursor: default; }
@media (max-width: 600px) { .ffl .ffl-seg { width: 100%; } .ffl .ffl-seg button { flex: 1 1 100%; } .ffl .ffl-seg button + button { border-left: 0; border-top: 1px solid var(--ink); } }
/* Auswahl-Chips (Mehrfachauswahl, z. B. Fahrzeuge) */
.ffl .ffl-chipcheck { display: inline-flex; cursor: pointer; }
.ffl .ffl-chipcheck input { position: absolute; opacity: 0; pointer-events: none; }
.ffl .ffl-chipcheck span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; }
.ffl .ffl-chipcheck input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.ffl .ffl-chipcheck input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
/* Sicherheit */
.ffl .ffl-secure { border-left: 4px solid var(--ok); }
.ffl .ffl-ticks { margin: 0 0 10px; padding-left: 18px; }
.ffl .ffl-ticks li { margin: 3px 0; }
.ffl .ffl-checks { display: grid; gap: 6px; }
.ffl .ffl-checkrow { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 8px 10px; background: var(--soft); }
.ffl .ffl-checkrow i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--on-ink); background: var(--ok); font-size: 13px; }
.ffl .ffl-checkrow.todo i { background: var(--warn); }
.ffl .ffl-checkrow span { display: block; color: var(--mu); font-size: 14px; }
.ffl .ffl-files { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.ffl .ffl-files li { display: flex; gap: 10px; align-items: center; }
.ffl .ffl-files li a { flex: 1; font-weight: 600; }

/* =========================================================================
   Version 4 – ein durchgängiges System (NRW-Kampagnenstil, ruhig):
   Rot nur als Akzent · Barlow Condensed für Überschriften · eckig · klare Ebenen:
   1) Hauptmenü (schräge rote Linie) 2) Untermenü (graue Leiste) 3) Unterseiten (feine Reiter)
   ========================================================================= */
.ffl { --r: 0; --gap: 12px; --h-btn: 42px; --h-sm: 34px; color: var(--ink); }
.ffl *, .ffl *::before, .ffl *::after { box-sizing: border-box; }
/* Nichts darf aus Kästen herauslaufen */
.ffl .ffl-card, .ffl .ffl-pbox, .ffl .ffl-inc, .ffl .ffl-idea, .ffl .ffl-task, .ffl .ffl-ev, .ffl .ffl-note, .ffl .ffl-msg { overflow-wrap: break-word; min-width: 0; }
/* Tabellen: Spalten nie buchstabenweise umbrechen – lieber waagerecht wischen */
.ffl .ffl-table td { overflow-wrap: break-word; }
.ffl .ffl-table th { white-space: nowrap; }
.ffl .ffl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 700px) { .ffl .ffl-scroll > .ffl-table:not(.ffl-stack) { min-width: 620px; } }
.ffl .ffl-grid2 > *, .ffl .ffl-form2 > *, .ffl .ffl-form4 > *, .ffl .ffl-cards > *, .ffl .ffl-row > * { min-width: 0; }
.ffl input, .ffl select, .ffl textarea { max-width: 100%; }

/* ---- Kopf ---- */
.ffl .ffl-head { align-items: center; padding: 8px 0 14px; border-bottom: 0; }
.ffl .ffl-headr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ffl .ffl-iconbtn { position: relative; width: var(--h-btn); height: var(--h-btn); min-height: 0; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.ffl .ffl-iconbtn svg { width: 20px; height: 20px; }
.ffl .ffl-iconbtn:hover { border-color: var(--ink); }
.ffl .ffl-iconbtn > span { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: var(--on-red); font-size: 12px; font-weight: 700; line-height: 19px; }
.ffl .ffl-bell { font-size: 0; }
.ffl .ffl-adminbtn { min-height: var(--h-btn) !important; }
.ffl .ffl-who { display: grid; gap: 1px; text-align: right; font-size: 13px; line-height: 1.35; padding-left: 6px; }
.ffl .ffl-who b { color: var(--ink); font-weight: 600; font-size: 14px; }
.ffl .ffl-who span a { color: var(--mu); }

/* ---- Ebene 1: Hauptmenü ---- */
.ffl .ffl-nav { margin: 0 0 18px; }
.ffl .ffl-nav .ffl-tabs { margin: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); gap: 2px; }
.ffl .ffl-nav .ffl-tabs::-webkit-scrollbar { display: none; }
.ffl .ffl-nav .ffl-tabs button { flex: 0 0 auto; white-space: nowrap; min-height: 48px; padding: 0 14px; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .01em; color: var(--ink2); }
.ffl .ffl-nav .ffl-tabs button[aria-selected=true] { color: var(--ink); }
.ffl .ffl-nav .ffl-tabs button[aria-selected=true]::before { left: 8px; right: 8px; height: 4px; bottom: -1px; top: auto; }
.ffl .ffl-badge { display: inline-block; margin-left: 6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: var(--on-red); font: 700 12px/20px var(--sans); vertical-align: 2px; }
/* ---- Ebene 2: Untermenü ---- */
.ffl .ffl-subnav { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; background: var(--soft); padding: 5px; margin-top: 10px; }
.ffl .ffl-subnav::-webkit-scrollbar { display: none; }
.ffl .ffl-subnav button { flex: 0 0 auto; white-space: nowrap; min-height: 36px; padding: 0 14px; border: 0; background: transparent; color: var(--ink2); font-size: 15px; font-weight: 600; }
.ffl .ffl-subnav button[aria-selected=true] { background: var(--ink); color: var(--on-ink); }
.ffl .ffl-subnav button:not([aria-selected=true]):hover { background: #e7e7e7; }
/* ---- Ebene 3: Unterseiten einer Seite ---- */
.ffl .ffl-subtabs { margin-top: 4px; border-bottom: 1px solid var(--line); gap: 0; }
.ffl .ffl-subtabs button { min-height: 40px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--mu); border-bottom: 2px solid transparent; }
.ffl .ffl-subtabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--red); }
.ffl .ffl-subtabs-2 { border-bottom: 0; }

/* ---- Knöpfe: eine Höhe, eine Form ---- */
.ffl button, .ffl .ffl-btn { min-height: var(--h-btn); padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; border-radius: 0; cursor: pointer; white-space: nowrap; }
.ffl button.ffl-sm, .ffl .ffl-btn.ffl-sm { min-height: var(--h-sm); padding: 0 12px; font-size: 14px; }
.ffl button.ffl-p { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.ffl button.ffl-go { background: var(--red); border-color: var(--red); color: var(--on-red); }
.ffl button.ffl-q { border-color: transparent; background: transparent; color: var(--mu); font-weight: 500; }
.ffl button.ffl-q:hover { color: var(--ink); }
.ffl button:not(.ffl-p):not(.ffl-go):not(.ffl-q):not(.ffl-card):not(.ffl-iconbtn):hover { background: var(--soft); }
.ffl .ffl-tabs button, .ffl .ffl-subtabs button, .ffl .ffl-subnav button, .ffl .ffl-seg button { border-radius: 0; }
.ffl .ffl-tabs button, .ffl .ffl-subtabs button { border-top: 0; border-left: 0; border-right: 0; background: transparent; }
.ffl .ffl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ffl .ffl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 10px; }
.ffl .ffl-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: var(--soft); margin-bottom: 8px; }

/* ---- Felder ---- */
.ffl input[type=text], .ffl input[type=password], .ffl input[type=number], .ffl input[type=date], .ffl input[type=time], .ffl input[type=datetime-local],
.ffl input[type=search], .ffl input[type=tel], .ffl input[type=email], .ffl select, .ffl textarea { width: 100%; min-height: var(--h-btn); font-size: 16px; border-radius: 0; }
.ffl .ffl-row > input:not([type=checkbox]):not([type=radio]), .ffl .ffl-row > select { width: auto; flex: 1 1 180px; }
.ffl .ffl-fl { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin: 10px 0 4px; }
.ffl .ffl-form2, .ffl .ffl-form4 { display: grid; gap: 4px 14px; }
.ffl .ffl-form2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ffl .ffl-form4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ffl .ffl-check { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; }

/* ---- Abschnitte, Kästen, Karten ---- */
.ffl .ffl-sec { margin-top: 26px; }
.ffl .ffl-sh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-family: var(--head); font-weight: 800; font-size: 22px; line-height: 1.15; margin: 0 0 12px; }
.ffl .ffl-sh em { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 14px; color: var(--mu); }
.ffl .ffl-pbox { border: 1px solid var(--line); background: var(--paper); padding: 18px 20px; }
.ffl .ffl-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ffl .ffl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ffl .ffl-card { padding: 16px 18px; border: 1px solid var(--line); min-height: 118px; }
.ffl .ffl-card .ffl-cl { font-size: 14px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; }
.ffl .ffl-card .ffl-big { font-size: 38px; margin: 2px 0 6px; }
.ffl button.ffl-card { white-space: normal; height: auto; font-weight: 400; color: var(--mu); text-align: left; align-items: stretch; justify-content: flex-start; }
.ffl button.ffl-card:hover { border-color: var(--ink); background: var(--paper) !important; }
.ffl .ffl-msg { padding: 12px 16px; }
.ffl .ffl-table th { font-size: 13px; color: var(--mu); font-weight: 600; text-transform: none; letter-spacing: 0; }
.ffl .ffl-table td, .ffl .ffl-table th { padding: 10px 10px; vertical-align: top; }

/* ---- Verwaltung: Kopf und Ebene ---- */
.ffl .ffl-top.ffl-brand { align-items: center; padding-bottom: 6px; }
.ffl a.ffl-btn { color: var(--ink); }

/* ---- Vollbild (Mitgliederbereich) ---- */
html.ffl-noscroll, html.ffl-noscroll body { overflow: hidden !important; }
.ffl.ffl-member.ffl-full { position: fixed !important; inset: 0; z-index: 100000; width: auto !important; max-width: none !important; margin: 0 !important; overflow-y: auto; background: var(--paper);
  padding: 18px max(16px, calc((100vw - 1240px) / 2)) 60px; }

/* ---- Handy ---- */
@media (max-width: 780px) {
  .ffl .ffl-form4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ffl .ffl-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ffl { --h-btn: 44px; }
  .ffl .ffl-head { gap: 10px; }
  .ffl .ffl-head .ffl-tagline { font-size: 26px; }
  .ffl .ffl-headr { width: 100%; justify-content: flex-start; }
  .ffl .ffl-who { text-align: left; margin-left: auto; }
  .ffl .ffl-nav { position: sticky; top: 0; z-index: 5; background: var(--paper); margin-left: -12px; margin-right: -12px; padding: 0 12px; }
  .ffl .ffl-nav .ffl-tabs button { font-size: 17px; padding: 0 11px; min-height: 46px; }
  .ffl .ffl-subnav { margin-left: -12px; margin-right: -12px; padding: 5px 12px; }
  .ffl .ffl-form2, .ffl .ffl-form4 { grid-template-columns: 1fr; }
  .ffl .ffl-form2 .span2, .ffl .ffl-form4 .span2 { grid-column: auto; }
  .ffl .ffl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ffl .ffl-card { min-height: 0; padding: 12px; }
  .ffl .ffl-card .ffl-big { font-size: 30px; }
  .ffl .ffl-pbox { padding: 14px; }
  .ffl .ffl-row > button, .ffl .ffl-row > .ffl-btn { flex: 1 1 auto; }
  .ffl .ffl-row > button.ffl-q { flex: 0 0 auto; }
  .ffl .ffl-sh { font-size: 20px; }
  .ffl.ffl-member.ffl-full { padding: 12px 16px 60px; }
}
/* Startseite: „Was steht an?“ */
.ffl .ffl-todos { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ffl .ffl-todo { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.ffl .ffl-todo .ffl-day { font-family: var(--head); font-weight: 800; font-size: 18px; color: var(--red); line-height: 1.1; }
.ffl .ffl-todo .ffl-dot::before { content: ""; display: block; width: 8px; height: 8px; background: var(--red); transform: skewX(-12deg); }
.ffl .ffl-todo .ffl-ct { min-width: 0; }
.ffl .ffl-card .ffl-big-sm { font-size: 24px !important; }
@media (max-width: 600px) { .ffl .ffl-todo { grid-template-columns: 58px 1fr; } .ffl .ffl-todo > button { grid-column: 2; justify-self: start; } }
@media (max-width: 600px) {
  .ffl-member .ffl-head { flex-wrap: nowrap; }
  .ffl-member .ffl-headr { width: auto; flex-wrap: nowrap; gap: 6px; }
  .ffl-member .ffl-who { display: none; }
  .ffl-member .ffl-adminbtn { padding: 0 10px !important; font-size: 14px !important; }
}
/* Verwaltung: „Zu erledigen“ */
.ffl .ffl-todo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.ffl button.ffl-todo-a { justify-content: flex-start; gap: 12px; min-height: 56px; padding: 8px 14px; border: 1px solid var(--line); background: var(--paper); text-align: left; white-space: normal; font-weight: 500; }
.ffl button.ffl-todo-a b { font-family: var(--head); font-size: 26px; font-weight: 800; color: var(--red); min-width: 30px; }
.ffl button.ffl-todo-a span { flex: 1; }
.ffl button.ffl-todo-a i { font-style: normal; color: var(--mu); }
.ffl button.ffl-todo-a:hover { border-color: var(--ink); background: var(--paper) !important; }
/* Lehrgangs-Ablauf: gleiche Höhen, Aktionen unten bündig, Knöpfe gleich breit */
.ffl .ffl-stepper { gap: 10px; align-items: stretch; }
.ffl .ffl-st { display: flex; flex-direction: column; padding: 0; }
.ffl .ffl-st .body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-height: 160px; padding: 14px; }
.ffl .ffl-st .body b { font-size: 15px; line-height: 1.25; }
.ffl .ffl-st .body .now { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.ffl .ffl-st .body .i { color: var(--mu); font-size: 13px; line-height: 1.35; }
.ffl .ffl-st .body .a { margin-top: auto; padding-top: 8px; display: grid; gap: 6px; }
.ffl .ffl-st .body .a > button, .ffl .ffl-st .body .a > .ffl-btn { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding: 6px 10px; }
.ffl .ffl-st .body .a .ffl-switch { font-size: 13px; }
.ffl .ffl-st .body .a .ffl-due { display: grid; gap: 2px; font-size: 12px; color: var(--mu); }
.ffl .ffl-st .body .a .ffl-due input { min-height: 34px; font-size: 14px; padding: 4px 6px; }
@media (max-width: 1100px) { .ffl .ffl-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; } .ffl .ffl-st::before { display: none; } }
@media (max-width: 600px) { .ffl .ffl-stepper { grid-template-columns: 1fr; } .ffl .ffl-st .body { min-height: 0; } }
/* Einsatzführung: Liste als Zeilen statt Tabelle */
.ffl .ffl-inclist { display: grid; border-top: 1px solid var(--line); margin-top: 10px; }
.ffl button.ffl-incrow { display: grid; grid-template-columns: 64px 1fr 16px; gap: 12px; align-items: center; justify-content: stretch; text-align: left; white-space: normal; min-height: 64px;
  padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line); background: var(--paper); font-weight: 400; }
.ffl button.ffl-incrow:hover { background: var(--soft) !important; }
.ffl .ffl-incrow .when { font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.1; }
.ffl .ffl-incrow .when small { display: block; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--mu); }
.ffl .ffl-incrow .what b { display: block; margin-bottom: 4px; }
.ffl .ffl-incrow i { font-style: normal; font-size: 22px; color: var(--mu); }
/* Hauptmenü auf dem Handy: rechts ausblenden, damit man sieht, dass es weitergeht */
@media (max-width: 600px) {
  .ffl .ffl-nav .ffl-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
}
.ffl .ffl-card .ffl-big-sm { font-size: 22px !important; }
.ffl b, .ffl strong { font-weight: 700; }
.ffl .ffl-inc-h b { font-weight: 700; }
@media (max-width: 600px) {
  .ffl .ffl-inc-h { flex-direction: column; align-items: stretch; }
  .ffl .ffl-inc-h > .ffl-row, .ffl .ffl-inc-h > button { align-self: flex-start; }
}

/* Tabellen, die auf dem Handy zu Karten werden (Beschriftung aus data-l) */
@media (max-width: 600px) {
  .ffl .ffl-table.ffl-stack thead { display: none; }
  .ffl .ffl-table.ffl-stack, .ffl .ffl-table.ffl-stack tbody { display: block; }
  .ffl .ffl-table.ffl-stack tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ffl .ffl-table.ffl-stack td { display: block; padding: 0; border: 0; }
  .ffl .ffl-table.ffl-stack td.full, .ffl .ffl-table.ffl-stack td.name { grid-column: 1 / -1; }
  .ffl .ffl-table.ffl-stack td.sel { grid-column: 1 / -1; order: -1; height: 0; }
  .ffl .ffl-table.ffl-stack td.sel input { position: relative; top: 2px; }
  .ffl .ffl-table.ffl-stack td.sel + td.name { padding-left: 28px; }
  .ffl .ffl-table.ffl-stack td.del { position: absolute; right: 0; }
  .ffl .ffl-table.ffl-stack tr { position: relative; }
  .ffl .ffl-table.ffl-stack td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; color: var(--mu); margin-bottom: 2px; }
  .ffl .ffl-table.ffl-stack input[type=time], .ffl .ffl-table.ffl-stack input[type=number], .ffl .ffl-table.ffl-stack select { width: 100% !important; min-height: 38px; font-size: 15px; padding: 4px 6px; }
}
@media (max-width: 600px) {
  .ffl .ffl-table.ffl-stack td.sel { height: 0; overflow: visible; }
  .ffl .ffl-table.ffl-stack td.sel input { position: absolute; top: 12px; left: 0; }
}
/* Aushänge */
.ffl .ffl-board { margin-top: 14px; }
.ffl .ffl-board-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; margin-bottom: 8px; }
.ffl .ffl-board-h b { font-family: var(--head); font-size: 22px; font-weight: 800; }
.ffl .ffl-board .ffl-btn { margin-top: 8px; }
.ffl .ffl-rsvp { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ffl .ffl-rsvp-s { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; }
.ffl .ffl-rsvp-a { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ffl .ffl-rsvp-a label { display: inline-flex; align-items: center; gap: 8px; }
.ffl .ffl-rsvp-a input { width: 70px !important; text-align: center; }
@media (max-width: 600px) { .ffl .ffl-rsvp-a > button { flex: 1 1 40%; } .ffl .ffl-rsvp-a label { flex: 1 1 100%; } }
/* Untermenü auf dem Handy: auslaufend, wenn es weitergeht */
@media (max-width: 600px) { .ffl .ffl-subnav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 28px; } }
@media (max-width: 600px) {
  .ffl-member .ffl-head .ffl-tagline { font-size: 22px; white-space: nowrap; min-width: 0; overflow: hidden; }
  .ffl-member .ffl-head .ffl-tagline span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
.ffl .ffl-nav .ffl-tabs, .ffl .ffl-subnav { position: relative; }
/* Auswahl-Leisten mit 2–3 Feldern: Text darf umbrechen, nie über den Rand */
.ffl .ffl-seg3, .ffl .ffl-seg2 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.ffl .ffl-seg3 button, .ffl .ffl-seg2 button { white-space: normal; min-width: 0; padding: 6px 8px; flex-direction: column; gap: 0; line-height: 1.2; text-align: center; }
.ffl button, .ffl .ffl-btn { max-width: 100%; }
.ffl label.ffl-row { flex-wrap: nowrap; }
/* Hauptmenü der Verwaltung: kompakter, auf breiten Bildschirmen umbrechen statt abschneiden */
@media (min-width: 601px) {
  .ffl-admin .ffl-nav .ffl-tabs, #ffl-adm .ffl-nav .ffl-tabs { flex-wrap: wrap; overflow: visible; row-gap: 0; }
  .ffl .ffl-nav .ffl-tabs button { font-size: 17px; padding: 0 11px; min-height: 44px; }
}
.ffl .ffl-row > input[type=number] { flex: 0 0 96px; width: 96px; }
.ffl .ffl-sh em { margin-left: auto; }
.ffl code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--soft); padding: 1px 5px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.ffl .ffl-bar > select, .ffl .ffl-bar > input[type=date], .ffl .ffl-row > select.ffl-auto { flex: 0 1 auto; width: auto; max-width: 320px; }
.ffl select.ffl-auto, .ffl .ffl-row > select[style*="width:auto"], .ffl .ffl-row > input[style*="width:auto"] { flex: 0 1 auto !important; width: auto !important; }
/* Vierte Ebene (z. B. Gerätewerkstatt → Geräte/Fälligkeiten): kleine Pillen statt weiterer Reiterleiste */
.ffl .ffl-subtabs.ffl-subtabs-2 { border: 0; gap: 6px; margin-top: 12px; }
.ffl .ffl-subtabs.ffl-subtabs-2 button { min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; color: var(--ink2); }
.ffl .ffl-subtabs.ffl-subtabs-2 button[aria-selected=true] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.ffl .ffl-teamhead .ffl-subtabs-2 { margin-top: 0; }
/* Fristen-Tabellen: Zahl + „Monate“ in einer Zeile */
.ffl [data-rk] td:nth-child(2), .ffl [data-rkind] td:nth-child(2) { white-space: nowrap; }
.ffl [data-rk] input[type=number], .ffl [data-rkind] input[type=number] { display: inline-block; width: 80px !important; min-height: 36px; margin-right: 6px; }
.ffl .ffl-row > input[type=number]:not([type=checkbox]):not([type=radio]) { flex: 0 0 84px; width: 84px; }
.ffl .ffl-row > input[type=time]:not([type=checkbox]) { flex: 0 0 auto; width: auto; }
/* Felder mit fester Breite in Zeilen nicht strecken */
.ffl .ffl-row > input[style*="width:"]:not([style*="width:auto"]):not([type=checkbox]), .ffl .ffl-row > select[style*="width:"]:not([style*="width:auto"]) { flex: 0 0 auto !important; }
.ffl .ffl-row > .ffl-picker { flex: 1 1 220px; }
/* Mitgliederfilter: Suche + weitere Filter (auf dem Handy einklappbar) */
.ffl .ffl-filters { grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); align-items: start; }
.ffl .ffl-filters-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; align-items: center; }
.ffl .ffl-morefilters > summary { display: none; }
@media (max-width: 600px) {
  .ffl .ffl-filters { grid-template-columns: 1fr; }
  .ffl .ffl-morefilters > summary { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; cursor: pointer; }
  .ffl .ffl-morefilters[open] > summary { margin-bottom: 8px; }
  .ffl .ffl-filters-in { grid-template-columns: 1fr 1fr; }
}
/* Zähler im roten Kreis: 1 Ziffer = Kreis, 2–3 Ziffern = Pille, Zahl immer mittig */
.ffl .ffl-iconbtn > span, .ffl .ffl-badge, .ffl .ffl-bell > span {
  display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 20px; height: 20px; padding: 0 5px !important; border-radius: 10px; line-height: 1 !important;
  font: 700 12px/1 var(--sans) !important; font-variant-numeric: tabular-nums; letter-spacing: 0; text-align: center; white-space: nowrap; }
.ffl .ffl-iconbtn > span { position: absolute; top: -8px; right: -8px; border: 2px solid var(--paper); min-width: 22px; height: 22px; border-radius: 11px; }
.ffl .ffl-badge { vertical-align: 1px; margin-left: 6px; }
/* Aushang-Kasten mit QR */
.ffl .ffl-qrbox { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.ffl .ffl-qrbox .ffl-qrprev { margin: 0; }
@media (max-width: 600px) { .ffl .ffl-qrbox { grid-template-columns: 1fr; } }

/* ===== Navigation – ein System für alle Seiten =====
   Ebene 1: Hauptmenü (schräge rote Linie)
   Ebene 2: Reiter mit roter Linie – das Untermenü der Gruppe ODER die Unterseiten einer Seite
   Ebene 3: Pillen – alles, was darunter umschaltet (auch Ansichten wie „Nach Lehrgang / Nach Person“) */
.ffl .ffl-subnav, .ffl .ffl-subtabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 2px; background: none; padding: 0;
  margin: 2px 0 14px; border-bottom: 1px solid var(--line); }
.ffl .ffl-subnav::-webkit-scrollbar, .ffl .ffl-subtabs::-webkit-scrollbar { display: none; }
.ffl .ffl-subnav button, .ffl .ffl-subtabs button { flex: 0 0 auto; min-height: 42px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; margin-bottom: -1px;
  background: none !important; color: var(--mu); font-size: 15px; font-weight: 600; white-space: nowrap; transition: color .15s, border-color .15s; }
.ffl .ffl-subnav button:hover, .ffl .ffl-subtabs button:hover { color: var(--ink); border-bottom-color: #cfcfcf; }
.ffl .ffl-subnav button[aria-selected=true], .ffl .ffl-subtabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--red); }
.ffl .ffl-subnav button[aria-selected=true] .ffl-badge { background: var(--red); }
/* Ebene 3: Pillen */
.ffl .ffl-nav.has-sub ~ .ffl-subtabs, .ffl .ffl-nav.has-sub ~ * .ffl-subtabs, .ffl .ffl-subtabs.ffl-subtabs-2, .ffl .ffl-pills {
  display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 4px 0 14px; overflow: visible; padding: 0; background: none; }
.ffl .ffl-nav.has-sub ~ .ffl-subtabs button, .ffl .ffl-nav.has-sub ~ * .ffl-subtabs button, .ffl .ffl-subtabs.ffl-subtabs-2 button, .ffl .ffl-pills button {
  min-height: 34px; padding: 0 14px; margin: 0; border: 1px solid var(--line) !important; border-radius: 999px; background: var(--paper) !important; color: var(--ink2);
  font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.ffl .ffl-nav.has-sub ~ .ffl-subtabs button:hover, .ffl .ffl-nav.has-sub ~ * .ffl-subtabs button:hover, .ffl .ffl-subtabs.ffl-subtabs-2 button:hover, .ffl .ffl-pills button:hover {
  border-color: var(--ink) !important; color: var(--ink); }
.ffl .ffl-nav.has-sub ~ .ffl-subtabs button[aria-selected=true], .ffl .ffl-nav.has-sub ~ * .ffl-subtabs button[aria-selected=true], .ffl .ffl-subtabs.ffl-subtabs-2 button[aria-selected=true],
.ffl .ffl-pills button[aria-pressed=true] { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--on-ink); }
/* Hauptmenü: Hover deutlich, aber ruhig */
.ffl .ffl-nav .ffl-tabs button { transition: color .15s; }
.ffl .ffl-nav .ffl-tabs button:not([aria-selected=true]):hover { color: var(--ink); }
.ffl .ffl-nav .ffl-tabs button:not([aria-selected=true]):hover::before { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; background: #cfcfcf; transform: skewX(-20deg); }
@media (max-width: 600px) { .ffl .ffl-subnav, .ffl .ffl-subtabs { margin-left: -12px; margin-right: -12px; padding: 0 12px; } }
/* Mitglieder-Filter: Suche + Auswahlfelder in einer Linie, gleiche Höhe; Häkchen darunter */
.ffl .ffl-filters { display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(0, 4fr); gap: 8px; align-items: start; margin-top: 14px; }
.ffl .ffl-filters-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ffl .ffl-filters-in > .ffl-row { grid-column: 1 / -1; gap: 18px; min-height: 0; }
.ffl .ffl-filters input[type=search], .ffl .ffl-filters select { height: 44px; min-height: 44px; margin: 0; padding: 0 12px; font-size: 15px; width: 100%; }
.ffl .ffl-filters select { padding-right: 30px; }
@media (max-width: 900px) { .ffl .ffl-filters { grid-template-columns: 1fr; } }

/* Kopf-Symbole (Postfach, Vollbild): wie die übrigen Knöpfe – schwarzer Rahmen, beim Überfahren gefüllt */
.ffl .ffl-iconbtn { width: 42px; height: 42px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 0; transition: background .15s, color .15s; }
.ffl .ffl-iconbtn:hover { background: var(--ink) !important; color: var(--on-ink); }
.ffl .ffl-iconbtn svg { width: 19px; height: 19px; stroke-width: 2.2; }
.ffl .ffl-iconbtn > span { top: -9px; right: -9px; border-color: var(--paper); }
/* Einsatzbericht – schnell am Handy und Tablet */
.ffl .ffl-repcta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin: 12px 0 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.ffl .ffl-repcta b { display: block; font-size: 16px; }
.ffl .ffl-repcta span { color: var(--mu); font-size: 14px; }
.ffl .ffl-rephead { display: grid; grid-template-columns: 1fr 160px; gap: 14px; align-items: center; margin-top: 12px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); }
.ffl .ffl-rephead b { display: block; font-family: var(--head); font-size: 22px; font-weight: 800; line-height: 1.15; }
.ffl .ffl-rephead span { display: block; color: var(--mu); font-size: 14px; }
.ffl .ffl-repprog { position: relative; height: 30px; background: var(--soft); }
.ffl .ffl-repprog i { position: absolute; inset: 0 auto 0 0; background: var(--ok); opacity: .25; }
.ffl .ffl-repprog span { position: relative; display: grid; place-items: center; height: 100%; font-size: 13px; font-weight: 700; }
.ffl .ffl-repform { display: grid; gap: 8px; margin-top: 12px; padding-bottom: 80px; }
.ffl details.ffl-repsec { background: var(--paper); border: 1px solid var(--line); }
.ffl details.ffl-repsec > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 14px; cursor: pointer; }
.ffl details.ffl-repsec > summary::-webkit-details-marker { display: none; }
.ffl details.ffl-repsec > summary i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 14px; flex: 0 0 28px; }
.ffl details.ffl-repsec > summary b { flex: 1; font-size: 17px; }
.ffl details.ffl-repsec > summary em { font-style: normal; color: var(--ok); font-weight: 800; }
.ffl details.ffl-repsec > summary::after { content: "+"; font-size: 22px; color: var(--mu); }
.ffl details.ffl-repsec[open] > summary::after { content: "–"; }
.ffl .ffl-repbody { padding: 0 14px 16px; }
.ffl .ffl-bigchips { gap: 8px; }
.ffl .ffl-bigchips .ffl-toggle-chip { min-height: 44px; padding: 10px 14px; font-size: 15px; display: inline-flex; align-items: center; cursor: pointer; }
.ffl .ffl-toggle-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ffl .ffl-repform textarea { min-height: 96px; }
.ffl .ffl-repbar { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 10px; justify-content: flex-end; padding: 10px 12px; margin: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.06); }
.ffl .ffl-repbar .ffl-mu { margin-right: auto; font-size: 13px; }
.ffl .ffl-repbar .ffl-go { min-width: 120px; }
.ffl .ffl-hometip { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
@media (max-width: 600px) { .ffl .ffl-rephead { grid-template-columns: 1fr; } .ffl .ffl-repcta > button { width: 100%; } }
/* Verwaltung (wp-admin und Overlay): die klebende Hauptnavigation am Handy bekommt den grauen Seitenhintergrund statt eines weißen Kastens */
@media (max-width: 780px) { .ffl-admin.ffl .ffl-nav, .ffl-adm-wrap .ffl .ffl-nav { background: #f0f0f1; } }
/* Gerätekarte: Stammdaten eingeklappt, damit Prüfungen schnell erreichbar sind */
.ffl details.ffl-devdata { background: var(--paper); border: 1px solid var(--line); }
.ffl details.ffl-devdata > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; }
.ffl details.ffl-devdata > summary::-webkit-details-marker { display: none; }
.ffl details.ffl-devdata > summary .ffl-mu { flex: 1 1 220px; }
.ffl details.ffl-devdata > summary b { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ffl details.ffl-devdata[open] > summary { border-bottom: 1px solid var(--line); }
.ffl details.ffl-devdata > .ffl-pbox { border: 0; margin: 0; }
/* Karten-Tabellen am Handy: kleine Spaltenbeschriftung über dem Wert */
@media (max-width: 600px) {
  .ffl .ffl-table.ffl-stack td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--mu); margin-bottom: 2px; }
  .ffl .ffl-table.ffl-stack tr { position: relative; }
}
@media (min-width: 601px) { .ffl .ffl-stk { font-weight: inherit; } }
/* Auswahlfelder überall mit eigenem Pfeil – wp-admin und Website sehen gleich aus (vorher fehlte er in der Verwaltung) */
.ffl select:not([multiple]):not([size]) {
  -webkit-appearance: none; appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; cursor: pointer;
}
.ffl select.ffl-mini { padding-right: 28px; background-position: right 9px center; background-size: 10px 7px; }
.ffl select:not([multiple]):not([size]):hover { border-color: var(--ink); }
/* Mitglieder-Filter: ein Raster – Suche über zwei Spalten, jedes Auswahlfeld eine Spalte, Häkchen am Ende; alles bündig */
.ffl .ffl-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; align-items: center; }
.ffl .ffl-filters > input[type=search] { grid-column: span 2; width: 100%; }
.ffl .ffl-filters > .ffl-filters-in { display: contents; }
.ffl .ffl-filters-in > select { width: 100%; }
.ffl .ffl-filters-in > .ffl-row { grid-column: span 2; min-height: 44px; gap: 18px; padding: 0 2px; flex-wrap: nowrap; }
@media (max-width: 600px) {
  .ffl .ffl-filters { grid-template-columns: 1fr; }
  .ffl .ffl-filters > input[type=search] { grid-column: auto; }
  .ffl .ffl-morefilters .ffl-filters-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ffl .ffl-morefilters .ffl-filters-in > .ffl-row { grid-column: 1 / -1; min-height: 0; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .ffl .ffl-table.ffl-stack td.span2 { grid-column: span 2; }
  .ffl .ffl-table.ffl-stack td.full:empty, .ffl .ffl-table.ffl-stack td.full:has(> .ffl-chips:empty) { display: none; }
  .ffl .ffl-mtable.ffl-stack td.full { order: 9; }
  .ffl .ffl-mtable.ffl-stack td.name { padding-right: 76px; }
  .ffl .ffl-mtable.ffl-stack td.del { top: 10px; }
}
/* Pillen: Hover mit leichter Fläche, gewählte bleiben dunkel */
.ffl .ffl-nav.has-sub ~ .ffl-subtabs button:not([aria-selected=true]):hover, .ffl .ffl-nav.has-sub ~ * .ffl-subtabs button:not([aria-selected=true]):hover,
.ffl .ffl-subtabs.ffl-subtabs-2 button:not([aria-selected=true]):hover, .ffl .ffl-pills button:not([aria-pressed=true]):hover { background: var(--soft) !important; }
.ffl .ffl-repnext { display: block; width: 100%; margin-top: 14px; min-height: 46px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-weight: 700; text-align: center; }
.ffl .ffl-repnext:hover { background: var(--ink) !important; color: var(--on-ink); }
/* Fahrzeug: Status (FMS) und km-Stand */
.ffl .ffl-vstat { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-end; margin-top: 12px; }
.ffl .ffl-vstat .ffl-fl { margin-top: 0; }
.ffl .ffl-tripopen .ffl-row { padding: 10px 0; border-top: 1px solid var(--line); }
.ffl .ffl-tripopen .ffl-row:first-of-type { border-top: 0; }
.ffl .ffl-partrow { flex-wrap: wrap; gap: 6px 10px; justify-content: flex-end; }
.ffl .ffl-partclosed { font-size: 14px; }
.ffl .ffl-partreq .ffl-row { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,.08); }
.ffl .ffl-partreq .ffl-row { flex-wrap: wrap; }
.ffl .ffl-partreq-who { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.ffl .ffl-triptable td[data-l="Datum"], .ffl .ffl-triptable td[data-l="km"], .ffl .ffl-triptable td[data-l="gefahren"], .ffl .ffl-triptable td[data-l="Fahrer"] { white-space: nowrap; }
/* Funktion im Einsatz (EL ZF GF MA AGT) */
.ffl .ffl-rolecell { white-space: nowrap; }
.ffl .ffl-rolechip { min-height: 30px; min-width: 38px; padding: 0 6px; margin: 0 3px 3px 0; border: 1px solid var(--line); background: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: .03em; color: var(--mu); }
.ffl .ffl-rolechip.on { background: var(--red) !important; border-color: var(--red); color: var(--on-red); }
.ffl .ffl-rolechip:not(.on):hover { border-color: var(--ink); color: var(--ink); }
.ffl .ffl-roles .ffl-toggle-chip { min-width: 58px; justify-content: center; font-weight: 800; letter-spacing: .03em; }
.ffl .ffl-toggle-chip.is-extra { border-style: dashed; }
/* Schnellzugriff auf der Startseite */
.ffl .ffl-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 14px 0 4px; }
.ffl .ffl-quick button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; min-height: 64px; border: 1px solid var(--line); background: var(--paper); text-align: left; border-left: 4px solid var(--red); }
.ffl .ffl-quick button b { font-size: 16px; }
.ffl .ffl-quick button span { font-size: 13px; color: var(--mu); font-weight: 400; }
.ffl .ffl-quick button:hover { border-color: var(--ink); border-left-color: var(--red); background: var(--soft); }
/* QR-Codes & Links */
.ffl .ffl-links { display: grid; gap: 0; }
.ffl .ffl-link { display: grid; grid-template-columns: 28px 74px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ffl .ffl-link:first-child { border-top: 0; }
.ffl .ffl-link.is-secret { background: var(--tint-warn); padding-left: 8px; padding-right: 8px; }
.ffl .ffl-linkqr svg { width: 74px; height: 74px; display: block; }
.ffl .ffl-linktx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ffl .ffl-linktx code { font-size: 12px; color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: none; padding: 0; }
.ffl .ffl-linkbtns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 700px) { .ffl .ffl-link { grid-template-columns: 24px 64px minmax(0, 1fr); } .ffl .ffl-linkbtns { grid-column: 2 / -1; justify-content: flex-start; } .ffl .ffl-linkqr svg { width: 64px; height: 64px; } }
/* Einheitliche Reiter-Ebene: Hover nur als graue Unterstreichung, nie ein Kasten (auch nicht durch Theme-/WordPress-Regeln) */
.ffl .ffl-subnav button:hover, .ffl .ffl-subtabs:not(.ffl-subtabs-2) button:hover { background: none !important; box-shadow: none !important; }
.ffl .ffl-nav .ffl-subnav { margin-top: 6px; }
/* Pillen (Ansichten): ruhiger Hover – grauer Rand statt schwarz */
.ffl .ffl-nav.has-sub ~ .ffl-subtabs button:not([aria-selected=true]):hover, .ffl .ffl-nav.has-sub ~ * .ffl-subtabs button:not([aria-selected=true]):hover,
.ffl .ffl-subtabs.ffl-subtabs-2 button:not([aria-selected=true]):hover, .ffl .ffl-pills button:not([aria-pressed=true]):hover { border-color: #b9b9b9 !important; color: var(--ink); }
.ffl [data-part] select[data-pf="vehicle"] { min-width: 130px; }
.ffl [data-part] td.name { min-width: 120px; }
.ffl .ffl-cm { display: flex; align-items: center; gap: 10px; } .ffl .ffl-cm input { flex: 1 1 auto; } .ffl .ffl-cmstate { font-size: 13px; white-space: nowrap; }
/* Kopf: Name mit Kürzel-Kreis, darunter Dienstgrad · Einheit und Funktionen – Klick öffnet das Profil */
.ffl button.ffl-who { display: inline-flex !important; align-items: center; gap: 10px; text-align: left !important; border: 0; background: none !important; padding: 0 0 0 4px;
  min-height: 42px; cursor: pointer; color: var(--ink); font: inherit; }
.ffl button.ffl-who[tabindex="-1"] { cursor: default; }
.ffl .ffl-ava { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .03em; }
.ffl button.ffl-who:hover .ffl-ava { background: var(--red); }
.ffl .ffl-whotx { display: flex; flex-direction: column; line-height: 1.25; max-width: 240px; }
.ffl .ffl-whotx b { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ffl .ffl-whotx small { font-size: 12px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ffl .ffl-whotx small.ffl-whofn { color: var(--ink2); font-weight: 600; }
@media (max-width: 600px) {
  .ffl .ffl-whotx { display: none; }
  .ffl-member .ffl-who { display: inline-flex !important; }
  .ffl .ffl-ava { width: 42px; height: 42px; }
}
/* Fußzeile: klein, hellgrau, unten links */
.ffl .ffl-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 44px; padding: 14px 0 8px; border-top: 1px solid var(--line); font-size: 12px; color: #a0a0a5; }
.ffl .ffl-foot a { color: #a0a0a5; text-decoration: underline; text-underline-offset: 2px; }
.ffl .ffl-foot a:hover { color: var(--ink); }
.ffl .ffl-demostrip { margin: 0 0 10px; padding: 7px 12px; background: repeating-linear-gradient(-45deg, #fff4dc, #fff4dc 10px, #fdebc4 10px, #fdebc4 20px); border-left: 4px solid var(--warn); font-size: 13px; font-weight: 700; color: #6b4a00; }
.ffl .ffl-demo.is-on { border-left: 4px solid var(--warn); }
/* Verwaltung-Knopf: am Handy nur Symbol (wie Postfach und Vollbild), damit die Überschrift Platz hat */
.ffl .ffl-adminbtn { display: inline-flex; align-items: center; gap: 6px; }
.ffl .ffl-adminbtn svg { width: 18px; height: 18px; display: none; }
@media (max-width: 600px) {
  .ffl .ffl-adminbtn { width: 42px; height: 42px; min-height: 0; padding: 0; justify-content: center; }
  .ffl .ffl-adminbtn svg { display: block; }
  .ffl .ffl-adminbtn span { display: none; }
  .ffl .ffl-head .ffl-headr { gap: 6px; }
}

/* ===== Hell- und Dunkelmodus =====
   Standard folgt dem System; Symbol im Kopf schaltet um (je Gerät gemerkt). Ausdrucke bleiben immer hell. */
html[data-myf-theme="dark"] .ffl, html[data-myf-theme="dark"] .ffl-adm-wrap {
  --ink: #f2f2f3; --ink2: #d7d8db; --mu: #9b9ea4; --line: #2c3036; --soft: #1c2025; --paper: #15181c; --bg: #0e1013; --on-ink: #111; --tint-warn: #2b2416;
  --red: #ff4058; --ok: #3fbf74; --warn: #e3a335; color-scheme: dark;
}
html[data-myf-theme="dark"] body, html[data-myf-theme="dark"] #wpwrap, html[data-myf-theme="dark"] #wpcontent, html[data-myf-theme="dark"] .ffl-adm-wrap { background: #0e1013 !important; }
html[data-myf-theme="dark"] .ffl input, html[data-myf-theme="dark"] .ffl select, html[data-myf-theme="dark"] .ffl textarea { background-color: var(--soft); color: var(--ink); border-color: var(--line); }
html[data-myf-theme="dark"] .ffl select:not([multiple]):not([size]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23eee' stroke-width='2'/%3E%3C/svg%3E"); }
html[data-myf-theme="dark"] .ffl .ffl-logo, html[data-myf-theme="dark"] .ffl img.ffl-brandlogo { filter: brightness(0) invert(1) contrast(.9); }
html[data-myf-theme="dark"] .ffl .ffl-chip { background: var(--soft); }
html[data-myf-theme="dark"] .ffl .st-ok { background: #12301f; color: #6fdc9b; }
html[data-myf-theme="dark"] .ffl .st-warn { background: #33280f; color: #f0c46a; }
html[data-myf-theme="dark"] .ffl .st-bad { background: #3a1419; color: #ff8a98; }
html[data-myf-theme="dark"] .ffl .ffl-demostrip { background: repeating-linear-gradient(-45deg, #2b2416, #2b2416 10px, #332a17 10px, #332a17 20px); color: #f0c46a; }
html[data-myf-theme="dark"] .ffl svg.qr, html[data-myf-theme="dark"] .ffl .ffl-linkqr svg, html[data-myf-theme="dark"] .ffl .ffl-qrprev svg { background: #fff; padding: 4px; }
/* Verwaltung sieht aus wie der Mitgliederbereich: heller (bzw. dunkler) Grund statt WordPress-Grau */
body.toplevel_page_myf #wpcontent, body.toplevel_page_myf #wpbody-content { background: var(--myf-bg, #fff); }
body.toplevel_page_myf { background: #fff; }
.ffl-adm-wrap { background: #fff; }
@media (max-width: 780px) { .ffl-admin.ffl .ffl-nav, .ffl-adm-wrap .ffl .ffl-nav { background: var(--bg); } }
/* Knöpfe im Kopf: alle gleich hoch wie Postfach/Vollbild */
.ffl .ffl-headr > .ffl-btn, .ffl .ffl-headr > a.ffl-btn, .ffl .ffl-headr > .ffl-adminbtn { height: 42px; min-height: 42px; display: inline-flex; align-items: center; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
.ffl .ffl-slotminmax { gap: 4px; flex-wrap: nowrap; } .ffl .ffl-slotminmax input { width: 58px !important; min-height: 32px; padding: 2px 6px; font-size: 14px; }
/* Kacheln überall mit gleichem Abstand */
.ffl .ffl-cards, .ffl .ffl-todo-list, .ffl .ffl-quick, .ffl-member .ffl-cards { gap: 12px !important; }
.ffl .ffl-todo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ffl .ffl-sec + .ffl-sec, .ffl .ffl-sec { margin-top: 26px; }

/* ===== NRW-Look (Kampagne „Freiwillige Feuerwehr – Für mich. Für alle.“) =====
   Ein Rot (#E30613), Schwarz, Weiß · schmale, kräftige Überschriften · eckige Formen · schräge rote Akzente.
   Runde Formen nur noch für Zähler, Avatare und Schalter. */
.ffl { --red: #e30613; --red-dk: #b8050f; --tint-red: #fdeced; --on-red: #fff; }
html[data-myf-theme="dark"] .ffl, html[data-myf-theme="dark"] .ffl-adm-wrap { --red: #f2293b; --red-dk: #ff5a68; --tint-red: #3a1419; }
.ffl button.ffl-go:hover, .ffl #myf-login input[type=submit]:hover { background: var(--red-dk); border-color: var(--red-dk); }
.ffl .st-bad, .ffl .ffl-agtbar.bad { background: var(--tint-red); color: var(--red-dk); }
.ffl .ffl-notice.lv-alert { background: var(--tint-red); } .ffl .ffl-notice.lv-alert > b, .ffl .ffl-sh .st-bad { color: var(--red-dk); }
/* eckig wie Schilder und Aufkleber der Kampagne */
.ffl .ffl-chip, .ffl .ffl-tag, .ffl .ffl-toggle-chip, .ffl select.ffl-mini, .ffl .ffl-rolechip,
.ffl .ffl-subtabs.ffl-subtabs-2 button, .ffl .ffl-pills button, .ffl .ffl-pill { border-radius: 2px; }
.ffl .ffl-chip, .ffl .ffl-tag { font-weight: 700; letter-spacing: .01em; }
/* Schritt-Nummern als schräge Marken statt Kreise */
.ffl .ffl-step .n, .ffl .ffl-st .dot { border-radius: 2px; transform: skewX(-8deg); }
.ffl .ffl-step .n > *, .ffl .ffl-st .dot > * { transform: skewX(8deg); }
.ffl .ffl-st.is-now .dot { box-shadow: none; }
/* Kopf: rote Linie mit schräg auslaufendem Balken links – das Band der Kampagne, klein */
.ffl .ffl-top.ffl-brand::before { content: ""; position: absolute; left: 0; bottom: 0; width: 132px; height: 10px; background: var(--red);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%); }
/* Hervorgehobene Kacheln: roter Balken oben statt dickem Rand links */
.ffl .ffl-card.is-alert { border-left-width: 1px; border-color: var(--line); box-shadow: inset 0 4px 0 var(--red); }
/* Kennzeichnung „Jetzt dran“ und Gruppentitel: schmal und kräftig */
.ffl .ffl-group, .ffl .ffl-kicker { font-family: var(--head); font-weight: 800; letter-spacing: .02em; }
.ffl .ffl-group { font-size: 19px; }
.ffl .ffl-nav.has-sub ~ .ffl-subtabs button, .ffl .ffl-nav.has-sub ~ * .ffl-subtabs button { border-radius: 2px; }
/* Logo: eigene helle/dunkle Fassung statt Farbfilter (der Filter machte das rote Feld weiß) */
.ffl .ffl-logo.for-dark { display: none; }
html[data-myf-theme="dark"] .ffl .ffl-logo { filter: none; }
html[data-myf-theme="dark"] .ffl .ffl-logo.for-light { display: none; }
html[data-myf-theme="dark"] .ffl .ffl-logo.for-dark { display: block; }
/* eigenes Logo ohne dunkle Fassung: auf weißem Schild */
html[data-myf-theme="dark"] .ffl .ffl-logo.is-plate { background: #fff; padding: 4px 8px; box-sizing: content-box; }

/* ===== Farben & Balken – einheitlich =====
   Hinweise: Grau (Info) · Bernstein (Achtung) · Rot (Fehler/dringend) · Grün (erledigt). Schrift immer schwarz bzw. hell –
   kein Braun, kein Blau. Alle Farbbalken 4 px (links oder oben), Reiter-Markierung 3 px. */
.ffl { --bar: 4px; --warn: #e8a000; --tint-warn: #fff6dc; --tint-ok: #e9f5ee; --tint-info: var(--soft); }
html[data-myf-theme="dark"] .ffl, html[data-myf-theme="dark"] .ffl-adm-wrap { --warn: #e8a000; --tint-warn: #2a2312; --tint-ok: #12301f; }
.ffl .ffl-msg, .ffl .ffl-notice, .ffl .ffl-banner, .ffl .ffl-demostrip, .ffl .ffl-demo.is-on, .ffl .ffl-idea .ffl-answer, .ffl .ffl-mailprev,
.ffl .ffl-ev.is-mine, .ffl .ffl-inc.is-mine, .ffl .ffl-task, .ffl .ffl-secure, .ffl .ffl-profile { border-left-width: var(--bar) !important; }
.ffl .ffl-msg { border-left-color: var(--ink); background: var(--tint-info); color: var(--ink); }
.ffl .ffl-msg.warn, .ffl .ffl-notice.lv-warn, .ffl .ffl-demostrip, .ffl .ffl-demo.is-on { border-left-color: var(--warn) !important; background: var(--tint-warn); color: var(--ink); }
.ffl .ffl-msg.err, .ffl .ffl-notice.lv-alert { border-left-color: var(--red) !important; background: var(--tint-red); color: var(--ink); }
.ffl .ffl-msg.ok { border-left-color: var(--ok); background: var(--tint-ok); color: var(--ink); }
.ffl .ffl-banner { background: var(--tint-info); border-left: var(--bar) solid var(--ink); color: var(--ink); }
.ffl .ffl-notice { background: var(--tint-info); border-left: var(--bar) solid var(--mu); }
.ffl .ffl-notice.lv-warn > b, .ffl .ffl-notice.lv-alert > b { color: var(--ink); }
.ffl .ffl-demostrip { background: repeating-linear-gradient(-45deg, var(--tint-warn), var(--tint-warn) 10px, transparent 10px, transparent 20px), var(--paper); color: var(--ink); }
html[data-myf-theme="dark"] .ffl .ffl-demostrip { background: repeating-linear-gradient(-45deg, var(--tint-warn), var(--tint-warn) 10px, transparent 10px, transparent 20px), var(--paper); color: var(--ink); }
/* Chips: Bernstein mit schwarzer Schrift statt Braun, „absolviert“ schwarz statt blau */
.ffl .st-warn, .ffl .ffl-agtbar.warn { background: var(--tint-warn); color: var(--ink); box-shadow: inset 3px 0 0 var(--warn); }
html[data-myf-theme="dark"] .ffl .st-warn { background: var(--tint-warn); color: var(--ink); }
.ffl .st-done { background: var(--soft); color: var(--ink); border-color: var(--ink); }
.ffl .ffl-sh .st-warn, .ffl .ffl-sh .st-done { color: var(--ink); }
.ffl .ffl-seg3 button.lv-warn[aria-pressed=true] { background: var(--warn); color: #111; }
.ffl .ffl-link.is-secret, .ffl tr.is-unsure td { background: var(--tint-warn); }
.ffl .ffl-ev.is-mine { background: var(--tint-warn); border-left-color: var(--red); }
/* Balken oben: Panels, Kopf von Profil/Rückmeldung, Kacheln, Ablauf – alle gleich dick */
.ffl .ffl-panel, .ffl .ffl-phead, .ffl .ffl-fbbox, .ffl .ffl-acard.is-open { border-top-width: var(--bar) !important; }
.ffl .ffl-card.is-alert { box-shadow: inset 0 var(--bar) 0 var(--red); }
.ffl .ffl-card.is-ok { box-shadow: inset 0 var(--bar) 0 var(--ok); }
.ffl .ffl-st.is-now .body { box-shadow: inset 0 var(--bar) 0 var(--red); }
.ffl .ffl-quick button { border-left-width: var(--bar) !important; }
.ffl .ffl-top.ffl-brand::after { height: var(--bar); }
/* Reiter: Haupt- und Unterreiter gleich markiert */
.ffl .ffl-tabs button, .ffl .ffl-subtabs button, .ffl .ffl-subnav button { border-bottom-width: 3px; }
