.meter-panel {
  overflow: hidden;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.button-link {
  display: inline-block;
  padding: 11px 17px;
  border-radius: 10px;
  background: #087fc1;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.secondary-link {
  border: 1px solid #cbd9e3;
  background: #fff;
  color: #17415f;
}

.qr-page-heading {
  margin-bottom: 22px;
}

.qr-filters {
  grid-template-columns: minmax(220px, 1fr) auto !important;
}

.meter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.score-meter {
  min-width: 0;
  padding: 15px 12px 12px;
  border: 1px solid #dce7ee;
  border-radius: 14px;
  background: #fbfdfe;
  text-align: center;
}

.score-meter h3 {
  min-height: 42px;
  margin: 0;
  color: #173b55;
  font-size: 15px;
  line-height: 1.35;
}

.score-meter svg {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  margin: 2px auto 0;
  overflow: visible;
}

.meter-segment {
  stroke: #fff;
  stroke-width: 2;
}

.meter-needle {
  stroke: #173b55;
  stroke-width: 5;
  stroke-linecap: round;
  transition: x2 .35s ease, y2 .35s ease;
}

.meter-hub {
  fill: #173b55;
}

.meter-value {
  fill: #173b55;
  font-size: 25px;
  font-weight: 900;
  text-anchor: middle;
}

.meter-end {
  fill: #647b8f;
  font-size: 12px;
  font-weight: 900;
}

.meter-no-data .meter-needle,
.meter-no-data .meter-hub {
  opacity: .22;
}

.summary-copy {
  min-width: 0;
  flex: 1;
}

.store-summaries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.store-summary {
  padding: 12px 14px;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #d8eaed;
}

.store-summary strong {
  display: block;
  margin-bottom: 4px;
  color: #087fc1;
}

.store-summary p {
  color: #31566e;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.shoutout-leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.shoutout-leader {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #f0dfa5;
  border-radius: 11px;
  background: #fff9de;
}

.shoutout-leader > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #087fc1;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.shoutout-leader strong { color: #173b55; }
.shoutout-leader b { color: #805c00; font-size: 13px; white-space: nowrap; }

.response-scores {
  display: grid;
  grid-template-columns: repeat(5, minmax(62px, 1fr));
  gap: 7px;
  margin-top: 13px;
}

.response-scores span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #eef6fa;
}

.response-scores small {
  color: #526d82;
  font-size: 11px;
  font-weight: 800;
}

.response-scores b {
  color: #087fc1;
  font-size: 17px;
}

@media (max-width: 1150px) {
  .meter-grid {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}

@media (max-width: 680px) {
  .header-actions {
    align-self: flex-start;
  }

  .qr-filters {
    grid-template-columns: 1fr !important;
  }

  .meter-grid {
    grid-template-columns: 1fr;
  }

  .score-meter {
    padding-inline: 18px;
  }

  .score-meter h3 {
    min-height: 0;
  }

  .score-meter svg {
    max-width: 260px;
  }

  .store-summaries {
    grid-template-columns: 1fr;
  }

  .response-scores {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }

  .response-scores span {
    display: grid;
    justify-content: center;
    gap: 2px;
    padding: 7px 3px;
    text-align: center;
  }
}
