/* recurring screens: rules beyond src/ui/style.css. */

/* Vaste lasten: the filters and figures, in the side column on the desktop (SPEC §3.4) */
.rec-aside .chips { margin-top: 0; }
.rec-aside .kv { grid-template-columns: 1fr; }
.recurring > .rec-side { margin-bottom: 14px; }
.recurring .rec-current { margin-top: 0; }
.rec-detail .rec-lines { margin-top: 6px; }
.rec-detail .rec-years { margin-top: 4px; }

/*
 * What it is and whether it still holds (BFE-REC-6 to BFE-REC-10): a line between
 * the name and the next date; late in the warning colour, a guess and the rest grey.
 */
.txlist.rec .tx .what { font-size: 13px; color: var(--fg); margin-top: 2px; min-width: 0; overflow-wrap: anywhere; }
.txlist.rec .tx.own .what { color: var(--muted); }
.what .late, .teaser .late { color: var(--amber-fg); background: var(--amber-bg); border-radius: 4px; padding: 0 5px; font-weight: 600; white-space: nowrap; }
.what .irr, .what .via, .what .rhythm, .what .guess { color: var(--muted); }
.what .ph.unknown { color: var(--muted); font-style: italic; }
.what .clip { display: inline-flex; vertical-align: -2px; margin-right: 3px; color: var(--muted); }
.what .clip svg { width: 13px; height: 13px; }
.rec-hidden { margin: 0 0 12px; }
.rec-hidden .note { margin: 0 0 4px; }
.kv .lijkt { display: block; font-size: 12px; font-weight: 400; color: var(--amber-fg); }
.rec-detail .rec-facts, .rec-detail .rec-said { margin-top: 4px; }
.rec-name { margin-top: 8px; }
.rec-detail .rec-grouped { margin-top: 4px; }
/* Costs shown as one row (BFE-REC-11): its parts inset below it, without a heading of their own. */
.txlist.rec .tx.group .nm { font-weight: 600; }
.txlist.rec-parts { margin: 2px 0 6px; border-left: 3px solid var(--rule-strong); border-radius: 0; box-shadow: none; }
.tag.plate { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rec-name .row { display: flex; gap: 8px; }
.what-form { display: flex; gap: 8px; margin-top: 8px; }
.what-form[hidden] { display: none; }
.what-input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 6px 10px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--surface); color: var(--fg); }

/*
 * The tooltip on a payment's amount (BFE-REC-3): only where there is a mouse,
 * whatever the layout. Without one it stays hidden; the opened row says the same.
 */
.txlist.rec .rc.amt .hovertip { display: none; }
@media (hover: hover) and (pointer: fine) {
  .txlist.rec .rc.amt:hover .hovertip { display: block; }
}

/* Uitzoeken (SPEC §6.6a) */
.review .review-next .run { margin-top: 6px; }
.review .run.bad { color: var(--amber-fg); }
.review .cards { display: grid; gap: 10px; }
.review .question .q { font-weight: 600; }
.review .question .btns, .review .question .answered { margin-top: 8px; }
.review .question .quiet { color: var(--muted); }
.review .finding .cp { white-space: normal; overflow-wrap: anywhere; }
.review .finding .reason { font-size: 13px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.review .finding.own .cp { text-decoration: line-through; }
.review-detail .desc { overflow-wrap: anywhere; }
.review-detail .btns { margin-top: 8px; }
.rec-detail .rec-replaced { margin-top: 4px; }

/* Afwijkingen: the transactions involved stand out in the teaser */
.pays .pr.involved span, .pays .pr.involved b { color: var(--fg); font-weight: 600; }
.txlist.anomalies .amt { flex: none; font-weight: 400; }
