:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #1a1a1a;
  --muted: #555f69;
  --quiet: #7b8490;
  --line: #e0e0e0;
  --line-soft: #eeeeee;
  --link: #1f4b7a;
  --accent: #8b2332;
  --accent-dark: #6e1a28;
  --accent-light: #f4e8ea;
  --soft: #fafafa;
  --page-width: 1240px;
  --atlas-width: 1500px;
  --text-width: 900px;
  --copy-width: 760px;
  --radius: 8px;
  --section-space: 42px;
  --gutter: clamp(18px, 4vw, 36px);
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page {
  width: min(var(--page-width), calc(100% - (2 * var(--gutter))));
  margin: 0 auto;
  padding: 0 0 40px;
}

.paper-header {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 2.75rem 0 1.35rem;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: var(--text-width);
  margin: 0 auto 1.12rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.05vw, 2.5rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.16;
  text-align: left;
}

.author-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.58rem;
  max-width: var(--text-width);
  margin: 0 auto 1.15rem;
}

.author-row {
  display: flex;
  justify-content: center;
  gap: 0 2.3rem;
  width: 100%;
}

.author-card {
  flex: 0 1 220px;
  min-width: 180px;
  text-align: center;
}

.author-name {
  display: inline-block;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.author-name:hover,
.author-name:focus-visible {
  color: var(--accent);
}

.affiliation {
  display: block;
  margin-top: 0.05rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.3;
}

.links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0;
  font-family: var(--sans);
}

.links a,
.links button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.5rem 0.98rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 550;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.links .btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.links .btn-secondary {
  background: var(--panel);
  color: var(--ink);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.links a:hover,
.links a:focus-visible,
.links button:hover,
.links button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.links .btn-primary:hover,
.links .btn-primary:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #ffffff;
}

.overview {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0.9rem 0 1.6rem;
}

.overview-text {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.42vw, 1.13rem);
  line-height: 1.62;
  text-align: left;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

hr {
  height: 0;
  margin: 0;
  border: 0;
}

section {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 20px;
}

section > h2,
#citation > h2 {
  max-width: var(--text-width);
  margin-left: auto;
  margin-right: auto;
}

section > p {
  max-width: var(--copy-width);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

section > h2,
#citation > h2 {
  text-align: center;
}

.citation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 10px;
}

.citation-header h2 {
  margin: 0;
  text-align: left;
}

.section-copy {
  max-width: var(--copy-width);
  margin: 0 auto;
  color: var(--muted);
  text-align: left;
}

.section-copy p {
  margin: 0;
}

.section-copy p + p {
  margin-top: 12px;
}

.source-links {
  font-size: 0.92rem;
  line-height: 1.45;
}

.remittance-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--text-width);
  margin: 18px auto 0;
}

.remittance-callouts article {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.remittance-callouts span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.remittance-callouts p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.factor-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 18px auto 5px;
  font-family: var(--sans);
}

.factor-controls button {
  appearance: none;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  font: 750 0.76rem/1.15 var(--sans);
}

.factor-controls button:hover,
.factor-controls button:focus-visible {
  border-color: var(--factor-color, var(--accent));
  color: var(--factor-color, var(--accent));
}

.factor-controls button[aria-pressed="true"] {
  border-color: var(--factor-color, var(--accent));
  background: var(--factor-tint, var(--accent-light));
  color: var(--factor-color, var(--accent));
}

.factor-description {
  display: grid;
  gap: 7px;
  max-width: var(--copy-width);
  margin: 9px auto 5px;
  font-family: var(--sans);
}

.factor-description-card {
  display: grid;
  gap: 2px;
  padding: 8px 11px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--factor-color, var(--link));
  border-radius: 6px;
  background: #fbfbfc;
  box-shadow: 0 1px 0 rgba(18, 31, 44, 0.03);
}

.factor-description-card strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.factor-description-card span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.factor-help {
  margin: 0 auto 8px;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 650;
  text-align: center;
}

.figure-section p,
.caption-note {
  color: var(--muted);
}

figure {
  margin: 22px 0 0;
}

.interactive-plot {
  display: none;
  width: 100%;
  min-height: 480px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

.figure-downloads {
  display: none;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.68rem;
}

.figure-download-actions {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0;
}

.figure-downloads button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--panel);
  color: #303842;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.figure-downloads button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.figure-downloads button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.plot-map {
  min-height: 540px;
  cursor: pointer;
}

#plot-national-exposure,
#plot-national-exposure .plotly,
#plot-national-exposure .main-svg,
#plot-national-exposure .geolayer,
#plot-national-exposure .choroplethlayer,
#plot-national-exposure .draglayer,
#plot-national-exposure .draglayer *,
#plot-national-exposure *,
#plot-national-exposure .choroplethlayer path {
  cursor: pointer !important;
}

