/* design-v2/programme_changes.css: "Changes for you" (Phase 4 Round 1 for the home dashboard's news column, Round 2
   for the Loyalty dashboard). Moved out of dashboard_news_first.css so both dashboards share it: linked on the home
   dashboard while dashboard_news_first_enabled is on and on the Loyalty dashboard always
   (programme_changes_assets.php). Colours and rhythm come from tokens.css only. Font sizes are rem at the v2 root of
   15px (px / 15). */

/* The block's heading carries its own size and weight, as the news column's .v2-nf__h gives it: the Loyalty dashboard has no .v2-nf__h */
.v2-nf__changes-h { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--ink-strong); }
.v2-nf__changes { margin: 0 0 18px; }
.v2-nf__changes-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.v2-nf__changes-h:focus { outline: none; }
.v2-nf__changes-h:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; border-radius: 4px; }
.v2-nf__changes-count {
  min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--orange); color: var(--paper);
  font-size: 0.8rem; font-weight: 700; text-align: center;
}
.v2-nf__changes-count[hidden], .v2-nf__changes-toggle[hidden] { display: none; }
.v2-nf__changes-toggle {
  margin-left: auto; min-height: 36px; padding: 6px 4px; border: 0; background: transparent;
  color: var(--pace-secure); font: inherit; font-size: 0.8667rem; font-weight: 600; cursor: pointer;
}
.v2-nf__changes-toggle:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; border-radius: 4px; }
.v2-nf__changes-list { display: flex; flex-direction: column; gap: 10px; }
.v2-nf-change {
  padding: 12px 14px; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0;
  background: var(--paper-soft); overflow-wrap: anywhere;
}
.v2-nf-change[hidden] { display: none; }
.v2-nf-change:focus { outline: none; }
.v2-nf-change:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.v2-nf-change[data-seen] { border-left-color: var(--hairline-strong); }
.v2-nf-change__tag { margin: 0 0 2px; font-size: 0.8rem; font-weight: 600; color: var(--orange-deep); }
.v2-nf-change__title { margin: 0 0 4px; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--ink-strong); }
.v2-nf-change__line { margin: 0 0 6px; font-size: 0.9333rem; line-height: 1.45; color: var(--ink); }
.v2-nf-change__stale, .v2-nf-change__add { margin: 0 0 6px; font-size: 0.8667rem; color: var(--ink-muted); }
.v2-nf-change__update {
  min-height: 32px; padding: 2px 0; border: 0; background: transparent; color: var(--orange-deep);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer;
}
.v2-nf-change__update:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 1px; }
.v2-nf-change__meta { margin: 0; font-size: 0.8rem; color: var(--ink-muted); }
.v2-nf-change__meta a { font-weight: 600; color: var(--pace-secure); }
.v2-nf-change__actions { margin: 8px 0 0; }
.v2-nf-change__got {
  min-height: 36px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--hairline-strong);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 0.8667rem; font-weight: 600; cursor: pointer;
}
.v2-nf-change__got:hover { border-color: var(--ink-muted); }
.v2-nf-change__got:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.v2-nf-change__got:disabled { opacity: 0.6; cursor: default; }
.v2-nf-change__seen { margin: 8px 0 0; font-size: 0.8rem; color: var(--ink-muted); }
.v2-nf__changes-empty { margin: 0; font-size: 0.9333rem; color: var(--ink-muted); }
.v2-nf__changes-empty a { color: var(--pace-secure); font-weight: 600; }
/* The Loyalty dashboard's wrapper: the block sits between the banners and the charts, like the tile it replaced */
.v2-ld-changes { margin: 0 0 22px; }
.v2-ld-changes .v2-nf__changes { margin: 0; }
