/* design-v2/dashboard_news_first.css: the news-first dashboard (2026-10-12
   spec, sections 4, 5, 6, 8, 9 and 16; layout round 2). Loaded only on the dashboard
   (dashboard_news_first_assets.php).
   Colours, shadows and easing come from tokens.css only. Font sizes are rem
   at the v2 root of 15px (px / 15). */

.v2-nf {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
  margin: 0 0 28px;
}
.v2-nf__col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.v2-nf__block {
  background: var(--paper-soft);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 18px;
  min-width: 0;
}
.v2-nf__h { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--ink-strong); }
.v2-nf__block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.v2-nf__block-head a { font-size: 0.8667rem; font-weight: 600; color: var(--pace-secure); }
.v2-nf__head-links { display: inline-flex; gap: 12px; }
.v2-nf__note { margin: 0; font-size: 0.8667rem; color: var(--ink-muted); }

/* Left: progress (dark) */
.v2-nf__progress { background: var(--navy); border-color: var(--navy-deep); color: var(--paper); }
.v2-nf__progress .v2-nf__h { color: var(--paper); }
.v2-nf__progress .v2-nf__block-head a { color: var(--navy-100); }
.v2-nf-prog__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.v2-nf-prog { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px; border-radius: 10px; color: inherit; text-decoration: none; }
.v2-nf-prog:hover, .v2-nf-prog:focus-visible { background: var(--navy-deep); }
.v2-nf-prog:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.v2-nf-prog__ring { flex: 0 0 40px; width: 40px; height: 40px; }
.v2-nf-ring__track { fill: none; stroke: var(--navy-500); stroke-width: 4; }
.v2-nf-ring__fill { fill: none; stroke-width: 4; stroke-linecap: round; stroke: var(--navy-300); }
.v2-nf-prog--ok .v2-nf-ring__fill { stroke: var(--pace-on-track-light); }
.v2-nf-prog--at .v2-nf-ring__fill { stroke: var(--pace-caution-light); }
.v2-nf-prog--be .v2-nf-ring__fill { stroke: var(--pace-risk-light); }
.v2-nf-prog--ach .v2-nf-ring__fill { stroke: var(--pace-secure-light); }
.v2-nf-prog__text { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.v2-nf-prog__name { font-weight: 600; font-size: 0.9333rem; }
.v2-nf-prog__line { font-size: 0.8rem; color: var(--navy-100); }
.v2-nf-prog__verdict--safe { color: var(--pace-secure-light); }
.v2-nf-prog__verdict--close { color: var(--pace-caution-light); }
.v2-nf-prog__verdict--risk { color: var(--pace-risk-dark); }
/* F4: the ended line sits under its row (outside the row's link, which would nest two links); 58px = row padding + ring + gap. */
.v2-nf-prog__list .v2-tier-ended { margin: 0 6px 6px 58px; color: var(--navy-100); }
.v2-nf-prog__list .v2-tier-ended b { color: var(--paper); }
.v2-nf-prog__list .v2-tier-ended a { color: var(--orange); }
.v2-nf-prog__list .v2-tier-ended a:focus-visible { outline-color: var(--orange); }
/* Phase 1: the stale-number line under a row (same 58px indent as the ended line). */
.v2-nf-prog__fresh { margin: 0 6px 6px 58px; font-size: 0.8rem; color: var(--navy-100); }
/* Phase 4: the rule change under a row while it is in Changes for you (same 58px indent as the fresh line). */
.v2-nf-prog__change { margin: 0 6px 6px 58px; font-size: 0.8rem; color: var(--paper); }
.v2-nf-prog__change a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.v2-nf-prog__change a:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.v2-nf-prog__update {
  min-height: 24px; padding: 2px 4px; border: 0; background: transparent; color: var(--orange);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer;
}
.v2-nf-prog__update:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.v2-nf-prog__line[data-mm-qualifying-update] { text-decoration: underline; }
/* The row's update control is a small refresh icon (owner, 16 Nov 2026); 24px glyph, 28px target. */
.v2-nf-prog__update--icon {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 28px; height: 28px; min-height: 28px; padding: 0; border-radius: 6px; text-decoration: none;
}
.v2-nf-prog__update--icon:hover { background: var(--navy-deep); }
.v2-nf-prog__update-svg { width: 16px; height: 16px; }
/* No saved number (20 Nov 2026): the icon alone, in the row's top-right corner, outside the row link. */
.v2-nf-prog__item--corner { position: relative; }
.v2-nf-prog__item--corner > .v2-nf-prog { padding-right: 34px; }
.v2-nf-prog__update--corner { position: absolute; top: 6px; right: 2px; }
.v2-nf-prog__more { margin: 10px 0 0; font-size: 0.8rem; color: var(--navy-100); }
.v2-nf-prog__more a { color: var(--paper); text-decoration: underline; }

/* Deadline rows (inside the Coming up card) */
.v2-nf-dl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v2-nf-dl__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.v2-nf-dl__tile, .v2-nf-trip__tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; font-size: 0.7333rem; line-height: 1.1; text-transform: uppercase;
}
.v2-nf-dl__tile { background: var(--orange-paper); color: var(--pace-risk); }
.v2-nf-dl__tile b, .v2-nf-trip__tile b { font-size: 1rem; }
.v2-nf-dl__what { display: block; font-size: 0.8667rem; overflow-wrap: anywhere; }
.v2-nf-dl__days { display: block; font-size: 0.8rem; color: var(--ink-muted); }

