.hm-explorer {
  --hm-ink: #ffffff;
  --hm-subtle: #52637a;
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(255px, 1fr);
  align-items: start;
  gap: 14px;
  container-type: inline-size;
}

@media(min-width:851px){
  .hm-explorer{align-items:stretch}
  .hm-inspector,.hm-inspector-body{display:flex;flex-direction:column}
  .hm-inspector-body{flex:1;justify-content:space-evenly}
  .hm-details{align-self:flex-start}
}
.hm-explorer *, .hm-explorer *::before, .hm-explorer *::after {box-sizing: border-box}
.hm-figure, .hm-inspector {min-width: 0; border-radius: 12px}
.hm-figure {
  background: var(--hm-ink);
  color: #26354a;
  border: 1px solid #d6deea;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.hm-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 15px 20px; gap: 7px 15px; border-bottom: 1px solid #e1e6ee;
}
.hm-switch {
  display: inline-flex; gap: 2px; padding: 3px;
  background: #f2f5fa; border: 1px solid #d6deea; border-radius: 9px;
}
.hm-switch button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #53627a; border: 0; border-radius: 6px; background: transparent;
  font: inherit; font-size: 13px; font-weight: 600; padding: 7px 11px; line-height: 1.25; cursor: pointer;
}
.hm-switch button:hover {color: #2d4460; background: #e5ebf4}
.hm-switch button[aria-pressed="true"] {color: #35466c; background: #fff; box-shadow: 0 1px 3px #bec9d7}
.hm-switch button:focus-visible, .hm-map-key:focus-visible, .hm-explorer .hallmark-map-host:focus-visible {
  outline: 2px solid #4965a2; outline-offset: -2px;
}
.hm-switch-icon {position: relative; width: 14px; height: 14px; display: inline-block; flex: none}
.hm-icon-map::before {
  content: ""; position: absolute; top: 9px; left: 1px; width: 3px; height: 3px;
  background: currentColor; border-radius: 50%; box-shadow: 4px -4px currentColor, 9px -2px currentColor, 10px -9px currentColor;
}
.hm-icon-rank {
  background: linear-gradient(currentColor,currentColor) left 1px top 2px / 12px 2px,
    linear-gradient(currentColor,currentColor) left 1px top 6px / 9px 2px,
    linear-gradient(currentColor,currentColor) left 1px top 10px / 5px 2px;
  background-repeat: no-repeat;
}
.hm-population {font-size: 12px; font-weight: 550; color: #52637a; white-space: nowrap}
.hm-stage {min-width: 0}
.hm-explorer .hallmark-map-host {
  width: 100%; height: clamp(325px, 29vw, 405px); border: 0; border-radius: 0; background: var(--hm-ink);
}
.hm-map-key {padding: 15px 20px 17px; border-top: 1px solid #e1e6ee}
.hm-map-key[hidden] {display: none}
.hm-legend {list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0}
.hm-legend li {display: inline-flex; align-items: center; gap: 7px; color: #394963; font-size: 12px; line-height: 1.4}
.hm-legend b {font-weight: 600; color: #53627a}
.hm-symbol {display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #65758c}
.hm-symbol-positive {background: #08796d}
.hm-symbol-negative {background: #b74c38}
.hm-symbol-reversal {background: #966314; transform: rotate(45deg); border-radius: 1px}
.hm-map-key p {font-size: 12px; color: #53627a; line-height: 1.5; margin: 9px 0 0}
.hm-equal-line {display: inline-block; width: 16px; margin: 0 7px 3px 0; border-top: 1px dashed #74859b}
.hm-inspector {
  background: #f7f7fc; border: 1px solid #dcddec; color: #202841; padding: 22px;
  font-variant-numeric: tabular-nums;
}
.hm-picker {display: block; position: relative; cursor: pointer}
.hm-picker:focus-within {outline: 2px solid #5955d7; outline-offset: 4px; border-radius: 3px}
.hm-small-heading {font-size: 12px; font-weight: 600; color: #595b78}
.hm-picker-title {display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 5px}
.hm-pathway-name {font-size: clamp(20px, 1.8vw, 26px); line-height: 1.19; letter-spacing: -.035em; font-weight: 680; overflow-wrap: anywhere}
.hm-picker-title i {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none; border: 1px solid #cdcfe4; border-radius: 50%;
}
.hm-picker-title i::after {content: ""; width: 6px; height: 6px; border: solid #4f4f75; border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg)}
.hm-picker select {position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; font: inherit}
.hm-coefficients {margin-top: 24px}
.hm-coefficient + .hm-coefficient {margin-top: 15px}
.hm-coefficient-head {display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 13px; color: #4d536d}
.hm-coefficient-head strong {color: #303956; font-size: 18px; font-weight: 650; letter-spacing: -.03em}
.hm-coefficient-adjusted .hm-coefficient-head strong {color: #5145a7}
.hm-meter {height: 5px; position: relative; border-radius: 2px; background: #e0e2ee; margin-top: 6px}
.hm-meter::after {content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; border-left: 1px solid #727a96}
.hm-meter-fill {height: 100%; position: absolute; border-radius: 2px; background: #8191ad}
.hm-coefficient-adjusted .hm-meter-fill {background: #7765cb}
.hm-scale {display: flex; justify-content: space-between; margin-top: 5px; font-size: 10px; color: #606884}
.hm-delta {display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; padding: 14px 0; margin: 7px 0 0; border-block: 1px solid #dbddeb}
.hm-delta-name {display: block; color: #555c78; font-size: 12px}
.hm-delta strong {display: block; margin-top: 2px; font-size: 26px; line-height: 1.2; letter-spacing: -.04em; font-weight: 650}
.hm-change {color: #454662; background: #e6e7f1; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 3px 6px}
.hm-change.hm-reversal {background: #f8e8c9; color: #64461c}
.hm-support {display: grid; gap: 7px; margin: 16px 0}
.hm-support div {display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12px; line-height: 1.45}
.hm-support dt {color: #555d78}
.hm-support dd {margin: 0; text-align: right; font-weight: 650; color: #303950}
.hm-details {border: 0; background: transparent; padding: 5px 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 650; color: #4d44ab}
.hm-details span {margin-left: 5px}
.hm-details:hover {text-decoration: underline}
@container (max-width: 875px) {
  .hm-toolbar {padding: 11px 13px}
  .hm-map-key {padding: 12px 13px}
  .hm-inspector {padding: 16px}
}
@media (max-width: 850px) {
  .hm-explorer {grid-template-columns: minmax(0,1fr)}
  .hm-inspector {padding: 18px}
}
@container (max-width: 480px) {
  .hm-toolbar {align-items: flex-start; row-gap: 8px}
  .hm-switch button {font-size: 12px; gap: 5px; padding: 8px}
  .hm-explorer .hallmark-map-host {height: 305px}
  .hm-legend {gap: 5px 12px}
  .hm-legend li, .hm-population {font-size: 11px}
}
@container (max-width: 320px) {
  .hm-toolbar {padding-inline: 9px}
  .hm-switch-icon {display: none}
  .hm-explorer .hallmark-map-host {height: 280px}
}
