.status-hidden{display:none!important}
.status-toolbar{display:grid;grid-template-columns:80px 112px minmax(80px,1fr);gap:8px;align-items:start;margin:0 0 12px}
.history-tabs{display:contents}
.history-tabs>button{height:48px;min-width:0;padding:8px 5px;border:1px solid #a9b9bb;background:white;color:#10262b;border-radius:3px;font:600 12px/1.3 var(--sans,"DM Sans",sans-serif);cursor:pointer}
.history-tabs>button[aria-pressed=true]{background:#10262b;color:white;border-color:#10262b}
.status-toolbar .compact-filters{margin:0}
.status-toolbar .compact-filters>summary{padding:10px;font-size:13px}
.status-toolbar .compact-filters>summary span{display:none}
.status-toolbar .compact-filters[open]{grid-column:1/-1}
.reference-results{margin:10px 0 0;color:#10262b}
.reference-count{font-size:14px;line-height:1.5;margin:0 0 14px;font-weight:600}
.reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.history-card{min-width:0;background:white;border:1px solid #d1d9d7;padding:22px}
.history-badge{display:inline-block;background:#10262b;color:white;padding:6px 10px;font-size:12px;margin:0 0 14px}
.history-card h3{font:400 36px/1.1 var(--serif,Georgia,serif);margin:0 0 12px}
.history-card .history-address{font-weight:600;font-size:15px;line-height:1.45}
.history-card p{font-size:13px;line-height:1.5;margin:9px 0}
.history-date,.history-facts{color:#52666a}
.history-detail,.history-more{min-height:44px;padding:10px 16px;border:1px solid #10262b;background:white;color:#10262b;font:600 13px/1.5 var(--sans,"DM Sans",sans-serif);cursor:pointer}
.history-detail{width:100%;margin-top:14px}
.history-more{margin-top:20px}
.reference-context{font-size:12px;line-height:1.65;color:#52666a;margin-top:24px}
.reference-empty{background:white;border:1px solid #d1d9d7;padding:24px}
.reference-empty h2{font:400 28px/1.15 var(--serif,Georgia,serif);margin:0 0 14px}
.reference-empty p{font-size:14px;line-height:1.6}
.history-dialog{width:min(720px,calc(100% - 28px));max-height:90svh;overflow:auto;border:0;padding:24px;color:#10262b;background:#f5f2eb}
.history-dialog::backdrop{background:#00191dcc}
.history-dialog h2{font:400 34px/1.15 var(--serif,Georgia,serif);margin:22px 0 12px}
.history-dialog p{font-size:15px;line-height:1.6}
.history-dialog .history-price{font:400 36px/1.1 var(--serif,Georgia,serif)}
.history-close{min-height:44px;border:1px solid #10262b;background:white;color:#10262b;padding:10px 16px;font-size:14px;cursor:pointer}
.history-dialog .homes-action{display:flex;width:100%;margin-top:24px}
@media(max-width:900px){.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.status-toolbar{grid-template-columns:70px 98px minmax(70px,1fr);gap:6px;margin-bottom:12px}.history-tabs>button{font-size:11px}.reference-grid{grid-template-columns:1fr}.history-card{padding:20px}.history-card h3{font-size:34px}}

@media(max-width:350px){.status-toolbar{margin-bottom:2px}}

@media(max-width:350px){body[data-first-screen=search] .status-toolbar .compact-filters{margin-bottom:0}body[data-first-screen=search] .buyers-card-media{height:132px}}
