.lh-share-card{position:relative}
.lh-share-card .lh-card-link{color:inherit;text-decoration:none}
.lh-share-card .lh-card-link::after{content:"";position:absolute;inset:0;z-index:1}
.lh-share-card:focus-within{outline:2px solid #526d92;outline-offset:3px}
.lh-share-card .lf-public-listing-content{padding-bottom:56px}
.lf-public-premium .lh-property-share{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce4ef;border-radius:10px;background:#fff;color:#405670;box-shadow:none;font:600 13px/1.2 'DM Sans',sans-serif;min-height:44px;padding:10px 14px;cursor:pointer;text-transform:none;letter-spacing:0}
.lf-public-premium .lh-property-share:hover{background:#f0f4f9;color:#061b35;border-color:#b9c9de}
.lh-property-share svg{width:19px;height:19px}
.lf-public-premium .lh-share-card>.lh-property-share{position:absolute;bottom:8px;right:12px;z-index:2;border-color:transparent;background:transparent}
.lh-property-share-row{display:flex;justify-content:center;margin-top:16px}
.lh-property-share-row .lh-property-share{width:100%;background:#f5f7fb}
.lh-share-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:30px;border:1px solid #dce4ef;border-radius:22px;background:white;color:#071b35;box-shadow:0 20px 90px #071b3533;font-family:'DM Sans',sans-serif}
.lh-share-dialog::backdrop{background:#071b3577;backdrop-filter:blur(3px)}
.lh-share-dialog h2{font-size:25px;margin:0 32px 10px 0}.lh-share-dialog p{font-size:14px;color:#60718b}
.lh-share-dialog .lh-share-close{position:absolute;right:16px;top:16px;width:34px;height:34px;padding:0;border:0;border-radius:50%;box-shadow:none;background:#f0f4f9;color:#425670;font-size:24px;line-height:1}
.lh-share-options{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.lh-share-options a{padding:10px 12px;border:1px solid #dce4ef;border-radius:9px;text-decoration:none;color:#071b35;font-size:14px}
.lh-share-dialog label{display:block;font-size:13px;font-weight:600}.lh-share-dialog input{box-sizing:border-box;width:100%;margin:8px 0 12px;padding:12px;border:1px solid #dce4ef;border-radius:8px;font-size:14px}
.lh-share-dialog [data-share-copy]{width:100%;background:#ff0045;color:white;border:0;border-radius:10px;padding:13px;font-weight:700}

.lf-public-premium .lf-premium-property-facts{gap:12px;flex-wrap:wrap;margin-top:10px;min-height:44px}
.lf-public-premium .lf-premium-property-facts .lh-property-share{position:relative;z-index:2;margin-left:auto;padding:10px;min-width:44px;border:0;background:transparent;flex:none}
.lf-premium-property-facts .lh-property-share>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){.lf-public-premium .lf-premium-property-facts{gap:9px;font-size:12px}.lf-public-premium .lf-premium-property-facts svg{width:18px;height:18px}.lf-public-premium .lf-premium-property-facts>span{gap:5px}}


/* The agent panel is a portrait/details grid; sharing must span both columns. */
.single-lf_listing .lf-public-premium .lf-property-agent-card .lh-property-share-row{grid-column:1/-1;width:100%;min-width:0;margin-top:0;display:flex}
.single-lf_listing .lf-public-premium .lh-property-share-row>.lh-property-share{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;padding:13px 20px;border:1px solid #d5dfec;border-radius:12px;background:#f3f6fb;color:#0a2341;font-size:14px;font-weight:700;line-height:1.4;box-shadow:none}
.single-lf_listing .lf-public-premium .lh-property-share-row>.lh-property-share svg{display:block;flex:0 0 21px;width:21px;height:21px;fill:none;stroke:currentColor}
.single-lf_listing .lf-public-premium .lh-property-share-row>.lh-property-share:hover{background:#e8eef7;border-color:#afc1d8}
.single-lf_listing .lf-public-premium .lh-property-share-row>.lh-property-share:focus-visible{outline:3px solid #4167d6;outline-offset:3px}

/* Keep sharing in its own fixed-width column even when property facts wrap. */
.lf-public-premium .lf-premium-property-footer{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;align-items:end;margin-top:auto;padding-top:12px;min-width:0}
.lf-public-premium .lf-premium-property-footer .lf-premium-property-facts{margin-top:0;min-width:0;min-height:44px;align-content:center;gap:8px 12px}
.lf-public-premium .lf-premium-property-footer .lf-premium-property-facts>span{min-width:0;max-width:100%;white-space:normal;align-items:center}
.lf-public-premium .lf-premium-property-footer .lf-premium-property-facts>span>span{overflow-wrap:anywhere}
.lf-public-premium .lf-premium-property-footer .lf-premium-property-facts svg{flex:0 0 20px}
.lf-public-premium .lf-premium-property-footer>.lh-property-share{position:relative;align-self:end;z-index:2;padding:10px;min-width:44px;border:0;background:transparent}
.lf-premium-property-footer>.lh-property-share>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.lf-public-premium .lf-premium-property-footer .lf-premium-property-facts{flex-wrap:wrap}
.lf-public-premium.lf-agent-page .lf-agent-list-view .lf-premium-property-body{display:flex;flex-direction:column}
.lf-public-premium.lf-agent-page .lf-agent-list-view .lf-premium-property-footer .lf-premium-property-facts{margin:0;align-self:stretch}
