.listing-prices { margin: 12px 0 6px; }
.listing-price-label { display: block; color: #56714a; font-size: 11px; font-weight: 650; }
.listing-prices .card-price { display: block; margin: 2px 0; font-weight: 650; }
.listing-prices .listing-price-unknown { font-size: 17px; letter-spacing: -.3px; }
.listing-car-price { margin: 2px 0 0; color: #4e6547; font-size: 13px; }
.listing-car-price span { color: #65775d; font-size: 11px; }
.card-content > .cost-link { padding-top: 9px; }

.estimate-facts {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.estimate-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  background: #edf2e6;
  color: #4c6142;
  font-size: 12px;
  padding: 5px 9px;
}

.estimate-flag summary {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f8df8d;
  color: #603e00;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.estimate-flag summary::-webkit-details-marker { display: none; }
.estimate-flag--red summary { background: #f8d1ce; color: #8c261c; }
.estimate-flag > span {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  width: min(300px, 100%);
  padding: 10px 12px;
  border: 1px solid #d5dfcc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px #1c351627;
  color: #3f523a;
  font-size: 12px;
  line-height: 1.5;
}

.estimate-rows {
  overflow: hidden;
  border: 1px solid #dce5d4;
  border-radius: 12px;
  background: #fff;
}
.estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 9px 16px;
  border-bottom: 1px solid #e8eee3;
  font-size: 13px;
}
.estimate-row b { white-space: nowrap; font-weight: 650; font-variant-numeric: tabular-nums; }
.estimate-row small {
  color: #53694c;
  font-size: 10px;
  border-radius: 5px;
  background: #edf2e7;
  padding: 2px 5px;
  margin-left: 3px;
  white-space: nowrap;
}
.estimate-rows > .estimate-row:last-child { border-bottom: 0; }
.estimate-customs summary { cursor: pointer; list-style: none; }
.estimate-customs summary::-webkit-details-marker { display: none; }
.estimate-customs summary span::before { content: '▸'; margin-right: 6px; color: #526d44; }
.estimate-customs[open] summary span::before { content: '▾'; }
.estimate-customs > div { padding-left: 27px; background: #f7f9f3; font-size: 12px; }
.estimate-note, .estimate-missing { margin: 10px 0; color: #586a51; font-size: 12px; }
.estimate-missing { padding: 9px 12px; border-radius: 8px; background: #fbf3dd; color: #674b1f; }
.estimate-assumptions { margin-block: 8px 12px; }
.calculator-advanced > summary {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 540px) {
  .estimate-row { padding-inline: 12px; font-size: 12px; }
  .estimate-fact { font-size: 11px; }
}