/* Left: Coming up (Deadlines, To do). About 280 px wide; lists only, no score
   (assessment rule 6), so the block head is followed straight by Deadlines. */
.v2-nf-health__sub { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline-soft); }
.v2-nf__block-head + .v2-nf-health__sub { margin-top: 0; padding-top: 0; border-top: 0; }
.v2-nf-health__sub-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.v2-nf-health__sub-h { margin: 0; font-size: 0.9333rem; font-weight: 700; color: var(--ink-strong); }
.v2-nf-health__sub-head a { font-size: 0.8667rem; font-weight: 600; color: var(--pace-secure); }
/* "Add to my calendar" sits beside All and reads as the same kind of link (underlined like the anchor next to it); the auto margin keeps the pair on the right. */
.v2-nf-health__sub-link { margin: 0 0 0 auto; padding: 0; border: 0; background: none; font: inherit; font-size: 0.8667rem; font-weight: 600; color: var(--pace-secure); text-decoration: underline; cursor: pointer; }
.v2-nf-health__sub-head a:focus-visible, .v2-nf-health__sub-link:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; border-radius: 4px; }
/* Centre: news */
.v2-nf__news { padding: 18px 20px; }
.v2-nf__news-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 10px; }
.v2-nf__news-meta { margin: 0; font-size: 0.8rem; color: var(--ink-muted); }
.v2-nf__news-h { margin: 0 0 6px; padding-top: 14px; border-top: 1px solid var(--hairline-strong); font-size: 1rem; font-weight: 700; color: var(--ink-strong); }
.v2-nf__list { display: flex; flex-direction: column; transition: opacity 0.15s var(--ease-quick); }
.v2-nf__list[aria-busy="true"] { opacity: 0.55; }
.v2-nf-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--hairline-soft); }
.v2-nf-item:first-child { border-top: 0; padding-top: 4px; }
.v2-nf-item__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--paper-shade); }
.v2-nf-item__thumb > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v2-nf-item__logo, .v2-nf-item__mono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--navy-50); }
.v2-nf-item__logo img { width: auto; height: auto; max-width: 50%; max-height: 50%; object-fit: contain; }
.v2-nf-item__mono { color: var(--navy); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.04em; }
.v2-nf-item__source {
  position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px);
  padding: 2px 7px; border-radius: 6px; background: var(--navy-deep); color: var(--paper);
  font-size: 0.7333rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v2-nf-item__body { min-width: 0; }
