.field-atlas {
  --atlas-source:#356b5e;
  --atlas-reports:#3c6282;
  --atlas-neutral:#c7cdc3;
  --atlas-panel:#faf8f2;
}
.field-atlas main.wrap {
  margin-inline:auto;
  padding-bottom:clamp(2rem,4vw,4rem);
}
.field-atlas .introduction {padding:clamp(2rem,5vw,4.6rem) 0 clamp(1.75rem,4vw,3.5rem)}
.field-atlas main :is(h1,h2,h3) {
  font-family:var(--serif);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.035em;
}
.field-atlas h1 {margin:0}
.field-atlas .introduction p {max-width:74ch;margin:.8rem 0 1.25rem;font-size:clamp(1.1rem,1.65vw,1.35rem)}
.field-atlas .map-actions .button {
  display:inline-flex;align-items:center;
  color:white;font-weight:650;text-decoration:none;line-height:1.35;
}
.field-atlas .map-actions .button.secondary {color:var(--ink)}
.field-atlas #explore-map-title {margin:0 0 1.15rem}
.field-atlas .controls {
  display:flex;align-items:end;gap:.8rem clamp(1.5rem,3vw,3rem);
  flex-wrap:wrap;padding:0 0 1.15rem;
}
.field-atlas .controls fieldset {margin:0;padding:0;border:0;min-width:0;display:flex}
.field-atlas .controls legend,.field-atlas .country-control>label {
  display:block;padding:0;margin:0 0 .4rem;font-size:.94rem;line-height:1.4;font-weight:650;
}
.field-atlas #layers label {position:relative;cursor:pointer}
.field-atlas #layers input {position:absolute;opacity:0;width:1px;height:1px;margin:0}
.field-atlas #layers span {
  display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:46px;padding:.4rem .85rem;border:1px solid var(--ink);
  font-weight:600;font-size:1rem;line-height:1.25;
}
.field-atlas #layers label:first-of-type span {border-radius:5px 0 0 5px}
.field-atlas #layers label:last-of-type span {border-radius:0 5px 5px 0;border-left:0}
.field-atlas #layers input:checked+span {background:var(--ink);color:white}
.field-atlas #layers input:focus-visible+span {outline:3px solid var(--focus);outline-offset:3px;position:relative;z-index:1}
.field-atlas .country-control {min-width:min(100%,16rem)}
.field-atlas .country-detail-link {display:none}
.field-atlas #country {
  font:inherit;font-size:1rem;width:100%;max-width:100%;min-height:46px;padding:.35rem .6rem;
  border:1px solid var(--ink);border-radius:5px;color:var(--ink);background:var(--atlas-panel);
}
.field-atlas .figure-head {
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;
  gap:.3rem .75rem;padding:.85rem clamp(.8rem,1.5vw,1.3rem);
}
.field-atlas .caption {margin:0;font-weight:650;line-height:1.35;color:var(--ink)}
.field-atlas .map-tools:not(:has(button:not([hidden]))) {display:none}
.field-atlas .map-tools button,.field-atlas .retry,.field-atlas .detail-action {
  display:inline-flex;align-items:center;justify-content:center;text-align:center;
  min-height:44px;padding:.35rem .8rem;border:1px solid currentColor;border-radius:5px;
  color:var(--ink);background:transparent;font:600 .96rem/1.35 var(--sans);
  text-decoration:none;cursor:pointer;
}
.field-atlas :is(.map-tools button,.retry,.detail-action):hover {background:#e6e5db}
.field-atlas .canvas {overflow:hidden;background:#edf1eb;border-block:1px solid var(--rule)}
.field-atlas #world {display:block;width:100%;height:auto;overflow:hidden}
.field-atlas #world :is(path,circle) {
  fill:var(--atlas-neutral);stroke:#fcfbf5;stroke-width:.65;vector-effect:non-scaling-stroke;
}
.field-atlas #world [data-code] {cursor:pointer}
.field-atlas #world .with-source {fill:var(--atlas-source)}
.field-atlas #world .with-reports {fill:var(--atlas-reports)}
.field-atlas #world :is([data-code]:hover,[data-code]:focus-visible,[aria-checked=true]) {
  stroke:var(--ink);stroke-width:2.1;paint-order:stroke fill;outline:none;
}
.field-atlas #world .country-pin {fill:none;stroke:var(--ink);stroke-width:1.75;pointer-events:none}
.field-atlas figcaption {padding:.8rem clamp(.8rem,1.5vw,1.3rem) 1.05rem}
.field-atlas .legend,.field-atlas .key {display:flex;align-items:center}
.field-atlas .legend {flex-wrap:wrap;gap:.4rem 1.4rem}
.field-atlas .key {gap:.5rem;font-size:1rem;line-height:1.35}
.field-atlas .key i {
  display:inline-block;flex:none;width:.9rem;height:.9rem;border:1px solid #54655d;
  border-radius:2px;background:var(--atlas-source);
}
.field-atlas .key i.reports {background:var(--atlas-reports)}
.field-atlas .key i.empty {background:var(--atlas-neutral)}
.field-atlas .layer-note,.field-atlas .source-meta,.field-atlas .count-note,.field-atlas .metric {color:var(--muted);font-size:.96rem;line-height:1.48}
.field-atlas .layer-note {max-width:74ch;margin:.55rem 0 0}
.field-atlas #detail {overflow-wrap:anywhere}
.field-atlas #detail h2 {margin:0;font-size:clamp(1.9rem,2.7vw,2.65rem)}
.field-atlas #detail-intro {margin:.55rem 0 0;color:var(--muted)}
.field-atlas #detail-data>section,.field-atlas .related-evidence,.field-atlas .coverage-list {
  margin-top:1rem;padding-top:.85rem;border-top:1px solid var(--rule);
}
.field-atlas #detail-data h3 {margin:0 0 .6rem;font-size:1.46rem}
.field-atlas #detail-data h4 {font:650 1.08rem/1.35 var(--sans);margin:.8rem 0 .25rem}
.field-atlas #detail-data p {margin:.4rem 0}
.field-atlas .reference+.reference {margin-top:1.2rem;padding-top:.7rem;border-top:1px solid var(--rule)}
.field-atlas .reference a {display:inline-block;margin-top:.15rem}
.field-atlas dl {margin:.4rem 0}
.field-atlas dl>div {display:flex;align-items:baseline;gap:.85rem;justify-content:space-between;border-bottom:1px solid var(--rule);padding:.3rem 0}
.field-atlas dd {font-variant-numeric:tabular-nums;font-weight:650;white-space:nowrap;margin:0}
.field-atlas .detail-action {margin-top:1.1rem}
.field-atlas summary {cursor:pointer;font-weight:650;line-height:1.45;padding-block:.4rem}
.field-atlas :is(.coverage-list,.related-evidence)>summary {min-height:44px}
.field-atlas .coverage-list ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .75rem;margin:.25rem 0 0;padding:0;list-style:none}
.field-atlas .coverage-list a {display:inline-flex;align-items:center;min-height:44px;line-height:1.35}
.field-atlas .notes {margin:clamp(1rem,2vw,1.75rem) 0 0}
.field-atlas .notes p {max-width:76ch}
.field-atlas .visually-hidden {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.field-atlas [hidden] {display:none!important}
@media(max-width:55.999rem) {
  .field-atlas .country-control:has(option:checked:not([value=""])) .country-detail-link {
    display:inline-flex;align-items:center;min-height:44px;font-weight:600;
  }
}
@media(max-width:34rem) {
  .field-atlas .controls {display:grid;grid-template-columns:minmax(0,1fr)}
  .field-atlas #layers label {flex:1}
  .field-atlas #layers span {padding-inline:.45rem}
  .field-atlas .figure-head {align-items:start}
  .field-atlas .legend {align-items:start;gap:.45rem 1rem}
}
@media(forced-colors:active) {
  .field-atlas #layers input:checked+span {outline:2px solid Highlight;outline-offset:-3px}
  .field-atlas #world .with-source,.field-atlas #world .with-reports,.field-atlas .key i:not(.empty) {forced-color-adjust:none;fill:Highlight;background:Highlight}
}
