/* Berichtigungen (SVWF.ZUSTAND > 0) in Planung und Abrechnungsauswahl.
   Dieses Stylesheet wird im Host explizit mit Assethash geladen. Zellfarben
   erhalten Vorrang vor Zebra-/Auswahlhintergründen der Zeile; Warnzellen
   behalten ihre fachliche Warnfarbe. Die transparente Tönung passt sich der Palette an. */
.mud-table-body .b4a4-correction-row > td:not(.warning-cell) {
    background-color: rgba(126, 87, 194, 0.16) !important;
}

.mud-table-body .b4a4-correction-row:hover > td:not(.warning-cell) {
    background-color: rgba(126, 87, 194, 0.22) !important;
}

.mud-table-body .b4a4-correction-row.selected-row > td:not(.warning-cell) {
    background-color: rgba(126, 87, 194, 0.26) !important;
}

.mud-table-body .b4a4-correction-row > td:first-child {
    box-shadow: inset 3px 0 0 #7e57c2;
}

/* Der Auswahlrahmen bleibt auch bei farbig hinterlegten Berichtigungszellen sichtbar. */
.mud-table-body .b4a4-grid-row-selected {
    outline: 4px solid rgba(25, 118, 210, 0.55);
    outline-offset: -4px;
}

/* Derselbe fachliche Farbton im Abrechnungsbaum. Die Korrekturstufe steht
   als kompakte Marke vor dem Knotentext; sie bleibt ohne Farbwahrnehmung lesbar.
   Nur Auftrag und Abrechnung werden markiert, ihre Kosten-/Nutzerkinder nicht. */
.b4a4-tree-correction-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 2px 6px;
    border-left: 3px solid #7e57c2;
    border-radius: 3px;
    background-color: rgba(126, 87, 194, 0.16);
}

.b4a4-tree-correction-badge {
    flex-shrink: 0;
    padding: 1px 5px;
    border-radius: 3px;
    background-color: rgba(126, 87, 194, 0.22);
    font-weight: 600;
    white-space: nowrap;
}
