/* ================= Runde 2f LEISTE (.bk-): Bestandskunden aus F9 =================
   Marke neutral (--neu-*), „zu prüfen“ als Warnung (Gelb, kein Rot). Bereich „Bestandskunde (F9)“ im Kundenprofil, nur Anzeige. */

/* Marke: eine Zeile, bricht bei wenig Platz um */
.bk-marken { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; max-width: 100%; vertical-align: middle; }
.bk-marken .tag { margin: 0; white-space: nowrap; }
.tag.bk-marke { background: var(--neu-bg); color: var(--neu-tx); border-color: var(--neu-ln); }
/* Tabelle und Visitenkarte ohne eigene Zeile (Korrektur 2f): Tabelle in der Zeile mit der Branche, Visitenkarte in der Zeile mit dem Ort.
   Der Text davor kürzt sich, die Marke bleibt ganz. Firmenportal-Seitenleiste (schmal): eigene Zeile, kompakt, bricht nie um. */
.bk-zeile, .kv-ortzeile { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bk-zeile > .ku-branchen, .kv-ortzeile > .kv-ort { flex: 0 1 auto; min-width: 0; }
.bk-zeile > .bk-marken, .kv-ortzeile > .bk-marken { flex: none; flex-wrap: nowrap; }
.fp-text > .bk-marken { display: flex; flex-wrap: nowrap; margin: 2px 0 1px; }
/* Kompakt (Firmenportal-Seitenleiste): „zu prüfen“ als Punkt mit Titel */
.bk-punkt { display: inline-block; width: 8px; height: 8px; margin: 0 2px; border-radius: 50%; background: var(--warn-tx); box-shadow: 0 0 0 3px var(--warn-bg); flex: none; }

/* Firmenportal-Seitenleiste: Häkchen „Nur Bestandskunden“ wie „Nur freie Firmen“ */
.bk-fp { margin: 2px 0 0; font-size: 13px; }

/* Bereich im Kundenprofil */
.bk-bereich .bk-zusatz { display: block; margin-top: 2px; font-size: 12.5px; }
.bk-bereich .bk-warn { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--warn-bg); color: var(--warn-tx); border: 1px solid var(--warn-ln); }
.bk-hinweise { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 3px; }
.bk-hinweise li { overflow-wrap: anywhere; }
/* Verweise auf andere Firmen klar als Link: iPersonal Textfarbe mit deutlicher Unterstreichung (kein Rot), MediPersonal Blau */
/* Spezifischer als .sc-werte dd a (kandidat.css: ohne Unterstreichung, inline-flex) */
.bk-bereich .bk-hinweise a { display: inline; color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--muted); text-underline-offset: 3px; border-radius: 3px; }
body[data-mandant="med"] .bk-bereich .bk-hinweise a { color: var(--ink); text-decoration-color: currentColor; }
.bk-bereich .bk-hinweise a:hover { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.bk-bereich .bk-hinweise a:focus-visible { outline: 2px solid var(--ak-ln); outline-offset: 2px; text-decoration-color: currentColor; }

/* „Mehr aus F9“: übrige Angaben aufklappbar */
.bk-mehr { margin-top: 10px; }
.bk-mehr > summary { width: max-content; max-width: 100%; cursor: pointer; font-size: 13px; color: var(--muted); border-radius: 6px; }
.bk-mehr > summary:hover { color: var(--text); }
.bk-mehr > summary:focus-visible { outline: 2px solid var(--ak-ln); outline-offset: 2px; }
.bk-mehr[open] > summary { margin-bottom: 10px; }

/* Schmal: Werte untereinander */
@media (max-width: 760px) {
  .bk-bereich .sc-werte.sp2 { grid-template-columns: minmax(0, 1fr); }
}

/* Runde 2l (F1): «✓ bestätigt» bzw. «ausgeschieden» beim Entscheider, Zahl bei «Mehr aus F9», technische Meldungen aus dem Import gedämpft */
.tag.bk-bestaetigt { margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.bk-mehr-zahl { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; font-size: 11px; font-weight: 700; background: var(--flaeche-3); color: var(--muted); }
.bk-bereich .bk-technisch { color: var(--muted); font-size: 12.5px; }
