.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.count-line {
  margin: .65rem 0 0;
  color: var(--forest);
  font-weight: 700;
}

.residence-price {
  align-items: baseline;
  gap: .75rem;
}

.residence-price > span {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sold-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sold-divider::before,
.sold-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.sold-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.sold-card {
  grid-column: span 2;
  background: #eeeae2;
  border-color: rgba(17, 24, 21, .19);
}

.sold-card > :not(.card-topline) {
  color: rgba(17, 24, 21, .76);
}

.sold-card .residence-price strong {
  color: rgba(17, 24, 21, .78);
}

.sold-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .35rem .72rem;
  border-radius: 999px;
  background: #d92d20;
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
}

.options-notice,
.mechanics-card,
.calculator-note {
  margin-top: 1.2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .66);
}

.mechanics-card {
  font-size: 1rem;
  line-height: 1.72;
}

.mechanics-card p:first-child { margin-top: 0; }
.mechanics-card p:last-child { margin-bottom: 0; }

.range-control {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
}

.range-control > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.range-control output {
  color: var(--forest);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.range-control input[type="range"] {
  width: 100%;
  min-height: 44px;
  margin: .35rem 0 0;
  accent-color: var(--forest);
  cursor: pointer;
}

.range-ends {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .75rem;
}

.range-control small {
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  line-height: 1.45;
}

.result-list dt {
  max-width: 72%;
}

.result-hero strong,
.result-list dd {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .result-hero strong { font-size: clamp(1.35rem, 7vw, 1.75rem); }
}

@media (max-width: 900px) {
  .sold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sold-card { grid-column: span 2; }
}

@media (max-width: 600px) {
  .mobile-summary > div { min-width: 0; padding-inline: .2rem; }
  .mobile-summary span {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 2.25em;
    overflow: visible;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
    font-size: .54rem;
    line-height: 1.08;
  }
  .mobile-summary strong { white-space: nowrap; }
  .sold-grid { grid-template-columns: 1fr; }
  .sold-card { grid-column: auto; }
  .sold-divider { font-size: .68rem; text-align: center; }
  .range-control > div:first-child { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .result-list dt { max-width: 66%; }
  .options-notice, .mechanics-card, .calculator-note { padding: 1rem; }
}