.v2-nf-item__title {
  margin: 0 0 4px; font-size: 1.0667rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-nf-item__title a { color: var(--ink-strong); text-decoration: none; }
.v2-nf-item__title a:hover { text-decoration: underline; }
.v2-nf-item__title a:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: -2px; border-radius: 4px; }
.v2-nf-item__summary { margin: 0 0 6px; font-size: 0.8667rem; line-height: 1.45; color: var(--ink-muted); overflow-wrap: anywhere; }
.v2-nf-item__meta { margin: 0; font-size: 0.8rem; color: var(--ink-muted); }
.v2-nf-item__sources { margin: 4px 0 0; font-size: 0.8rem; color: var(--ink-muted); overflow-wrap: anywhere; }
.v2-nf-item__sources a { color: var(--pace-secure); }
.v2-nf-item__sources .v2-pulse__sources-more { display: inline; }
.v2-nf-item__sources .v2-pulse__sources-more > summary { display: inline; cursor: pointer; text-decoration: underline; }
.v2-nf-tag { font-weight: 600; color: var(--info); }
.v2-nf-tag--held { color: var(--orange-deep); }
.v2-nf-item__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 6px 0 0;
  font-size: 0.8667rem; opacity: 0; transition: opacity 0.15s var(--ease-quick);
}
.v2-nf-item:hover .v2-nf-item__actions, .v2-nf-item:focus-within .v2-nf-item__actions { opacity: 1; }
.v2-nf-item__read { font-weight: 600; color: var(--pace-secure); }
.v2-nf-item__atlas { min-height: 32px; padding: 0; border: 0; background: none; color: var(--atlas-deep); font: inherit; font-weight: 600; cursor: pointer; }
.v2-nf__empty, .v2-nf__degraded { margin: 8px 0; color: var(--ink-muted); }
.v2-nf__news-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.v2-nf__more {
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--hairline-strong);
  background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
.v2-nf__more[hidden] { display: none; }
.v2-nf__whats-new { font-size: 0.8667rem; font-weight: 600; color: var(--pace-secure); }
.v2-nf__email { margin: 0; font-size: 0.8rem; color: var(--ink-muted); }
.v2-nf__email a { color: var(--pace-secure); text-decoration: underline; }

/* Right: trips */
.v2-nf-trips__list { display: flex; flex-direction: column; gap: 10px; }
.v2-nf-trip {
  position: relative; display: block; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--hairline); background: var(--paper);
  transition: box-shadow 0.15s var(--ease-quick), border-color 0.15s var(--ease-quick);
}
.v2-nf-trip:hover, .v2-nf-trip.is-previewing { border-color: var(--navy-300); box-shadow: var(--sh-card-hover); }
.v2-nf-trip:has(.v2-nf-trip__link:focus-visible) { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.v2-nf-trip__link { color: var(--ink-strong); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.v2-nf-trip__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.v2-nf-trip__link:focus-visible { outline: none; }
.v2-nf-trip__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.v2-nf-trip__chip { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: var(--orange-paper); color: var(--pace-risk); font-size: 0.7333rem; font-weight: 700; }
.v2-nf-trip__dates, .v2-nf-trip__line { display: block; font-size: 0.8rem; color: var(--ink-muted); overflow-wrap: anywhere; }
.v2-nf-trip__brief { position: relative; z-index: 1; margin-top: 8px; font-size: 0.8rem; pointer-events: none; }
.v2-nf-trip__brief a, .v2-nf-trip__brief button { pointer-events: auto; }
.v2-nf-trip--row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; }
.v2-nf-trip__tile { background: var(--navy-50); color: var(--navy); }
.v2-nf-trip__text { min-width: 0; }
.v2-nf-trips__more-link { display: none; color: var(--pace-secure); font-size: 0.8667rem; font-weight: 600; }
.v2-nf-trips__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.v2-nf-trips__actions .v2-btn { min-height: 44px; }

/* Hover preview (desktop, fine pointer only) */
.v2-nf-preview {
  position: absolute; z-index: 40; width: 360px; max-width: calc(100vw - 32px);
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--hairline-strong);
  background: var(--paper); box-shadow: var(--sh-pop);
}
.v2-nf-preview[hidden] { display: none; }
.v2-nf-preview::before {
  content: ""; position: absolute; top: var(--arrow-top, 24px); right: -7px; width: 12px; height: 12px;
  background: var(--paper); border-top: 1px solid var(--hairline-strong); border-right: 1px solid var(--hairline-strong);
  transform: rotate(45deg);
}
.v2-nf-preview.is-below::before { top: -7px; right: auto; left: var(--arrow-left, 24px); transform: rotate(-45deg); }
.v2-nf-preview__name { margin: 0; font-size: 1.0667rem; font-weight: 700; color: var(--ink-strong); overflow-wrap: anywhere; }
.v2-nf-preview__sub { margin: 2px 0 0; font-size: 0.8rem; color: var(--ink-muted); }
.v2-nf-preview__items { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v2-nf-preview__item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; font-size: 0.8rem; }
.v2-nf-preview__date { color: var(--ink-muted); }
.v2-nf-preview__bit, .v2-nf-preview__earn { display: block; color: var(--ink-muted); }
.v2-nf-preview__earn { color: var(--pace-secure); }
.v2-nf-preview__lounge { margin: 0 0 12px; font-size: 0.8rem; }
.v2-nf-preview__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.v2-nf-preview__actions .v2-btn { min-height: 40px; }
.v2-nf-preview__skeleton { height: 12px; margin: 10px 0; border-radius: 6px; background: var(--paper-shade); }
.v2-nf-preview__error { margin: 0 0 12px; font-size: 0.8667rem; }

