.fxmd-country-research {
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 90rem;
  min-width: 0;
  border: 1px solid var(--fxmd-border);
  border-radius: var(--fxmd-radius, 12px);
  background: var(--fxmd-surface);
  color: var(--fxmd-text);
  overflow-wrap: anywhere;
  scroll-margin-top: 6rem;
}
.fxmd-country-research h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.fxmd-country-research h3 { font-size: 1.15rem; }
.fxmd-country-research h2, .fxmd-country-research h3, .fxmd-country-research h4 { color: var(--fxmd-text-strong); font-weight: 600; margin: .5rem 0; }
.fxmd-country-research p { line-height: 1.65; margin: .6rem 0; }
.fxmd-country-research a { color: var(--fxmd-cyan); text-underline-offset: .2em; }
.fxmd-country-research a:hover { text-decoration: underline; }
.fxmd-research-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.fxmd-research-label, .fxmd-research-meta { color: var(--fxmd-text-muted); font-size: .85rem; }
.fxmd-research-label { font-family: 'IBM Plex Mono', monospace; }
.fxmd-research-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin: 1.25rem 0; }
.fxmd-research-card { margin: 0; padding: 1rem; border: 1px solid var(--fxmd-border); border-radius: var(--fxmd-radius, 12px); min-width: 0; }
.fxmd-research-card img { width: 100%; height: auto; display: block; }
.fxmd-research-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.fxmd-research-actions a, .fxmd-research-heading > a { display: inline-flex; align-items: center; min-height: 44px; }
.fxmd-research-findings { padding-left: 1.25rem; list-style: disc; }
.fxmd-research-library { margin-top: 1rem; }
.fxmd-research-library summary { cursor: pointer; padding: .75rem 0; min-height: 44px; }
.fxmd-research-library ul { padding-left: 1.25rem; list-style: disc; }
.fxmd-research-library li { margin: .75rem 0; }
.fxmd-country-research [hidden] { display: none; }
.fxmd-research-citation { margin: 1rem 0; }
.fxmd-research-citation summary { cursor: pointer; padding: .75rem 0; }
.fxmd-country-research textarea, .fxmd-country-research select, .fxmd-country-research button {
  background: var(--fxmd-surface);
  color: var(--fxmd-text-strong);
  border: 1px solid var(--fxmd-border);
  border-radius: var(--fxmd-radius, 12px);
  padding: .65rem;
  min-height: 44px;
  max-width: 100%;
}
.fxmd-country-research textarea { display: block; width: 100%; resize: vertical; margin: .5rem 0; }
.fxmd-country-research button { cursor: pointer; color: var(--fxmd-cyan); }
.fxmd-country-research select { display: block; margin: .5rem 0; }
