/* Listing page (the shared link): photos whole over their blur, essentials first, details folded, actions fixed. */
.lp{max-width:720px;margin:0 auto;padding-bottom:84px}
.lp-stage{position:relative;height:min(58vh,480px);background:#0b1a33;overflow:hidden;border-radius:0 0 var(--r-l) var(--r-l)}
.lp-strip{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:none}
.lp-strip::-webkit-scrollbar{display:none}
.lp-slide{position:relative;flex:none;width:100%;height:100%;scroll-snap-align:start;overflow:hidden}
.lp-blur{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(24px) brightness(.55);transform:scale(1.15)}
.lp-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.lp-nophoto{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}
.lp-top{position:absolute;left:14px;right:14px;top:14px;display:flex;justify-content:space-between}
.lp-round{width:42px;height:42px;border-radius:50%;border:0;background:rgba(9,20,40,.5);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.lp-dots{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:6px}
.lp-dots span{width:7px;height:7px;border-radius:4px;background:rgba(255,255,255,.5);transition:width .2s}
.lp-dots span.on{width:18px;background:#fff}
.lp-count{position:absolute;right:14px;bottom:10px;padding:4px 10px;border-radius:var(--r-full);background:rgba(9,20,40,.55);color:#fff;font-size:12px;font-weight:600}
.lp-sheet{padding:18px 18px 8px}
.lp-price{margin:0;font-size:30px;font-weight:800;letter-spacing:-.5px}
.lp-price small{font-size:14px;font-weight:500;color:var(--muted);letter-spacing:0}
.lp h1{font-size:20px;line-height:1.3;margin:6px 0 2px}
.lp-where{margin:0;color:var(--muted);font-size:14.5px}
.lp-facts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.lp-facts span{padding:8px 12px;border-radius:var(--r-s);background:var(--soft);font-size:13.5px;font-weight:600}
.lp-desc{font-size:15px;line-height:1.55;margin:0 0 12px;white-space:pre-line}
.lp-fold{border:1px solid var(--line);border-radius:var(--r-s);margin-bottom:8px;background:var(--surface)}
.lp-fold summary{cursor:pointer;padding:14px 16px;font-weight:700;font-size:14.5px}
.lp-fold summary small{font-weight:500;color:var(--muted)}
.lp-fold>div{padding:0 16px 14px}
.lp-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;font-size:14px;color:var(--muted)}
.lp-grid b{color:var(--text);font-weight:600}
.lp-note{font-size:12.5px;color:var(--muted);line-height:1.5;margin:14px 0 6px}
.lp-more{display:block;margin:10px 0 0;color:var(--primary);font-weight:700;text-decoration:none}
.lp-foot{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;gap:10px;align-items:center;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}
.lp-foot .listing-heart{flex:none;margin:0}
.lp-foot .listing-heart button{min-width:64px;height:52px;border-radius:var(--r-s);border:1.5px solid var(--line);background:var(--surface);color:var(--text);font:700 16px var(--font);cursor:pointer}
.lp-foot .listing-heart[data-liked=true] button{color:#e5484d;border-color:#f6c5c7;background:#fff5f5}
.lp-foot .heart-status:empty{display:none}
.lp-cta{flex:1;min-height:52px;border-radius:var(--r-s);background:var(--primary);color:var(--on-primary);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:16px;text-decoration:none}
.lp-cta:hover{background:var(--primary-hover)}
.lp-gone{max-width:560px;margin:0 auto;text-align:center;padding:40px 0}
@media (max-width:760px){
 body.has-tabbar .lp-foot{bottom:calc(64px + env(safe-area-inset-bottom))}
 body.has-tabbar .lp{padding-bottom:150px}
 #workspace:has(.lp){margin-top:0}
}
@media (min-width:761px){.lp-foot{position:sticky;bottom:0;margin-top:16px;border-radius:var(--r-l);border:1px solid var(--line)}}

/* Échanges: one card per exchange, one main action (canvas « Échanges »). */
.ex{max-width:640px;margin:0 auto}
.ex h1{margin:0 0 12px}
.ex-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:var(--r-s);background:var(--soft);margin:0 0 14px}
.ex-seg a{min-height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13.5px;color:var(--primary);text-decoration:none;text-align:center}
.ex-seg a[aria-current=page]{background:var(--surface);color:var(--text);box-shadow:0 2px 8px rgba(9,44,96,.08)}
.ex-card{border:1px solid var(--line);border-radius:var(--r-l);background:var(--surface);padding:14px;margin:0 0 10px}
.ex-top{display:flex;gap:12px;align-items:flex-start}
.ex-avatar{width:44px;height:44px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;background:var(--primary-soft);color:var(--primary);font-weight:800}
.ex-text{min-width:0}
.ex-text b{display:block;font-size:15px;line-height:1.3}
.ex-text small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.ex-status{margin-left:auto;flex:none;padding:5px 10px;border-radius:var(--r-full);font-size:12px;font-weight:700;white-space:nowrap}
.ex-ok{background:var(--success-soft);color:var(--success-text)}.ex-info{background:var(--primary-soft);color:var(--primary)}.ex-wait{background:var(--warning-soft);color:var(--warning-text)}
.ex-hint{margin:10px 0 0;font-size:13px;color:var(--muted)}
.ex-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:12px}
.ex-actions .btn{flex:1;min-width:180px}
.ex-empty{text-align:center;padding:24px 0}
.ex-leases{display:block;margin:6px 0}
.ex-note{font-size:12.5px;color:var(--muted);margin:14px 0 0}
.ex-feedback{display:block;margin:6px auto}
.lp-preview{margin:0 0 12px;padding:10px 12px;border-radius:var(--r-s,12px);background:#fff4e5;color:#6b3a00;font-weight:700;font-size:14px}