/* To do rows (inside the Coming up card): one bordered, tappable line each,
   count pill beside the label and a chevron, so a touch screen shows they are
   clickable without a hover. The update-queue row is a button styled the same. */
.v2-nf-na { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.v2-nf-na__row {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; box-sizing: border-box;
  padding: 6px 10px; border: 1px solid var(--hairline); border-radius: 10px; background: transparent;
  color: var(--pace-secure); font: inherit; font-size: 0.9rem; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
}
.v2-nf-na__row:hover { background: var(--paper-shade); border-color: var(--hairline-strong); }
.v2-nf-na__row:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.v2-nf-na__count {
  flex: none; min-width: 26px; padding: 2px 7px; box-sizing: border-box; border-radius: 999px;
  background: var(--orange-paper); color: var(--pace-risk); font-size: 0.8667rem; font-weight: 700; text-align: center;
}
.v2-nf-na__label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.v2-nf-na__chev { flex: none; }

/* Reward balances (P03, 29 Nov 2026): left column (with an upcoming trip) or top of the right one. */
.v2-nf-bal__head { align-items: center; margin-bottom: 6px; }
.v2-nf-bal__menu { position: relative; flex: none; }
.v2-nf-bal__menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 30px; padding: 0;
  border: 1px solid var(--hairline-strong); border-radius: 8px; background: var(--paper-soft); color: var(--ink-muted); cursor: pointer;
}
.v2-nf-bal__menu-btn:hover, .v2-nf-bal__menu-btn[aria-expanded="true"] { background: var(--paper-shade); color: var(--ink-strong); }
.v2-nf-bal__menu-btn:focus-visible, .v2-nf-bal__menu-list [role="menuitem"]:focus-visible, .v2-nf-bal__confirm:focus-visible, .v2-nf-bal__name:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.v2-nf-bal__menu-icon { width: 20px; height: 20px; }
.v2-nf-bal__menu-list {
  position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; min-width: 230px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper-soft); box-shadow: var(--sh-card-hover);
}
.v2-nf__col--left .v2-nf-bal__menu-list { right: auto; left: 0; }
.v2-nf-bal__menu-list [role="menuitem"] {
  display: block; width: 100%; min-height: 40px; padding: 9px 12px; box-sizing: border-box; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink-strong); font: inherit; font-size: 0.9333rem; text-align: left; text-decoration: none; cursor: pointer;
}
.v2-nf-bal__menu-list [role="menuitem"]:hover, .v2-nf-bal__menu-list [role="menuitem"]:focus { background: var(--navy-50); }
.v2-nf-bal__summary { margin: 0 0 4px; font-size: 0.8667rem; color: var(--ink-muted); }
.v2-nf-bal__list { margin: 0; padding: 0; list-style: none; }
.v2-nf-bal__row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hairline-soft); }
.v2-nf-bal__logo {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; overflow: hidden;
  border-radius: 8px; background: var(--navy-50); color: var(--navy-500); font-size: 0.7333rem; font-weight: 700;
}
.v2-nf-bal__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--paper-soft); }
.v2-nf-bal__main, .v2-nf-bal__side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v2-nf-bal__side { align-items: flex-end; text-align: right; }
.v2-nf-bal__name { font-weight: 700; color: var(--ink-strong); text-decoration: none; overflow-wrap: anywhere; }
a.v2-nf-bal__name:hover { text-decoration: underline; }
.v2-nf-bal__chip { align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: 0.7333rem; font-weight: 600; line-height: 1.35; background: var(--paper-shade); color: var(--ink-muted); }
.v2-nf-bal__chip--urgent { background: var(--pace-risk-paper); color: var(--pace-risk); }
.v2-nf-bal__chip--soon, .v2-nf-bal__chip--calc { background: var(--pace-caution-paper); color: var(--pace-caution); }
.v2-nf-bal__chip--ok { background: var(--atlas-paper); color: var(--atlas-deep); }
.v2-nf-bal__main .lw-estimate__chip { cursor: pointer; width: fit-content; }
.v2-nf-bal__main .lw-estimate__chip:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.v2-nf-bal__main .lw-estimate__body { margin-top: 6px; padding: 8px; font-size: .8125rem; background: var(--paper-shade); border-radius: 8px; }
.v2-nf-bal__main .lw-estimate__body p { margin: 0 0 6px; }
.v2-nf-bal__main .lw-estimate__warn { font-weight: 600; }
.v2-nf-bal__figure { font-weight: 700; color: var(--ink-strong); white-space: nowrap; }
.v2-nf-bal__when { font-size: 0.8rem; color: var(--ink-muted); white-space: nowrap; }
.v2-nf-bal__confirm { min-height: 28px; padding: 0; border: 0; background: none; color: var(--orange-deep); font: inherit; font-size: 0.8667rem; font-weight: 700; cursor: pointer; }
.v2-nf-bal__confirm:hover { text-decoration: underline; }
.v2-nf-bal__empty { margin: 6px 0 0; }
.v2-nf-bal__error { margin: 8px 0 0; font-size: 0.8667rem; color: var(--pace-risk); }
.v2-nf-bal__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* The narrow left column: the chip and the figure stack under the name. */
.v2-nf__col--left .v2-nf-bal__row { grid-template-columns: 36px minmax(0, 1fr); }
.v2-nf__col--left .v2-nf-bal__side { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; text-align: left; }

