/* Shared country presentation. September 2026 designer handoff, adapted to live templates.
   Geometry uses the measured toolbar height; mobile retains the compact chapter navigation. */
body.index-page, .index-page .inspector { background: var(--report-paper); }
.index-page { letter-spacing: .01em; }
.index-page :is(h1,h2,h3,h4,h5,h6) { letter-spacing: 0; }
.index-page h1 { font-size: var(--fs-display); }
.index-page h2 { font-size: var(--fs-title); }
.index-page h3, .index-page .editorial-report h3 { font-size: var(--fs-value); }
.index-page :is(h4,h5,h6) { font-size: var(--fs-lead); }
/* Keep prose slightly more open than the prototype's 1.2 line height. */
.index-page .editorial-report p, .index-page .editorial-report .uk-report-stat p { font-size: var(--fs-body); line-height: 1.5; }
.index-page .editorial-report figcaption { font-size: var(--fs-body); font-weight: 700; }
.index-page .editorial-report :is(.uk-report-caption,.headline-metric-quality-copy) { font-size: var(--fs-caption); }
.index-page :is(.eyebrow,.headline-measure-list-key,.comparison-axis-label,.preparedness-benchmark-label) { font-size: var(--fs-micro); }
.index-page .editorial-report :is(.country-scoring-overall,.uk-report-health-domain-description,.uk-pool-population-note,.occupation-ai-pressure-note,.country-fiscal-periods) { font-size: var(--fs-label); }

