/* Baustellenfotos — Handy zuerst. */

/* Auslöser: grosse Fläche, mit Handschuhen treffbar. Der Kamera-Knopf ist der
   Regelfall und nimmt die Fläche; die Galerie steht als schmaler Zweitknopf
   direkt darunter, damit klar ist, dass es zwei verschiedene Wege sind. */
.fo-knipsen {
  display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box;
  background: var(--fa-cyan); color: #fff; border-radius: 14px;
  padding: 20px 18px; margin-bottom: 8px; cursor: pointer;
}
.fo-knipsen:active { background: var(--fa-cyan-dark); }
.fo-knipsen .ico { font-size: 30px; line-height: 1; }
.fo-knipsen-text { font-size: 17px; font-weight: 600; line-height: 1.25; }
.fo-knipsen-text small { display: block; font-size: 12px; font-weight: 400; opacity: .85; margin-top: 3px; }

.fo-galerie {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; box-sizing: border-box;
  background: #fff; color: var(--fa-cyan-dark);
  border: 1px solid var(--fa-border); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 12px;
  font-size: 14px; font-weight: 600; line-height: 1.25; cursor: pointer;
}
.fo-galerie:active { background: #eaf3f8; }
.fo-galerie .ico { font-size: 18px; line-height: 1; }

/* Warteschlange */
.fo-liste { display: grid; gap: 10px; }
.fo-karte {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--fa-border); border-radius: 12px;
  padding: 10px 12px;
}
.fo-karte.fo-offen   { border-left: 4px solid #d8a12a; }
.fo-karte.fo-fertig  { border-left: 4px solid var(--fa-ok); }
.fo-karte.fo-fehler  { border-left: 4px solid var(--fa-error); background: #fdf6f5; }

.fo-vorschau {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 8px;
  object-fit: cover; background: #eef2f5;
}
.fo-text { flex: 1; min-width: 0; }
.fo-name { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.fo-meta { font-size: 11px; color: var(--fa-muted); margin-top: 3px; }
.fo-fehlertext { font-size: 11px; color: var(--fa-error); margin-top: 3px; line-height: 1.4; }

.fo-weg {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px;
  background: none; border: 1px solid var(--fa-border); color: var(--fa-muted);
  font-size: 14px; line-height: 1; cursor: pointer; text-align: center;
  text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.fo-weg:active { background: #f0f6fa; }

/* Vorschlagsblock, wenn das Objekt nicht eindeutig ist ------------------ */
.fo-karte { display: block; }
.fo-oben { display: flex; align-items: center; gap: 12px; }
.fo-karte.fo-fragt { border-left: 4px solid var(--fa-cyan); }

.fo-vorschlaege { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--fa-border); }
.fo-vorschlag-titel { font-size: 12px; color: var(--fa-muted); margin-bottom: 7px; line-height: 1.45; }
.fo-vorschlag {
  display: flex; align-items: baseline; gap: 10px; width: 100%; box-sizing: border-box;
  text-align: left; background: #f7f9fb; border: 1px solid var(--fa-border);
  border-radius: 9px; padding: 9px 11px; margin-bottom: 6px;
  font: inherit; color: inherit; cursor: pointer;
}
.fo-vorschlag:active { background: #eaf3f8; }
.fo-v-km { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--fa-cyan-dark); min-width: 48px; }
.fo-v-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.fo-v-text small { display: block; font-size: 11px; color: var(--fa-muted); margin-top: 1px; }

/* Baustellenwahl — Schritt 1 vor dem Knipsen -------------------------- */
.fo-wahl-titel { font-size: 16px; font-weight: 700; margin: 2px 2px 6px; }
.fo-wahl-titel + .st-hinweis { margin-top: 0; }
/* Der Nebenausgang steht bewusst unten und schmal: er ist die Ausnahme,
   nicht der Weg. */
.fo-ohne { display: block; margin: 14px 2px 18px; }
