/*
 * Which rows of the taken over history still need a human (EGT-108, Sets
 * 14.08.2026: "eşleşme bekleyenler kırmızı görünsün, eşleşmişler yeşil").
 *
 * ⚠ Plain CSS served through `filament:assets`, NOT a Tailwind theme build —
 * the reason `permission-matrix.css` gives: the panel has no custom theme, and
 * a class written into a blade here is simply never generated.
 *
 * ── Why the row and not just the cell ─────────────────────────────────────
 *
 * ⛔ The screen's job is triage. 36 spellings arrive and the question is "which
 * of these have I not dealt with" — a question answered by scanning a column of
 * words, one row at a time, when the answer could be a colour down the left
 * edge. Reading a table to find the gaps is exactly the work the table should
 * be doing.
 *
 * ⚠ The same shape `notification-rules.css` uses, deliberately: this panel
 * already says "green means done, red means it will not fire" in one place, and
 * a second vocabulary for the same idea is one more thing to learn.
 */

/*
 * ⚠ An INSET shadow rather than a border. A real border changes the row's
 * height and pushes every cell beside it by a pixel, so the columns stop lining
 * up down the table — and the alignment is what makes it scannable at all.
 */
tr.fi-legacy-mapped {
    box-shadow: inset 3px 0 0 0 var(--success-600);
}

tr.fi-legacy-unmapped {
    box-shadow: inset 3px 0 0 0 var(--danger-600);

    /*
     * ⚠ A tint as well, and only on the side that needs work. Colour alone is
     * not a signal somebody with a red-green deficiency can read; the wash
     * gives the waiting row a second difference that does not depend on hue —
     * and the badges in the row carry the words as a third.
     */
    background-color: color-mix(in oklab, var(--danger-500) 6%, transparent);
}

/*
 * ⚠ A third state on the records screen: attached, but the company has not
 * answered yet. Neither "needs a decision" nor "done" — it is waiting on
 * somebody outside the building, and colouring it like either would tell the
 * reader to act when there is nothing to do.
 */
tr.fi-legacy-draft {
    box-shadow: inset 3px 0 0 0 var(--info-600);
}
