.sale-comps { margin-top:28px; padding:clamp(16px,3vw,30px); background:var(--panel); color:var(--text); border:1px solid var(--line); border-radius:18px; min-width:0 }
.sale-comps [hidden], .sale-comps[hidden] { display:none!important }
.sale-comps h3,.sale-comps h4,.sale-comps p { margin:0 }
.sale-comps button, .sale-comps input { font:inherit; color:inherit }
.sale-comps button { cursor:pointer }
.sale-comps h3 button { display:flex; align-items:center; gap:14px; justify-content:space-between; width:100%; padding:0; border:0; background:transparent; text-align:start; font-size:clamp(1.05rem,2vw,1.45rem); font-weight:700 }
.sale-comps h3 svg { width:20px; flex:none; transition:transform .15s }
.sale-comps h3 button[aria-expanded=true] svg { transform:rotate(180deg) }
.sale-comps .comps-scope,.sale-comps [role=status],.comps-list [aria-live] { margin-top:8px; color:var(--muted); font-size:.9rem }
.comps-price-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; margin:22px 0 14px }
.sale-comps .comps-current { text-align:start; background:transparent; border:0; padding:0; display:grid; gap:3px }
.comps-current small,.comps-bid { color:var(--muted); font-size:.85rem }
.comps-current strong { font-size:1.55rem; font-variant-numeric:tabular-nums }
.comps-see,.comps-range button,.comps-more,.sale-comps [data-c=retry] { min-height:42px; background:var(--panel-soft); border:1px solid var(--line); border-radius:10px; padding:7px 13px; font-weight:600 }
.comps-plot { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:8px; padding:8px 0 0; }
.comps-scale { height:128px; display:flex; flex-direction:column; justify-content:space-between; color:var(--muted); font:inherit; font-size:.78rem }
.comps-plane { position:relative; height:128px; margin-bottom:30px; background:linear-gradient(to bottom,var(--line) 1px,transparent 1px) 0 0 / 100% 50%; border-bottom:1px solid var(--line) }
.comps-plane svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none }
.comps-trend,.comps-marker { vector-effect:non-scaling-stroke; stroke:var(--brand); stroke-width:2.5; fill:none }
.comps-marker { stroke:var(--muted); stroke-width:1.5; stroke-dasharray:5 5 }
.sale-comps .comps-month { position:absolute; top:0; bottom:-28px; display:flex; justify-content:center; align-items:flex-end; border:none; padding:0; color:var(--muted); font-size:.78rem; background:transparent; }
.comps-month i { position:absolute; width:9px; height:9px; transform:translateY(-50%); border-radius:50%; border:2px solid var(--brand); background:var(--panel); }
.comps-month[aria-pressed=true] i { background:var(--brand); box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 16%,transparent) }
.comps-month[aria-pressed=true] span { color:var(--text); font-weight:700 }
.sale-comps .comps-bid { margin:10px 0 0; font-variant-numeric:tabular-nums }
.comps-list { margin-top:16px; border-top:1px solid var(--line); padding-top:16px; min-width:0 }
.comps-list header { display:flex; align-items:center; justify-content:space-between; gap:8px; background:transparent; position:static }
.comps-list h4 { font-size:1.05rem }
.comps-close { background:var(--panel-soft); border:0; border-radius:50%; width:40px; height:40px; flex:none; font-size:1.5rem!important }
.comps-range { margin:12px 0 6px; display:flex; flex-wrap:wrap; gap:8px; align-items:flex-end }
.comps-range label { min-width:0; max-width:130px; display:grid; gap:4px; color:var(--muted); font-size:.82rem }
.comps-range input { border:1px solid var(--line); min-height:42px; padding:6px 10px; width:100%; box-sizing:border-box; border-radius:9px; background:var(--panel-soft); color:var(--text); font-size:1rem }
.comps-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:8px; margin:10px 0; }
.comps-card { display:grid; grid-template-columns:76px minmax(0,1fr); align-items:center; gap:12px; padding:8px; border:1px solid var(--line); border-radius:12px; color:inherit; text-decoration:none; background:var(--panel) }
.comps-card:hover,.comps-card:focus-visible { background:var(--panel-soft) }
.comps-photo { width:76px; aspect-ratio:4/3; display:grid; place-items:center; background:var(--panel-soft); border-radius:7px; color:var(--muted); overflow:hidden }
.comps-photo img { width:100%; height:100%; object-fit:cover }
.comps-card b,.comps-card small,.comps-card strong { display:block; overflow-wrap:anywhere }
.comps-card b { font-size:.93rem }
.comps-card small { margin-top:3px; color:var(--muted); font-size:.79rem }
.comps-card strong { margin-top:4px; font-variant-numeric:tabular-nums }
.comps-sheet { position:fixed; inset:auto 0 0; width:100%; max-width:100%; max-height:84vh; max-height:84dvh; box-sizing:border-box; padding:16px 16px max(16px,env(safe-area-inset-bottom)); margin:0; background:var(--panel); color:var(--text); border:1px solid var(--line); border-radius:18px 18px 0 0; overscroll-behavior:contain }
.comps-sheet::backdrop { background:rgba(0,0,0,.58) }
.comps-sheet .comps-list { border:0; margin:0; padding:0 }
.sale-comps :focus-visible { outline:2px solid var(--text); outline-offset:2px }
@media(max-width:660px) {
  .sale-comps { margin-top:20px }
  .comps-range label { max-width:110px; flex:1 1 72px }
  .comps-card { grid-template-columns:70px minmax(0,1fr); gap:9px }
  .comps-photo { width:70px }
  .comps-plot { gap:4px }
}
