/* wave262 (2026-10-30) — the Budget tab's forecast door and markers
   (budget-forecast.js). Small on purpose: the door is a plain
   .bud-link (budget.css styles it), the dialog is the house
   rk-formdlg; this only adds the marker, the facts block and the
   Clear door. No new gold. */

/* the line marker: "Forecast set — <reason>", full reason in the title */
.bud-fc-tag {
  display: inline-block; max-width: 28em; vertical-align: bottom;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-style: italic;
}
.bud-wrap .ds-sub.bud-fc-sub { font-style: italic; }

/* the dialog */
.bud-fc-dlg .bud-fc-facts { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: var(--ds-tint, rgba(0, 0, 0, .04)); }
.bud-fc-dlg .bud-fc-facts p { margin: 0 0 4px; }
.bud-fc-dlg .bud-fc-facts p:last-child { margin-bottom: 0; }
.bud-fc-dlg .bud-fc-facts .muted { color: var(--ds-muted, inherit); font-size: 13px; }
.bud-fc-dlg #bud-fc-amt { font-variant-numeric: tabular-nums; }
.bud-fc-dlg textarea { width: 100%; resize: vertical; font: inherit; }
.bud-fc-dlg .bud-fc-hint { font-size: 13px; margin: 4px 0 8px; }
.bud-fc-dlg .bud-fc-clear-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.bud-fc-dlg .bud-fc-clear { color: var(--ds-bad-ink, #b3261e); }
.bud-fc-dlg .bud-fc-clear-row .muted { font-size: 13px; }

@media (max-width: 720px) {
  .bud-fc-tag { max-width: 14em; }
}

/* wave306 (2026-10-31): the "Catalogue prices moved" card (budget-catmove.js)
   rides the forecast styles — it writes budget_forecasts and nothing else. */
.bud-catmove .bud-cm-intro { margin: 0 0 8px; font-size: 13px; }
.bud-catmove .bud-cm-nums { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bud-catmove .bud-cm-codes { margin-top: 6px; }
.bud-catmove .bud-cm-note { margin: 6px 0 0; font-size: 13px; }
.bud-catmove .bud-cm-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.bud-catmove .bud-cm-acts .muted { font-size: 13px; }
