/* The Letting desk inside the Staff CRM (2026-11-04, Keyhook parity). Phone
   first: 44px targets, 16px inputs, everything wraps at 390px, nothing on
   hover. Colours come from the brand bridge variables; nothing here declares
   a brand green. */
.ld-desk{display:grid;gap:12px;min-width:0}
.ld-desk h4,.ld-desk h5{margin:0;font-family:Montserrat,system-ui,sans-serif}
.ld-head{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;justify-content:space-between}
.ld-head>div{flex:1 1 220px;min-width:0}
.ld-head p,.ld-muted{color:var(--mute,#5a655e);font-size:13px;line-height:1.45;margin:4px 0 0}
.ld-btn,.ld-desk .btn,.ld-extras .btn,.listing-bond .btn{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;text-align:center}
.ld-tabs,.ld-filters{display:flex;flex-wrap:wrap;gap:8px}
.ld-tab,.ld-filter{min-height:44px;padding:8px 14px;border-radius:8px;border:1px solid var(--line,#d8e2dc);background:#fff;color:var(--ink,#111);font:600 14px Inter,system-ui,sans-serif}
.ld-tab[aria-selected="true"],.ld-filter[aria-pressed="true"]{background:var(--forest,#1f3d2b);border-color:var(--forest,#1f3d2b);color:#fff}
.ld-filter:disabled{opacity:.55}
.ld-card{background:#fff;border:1px solid var(--line,#d8e2dc);border-radius:14px;padding:12px 14px;min-width:0;overflow-wrap:anywhere}
details.ld-card>summary,.ld-section>summary{list-style:none;display:flex;gap:10px;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer}
details.ld-card>summary::-webkit-details-marker,.ld-section>summary::-webkit-details-marker{display:none}
.ld-summary{display:grid;gap:2px;min-width:0;flex:1 1 auto}
.ld-summary span{font-size:13px;color:var(--mute,#5a655e)}
.ld-section{border:1px solid var(--line,#d8e2dc);border-radius:14px;background:var(--mint,#f3f8f5);padding:6px 14px 14px}
.ld-section>summary{font:700 16px Montserrat,system-ui,sans-serif;min-height:56px}
.ld-section[open]>summary{margin-bottom:6px}
.ld-chip{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;margin:0 0 0 6px;border-radius:999px;border:1px solid var(--line,#d8e2dc);background:#fff;font:700 12px Inter,system-ui,sans-serif;color:var(--ink,#111);white-space:nowrap}
.ld-chip[data-tone="ok"]{background:#e8f5ec;border-color:#9ad19a}
.ld-chip[data-tone="warn"]{background:#fff4e5;border-color:#f0c27a}
.ld-actions,.ld-desk .listing-actions,.ld-extras .listing-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.ld-slots,.ld-people,.ld-list,.ld-thread,.ld-notes,.ld-plain,.ld-questions,.ld-read{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:8px}
.ld-plain li,.ld-read li{line-height:1.45}
.ld-slot{border-top:1px solid var(--line,#d8e2dc);padding-top:8px}
.ld-slot-head{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline}
.ld-slot-head span{font-size:13px;color:var(--mute,#5a655e)}
.ld-person{display:grid;gap:6px;padding:8px 0}
.ld-person p{margin:2px 0 0;font-size:13px}
.ld-agent{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:start}
.ld-agent>.ld-btn{grid-column:1/-1;justify-self:start}
.ld-agent-face{width:56px;height:56px;border-radius:12px;overflow:hidden;background:var(--mint,#f3f8f5);display:grid;place-items:center;font:800 20px Montserrat,system-ui,sans-serif}
.ld-agent-face img{width:100%;height:100%;object-fit:cover}
.ld-label{display:grid;gap:4px;font-weight:600;font-size:14px;margin-top:8px}
.ld-input{width:100%;box-sizing:border-box;font:16px Inter,system-ui,sans-serif;min-height:44px;border:1px solid var(--line,#d8e2dc);border-radius:12px;padding:10px 12px;background:#fff}
textarea.ld-input{min-height:88px}
.ld-check{display:flex;gap:9px;align-items:center;min-height:44px;font-weight:600}
.ld-check input{width:18px;height:18px}
.ld-question{border:1px solid var(--line,#d8e2dc);border-radius:12px;padding:10px;background:#fff}
.ld-note{font-size:13px;line-height:1.45;background:var(--mint,#f3f8f5);border-radius:10px;padding:8px 10px;margin:0}
.ld-error{color:#8a1c12;font-weight:600;font-size:14px}
.ld-loading{color:var(--mute,#5a655e);font-size:14px;margin:0}
.ld-facts{display:grid;gap:6px;margin:8px 0 0}
.ld-facts div{display:grid;grid-template-columns:minmax(0,9em) minmax(0,1fr);gap:8px}
.ld-facts dt{color:var(--mute,#5a655e);font-size:13px}
.ld-facts dd{margin:0}
.ld-msg{border-left:3px solid var(--line,#d8e2dc);padding:2px 0 2px 10px}
.ld-msg p{margin:4px 0 0;white-space:pre-line}
.ld-msg-in{border-left-color:var(--sage,#9ad19a)}
.ld-msg-outbound,.ld-msg-apply_link{border-left-color:var(--forest,#1f3d2b)}
.ld-pre{max-height:320px;overflow:auto;background:#f6f7f6;border-radius:10px;padding:10px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ld-preview{margin-top:10px}
.ld-extras h4{margin-bottom:4px}
/* The listing form's bond and features (2026-11-04). */
.listing-bond{border:1px solid var(--line,#d8e2dc);border-radius:12px;padding:10px 12px;margin:10px 0}
.listing-bond legend,.listing-features legend{font-weight:700;padding:0 4px}
.listing-bond legend span,.listing-features legend span{font-weight:500;color:var(--mute,#5a655e);font-size:13px}
.listing-bond-weeks{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.listing-bond-weeks .btn[aria-pressed="true"]{background:var(--forest,#1f3d2b);color:#fff;border-color:var(--forest,#1f3d2b)}
.listing-features{border:1px solid var(--line,#d8e2dc);border-radius:12px;padding:10px 12px;margin:10px 0}
.listing-feature-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.listing-feature-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 12px;border:1px solid var(--line,#d8e2dc);border-radius:999px;background:#fff;font-weight:600;font-size:14px}
.listing-feature-chip input{width:18px;height:18px;margin:0}
.listing-share{display:grid;gap:8px;margin:12px 0;padding:12px;border:1px solid var(--line,#d8e2dc);border-radius:12px;background:var(--mint,#f3f8f5)}
.listing-share-link{font:14px Inter,system-ui,sans-serif;overflow-wrap:anywhere;word-break:break-all}
.listing-qr{width:min(240px,100%);margin:0 auto}
@media (min-width:900px){.ld-person{grid-template-columns:minmax(0,1fr) auto;align-items:start}}
