/* RUESS Hub 2.79.7 - Fahrerkarte (Fuhrpark → Fahrer → Name). Kompakt, Tabellen statt Kacheln. */
.fk-karte { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: #24302a; }
.fk-karte .fk-fakten { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.fk-karte .fk-fakt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fk-karte .fk-fakt span { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7a8580; }
.fk-karte .fk-fakt strong { font-size: 15px; font-weight: 700; }
.fk-karte .fk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fk-karte .fk-chips:empty { display: none; }
.fk-karte .fk-zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fk-karte .fk-zahlen > div { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border: 1px solid #e4e9e2; border-radius: 8px; background: #fafbf8; }
.fk-karte .fk-zahlen > div.warn { border-color: #f0d6a6; background: #fdf6e8; }
.fk-karte .fk-zahlen strong { font-size: 18px; line-height: 1.2; }
.fk-karte .fk-zahlen span { font-size: 12px; color: #667174; }
.fk-karte .fk-spalten { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 14px; align-items: start; }
.fk-karte .fk-block { border: 1px solid #e4e9e2; border-radius: 10px; padding: 4px 12px 10px; background: #fff; min-width: 0; }
.fk-karte h4 { margin: 10px 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6b7a2a; }
.fk-karte .fk-tabelle { width: 100%; border-collapse: collapse; }
.fk-karte .fk-tabelle td { padding: 5px 6px; border-top: 1px solid #f0f3ec; white-space: nowrap; }
.fk-karte .fk-tabelle tr:first-child td { border-top: 0; }
.fk-karte .fk-tabelle tr.fk-heute td { background: #f4f9e6; font-weight: 600; }
.fk-karte .fk-datum b { display: inline-block; width: 22px; color: #7a8580; font-weight: 600; }
.fk-karte .fk-status { text-align: right; width: 1%; }
.fk-karte .fk-chip { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 11.5px; line-height: 19px; border: 1px solid #e4e9e2; background: #f5f7f2; color: #4b5650; }
.fk-karte .fk-chip.ok { background: #eef6e2; border-color: #cfe3ae; color: #3f6b12; }
.fk-karte .fk-chip.warn { background: #fdf1dc; border-color: #f0d6a6; color: #8a5300; }
.fk-karte .fk-chip.muted { color: #9aa39a; }
.fk-karte .fk-mehr summary { cursor: pointer; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #4b6b12; list-style: none; }
.fk-karte .fk-mehr summary::-webkit-details-marker { display: none; }
.fk-karte .fk-mehr summary::before { content: "▸ "; }
.fk-karte .fk-mehr[open] summary::before { content: "▾ "; }
.fk-karte .fk-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fk-karte .fk-liste li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid #f0f3ec; }
.fk-karte .fk-liste li:first-child { border-top: 0; }
.fk-karte .fk-liste li span { color: #667174; white-space: nowrap; }
.fk-karte .fk-liste li.fk-vorbei { opacity: .55; }
.fk-karte .fk-leer { margin: 2px 0 6px; color: #8a948d; }
@media (max-width: 760px) {
  .fk-karte .fk-spalten { grid-template-columns: 1fr; }
  .fk-karte .fk-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fk-karte .fk-tabelle td { white-space: normal; }
}
