/* Repères + RDV — 2026-06-01 */
.plc-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; font-family: Nunito, system-ui, sans-serif; }
@media (min-width: 560px) { .plc-overlay { align-items: center; } }
.plc-backdrop { position: absolute; inset: 0; background: rgba(15, 12, 25, .6); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s; }
.plc-overlay.on .plc-backdrop { opacity: 1; }
.plc-sheet { position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; background: #fff; color: #1C1C2E; border-radius: 22px 22px 0 0; transform: translateY(20px); opacity: .6; transition: transform .22s cubic-bezier(.22,1,.36,1), opacity .22s; }
.plc-overlay.on .plc-sheet { transform: translateY(0); opacity: 1; }
@media (min-width: 560px) { .plc-sheet { border-radius: 22px; } }
.plc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; }
.plc-head h3 { margin: 0; font-size: 18px; font-weight: 900; }
.plc-x { appearance: none; border: none; background: #F1F1F5; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; color: #555; cursor: pointer; }
.plc-body { padding: 4px 18px 22px; }
.plc-lbl { display: block; font-size: 12px; font-weight: 800; color: #6B6B7A; margin: 14px 0 5px; }
.plc-input { width: 100%; box-sizing: border-box; border: 1.5px solid #E2E2EA; border-radius: 12px; padding: 11px 13px; font-size: 15px; font-family: inherit; outline: none; }
.plc-input:focus { border-color: #6750A4; box-shadow: 0 0 0 3px rgba(103, 80, 164,.12); }
textarea.plc-input { resize: vertical; }
.plc-btn { appearance: none; border: 1.5px solid #E2E2EA; background: #fff; color: #1C1C2E; font-family: inherit; font-weight: 800; font-size: 14px; padding: 11px 14px; border-radius: 12px; cursor: pointer; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.plc-btn-prim { background: linear-gradient(135deg, #6750A4, #7F67BE); color: #fff; border: none; box-shadow: 0 6px 16px rgba(103, 80, 164,.28); }
.plc-btn:active { transform: scale(.98); }
.plc-or { text-align: center; color: #9A9AA6; font-size: 12px; font-weight: 700; margin: 10px 0; }
.plc-search-row { display: flex; gap: 8px; }
.plc-search-row .plc-input { flex: 1; }
.plc-search-row .plc-btn { width: auto; padding: 11px 16px; }
.plc-results, .plc-saved { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.plc-result { text-align: left; border: 1px solid #ECECF2; background: #FAFAFC; border-radius: 11px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: #1C1C2E; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.plc-result i { color: #6750A4; }
.plc-result:active { background: #F0F0F5; }
.plc-sub { font-size: 12px; font-weight: 800; color: #6B6B7A; margin: 12px 0 4px; }
.plc-muted { color: #9A9AA6; font-size: 13px; }
.plc-error { color: #DC2626; font-size: 13px; font-weight: 600; min-height: 16px; margin: 6px 0 0; }
.plc-upload { display: block; border: 1.5px dashed #D8D8E0; border-radius: 12px; padding: 12px; text-align: center; color: #6B6B7A; font-weight: 700; cursor: pointer; }
.plc-wp-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.plc-wp-row { display: flex; align-items: center; justify-content: space-between; background: #FAFAFC; border: 1px solid #ECECF2; border-radius: 11px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.plc-wp-row i { color: #6750A4; }
.plc-wp-del { appearance: none; border: none; background: transparent; color: #DC2626; cursor: pointer; font-size: 14px; }

/* Bulle RDV dans les messages */
.msg-rdv .rdv-card { background: linear-gradient(135deg, #FFF4E8, #FFFFFF); border: 1px solid #FFD9B3; border-radius: 16px; overflow: hidden; max-width: 280px; }
.rdv-photo { width: 100%; height: 120px; background-size: cover; background-position: center; }
.rdv-card-head { font-weight: 900; font-size: 14px; padding: 10px 12px 2px; color: #1C1C2E; }
.rdv-card-head i { color: #6750A4; margin-right: 4px; }
.rdv-when { padding: 2px 12px; font-size: 12.5px; font-weight: 700; color: #E8941A; }
.rdv-by { padding: 0 12px; font-size: 11.5px; color: #9A9AA6; }
.rdv-note { padding: 6px 12px 0; font-size: 12.5px; color: #4B5563; }
.rdv-actions { display: flex; gap: 6px; padding: 10px 12px 12px; flex-wrap: wrap; }
.rdv-btn { appearance: none; border: none; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
.rdv-btn-prim { background: linear-gradient(135deg, #6750A4, #7F67BE); color: #fff; }
.rdv-acc-btn { background: #F1F1F5; color: #1C1C2E; }
.rdv-accepted-tag { color: #16A34A; font-weight: 800; font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; }

/* Bouton composer "RDV" */
.composer-rdv-btn { appearance: none; border: none; background: transparent; color: #6750A4; font-size: 18px; cursor: pointer; padding: 6px; }
