.sell-price-estimate { margin: 22px 0; padding: 20px; border: 1px solid #e6d7d3; border-radius: 14px; background: #fff9f7; overflow-wrap: anywhere; }
.sell-price-estimate h3 { margin: 0 0 12px; font-size: 1.15rem; }
.sell-price-estimate .sell-price-context { font-size: .9rem; font-weight: 400; }
.sell-price-estimate p { margin: 10px 0; line-height: 1.5; }
.sell-price-values { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 20px; }
.sell-price-median-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; width: 100%; }
.sell-price-estimate .sell-price-median-row #sellPriceMapToggle { margin: 0; }
.sell-price-estimate .sell-price-range { font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 700; color: #8e2b23; }
.sell-price-estimate details { font-size: .9rem; }
.sell-price-estimate .sell-price-note { font-size: 1.15rem; color: var(--accent); }
.sell-price-estimate summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sell-price-estimate a { color: #8e2b23; }
.sell-price-estimate button { padding: 10px 18px; border: 1px solid #8e2b23; border-radius: 8px; color: #8e2b23; background: white; cursor: pointer; }
.sell-price-estimate [hidden] { display: none !important; }
.sell-price-estimate #sellPriceMapToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 14px 0 6px;
  padding: 14px 24px;
  border: 1px solid #a6192b;
  border-radius: 12px;
  background: linear-gradient(135deg, #c52a3b, #a6192b);
  color: #fff;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(100, 12, 30, .2);
}
.sell-price-estimate #sellPriceMapToggle:hover { background: #961a27; }
.sell-price-estimate #sellPriceMapToggle:focus-visible { outline: 3px solid #176ca4; outline-offset: 4px; }
@media (max-width: 600px) { .sell-price-estimate #sellPriceMapToggle { width: 100%; } }
.sell-price-estimate h4 { margin: 22px 0 8px; font-size: 1.1rem; }
#sellPriceMap { height: 360px; width: 100%; border-radius: 12px; border: 1px solid #d8dde2; overflow: hidden; isolation: isolate; }
.sell-price-map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.sell-price-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #a6192b; }
.sell-price-dot-address { background: #176ca4; }
.sell-price-map-popup { max-height: 230px; overflow-y: auto; }
#sellPriceTransactions { max-height: 280px; overflow-y: auto; padding-left: 22px; }
#sellPriceTransactions li { padding: 7px 0; line-height: 1.5; }
@media (max-width: 600px) { #sellPriceMap { height: 300px; } }
html.sell-map-modal-open { overflow: hidden; }
.sell-price-map-dialog {
  box-sizing: border-box;
  width: min(1100px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 24px;
  border: 1px solid #e6d7d3;
  border-radius: 20px;
  background: #fff9f7;
  color: #222;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
  overflow-y: auto;
}
.sell-price-map-dialog::backdrop { background: rgba(8, 26, 48, .68); }
.sell-price-map-dialog #sellPriceMap { height: clamp(280px, 52dvh, 560px); }
.sell-price-estimate .sell-price-map-close { display: block; margin-left: auto; min-height: 44px; font: inherit; font-weight: 700; }
.sell-price-map-close:focus-visible { outline: 3px solid #176ca4; outline-offset: 3px; }
