/* Sistenta -- Ein Clip auf mehrere Plattformen (verteilen.js, 17.10.2026).
 * Farben nur ueber die vorhandenen Variablen (--line, --panel, --muted), damit
 * Hell und Dunkel ohne eigene Regeln stimmen. */
.verteilen { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 16px; margin-top: 10px; }
.verteilen__video { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; object-fit: contain; }
.verteilen__karten { display: grid; gap: 12px; }
.verteilen__karte { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--panel); display: grid; gap: 6px; }
.verteilen__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.verteilen__zustand { font-size: .85em; color: var(--muted); }
.verteilen__karte--veroeffentlicht .verteilen__zustand, .verteilen__karte--im_posteingang .verteilen__zustand { font-weight: 600; color: inherit; }
.verteilen__karte--fehler { border-color: currentColor; }
.verteilen__zaehler { color: var(--muted); justify-self: end; }
.verteilen__bestaetigt, .verteilen__wahlzeile { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 32px; }
.verteilen__wahl { display: grid; gap: 4px; margin: 6px 0; }
.verteilen--grau { opacity: .55; }
.verteilen__leiste { grid-column: 1 / -1; }
.verteilen__neu { display: grid; gap: 6px; }
.verteilen__tabelle { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .92em; }
.verteilen__tabelle th, .verteilen__tabelle td { text-align: left; vertical-align: top; padding: 6px 8px; border-top: 1px solid var(--line); }
.verteilen__tabelle td small { display: block; }
@media (max-width: 640px) {
  .verteilen { grid-template-columns: 1fr; }
  .verteilen__video { max-height: 50vh; }
  .verteilen__tabelle thead { display: none; }
  .verteilen__tabelle tr { display: block; border-top: 1px solid var(--line); padding: 6px 0; }
  .verteilen__tabelle td { display: block; border: 0; padding: 2px 0; }
  .verteilen__tabelle td[data-titel]::before { content: attr(data-titel) ": "; color: var(--muted); }
}
