/* Keep the three original charts together. Let the live issue readout size its window. */
.hero-concern-system {
  display: grid;
  align-content: center;
  min-width: 0;
  padding-block: 22px 18px;
}

.concern-map-window {
  position: relative;
  inset: auto;
  min-width: 0;
  box-shadow:
    inset 0 1px 0 rgb(201 249 246 / 9%),
    0 2px 4px rgb(0 9 17 / 22%),
    0 30px 76px rgb(0 9 17 / 34%);
}

.concern-map-body {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 12px;
  padding-inline: clamp(12px, 1.35vw, 22px);
}

.concern-map-body .chart-card,
.concern-map-body .mini-chart-stack,
.concern-map-body .micro-legend {
  min-width: 0;
}

.concern-map-body .chart-card {
  box-shadow: inset 0 1px 0 rgb(220 255 249 / 8%), 0 8px 18px rgb(0 10 18 / 19%);
}

.concern-map-body .mini-chart {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 10px;
  padding: 14px;
}

.concern-map-body .small-donut {
  width: min(108px, 100%);
  margin-block: 0;
}

.concern-map-body .micro-legend button {
  min-width: 0;
  min-height: 29px;
  font-size: .72rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.concern-map-body .concern-legend button {
  grid-template-columns: 12px minmax(0, 1fr) auto;
}

.concern-map-body .concern-legend i,
.concern-map-body .concern-legend b {
  display: block;
}

.concern-map-body .concern-legend b {
  color: rgb(239 250 250 / 75%);
}

.concern-map-body .concern-insight {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  min-width: 0;
  padding: 13px 16px 14px;
  border-color: rgb(115 223 216 / 25%);
  box-shadow: inset 2px 0 0 rgb(83 222 212 / 59%), inset 0 1px 0 rgb(230 255 250 / 9%), 0 7px 16px rgb(0 12 20 / 19%);
}

.concern-map-body .concern-insight p {
  color: rgb(235 247 249 / 82%);
}

.concern-map-body .insight-meter {
  margin-top: 3px;
}

.concern-map-body button:focus-visible,
.product-lab .concern-bubble:focus-visible {
  outline: 2px solid #b1fbf4;
  outline-offset: 2px;
}

.donut-button > .concern-relief {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 6px 5px rgb(0 0 0 / 22%));
}

.donut-button[data-relief-ready] > .donut-chart,
.donut-button[data-relief-ready] .donut-center strong:empty {
  visibility: hidden;
}

.product-lab .concern-bubble:not(.is-active):not(:hover):not(:focus-visible) {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 2px 3px rgb(9 36 52 / 17%), 0 7px 13px rgb(11 60 80 / 17%);
}

@media (min-width: 941px) {
  .concern-map-body .primary-donut {
    width: min(260px, 100%);
  }
}

@media (max-width: 940px) {
  .hero-concern-system {
    padding-block: 0;
  }

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

@media (max-width: 680px) {
  .concern-map-body {
    padding-inline: 10px;
  }

  .concern-map-title strong {
    min-width: 0;
  }

  .concern-map-body .mini-chart .chart-card-top {
    grid-column: 1 / -1;
  }

  .concern-map-body .mini-chart .donut-button {
    grid-column: 1;
  }

  .concern-map-body .mini-chart .micro-legend {
    grid-column: 2;
  }

  .concern-map-body .small-donut {
    width: min(96px, 100%);
  }

  .concern-map-body .concern-legend button,
  .concern-map-body .micro-legend button {
    min-height: 40px;
  }
}
