/* Dokumentenlenkung - Akzent und Sonderbausteine fuer den Bildschirm. Das gemeinsame Bild kommt aus firmen.css,
   der Ausdruck aus styles.css (unveraendert). Farben nur ueber die Variablen aus firmen.css. */
:root {
  --g: linear-gradient(135deg, #cbd5e1 0%, #64748b 60%, #1e293b 120%);
  --accent: #64748b;
}

.text { color: var(--text-soft); font-size: 14px; margin-top: 6px; overflow-wrap: anywhere; white-space: pre-wrap; }
.gap { border: 1px dashed color-mix(in srgb, var(--warn) 60%, transparent); color: var(--warn); border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; font-size: 14px; }
.badge.ueberfaellig { color: var(--off); }
.zeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 14px; }
details { margin-top: 10px; font-size: 13px; color: var(--text-soft); }
details summary { cursor: pointer; font-weight: 600; }
.wahl label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); cursor: pointer; }
@media (max-width: 560px) {
  nav.tabs button { font-size: 13px; padding: 10px 2px; }
}
h1 { overflow-wrap: anywhere; min-width: 0; }
.buttons { display: grid; }
.filter { margin-bottom: 12px; }
.karte { display: grid; gap: 4px; width: 100%; text-align: left; cursor: pointer; }
.karte.leise { opacity: .55; }
.kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.kopf .name { font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.kopf h3 { min-width: 0; overflow-wrap: anywhere; }
.badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; max-width: 50%; }
.badges .badge { white-space: normal; text-align: right; }
.karte .sub { color: var(--text-soft); font-size: 14px; overflow-wrap: anywhere; }
.karte .sub.muted { color: var(--muted); font-size: 13px; }
.liste { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 8px; }
.liste li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; }
.liste li > span:first-child { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.liste li > span:first-child .badge { white-space: normal; }
.liste li.weg > span:first-child { opacity: .6; }
.knoepfe { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex: none; max-width: 45%; }
.links button { font-weight: 700; }
