/* Listing preview (29 Nov 2026): a generic portal-style search card and listing view. No portal logo, colour or
   trade dress. Used by the agent's tool (js/listing-preview.js) and by the seller page (server/listingpreview.js
   reads this file), so every colour is fixed: the mock-up looks the same in both, in light or dark. Phone first:
   the two panes stack, and nothing is wider than its box. */
.lp { display:grid; gap:16px; grid-template-columns:minmax(0,1fr); max-width:100%; }
.lp * { box-sizing:border-box; }
.lp-label { margin:0 0 6px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#5b6b80; }
.lp-pane { min-width:0; }
.lp-card, .lp-view { background:#fff; color:#16202e; border:1px solid #dde5ee; border-radius:10px; overflow:hidden; max-width:420px; }
.lp-view { max-width:560px; }
.lp-banner { margin:0; padding:8px 12px; background:#fff4d6; color:#5a4300; border-bottom:1px solid #f0d98a; font-size:13px; font-weight:600; line-height:1.35; }
.lp-card-photo, .lp-view-photo { position:relative; aspect-ratio:4 / 3; background:#e8edf3; }
.lp-card-photo img, .lp-view-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.lp-tag { position:absolute; left:8px; top:8px; padding:2px 8px; border-radius:999px; background:rgba(22,32,46,.82); color:#fff; font-size:12px; font-weight:700; }
.lp-card-body, .lp-view-body { padding:10px 12px 12px; }
.lp-price { margin:0; font-size:22px; font-weight:800; line-height:1.2; }
.lp-facts { margin:4px 0 0; font-size:15px; }
.lp-dot { color:#9aa8b8; }
.lp-addr, .lp-built { margin:4px 0 0; font-size:14px; color:#5b6b80; }
.lp-strip { display:flex; gap:6px; padding:6px; overflow-x:auto; scroll-snap-type:x mandatory; background:#f4f7fb; }
.lp-strip img { flex:0 0 auto; width:96px; height:72px; object-fit:cover; border-radius:6px; scroll-snap-align:start; }
.lp-note { margin:0; font-size:13px; color:#5b6b80; }
@media (min-width: 900px) { .lp { grid-template-columns:minmax(0,420px) minmax(0,560px); align-items:start; } .lp-note { grid-column:1 / -1; } }

/* The agent's picker (a CRM modal). */
.lpk-photos { display:grid; grid-template-columns:repeat(auto-fill, minmax(104px, 1fr)); gap:8px; margin:0 0 10px; }
.lpk-pic { border:1px solid var(--border, #dde5ee); border-radius:8px; padding:4px; display:flex; flex-direction:column; gap:4px; min-width:0; }
.lpk-pic img { width:100%; aspect-ratio:4 / 3; object-fit:cover; border-radius:6px; background:#e8edf3; }
.lpk-pic.lpk-off { opacity:.6; }
.lpk-pic label { display:flex; gap:6px; align-items:flex-start; font-size:12px; line-height:1.3; }
.lpk-why { font-size:12px; color:#a3341f; }
.lpk-order { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px; }
.lpk-chip { display:flex; align-items:center; gap:4px; border:1px solid var(--border, #dde5ee); border-radius:999px; padding:2px 4px 2px 10px; font-size:13px; }
.lpk-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 10px; }
@media (max-width: 700px) {
  .lpk-photos { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .lpk-chip .btn, .lpk-row .btn, .lpk-row input[type=text] { min-height:36px; }
  .lpk-row input[type=text] { flex:1 1 140px; min-width:0; }
}