/* Tablet, 900 to 1279 px: news on the left, a 320 px side column */
@media (max-width: 1279px) {
  /* Row gap 0 and a top margin on the stacked blocks: the Coming up card and the status-match rail can be absent, and an empty track must not leave a double gap. */
  .v2-nf { grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: auto auto auto auto auto 1fr; row-gap: 0; }
  .v2-nf__col--left, .v2-nf__col--right { display: contents; }
  .v2-nf__col--centre { grid-column: 1; grid-row: 1 / span 6; }
  .v2-nf__progress { grid-column: 2; grid-row: 1; }
  /* Reward balances under Loyalty progress, or above it when the member moved it there. */
  .v2-nf__balances { grid-column: 2; grid-row: 2; margin-top: 22px; }
  .v2-nf__balances[data-first="1"] { grid-row: 1; margin-top: 0; }
  .v2-nf__balances[data-first="1"] + .v2-nf__progress { grid-row: 2; margin-top: 22px; }
  .v2-nf__trips { grid-column: 2; grid-row: 3; margin-top: 22px; }
  .v2-nf__health { grid-column: 2; grid-row: 4; margin-top: 22px; }
  /* The status-match rail takes the side column's last row, which Before you book held until 26 Nov 2026. */
  .v2-nf__matches { grid-column: 2; grid-row: 5; align-self: start; margin-top: 22px; }
  /* Explorer's side-column ad closes the side column, beside the news (30 Nov 2026). */
  .v2-nf .mm-ad-slot--rail { grid-column: 2; grid-row: 6; align-self: start; margin-top: 22px; }
  .v2-nf__col--left .v2-nf-bal__menu-list { right: 0; left: auto; }
  .v2-nf-item { grid-template-columns: 168px minmax(0, 1fr); }
}

