/* Compact, separate platform ratings beneath the quote form. */
.ue-platform-ratings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 9px;
  margin: 0 0 8px;
}

.quote-panel .ue-platform-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px 9px;
  min-width: 0;
  min-height: 34px;
  padding: 4px 7px;
  border: 1px solid #dce6f3;
  border-radius: 8px;
  background: #fff;
  color: #0b1829;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.quote-panel .ue-platform-rating:hover {
  border-color: #91acd5;
  box-shadow: 0 2px 8px rgb(25 59 107 / 8%);
}

.quote-panel .ue-platform-rating:focus-visible {
  outline: 3px solid #2860db;
  outline-offset: 2px;
}

.quote-panel .ue-platform-logo {
  display: block;
  flex-shrink: 0;
  max-width: 100%;
  object-fit: contain;
}

.quote-panel .ue-platform-logo--trustpilot {
  width: 96px;
  height: 23.32px;
}

.quote-panel .ue-platform-logo--google {
  width: 68px;
  height: 23px;
}

.ue-platform-rating-score {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.ue-platform-rating-score > span {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #50677e;
}

.ue-platform-rating-count {
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  color: #405a76;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-panel .ue-review-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 9px;
  font-size: .75rem;
  line-height: 1.3;
}

.ue-review-footer > a {
  flex-shrink: 0;
  font-weight: 750;
  color: #123f9c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 901px) and (max-height: 800px) {
  .warehouse-hero .ue-platform-rating {
    padding-block: 2px;
    min-height: 30px;
  }
}

@media (max-width: 560px) {
  .quote-panel .ue-platform-rating {
    column-gap: 7px;
    padding: 5px;
  }
  .ue-platform-rating-count {
    flex-basis: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-panel .ue-platform-rating { transition: none; }
}
