/* Eurostat Reports — shared styles. Ported from inflation-in-europe-2026.html and
   extended for the choropleth map + filter bar. Scoped under .esr so it can drop
   into a WordPress theme without clobbering site styles. */
.esr{
  --esr-brand:#15407a; --esr-ink:#16202c; --esr-muted:#5b6675; --esr-line:#e4e8ee;
  --esr-bg:#ffffff; --esr-soft:#f5f7fa; --esr-hi:#c0392b; --esr-lo:#1e8449;
  --esr-maxw:900px;
  color:var(--esr-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.62; font-size:18px;
}
.esr *{box-sizing:border-box}
.esr .wrap{max-width:var(--esr-maxw);margin:0 auto;padding:0 20px}
.esr .kicker{color:var(--esr-hi);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:13px;margin:0 0 8px}
.esr h1{font-size:38px;line-height:1.14;margin:0 0 14px;letter-spacing:-.02em}
.esr .esr-title{font-size:38px;line-height:1.14;margin:0 0 14px;letter-spacing:-.02em;font-weight:800}
.esr .dek{font-size:20px;color:var(--esr-muted);margin:0 0 18px;line-height:1.5}
.esr .byline{font-size:14px;color:var(--esr-muted);border-top:1px solid var(--esr-line);border-bottom:1px solid var(--esr-line);padding:10px 0;margin:0 0 26px;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.esr .byline b{color:var(--esr-ink)}
.esr h2{font-size:25px;margin:36px 0 12px;letter-spacing:-.01em}
.esr p{margin:0 0 18px}
.esr a{color:var(--esr-brand)}
.esr .takeaways{background:var(--esr-soft);border:1px solid var(--esr-line);border-radius:14px;padding:18px 22px;margin:0 0 26px}
.esr .takeaways h2{margin:0 0 10px;font-size:16px;text-transform:uppercase;letter-spacing:.06em;color:var(--esr-brand)}
.esr .takeaways ul{margin:0;padding-left:20px}
.esr .takeaways li{margin:0 0 8px}
.esr .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 26px}
.esr .stat{background:#fff;border:1px solid var(--esr-line);border-radius:14px;padding:16px 14px;text-align:center}
.esr .stat .n{font-size:26px;font-weight:800;line-height:1.05;color:var(--esr-brand)}
.esr .stat .l{font-size:13px;color:var(--esr-muted);margin-top:6px}

/* filter bar */
.esr .filters{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:flex-end;background:var(--esr-soft);border:1px solid var(--esr-line);border-radius:12px;padding:14px 16px;margin:0 0 18px}
.esr .filters .fld{display:flex;flex-direction:column;gap:4px}
.esr .filters label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--esr-muted);font-weight:700}
.esr .filters select{font:inherit;font-size:15px;padding:7px 10px;border:1px solid var(--esr-line);border-radius:9px;background:#fff;color:var(--esr-ink)}
.esr .filters .note{font-size:12.5px;color:var(--esr-muted);margin-left:auto}

/* cards */
.esr .card{border:1px solid var(--esr-line);border-radius:16px;padding:18px;margin:8px 0 14px;box-shadow:0 1px 2px rgba(20,40,80,.04)}
.esr .card .ct{font-weight:800;font-size:18px;margin:0 0 2px}
.esr .card .cs{font-size:13.5px;color:var(--esr-muted);margin:0 0 14px}

/* choropleth */
.esr .mapwrap{position:relative;width:100%}
.esr .eu-choropleth{width:100%;height:auto;display:block}
.esr .eu-choropleth path{fill:#e7ebf0;stroke:#ffffff;stroke-width:.6;transition:fill .15s;cursor:pointer}
.esr .eu-choropleth path:hover{stroke:#16202c;stroke-width:1}
.esr .maplegend{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--esr-muted);margin-top:10px;flex-wrap:wrap}
.esr .maplegend .bar{height:12px;width:180px;border-radius:6px;background:linear-gradient(90deg,var(--esr-lo),#e6b800,var(--esr-hi))}
.esr .maptip{position:absolute;pointer-events:none;background:#16202c;color:#fff;font-size:13px;padding:6px 9px;border-radius:7px;opacity:0;transition:.1s;white-space:nowrap;z-index:5;transform:translate(-50%,-130%)}
.esr .maptip.show{opacity:1}

/* chart */
.esr .canvas-holder{position:relative;width:100%;height:820px}
.esr .chart-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 2px;align-items:center}
.esr button.btn,.esr a.btn{font:inherit;font-size:14px;font-weight:600;cursor:pointer;border:1px solid var(--esr-line);background:#fff;color:var(--esr-ink);padding:8px 13px;border-radius:9px;text-decoration:none;display:inline-flex;align-items:center;gap:7px;transition:.15s}
.esr button.btn:hover,.esr a.btn:hover{border-color:var(--esr-brand);color:var(--esr-brand)}
.esr .btn.primary{background:var(--esr-brand);color:#fff;border-color:var(--esr-brand)}
.esr .btn.primary:hover{color:#fff;opacity:.92}
.esr .share{margin-left:auto;display:flex;gap:8px}
.esr .credit-inline{font-size:12.5px;color:var(--esr-muted);margin:10px 0 0}
.esr .credit-inline a{color:var(--esr-muted)}
.esr .embed{background:#0f1b2d;color:#cfe0f5;border-radius:12px;padding:14px 16px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;overflow:auto;white-space:pre;margin:8px 0 6px}
.esr details.embedwrap{margin:16px 0 0}
.esr details.embedwrap summary{cursor:pointer;font-weight:600;font-size:14px;color:var(--esr-brand)}

/* table */
.esr table.data{width:100%;border-collapse:collapse;font-size:15px;margin:6px 0 8px}
.esr table.data th,.esr table.data td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--esr-line)}
.esr table.data th{background:var(--esr-soft);font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--esr-muted)}
.esr table.data td.v{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.esr table.data td.rk{color:var(--esr-muted);width:2em;text-align:right}
.esr .pill{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:20px;color:#fff}
.esr .tag{display:inline-block;font-size:11px;font-weight:700;padding:1px 7px;border-radius:6px;background:var(--esr-soft);color:var(--esr-muted);border:1px solid var(--esr-line)}
.esr .src{font-size:14px;color:var(--esr-muted);border-top:1px solid var(--esr-line);margin-top:34px;padding-top:18px}
.esr .src h2{font-size:16px;text-transform:uppercase;letter-spacing:.06em;color:var(--esr-brand);margin-top:0}
.esr .toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:#16202c;color:#fff;padding:11px 20px;border-radius:10px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:9999}
.esr .toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.esr .warn{background:#fff6e6;border:1px solid #f0d9a8;color:#8a6d3b;border-radius:10px;padding:12px 14px;margin:0 0 16px;font-size:15px}

/* hub / index */
.esr .hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin:18px 0}
.esr .hub-card{display:block;border:1px solid var(--esr-line);border-radius:14px;padding:16px;text-decoration:none;color:var(--esr-ink);transition:.15s;background:#fff}
.esr .hub-card:hover{border-color:var(--esr-brand);box-shadow:0 3px 10px rgba(20,40,80,.07)}
.esr .hub-card .rank{font-size:12px;font-weight:800;color:var(--esr-brand)}
.esr .hub-card .t{font-size:17px;font-weight:700;margin:4px 0 6px;line-height:1.25}
.esr .hub-card .d{font-size:13.5px;color:var(--esr-muted);line-height:1.45}
.esr .hub-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}
.esr .hub-controls input{font:inherit;font-size:15px;padding:9px 12px;border:1px solid var(--esr-line);border-radius:9px;flex:1;min-width:220px}
.esr .seg{display:inline-flex;border:1px solid var(--esr-line);border-radius:9px;overflow:hidden}
.esr .seg button{font:inherit;font-size:13px;font-weight:600;border:0;background:#fff;color:var(--esr-muted);padding:8px 12px;cursor:pointer}
.esr .seg button.on{background:var(--esr-brand);color:#fff}

/* embed mode: trim chrome */
.esr.embed-mode{font-size:16px}
.esr.embed-mode .byline,.esr.embed-mode .takeaways,.esr.embed-mode .src,.esr.embed-mode h1{display:none}

@media(max-width:680px){
  .esr h1,.esr .esr-title{font-size:29px}.esr .dek{font-size:17px}.esr{font-size:17px}
  .esr .stats{grid-template-columns:1fr 1fr}
  .esr .canvas-holder{height:720px}
  .esr .share{margin-left:0;width:100%}
  .esr .filters .note{margin-left:0;width:100%}
}

/* ============================================================================
   Dark theme (appended 2026-07-29). Scoped to .esr-dark so the base rules above
   stay the light theme. macrofinance.ai report pages carry .esr-dark; embeds pick
   light or dark via ?theme=. The choropleth no-data / legend tweaks below are
   applied to BOTH themes intentionally.
   ============================================================================ */
.esr-dark{
  --esr-brand:#6ea8e6;   /* lighter blue: links, accents, primary buttons     */
  --esr-ink:#e7edf5;     /* primary text                                      */
  --esr-muted:#9aa7b8;   /* secondary text                                    */
  --esr-line:#2b3a4d;    /* borders / rules                                   */
  --esr-bg:#0f1a2b;      /* report surface (matches site chrome)              */
  --esr-soft:#182838;    /* raised surfaces: cards, tiles, inputs             */
  --esr-hi:#e0715f;      /* map "worse/high" (softened red)                   */
  --esr-lo:#57c88f;      /* map "better/low" (softened green)                 */
  background:var(--esr-bg);
  border:1px solid var(--esr-line);
  border-radius:16px;
  padding:26px 2px;
}
/* raised surfaces that were hard-coded white in the base rules */
.esr-dark .stat,
.esr-dark .hub-card,
.esr-dark .filters select,
.esr-dark button.btn, .esr-dark a.btn,
.esr-dark .seg button{ background:var(--esr-soft); color:var(--esr-ink); }
.esr-dark .filters select option{ background:var(--esr-soft); color:var(--esr-ink); }
.esr-dark .card{ background:transparent; }
.esr-dark table.data th{ background:var(--esr-soft); }
/* accent-on-dark: keep solid-blue buttons legible with dark text */
.esr-dark .btn.primary{ background:var(--esr-brand); color:#0f1a2b; border-color:var(--esr-brand); }
.esr-dark .btn.primary:hover{ color:#0f1a2b; }
.esr-dark .seg button.on{ background:var(--esr-brand); color:#0f1a2b; }
.esr-dark button.btn:hover,.esr-dark a.btn:hover{ border-color:var(--esr-brand); color:var(--esr-brand); }
/* map: no-data countries as a muted grey with a hairline (both themes) */
.esr .eu-choropleth path{ fill:#dfe4ea; stroke:#ffffff; }
.esr-dark .eu-choropleth path{ fill:#33435a; stroke:#0f1a2b; }
.esr-dark .eu-choropleth path:hover{ stroke:#e7edf5; }
/* softened legend endpoints (both themes) */
.esr .maplegend .bar{ background:linear-gradient(90deg,var(--esr-lo),#e6b800,var(--esr-hi)); }

/* ============================================================================
   Embed widgets: multi-view copy panel (on report pages) + standalone doc.
   ============================================================================ */
.esr .embedpanel{ border:1px solid var(--esr-line); border-radius:12px; padding:14px 16px; margin:14px 0 2px; }
.esr .embedpanel > .eh{ font-weight:800; font-size:14px; margin:0 0 4px; }
.esr .embedpanel > .es{ font-size:13px; color:var(--esr-muted); margin:0 0 12px; }
.esr .embedtabs{ display:inline-flex; flex-wrap:wrap; border:1px solid var(--esr-line); border-radius:9px; overflow:hidden; margin:0 0 10px; }
.esr .embedtabs button{ font:inherit; font-size:13px; font-weight:600; border:0; background:transparent; color:var(--esr-muted); padding:8px 14px; cursor:pointer; border-right:1px solid var(--esr-line); }
.esr .embedtabs button:last-child{ border-right:0; }
.esr .embedtabs button.on{ background:var(--esr-brand); color:#0f1a2b; }
.esr .embedopts{ display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; margin:0 0 10px; font-size:13px; color:var(--esr-muted); }
.esr .embedopts label{ display:inline-flex; align-items:center; gap:5px; cursor:pointer; }
.esr .embedopts input[type=text],.esr .embedopts input[type=number]{ font:inherit; font-size:13px; padding:4px 7px; border:1px solid var(--esr-line); border-radius:7px; background:var(--esr-bg); color:var(--esr-ink); }
.esr:not(.esr-dark) .embedopts input[type=text],.esr:not(.esr-dark) .embedopts input[type=number]{ background:#fff; }
.esr .embedopts input[type=number]{ width:74px; }
.esr .embedopts input:disabled{ opacity:.5; }
.esr .embedcode{ width:100%; box-sizing:border-box; resize:vertical; background:#0b1424; color:#cfe0f5; border:1px solid var(--esr-line); border-radius:10px; padding:12px 14px; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:12px; line-height:1.5; overflow:auto; white-space:pre; min-height:96px; max-height:220px; }
.esr:not(.esr-dark) .embedcode{ background:#0f1b2d; color:#e6eefb; }
.esr .embedactions{ display:flex; gap:8px; align-items:center; margin:10px 0 0; }
.esr .embedactions .prev{ font-size:12.5px; color:var(--esr-muted); }
/* standalone embed document chrome */
.esr-embed-doc{ margin:0 !important; border:0 !important; border-radius:0 !important; }
.esr-embed-doc .wrap{ padding:14px 16px; }
.esr-embed-doc .eb-head{ margin:0 0 10px; }
.esr-embed-doc .eb-head .t{ font-size:18px; font-weight:800; line-height:1.2; margin:0 0 3px; }
.esr-embed-doc .eb-head .s{ font-size:13px; color:var(--esr-muted); }
.esr-embed-doc .eb-foot{ display:flex; flex-wrap:wrap; gap:4px 14px; align-items:baseline; justify-content:space-between; font-size:12px; color:var(--esr-muted); margin:12px 0 0; padding-top:10px; border-top:1px solid var(--esr-line); }
.esr-embed-doc .eb-foot .src{ flex:1 1 auto; min-width:0 }
.esr-embed-doc .eb-foot .pw{ margin-left:auto; white-space:nowrap }
.esr-embed-doc .eb-foot a{ color:var(--esr-brand); text-decoration:none; font-weight:600; }
.esr-embed-doc .card{ margin-top:0; }
.esr-embed-doc.map-only .canvas-holder, .esr-embed-doc.map-only table.data, .esr-embed-doc.map-only .full-rank{ display:none; }

/* ============================================================================
   Fed Watch house style bridge (2026-11-12). The WordPress report renders inside
   <main class="mfyc"> with mf_rc_css() providing the shared tokens/components
   (hero, sticky nav, .card, tables, .btn, details). These rules add only the
   Eurostat-specific visuals (choropleth, ranked chart, filter bar, map tip,
   toast, embed builder), themed from the shared CSS variables so they inherit
   light/dark automatically. The .esr rules above are untouched and remain the
   standalone embed document's theme.
   ============================================================================ */
.mfyc.esr-reset{color:var(--ink)}
/* choropleth */
.mfyc .mapwrap{position:relative;width:100%}
.mfyc .eu-choropleth{width:100%;height:auto;display:block}
.mfyc .eu-choropleth path{fill:var(--bg2);stroke:var(--bg);stroke-width:.6;transition:fill .15s;cursor:pointer}
.mfyc .eu-choropleth path:hover{stroke:var(--ink);stroke-width:1}
.mfyc .maplegend{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--mu);margin-top:10px;flex-wrap:wrap}
.mfyc .maplegend .bar{height:12px;width:180px;background:linear-gradient(90deg,var(--up),#e6b800,var(--dn))}
.mfyc .maplegend .note{color:var(--mu)}
.mfyc .maptip{position:absolute;pointer-events:none;background:var(--dk);color:#fff;font-size:13px;padding:6px 9px;white-space:nowrap;z-index:5;opacity:0;transition:.1s;transform:translate(-50%,-130%)}
.mfyc .maptip.show{opacity:1}
/* ranked chart */
.mfyc .canvas-holder{position:relative;width:100%;height:820px}
.mfyc .chart-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 2px;align-items:center}
.mfyc .share{margin-left:auto;display:flex;gap:8px}
.mfyc .credit-inline{font-size:12px;color:var(--mu);margin:10px 0 0}
.mfyc .credit-inline a{color:var(--mu)}
/* filter bar */
.mfyc .filters{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:flex-end;background:var(--bg2);border:1px solid var(--ln);padding:14px 16px;margin:0 0 18px}
.mfyc .filters .fld{display:flex;flex-direction:column;gap:4px}
.mfyc .filters label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--mu);font-weight:700}
.mfyc .filters select{font:inherit;font-size:15px;padding:7px 10px;border:1px solid var(--ln);background:var(--bg);color:var(--ink)}
.mfyc .filters .note{font-size:12.5px;color:var(--mu);margin-left:auto}
/* value / rank cells on top of the shared table styles */
.mfyc table.data td.v{font-weight:600}
.mfyc table.data td.rk{color:var(--mu);width:2em;text-align:right}
.mfyc table.data .tag{display:inline-block;font-size:11px;font-weight:700;padding:1px 7px;border:1px solid var(--ln);background:var(--bg2);color:var(--mu)}
/* data-download selector */
.mfyc .opts{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 10px}
.mfyc .opts button{font:600 13px var(--f);border:1px solid var(--ln);background:var(--bg);color:var(--ink);padding:7px 14px;cursor:pointer}
.mfyc .opts button[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.mfyc .get .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.mfyc .get select{font:inherit;font-size:14px;padding:7px 10px;border:1px solid var(--ln);background:var(--bg);color:var(--ink)}
/* warnings + toast */
.mfyc .warn{background:var(--bg2);border:1px solid var(--ln);border-left:4px solid #e6b800;color:var(--ink);padding:12px 14px;margin:0 0 16px;font-size:15px}
.mfyc .toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--dk);color:#fff;padding:11px 20px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:9999}
.mfyc .toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* embed builder panel */
.mfyc .embedpanel{border:1px solid var(--ln);background:var(--bg2);padding:14px 16px;margin:14px 0 2px}
.mfyc .embedpanel>.eh{font-weight:800;font-size:14px;margin:0 0 4px}
.mfyc .embedpanel>.es{font-size:13px;color:var(--mu);margin:0 0 12px}
.mfyc .embedtabs{display:inline-flex;flex-wrap:wrap;border:1px solid var(--ln);margin:0 0 10px}
.mfyc .embedtabs button{font:600 13px var(--f);border:0;background:var(--bg);color:var(--mu);padding:8px 14px;cursor:pointer;border-right:1px solid var(--ln)}
.mfyc .embedtabs button:last-child{border-right:0}
.mfyc .embedtabs button.on{background:var(--teal);color:#fff}
.mfyc .embedopts{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin:0 0 10px;font-size:13px;color:var(--mu)}
.mfyc .embedopts label{display:inline-flex;align-items:center;gap:5px;cursor:pointer}
.mfyc .embedopts input[type=text],.mfyc .embedopts input[type=number]{font:inherit;font-size:13px;padding:4px 7px;border:1px solid var(--ln);background:var(--bg);color:var(--ink)}
.mfyc .embedopts input[type=number]{width:74px}
.mfyc .embedopts input:disabled{opacity:.5}
.mfyc .embedcode{width:100%;box-sizing:border-box;resize:vertical;background:var(--dk);color:#cfe0f5;border:1px solid var(--ln);padding:12px 14px;font:12px/1.5 var(--fm);white-space:pre;overflow:auto;min-height:96px;max-height:220px}
.mfyc .embedactions{display:flex;gap:8px;align-items:center;margin:10px 0 0}
/* hub / index grid */
.mfyc .hubctl{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 18px}
.mfyc .hubctl input[type=search]{font:inherit;font-size:15px;padding:9px 12px;border:1px solid var(--ln);background:var(--bg);color:var(--ink);flex:1;min-width:220px}
.mfyc .seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--ln)}
.mfyc .seg button{font:600 13px var(--f);border:0;border-right:1px solid var(--ln);background:var(--bg);color:var(--mu);padding:8px 13px;cursor:pointer}
.mfyc .seg button:last-child{border-right:0}
.mfyc .seg button[aria-pressed=true]{background:var(--ink);color:var(--bg)}
.mfyc .hubgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.mfyc .hubcard{display:block;border:1px solid var(--ln);background:var(--bg);padding:16px;text-decoration:none;color:var(--ink)!important;transition:border-color .12s}
.mfyc .hubcard:hover{border-color:var(--teal)}
.mfyc .hubcard .rk{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--teal2)}
.mfyc .hubcard .tt{font-size:17px;font-weight:700;line-height:1.25;margin:6px 0}
.mfyc .hubcard .dd{font-size:13.5px;color:var(--mu);line-height:1.45}
/* /reports/ collection index: roomier cards + a teal call-to-action line */
.mfyc .esr-collgrid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.mfyc .esr-collcard{padding:20px;display:flex;flex-direction:column}
.mfyc .esr-collcard .tt{font-size:20px;margin:8px 0}
.mfyc .esr-collcard .dd{font-size:14px}
.mfyc .esr-collgo{margin-top:14px;font-size:13px;font-weight:700;color:var(--teal2)}
@media(max-width:680px){.mfyc .canvas-holder{height:720px}.mfyc .share{margin-left:0;width:100%}.mfyc .filters .note{margin-left:0;width:100%}}

/* Band chip — soft tint of the quality colour with a hairline border, readable on dark */
.mfyc .pill{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1.35;white-space:nowrap;padding:3px 10px;border-radius:999px;color:color-mix(in srgb,var(--pc) 60%,#fff);background:color-mix(in srgb,var(--pc) 15%,transparent)!important;border:1px solid color-mix(in srgb,var(--pc) 36%,transparent)}

/* Embeddable map widget: cap the map so it is not huge on wide iframes, and centre it.
   The Europe SVG is near-square (viewBox 1000x968); at full width it balloons to ~800px tall. */
.esr-embed-doc .mapwrap{max-width:540px;margin-left:auto;margin-right:auto}
.esr-embed-doc .maplegend{max-width:540px;margin-left:auto;margin-right:auto;justify-content:center}

/* On-page report map (#map): cap + centre so the near-square Europe SVG doesn't fill the full page width */
.mfyc .mapwrap{max-width:640px;margin-left:auto;margin-right:auto}
.mfyc #map .maplegend{max-width:640px;margin-left:auto;margin-right:auto;justify-content:center}

/* Object heading with a top-right "Embed on your site" button (Fed Watch pattern) */
.mfyc h2.obj-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mfyc h2.obj-head>span{flex:1 1 auto;min-width:0}
.mfyc h2.obj-head .mf-embed-jump{flex:0 0 auto;margin-left:auto;font-size:12px;font-weight:700;padding:5px 12px;white-space:nowrap}