/* Phone, below 900 px: one column in the spec's order */
@media (max-width: 899px) {
  .v2-nf { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .v2-nf__col { display: contents; }
  .v2-nf__progress { order: 1; }
  /* Same order as Loyalty progress: the page order decides which of the two is first (owner, 29 Nov 2026). */
  .v2-nf__balances { order: 1; }
  .v2-nf__trips { order: 2; }
  .v2-nf__news { order: 3; padding: 16px; }
  .v2-nf__health { order: 4; }
  /* Status matches had no order (0), so on phones it rendered above the member's own progress card. WP4.5. */
  .v2-nf__matches { order: 6; margin-top: 0; }
  /* Explorer's one phone ad: after My Trips (same order, later in the page), before the news. */
  .v2-nf .mm-ad-slot--rail { order: 2; margin-top: 0; }
  /* the tablet top margins are for the grid; the phone flex column spaces its blocks with the gap */
  .v2-nf__trips, .v2-nf__health, .v2-nf__balances, .v2-nf__balances[data-first="1"] + .v2-nf__progress { margin-top: 0; }
  /* Full width on a phone: the balance and date sit on the right, as in the right column. */
  .v2-nf__col--left .v2-nf-bal__row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .v2-nf__col--left .v2-nf-bal__side { grid-column: auto; flex-direction: column; align-items: flex-end; text-align: right; }
  .v2-nf-bal__menu-btn { width: 44px; height: 44px; }
  .v2-nf-bal__confirm, .v2-nf-bal__menu-list [role="menuitem"] { min-height: 44px; }
  .v2-nf-item { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .v2-nf-item__summary { display: none; }
  .v2-nf-item__title { -webkit-line-clamp: 3; font-size: 0.9667rem; }
  .v2-nf-item__actions { opacity: 1; }
  .v2-nf-item__actions a, .v2-nf-item__atlas { min-height: 44px; display: inline-flex; align-items: center; }
  .v2-nf__block-head { align-items: center; }
  .v2-nf__block-head a, .v2-nf__whats-new, .v2-nf-health__sub-head a, .v2-nf-health__sub-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .v2-nf-item__source { font-size: 0.6667rem; }
  .v2-nf-trip--row { display: none; }
  .v2-nf-trips__more-link { display: flex; align-items: center; min-height: 44px; font-weight: 600; }
}

@media (pointer: coarse) {
  .v2-nf-preview { display: none !important; }
  .v2-nf-item__actions { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-nf__list, .v2-nf-item__actions, .v2-nf-trip { transition: none; }
}

/* A single editorial feed, with programme changes first and no separate panels. */
.v2-nf__filters { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--hairline); }
.v2-nf__filter { width: 100%; min-height: 44px; padding: 10px 34px 10px 6px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink-muted); font: inherit; font-size: 0.9333rem; font-weight: 600; cursor: pointer; }
.v2-nf__filter[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--orange); }
.v2-nf__filter:hover { color: var(--ink-strong); background: var(--paper-shade); }
.v2-nf__filter:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; }
.v2-nf__filter-group { position: relative; flex: 1 0 auto; min-width: 0; }
.v2-nf__pin { position: absolute; right: 0; top: 0; width: 32px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--ink-muted); cursor: pointer; }
.v2-nf__pin[hidden] { display: none; }
.v2-nf__pin[aria-pressed="true"] .v2-nf__pin-head { fill: currentColor; }
.v2-nf__pin:hover { color: var(--ink-strong); }
.v2-nf__pin:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: -2px; border-radius: 6px; }
.v2-nf__pin[aria-disabled="true"] { cursor: default; }
.v2-nf__pin-tip { position: absolute; top: calc(100% + 4px); right: 0; z-index: 2; width: max-content; padding: 6px 8px; border-radius: 6px; background: var(--navy); color: var(--paper-soft); font-size: 0.8rem; font-weight: 400; pointer-events: none; visibility: hidden; }
.v2-nf__pin:hover .v2-nf__pin-tip, .v2-nf__pin:focus-visible .v2-nf__pin-tip { visibility: visible; }
@media (pointer: coarse) {
  .v2-nf__pin { width: 44px; }
  .v2-nf__filter { padding-right: 44px; }
}
.v2-nf__filter-help { margin: 16px 0 8px; color: var(--ink-muted); font-size: 0.8667rem; line-height: 1.5; }
[data-unified-feed] .v2-nf__changes-list { gap: 0; }
[data-unified-feed] .v2-nf-item, [data-unified-feed] .v2-nf-change--feed { grid-template-columns: 88px minmax(0, 1fr); padding: 20px 0; gap: 16px; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; background: transparent; }
[data-unified-feed] .v2-nf-change--feed { display: grid; }
[data-unified-feed] .v2-nf-change--feed[hidden] { display: none; }
[data-unified-feed] .v2-nf-item__thumb { aspect-ratio: 1; align-self: start; }
.v2-nf-change__thumb { display: flex; align-items: center; justify-content: center; height: 88px; border-radius: 10px; background: var(--navy-50); color: var(--navy); font: 600 1.4rem var(--v2-font-sans); }
.v2-nf-change__body { min-width: 0; }
[data-unified-feed] .v2-nf-change__tag { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; color: var(--ink-muted); font-weight: 400; }
.v2-nf-change__badge { display: inline-block; padding: 2px 9px; border-radius: 999px; color: var(--orange-deep); background: var(--orange-paper); font-size: 0.8rem; font-weight: 600; }
[data-unified-feed] .v2-nf-change__title { font-size: 1.0667rem; }
[data-unified-feed] .v2-nf-change__line { color: var(--ink-muted); font-size: 0.8667rem; }
[data-unified-feed] .v2-nf-item__title { display: block; overflow: visible; }
[data-unified-feed] .v2-nf-item__actions { opacity: 1; }
[data-unified-feed] .v2-nf-item__source { display: none; }
[data-unified-feed] .v2-nf-item__read, [data-unified-feed] .v2-nf-change__meta a { color: var(--navy); }
.v2-nf__more:disabled { opacity: 0.6; cursor: wait; }
@media (max-width: 600px) {
  .v2-nf__filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; }
  .v2-nf__filter { border: 0; border-radius: 8px; background: var(--paper-shade); }
  .v2-nf__filter[aria-pressed="true"] { background: var(--navy); color: var(--paper-soft); }
  .v2-nf__filter[aria-pressed="true"] + .v2-nf__pin { color: var(--paper-soft); }
  [data-unified-feed] .v2-nf-item, [data-unified-feed] .v2-nf-change--feed { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .v2-nf-change__thumb { height: 56px; font-size: 1.0667rem; }
}
[data-unified-feed] .v2-nf-item__body { display: flex; flex-direction: column; align-items: flex-start; }
[data-unified-feed] .v2-nf-item__meta { order: -1; margin-bottom: 8px; }
[data-unified-feed] .v2-nf-tag { color: var(--ink-muted); font-weight: 400; }
[data-unified-feed] .v2-nf-item__summary { display: block; }
[data-unified-feed] .v2-nf-change__got { min-height: 44px; }

