.rs-condition-history-panel {
  margin: 12px 0;
  border: 1px solid rgba(8, 24, 29, .1);
  border-radius: 16px;
  background: #f8fbfa;
  overflow: hidden;
}

.rs-condition-history-panel > summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--rs-ink, #08181d);
  list-style-position: inside;
}

.rs-condition-history-panel > summary span {
  display: inline-grid;
  gap: 2px;
  margin-left: 6px;
}

.rs-condition-history-panel > summary strong {
  font-size: 13px;
  font-weight: 950;
}

.rs-condition-history-panel > summary small {
  color: var(--rs-muted, #5f6f72);
  font-size: 11px;
  font-weight: 750;
}

.rs-condition-history-body {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.rs-condition-history-body > p {
  margin: 0;
  color: var(--rs-muted, #5f6f72);
  font-size: 12px;
  line-height: 1.45;
}

.rs-condition-history-points {
  display: grid;
  gap: 7px;
}

.rs-condition-history-point {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(8, 24, 29, .08);
  border-radius: 13px;
  background: #fff;
}

.rs-condition-history-point > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.rs-condition-history-point > span strong {
  overflow-wrap: anywhere;
  color: var(--rs-ink, #08181d);
  font-size: 12px;
  font-weight: 900;
}

.rs-condition-history-point > span small {
  color: var(--rs-muted, #5f6f72);
  font-size: 11px;
  font-weight: 750;
}

.rs-condition-history-point > b {
  max-width: 150px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef5f3;
  color: #294541;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.rs-condition-history-point.is-missing > b {
  background: #f3f5f5;
  color: var(--rs-muted, #5f6f72);
}

.rs-condition-history-point.is-condition-excellent > b,
.rs-condition-history-point.is-condition-good > b,
.rs-condition-history-point.is-condition-green > b {
  background: rgba(66, 215, 159, .14);
  color: #0d6f55;
}

.rs-condition-history-point.is-condition-fair > b,
.rs-condition-history-point.is-condition-worn > b,
.rs-condition-history-point.is-condition-orange > b {
  background: #fff5d8;
  color: #795500;
}

.rs-condition-history-point.is-condition-poor > b,
.rs-condition-history-point.is-condition-red > b {
  background: #fff0ed;
  color: #973b2f;
}

.rs-cloud-master-search {
  display: grid;
  gap: 6px;
}

.rs-cloud-master-search > span {
  color: var(--rs-muted, #5f6f72);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rs-cloud-master-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(8, 24, 29, .13);
  border-radius: 14px;
  background: #fff;
  color: var(--rs-ink, #08181d);
  font: inherit;
  font-size: 16px;
}

.rs-cloud-master-search input:focus {
  outline: 3px solid rgba(66, 215, 159, .2);
  border-color: rgba(13, 111, 85, .42);
}

.rs-cloud-master-search-empty {
  padding: 12px;
  border: 1px dashed rgba(8, 24, 29, .15);
  border-radius: 14px;
  background: #fbfdfd;
  color: var(--rs-muted, #5f6f72);
  font-size: 13px;
  font-weight: 850;
}

.rs-cloud-master-search-empty[hidden] {
  display: none !important;
}

.rs-cloud-master-property[data-rs-cloud-master-search-hidden="1"] {
  display: none !important;
}

@media (max-width: 520px) {
  .rs-condition-history-point {
    grid-template-columns: 1fr;
  }

  .rs-condition-history-point > b {
    max-width: none;
    justify-self: stretch;
  }
}