#plot-national-exposure .choroplethlayer path {
  transition:
    filter 0.12s ease,
    stroke 0.12s ease,
    stroke-width 0.12s ease;
}

#plot-national-exposure .choroplethlayer path:hover {
  filter: brightness(0.92);
  stroke: rgba(139, 35, 50, 0.92) !important;
  stroke-width: 1.25px !important;
}

.plot-small {
  height: 360px;
  min-height: 360px;
}

.adoption-panel .plot-fallback {
  height: 360px;
  object-fit: contain;
  background: var(--panel);
}

.interactive-figure.plot-rendering .interactive-plot,
.interactive-figure.plot-ready .interactive-plot {
  display: block;
}

.interactive-figure.plot-ready .figure-downloads {
  display: flex;
}

.figure-downloads.group-downloads {
  display: none;
  max-width: var(--page-width);
  margin: 8px auto 0;
}

.figure-downloads.group-downloads.is-visible {
  display: flex;
}

.interactive-figure.plot-ready .plot-fallback {
  display: none;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

figcaption,
.caption-note {
  margin-top: 11px;
  font-size: 0.94rem;
  color: var(--muted);
  text-align: center;
}

.atlas-section {
  width: min(var(--atlas-width), calc(100vw - (2 * var(--gutter))));
  margin-left: 50%;
  transform: translateX(-50%);
}

.atlas-section > p {
  max-width: var(--copy-width);
}

.atlas-figure {
  width: 100%;
  margin-top: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.atlas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
  gap: 14px;
  align-items: start;
}

.atlas-visual {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  background: #ffffff;
}

.atlas-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin: 0;
  font-family: var(--sans);
}

.map-control-group {
  display: grid;
  width: min(320px, 46vw);
  gap: 7px;
  justify-items: stretch;
}

.interaction-cue {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
}

#country-selector {
  width: 100%;
  min-height: 30px;
  padding: 4px 28px 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font: 600 0.8rem/1.2 var(--sans);
}

.atlas-visual .figure-downloads {
  justify-content: flex-end;
}

.atlas-visual .interactive-plot,
.atlas-visual .plot-fallback {
  border: 0;
  background: white;
  border-radius: 0;
}

.map-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: start;
  margin: 0;
  padding: 0;
  color: #2f3439;
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.2;
  pointer-events: none;
}

.map-legend-title {
  font-weight: 650;
}

.map-legend-scale {
  display: grid;
  gap: 5px;
}

.map-legend-ramp {
  display: block;
  height: 9px;
  border: 1px solid #c5ccd4;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2f5f3 0%, #a8c7b8 35%, #3a83a0 70%, #123f5a 100%);
  font-size: 0;
  line-height: 0;
}

.map-legend-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--quiet);
  font-size: 0.68rem;
}

.country-inspector {
  align-self: start;
  padding: 14px 14px 12px;
  border: 1px solid rgba(139, 35, 50, 0.22);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(31, 35, 40, 0.055);
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.42;
}

.inspector-kicker,
.metric-label {
  display: block;
  margin: 0 0 4px;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.country-inspector h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.24rem, 1.65vw, 1.5rem);
  line-height: 1.1;
  text-align: left;
}

.inspector-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.32;
  text-align: left;
}

.inspector-meta-line {
  display: block;
}

.inspector-reliability {
  margin-top: 2px;
  white-space: nowrap;
}

.country-inspector > .inspector-kicker {
  text-align: left;
}

.country-inspector.is-loaded .inspector-meta {
  white-space: normal;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.metric-grid div {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafbfc;
}

.metric-grid strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.15;
  white-space: nowrap;
}

.metric-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
}

.comparison-list {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
}

.comparison-card {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(23, 90, 135, 0.7);
  border-radius: 6px;
  background: #fbfbfc;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.snapshot-grid {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.snapshot-card {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fbfbfc;
}

