/* Saved Homes, release 1. Matches City Search V2 (deep green, warm white, Bricolage Grotesque and Instrument Sans). */

/* Heart on cards: over the photo's top-right corner, outside the photo link so it never opens the listing. */
.ltx2-card,.ltx-card{position:relative}
.ltxs-heart{position:absolute;top:10px;right:10px;z-index:2;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 2px 8px rgba(21,35,31,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease}
.ltxs-heart svg{fill:transparent;stroke:#1d4a3f;stroke-width:1.8;transition:fill .15s ease}
.ltxs-heart[aria-pressed="true"] svg{fill:#1d4a3f}
.ltxs-heart:hover{transform:scale(1.06)}
.ltxs-heart:focus-visible{outline:3px solid #c76a2f;outline-offset:2px}
@media (max-width:600px){.ltxs-heart{width:48px;height:48px;top:8px;right:8px}}
@media (prefers-reduced-motion:reduce){.ltxs-heart,.ltxs-heart svg{transition:none}}

/* Listing page button keeps its look; the filled heart shows the saved state. */
.lp-btn[data-ltxs][aria-pressed="true"] svg{fill:currentColor}

/* Header link with a count, visible on phones without opening the menu. */
.ltxs-head{position:relative}
.ltxs-head svg{fill:transparent;stroke:#101614;stroke-width:2}
.ltxs-count{position:absolute;top:-2px;right:-4px;min-width:19px;height:19px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#1d4a3f;color:#fff;font:600 11px/19px 'Instrument Sans',system-ui,sans-serif;text-align:center}
.ltxs-count[hidden]{display:none}

/* Screen reader announcements. */
.ltxs-live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* The page. */
.ltxs-page{max-width:1280px;margin:0 auto;padding:32px 24px 72px;display:flex;flex-direction:column;gap:26px}
.ltxs-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.ltxs-intro{display:flex;flex-direction:column;gap:6px;max-width:680px}
.ltxs-h1{font-size:42px;line-height:1.08;letter-spacing:-.02em}
.ltxs-count-line{margin:0;font-size:18px;color:var(--x-ink2)}
.ltxs-note{margin:0;font-size:15px;color:var(--x-mute)}
.ltxs-warn{color:#8a3b0c}
.ltxs-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ltxs-tools[hidden],.ltxs-confirm[hidden],.ltxs-empty[hidden],.ltxs-error[hidden],.ltxs-btn[hidden]{display:none}
.ltxs-btn{min-height:44px;padding:0 14px;border:1px solid var(--x-edge);border-radius:8px;background:#fff;color:var(--x-ink);font:500 15px 'Instrument Sans',system-ui,sans-serif;cursor:pointer}
.ltxs-btn:focus-visible,.ltxs-cta:focus-visible,.ltxs-gone a:focus-visible{outline:3px solid #c76a2f;outline-offset:2px}
.ltxs-danger{background:#8a3b0c;border-color:#8a3b0c;color:#fff;font-weight:600}
.ltxs-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 8px 8px 14px;border:1px solid #e0b9a0;background:#fdf3ec;border-radius:10px;font-size:15px}
.ltxs-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:28px 22px}
.ltxs-gone{display:flex;flex-direction:column;gap:10px;min-width:0}
.ltxs-gone-box{aspect-ratio:3/2;border-radius:10px;border:1px dashed #b9c2ba;background:var(--x-field);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;text-align:center;font-size:17px}
.ltxs-gone p{margin:0;font-size:16px;color:var(--x-ink2)}
.ltxs-gone-act{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ltxs-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:56px 24px;background:#fff;border:1px solid var(--x-line);border-radius:14px}
.ltxs-empty svg{fill:none;stroke:#1d4a3f;stroke-width:1.5}
.ltxs-empty h2{font-size:28px}
.ltxs-empty p{margin:0;max-width:520px;color:var(--x-ink2)}
.ltxs-cta{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:8px;background:#1d4a3f;color:#fff;text-decoration:none;font-weight:600}
.ltxs-cta:hover{background:#12322a;color:#fff}
.ltxs-error{margin:0;padding:12px 14px;border:1px solid #e5a29a;background:#fcebea;color:#7a1f14;border-radius:8px}
.ltxs-notices{font-size:13px;color:var(--x-mute)}
@media (max-width:600px){.ltxs-page{padding:20px 16px 56px}.ltxs-h1{font-size:32px}}

/* Header fit. The Saved Homes link stays visible on phones without opening the menu. On laptop widths the
   header was already wider than the window before this feature; tighter spacing fixes that, and below 1240 px
   the menu button takes over from the full menu. */
.hdr .hdr-act .ltxs-head{display:inline-flex;width:44px;height:44px}
@media (min-width:1101px) and (max-width:1440px){.hdr-in{gap:12px}.hdr-act{gap:6px}.hdr-act .icon-btn{width:44px;height:44px}.nav2>li>a{padding:0 7px;font-size:14px}.v4-live{padding-left:10px;padding-right:10px}}
@media (min-width:1101px) and (max-width:1240px){.hdr .nav{display:none}.hdr .mnav{display:block}}
