/* CHEX · Fahrer-Bereich. */
/* ---------- Fahrer-Bereich ---------- */
/* umbrechen statt wischen: alle Bereiche sind auf dem Handy sofort zu sehen */
.subnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 20px; }
.subnav a {
  white-space: nowrap; padding: 7px 14px; border-radius: 980px; background: var(--fill-2);
  color: var(--text); font-size: 14px; font-weight: 500; transition: background .25s var(--ease), color .25s;
}
.subnav a.active { background: var(--text); color: var(--bg); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: var(--text-2); font-size: 15px; }
.facts b { color: var(--text); font-weight: 600; }
.stops-editor .stop-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px auto; gap: 6px; margin-bottom: 8px; align-items: center; }
/* neu eingefügter Halt in einer Fahrt mit Buchungen: kleine Markierung links */
.stops-editor .stop-row.added { position: relative; }
.stops-editor .stop-row.added::before { content: ''; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--accent); }
.stop-actions { display: flex; gap: 4px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 8px 4px; border-top: .5px solid var(--sep); }
.price-table tr:first-child td { border-top: 0; }
.price-table td:last-child { width: 120px; }
.price-table input { text-align: right; min-height: 42px; }
/* Einnahmen-Zähler (Mitfahrer-Seite) */
.income-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 14px; }
.income-grid .eyebrow { margin-bottom: 2px; }
.income-grid b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.income-grid small { color: var(--text-2); font-size: 13px; }
@media (max-width: 620px) { .income-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Statistik */
.stat-list .grow { min-width: 0; }
.stat-bar { height: 6px; margin: 8px 0 4px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.stat-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent-bg); }
.warn-text { color: var(--orange); font-weight: 600; }
/* Fehler aus der App */
.err-list { margin: 0 -20px 12px; }
.err-list pre { margin: 6px 0 0; padding: 10px; border-radius: 10px; background: var(--fill-2); font-size: 12px; white-space: pre-wrap; word-break: break-word; }
