/**
 * Wahl-Modul Stufe 4 (W4-91, W4-96): Steuerung der Wahlleitung (Ergebnis vor der Freigabe) und Einstellungen „Ergebnisse“.
 */
.as-pending { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.as-pend { border: 1px solid #b58900; border-radius: 10px; overflow: hidden; }
.as-pend__band { margin: 0; padding: 8px 12px; background: #fcd34d; color: #3b2f00; font-weight: 700; line-height: 1.35; }
.as-pend__result, .as-pend__line, .as-pend__actions { margin: 0; padding: 8px 12px 0; }
.as-pend__verdict { margin: 0 0 6px; font-size: 1.25rem; font-weight: 700; }
.as-pend__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.as-pend__list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.as-pend__list li.is-elected { font-weight: 700; }
.as-pend__list em { font-style: normal; font-weight: 700; }
.as-pend__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 2px; }
.as-pend__actions .btn { width: auto; flex: 0 0 auto; }
.as-pend--other { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 12px; margin: 0; background: #fff7d6; color: #3b2f00; }
.as-pend__error { margin: 0; color: var(--danger, #b3261e); font-weight: 600; }

.as-results { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; margin-top: 24px; }
.as-results__title { margin: 0; font-size: 1.125rem; }
.as-results fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.as-results legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.as-results__card, .as-results__switch { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line, #c4c8d0); border-radius: 10px; cursor: pointer; min-height: 44px; }
.as-results__card:has(input:checked) { border-color: var(--accent, #2f4a7a); background: color-mix(in srgb, var(--accent, #2f4a7a) 8%, transparent); }
.as-results__card:has(input:disabled), .as-results__switch:has(input:disabled) { opacity: 0.6; cursor: not-allowed; }
.as-results__summary { margin: 0; font-weight: 600; }
.as-results__note { margin: 0; font-size: 0.875rem; opacity: 0.8; }

/* Präsentationsseite (Steuerung einer Versammlung): Die Bühnenvorschau (mit QR-Code in der Lobby) darf bei höherer Leiste (Band, Ergebnis) nicht auf eine abgeschnittene Zeile schrumpfen; die Seite scrollt stattdessen. */
.view-present:has(.as-controlbar) #present-stage { flex-shrink: 0; min-height: 28rem; }
.as-pend__ok { margin: 0; padding: 8px 12px; border: 1px solid var(--as-ok, #14653a); border-radius: 10px; background: color-mix(in srgb, var(--as-ok, #14653a) 12%, transparent); font-weight: 700; line-height: 1.35; }