/* A page includes both programme changes and articles, with ten visible items. */
[data-mm-news] .v2-nf-item[hidden], [data-mm-news] .v2-nf-change[hidden],
[data-mm-news] [data-news-retry][hidden] { display: none !important; }
.v2-nf__pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.v2-nf__page { min-height: 44px; padding: 8px 14px; border: 1px solid var(--hairline); border-radius: 9px; color: var(--ink-strong); background: var(--paper-soft); font: inherit; cursor: pointer; }
.v2-nf__page:hover:not(:disabled) { background: var(--paper-shade); }
.v2-nf__page:disabled { opacity: .5; cursor: default; }
.v2-nf__page:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.v2-nf__load-status { width: 100%; margin: 0; color: var(--ink-muted); font-size: .8667rem; }
.v2-nf__load-status:empty { display: none; }
#v2-nf-news-h { scroll-margin-top: 160px; }
.v2-nf__match-list { list-style: none; margin: 0 0 12px; padding: 0; }
.v2-nf__match-list li + li { border-top: 1px solid var(--hairline); }
.v2-nf__match-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 0; color: var(--ink-strong); font-size: .9333rem; text-decoration: none; }
.v2-nf__match-list a:hover { text-decoration: underline; }
.v2-nf__match-all { font-size: .8667rem; color: var(--ink-muted); text-underline-offset: 3px; }

