/* Einstellungen, Bereich Zahlungsarten: Stilregeln, die nur dieser Bereich braucht. Gemeinsames (es-…) steht in oo.einstellungen.css,
   Allgemeines in oo.css – hier nie etwas davon überschreiben. Eigene Klassen mit der Vorsilbe es-za-, nur Marken aus oo.css.
   Eingebunden in Dokument.razor nach oo.einstellungen.css. */

/* ── Häufig genutzt ──────────────────────────────────────────────────────────── */
.es-za-sternliste { display: grid; gap: 2px; margin: 0; }
.es-za-stern-zeile { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--linie-fein); }
.es-za-stern-zeile:last-child { border-bottom: 0; }
.es-za-bereich { margin: 0; color: var(--tinte-4); }
.es-za-werte { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; }
.es-za-stern { font-weight: 500; white-space: nowrap; }
.es-za-keine { color: var(--tinte-5); }

/* ── Tabellen ────────────────────────────────────────────────────────────────── */
.es-za-tab .es-za-name { font-weight: 500; overflow-wrap: anywhere; }
.es-za-tab th.es-za-wo, .es-za-tab td.es-za-wo { width: 150px; color: var(--tinte-4); white-space: nowrap; }
.es-za-tab th.es-za-sichtbar, .es-za-tab td.es-za-sichtbar { width: 72px; text-align: center; }
.es-za-tab th.es-za-aktionen, .es-za-tab td.es-za-aktionen { width: 190px; text-align: right; white-space: nowrap; }
.es-za-tab td.es-za-aktionen .kn { height: 24px; padding: 0 8px; }
.es-za-tab td.es-za-aktionen .es-za-loeschen:hover:not(:disabled) { color: var(--alarm); background: var(--alarm-grund); }
.es-za-immer { color: var(--tinte-5); cursor: help; }

/* Satz zur letzten Aktion (inzwischen geändert, wird noch verwendet …), wahlfrei mit „Ausblenden“ */
.es-za-satz { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; padding: 6px 10px; border: 1px solid var(--linie);
    border-radius: 3px; background: var(--grund); }
.es-za-satz .kn { height: 24px; padding: 0 8px; }

@media (max-width: 640.98px) {
    .es-za-stern-zeile { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .es-za-tab th.es-za-wo, .es-za-tab td.es-za-wo { display: none; }
    .es-za-tab th.es-za-aktionen, .es-za-tab td.es-za-aktionen { width: auto; white-space: normal; }
}

/* ── Dialog ──────────────────────────────────────────────────────────────────── */
.oo-dialog.es-za-dlg { top: 12vh; width: min(480px, calc(100vw - 32px)); max-height: 80vh; overflow-y: auto; }
.es-za-dlg .fm-z { grid-template-columns: 96px minmax(0, 1fr); margin-bottom: 6px; }
.oo-dialog p.es-za-dialog-hinweis { margin: 4px 0 6px 106px; color: var(--tinte-4); white-space: normal; }
.es-za-pruefung { margin: 4px 0 6px 106px; color: var(--alarm); }
@media (max-width: 640.98px) {
    .oo-dialog p.es-za-dialog-hinweis, .es-za-pruefung { margin-left: 0; }
}
