/* Research UX & Branding V2 (Groundwork 01, 15 Nov 2026): the one navigation for a development's report, the byline, the first-visit tip
   and the phone header that steps away while reading down. Groundwork's light design: white, navy text, the grey line, navy for the item
   on show. Loaded by research/index.html only. */
.gw-dn{ position:sticky; top:var(--gw-navh,58px); z-index:30; background:rgba(255,255,255,.97); -webkit-backdrop-filter:saturate(180%) blur(14px); backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--gw-line,#E3E3E8); transition:top .2s ease; }
.gw-dn-sent{ height:0; }
/* PRISM: the page has side padding of its own; the row spans the full width like the site header */
.gwp-page > .gw-dn{ margin:0 calc(-1 * var(--gw-gutter,22px)); }
.gw-dn-in{ max-width:calc(var(--gw-shell,1360px) + 2 * var(--gw-gutter,16px)); margin:0 auto; padding:8px var(--gw-gutter,16px); box-sizing:border-box; display:flex; align-items:center; gap:6px 14px; flex-wrap:wrap; min-height:52px; }
.gw-dn-name{ display:none; font-size:15px; font-weight:700; color:var(--gw-ink,#16213E); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:260px; }
.gw-dn-items{ display:flex; gap:2px; overflow-x:auto; scrollbar-width:none; min-width:0; max-width:100%; }
.gw-dn-items::-webkit-scrollbar{ display:none; }
nav.gw-dn .gw-dn-i{ flex-shrink:0; display:inline-flex; align-items:center; min-height:36px; padding:0 14px; border:0; border-radius:999px; background:transparent; color:var(--gw-body,#3B4256);
  font:inherit; font-size:14.5px; font-weight:600; line-height:1; text-decoration:none; white-space:nowrap; cursor:pointer; }
@media (hover:hover){ nav.gw-dn .gw-dn-i:hover{ background:var(--gw-grey,#F5F5F7); color:var(--gw-ink,#16213E); } }
nav.gw-dn .gw-dn-i[aria-current]{ background:var(--gw-ink,#16213E); color:#fff; }
.gw-dn-i:focus-visible, .gw-dn-x:focus-visible{ outline:3px solid var(--gw-blue,#0B63CE); outline-offset:2px; }
nav.gw-dn .gw-dn-i .gw-dn-mark{ width:18px; height:18px; margin-right:7px; border-radius:4px; flex-shrink:0; }
nav.gw-dn .gw-dn-na{ color:var(--gw-muted,#5F6672); font-weight:500; cursor:default; }
nav.gw-dn .gw-dn-na:hover{ background:transparent; color:var(--gw-muted,#5F6672); }
.gw-dn-acts{ margin-left:auto; display:flex; align-items:center; }
.gw-dn-acts:empty{ display:none; }
.gw-dn-acts .gwp-acts{ margin:0; }
.gw-dn-hint{ margin:0 0 0 auto; display:flex; align-items:center; gap:4px; min-width:0; font-size:13px; color:var(--gw-muted,#5F6672); }
.gw-dn-acts:not(:empty) + .gw-dn-hint{ margin-left:0; }
.gw-dn-hint span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gw-dn-x{ flex-shrink:0; width:28px; height:28px; border:0; border-radius:50%; background:transparent; color:var(--gw-muted,#5F6672); font-size:18px; line-height:1; cursor:pointer; }
.gw-dn-x:hover{ background:var(--gw-grey,#F5F5F7); color:var(--gw-ink,#16213E); }
@media (min-width:900px){ .gw-dn.is-stuck .gw-dn-name{ display:block; } }

/* Property Data: the way back, then the row, then the answer (the row takes the place of the PRISM | Property Data switch and the old shortcut row) */
.gw-dn-back{ max-width:calc(var(--gw-shell,1360px) + 2 * var(--gw-gutter,16px)); margin:0 auto; padding:16px var(--gw-gutter,16px) 0; box-sizing:border-box; }
/* PRISM: the switch's old row, once the switch has moved into the navigation and no page action is left in it */
.gph-nav.gw-dn-empty{ display:none; }
.lg-page.gw-dn-on > header.lg-hero{ padding-top:18px; }
/* the way back moved above the row, so the answer's right-hand column (at a glance, Market Pulse) starts level with the name, as before */
@media (min-width:980px){ body.kpr .lg-page.gw-dn-on .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > :is(.mp, .lg-ov, .gwb-m, .gwb-side){ grid-row:1 / span 20; } }
html.gw-rpt .lg-page .lg-band, html.gw-rpt .lg-page #lgPick, html.gw-rpt .lg-page #lgPulse, html.gw-rpt .lg-page #lgAsk, html.gw-rpt .lg-page #next{ scroll-margin-top:calc(var(--gw-navh,58px) + var(--gw-dnh,52px) + 10px); }
/* PRISM Detailed: its own section bar sticks under the row */
/* on the PRISM view --gw-navh is the header and the row together (set by gw-devnav.js), so the section bar and PRISM's own jumps follow it; the row sits under the header */
html.gw-rpt-p .gw-dn{ top:var(--gw-hdrh,58px); }
html.gw-rpt-p .gwp-bar2{ top:var(--gw-navh,110px); }

/* the byline (D3): text only, quiet */
.gw-kby{ margin:4px 0 0; font-size:12.5px; line-height:1.45; color:var(--gw-muted,#5F6672); }
.gw-kby b{ font-weight:600; color:var(--gw-body,#3B4256); }
.gw-rhead .gw-kby{ margin-top:6px; font-size:13px; }   /* the Research landing, under its line */
/* over the PRISM hero's map: the facts' white halo, so it stays readable on any tile */
.gph .gw-kby{ margin:0; font-size:13px; color:#3B4256; text-shadow:0 0 2px #fff, 0 0 6px #fff, 0 0 10px #fff; }
.gph .gw-kby b{ color:#16213E; }

@media (max-width:719px){
  /* the answer keeps its first-screen place on a phone: the way back, the row and the header's top are tighter */
  .gw-dn-back{ padding-top:6px; }
  .gw-dn-back .lg-back{ min-height:36px; }
  .lg-page.gw-dn-on > header.lg-hero{ padding-top:8px; }
  .gw-dn-in{ padding:4px 0 4px var(--gw-gutter,16px); gap:2px 8px; min-height:44px; }
  .gw-dn-items{ -webkit-mask-image:linear-gradient(90deg,#000 88%,transparent); mask-image:linear-gradient(90deg,#000 88%,transparent); padding-right:16px; }
  nav.gw-dn .gw-dn-i{ padding:0 12px; font-size:14px; }
  .gw-dn-hint{ flex-basis:100%; margin:0; padding-right:var(--gw-gutter,16px); font-size:12.5px; box-sizing:border-box; }
  .gw-dn-hint span{ flex:1; }
  /* D5: the site header steps away while reading a report down and comes back on the way up */
  html.gw-rpt .gw-nav{ transition:transform .2s ease; }
  html.gw-rpt.gw-hdr-off .gw-nav{ transform:translateY(-100%); }
  html.gw-rpt.gw-hdr-off .gw-dn{ top:0; }
}
/* a short screen (200% zoom, a phone held sideways): the row scrolls with the page, so the header, the row and PRISM's section bar never pile up over the content */
@media (max-height:559px){ .gw-dn{ position:static; } }
@media (prefers-reduced-motion:reduce){ .gw-dn, html.gw-rpt .gw-nav{ transition:none; } }
@media print{ .gw-dn{ display:none; } }
