/* Lagebild „Wer ist wo?“ (lagebild.js) */
.lb-h {
  font-size: 16px;
  margin: 22px 0 10px;
}
.lb-day {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lb-day input[type='date'] {
  height: 32px;
}
.lb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.lb-car-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.lb-now {
  margin: 8px 0 4px;
}
.lb-stops {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.lb-stops li {
  display: grid;
  grid-template-columns: 96px 90px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  align-items: baseline;
}
.lb-stops .lb-t {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.lb-stops .lb-d {
  color: var(--muted);
}
.lb-stops .lb-o {
  min-width: 0;
  overflow-wrap: anywhere;
}
table.lb-t td {
  vertical-align: top;
}
table.lb-t tr.lb-sub td {
  border-top-style: dashed;
}
table.lb-t tr.lb-hint td {
  border-top: 0;
  padding-top: 0;
}
.lb-sum {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lb-names {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}
.lb-names label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
}
@media (max-width: 720px) {
  .lb-stops li {
    grid-template-columns: 86px 1fr;
  }
  .lb-stops .lb-o {
    grid-column: 1 / -1;
  }
  .page-head .lb-day {
    order: 3;
    width: 100%;
  }
}

/* Fristen aus der Post (fristenradar.js) */
.fr-row {
  align-items: flex-start;
  gap: 12px;
}
.fr-date {
  min-width: 96px;
  padding-left: 8px;
  border-left: 3px solid var(--border, #ddd);
}
.fr-rot .fr-date {
  border-left-color: #dc0816;
  color: #b0000c;
}
.fr-gelb .fr-date {
  border-left-color: #e0a100;
}
.fr-auszug {
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.fr-act {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Kennzahlen (kennzahlen.js) */
.kz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.kz-k {
  margin: 0;
}
.kz-v {
  font-size: 22px;
  font-weight: 700;
  margin: 2px 0;
}
.kz-rot .kz-v,
.kz-neg {
  color: #b0000c;
}
.kz-warn .list-row {
  gap: 10px;
  justify-content: flex-start;
}
.kz-chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 190px;
}
.kz-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.kz-bars {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}
.kz-b {
  width: 40%;
  background: #dc0816;
  border-radius: 3px 3px 0 0;
  min-height: 1px;
}
.kz-b.vj {
  background: #f2b8bc;
}
