/* Strong editorial headings and comfortable reading text; icon captions keep
   their existing compact sizes. No blanket scaling of controls or navigation. */
body #app :is(h1,h2,h3){font-weight:800;letter-spacing:-.025em}
body #app :is(.body-copy,.lead,.intake-heading p,.seller-hero p,.account-intro,.account-start-card p,.mi-method p,.mi-method li){font-size:16px;line-height:1.65}
body .property-card .price{font-weight:800;letter-spacing:-.035em}
body .property-card h3{font-weight:700}
body :is(.page-heading,.account-heading,.directory-heading) h1{font-size:clamp(28px,3.1vw,42px);line-height:1.18}

/* Property reading surface: photo controls above, clear facts below. */
body .property-window{color:#171b23}
body .property-window .property-body{background:#fff;color:#171b23;padding:22px}
body .property-window .property-heading{display:flex;flex-direction:column;align-items:stretch;gap:10px}
body .property-window .property-heading>.price{order:0;font-size:clamp(32px,3.5vw,42px);font-weight:800;letter-spacing:-.045em;line-height:1.15;color:#101217;direction:ltr;text-align:start;unicode-bidi:isolate}
html[dir=rtl] body .property-window .property-heading>.price{text-align:right}
body .property-window .property-heading .specs{order:1;margin:0;display:flex;flex-wrap:wrap;gap:9px 16px;font-size:18px;line-height:1.4;font-weight:500}
body .property-window .property-heading .specs>span{padding:0;border:0;border-radius:0;background:none;white-space:nowrap}
body .property-window .property-identity{order:2}
body .property-window .detail-title{font-size:20px;line-height:1.45;font-weight:600;letter-spacing:0;margin:0}
body .property-window .property-location{font-size:15px;line-height:1.5;color:#58616b;margin-top:3px}
body .property-window .body-copy{font-size:16px;line-height:1.75}
body .property-window :is(.property-facts-card,.property-description,.property-nearby){border:1px solid #eff0f2;border-radius:20px;padding:22px;margin:22px 0;background:#fff;box-shadow:0 7px 28px #1823300a}
body .property-window :is(.property-facts-card,.property-description,.property-nearby) h3{font-size:23px;font-weight:800;line-height:1.25;margin-bottom:18px;color:#171b23}
body .property-window .property-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}
body .property-window .property-fact{display:flex;align-items:center;gap:12px;font-size:16px;line-height:1.5;min-width:0}
body .property-window .property-fact svg{width:24px;height:24px;color:#333a45}
body .property-window .property-fact span{overflow-wrap:anywhere}
body .property-window .property-finance-band{margin:18px 0 12px;border-radius:12px;background:#176c68;color:#fff}
body .property-window .property-finance-band .property-finance{width:100%;justify-content:space-between;border:0;border-radius:12px;min-height:46px;padding:10px 16px;background:transparent;color:inherit;font-size:16px;font-weight:700}
body .property-window .property-finance-band .property-finance:hover{background:#105b58}
body .property-window .property-photo-tools{position:absolute;top:12px;right:12px;z-index:45;display:flex;align-items:center;gap:2px;padding:2px 7px;border:1px solid #ffffffa6;border-radius:999px;background:#f9fcffe0;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 2px 10px #172d4212}
body .property-window .property-photo-tools .property-share{position:static;color:#253949}
body .property-window .property-photo-tools #detail-save{flex:0 0 40px;width:40px;height:40px}
body .property-window .property-photo-tools .property-share{width:40px;height:40px;padding:8px}
body .property-window .property-photo-tools #detail-save svg{width:25px;height:25px}
body .property-window .media-tabs{max-width:calc(100% - 180px)}
body .property-window .photo-fullscreen{top:auto;bottom:12px;right:12px}
body .property-window .property-meta{padding-left:0;min-height:0;margin:12px 0 4px}
body .property-window .property-listing-note{font-size:12px;line-height:1.55;color:#76684f}
body .property-window .feature-list span{font-size:14px;padding:6px 10px;background:#f1f3f6;border:0;color:#343a43}
body .property-window .property-disclosure>summary{font-size:17px;font-weight:700;padding-block:18px}
body .property-window .data-row{font-size:14px;line-height:1.5}
body .property-window .nearby-row strong{font-size:15px;font-weight:600}
body .property-window .nearby-distance{font-size:14px}
body .property-window .property-actions{background:#fff;border-top:1px solid #e6e9ef;box-shadow:0 -3px 15px #172d4208}
body .property-window .property-actions .property-contact{flex:1;min-height:44px;font-size:15px;border-radius:12px;margin:0;padding:10px 14px}
body .property-window .property-actions .property-secondary-actions{flex:0 0 auto}
@media(max-width:760px){
 body .mobile-property-view .property-detail-sheet{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;border-radius:24px 24px 0 0;box-shadow:0 -6px 30px #14202c24}
 body .mobile-property-view .property-detail-grip{flex-basis:26px;min-height:26px;padding:8px 0;gap:0;background:#fff}
 body .mobile-property-view .property-detail-grip>span{width:42px;height:5px;background:#d0d2d6}
 body .mobile-property-view .property-detail-grip small{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 body .mobile-property-view .property-body{padding:0 18px 18px!important;background:#fff}
 body .mobile-property-view .property-heading{gap:8px}
 body .mobile-property-view .property-heading>.price{font-size:34px;line-height:1.15}
 body .mobile-property-view .property-heading .specs{font-size:17px;gap:8px 16px;margin:0}
 body .mobile-property-view .detail-title{font-size:17px;line-height:1.4;font-weight:500}
 body .mobile-property-view .property-location{font-size:14px}
 body .mobile-property-view .property-detail-sheet[data-snap=peek] .specs>span:last-child{display:inline}
 body .mobile-property-view .property-detail-sheet[data-snap=peek] .property-location{display:block}
 body .mobile-property-view .property-detail-sheet>.property-actions{background:#fff;border-top:1px solid #e6e9ef;min-height:52px;padding:6px 16px max(6px,env(safe-area-inset-bottom));justify-content:flex-end}
 body .mobile-property-view .property-photo-tools{top:max(12px,env(safe-area-inset-top))}
 body .mobile-property-view .property-photo-feed::after{content:'';position:fixed;inset:0;background:#111923;opacity:calc(var(--detail-sheet-progress,0)*.24);pointer-events:none}
 body .mobile-property-view :is(.property-facts-card,.property-description,.property-nearby){padding:18px;margin:20px 0;border-radius:18px}
 body .mobile-property-view :is(.property-facts-card,.property-description,.property-nearby) h3{font-size:22px}
 body .mobile-property-view .property-facts-grid{gap:20px 14px}
 body .mobile-property-view .property-fact{font-size:16px;gap:10px}
 body .mobile-property-view .property-swipe-nav{margin-top:8px}
 body .mobile-property-view .property-swipe-hint{font-size:11px}
}
@media(max-width:360px){
 body .mobile-property-view .property-heading>.price{font-size:30px}
 body .mobile-property-view .property-heading .specs{font-size:16px;gap:8px 12px}
 body .mobile-property-view .property-fact{font-size:15px;gap:8px}
 body .mobile-property-view .property-photo-tools{right:8px;padding-inline:3px}
 body .property-window .media-tabs button{padding-inline:8px;font-size:11px}
}

body .property-window .property-heading .specs>span{display:inline-flex;align-items:center;gap:6px}
body .property-window .property-heading .specs svg{width:18px;height:18px;color:#666d77}
body .property-window .property-detail-sheet[data-snap=peek] .specs>span:last-child{display:inline-flex}
/* Reset the older grid placement now that summary and actions have their own rows. */
body .property-window .property-overview{display:block;margin-bottom:0}
body .property-window .property-heading>.price{max-width:none}
body .mobile-property-view .property-detail-sheet .property-meta{padding-inline:0}
body .mobile-property-view:not(:has(.property-detail-sheet.is-dragging)) .property-photo-feed::after{transition:opacity .24s ease}
@media(prefers-reduced-motion:reduce){body .mobile-property-view .property-photo-feed::after{transition:none!important}}
.property-dining-highlights{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e4e8ed}
.property-dining-highlights h4{display:flex;align-items:center;gap:9px;margin:14px 0 10px;font-size:18px;color:#171b23}
.property-dining-highlights h4 svg,.property-fact>svg{flex-shrink:0}

/* Nearby lists grow with their content inside the property’s main scroll area. */
body .property-window .property-body>*,
body .property-window #property-visitor-disclosure{flex-shrink:0}
body .property-window #visitor-guide,
body .property-window .visitor-groups,
body .property-window .visitor-group,
body .property-window .visitor-places{height:auto;max-height:none;min-width:0;overflow:visible}
body .property-window .visitor-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body .property-window .visitor-group{background:#f6f9fc;border:1px solid #e5ebf2;border-radius:14px}
body .property-window .visitor-place>span:first-child{min-width:0;overflow-wrap:anywhere}
body .property-window .visitor-distance{flex-shrink:0}
body .property-window .nearby-facilities{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){
 body .property-window .visitor-groups,
 body .property-window .property-nearby .nearby-facilities{grid-template-columns:minmax(0,1fr)}
}
