/* The earnings prep card (src/dashboard/earnings-prep.js). Colours come from app.css's variables, so dark mode follows. */
.prep-slot:empty { display: none; }
.prep > p { margin: 0; }
.prep-money { border: 1px solid var(--line); background: var(--panel-2); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.prep-money p { margin: 0; }
.prep-money p.strong { color: var(--text); font-weight: 600; }
.prep .table-scroll, .prep table { max-width: 100%; }
.earn-when { display: inline-flex; align-items: center; gap: 6px; }
/* A row of the Earnings page sits in a grid: without this its track grows to the widest line inside it (a long summary) and the row runs past the card on a phone. */
.earn-item { min-width: 0; }
/* A report that is already out keeps its row: the result sentence and a link to it, under the row (docs/one-truth.md). */
.earn-result { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 0 16px 12px; min-width: 0; }
.earn-result > span { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
/* The same inside an open row: its blocks are grid items, and one long line (the card's summary) must not set how wide they all are. */
.earn-detail > *, .prep > *, .prep-slot > * { min-width: 0; }
/* The foot of the Earnings page links to the strip that says where the dates are from, instead of saying it again. */
.earn-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
