:root{
  --tlr-card-bg:#fff;
  --tlr-card-border:#e2e8f0;
  --tlr-card-radius:16px;
  --tlr-card-shadow:0 8px 24px rgba(15,23,42,.06);
  --tlr-card-text:#0f172a;
  --tlr-card-muted:#64748b;
  --tlr-status-active:#16a34a;
  --tlr-status-coming-soon:#0ea5e9;
  --tlr-status-pending:#f97316;
  --tlr-status-sold:#6b7280;
  --tlr-status-neutral:#475569;
}
.tlr-property-card,.tlr-card,.tlr-myhome-card{
  position:relative;background:var(--tlr-card-bg);border:1px solid var(--tlr-card-border);
  border-radius:var(--tlr-card-radius);overflow:hidden;box-shadow:var(--tlr-card-shadow)
}
.tlr-property-card-link,.tlr-myhome-open{display:block;width:100%;color:inherit;text-decoration:none}
.tlr-property-card-photo,.tlr-card-media,.tlr-myhome-photo{position:relative;overflow:hidden;background:#eef1f3}
.tlr-property-card-photo img,.tlr-card-img{display:block;width:100%;height:100%;object-fit:cover;opacity:1;visibility:visible;transition:transform .2s ease}.tlr-card-img-empty{background:linear-gradient(135deg,#e8eef1,#f8fafc)}
.tlr-property-card-link:hover .tlr-property-card-photo img,.tlr-card:hover .tlr-card-img{transform:scale(1.025)}
.tlr-property-card-badge,.tlr-status-pill,.tlr-myhome-status-badge{
  position:absolute;left:12px;top:12px;z-index:3;display:inline-flex;align-items:center;
  padding:7px 11px;border-radius:999px;font-size:11px;font-weight:800;line-height:1;
  letter-spacing:.05em;text-transform:uppercase;color:#fff;background:var(--tlr-status-neutral);
  box-shadow:0 6px 18px rgba(15,23,42,.18)
}
.tlr-property-card-badge-active,.tlr-status-active,.tlr-myhome-status-badge-active{background:var(--tlr-status-active)}
.tlr-property-card-badge-coming-soon,.tlr-status-coming-soon,.tlr-myhome-status-badge-coming-soon{background:var(--tlr-status-coming-soon)}
.tlr-property-card-badge-pending,.tlr-status-pending,.tlr-status-under-contract,.tlr-myhome-status-badge-pending{background:var(--tlr-status-pending)}
.tlr-property-card-badge-sold,.tlr-status-sold,.tlr-myhome-status-badge-sold{background:var(--tlr-status-sold)}
.tlr-property-card-body,.tlr-card-body,.tlr-myhome-body{color:var(--tlr-card-text)}
.tlr-property-card-body small,.tlr-myhome-body small{color:var(--tlr-card-muted)}

/* v3.13.2: universal compact-card geometry and spacing regression fix */
.tlr-property-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
}
.tlr-property-card-link{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-width:0;
  height:100%;
}
.tlr-property-card-photo{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  min-height:0;
  max-height:none;
  overflow:hidden;
  flex:0 0 auto;
}
.tlr-property-card-photo img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
  object-fit:cover;
  object-position:center;
}
.tlr-property-card-photo>span:not(.tlr-property-card-badge){
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:var(--tlr-card-muted);
  font-size:13px;
}
.tlr-property-card-body{
  display:grid;
  gap:5px;
  align-content:start;
  padding:14px 16px 16px;
  min-width:0;
  flex:1 1 auto;
}
.tlr-property-card-body>strong{
  display:block;
  margin:0;
  color:var(--tlr-card-text);
  font-size:20px;
  line-height:1.2;
}
.tlr-property-card-body>span{
  display:block;
  min-width:0;
  overflow-wrap:anywhere;
  color:var(--tlr-card-text);
  font-weight:600;
  line-height:1.35;
}
.tlr-property-card-body>small{
  display:block;
  line-height:1.4;
}
.tlr-property-card-status{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
@media (max-width:560px){
  .tlr-property-card-photo{aspect-ratio:16 / 10}
  .tlr-property-card-body{padding:13px 14px 15px}
}

/* v3.16.15 agent-only canonical workspace trigger on IDX search cards. */
.tlr-workspace-card-btn{font-size:21px;font-weight:500;line-height:1;color:#0f766e}.tlr-workspace-card-btn:hover,.tlr-workspace-card-btn:focus-visible{color:#115e59;background:#ecfdf5}

/* v3.17.24: full compact listing cards inside complete-search map popups. */
.leaflet-popup-content-wrapper:has(.tlr-map-listing-popup){padding:0;border-radius:16px;overflow:hidden}
.leaflet-popup-content:has(.tlr-map-listing-popup){margin:0;width:340px!important;max-width:calc(100vw - 48px)}
.tlr-map-listing-popup .tlr-card{border:0;border-radius:0;box-shadow:none;cursor:pointer}
.tlr-map-listing-popup .tlr-card-media{height:180px}
.tlr-map-listing-popup .tlr-card-body{padding:14px 16px 12px}
.tlr-map-listing-popup .tlr-card-footer{padding:11px 16px}
.tlr-map-listing-popup .tlr-action-btn{width:38px;height:38px}
.tlr-map-popup-loading,.tlr-map-popup-unavailable{padding:18px;min-width:240px;color:#334155;font-weight:600}
@media(max-width:560px){.leaflet-popup-content:has(.tlr-map-listing-popup){width:290px!important}.tlr-map-listing-popup .tlr-card-media{height:150px}}
.tlr-card .tlr-map-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:30px;height:30px;border:0;border-radius:999px;background:transparent;color:#fff;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;text-shadow:0 1px 4px rgba(0,0,0,.85)}
.tlr-card .tlr-map-gallery-prev{left:10px}.tlr-card .tlr-map-gallery-next{right:10px}
.tlr-card .tlr-map-gallery-nav:hover{background:rgba(0,0,0,.18)}.tlr-card .tlr-map-gallery-nav:focus-visible{outline:3px solid #2f7f8b;outline-offset:2px}

/* v3.21.9: legacy shortcode cards use the same save/share/hide affordances as the search cards. */
.tlr-property-card-actions,
.tlr-card-actions{
  position:absolute;
  z-index:4;
  right:10px;
  top:10px;
  display:flex;
  gap:7px;
  align-items:center;
}
.tlr-property-card .tlr-action-btn,
.tlr-card .tlr-action-btn{
  appearance:none;
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#0f172a;
  font-weight:800;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(15,23,42,.18);
}
.tlr-property-card .tlr-action-btn:hover,
.tlr-property-card .tlr-action-btn:focus-visible,
.tlr-card .tlr-action-btn:hover,
.tlr-card .tlr-action-btn:focus-visible{background:#fff;transform:scale(1.05);outline:none}
.tlr-property-card .tlr-fav-btn.active,
.tlr-card .tlr-fav-btn.active{color:#dc2626}
.tlr-property-card.is-hidden-by-user{display:none!important}

/* v3.21.79: hidden search cards leave no animated grid placeholder. */
.tlr-card.is-hidden-by-user{display:none!important}
