/* The map opens directly beneath the persistent report navigation. */
body.index-page[data-pilot-mode="standard"] .app-shell > .map-stage > .topbar { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px 28px; background:var(--brand-pink-light); }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-heading { display:flex; align-items:center; gap:20px; width:auto; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-mark { height:38px; margin:0; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-mark img { width:auto; height:38px; filter:none; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-heading h1 { font-size:22px; line-height:1.1; margin:0; color:var(--brand-burgundy); }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage :is(.dek,.pilot-status,.country-search-control) { display:none; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .toolbar { width:auto; display:flex; margin:0; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .dictionary-cta { font-size:13px; min-height:36px; padding:9px 16px; }
@media (max-width:700px) {
 body.index-page[data-pilot-mode="standard"] .app-shell > .map-stage > .topbar { padding:16px; gap:12px; }
 body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-mark { display:none; }
 body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-heading h1 { font-size:19px; }
 body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .dictionary-cta { max-width:150px; }
}
/* All contextual programme/policy notes share the same quiet outline. */
.index-page .uk-report :is(.uk-programme-box,.uk-report-evidence-note,.uk-trade-institutions > section) { background:transparent; border:1px solid var(--line-strong); border-radius:0; box-shadow:none; padding:20px; margin-top:24px; max-width:none; }
.index-page .uk-report .uk-report-evidence-note > :is(strong,h4) { display:block; color:var(--brand-black); font-size:20px; line-height:1.42; margin:0 0 12px; }
.index-page .uk-report .uk-report-evidence-note p { font-size:var(--fs-body); line-height:1.5; margin:0 0 12px; }
.index-page .uk-report .uk-report-evidence-note p:last-child { margin-bottom:0; }
/* Adjacent indicators are separated by space, without extra rules. */
.index-page .editorial-report .uk-report-metric-rail > *,
.index-page .editorial-report .country-evidence-visual,
.index-page .editorial-report .country-support-charts > figure { border:0; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .topbar { flex-direction:row; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .topbar .brand-heading h1 { color:var(--brand-burgundy); }
/* One persistent header spans map selection and country rendering. */
.observatory-persistent-header { display:none; }
body.index-page[data-pilot-mode="standard"] .observatory-persistent-header { display:block; position:fixed; top:0; left:var(--observatory-rail); right:0; z-index:1200; }
.index-page .observatory-persistent-header .country-workspace-nav { position:static; width:100%; margin:0; animation:none; transition:none; transform:none; box-sizing:border-box; }
body.index-page[data-pilot-mode="standard"] .inspector .country-workspace-nav { visibility:hidden; }
body.index-page[data-pilot-mode="standard"] .inspector .country-workspace-nav { display:none; }
@media (max-width:980px) {
 body.index-page[data-pilot-mode="standard"] .observatory-persistent-header { left:0; }
 .index-page .observatory-persistent-header .country-workspace-nav { flex-wrap:nowrap; padding:12px 16px; gap:10px; }
 .index-page .observatory-persistent-header .country-workspace-identity { flex:1; }
 .index-page .observatory-persistent-header .country-report-brand { display:none; }
 .index-page .observatory-persistent-header .country-observatory-name { border:0; padding:0; font-size:16px; }
 .index-page .observatory-persistent-header .country-workspace-actions { gap:8px; flex-wrap:nowrap; }
}
/* A consistent reading order: argument left; visual and contextual boxes right. */
.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; padding:28px 0; }
.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage > .uk-story-sticky { grid-column:1; grid-row:1; position:static; border:0; padding:0; }
.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage > .uk-story-stage-body { grid-column:2; grid-row:1; }
.index-page .uk-country-report .uk-story-stage-body > .uk-report-evidence-note:last-child { margin-bottom:0; }
.index-page .uk-country-report .uk-story-stage-body > :first-child { margin-top:0; }
.index-page .uk-country-report .uk-report-chapter { padding-block:28px; }
.index-page .uk-country-report .uk-report-chapter > .uk-report-explorer { margin-block:16px 0; }
.index-page .uk-country-report #uk-report-labor-reading > .uk-labor-headline-metrics { border-bottom:0; }
@media (max-width:900px) {
 .index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage { grid-template-columns:minmax(0,1fr); gap:20px; }
 .index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage > :is(.uk-story-sticky,.uk-story-stage-body) { grid-column:1; grid-row:auto; }
}

.index-page .editorial-report .country-conditions-insert .country-condition-foundations { border-top:0; padding-top:0; }

/* Compact supporting indicators, with room for comparison labels. */
.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-metric-rail { grid-template-columns:minmax(0,1fr); gap:22px; margin:0 0 22px; padding:0; }
.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-stat { display:block; max-width:none; padding:0; border:0; }
.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-stat figcaption { font-size:16px; line-height:1.35; min-height:0; }
.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-stat > strong { font-size:32px; line-height:1.15; margin:8px 0; }
.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-stat > p { font-size:14px; line-height:1.5; min-height:0; margin:8px 0; }
.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-stat > small { font-size:12px; }
.index-page .uk-country-report #uk-labor-power .uk-labor-rights { margin-top:24px; }
.index-page .uk-country-report .uk-story-sticky > .country-evidence-visual { margin:24px 0 0; width:100%; }
.index-page .uk-country-report #uk-fiscal-room .country-evidence-visual[data-evidence-visual="fiscal-position"] { display:block; }
.index-page .uk-country-report #uk-fiscal-room .country-evidence-visual > p { font-size:14px; line-height:1.5; margin-top:16px; }
/* Footer actions align with the report body and fill the available width. */
.index-page .country-report-resources-workspace { display:block; padding-block:24px; }
.index-page .country-report-resources-workspace .country-overview-actions { grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); width:100%; margin:0; }
.index-page .country-report-resources-workspace .country-overview-reveal { margin-top:20px; }

/* Shared question-mark control for metrics, comparisons and chart help. */
body.index-page :is(.headline-metric-help,.headline-comparison-context.is-compact-help,.uk-youth-help) > summary {
  box-sizing:border-box; display:flex; align-items:center; justify-content:center;
  width:20px; height:20px; min-width:20px; min-height:20px; flex-shrink:0;
  padding:0; border:0; border-radius:50%; background:var(--brand-pink-light);
  color:var(--brand-burgundy); font:700 11px/1 var(--font-body);
  list-style:none; text-align:center; opacity:1; cursor:pointer;
  transition:background-color 140ms ease,color 140ms ease;
}
body.index-page :is(.headline-metric-help,.headline-comparison-context.is-compact-help,.uk-youth-help) > summary::-webkit-details-marker { display:none; }
body.index-page :is(.headline-metric-help,.headline-comparison-context.is-compact-help,.uk-youth-help) > summary::marker { content:""; }
body.index-page :is(.headline-metric-help,.headline-comparison-context.is-compact-help,.uk-youth-help) > summary:hover,
body.index-page :is(.headline-metric-help,.headline-comparison-context.is-compact-help,.uk-youth-help)[open] > summary { background:var(--brand-burgundy); color:var(--brand-pink-light); }
body.index-page :is(.headline-metric-help,.headline-comparison-context.is-compact-help,.uk-youth-help) > summary:focus-visible { outline:2px solid var(--brand-blue); outline-offset:3px; }
@media (prefers-reduced-motion:reduce) {
 body.index-page :is(.headline-metric-help,.headline-comparison-context.is-compact-help,.uk-youth-help) > summary { transition:none; }
}

/* Give the fiscal chart more plotting room and keep its definitions on demand. */
body.index-page .headline-fiscal-position > figcaption { display:flex; justify-content:space-between; align-items:start; }
body.index-page .headline-fiscal-position .fiscal-position-help { margin-left:auto; flex:0 0 auto; }
body.index-page .headline-fiscal-position .fiscal-position-help > summary { position:static; }
body.index-page .headline-fiscal-position .fiscal-position-help .country-fiscal-periods { display:block; margin:0; font-size:13px; line-height:1.5; }

/* Finish the report with one compact, consistently styled disclosure stack. */
body.index-page #country-report-resources { margin-top:calc(-1 * clamp(40px,5vw,70px)); }
body.index-page #country-report-resources .country-report-resources-workspace { padding-block:0 24px; }
body.index-page #country-report-resources .country-scoring-disclosure { margin:0 0 12px; }
body.index-page #country-report-resources .country-overview-actions { grid-template-columns:minmax(0,1fr); gap:12px; }
body.index-page #country-report-resources .country-overview-actions > .country-resource-disclosure > button {
  border:1px solid var(--brand-pink-light); border-radius:0;
  background:color-mix(in srgb,var(--brand-pink-light) 25%,transparent);
  color:var(--brand-black); min-height:56px; padding:16px;
  font:700 15px/1.4 var(--font-body); box-shadow:none;
}
body.index-page #country-report-resources .country-scoring-disclosure > summary { min-height:24px; font:700 15px/1.4 var(--font-body); }
body.index-page #country-report-resources :is(.country-scoring-disclosure > summary i,.country-overview-actions > .country-resource-disclosure > button b) { color:var(--brand-orange); }
body.index-page #country-report-resources .country-overview-actions > .country-resource-disclosure > button:is(:hover,:focus-visible,[aria-expanded="true"]) { border-color:var(--brand-burgundy); background:color-mix(in srgb,var(--brand-pink-light) 40%,transparent); color:var(--brand-black); }
body.index-page #country-report-resources .country-overview-actions > .country-resource-disclosure > button:focus-visible { outline:2px solid var(--brand-blue); outline-offset:3px; }

/* Consistent, readable comparison labels and bounded help on narrow screens. */
body.index-page .editorial-report .headline-measure-comparison.is-labelled { margin-top:14px; padding:28px 0; }
body.index-page .editorial-report .comparison-axis-label { font:400 12px/18px var(--font-body); }
body.index-page .editorial-report .comparison-axis-label.is-country { color:var(--brand-blue); }
body.index-page .editorial-report .comparison-axis-label.is-median { color:var(--brand-burgundy); }
body.index-page .headline-metric-help > .headline-metric-help-body { box-sizing:border-box; max-width:calc(100vw - 48px); overflow-wrap:anywhere; }
body.index-page .is-compact-help[open] { overflow-wrap:anywhere; }
@media (max-width:600px) {
 body.index-page .editorial-report .headline-measure-row { min-width:0; }
 body.index-page .editorial-report .headline-measure-row :is(strong,small,p,span) { overflow-wrap:anywhere; }
 body.index-page .editorial-report .uk-report-disclosure-body { min-width:0; }
 body.index-page .editorial-report .uk-report-disclosure-body table { display:block; max-width:100%; overflow-x:auto; }
 body.index-page .condition-stat-help > div { width:min(300px,calc(100vw - 64px)); }
}
@media (max-width:600px) {
 body.index-page .labor-transformation-views { display:flex; flex-wrap:wrap; gap:4px; }
 body.index-page .labor-transformation-views > button { flex:1 1 120px; min-width:0; width:auto; padding:12px 8px; white-space:normal; text-align:center; }
}
@media (max-width:600px) {
 body.index-page .condition-stat > .condition-stat-help[open] { grid-column:1 / -1; justify-self:stretch; }
 body.index-page .condition-stat-help[open] > summary { margin-left:auto; }
 body.index-page .condition-stat-help[open] > div { position:static; width:100%; max-width:100%; margin-top:8px; }
}


/* Fiscal context and figures share a row; chart and policy boxes share the next. */
body.index-page .uk-country-report #uk-report-fiscal-reading #uk-fiscal-room.uk-fiscal-aligned { align-items:stretch; }
body.index-page #uk-fiscal-room .uk-fiscal-context { grid-column:1; grid-row:1; }
body.index-page .uk-country-report #uk-report-fiscal-reading #uk-fiscal-room > .uk-fiscal-metrics { grid-column:2; grid-row:1; }
body.index-page #uk-fiscal-room .uk-fiscal-chart { grid-column:1; grid-row:2; display:flex; min-width:0; }
body.index-page #uk-fiscal-room .uk-fiscal-callouts { grid-column:2; grid-row:2; display:flex; flex-direction:column; gap:24px; }
body.index-page #uk-fiscal-room .uk-fiscal-callouts > aside { margin:0; }
body.index-page #uk-fiscal-room .uk-fiscal-chart > .country-evidence-visual { width:100%; margin:0; padding:0; display:flex; }
body.index-page #uk-fiscal-room .uk-fiscal-chart .headline-fiscal-position { display:flex; flex-direction:column; width:100%; height:100%; margin:0; }
body.index-page #uk-fiscal-room .uk-fiscal-chart .headline-fiscal-position > svg { flex:1 1 auto; min-height:280px; }
@media (max-width:900px) {
 body.index-page .uk-country-report #uk-report-fiscal-reading #uk-fiscal-room.uk-fiscal-aligned > :is(.uk-fiscal-context,.uk-fiscal-metrics,.uk-fiscal-chart,.uk-fiscal-callouts) { grid-column:1; grid-row:auto; }
 body.index-page #uk-fiscal-room .uk-fiscal-chart .headline-fiscal-position { height:auto; }
}

/* Balance adoption evidence against its accompanying research. */
@media (min-width:901px) {
 body.index-page .uk-country-report #uk-report-competitiveness-reading #uk-trade-adoption { align-items:stretch; }
 body.index-page #uk-trade-adoption > .uk-story-stage-body { display:flex; }
 body.index-page .uk-country-report #uk-trade-adoption .uk-report-metric-rail { display:flex; flex-direction:column; justify-content:space-between; width:100%; margin:0; gap:32px; }
}

/* Supporting metrics use a compact reading width; analytical charts keep their space. */
body.index-page .editorial-report .uk-report-stat { position:relative; display:block; width:100%; max-width:420px; box-sizing:border-box; padding:0; }
body.index-page .editorial-report .uk-report-stat > figcaption { min-height:0; font-size:16px; font-weight:700; line-height:1.35; }
body.index-page .editorial-report .uk-report-stat > strong { display:block; margin:8px 0; font-size:32px; line-height:1.15; }
body.index-page .editorial-report .uk-report-stat > p { min-height:0; margin:8px 0; font-size:14px; line-height:1.5; }
body.index-page .editorial-report .uk-report-stat > small { display:block; margin-top:8px; font-size:12px; line-height:1.4; color:var(--muted); }
body.index-page .editorial-report .uk-report-stat.has-corner-help > figcaption { padding-right:32px; }
body.index-page .editorial-report .uk-report-stat.has-corner-help > .is-compact-help { position:static; }
body.index-page .editorial-report .uk-report-stat.has-corner-help > .is-compact-help > summary { top:0; right:0; }
@media (min-width:901px) {
 body.index-page .uk-country-report :is(#uk-labor-reentry,#uk-labor-power,#uk-support-income),
 body.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) :is(#uk-fiscal-receipts,#uk-fiscal-delivery,#uk-trade-market,#uk-trade-adoption) { grid-template-columns:minmax(0,3fr) minmax(0,2fr); }
 body.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-stat { max-width:420px; }
 body.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) > .uk-report-metric-rail { max-width:420px; }
}
@media (max-width:900px) {
 body.index-page .editorial-report .uk-report-stat,
 body.index-page .uk-country-report .uk-report-reading :is(.uk-story-evidence,.uk-story-stage-body) .uk-report-stat { max-width:none; }
}
body.index-page .uk-country-report #uk-support-income .uk-report-metric-rail { grid-template-columns:minmax(0,1fr); }

/* Share exposure/capacity row heights across the three preparedness pillars. */
body.index-page .uk-report-health-grid > .country-health-card { display:grid; grid-template-rows:subgrid; grid-row:span 3; align-items:stretch; }
body.index-page .uk-report-health-grid > .country-health-card > .uk-report-health-bars { grid-row:2 / span 2; display:grid; grid-template-rows:subgrid; align-items:stretch; }
body.index-page .uk-report-health-grid .uk-report-health-measure.is-card { align-self:stretch; height:auto; }
@media (max-width:1040px) {
 body.index-page .uk-report-health-grid > .country-health-card:last-child { grid-column:auto; }
}
/* Research content uses the established report typography and compact evidence column. */
body.index-page .uk-country-report #uk-report-competitiveness-reading .uk-competitiveness-stage { grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:20px 36px; align-items:start; }
body.index-page .uk-country-report #uk-report-competitiveness-reading .uk-competitiveness-stage > h3 { grid-column:1 / -1; margin:0; }
body.index-page .uk-country-report #uk-report-competitiveness-reading .uk-competitiveness-stage > .uk-story-sticky { grid-row:2; grid-column:1; }
body.index-page .uk-country-report #uk-report-competitiveness-reading .uk-competitiveness-stage > .uk-story-stage-body { grid-row:2; grid-column:2; display:grid; gap:24px; min-width:0; max-width:420px; }
body.index-page .uk-competitiveness-stage .uk-story-stage-body > :is(figure,p) { margin:0; }
body.index-page .uk-competitiveness-stage .uk-story-stage-body > p { font-size:14px; line-height:1.5; }
body.index-page .uk-competitiveness-stage :is(.uk-competitiveness-components,.uk-competitiveness-bars,.uk-competitiveness-cloud) { min-width:0; width:100%; box-sizing:border-box; }
body.index-page .uk-competitiveness-stage figcaption { font-size:16px; font-weight:700; line-height:1.35; }
body.index-page .uk-competitiveness-stage figure small { font-size:12px; line-height:1.4; color:var(--muted); }
body.index-page .uk-competitiveness-stage figure > p { font-size:14px; line-height:1.5; margin:12px 0; }
body.index-page .uk-competitiveness-stage .uk-report-stat > strong a { color:var(--brand-blue); text-decoration-thickness:1px; text-underline-offset:4px; }
body.index-page .uk-competitiveness-components dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; margin:16px 0 0; }
body.index-page .uk-competitiveness-components dt { font-size:12px; line-height:1.4; }
body.index-page .uk-competitiveness-components dd { margin:4px 0; font-size:20px; line-height:1.25; font-weight:700; }
body.index-page .uk-competitiveness-components dd a { color:var(--brand-blue); }
body.index-page :is(.uk-competitiveness-bar,.uk-competitiveness-range) { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; margin:18px 0; font-size:14px; line-height:1.3; }
body.index-page :is(.uk-competitiveness-bar,.uk-competitiveness-range) > strong { color:var(--brand-blue); font-size:16px; }
body.index-page .uk-competitiveness-bar > i { grid-column:1 / -1; display:block; height:12px; width:var(--bar-width); min-width:2px; background:var(--brand-blue); }
body.index-page .uk-competitiveness-bar:nth-of-type(1) > i { background:var(--brand-burgundy); }
body.index-page .uk-competitiveness-range > i { grid-column:1 / -1; position:relative; height:10px; background:var(--line); }
body.index-page .uk-competitiveness-range b { position:absolute; height:100%; background:var(--brand-blue); }
@media (max-width:900px) {
 body.index-page .uk-country-report #uk-report-competitiveness-reading .uk-competitiveness-stage { grid-template-columns:minmax(0,1fr); gap:20px; }
 body.index-page .uk-country-report #uk-report-competitiveness-reading .uk-competitiveness-stage > :is(.uk-story-sticky,.uk-story-stage-body) { grid-column:1; grid-row:auto; max-width:none; }
}

/* Imported prose follows the labor section: neutral text, matching headings and spacing. */
body.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage h3 { color:var(--brand-black); font-size:25px; line-height:1.35; margin:0 0 12px; }
body.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) :is(.uk-story-sticky,.uk-fiscal-context,.uk-fiscal-response > .uk-report-prose) > p { font-size:var(--fs-body); line-height:1.5; margin:0 0 18px; }
body.index-page .uk-country-report :is(.uk-fiscal-takeaway,.uk-competitiveness-takeaway) { color:var(--brand-black); font-weight:700; }
@media (max-width:700px) {
 body.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage h3 { font-size:23px; }
}
body.index-page .uk-country-report #uk-report-fiscal-reading .uk-fiscal-response { display:block; }
body.index-page .uk-country-report #uk-report-fiscal-reading .uk-fiscal-response > .uk-report-prose { max-width:72ch; }

/* A compact country picker remains usable independently of the map library. */
.map-country-picker { position:absolute; top:90px; right:24px; z-index:1100; width:260px; max-width:calc(100% - 32px); color:var(--brand-burgundy); }
.map-country-picker > summary { box-sizing:border-box; width:max-content; margin-left:auto; padding:12px 18px; background:var(--surface); border:1px solid var(--line-strong); border-radius:4px; cursor:pointer; font:700 14px/20px var(--font-body); }
.map-country-picker > summary:focus-visible { outline:2px solid var(--brand-blue); outline-offset:3px; }
.map-country-picker-body { margin-top:8px; padding:16px; background:var(--surface); border:1px solid var(--line-strong); box-shadow:0 8px 24px rgb(83 21 2 / 10%); }
.map-country-picker-body label { display:block; margin-bottom:8px; font-size:13px; }
.map-country-picker-body input { box-sizing:border-box; width:100%; padding:10px; font:400 16px/20px var(--font-body); border:1px solid var(--line-strong); border-radius:0; }
.map-country-options { max-height:min(360px,45svh); overflow-y:auto; margin-top:12px; overscroll-behavior:contain; }
.map-country-options button { display:block; width:100%; padding:12px 8px; background:transparent; border:0; border-radius:0; color:var(--brand-burgundy); text-align:left; font:400 14px/20px var(--font-body); }
.map-country-options button:is(:hover,:focus-visible) { background:var(--brand-pink-light); outline-offset:-2px; }
.map-country-picker [hidden] { display:none; }
body[data-pilot-mode="uk"] .map-country-picker { display:none; }
body[data-pilot-mode="standard"] #map { background:var(--surface); touch-action:pan-y; }
body[data-pilot-mode="standard"] #map::before, body[data-pilot-mode="standard"] #map::after { display:none; }
.map-error { padding:100px 24px; text-align:center; font-size:16px; }
@media(max-width:700px) { .map-country-picker { top:78px; right:16px; } }
/* Expanded content stays inside the same outline as its own disclosure button. */
body.index-page #country-report-resources .country-resource-disclosure { min-width:0; border:1px solid var(--brand-pink-light); background:color-mix(in srgb,var(--brand-pink-light) 25%,transparent); }
body.index-page #country-report-resources .country-resource-disclosure:is(:hover,:focus-within,.is-open) { border-color:var(--brand-burgundy); }
body.index-page #country-report-resources .country-overview-actions > .country-resource-disclosure > button { width:100%; border:0; background:transparent; }
body.index-page #country-report-resources .country-resource-disclosure > .country-overview-reveal { margin:0; padding:8px 16px 20px; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .topbar > * { visibility:hidden; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .topbar { box-sizing:border-box; height:70px; padding:12px 28px; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-heading h1 { max-width:none; white-space:nowrap; }
body.index-page[data-pilot-mode="standard"] .app-shell > .map-stage { height:clamp(440px,calc((100vw - var(--observatory-rail)) / 2 + 110px),800px); min-height:0; grid-template-rows:auto auto auto minmax(0,1fr) auto; }
body.index-page[data-pilot-mode="standard"] .legend-primary { background:#b9c7f5; border-color:#8393cb; }
@media(max-width:980px) { body.index-page[data-pilot-mode="standard"] .app-shell > .map-stage { height:clamp(360px,calc(50vw + 110px),620px); } }
@media(max-width:700px) {
 body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .topbar { padding:12px 16px; }
 body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .toolbar { flex:0 0 auto; }
 body.index-page[data-pilot-mode="standard"] .app-shell .map-stage .brand-heading { min-width:0; }
}
/* The dropdown may extend beyond the map, especially on phones. */
body.index-page[data-pilot-mode="standard"] .app-shell > .map-stage { contain:size layout; z-index:20; }

/* Occasional evidence-first rows vary the reading rhythm without moving mobile prose. */
@media (min-width:901px) {
 body.index-page .uk-country-report #uk-report-fiscal-reading #uk-fiscal-capital.is-mirrored,
 body.index-page .uk-country-report #uk-report-competitiveness-reading #uk-trade-adoption.is-mirrored { grid-template-columns:minmax(0,2fr) minmax(0,3fr); }
 body.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage.is-mirrored > .uk-story-sticky { grid-column:2; grid-row:1; }
 body.index-page .uk-country-report :is(#uk-report-fiscal-reading,#uk-report-competitiveness-reading) .uk-story-stage.is-mirrored > .uk-story-stage-body { grid-column:1; grid-row:1; align-content:start; }
}

@media (max-width:700px) {
 body.index-page .editorial-report :is(details.uk-report-explorer, #uk-report-occupations) > summary { min-height:78px; box-sizing:border-box; }
}

/* Closing callouts sit beneath both columns of their subsection. */
body.index-page .uk-country-report :is(.uk-story-scene,.uk-story-stage) > .uk-subsection-callouts {
 grid-column:1 / -1; grid-row:auto; min-width:0; width:100%; display:grid; gap:20px;
}
body.index-page .uk-country-report .uk-subsection-callouts > :is(.uk-programme-box,.uk-report-evidence-note) {
 box-sizing:border-box; width:100%; max-width:none; margin:0;
}

/* Keep the prelaunch status visible after removing the introductory banner. */
body.index-page .observatory-prelaunch { color:#e02020; font-size:12px; }
body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .topbar { visibility:hidden; }

/* Map entrance motion moved the whole canvas during refresh. Keep the shell still. */
body.index-page .app-shell > .map-stage > .map { animation:none; transform:none; opacity:1; }

/* Research takeaways lead into aligned evidence; captions stay with their charts. */
body.index-page .uk-country-report :is(.uk-competitiveness-takeaway,.uk-labor-takeaway) { color:#16265a; }
body.index-page .uk-competitiveness-stage .uk-report-caption,
body.index-page .uk-labor-editorial-scene .uk-report-caption { font-size:14px; line-height:1.5; font-style:italic; margin:0; }
body.index-page .uk-fund-evidence { display:grid; gap:8px; }
body.index-page .uk-fund-evidence > figure { margin:0; }
body.index-page .uk-fund-claimants { margin:0; font-size:14px; line-height:1.5; }
body.index-page .uk-country-report #uk-report-labor-reading .uk-labor-editorial-scene { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:20px 36px; align-items:start; }
body.index-page .uk-country-report #uk-report-labor-reading .uk-labor-editorial-scene > h3 { grid-column:1 / -1; margin:0; font-size:25px; line-height:1.35; }
body.index-page .uk-country-report #uk-report-labor-reading .uk-labor-editorial-scene > .uk-report-prose { grid-column:1; grid-row:2; }
body.index-page .uk-country-report #uk-report-labor-reading .uk-labor-editorial-scene > .uk-story-evidence { grid-column:2; grid-row:2; display:grid; gap:24px; min-width:0; max-width:420px; }
body.index-page .uk-labor-editorial-scene .uk-report-metric-rail { grid-template-columns:minmax(0,1fr); margin:0; gap:24px; }
body.index-page .uk-labor-editorial-scene .uk-report-prose > p { margin:0 0 18px; }
@media (max-width:900px) {
 body.index-page .uk-country-report #uk-report-labor-reading .uk-labor-editorial-scene { grid-template-columns:minmax(0,1fr); }
 body.index-page .uk-country-report #uk-report-labor-reading .uk-labor-editorial-scene > :is(.uk-report-prose,.uk-story-evidence) { grid-column:1; grid-row:auto; max-width:none; order:initial; }
}

@media (max-width:700px) {
 body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .topbar { height:104px; }
 body.index-page[data-pilot-mode="standard"] .map-country-picker { top:118px; }
}

body.index-page[data-pilot-mode="standard"] .app-shell .map-stage > .legend { display:flex; flex-wrap:wrap; }
