/* Screen-reader only utility */
.us-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.us-map-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e2d40;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}
.us-map-layout {
  display: flex !important;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: nowrap;
}
.us-map-panel {
  flex: 1 1 70%;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dde3ea;
  padding: 12px;
  box-sizing: border-box;
}
.us-map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 938 / 597;
}
#us-map-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.us-state-path {
  fill: #eef1f5;
  stroke: #c9d3dc;
  stroke-width: 1;
}
.us-state-dc {
  fill: #eef1f5;
  stroke: #c9d3dc;
  stroke-width: 1;
}
.us-pins {
  position: absolute;
  inset: 0;
}
.us-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  z-index: 2;
  outline: none;
  transition: opacity 0.15s, filter 0.15s;
}
.us-pin-badge {
  background: var(--pc, #2f6fb0);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 1px 7px;
  border-radius: 10px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.us-pin-label {
  font-size: 11px;
  font-weight: 600;
  color: #1a2e45;
  white-space: nowrap;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 -1px 0 #fff;
}
.us-pin:hover .us-pin-badge,
.us-pin:focus-visible .us-pin-badge,
.us-pin.us-map-hover .us-pin-badge {
  filter: brightness(1.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.us-pin:focus-visible {
  outline: 2px solid #2563a8;
  outline-offset: 3px;
  border-radius: 12px;
}
.us-pin.us-dimmed {
  opacity: 0.2;
}
.us-pin:hover,
.us-pin:focus-visible,
.us-pin.us-map-hover,
.us-pin.us-selected {
  z-index: 6;
}
.us-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  list-style: none;
  justify-content: center;
  margin: 14px 0 0;
}
.us-legend li {
  margin: 0;
  padding: 0;
}
.us-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #3d4f63;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 20px;
  border: 1.5px solid transparent;
  background: none;
  transition: border-color 0.15s, background 0.15s;
}
.us-legend-item:hover,
.us-legend-item.us-active {
  background: #f0f4f8;
  border-color: #c5cfd8;
}
.us-legend-item:focus-visible {
  outline: 2px solid #2563a8;
  outline-offset: 2px;
  border-radius: 20px;
}
.us-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
#us-tooltip {
  position: fixed;
  background: #1a2e45;
  color: #fff;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 13px;
  pointer-events: none;
  display: none;
  z-index: 9999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  line-height: 1.55;
  max-width: 230px;
}
.us-tt-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.us-tt-line {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.us-tt-line svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.us-side-panel {
  flex: 1 1 30%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.us-panel-intro {
  flex-shrink: 0;
  font-size: 12px;
  color: #58677d;
  margin-bottom: 16px;
  padding: 10px;
  background: #eef2f7;
  border-radius: 8px;
}
.us-location-cards {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  gap: 12px;
  padding: 10px;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #c5cfd8 transparent;
  background: #eef2f7;
  border-radius: 10px;
}
.us-location-card {
  background: #fff;
  border: 1.5px solid #dde3ea;
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.us-location-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 10px 0 0 10px;
  background: var(--rc, transparent);
}
.us-location-card:hover {
  border-color: #b0bec8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.us-location-card.us-map-hover,
.us-location-card.us-selected {
  background: #f7f9fc;
  border-color: var(--rc);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
}
.us-location-card.us-dimmed {
  opacity: 0.35;
}
.us-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.us-card-badge {
  flex-shrink: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
}
.us-location-info {
  min-width: 0;
}
.us-location-info h3 {
  display: block;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a2e45 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.us-location-info h3 a {
  color: inherit;
  text-decoration: none;
}
.us-location-info h3 a:hover {
  text-decoration: underline;
}
.us-card-type {
  font-size: 11px;
  color: #8a97a8;
}
.us-card-address {
  font-size: 13px;
  color: #4b5a6c;
  margin-bottom: 10px;
}
.us-location-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid #edf0f4;
}
.us-location-contact a,
.us-card-fax {
  font-size: 13px;
  color: #2c6baf;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.us-card-fax {
  color: #58677d;
}
.us-location-contact a:hover {
  text-decoration: underline;
}
.us-location-contact a:focus-visible {
  outline: 2px solid #2563a8;
  outline-offset: 2px;
  border-radius: 3px;
}
.us-location-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.5;
}
.us-card-link {
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .us-pin,
  .us-location-card,
  .us-legend-item {
    transition: none;
  }
}
@media (max-width: 820px) {
  .us-map-layout {
    flex-direction: column;
  }
  .us-map-panel {
    width: 100%;
  }
  .us-side-panel {
    width: 100%;
    height: auto !important;
  }
  .us-location-cards {
    flex: none;
  }
  .us-pin {
    padding: 8px;
  }
  .us-pin-label {
    display: none;
  }
}