.v2-nf__pagination { flex-wrap: wrap; justify-content: center; gap: 8px; }
.v2-nf__page-numbers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.v2-nf__page-numbers .v2-nf__page { min-width: 40px; padding-inline: 8px; }
.v2-nf__page[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--paper); opacity: 1; }
.v2-nf__page-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: 100%; color: var(--ink-muted); font-size: .8667rem; }
.v2-nf__page-options label { display: inline-flex; align-items: center; gap: 8px; }
.v2-nf__page-options select { min-height: 44px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--paper-soft); color: var(--ink-strong); padding: 6px 10px; font: inherit; }
@media (max-width: 600px) {
  .v2-nf__page-numbers { order: 3; flex-basis: 100%; }
  .v2-nf__pagination { justify-content: space-between; }
  .v2-nf__page-options select { font-size: 1.0667rem; }
}

.v2-nf-change__thumb img { width: 82%; height: 72%; object-fit: contain; }
[data-news-updates] { margin-bottom: 24px; }

/* Keep the heading/actions fixed; only programme rows scroll. */
.v2-nf-prog__scroll.is-scroll-ready .v2-nf-prog__list {
  max-height: 440px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
  overscroll-behavior-y: contain; position: relative; padding: 4px; margin: -4px;
}
.v2-nf-prog__scroll.is-scroll-ready .v2-nf-prog__list::-webkit-scrollbar { display: none; }
.v2-nf-prog__scroll-arrow { width: 100%; min-height: 44px; border: 0; border-radius: 6px;
  background: transparent; color: var(--navy-100); font: inherit; font-size: 1.7333rem; cursor: pointer; }
.v2-nf-prog__scroll-arrow:hover:not(:disabled) { background: var(--navy-soft); color: var(--paper); }
.v2-nf-prog__scroll-arrow:disabled { opacity: .3; cursor: default; }
.v2-nf-prog__scroll-arrow[hidden] { display: none; }
/* Ended qualification year: the Confirm / Change card and the dismissable note under a row (same 58px indent as the fresh line). */
.mm-rollover--nf { margin: 0 6px 8px 58px; font-size: 0.8rem; color: var(--navy-100); }
.mm-rollover--nf .mm-rollover__text, .mm-rollover--nf.mm-rollover--note { margin: 0; }
.mm-rollover--nf .mm-rollover__actions { display: flex; gap: 12px; margin: 4px 0 0; }
.mm-rollover--nf .mm-rollover__btn { min-height: 24px; padding: 2px 4px; border: 0; background: transparent; color: var(--orange); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.mm-rollover--nf .mm-rollover__btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.mm-rollover--nf .mm-rollover__error { margin: 4px 0 0; color: var(--paper); }
.mm-rollover--nf[hidden], .mm-rollover--nf .mm-rollover__error[hidden] { display: none; }

/* Calm, readable discovery prompt for a small personalised feed. */
[data-design-v2] .v2-nf__discover { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--hairline); }
[data-design-v2] .v2-nf__discover[hidden] { display: none; }
[data-design-v2] .v2-nf__discover p { margin: 0 0 12px; color: var(--ink-muted); font: 400 15px/1.55 var(--v2-font-sans); }
/* Whose account (P08): the owner's name in small text beside the programme name. */
.v2-nf-bal__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.v2-nf-bal__owner { color: var(--ink-muted); font-size: .75rem; overflow-wrap: anywhere; }
