.gm-map-explorer {
  --gm-map-green: var(--brand, #1a5f4a);
  --gm-map-green-dark: var(--brand-d, #144a3a);
  --gm-map-green-soft: var(--accent-l, #e8f5f0);
  --gm-map-ink: var(--ink, #1e1e1e);
  --gm-map-muted: var(--muted, #6f6a65);
  --gm-map-line: var(--line, #e8e4df);
  --gm-map-surface: var(--card, #fff);
  min-width: 0;
  color: var(--gm-map-ink);
}

.gm-map-explorer [hidden] {
  display: none !important;
}

.gm-map-explorer button,
.gm-map-explorer input {
  font: inherit;
}

.gm-map-explorer__intro {
  max-width: 780px;
  margin-bottom: 1.4rem;
}

.gm-map-explorer__intro h1 {
  margin: 0.18rem 0 0.55rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -0.025em;
}

.gm-map-explorer__intro > p:last-child,
.gm-map-explorer__section-head > p {
  color: var(--gm-map-muted);
  line-height: 1.55;
}

.gm-map-explorer__eyebrow {
  margin: 0;
  color: var(--gm-map-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gm-map-explorer__workspace-title {
  margin: 0;
  color: var(--gm-map-green);
}

.gm-map-explorer__status,
.gm-map-explorer__side-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gm-map-line);
  border-radius: 10px;
  background: #f8faf9;
  color: #4d5752;
  font-size: 0.9rem;
}

.gm-map-explorer__status {
  margin-bottom: 1rem;
}

.gm-map-explorer__status[hidden],
.gm-map-explorer__side-status[hidden] {
  display: none;
}

.gm-map-explorer__status.is-error,
.gm-map-explorer__side-status.is-error {
  border-color: #dca9ad;
  background: #fff5f5;
  color: #842c34;
}

.gm-map-explorer__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
}

.gm-map-explorer__section-head h2,
.gm-map-explorer__toolbar h2 {
  margin: 0.18rem 0 0;
  font-size: 1.18rem;
}

.gm-map-explorer__section-head > p {
  max-width: 390px;
  margin: 0;
  font-size: 0.84rem;
  text-align: right;
}

.gm-map-explorer__stat-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.72rem;
}

.gm-map-explorer__stat-card {
  min-width: 0;
  min-height: 168px;
  padding: 0.9rem;
  border: 1px solid var(--gm-map-line);
  border-radius: 14px;
  background: var(--gm-map-surface);
  color: inherit;
  box-shadow: var(--shadow, 0 5px 18px rgba(26, 95, 74, 0.07));
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gm-map-explorer__stat-card:hover {
  border-color: rgba(26, 95, 74, 0.35);
  box-shadow: var(--shadow-hover, 0 8px 26px rgba(26, 95, 74, 0.12));
  transform: translateY(-2px);
}

.gm-map-explorer__stat-card[aria-pressed="true"] {
  border-color: var(--gm-map-green);
  box-shadow: inset 0 0 0 1px var(--gm-map-green), var(--shadow, none);
}

.gm-map-explorer__stat-card:focus-visible,
.gm-map-explorer__picker-trigger:focus-visible,
.gm-map-explorer__picker button:focus-visible,
.gm-map-explorer__picker input:focus-visible,
.gm-map-explorer__map-actions button:focus-visible,
.gm-map-explorer__map-error button:focus-visible,
.gm-map-explorer__area-list button:focus-visible {
  outline: 3px solid rgba(45, 148, 116, 0.38);
  outline-offset: 3px;
}

.gm-map-explorer__stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gm-map-explorer__stat-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--gm-map-green-soft);
  color: var(--gm-map-green);
  font-size: 0.95rem;
}

.gm-map-explorer__stat-period {
  overflow: hidden;
  color: var(--gm-map-muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  text-overflow: ellipsis;
}

.gm-map-explorer__stat-value,
.gm-map-explorer__stat-label,
.gm-map-explorer__stat-note {
  display: block;
}

.gm-map-explorer__stat-value {
  overflow-wrap: anywhere;
  font-size: clamp(1.42rem, 1.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.gm-map-explorer__stat-label {
  min-height: 2.5em;
  margin-top: 0.48rem;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.gm-map-explorer__stat-note {
  margin-top: 0.42rem;
  color: var(--gm-map-muted);
  font-size: 0.68rem;
  line-height: 1.3;
}

.gm-map-explorer__workspace {
  margin-top: 1.5rem;
  overflow: visible;
  border: 1px solid var(--gm-map-line);
  border-radius: 18px;
  background: var(--gm-map-surface);
  box-shadow: var(--shadow, 0 5px 18px rgba(26, 95, 74, 0.07));
}

.gm-map-explorer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--gm-map-line);
}

.gm-map-explorer__workspace-subtitle {
  max-width: 34rem;
  margin: 0.2rem 0 0;
  color: var(--gm-map-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.gm-map-explorer__toolbar-actions {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}

.gm-map-explorer__picker-wrap {
  position: relative;
}

.gm-map-explorer__picker-trigger,
.gm-map-explorer__cross-control {
  min-height: 54px;
  border: 1px solid var(--gm-map-line);
  border-radius: 11px;
  background: #fff;
  color: var(--gm-map-ink);
  text-align: left;
}

.gm-map-explorer__picker-trigger {
  display: flex;
  min-width: min(330px, 36vw);
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 2.5rem 0.55rem 0.8rem;
  cursor: pointer;
}

.gm-map-explorer__picker-trigger::after {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  content: "⌄";
  color: var(--gm-map-green);
  font-size: 1rem;
  transform: translateY(-50%);
}

.gm-map-explorer__picker-trigger > span,
.gm-map-explorer__cross-control strong {
  color: var(--gm-map-muted);
  font-size: 0.67rem;
  font-weight: 700;
}

.gm-map-explorer__picker-trigger strong {
  overflow: hidden;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-map-explorer__cross-control {
  display: flex;
  min-width: 170px;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  opacity: 0.62;
  cursor: not-allowed;
}

.gm-map-explorer__cross-control > span {
  font-size: 0.8rem;
  font-weight: 750;
}

.gm-map-explorer__picker {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 40;
  width: min(430px, calc(100vw - 3rem));
  max-height: min(620px, 75vh);
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--gm-map-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(20, 74, 58, 0.2);
}

.gm-map-explorer__picker[hidden] {
  display: none;
}

.gm-map-explorer__picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gm-map-explorer__picker-head h3 {
  margin: 0;
  font-size: 1rem;
}

.gm-map-explorer__picker-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f1f4f2;
  color: var(--gm-map-ink);
  cursor: pointer;
  font-size: 1.25rem;
}

.gm-map-explorer__search {
  display: block;
  margin: 0.9rem 0;
  color: var(--gm-map-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.gm-map-explorer__search input {
  width: 100%;
  margin-top: 0.32rem;
  padding: 0.68rem 0.72rem;
  border: 1px solid #d9dedb;
  border-radius: 9px;
  color: var(--gm-map-ink);
}

.gm-map-explorer__picker-group + .gm-map-explorer__picker-group {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gm-map-line);
}

.gm-map-explorer__picker-group h4 {
  margin: 0 0 0.45rem;
  color: var(--gm-map-green-dark);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gm-map-explorer__picker-family + .gm-map-explorer__picker-family {
  margin-top: 0.28rem;
}

.gm-map-explorer__picker-family-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.62rem;
  border: 0;
  border-radius: 8px;
  background: #f5f8f6;
  color: #263a33;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: left;
}

.gm-map-explorer__picker-family-toggle::before {
  content: "›";
  color: var(--gm-map-green);
  font-size: 1rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 140ms ease;
}

.gm-map-explorer__picker-family-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.gm-map-explorer__picker-family-toggle:hover {
  background: var(--gm-map-green-soft);
}

.gm-map-explorer__picker-family-count {
  min-width: 1.5rem;
  margin-left: auto;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: #fff;
  color: var(--gm-map-muted);
  font-size: 0.65rem;
  text-align: center;
}

.gm-map-explorer__picker-family-options {
  padding: 0.2rem 0 0.25rem 0.78rem;
  border-left: 2px solid #dceae4;
}

.gm-map-explorer__picker-option {
  display: block;
  width: 100%;
  padding: 0.58rem 0.62rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gm-map-ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: left;
}

.gm-map-explorer__picker-option:hover,
.gm-map-explorer__picker-option[aria-current="true"] {
  background: var(--gm-map-green-soft);
  color: var(--gm-map-green-dark);
}

.gm-map-explorer__picker-empty {
  margin: 0.8rem 0 0;
  color: var(--gm-map-muted);
  font-size: 0.82rem;
}

.gm-map-explorer__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(300px, 0.85fr);
  min-width: 0;
}

.gm-map-explorer__map-column {
  min-width: 0;
  padding: 1rem;
  background: #f7f8f6;
}

.gm-map-explorer__map-mount {
  position: relative;
  z-index: 0;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid #dfe5e1;
  border-radius: 14px;
  background: #eef1ef;
}

.gm-map-explorer__map-mount.leaflet-container {
  color: var(--gm-map-ink);
  font: inherit;
}

.gm-map-explorer__map-mount .leaflet-control-attribution {
  max-width: min(72%, 680px);
  background: rgba(255, 255, 255, 0.86);
  color: #3e4843;
  font-size: 0.61rem;
  line-height: 1.25;
  white-space: normal;
}

.gm-map-explorer__map-message {
  position: absolute;
  z-index: 900;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 280px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #526059;
  box-shadow: 0 5px 20px rgba(26, 95, 74, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.gm-map-explorer__legend-mount {
  position: absolute;
  z-index: 750;
  left: 0.85rem;
  bottom: 0.85rem;
  width: min(350px, calc(100% - 1.7rem));
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(28, 47, 43, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 18px rgba(22, 50, 45, 0.16);
  pointer-events: none;
}

.gm-map-explorer__legend-mount strong {
  display: block;
  overflow: hidden;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-map-explorer__legend-scale-wrap {
  position: relative;
  margin-top: 0.52rem;
}

.gm-map-explorer__legend-scale {
  height: 10px;
  border: 1px solid rgba(27, 38, 49, 0.18);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #e3edb7,
    #beddb3,
    #92c9b3,
    #69b2ad,
    #4795a5,
    #347590,
    #285575,
    #253b61,
    #211f50
  );
}

.gm-map-explorer.is-imd-indicator .gm-map-explorer__legend-scale {
  background: linear-gradient(
    90deg,
    #211f50,
    #253b61,
    #285575,
    #347590,
    #4795a5,
    #69b2ad,
    #92c9b3,
    #beddb3,
    #e3edb7
  );
}

.gm-map-explorer__legend-marker {
  position: absolute;
  top: -8px;
  left: var(--gm-map-marker-position, 50%);
  width: 0;
  height: 0;
  border-top: 8px solid #050505;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  filter: drop-shadow(0 0 1px #fff);
  transform: translateX(-50%);
}

.gm-map-explorer__legend-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  margin-top: 0.28rem;
  color: #435149;
  font-size: 0.67rem;
  font-weight: 650;
}

.gm-map-explorer__legend-range span:last-child {
  text-align: right;
}

.gm-map-explorer__legend-selected {
  margin: 0.38rem 0 0;
  color: #27332f;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
}

.gm-map-explorer__map-actions {
  position: absolute;
  z-index: 800;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  max-width: calc(100% - 5rem);
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.gm-map-explorer__map-actions button,
.gm-map-explorer__map-error button {
  min-height: 34px;
  padding: 0.38rem 0.62rem;
  border: 1px solid #46534e;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #26332e;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
}

.gm-map-explorer__map-actions button:disabled {
  border-color: #b7bfbb;
  color: #7a8580;
  cursor: not-allowed;
}

.gm-map-explorer__map-error {
  position: absolute;
  z-index: 850;
  top: 4.1rem;
  right: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 520px;
  margin: auto;
  padding: 0.55rem;
  border: 1px solid #9b4c42;
  border-radius: 9px;
  background: rgba(255, 248, 246, 0.96);
  color: #71382f;
  font-size: 0.76rem;
  font-weight: 650;
}

.gm-map-explorer .gm-map-label {
  padding: 0.27rem 0.36rem;
  border: 1px solid rgba(16, 27, 25, 0.55);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 7px rgba(12, 37, 31, 0.2);
  color: #111b18;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
}

.gm-map-explorer .gm-map-label::before {
  display: none;
}

.gm-map-explorer .gm-map-label__value {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.62rem;
  font-weight: 700;
}

.gm-map-explorer .gm-map-label--dark {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(24, 33, 48, 0.88);
  color: #fff;
}

.gm-map-explorer.is-ward-mode .gm-map-label:not(.gm-map-label--ward) {
  display: none;
}

.gm-map-explorer__ward-help {
  margin: 0.55rem 0 0;
  color: var(--gm-map-muted);
  font-size: 0.74rem;
}

.gm-map-explorer__area-browser {
  margin-top: 0.65rem;
  border: 1px solid var(--gm-map-line);
  border-radius: 9px;
  background: #fff;
}

.gm-map-explorer__area-browser summary {
  padding: 0.58rem 0.7rem;
  color: #324039;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.gm-map-explorer__area-list {
  display: flex;
  max-height: 180px;
  flex-wrap: wrap;
  gap: 0.4rem;
  overflow: auto;
  padding: 0 0.7rem 0.7rem;
}

.gm-map-explorer__area-list button {
  min-height: 34px;
  padding: 0.34rem 0.55rem;
  border: 1px solid #aeb8b3;
  border-radius: 999px;
  background: #f8faf9;
  color: #26332e;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
}

.gm-map-explorer__area-list button[aria-pressed="true"] {
  border: 2px solid #050505;
  background: #e7f1ed;
  color: #111;
}

.gm-map-explorer__parent-context {
  margin: 0.3rem 0 0;
  color: var(--gm-map-muted);
  font-size: 0.76rem;
}

.gm-map-explorer__geography-header .gm-map-explorer__parent-context {
  color: rgba(255, 255, 255, 0.78);
}

.gm-map-explorer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gm-map-explorer__side-panel {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border-left: 1px solid var(--gm-map-line);
}

.gm-map-explorer__side-panel .gm-map-explorer__side-status {
  margin: 1.15rem;
}

.gm-map-explorer__geography-header {
  padding: 1.2rem 1.15rem 1.25rem;
  background: linear-gradient(135deg, var(--gm-map-green-dark), var(--gm-map-green));
  color: #fff;
}

.gm-map-explorer__geography-kicker {
  margin: 0 0 0.48rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.gm-map-explorer__area-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.gm-map-explorer__area-heading h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1.25rem;
}

.gm-map-explorer__geography-badge {
  display: inline-flex;
  min-width: 36px;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.gm-map-explorer__indicator-identity {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin: 0 1.15rem;
  padding: 1rem 0 0.85rem;
  border-bottom: 1px solid var(--gm-map-line);
}

.gm-map-explorer__indicator-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gm-map-green-soft);
  color: var(--gm-map-green-dark);
  font-size: 1.05rem;
  font-weight: 850;
}

.gm-map-explorer__side-indicator {
  margin: 0;
  color: var(--gm-map-ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.gm-map-explorer__primary-metric {
  margin: 0 1.15rem;
  padding: 1rem 0 0;
}

.gm-map-explorer__imd-callout {
  margin: 1rem 1.15rem 0;
  padding: 0.9rem;
  border-left: 4px solid #69b2ad;
  border-radius: 9px;
  background: #eef7f2;
  color: var(--gm-map-green-dark);
}

.gm-map-explorer__imd-callout p {
  margin: 0;
  line-height: 1.4;
}

.gm-map-explorer__imd-callout p:first-child {
  font-size: 0.9rem;
  font-weight: 800;
}

.gm-map-explorer__imd-callout p + p {
  margin-top: 0.42rem;
  color: #53655c;
  font-size: 0.7rem;
  font-weight: 700;
}

.gm-map-explorer__primary-value {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.gm-map-explorer__measure {
  margin: 0.48rem 0 0;
  color: var(--gm-map-muted);
  font-size: 0.82rem;
}

.gm-map-explorer__comparison-section {
  margin: 1rem 1.15rem 0;
}

.gm-map-explorer__comparison-section h3 {
  margin: 0 0 0.65rem;
  color: var(--gm-map-green-dark);
  font-size: 0.86rem;
}

.gm-map-explorer__comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
  margin: 0;
}

.gm-map-explorer__comparison > div {
  min-width: 0;
  min-height: 112px;
  padding: 0.82rem 0.9rem;
  border: 1.5px solid #49b982;
  border-radius: 12px;
  background: #f3fbf7;
  box-shadow: 0 4px 12px rgba(22, 101, 75, 0.08);
}

.gm-map-explorer__comparison dt {
  margin: 0 0 0.38rem;
  overflow-wrap: anywhere;
  color: #39715d;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.gm-map-explorer__comparison dd {
  margin: 0;
}

.gm-map-explorer__comparison-value {
  display: block;
  overflow-wrap: anywhere;
  color: #123f32;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.1;
}

.gm-map-explorer__comparison-note {
  display: block;
  margin-top: 0.32rem;
  overflow-wrap: anywhere;
  color: #557067;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

.gm-map-explorer__breakdowns {
  margin: 1.1rem 1.15rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gm-map-line);
}

.gm-map-explorer__breakdowns h3 {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
}

.gm-map-explorer__breakdown-family + .gm-map-explorer__breakdown-family {
  margin-top: 0.9rem;
}

.gm-map-explorer__breakdown-family h4 {
  margin: 0 0 0.42rem;
  color: var(--gm-map-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.gm-map-explorer__breakdown-row {
  padding: 0.4rem 0;
  font-size: 0.75rem;
}

.gm-map-explorer__breakdown-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.26rem;
}

.gm-map-explorer__breakdown-heading strong {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.gm-map-explorer__breakdown-heading span {
  flex: 0 0 auto;
  font-weight: 850;
}

.gm-map-explorer__breakdown-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eeeb;
}

.gm-map-explorer__breakdown-row--position .gm-map-explorer__breakdown-track {
  overflow: visible;
  background: linear-gradient(90deg, #d8dadd, #eef2ef);
}

.gm-map-explorer__breakdown-marker {
  position: absolute;
  top: 50%;
  left: var(--gm-breakdown-position, 50%);
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gm-map-green-dark);
  box-shadow: 0 0 0 1px rgba(18, 58, 45, 0.35);
  transform: translate(-50%, -50%);
}

.gm-map-explorer__imd-direction {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  color: var(--gm-map-muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.gm-map-explorer__breakdown-fill {
  display: block;
  width: var(--gm-breakdown-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #69b2ad, var(--gm-map-green));
}

.gm-map-explorer__source {
  margin: 0.2rem 0 0;
  color: var(--gm-map-muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.gm-map-explorer__about {
  margin: 0.95rem 1.15rem 1.15rem;
  border: 1px solid var(--gm-map-line);
  border-radius: 10px;
}

.gm-map-explorer__about summary {
  padding: 0.72rem 0.8rem;
  color: var(--gm-map-green-dark);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.gm-map-explorer__about dl {
  margin: 0;
  padding: 0 0.8rem 0.75rem;
}

.gm-map-explorer__about-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.4fr);
  gap: 0.6rem;
  padding: 0.38rem 0;
  border-top: 1px solid #f0eeeb;
  font-size: 0.72rem;
}

.gm-map-explorer__about-row dt {
  color: var(--gm-map-muted);
  font-weight: 700;
}

.gm-map-explorer__about-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

@media (max-width: 1380px) {
  .gm-map-explorer__stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .gm-map-explorer__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .gm-map-explorer__side-panel {
    border-top: 1px solid var(--gm-map-line);
    border-left: 0;
  }

  .gm-map-explorer__map-mount {
    min-height: 480px;
  }
}

@media (max-width: 760px) {
  .gm-map-explorer__section-head,
  .gm-map-explorer__toolbar,
  .gm-map-explorer__toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gm-map-explorer__section-head > p {
    text-align: left;
  }

  .gm-map-explorer__stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gm-map-explorer__picker-trigger,
  .gm-map-explorer__cross-control {
    width: 100%;
    min-width: 0;
  }

  .gm-map-explorer__picker {
    position: fixed;
    top: 5vh;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-height: 90vh;
  }

  .gm-map-explorer__map-column {
    padding: 0.75rem;
  }

  .gm-map-explorer__side-panel {
    padding: 0;
  }

  .gm-map-explorer__map-mount {
    min-height: 400px;
  }

  .gm-map-explorer__legend-mount {
    width: min(305px, calc(100% - 1.4rem));
    left: 0.7rem;
    bottom: 1.35rem;
  }

  .gm-map-explorer .gm-map-label {
    font-size: 0.58rem;
  }

  .gm-map-explorer .gm-map-label__value {
    font-size: 0.56rem;
  }
}

@media (max-width: 430px) {
  .gm-map-explorer__stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gm-map-explorer__stat-card {
    min-height: 148px;
  }

  .gm-map-explorer__comparison {
    grid-template-columns: minmax(0, 1fr);
  }

  .gm-map-explorer .gm-map-label {
    padding: 0.12rem 0.16rem;
    font-size: 0.5rem;
  }

  .gm-map-explorer .gm-map-label__value {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-map-explorer *,
  .gm-map-explorer *::before,
  .gm-map-explorer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
