/* True geographic geometry and large mobile marker/list targets. */
.customer-map{min-width:0;color:#24454f}.customer-map-stage{position:relative;overflow:hidden;border:1px solid #d8e7ed;background:#eff8fd;border-radius:14px;margin-top:12px}.customer-world-map{display:block;width:100%;height:auto;aspect-ratio:2/1;min-height:155px;max-height:none;touch-action:pan-y}.customer-map-ocean{fill:#eff8fd}.customer-map-grid{stroke:#d9e9f0;stroke-width:.7}.customer-map-land{fill:#dce6e9;stroke:#fff;stroke-width:.7;stroke-linejoin:round}.customer-map-land.has-customers{fill:#9bcfc6;stroke:#537f7d}.customer-map-marker{cursor:pointer;outline:none}.customer-map-marker>circle:not(.customer-map-touch):not(.customer-map-pin-core){fill:#196bbd;stroke:white;stroke-width:1.8}.customer-map-marker.site>circle:not(.customer-map-touch):not(.customer-map-pin-core){fill:#0a6759}.customer-map-touch{fill:transparent}.customer-map-pin-core{fill:white;pointer-events:none}.customer-map-marker.selected>circle:not(.customer-map-touch):not(.customer-map-pin-core),.customer-map-marker:focus-visible>circle:not(.customer-map-touch):not(.customer-map-pin-core){stroke:#f8b844;stroke-width:3}.customer-map-marker text{fill:white;font-weight:750;text-anchor:middle;dominant-baseline:central;pointer-events:none}.customer-map-expand{flex:none;min-height:35px;padding:6px 9px;border:1px solid #a7c4d1;background:#fff;border-radius:9px;color:#164e63;cursor:pointer;font:inherit;font-size:11px;font-weight:650;box-shadow:0 1px 4px #1235}.customer-map-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:11px;font-size:10px;color:#46606b}.customer-map-legend span{display:flex;gap:5px;align-items:center}.customer-map-legend i,.customer-map-record-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#196bbd;flex:none}.customer-map-legend i.site,.customer-map-record-dot.site{background:#0a6759}.customer-map-record-dot.country{background:#9bcfc6}.customer-map-record-dot.missing{background:#d59731}.customer-map-summary,.customer-map-note{font-size:10px;line-height:1.55;color:#57717a;margin:8px 0 0}.customer-map-note{color:#6d7f86}.customer-map-loading{min-height:150px;display:grid;place-items:center;color:#537280;font-size:12px;background:#eff8fd;border-radius:12px;margin-top:12px}.customer-map-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:12px}.customer-map-controls button{border:1px solid #c8dce5;border-radius:9px;min-height:40px;min-width:40px;background:white;color:#244c5b;font:inherit;cursor:pointer;padding:7px 10px}.customer-map-controls button:disabled{opacity:.35;cursor:default}.customer-map-controls>span{min-width:27px;text-align:center;font-size:12px;font-weight:650}.customer-map-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eaf5f3;border:1px solid #bcddd5;border-radius:12px;padding:13px;margin-top:12px}.customer-map-selected>div{display:grid;gap:4px;min-width:0}.customer-map-selected strong{font-size:14px;color:#194c45;overflow-wrap:anywhere}.customer-map-selected span,.customer-map-selected small{font-size:12px;line-height:1.5;color:#526b70;overflow-wrap:anywhere}.customer-map-selected .btn{white-space:nowrap;font-size:12px}.customer-map-explanation,.customer-map-attribution{font-size:12px;color:#526b78;line-height:1.6;margin:12px 0}.customer-map-attribution{font-size:10px;margin-bottom:0}.customer-map-records{display:grid;gap:7px;max-height:330px;overflow:auto;overscroll-behavior:contain}.customer-map-record{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #dbe6eb;border-radius:10px;padding:12px;text-align:left;font:inherit;cursor:pointer;min-width:0;color:#264c5d}.customer-map-record.active{border-color:#4faaa3;background:#f0faf6}.customer-map-record>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.customer-map-record strong{font-size:13px;overflow-wrap:anywhere}.customer-map-record small{font-size:12px;color:#66808d;overflow-wrap:anywhere}.customer-map-record em{font-style:normal;font-size:11px;color:#3e6f80}.customer-map-empty{padding:22px 12px;color:#67818d;font-size:13px;text-align:center}.customer-map-expanded .customer-world-map{min-height:200px}.customer-map-modal .modal-body{padding-top:0}.customer-map-controls button:focus-visible,.customer-map-expand:focus-visible,.customer-map-record:focus-visible{outline:3px solid #3d85c6;outline-offset:2px}
@media(max-width:760px){.customer-map-stage{border-radius:12px}.customer-world-map{min-height:150px}.customer-map-expanded .customer-world-map{min-height:170px}.customer-map-legend{font-size:11px;gap:8px 12px}.customer-map-summary,.customer-map-note{font-size:11px}.customer-map-expand{min-height:40px;font-size:11px}.customer-map-controls{gap:4px}.customer-map-controls button{min-height:44px;min-width:40px;padding:7px}.customer-map-selected{align-items:flex-start;flex-direction:column;padding:12px;gap:10px}.customer-map-selected .btn{min-height:42px;width:100%}.customer-map-records{max-height:none;overflow:visible}.customer-map-record{min-height:76px}.customer-map-record strong{font-size:14px}.customer-map-record small{font-size:12px}.customer-map-attribution{font-size:10px}.customer-map-modal .modal-body{padding:0 12px 16px}.customer-map-modal .modal-head{padding:13px}.customer-map-explanation{font-size:12px}}

.customer-map-country-filter{display:grid;gap:4px;margin:10px 0;font-weight:650;font-size:13px}
.customer-map-country-filter select{width:100%;min-height:40px;padding:7px 12px;border:1px solid #c8dce5;border-radius:8px;color:inherit;background:#fff;font:inherit}
.customer-world-map .customer-map-land.has-customers{cursor:pointer}
.customer-world-map .country-selected,.customer-world-map .customer-map-land:focus-visible{stroke:#145b56;stroke-width:2}
.customer-map-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.customer-map-tabs button{min-height:40px;border:1px solid #c8dce5;border-radius:8px;background:#fff;padding:7px 10px;color:inherit;font:inherit;font-size:12px}
.customer-map-tabs button[aria-pressed="true"]{background:var(--primary,#125c55);color:var(--primary-contrast,#fff);border-color:transparent}

/* Keep the dashboard preview and its country totals in the same card at every zoom level. */
.refdash-location-card {
  container-type: inline-size;
}
.refdash-location-card > header {
  align-items: start;
  gap: 12px;
  flex-wrap: wrap;
}
.refdash-location-card .customer-map-expand {
  margin-inline-start: auto;
  color: var(--primary, #8f173d);
  background: #fff;
  border-color: var(--rd-line, #e7dfe3);
  box-shadow: none;
}
.refdash-location-content {
  display: grid;
  align-items: start;
  gap: 12px;
  margin-block-start: 12px;
}
.refdash-location-card .customer-map-stage {
  margin: 0;
}
.refdash-location-card .customer-world-map {
  min-height: 0;
  aspect-ratio: 2 / 1;
}
.refdash-location-card .refdash-country-list {
  margin: 0;
  padding-block-start: 10px;
  border-top: 1px solid var(--rd-line, #e7dfe3);
}
.refdash-location-card .refdash-country-list li > span {
  overflow-wrap: anywhere;
}
.refdash-location-card .refdash-country-list strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@container (min-width: 560px) {
  .refdash-location-content {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    column-gap: 18px;
  }
  .refdash-location-card .refdash-country-list {
    padding-block-start: 0;
    border-top: 0;
  }
}
