/* Inventory-first layouts; no source/freshness/availability gate is changed. */
a.inventory-action, .listing-card-actions>a, .buyers-card-body a, .listing-dialog-copy a.button, .buyers-dialog-body a.button {
 display:inline-flex;align-items:center;justify-content:center;min-height:48px;height:auto;
 padding:13px 17px;box-sizing:border-box;border:1px solid #10262b;background:#10262b;color:white;
 font:600 14px/1.5 var(--sans,"DM Sans",sans-serif);text-decoration:none;text-transform:none;
 letter-spacing:0;white-space:normal;max-width:100%;text-align:center;overflow:visible;
}
a.inventory-action:hover,.listing-card-actions>a:hover,.buyers-card-body a:hover{background:#23494e;color:white}
a.inventory-action:focus-visible,.compact-filters>summary:focus-visible{outline:3px solid #a96c26;outline-offset:4px}
.inventory-detail-copy>a.inventory-action{display:flex;width:100%;margin-top:22px}
.inventory-card-actions>a.inventory-action{flex:1;margin:0}
.inventory-card-actions{align-items:stretch}
body[data-first-screen]>.header,body[data-first-screen]>.site-header{position:relative!important;inset:auto!important;background:#10262b!important;z-index:5}
body[data-first-screen]>.site-header.dark-header,body[data-first-screen]>.site-header.interior{background:var(--paper,#f5f2eb)!important;color:var(--ink,#10262b)}
.compact-intro{width:min(1280px,calc(100% - 48px));margin:0 auto;padding:24px 0 16px;color:#10262b}
.compact-intro h1{font:400 clamp(30px,3.1vw,42px)/1.12 var(--serif,Georgia,serif);margin:0 0 8px;max-width:100%}
.compact-intro p{font-size:13px;line-height:1.5;margin:0;color:#465d60}
.directory-results,.residence-profiles.directory-results{width:min(1280px,calc(100% - 48px));margin:0 auto;padding:0 0 40px}
body[data-first-screen=directory] .building-grid{margin-top:0}
body[data-first-screen=directory] .building-grid .building-image img,body[data-first-screen=directory] .building-grid .building-photo img{height:200px}
body[data-first-screen=directory] .building-grid .building-copy,body[data-first-screen=directory] .building-grid .building-text{padding:20px}
.seaport-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.seaport-directory-card{background:white;border:1px solid #d8d3c8;display:flex;flex-direction:column;overflow:hidden;min-width:0}
.seaport-directory-card .building-image{margin:0}
.seaport-directory-card .building-image img{display:block;width:100%;height:200px;object-fit:cover}
.seaport-directory-card .building-copy{padding:20px;display:flex;flex-direction:column;flex:1}
.seaport-directory-card h2{font:400 32px/1.1 var(--serif,Georgia,serif);margin:0 0 14px}
.seaport-directory-card .building-copy>p{font-size:14px;line-height:1.65;margin:0 0 20px;color:#10262b}
.seaport-directory-card .homes-action{width:100%;margin-top:auto;text-align:center}
.residence-long-details{font-size:13px;margin-top:20px;padding-top:14px;border-top:1px solid #d8d3c8}
.residence-long-details>summary{cursor:pointer;min-height:44px;font-weight:600}
.residence-long-details .residence-market-strip{display:grid;grid-template-columns:1fr}
.residence-long-details .residence-market-strip strong{font-size:24px}
.residence-long-details .residence-decision-grid{display:block}
.residence-long-details .residence-context,.residence-long-details h3{font-size:14px}
.residence-long-details .amenity-list{display:block}
body[data-first-screen=search] .inventory-shell{padding:24px 24px 40px}
body[data-first-screen=search] .inventory-hero h1{font:400 clamp(30px,3.1vw,42px)/1.12 var(--serif,Georgia,serif);margin:0 0 8px}
body[data-first-screen=search] .inventory-hero p{font-size:13px;line-height:1.5;margin:0 0 16px}
.compact-filters{margin:0 0 12px;border:1px solid #c6d0cf;background:white;border-radius:3px;max-width:100%}
.compact-filters>summary{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:48px;padding:10px 14px;box-sizing:border-box;cursor:pointer;font-size:14px;color:#10262b}
.compact-filters>summary::after{content:"+";font-size:22px;line-height:1}
.compact-filters[open]>summary::after{content:"−"}
.compact-filters>summary span{font-size:12px;color:#52666a;margin-left:auto}
.compact-filters .inventory-filters,.compact-filters .listing-filters,.compact-filters .buyers-filters{margin:0;padding:16px;border:0;grid-template-columns:repeat(4,minmax(0,1fr));background:white}
.compact-filters[hidden]{display:none!important}
.compact-filters input,.compact-filters select{font-size:16px!important;min-height:44px!important}
.compact-done{min-height:48px;padding:12px 18px;margin:0 16px 16px;background:#10262b;color:#fff;border:0;border-radius:3px;font:600 14px/1.5 var(--sans,"DM Sans",sans-serif);cursor:pointer}
body[data-first-screen=search] .inventory-views{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:10px 0;max-width:100%;padding-bottom:2px}
body[data-first-screen=search] .inventory-views button{flex:0 0 auto;padding:8px 12px;min-height:44px;line-height:1.3;font-size:12px}
body[data-first-screen=search] .inventory-count{margin:10px 0 14px;font-size:14px;line-height:1.4}
.inventory-notes{margin-top:24px;font-size:13px;line-height:1.6}
.inventory-notes .inventory-status{padding:12px 0;font-size:12px}
body[data-first-screen=search] .listing-market.section,body[data-first-screen=search] .buyers-search.section{width:min(1280px,calc(100% - 48px));padding:0 0 40px;margin:0 auto}
body[data-first-screen=search] .listing-tabs{margin:0 0 10px}
body[data-first-screen=search] .listing-tabs button{min-height:44px;padding:8px;gap:7px;font-size:12px;letter-spacing:0;text-transform:none}
body[data-first-screen=search] .listing-tabs button span{font-size:16px}
body[data-first-screen=search] .listing-results-head,body[data-first-screen=search] .buyers-result-head{margin:12px 0 14px;padding:0;gap:10px;min-height:0;font-size:13px}
body[data-first-screen=search] .listing-results-head p,body[data-first-screen=search] .buyers-result-head p{margin:0;font-size:13px;line-height:1.45}
body[data-first-screen=search] .listing-results-head strong{font-size:16px;line-height:1.4;font-weight:600;display:inline}
body[data-first-screen=search] .listing-grid,body[data-first-screen=search] .buyers-grid{margin-top:0}
.search-secondary-guidance{margin-top:28px}
.compact-filters .listing-filter-tools{padding:0 16px 16px;margin:0}
.map-disclosure{width:min(1280px,calc(100% - 48px));margin:0 auto 30px;border-top:1px solid #c6d0cf;padding-top:12px}
.map-disclosure>summary{min-height:44px;font-size:15px;font-weight:600;cursor:pointer}
@media(max-width:900px){.seaport-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-filters .inventory-filters,.compact-filters .listing-filters,.compact-filters .buyers-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .compact-intro{width:calc(100% - 32px);padding:20px 0 14px}
 .compact-intro h1,body[data-first-screen=search] .inventory-hero h1{font-size:30px;line-height:1.13}
 .directory-results,.residence-profiles.directory-results,.map-disclosure{width:calc(100% - 32px)}
 .seaport-directory-grid{grid-template-columns:1fr}
 body[data-first-screen=directory] .building-grid .building-image img,body[data-first-screen=directory] .building-grid .building-photo img,.seaport-directory-card .building-image img{height:180px}
 body[data-first-screen=directory] .building-grid .building-copy,body[data-first-screen=directory] .building-grid .building-text{padding:20px}
 body[data-first-screen=search] .inventory-shell{padding:20px 16px 40px}
 body[data-first-screen=search] .inventory-photo,body[data-first-screen=search] .inventory-image-button .inventory-photo{height:160px}
 body[data-first-screen=search] .listing-card-media,body[data-first-screen=search] .buyers-card-media{height:160px}
 body[data-first-screen=search] .inventory-card-body,body[data-first-screen=search] .listing-card-body,body[data-first-screen=search] .buyers-card-body{padding:16px}
 body[data-first-screen=search] .inventory-card-body h3,body[data-first-screen=search] .listing-card-body h3,body[data-first-screen=search] .buyers-card-body h3{font-size:34px;line-height:1.15;margin:4px 0 8px}
 body[data-first-screen=search] .inventory-views{margin:6px 0}
 body[data-first-screen=search] .inventory-count{margin:8px 0 10px}
 body[data-first-screen=search] .listing-market.section,body[data-first-screen=search] .buyers-search.section{width:calc(100% - 32px)}
 .compact-filters>summary span{font-size:11px}
 .listing-results-head [data-market-range]{font-size:11px}
 .buyers-result-actions{gap:8px}
 a.inventory-action,.listing-card-actions>a,.buyers-card-body a{min-height:52px;font-size:14px;padding:13px 16px}
}
@media(max-width:350px){body[data-first-screen=search] .listing-card-media,body[data-first-screen=search] .buyers-card-media{height:140px}body[data-first-screen=search] .compact-intro{padding-top:14px;padding-bottom:10px}body[data-first-screen=search] .compact-filters{margin-bottom:8px}}
