/* Mission redesign: the cockpit WHAT'S NEW page (Claude-C, 11-18), loaded ONLY by the COCKPIT LOADER with mission-cockpit-whatsnew.js.
   Every rule is scoped to :is(html.ns-cockpit, html.ns-wn-public) and the page's wn-* classes. Source of the look: mission-cockpit.html v60 (.split, .well.li.pn
   list rows with a chip and a count, .well.reader, .rl rows with title / small line / chip / date, .chip.ready / .chip.next). Tokens: --nsc-*. */

/* the old page (its frame) and the S5 shell's #nsc-wn stay in the sheet for their code, never on screen in the cockpit */
html.ns-cockpit #nsc-main .nsc-wnsheet .v3-whatsnew-sheet-body { display: none !important; }

:is(html.ns-cockpit, html.ns-wn-public) .wn-host { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-host *, :is(html.ns-cockpit, html.ns-wn-public) .wn-host *::before, :is(html.ns-cockpit, html.ns-wn-public) .wn-host *::after { box-sizing: border-box; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-split { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr); gap: 16px; align-items: start; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-list { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-pn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 48px; padding: 10px; width: 100%; text-align: left; cursor: pointer;
  background: var(--nsc-well); border: 1px solid var(--nsc-hair); border-left: 2px solid color-mix(in srgb, var(--nsc-holo) 55%, transparent); border-radius: 2px 8px 8px 2px;
  color: var(--nsc-ink); font: 400 13px/1.3 var(--nsc-f-d); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-pn:hover { border-color: var(--nsc-holo); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-pn.is-on { border-color: var(--nsc-holo); box-shadow: inset 3px 0 0 var(--nsc-holo); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-pn:focus-visible, :is(html.ns-cockpit, html.ns-wn-public) .wn-rl.is-open-able:focus-visible { outline: 2px solid var(--nsc-holo); outline-offset: -2px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-n { font: 400 12px/1 var(--nsc-f-n); color: var(--nsc-mute); font-variant-numeric: tabular-nums; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-reader { min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
  background: var(--nsc-well); border: 1px solid var(--nsc-hair); border-left: 2px solid color-mix(in srgb, var(--nsc-holo) 55%, transparent); border-radius: 2px 8px 8px 2px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-h3 { margin: 0 0 6px; font: 600 15px/1.2 var(--nsc-f-h); letter-spacing: .08em; text-transform: uppercase; color: var(--nsc-ink); }

/* reader rows (mockup .rl) */
:is(html.ns-cockpit, html.ns-wn-public) .wn-rl { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--nsc-hair); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-reader > .wn-h3 + .wn-rl { border-top: 0; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-rl.is-open-able { cursor: pointer; min-height: 44px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-rl.is-open-able:hover b { color: var(--nsc-holo); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-t b { font: 600 13.5px/1.35 var(--nsc-f-d); color: var(--nsc-ink); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-t small { font: 400 12.5px/1.4 var(--nsc-f-d); color: var(--nsc-mute); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-when { font: 400 12px/1 var(--nsc-f-n); color: var(--nsc-mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-chip { font: 600 12px/1 var(--nsc-f-n); letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 4px 6px; border: 1px solid var(--nsc-line); color: var(--nsc-mute); white-space: nowrap; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-chip.is-ok { color: var(--nsc-ok); border-color: color-mix(in srgb, var(--nsc-ok) 55%, transparent); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-chip.is-next { color: var(--nsc-warn); border-color: color-mix(in srgb, var(--nsc-warn) 50%, transparent); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-body { padding: 4px 0 12px 12px; border-left: 2px solid color-mix(in srgb, var(--nsc-holo) 40%, transparent); margin-bottom: 4px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-body p { margin: 0 0 6px; font: 400 13px/1.55 var(--nsc-f-d); color: var(--nsc-ink); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-body p.pg-mut { color: var(--nsc-mute); font-size: 12px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-body ul { margin: 0; padding-left: 18px; font: 400 12.5px/1.55 var(--nsc-f-d); color: var(--nsc-ink); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-prog { height: 8px; border-radius: 4px; background: var(--nsc-bg2); border: 1px solid var(--nsc-hair); overflow: hidden; margin: 4px 0 6px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-prog i { display: block; height: 100%; background: var(--nsc-holo); box-shadow: 0 0 8px var(--nsc-glow); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-more { align-self: flex-start; margin-top: 8px; min-width: 44px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-plans { max-width: 100%; min-width: 0; margin-top: 12px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-plan-cat { margin: 10px 0 2px; font: 600 12px/1.3 var(--nsc-f-d); color: var(--nsc-mute); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-plan-line { display: block; max-width: 100%; min-width: 0; overflow-wrap: anywhere; margin: 0; padding: 2px 0; font: 400 13px/1.45 var(--nsc-f-d); color: var(--nsc-ink); }

/* the split stacks below 900 px (mockup) */
@media (max-width: 900px) { :is(html.ns-cockpit, html.ns-wn-public) .wn-split { grid-template-columns: minmax(0, 1fr); } }
/* Duo: mission-cockpit.css holds What's New to the LEFT 517 px display; list above the reader there, nothing past x 541 */
@media (min-width: 1100px) and (max-width: 1130px) {
  :is(html.ns-cockpit, html.ns-wn-public) .wn-host { padding: 10px 8px; }
  :is(html.ns-cockpit, html.ns-wn-public) .wn-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  :is(html.ns-cockpit, html.ns-wn-public) .wn-host { padding: 10px 8px; }
  :is(html.ns-cockpit, html.ns-wn-public) .wn-reader { padding: 14px 12px; }
  :is(html.ns-cockpit, html.ns-wn-public) .wn-rl { grid-template-columns: minmax(0, 1fr) auto; }
  :is(html.ns-cockpit, html.ns-wn-public) .wn-rl .wn-when { grid-column: 2; grid-row: 1; }
  :is(html.ns-cockpit, html.ns-wn-public) .wn-rl .wn-chip { grid-column: 2; grid-row: 2; justify-self: end; }
  :is(html.ns-cockpit, html.ns-wn-public) .wn-t { grid-row: 1 / span 2; }
}
/* Roadmap tab (1 Dec 2026): overall bar, one section per step, items with a state chip. Theme tokens only. */
:is(html.ns-cockpit, html.ns-wn-public) .wn-chip.is-plan { color: var(--nsc-mute); border-color: var(--nsc-hair); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-overall { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--nsc-hair); border-radius: 10px; background: var(--nsc-bg2); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-ov-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 6px; font: 400 13px/1.4 var(--nsc-f-d); color: var(--nsc-ink); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-ov-pct { font: 600 22px/1 var(--nsc-f-d); color: var(--nsc-holo); font-variant-numeric: tabular-nums; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-overall .wn-prog { height: 10px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-overall p.pg-mut { margin: 0; font-size: 12px; color: var(--nsc-mute); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-step { margin: 0 0 6px; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-step .wn-body p.wn-means { color: var(--nsc-ink); }
:is(html.ns-cockpit, html.ns-wn-public) .wn-items { list-style: none; margin: 4px 0 0; padding: 0; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-items li { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; min-width: 0; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-items li .wn-chip { flex: 0 0 auto; min-width: 84px; text-align: center; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-items li span:last-child { min-width: 0; overflow-wrap: anywhere; }
:is(html.ns-cockpit, html.ns-wn-public) .wn-items li.is-planned span:last-child { color: var(--nsc-mute); }