.snapshot-label {
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.snapshot-card strong {
  font-size: 0.84rem;
  line-height: 1.25;
}

.snapshot-note {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.inspector-accordion {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.inspector-details {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.inspector-details:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.inspector-details[hidden] {
  display: none;
}

.inspector-details summary {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--link);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}

.inspector-details summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(31, 75, 122, 0.32);
  border-radius: 50%;
  color: var(--link);
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1;
}

.inspector-note {
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.38;
}

.occupation-list {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.occupation-list.occupation-bars {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 16px;
}

.occupation-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
}

.occupation-main,
.occupation-meta {
  display: block;
  grid-column: 1;
}

.occupation-main {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.occupation-toggle {
  display: inline-flex;
  gap: 0;
  margin: 0 0 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.occupation-toggle button {
  min-height: 27px;
  padding: 4px 9px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font: 700 0.74rem/1 var(--sans);
}

.occupation-toggle button:last-child {
  border-right: 0;
}

.occupation-toggle button[aria-pressed="true"] {
  background: var(--accent-light);
  color: var(--accent);
}

.occupation-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.occupation-track {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #edf1f5;
  overflow: hidden;
}

.occupation-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--link);
}

.occupation-value {
  color: var(--ink);
  font: 700 0.7rem/1.2 var(--sans);
  white-space: nowrap;
}

.occupation-meta {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.32;
}

.occupation-code {
  color: var(--muted);
  font-weight: 600;
}

.detail-rows {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  align-items: baseline;
  padding: 8px 0 0;
  border-top: 1px solid var(--line-soft);
}

.detail-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.detail-row strong {
  color: var(--ink);
  font-size: 0.86rem;
  text-align: right;
}

.detail-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.32;
}

.three-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: 24px;
}

.three-panel figure {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.three-panel figcaption {
  font-size: 0.84rem;
  line-height: 1.35;
}

.adoption-panel figure {
  min-height: 424px;
}

.adoption-panel figcaption {
  min-height: 42px;
}

.copy-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 112px;
  min-height: 30px;
  margin: 0;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--accent);
  cursor: pointer;
  font: 750 0.8rem/1.2 var(--sans);
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.45;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

footer {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 1100px) {
  .atlas-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plot-map {
    min-height: 470px;
  }

  .country-inspector {
    padding: 16px;
  }

  .occupation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

  .three-panel {
    grid-template-columns: 1fr;
    max-width: var(--copy-width);
    margin-left: auto;
    margin-right: auto;
  }

  .adoption-panel figure {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --section-space: 40px;
  }

  .paper-header {
    padding: 2.1rem 0 1.15rem;
  }

  h1 {
    font-size: clamp(1.72rem, 4.4vw, 2rem);
    line-height: 1.2;
  }

  .author-row {
    gap: 0 1.3rem;
  }

  .author-card {
    min-width: 0;
  }

  .overview {
    padding: 0.6rem 0 1.15rem;
  }

  .overview-text {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .interactive-plot {
    min-height: 390px;
  }

  .plot-map {
    min-height: 390px;
  }

  .plot-small {
    height: 360px;
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  .remittance-callouts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 14px;
    --section-space: 32px;
  }

  body {
    font-size: 16px;
  }

  .page {
    width: min(var(--page-width), calc(100% - (2 * var(--gutter))));
  }

  .paper-header {
    padding: 1.35rem 0 0.85rem;
  }

  h1 {
    margin-bottom: 0.95rem;
    font-size: clamp(1.5rem, 6.8vw, 1.86rem);
    line-height: 1.12;
  }

  .author-list {
    row-gap: 0.56rem;
    margin-bottom: 0.95rem;
  }

  .author-row {
    gap: 0 0.85rem;
  }

  .author-name {
    font-size: 0.92rem;
  }

  .affiliation {
    font-size: 0.74rem;
  }

  .links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .links a,
  .links button {
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    flex: none;
    justify-content: center;
    text-align: center;
  }

  .overview {
    padding: 0.45rem 0 0.95rem;
  }

  .overview-text {
    font-size: 0.94rem;
    line-height: 1.43;
  }

  .atlas-section {
    padding-top: 30px;
  }

  .atlas-section > p {
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .plot-map {
    min-height: 250px;
  }

  .atlas-figure {
    width: 100%;
    padding: 10px;
    margin-top: 14px;
  }

  .country-inspector {
    padding: 14px;
    font-size: 0.84rem;
  }

  .country-inspector h3 {
    font-size: 1.18rem;
  }

  .inspector-meta {
    margin-bottom: 11px;
  }

  .interaction-cue {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .atlas-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  .map-control-group {
    width: 100%;
  }

  #country-selector {
    width: 100%;
    max-width: none;
  }

  .atlas-visual {
    grid-template-columns: 1fr;
  }

  .atlas-visual .figure-downloads {
    grid-column: 1;
  }

  .map-legend {
    grid-template-columns: 1fr;
    gap: 7px;
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }

  .metric-grid div {
    padding: 9px;
  }

  .metric-grid strong {
    font-size: 0.9rem;
  }

  .occupation-list {
    grid-template-columns: 1fr;
  }

  .occupation-list li {
    padding: 7px 0;
  }

  .occupation-meta {
    font-size: 0.76rem;
  }

  .figure-downloads {
    justify-content: flex-end;
  }

  .factor-description-card {
    padding: 7px 9px;
  }

  .factor-description-card strong,
  .factor-description-card span {
    font-size: 0.75rem;
  }

  .remittance-callouts {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .remittance-callouts article {
    padding: 12px 13px;
  }
}