/* Landing header and compact actions. */
body.index-page .map-stage > .topbar { background: var(--brand-pink); }
.index-page .topbar :is(.brand-heading,.brand-heading h1,.dek,.search-label,.country-search-box input) { color: var(--brand-burgundy); }
.index-page .topbar .brand-mark { margin:0; width:auto; height:40px; }
.index-page .topbar .brand-mark img { width:auto; height:100%; object-fit:contain; display:block; content:none; }
.index-page .topbar .brand-heading > h1 { margin-top:24px; }
.index-page .topbar .dek { font-size:var(--fs-label); line-height:1.5; }
.index-page .pilot-status { font-weight:700; color:#ff2525; }
.index-page .country-search-results { border-radius:0; }
.index-page .country-search-box input:focus { outline:2px solid var(--brand-burgundy); outline-offset:2px; box-shadow:none; border-color:var(--brand-burgundy); }
.index-page .country-index-panel { border-top:0; padding-top:8px; }
.index-page .country-index-panel::before { content:none; }
.index-page .country-entry-list { border-top:0; }
.index-page .country-entry-list button { padding-left:14px; }
.index-page :is(.back-to-map-button,.country-methods-link,.page-nav-button) {
  display:inline-flex; align-items:center; justify-content:center; font-size:var(--fs-caption);
  font-weight:600; letter-spacing:.01em; line-height:1.2; padding:10px 16px;
  border-radius:1000px; min-height:36px; height:auto; width:auto; flex:0 0 auto;
}
.index-page .country-workspace-actions .country-methods-link { background:var(--brand-burgundy); border-color:var(--brand-burgundy); color:var(--brand-pink-light); }
.index-page .country-workspace-actions .back-to-map-button { display:inline-flex; background:transparent; border-color:var(--brand-burgundy); color:var(--brand-burgundy); }
.index-page .back-to-map-button > span { font-size:inherit; }
.index-page :is(.back-to-map-button,.country-methods-link,.page-nav-button):hover {
  opacity:.8; transform:none; translate:none; box-shadow:none; outline:none;
}
.index-page :is(.back-to-map-button,.country-methods-link,.page-nav-button):focus-visible { outline:2px solid var(--brand-burgundy); outline-offset:3px; box-shadow:none; }
.index-page .country-workspace-nav { padding:16px; background:var(--brand-pink-light); border-bottom-color:var(--report-line); }
.index-page .country-workspace-identity { gap:16px; min-width:0; }
.index-page .country-workspace-actions { gap:8px; }
.index-page .country-observatory-name { height:32px; display:flex; align-items:center; padding-left:16px; color:var(--brand-burgundy); border-left-color:var(--brand-burgundy); white-space:nowrap; }
.index-page .country-report-brand img { width:auto; height:32px; object-fit:contain; }
.index-page .country-report-reading-progress > i { background:var(--brand-pink); }

/* Restore the inset, compact sidebar navigation with the designer's palette. */
@media (min-width:981px) {
  .index-page .country-report-nav-group:has(.country-report-nav-primary[aria-current="page"]) > div,
  .index-page .country-report-nav-group:focus-within > div { display:grid; }
}
@media (min-width:981px) {
  body.index-page .country-report-sidebar { top:var(--country-report-toolbar-height,70px); max-height:calc(100dvh - var(--country-report-toolbar-height,70px)); padding:18px 18px 40px; }
  body.index-page .country-report-sidebar.is-report-pinned { top:var(--country-report-toolbar-height,70px); height:calc(100dvh - var(--country-report-toolbar-height,70px)); }
}
.index-page .country-report-sidebar, .index-page .country-report-country-picker { background:var(--brand-pink-light); }
.index-page .country-report-sidebar .country-report-nav-primary { color:var(--brand-burgundy); }
.index-page .country-report-sidebar .country-report-nav-primary:is(:hover,:focus-visible,[aria-current="page"]) { background:var(--brand-pink); color:var(--brand-burgundy); }
.index-page .country-report-nav-group > div button { color:var(--brand-burgundy); }
.index-page .country-report-nav-group > div button:is(:hover,:focus-visible,[aria-current="location"]) { border-left-color:var(--brand-burgundy); }

/* Full-width chapters, with an inset shared content column. */
body.index-page .country-workspace-view.country-report { max-width:none; margin-inline:0; padding-inline:0; }
.index-page .country-report-section { padding-inline:0; }
.index-page .country-overview-workspace { padding-inline:var(--report-gutter); }
.index-page .editorial-report .uk-report-introduction { max-width:none; margin-inline:0; padding-inline:0; }
.index-page .editorial-report .uk-report-chapter { border-top:1px solid var(--brand-pink-light); padding:60px var(--report-gutter); max-width:none; margin-inline:0; background:none; }
.index-page .editorial-report .uk-report-chapter-heading { padding:0 0 40px; margin-bottom:40px; border-bottom:1px solid var(--brand-pink-light); max-width:none; }
.index-page .editorial-report .uk-report-chapter-heading h2 { font-size:var(--fs-title); letter-spacing:0; }
.index-page .editorial-report .uk-report-chapter-heading .uk-report-deck { font-size:var(--fs-deck); font-weight:400; line-height:1.35; }
.index-page .editorial-report .country-report-hero { padding:0; background:transparent; color:var(--brand-black); margin:0 0 38px; border-radius:0; }
.index-page .editorial-report .country-report-hero h1 { color:var(--brand-black); font-size:var(--fs-display); line-height:1.08; }
.index-page .editorial-report .country-report-hero .uk-report-standfirst { color:var(--brand-black); font-size:var(--fs-deck); line-height:1.35; margin:16px 0 0; }
.editorial-report .country-report-hero.has-country-artwork { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:1fr max-content max-content 1fr; column-gap:32px; align-items:start; }
.editorial-report .country-report-hero.has-country-artwork > h1 { grid-row:2; grid-column:1; margin:0; }
.editorial-report .country-report-hero.has-country-artwork > .uk-report-standfirst { grid-row:3; grid-column:1; }
.editorial-report .country-report-contour { grid-row:1 / -1; grid-column:2; align-self:center; width:100%; height:440px; max-height:440px; object-fit:contain; pointer-events:none; }
.index-page .uk-story-sticky { border-left:0; padding-left:0; }
.index-page .uk-story-conclusion { border-top:1px solid var(--brand-black); }
.index-page .country-evidence-visual { margin-top:0; padding-top:0; border-top:0; }
.index-page .country-evidence-visual > figcaption { margin:0 0 20px; }
.index-page footer.headline-story-sources { padding-inline:0; }
.index-page .uk-report-research-trend { margin:0; padding:0; border:0; border-radius:0; }

/* Preparedness and panels share restrained rectangular surfaces. */
.index-page .uk-report-health-grid > .country-health-card { border:1px solid var(--report-rule); gap:16px; padding:16px; background:transparent; border-radius:0; box-shadow:none; }
.index-page .uk-report-health-grid > .country-health-card:hover { border-color:var(--report-rule); background:transparent; box-shadow:none; transform:none; }
.index-page .uk-report-health-grid > .country-health-card:hover .uk-report-health-domain > span { transform:none; }
.index-page .uk-report-health-domain, .index-page .uk-report-health-domain > span { color:var(--brand-black); }
.index-page .uk-report-health-measure { border-radius:0; background:color-mix(in srgb,var(--brand-pink-light) 25%,transparent); border:1px solid var(--brand-pink-light); }
.index-page .uk-report-health-summary-header { margin-bottom:24px; }
.index-page .uk-report-health-summary-header h2 { font-size:var(--fs-value); }
.index-page .uk-report-health-summary-header .country-overall-preparedness { width:calc((100% - 48px) / 3); flex:0 0 auto; }
.index-page .five-point-meter > * { border-radius:0; }
.index-page .headline-country-comparison > .country-overall-preparedness { padding-inline:30px; }
.index-page .country-scoring-disclosure, .index-page .uk-report-info { background:color-mix(in srgb,var(--brand-pink-light) 25%,transparent); border:1px solid var(--brand-pink-light); padding:16px; }
.index-page .country-scoring-disclosure > summary { padding:0; }
.index-page .country-scoring-disclosure-body { padding:16px 0 0; }
.index-page .country-scoring-evidence-grid > section { background:color-mix(in srgb,var(--brand-pink-light) 50%,transparent); }
.index-page .country-scoring-method-link { margin-top:16px; }
.index-page .uk-report-info h4 { margin:0 0 12px; }
.index-page .uk-report-info p:last-child { margin-bottom:0; }
.index-page .uk-report :is(details.uk-report-disclosure, #uk-report-occupations) { border-color:var(--brand-pink-light); background:color-mix(in srgb,var(--brand-pink-light) 25%,transparent); }
.index-page .uk-report :is(details.uk-report-disclosure, #uk-report-occupations) > summary { min-height:56px; padding:16px; border-top:0; }
.index-page .uk-report :is(details.uk-report-disclosure, #uk-report-occupations) > .uk-report-disclosure-body { padding:0 16px 16px; }
.index-page .uk-report :is(details.uk-report-disclosure, #uk-report-occupations)[open] > summary { border-bottom:0; }
.index-page .uk-report :is(details.uk-report-disclosure, #uk-report-occupations) > .uk-report-disclosure-body > :last-child { margin-bottom:0; }
.index-page .uk-report-disclosure-icon::before, .index-page .uk-report-disclosure-icon::after { background:var(--brand-orange); }

/* Dividers are assigned by rendered grid rows, rather than item-count guesses. */
.index-page .uk-report-metric-rail { padding:0; border:0; }
.index-page .uk-report-metric-rail > * { padding-block:24px; border-top:1px solid var(--report-rule); }
.index-page .headline-measure-list { padding-top:0; }
.index-page :is(.uk-report-metric-rail,.headline-measure-list) > [data-row-first] { padding-top:0; border-top:0; }
.index-page :is(.uk-report-metric-rail,.headline-measure-list) > [data-row-last] { padding-bottom:0; }
.index-page .uk-support-program-grid > [data-row-last] { border-bottom:0; }
.index-page .headline-metric-help > .headline-metric-help-body { border-top:0; padding-top:0; }
.index-page :is(.headline-fiscal-compare-control,.uk-pool-heading,.headline-adaptability-picker) select { font-size:var(--fs-caption); font-weight:600; color:var(--brand-black); background-color:white; border:1px solid var(--brand-pink); border-radius:1000px; padding:10px 40px 10px 16px; max-width:100%; min-width:0; height:auto; appearance:none; background-image:var(--report-chevron); background-repeat:no-repeat; background-position:right 16px center; }
.index-page :is(.headline-fiscal-compare-control,.uk-pool-heading,.headline-adaptability-picker) :is(label,span) { font-size:var(--fs-caption); font-weight:400; color:var(--brand-black); }
.index-page :is(.headline-fiscal-compare-control,.uk-pool-heading,.headline-adaptability-picker) select:hover { opacity:.8; }

/* Help uses the browser top layer, with click/touch and keyboard access. */
.index-page .headline-measure-comparison { position:relative; }
.index-page .headline-comparison-context:is(.is-compact-help,.uk-youth-help) > summary { width:20px; height:20px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--brand-pink-light); color:var(--brand-burgundy); font-weight:700; font-size:11px; line-height:1; list-style:none; cursor:help; }
.index-page .headline-comparison-context:is(.is-compact-help,.uk-youth-help) > summary::-webkit-details-marker { display:none; }
.report-help-popover { position:fixed; inset:auto; margin:0; box-sizing:border-box; width:min(320px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; padding:12px 14px; background:white; color:var(--brand-black); border:1px solid var(--brand-pink); box-shadow:0 8px 24px rgb(76 26 9 / 12%); text-align:left; font-family:var(--font-body); font-size:var(--fs-micro); }
.report-help-popover p, .report-help-popover strong { font-size:var(--fs-micro); line-height:1.5; }
.report-help-popover > :first-child { margin-top:0; }
.report-help-popover > :last-child { margin-bottom:0; }
.report-help-popover::backdrop { background:transparent; pointer-events:none; }
.report-help-popover dl { display:grid; gap:8px; margin:10px 0; }
.report-help-popover dt { font-weight:700; }
.report-help-popover dd { margin:2px 0 0; }
/* Source and method links: set apart from the text above and from each other. */
.report-help-links, .report-help-popover .headline-adaptability-focus-sources { display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:12px; padding-top:10px; border-top:1px solid var(--brand-line, #d9ceca); }
.report-help-links a, .report-help-popover .headline-adaptability-focus-sources a { color:var(--burgundy); font-family:var(--font-ui); font-size:var(--fs-micro); font-weight:700; text-underline-offset:3px; }

/* No entrance animation on panels; the chart viewport triggers remain intact. */
.editorial-report .headline-focus-workspace.is-entering,
.editorial-report .headline-focus-workspace.is-entering *,
.editorial-report .uk-report-disclosure[open] > .uk-report-disclosure-body,
.editorial-report .country-overview-panel,
.editorial-report .country-data-panel,
.editorial-report .primary-priority-card,
.editorial-report .country-overview-reveal.is-opening { animation:none; }
@media (max-width:980px) {
  body.index-page .country-workspace { grid-template-columns:minmax(0,1fr); }
  body.index-page .country-report-sidebar { width:100%; height:auto; max-height:none; }
  body.index-page .country-report-sidebar.is-report-pinned { height:auto; top:var(--country-report-toolbar-height,92px); }
  .index-page .country-report-country-picker { padding:10px 16px; }
  .index-page .country-workspace-nav { flex-wrap:wrap; gap:12px; padding:12px 16px; }
  .index-page .country-workspace-identity { flex:1 1 auto; }
  .index-page .country-workspace-actions { flex-wrap:wrap; }
  .editorial-report .country-report-hero.has-country-artwork { grid-template-columns:minmax(0,1fr) minmax(120px,.65fr); column-gap:20px; }
  .editorial-report .country-report-contour { height:300px; max-height:300px; }
  .index-page .uk-report-health-summary-header { flex-wrap:wrap; }
  .index-page .uk-report-health-summary-header .country-overall-preparedness { width:100%; }
  .index-page .headline-country-comparison > .country-overall-preparedness { padding-inline:16px; }
}
@media (max-width:600px) {
  .index-page .editorial-report .country-report-hero h1 { font-size:var(--fs-title); }
  .index-page .editorial-report .country-report-hero .uk-report-standfirst { font-size:var(--fs-lead); }
  .editorial-report .country-report-hero.has-country-artwork { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; }
  .editorial-report .country-report-hero.has-country-artwork > h1,
  .editorial-report .country-report-hero.has-country-artwork > .uk-report-standfirst,
  .editorial-report .country-report-hero.has-country-artwork > .country-report-contour { grid-column:1; grid-row:auto; }
  .editorial-report .country-report-contour { height:220px; margin-top:24px; }
  .index-page .editorial-report .uk-report-chapter { padding-block:40px; }
  .index-page .editorial-report .uk-report-chapter-heading { padding-bottom:24px; margin-bottom:24px; }
  .index-page .editorial-report .uk-report-chapter-heading h2 { font-size:var(--fs-value); }
  .index-page .editorial-report .uk-report-chapter-heading .uk-report-deck { font-size:var(--fs-lead); }
  .index-page .country-observatory-name { font-size:var(--fs-body); }
}

/* Landing identity stays legible in both map and selected-country states. */
body.index-page .app-shell .map-stage .brand-heading h1,
body.index-page .app-shell .map-stage .brand-heading .dek,
body.index-page .app-shell .map-stage .search-label,
body.index-page .app-shell .map-stage #country-search { color:var(--brand-burgundy); }
body.index-page .app-shell .map-stage .brand-heading h1 { font-size:var(--fs-display); }
@media (max-width:600px) {
  body.index-page .app-shell .map-stage .brand-heading h1 { font-size:var(--fs-title); }
}

/* Exposure and capacity mark the two parts of each UK pillar. */
.index-page .uk-report-axis-title { padding:0 0 12px; margin:24px 0 16px; background:transparent; border:0; border-bottom:2px solid var(--brand-burgundy); }
.index-page .uk-report-axis-title:first-child { margin-top:0; }
.index-page :is(.uk-story-scene,.uk-story-stage):has(+ .uk-report-axis-title) { padding-bottom:0; margin-bottom:0; }
.index-page .uk-report-axis-title + :is(.uk-story-scene,.uk-story-stage) { border-top:0; padding-top:0; }
.index-page .editorial-report .uk-report-axis-title h3 { margin:0; color:var(--brand-black); font-size:var(--fs-value); line-height:1.15; }
.index-page #uk-support-income .uk-report-metric-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:600px) {
  .index-page .editorial-report .uk-report-axis-title h3 { font-size:var(--fs-value); }
  .index-page #uk-support-income .uk-report-metric-rail { grid-template-columns:minmax(0,1fr); }
}

/* A single left rail connects the map to the country report. */
body.index-page[data-pilot-mode] { --observatory-rail:180px; }
body.index-page[data-pilot-mode] .app-shell .map-stage > .topbar { background:var(--brand-blue); }
body.index-page[data-pilot-mode] .app-shell .map-stage .brand-heading :is(h1,.dek),
body.index-page[data-pilot-mode] .app-shell .map-stage .search-label { color:var(--brand-pink-light); }
.index-page .map-stage .brand-mark img { filter:brightness(0) invert(1); }
.index-page .editorial-report .country-report-hero { background:var(--brand-blue); padding:28px; }
.index-page .editorial-report .country-report-hero :is(h1,.uk-report-standfirst) { color:white; }
.index-page .editorial-report .country-report-contour { filter:brightness(0) invert(1); }
@media (min-width:981px) {
  body.index-page[data-pilot-mode] .app-shell, body.index-page[data-pilot-mode][data-country-mode="true"] .app-shell, body.index-page[data-pilot-mode][data-inspector-open="true"] .app-shell { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; margin-left:var(--observatory-rail); }
  body.index-page[data-pilot-mode] .app-shell > .map-stage { grid-column:1; grid-row:1; display:grid; grid-template-rows:auto auto auto minmax(300px,1fr) auto; gap:0; padding:0; min-height:100svh; height:100svh; }
  body.index-page[data-pilot-mode] .app-shell > .map-stage > .topbar { min-height:0; padding:24px 32px; gap:20px; }
  body.index-page[data-pilot-mode] .app-shell > .map-stage .brand-heading h1 { font-size:40px; margin-top:12px; }
  body.index-page[data-pilot-mode] .app-shell > .map-stage > .map { min-height:0; height:100%; width:100%; margin:0; border:0; grid-row:4; }
  body.index-page[data-pilot-mode] .app-shell > .country-index-panel { position:fixed; inset:0 auto 0 0; width:var(--observatory-rail); height:100dvh; max-height:100dvh; padding:12px; box-sizing:border-box; border:0; border-right:1px solid var(--report-line); background:var(--brand-pink-light); animation:none; }
  body.index-page[data-pilot-mode] .country-entry-list { display:grid; grid-template-columns:minmax(0,1fr); }
  body.index-page[data-pilot-mode] .country-entry-list button { grid-template-columns:minmax(0,1fr); padding:12px 6px; border-right:0; }
  body.index-page[data-pilot-mode] .country-entry-list button strong { font-size:14px; }
  body.index-page[data-pilot-mode] .country-entry-list button > span, body.index-page[data-pilot-mode] .country-entry-list button::after { display:none; }
  body.index-page[data-pilot-mode][data-country-mode="true"] .country-index-panel { visibility:hidden; pointer-events:none; }
  body.index-page[data-pilot-mode] .country-workspace { grid-template-columns:minmax(0,1fr); }
  body.index-page[data-pilot-mode] .country-workspace-view.country-report { grid-column:1; }
  body.index-page[data-pilot-mode] .country-report-sidebar,
  body.index-page[data-pilot-mode] .country-report-sidebar.is-report-pinned { display:block; position:fixed; left:0; top:0; width:var(--observatory-rail); height:100dvh; max-height:100dvh; padding:18px 10px; box-sizing:border-box; }
  body.index-page[data-pilot-mode] .country-report-country-picker { padding-inline:4px; }
  body.index-page[data-pilot-mode] .country-report-country-picker select { font-size:16px; max-width:100%; }
  body.index-page[data-pilot-mode] .country-report-nav-primary { font-size:14px; }
  body.index-page[data-pilot-mode] .country-workspace-nav.is-report-pinned { left:var(--observatory-rail); width:calc(100% - var(--observatory-rail)); }
}
@media (max-width:980px) {
  body.index-page[data-pilot-mode] .app-shell > .country-index-panel { display:none; }
  body.index-page[data-pilot-mode] .inspector { grid-row:2; }
}

body.index-page[data-pilot-mode] .app-shell > .inspector { grid-row:2; }
@media (min-width:981px) {
  body.index-page[data-pilot-mode] .app-shell > .map-stage > .legend { grid-row:5; }
}
@media (max-width:980px) {
  body.index-page[data-pilot-mode] .app-shell { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; }
  body.index-page[data-pilot-mode] .app-shell > .map-stage { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto minmax(300px,1fr) auto; height:auto; min-height:100svh; }
  body.index-page[data-pilot-mode] .map-stage > .map { grid-row:4; }
  body.index-page[data-pilot-mode] .map-stage > .legend { grid-row:5; }
}

@media (min-width:981px) {
  body.index-page[data-pilot-mode] .country-index-panel .country-report-sidebar { background:var(--brand-pink-light); }
  .index-page .country-report-nav-primary:disabled { cursor:default; opacity:.65; }
  .index-page .country-report-nav-primary:disabled:hover { background:transparent; }
}

.index-page .uk-labor-rights { margin:24px 0 0; padding-top:24px; border-top:1px solid var(--report-rule); }
.index-page .uk-labor-rights svg { display:block; width:100%; max-width:420px; margin-top:16px; color:var(--brand-burgundy); }
.index-page .uk-labor-rights svg text { font:12px var(--font-ui); fill:currentColor; }

/* Overview figures sit beside the research, with the same comparison help as the report. */
.editorial-report .uk-report-positioning-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 24px; }
.editorial-report .uk-report-positioning-layout > .uk-report-positioning { margin: 0; }
.editorial-report .country-conditions-insert { min-width: 0; }
/* One Key Statistics section; its figures still run in two 25% columns. */
.editorial-report .country-conditions-insert .condition-pulse-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.editorial-report .country-conditions-insert .country-condition-story { background: transparent; border: 0; border-top: 2px solid var(--brand-burgundy, #57200c); padding: 16px 0 0; gap: 22px; }
.editorial-report .country-conditions-insert .country-condition-story h4 { font-size: 20px; line-height: 1.3; }
.editorial-report .country-conditions-insert .condition-pulse-list { gap: 32px; }
.editorial-report .condition-stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: start; margin: 0; }
.editorial-report .condition-stat-copy { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.editorial-report .condition-stat > strong { grid-column: 2; grid-row: 1; margin: 0; text-align: right; font-size: 28px; line-height: 1.1; }
.editorial-report .condition-stat > .condition-stat-help { grid-column: 2; grid-row: 2; justify-self: end; margin-top: 6px; }
.editorial-report .condition-stat > .headline-measure-comparison { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
.editorial-report .condition-stat figcaption { font-size: 17px; line-height: 1.3; }
.index-page .editorial-report .condition-stat-copy > .condition-stat-description { font-size: 13px; line-height: 1.45; margin: 4px 0 0; min-height: 0; color: var(--uk-text); }
@media (max-width: 1100px) {
  .editorial-report .uk-report-positioning-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.editorial-report :is(.condition-stat-help, .adaptability-help) > summary { position: static; }

/* Deric's headline design: one pillar card, with cohort rank above each filled bar. */
.index-page .uk-report-health-grid { grid-template-rows: auto auto auto; }
.index-page .uk-report-health-grid > .country-health-card { grid-row: span 3; grid-template-rows: subgrid; padding: 22px; border: 1px solid var(--brand-pink-light); border-radius: 6px; }
.index-page .uk-report-health-measure,
.index-page .uk-report-health-measure.is-capacity { border: 0; background: transparent; padding: 0; gap: 14px; }
.index-page .uk-report-health-measure.is-capacity { padding-top: 16px; }
.index-page .uk-report-health-measure-heading { align-items: start; }
.index-page .uk-report-health-measure-heading > strong.uk-report-health-rank { display: grid; justify-items: end; gap: 4px; flex: 0 0 auto; text-align: right; }
.index-page .uk-report-health-rank > b { color: var(--five-point-color); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.index-page .uk-report-health-measure-heading > strong.uk-report-health-rank > small { color: var(--uk-muted); font-size: 12px; font-weight: 400; line-height: 1.3; white-space: nowrap; }
.index-page .preparedness-benchmark { padding: 0; }
.index-page .preparedness-benchmark-track { height: 34px; border-radius: 4px; background: #e6e2de; }
.index-page .preparedness-benchmark-fill { position: absolute; inset: 0 auto 0 0; transform: none; background: var(--five-point-color); border-radius: 4px; }
.index-page .preparedness-benchmark-value { position: absolute; left: var(--position); top: 50%; width: max-content; white-space: nowrap; transform: translate(-100%, -50%); padding-right: 8px; color: white; font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.index-page .preparedness-benchmark-value.is-outside { transform: translate(0, -50%); padding: 0 0 0 8px; color: var(--uk-text); }
.index-page .preparedness-benchmark-track .is-median { top: -4px; bottom: -4px; height: auto; transform: translateX(-50%); width: 2px; }
.index-page .preparedness-benchmark-label.is-median { margin-top: 10px; }

.index-page .country-health-card .uk-report-health-domain { color:var(--uk-text); text-decoration:none; }
.index-page .uk-report-health-measure-heading > a { color:var(--uk-text); font-size:14px; font-weight:700; line-height:1.3; text-decoration:none; text-underline-offset:3px; }
.index-page .uk-report-health-measure-heading > a:hover { text-decoration:underline; }
.index-page .country-health-card a:focus-visible { outline:2px solid var(--brand-blue); outline-offset:4px; }

/* Preparedness profile: pillar name sits above two separate, clickable Exposure and Capacity cards. */
.index-page .uk-report-health-grid > .country-health-card,
.index-page .uk-report-health-grid > .country-health-card:hover { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; transform:none; }
.index-page .uk-report-health-grid > .country-health-card .uk-report-health-domain { margin:0; font-size:22px; line-height:1.25; }
.index-page .uk-report-health-measure.is-card { display:grid; align-content:start; gap:10px; padding:22px; border:1px solid var(--brand-pink-light); border-radius:6px; background:transparent; color:inherit; text-decoration:none; transition:border-color 160ms ease, background-color 160ms ease; }
.index-page .uk-report-health-measure.is-card:hover { border-color:#929bd1; background:#f6f7fd; }
.index-page .uk-report-health-measure.is-card:focus-visible { outline:2px solid var(--brand-blue); outline-offset:3px; }
.index-page .uk-report-health-measure.is-card .uk-report-health-arrow { font-style:normal; margin-left:6px; display:inline-block; transition:transform 160ms ease; }
.index-page .uk-report-health-measure.is-card:hover .uk-report-health-arrow { transform:translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .index-page .uk-report-health-measure.is-card .uk-report-health-arrow { transition:none; transform:none; }
}
.index-page .uk-report-health-measure.is-card .uk-report-health-measure-heading > span { font-size:16px; line-height:1.25; }
.index-page .uk-report-health-measure.is-card { gap:12px; }
.index-page .uk-report-health-measure.is-card > .preparedness-benchmark { margin-top:0; }
.index-page .uk-report-health-axis { white-space:nowrap; }
/* Card header: title and ordinal share the first row; the rank description runs beneath both. */
.index-page .uk-report-health-measure.is-card .uk-report-health-measure-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:12px; row-gap:4px; align-items:baseline; }
.index-page .uk-report-health-measure.is-card .uk-report-health-measure-heading > span { grid-column:1; grid-row:1; min-width:0; }
.index-page .uk-report-health-measure.is-card .uk-report-health-measure-heading > strong.uk-report-health-rank { grid-column:1 / -1; grid-row:1 / span 2; display:grid; grid-template-columns:subgrid; grid-template-rows:subgrid; gap:inherit; max-width:none; }
.index-page .uk-report-health-measure.is-card .uk-report-health-rank > b { grid-column:2; grid-row:1; }
.index-page .uk-report-health-measure.is-card .uk-report-health-rank > small { grid-column:1 / -1; grid-row:2; justify-self:end; }
.index-page .uk-report-health-measure.is-card .uk-report-health-measure-heading > span,
.index-page .uk-report-health-measure.is-card .uk-report-health-rank > b { align-self:end; }
