/* Cameron CRM 3.5 — pilotage commercial et fiche prospect */

.ccrm-dashboard-head{align-items:center}
.ccrm-dashboard-head>div:first-child>span{display:block;margin-top:9px;color:var(--ccrm-muted);font-size:12px}
.ccrm-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

.ccrm-dashboard-tabs{display:flex;gap:4px;margin:-8px 0 24px;padding:5px;background:#fff;border:1px solid var(--ccrm-line);overflow-x:auto}
.ccrm-dashboard-tabs a{flex:0 0 auto;padding:11px 16px;color:#675b54;font-size:11px;font-weight:800;letter-spacing:.035em}
.ccrm-dashboard-tabs a:hover,.ccrm-dashboard-tabs a.is-active{background:var(--ccrm-wine);color:#fff}

.ccrm-kpis--actionable article,.ccrm-kpis--property-dashboard article{position:relative;overflow:hidden}
.ccrm-kpis--actionable article:before,.ccrm-kpis--property-dashboard article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#cfc2b8}
.ccrm-kpis--actionable article.is-hot:before{background:#a92f15}
.ccrm-kpis--actionable article.is-alert:before,.ccrm-kpis--property-dashboard article.is-alert:before{background:#c58218}
.ccrm-kpis--property-dashboard{grid-template-columns:repeat(6,minmax(0,1fr))}
.ccrm-dashboard-priority{margin-bottom:20px}
.ccrm-dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.ccrm-dashboard-columns>.ccrm-panel{min-width:0}
.ccrm-dashboard-table .ccrm-table-subline{display:block;margin-top:5px;color:var(--ccrm-muted);font-size:9px;font-weight:400}
.ccrm-dashboard-table td{vertical-align:middle}

.ccrm-pulse-badge,.ccrm-followup-badge{display:inline-flex;align-items:center;min-height:27px;padding:5px 10px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.ccrm-pulse-badge:before,.ccrm-followup-badge:before{content:"";width:7px;height:7px;margin-right:7px;border-radius:50%;background:currentColor}
.ccrm-pulse-badge.is-hot{background:#fae4de;color:#972d12}
.ccrm-pulse-badge.is-warm{background:#f7ecd0;color:#7d5910}
.ccrm-pulse-badge.is-cold{background:#e9eeee;color:#586666}
.ccrm-followup-badge.is-overdue{background:#fae2de;color:#982713}
.ccrm-followup-badge.is-due,.ccrm-followup-badge.is-no_action{background:#f8ecd1;color:#765410}
.ccrm-followup-badge.is-inactive,.ccrm-followup-badge.is-waiting{background:#ecebea;color:#665f5a}
.ccrm-followup-badge.is-up_to_date{background:#e3f1e8;color:#2b7149}
.ccrm-followup-badge.is-converted{background:#e5efe6;color:#356b42}
.ccrm-followup-badge.is-closed{background:#eee9e6;color:#6c6059}

.ccrm-property-alerts{margin-bottom:20px}
.ccrm-property-alert-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--ccrm-line)}
.ccrm-property-alert-list a{display:flex;justify-content:space-between;gap:18px;padding:17px 20px;background:#fff}
.ccrm-property-alert-list strong,.ccrm-property-alert-list span{display:block}
.ccrm-property-alert-list strong{font-size:12px}
.ccrm-property-alert-list span{color:var(--ccrm-wine);font-size:10px;text-align:right}

.ccrm-prospect-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(480px,.8fr);gap:28px;align-items:center;margin-bottom:14px;padding:30px 32px;background:linear-gradient(128deg,#211916 0%,#35241d 62%,#6c210b 145%);color:#fff;box-shadow:0 18px 48px rgba(38,28,24,.12)}
.ccrm-prospect-hero:after{content:"";position:absolute;right:0;top:0;width:210px;height:100%;background:radial-gradient(circle at 100% 0,rgba(255,255,255,.10),transparent 67%);pointer-events:none}
.ccrm-prospect-identity{display:flex;align-items:center;gap:20px;min-width:0}
.ccrm-prospect-avatar{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);font-family:var(--ccrm-serif);font-size:28px}
.ccrm-prospect-identity p{margin:0 0 6px;color:#d8b9ad;font-size:9px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.ccrm-prospect-identity h2{margin:0;font-family:var(--ccrm-serif);font-size:31px;font-weight:400}
.ccrm-prospect-contactline{display:flex;gap:13px;flex-wrap:wrap;margin-top:11px;color:#d8cec9;font-size:10px}
.ccrm-prospect-contactline a:hover{color:#fff}
.ccrm-prospect-contactline>*+*:before{content:"·";margin-right:13px;color:#8c756b}
.ccrm-prospect-hero-metrics{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr .75fr;gap:10px}
.ccrm-prospect-hero-metrics>div{min-width:0;padding:15px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12)}
.ccrm-prospect-hero-metrics>div>span{display:block;margin-bottom:10px;color:#c7b8b1;font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ccrm-prospect-hero .ccrm-pulse-badge,.ccrm-prospect-hero .ccrm-followup-badge{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.ccrm-prospect-score strong{display:block;font-family:var(--ccrm-serif);font-size:30px;font-weight:400;line-height:1}
.ccrm-prospect-score small{font-family:var(--ccrm-sans);font-size:10px;color:#c6b5ad}

.ccrm-prospect-jump-nav{position:sticky;z-index:20;top:0;display:flex;gap:2px;margin-bottom:18px;padding:5px;background:#fff;border:1px solid var(--ccrm-line);box-shadow:0 9px 22px rgba(38,28,24,.045);overflow-x:auto}
.ccrm-prospect-jump-nav a{flex:0 0 auto;padding:10px 13px;color:#6d625c;font-size:10px;font-weight:800;letter-spacing:.02em}
.ccrm-prospect-jump-nav a:hover,.ccrm-prospect-jump-nav a.is-active{background:#f1e9e4;color:var(--ccrm-wine)}

.ccrm-prospect-intelligence-card{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:0;margin-bottom:20px;background:#fff;border:1px solid var(--ccrm-line)}
.ccrm-prospect-intelligence-main{padding:28px 30px}
.ccrm-section-kicker{margin-bottom:7px;color:var(--ccrm-wine);font-size:9px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.ccrm-prospect-intelligence-main h2{margin:0;font-family:var(--ccrm-serif);font-size:27px;font-weight:400}
.ccrm-prospect-intelligence-main>p{max-width:830px;margin:9px 0 20px;color:var(--ccrm-muted);font-size:12px;line-height:1.7}
.ccrm-prospect-analysis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ccrm-prospect-analysis-grid article{padding:15px 16px;background:#f8f5f2;border:1px solid #ebe2dc}
.ccrm-prospect-analysis-grid span,.ccrm-prospect-analysis-grid strong,.ccrm-prospect-analysis-grid small{display:block}
.ccrm-prospect-analysis-grid span{color:#877970;font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.ccrm-prospect-analysis-grid strong{margin:9px 0 5px;font-size:13px}
.ccrm-prospect-analysis-grid strong.is-hot{color:#972d12}.ccrm-prospect-analysis-grid strong.is-warm{color:#7d5910}.ccrm-prospect-analysis-grid strong.is-cold{color:#586666}
.ccrm-prospect-analysis-grid small{color:#776c65;font-size:9px;line-height:1.5}
.ccrm-prospect-reasons{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}
.ccrm-prospect-reasons span{padding:6px 9px;background:#f1ece8;color:#665a54;font-size:9px;border-radius:999px}
.ccrm-ai-temperature-result{display:grid;grid-template-columns:180px minmax(0,1fr);gap:15px;margin-top:18px;padding:17px 18px;border-left:3px solid #c9b8ae;background:#f8f5f3}
.ccrm-ai-temperature-result.has-result{border-left-color:var(--ccrm-wine);background:#f8f0ec}
.ccrm-ai-temperature-result span,.ccrm-ai-temperature-result strong,.ccrm-ai-temperature-result small{display:block}
.ccrm-ai-temperature-result span{color:#897a72;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.ccrm-ai-temperature-result strong{margin:6px 0 3px;font-family:var(--ccrm-serif);font-size:20px;font-weight:400}
.ccrm-ai-temperature-result small{color:#766b64;font-size:9px}
.ccrm-ai-temperature-result p{margin:0;color:#514740;font-size:11px;line-height:1.65}
.ccrm-ai-temperature-result .ccrm-ai-next-action{grid-column:2;margin-top:-8px;color:var(--ccrm-wine);font-weight:700}
.ccrm-prospect-decision-panel{display:flex;flex-direction:column;gap:12px;padding:25px 22px;background:#f4efeb;border-left:1px solid var(--ccrm-line)}
.ccrm-prospect-decision-panel>small{color:var(--ccrm-muted);font-size:9px;text-align:center}
.ccrm-temperature-quick-form{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:6px;padding-top:15px;border-top:1px solid #ddd2ca}
.ccrm-temperature-quick-form>span{grid-column:1/-1;margin-bottom:3px;color:#796c65;font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.ccrm-temperature-quick-form button{min-height:34px;border:1px solid #d9cec7;background:#fff;color:#5e554f;font-size:9px;font-weight:800;cursor:pointer}
.ccrm-temperature-quick-form button.is-current{outline:2px solid currentColor;outline-offset:1px}
.ccrm-temperature-quick-form .is-hot{color:#9a2a10}.ccrm-temperature-quick-form .is-warm{color:#7e5910}.ccrm-temperature-quick-form .is-cold{color:#596767}
.ccrm-ai-apply-form .ccrm-button{width:100%;min-height:38px;padding:0 10px;font-size:9px}

.ccrm-prospect-workspace{gap:20px}
.ccrm-prospect-section{position:relative;scroll-margin-top:78px;box-shadow:0 10px 30px rgba(43,27,20,.025)}
.ccrm-prospect-section:before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:3px;background:#bca89d}
.ccrm-prospect-section:nth-child(3n+1):before{background:var(--ccrm-wine)}
.ccrm-prospect-section:nth-child(3n+2):before{background:#9c765f}
.ccrm-prospect-section:nth-child(3n):before{background:#c69a55}
.ccrm-prospect-section .ccrm-panel-head{background:linear-gradient(90deg,#fff,#fbf8f6)}
.ccrm-prospect-section .ccrm-panel-head p{letter-spacing:.19em}

@media(max-width:1350px){
  .ccrm-kpis--property-dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ccrm-prospect-hero{grid-template-columns:1fr}
  .ccrm-prospect-hero-metrics{max-width:760px}
}
@media(max-width:1050px){
  .ccrm-prospect-intelligence-card{grid-template-columns:1fr}
  .ccrm-prospect-decision-panel{border-left:0;border-top:1px solid var(--ccrm-line)}
  .ccrm-prospect-analysis-grid{grid-template-columns:1fr}
  .ccrm-property-alert-list{grid-template-columns:1fr}
}
@media(max-width:700px){
  .ccrm-head-actions{width:100%}.ccrm-head-actions .ccrm-button{flex:1}
  .ccrm-kpis--property-dashboard{grid-template-columns:1fr}
  .ccrm-prospect-hero{padding:24px 20px}
  .ccrm-prospect-identity{align-items:flex-start}.ccrm-prospect-avatar{width:50px;height:50px;flex-basis:50px}
  .ccrm-prospect-identity h2{font-size:25px}
  .ccrm-prospect-contactline{display:grid;gap:5px}.ccrm-prospect-contactline>*+*:before{display:none}
  .ccrm-prospect-hero-metrics{grid-template-columns:1fr}
  .ccrm-prospect-intelligence-main{padding:22px 18px}
  .ccrm-ai-temperature-result{grid-template-columns:1fr}.ccrm-ai-temperature-result .ccrm-ai-next-action{grid-column:1;margin-top:0}
  .ccrm-dashboard-tabs{margin-top:0}
}

/* Cameron CRM 3.6 — dossier prospect unifié */
.ccrm-pulse-badge.is-hot{background:#ffe2dc;color:#b32610;border:1px solid rgba(179,38,16,.22)}
.ccrm-pulse-badge.is-warm{background:#fff0cf;color:#b76700;border:1px solid rgba(183,103,0,.22)}
.ccrm-pulse-badge.is-cold{background:#def3e5;color:#167044;border:1px solid rgba(22,112,68,.22)}
.ccrm-pulse-badge.is-hot:before{box-shadow:0 0 0 4px rgba(179,38,16,.15)}
.ccrm-pulse-badge.is-warm:before{box-shadow:0 0 0 4px rgba(183,103,0,.15)}
.ccrm-pulse-badge.is-cold:before{box-shadow:0 0 0 4px rgba(22,112,68,.15)}

.ccrm-prospect-hero.is-hot{background:linear-gradient(128deg,#281713 0%,#4b1d13 60%,#a62c12 145%)}
.ccrm-prospect-hero.is-warm{background:linear-gradient(128deg,#292018 0%,#4c3217 60%,#b76508 145%)}
.ccrm-prospect-hero.is-cold{background:linear-gradient(128deg,#17251f 0%,#1e4834 60%,#187347 145%)}
.ccrm-prospect-hero.is-hot .ccrm-prospect-avatar{background:rgba(179,38,16,.24)}
.ccrm-prospect-hero.is-warm .ccrm-prospect-avatar{background:rgba(217,126,16,.22)}
.ccrm-prospect-hero.is-cold .ccrm-prospect-avatar{background:rgba(35,147,91,.23)}

.ccrm-prospect-analysis-grid strong.is-hot,.ccrm-ai-temperature-result strong.is-hot{color:#b32610}
.ccrm-prospect-analysis-grid strong.is-warm,.ccrm-ai-temperature-result strong.is-warm{color:#b76700}
.ccrm-prospect-analysis-grid strong.is-cold,.ccrm-ai-temperature-result strong.is-cold{color:#167044}
.ccrm-ai-temperature-result.has-result.is-hot{border-left-color:#b32610;background:#fff3f0}
.ccrm-ai-temperature-result.has-result.is-warm{border-left-color:#d17a0a;background:#fff8e9}
.ccrm-ai-temperature-result.has-result.is-cold{border-left-color:#238653;background:#edf8f1}
.ccrm-ai-temperature-result.has-result.is-hot [data-ai-temperature-label]:before,
.ccrm-ai-temperature-result.has-result.is-warm [data-ai-temperature-label]:before,
.ccrm-ai-temperature-result.has-result.is-cold [data-ai-temperature-label]:before{content:"";display:inline-block;width:9px;height:9px;margin-right:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 14%,transparent)}
.ccrm-ai-next-date{grid-column:2;color:#776b64;font-size:9px}
.ccrm-ai-action-form .ccrm-button{width:100%;min-height:38px;padding:0 10px;font-size:9px}

.ccrm-prospect-dossier-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--ccrm-line)}
.ccrm-prospect-dossier-grid article{min-width:0;padding:22px;background:#fff}
.ccrm-prospect-dossier-grid h3{margin:0 0 15px;font-family:var(--ccrm-serif);font-size:19px;font-weight:400}
.ccrm-prospect-dossier-grid dl{display:grid;gap:11px;margin:0}
.ccrm-prospect-dossier-grid dl div{display:grid;gap:3px}
.ccrm-prospect-dossier-grid dt{color:#8a7b72;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.ccrm-prospect-dossier-grid dd{margin:0;color:#302822;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.ccrm-prospect-dossier-grid dd a{color:var(--ccrm-wine);font-weight:700}
.ccrm-prospect-dossier-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:1px;background:var(--ccrm-line)}
.ccrm-prospect-dossier-notes>div{padding:20px 22px;background:#fbf8f6}
.ccrm-prospect-dossier-notes strong{display:block;margin-bottom:8px;color:#786960;font-size:9px;letter-spacing:.09em;text-transform:uppercase}
.ccrm-prospect-dossier-notes p{margin:0;color:#51463f;font-size:11px;line-height:1.65}
.ccrm-prospect-dossier-form{padding:24px}

.ccrm-next-action-banner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0 0 18px;background:var(--ccrm-line);border-left:3px solid #c4b4aa}
.ccrm-next-action-banner>div{padding:18px 20px;background:#fbf8f6}
.ccrm-next-action-banner span,.ccrm-next-action-banner strong,.ccrm-next-action-banner small{display:block}
.ccrm-next-action-banner span{margin-bottom:7px;color:#85766d;font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ccrm-next-action-banner strong{font-size:12px;line-height:1.45}
.ccrm-next-action-banner small{margin-top:5px;color:#776b64;font-size:9px}
.ccrm-next-action-banner.is-overdue{border-left-color:#b32610}
.ccrm-next-action-banner.is-due,.ccrm-next-action-banner.is-no_action{border-left-color:#d17a0a}
.ccrm-next-action-banner.is-up_to_date{border-left-color:#238653}
.ccrm-prospect-action-form{margin:0 0 22px;padding:22px;background:#f8f4f1;border:1px solid var(--ccrm-line)}

.ccrm-prospect-timeline{position:relative;display:grid;gap:0;margin-top:4px}
.ccrm-prospect-timeline:before{content:"";position:absolute;left:10px;top:8px;bottom:8px;width:1px;background:#dfd4cd}
.ccrm-prospect-timeline article{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:13px;padding:15px 0}
.ccrm-prospect-timeline article+article{border-top:1px solid #eee6e1}
.ccrm-prospect-timeline-dot{position:relative;z-index:1;width:9px;height:9px;margin:5px 0 0 6px;border:2px solid #fff;border-radius:50%;background:#9f8d82;box-shadow:0 0 0 1px #cbbdb5}
.ccrm-prospect-timeline article.is-call .ccrm-prospect-timeline-dot{background:#8a4b9c}
.ccrm-prospect-timeline article.is-whatsapp .ccrm-prospect-timeline-dot{background:#238653}
.ccrm-prospect-timeline article.is-email .ccrm-prospect-timeline-dot{background:#2f6fa3}
.ccrm-prospect-timeline article.is-visit .ccrm-prospect-timeline-dot{background:#c17316}
.ccrm-prospect-timeline article.is-request .ccrm-prospect-timeline-dot{background:var(--ccrm-wine)}
.ccrm-prospect-timeline strong,.ccrm-prospect-timeline small{display:block}
.ccrm-prospect-timeline strong{font-size:11px}
.ccrm-prospect-timeline small{margin-top:4px;color:#8a7c73;font-size:9px}
.ccrm-prospect-timeline p{margin:8px 0 0;color:#534840;font-size:11px;line-height:1.6}
.ccrm-timeline-request-link{display:inline-block;margin-top:8px;color:var(--ccrm-wine);font-size:9px;font-weight:800}

@media(max-width:1180px){
  .ccrm-prospect-dossier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .ccrm-prospect-dossier-grid,.ccrm-prospect-dossier-notes,.ccrm-next-action-banner{grid-template-columns:1fr}
  .ccrm-ai-next-date{grid-column:1}
}


/* Dossier prospect unifié : les demandes sont consultées dans la même fiche. */
.ccrm-prospect-jump-nav a span {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    margin-left: 5px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(124, 33, 5, .09);
    font-size: 11px;
    font-weight: 700;
}

.ccrm-prospect-request-switcher {
    display: flex;
    gap: 10px;
    margin: 18px 0;
    padding-bottom: 4px;
    overflow-x: auto;
}

.ccrm-prospect-request-switcher a {
    min-width: 180px;
    padding: 12px 14px;
    border: 1px solid #e7ddd8;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ccrm-prospect-request-switcher a:hover,
.ccrm-prospect-request-switcher a.is-active {
    border-color: #7c2105;
    box-shadow: 0 8px 24px rgba(60, 31, 20, .08);
    transform: translateY(-1px);
}

.ccrm-prospect-request-switcher a.is-active {
    background: #fff8f5;
}

.ccrm-prospect-request-switcher strong,
.ccrm-prospect-request-switcher span,
.ccrm-prospect-request-switcher small {
    display: block;
}

.ccrm-prospect-request-switcher span {
    margin-top: 3px;
    font-size: 13px;
}

.ccrm-prospect-request-switcher small {
    margin-top: 5px;
    color: #7c746f;
}

.ccrm-prospect-request-detail {
    overflow: hidden;
    border: 1px solid #eadfd9;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
}

.ccrm-prospect-request-detail > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid #eee2dc;
}

.ccrm-prospect-request-detail > header span,
.ccrm-prospect-request-detail > header time {
    color: #7c746f;
    font-size: 12px;
}

.ccrm-prospect-request-detail h3 {
    margin: 2px 0 0;
    font-size: 21px;
}

.ccrm-prospect-request-detail dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.ccrm-prospect-request-detail dl > div {
    min-height: 82px;
    padding: 16px 20px;
    border-right: 1px solid #f0e7e2;
    border-bottom: 1px solid #f0e7e2;
}

.ccrm-prospect-request-detail dt {
    margin-bottom: 5px;
    color: #7c746f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ccrm-prospect-request-detail dd {
    margin: 0;
    font-weight: 600;
}

.ccrm-prospect-request-message {
    padding: 18px 20px 20px;
}

.ccrm-prospect-request-message strong {
    display: block;
    margin-bottom: 8px;
}

.ccrm-prospect-request-message p {
    margin: 0;
    white-space: normal;
}

@media (max-width: 900px) {
    .ccrm-prospect-request-detail dl {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .ccrm-prospect-request-detail > header {
        align-items: flex-start;
        flex-direction: column;
    }
    .ccrm-prospect-request-detail dl {
        grid-template-columns: 1fr;
    }
}

/* Cameron CRM 3.6.2 — demandes reçues : hiérarchie visuelle et cache bust. */
.ccrm-prospect-requests {
    overflow: hidden;
    border: 1px solid #e3d6cf;
    background:
        radial-gradient(circle at 100% 0, rgba(124,33,5,.055), transparent 34%),
        #fff;
    box-shadow: 0 16px 44px rgba(49,29,20,.055);
}

.ccrm-prospect-requests::before {
    width: 4px;
    background: linear-gradient(180deg, #7c2105 0%, #b86a3c 56%, #d7ad8b 100%);
}

.ccrm-prospect-requests > .ccrm-panel-head {
    min-height: 112px;
    padding: 26px 30px;
    border-bottom: 1px solid #eadfd9;
    background:
        linear-gradient(112deg, rgba(124,33,5,.065), rgba(255,255,255,.92) 48%, rgba(205,155,119,.09));
}

.ccrm-prospect-requests > .ccrm-panel-head p {
    margin-bottom: 7px;
    color: #9b3c1d;
    font-size: 10px;
    letter-spacing: .22em;
}

.ccrm-prospect-requests > .ccrm-panel-head h2 {
    color: #261b17;
    font-size: clamp(27px, 2.2vw, 35px);
    line-height: 1.05;
}

.ccrm-prospect-requests > .ccrm-panel-head > strong {
    display: grid;
    place-items: center;
    min-width: 46px;
    height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(124,33,5,.18);
    border-radius: 999px;
    background: #7c2105;
    color: #fff;
    font-family: var(--ccrm-serif);
    font-size: 20px;
    font-weight: 400;
    box-shadow: 0 8px 22px rgba(124,33,5,.16);
}

.ccrm-prospect-requests > .ccrm-muted {
    position: relative;
    margin: 0;
    padding: 16px 30px 16px 54px;
    border-bottom: 1px solid #eee4df;
    background: #fbf7f4;
    color: #6e5e56;
    font-size: 11px;
    line-height: 1.65;
}

.ccrm-prospect-requests > .ccrm-muted::before {
    content: "i";
    position: absolute;
    left: 30px;
    top: 17px;
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(124,33,5,.38);
    border-radius: 50%;
    color: #7c2105;
    font-family: Georgia,serif;
    font-size: 10px;
    font-style: italic;
    font-weight: 700;
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 22px 30px;
    border-bottom: 1px solid #eee4df;
    background: rgba(255,255,255,.78);
    overflow: visible;
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher a {
    position: relative;
    min-width: 0;
    padding: 15px 17px 15px 20px;
    border: 1px solid #e5d8d1;
    border-radius: 0;
    background: #fff;
    color: #30231e;
    box-shadow: 0 7px 18px rgba(47,29,21,.035);
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher a::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;
    width: 4px;
    background: #cbb9af;
    transition: background .18s ease;
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher a:hover,
.ccrm-prospect-requests .ccrm-prospect-request-switcher a.is-active {
    border-color: rgba(124,33,5,.38);
    background: linear-gradient(135deg,#fff 0%,#fff7f3 100%);
    box-shadow: 0 12px 28px rgba(71,34,20,.085);
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher a:hover::before,
.ccrm-prospect-requests .ccrm-prospect-request-switcher a.is-active::before {
    background: #7c2105;
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher strong {
    color: #7c2105;
    font-size: 12px;
    letter-spacing: .035em;
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher span {
    margin-top: 6px;
    color: #30231e;
    font-family: var(--ccrm-serif);
    font-size: 17px;
    line-height: 1.25;
}

.ccrm-prospect-requests .ccrm-prospect-request-switcher small {
    margin-top: 8px;
    color: #8a7b73;
    font-size: 10px;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail {
    margin: 24px 30px 30px;
    overflow: hidden;
    border: 1px solid #e5d8d1;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 16px 38px rgba(55,30,20,.055);
}

.ccrm-prospect-requests .ccrm-prospect-request-detail > header {
    position: relative;
    min-height: 104px;
    padding: 22px 25px;
    border-bottom: 0;
    background:
        radial-gradient(circle at 100% 0, rgba(255,255,255,.12), transparent 43%),
        linear-gradient(125deg,#2a1d18 0%,#4d2518 55%,#7c2105 135%);
    color: #fff;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail > header::after {
    content: "";
    position: absolute;
    right: 25px;
    bottom: 0;
    width: 72px;
    height: 3px;
    background: #d6a27c;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail > header span {
    color: #ddb9a7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail > header time {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.07);
    color: #efe5df;
    font-size: 10px;
    font-weight: 700;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail h3 {
    margin-top: 8px;
    color: #fff;
    font-family: var(--ccrm-serif);
    font-size: 29px;
    font-weight: 400;
    letter-spacing: .015em;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: #eadfd9;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div {
    position: relative;
    min-height: 104px;
    padding: 20px 22px;
    border: 0;
    background: #fff;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div::after {
    content: "";
    position: absolute;
    left: 22px;
    bottom: 14px;
    width: 26px;
    height: 2px;
    background: #d8c2b5;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div:nth-child(1)::after,
.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div:nth-child(4)::after {
    background: #9c3717;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div:nth-child(2)::after,
.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div:nth-child(5)::after {
    background: #c07b42;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div:nth-child(3)::after,
.ccrm-prospect-requests .ccrm-prospect-request-detail dl > div:nth-child(6)::after {
    background: #8a775e;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dt {
    margin-bottom: 9px;
    color: #9a3a1b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dd {
    margin: 0;
    padding-bottom: 16px;
    color: #30241f;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.55;
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dd a {
    color: #7c2105;
    text-decoration: none;
    border-bottom: 1px solid rgba(124,33,5,.24);
}

.ccrm-prospect-requests .ccrm-prospect-request-detail dd a:hover {
    border-bottom-color: #7c2105;
}

.ccrm-prospect-requests .ccrm-prospect-request-message {
    position: relative;
    margin: 22px;
    padding: 22px 24px 22px 54px;
    border: 1px solid #eaded7;
    border-left: 4px solid #7c2105;
    background: linear-gradient(135deg,#fbf6f3,#fff);
}

.ccrm-prospect-requests .ccrm-prospect-request-message::before {
    content: "“";
    position: absolute;
    left: 20px;
    top: 9px;
    color: rgba(124,33,5,.22);
    font-family: Georgia,serif;
    font-size: 44px;
    line-height: 1;
}

.ccrm-prospect-requests .ccrm-prospect-request-message strong {
    margin-bottom: 9px;
    color: #7c2105;
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ccrm-prospect-requests .ccrm-prospect-request-message p {
    color: #4e4039;
    font-size: 12px;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .ccrm-prospect-requests .ccrm-prospect-request-detail dl {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 620px) {
    .ccrm-prospect-requests > .ccrm-panel-head,
    .ccrm-prospect-requests > .ccrm-muted,
    .ccrm-prospect-requests .ccrm-prospect-request-switcher {
        padding-left: 18px;
        padding-right: 18px;
    }
    .ccrm-prospect-requests > .ccrm-muted {
        padding-left: 43px;
    }
    .ccrm-prospect-requests > .ccrm-muted::before {
        left: 18px;
    }
    .ccrm-prospect-requests .ccrm-prospect-request-detail {
        margin: 18px;
    }
    .ccrm-prospect-requests .ccrm-prospect-request-detail > header {
        min-height: 0;
        padding: 20px;
    }
    .ccrm-prospect-requests .ccrm-prospect-request-detail h3 {
        font-size: 24px;
    }
    .ccrm-prospect-requests .ccrm-prospect-request-detail dl {
        grid-template-columns: 1fr;
    }
    .ccrm-prospect-requests .ccrm-prospect-request-detail dl > div {
        min-height: 88px;
    }
    .ccrm-prospect-requests .ccrm-prospect-request-message {
        margin: 18px;
        padding-left: 48px;
    }
}

/* Cameron CRM 3.6.3 — atelier email premium et lisibilité renforcée */
.ccrm-prospect-section .ccrm-panel-head p{font-size:10px}
.ccrm-prospect-section .ccrm-panel-head h2{font-size:25px}
.ccrm-prospect-contactline{font-size:11px}
.ccrm-prospect-analysis-grid span,.ccrm-ai-temperature-result span{font-size:9px}
.ccrm-prospect-analysis-grid small,.ccrm-ai-temperature-result small{font-size:10px}
.ccrm-prospect-analysis-grid strong{font-size:14px}
.ccrm-prospect-section .ccrm-muted{font-size:12px;line-height:1.65}
.ccrm-prospect-timeline article p{font-size:12px;line-height:1.65}

.ccrm-prospect-email-studio{overflow:hidden}
.ccrm-prospect-email-studio:before{background:linear-gradient(180deg,#7c2105,#c28b66)}
.ccrm-prospect-email-studio>.ccrm-panel-head{padding:23px 28px;background:linear-gradient(105deg,#fff 0%,#fbf5f1 75%,#f3e5dc 100%)}
.ccrm-email-studio-mark{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid rgba(124,33,5,.28);color:#7c2105;font-family:var(--ccrm-serif);font-size:14px;letter-spacing:.22em}
.ccrm-email-studio-form{padding:0}
.ccrm-email-studio-context{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(460px,1fr);gap:24px;align-items:center;padding:24px 28px;border-bottom:1px solid #e7dbd4;background:#2b201b;color:#fff}
.ccrm-email-studio-context__intro>span{display:block;margin-bottom:7px;color:#d5a98f;font-size:9px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.ccrm-email-studio-context__intro>strong{display:block;font-family:var(--ccrm-serif);font-size:24px;font-weight:400;line-height:1.25}
.ccrm-email-studio-context__intro>small{display:block;margin-top:8px;color:#c9bbb4;font-size:11px}
.ccrm-email-studio-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ccrm-email-studio-facts>div{min-width:0;padding:13px 14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06)}
.ccrm-email-studio-facts span,.ccrm-email-studio-facts strong{display:block}
.ccrm-email-studio-facts span{margin-bottom:7px;color:#bcaea7;font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.ccrm-email-studio-facts strong{overflow:hidden;color:#fff;font-size:11px;line-height:1.45;text-overflow:ellipsis}
.ccrm-email-studio-facts strong.is-hot{color:#ff9f8d}.ccrm-email-studio-facts strong.is-warm{color:#ffc36f}.ccrm-email-studio-facts strong.is-cold{color:#78d7a2}

.ccrm-email-studio-grid{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:560px}
.ccrm-email-studio-tools{padding:27px 24px;border-right:1px solid #e6dad3;background:linear-gradient(180deg,#f7f1ed 0%,#fbf8f6 100%)}
.ccrm-email-studio-tools label,.ccrm-email-studio-composer label{display:block;color:#6e5d55;font-size:10px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.ccrm-email-studio-tools select,.ccrm-email-studio-tools textarea,.ccrm-email-studio-composer input,.ccrm-email-studio-composer textarea{width:100%;margin-top:8px;border:1px solid #dbcac0;background:#fff;color:#30241f;font:500 13px/1.55 var(--ccrm-sans);text-transform:none;letter-spacing:0;box-shadow:none}
.ccrm-email-studio-tools select,.ccrm-email-studio-composer input{min-height:44px;padding:0 13px}
.ccrm-email-studio-tools textarea{min-height:112px;padding:12px 13px;resize:vertical}
.ccrm-email-studio-tools label+label{margin-top:20px}
.ccrm-email-studio-tools .ccrm-button{width:100%;margin-top:18px;min-height:42px}
.ccrm-email-ai-status{display:block;margin-top:12px;color:#7b6d66;font-size:10px;line-height:1.6}

.ccrm-email-studio-composer{padding:28px 30px 30px;background:#fff}
.ccrm-email-recipient-row{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(320px,1.25fr);gap:14px}
.ccrm-email-message-label{margin-top:18px}
.ccrm-email-studio-composer textarea[data-email-body]{min-height:310px;padding:17px 18px;font-family:Georgia,"Times New Roman",serif;font-size:15px;line-height:1.72;resize:vertical}
.ccrm-email-studio-composer input:focus,.ccrm-email-studio-composer textarea:focus,.ccrm-email-studio-tools select:focus,.ccrm-email-studio-tools textarea:focus{border-color:#9f4a2d;outline:2px solid rgba(124,33,5,.08);outline-offset:0}

.ccrm-email-property-picker{margin-top:22px;border:1px solid #e3d7d0;background:#fbf8f6}
.ccrm-email-property-picker__head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid #e6dad3;background:#f4ece7}
.ccrm-email-property-picker__head span,.ccrm-email-property-picker__head strong{display:block}
.ccrm-email-property-picker__head span{margin-bottom:4px;color:#9c4a2e;font-size:8px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.ccrm-email-property-picker__head strong{font-family:var(--ccrm-serif);font-size:18px;font-weight:400}
.ccrm-email-property-picker__head small{color:#786961;font-size:10px;white-space:nowrap}
.ccrm-email-property-picker__head b{color:#7c2105;font-size:14px}
.ccrm-email-property-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e7ddd7}
.ccrm-email-property-option{position:relative;display:grid!important;grid-template-columns:auto 56px minmax(0,1fr);gap:11px;align-items:center;min-width:0;padding:12px;background:#fff;cursor:pointer;text-transform:none!important;letter-spacing:0!important}
.ccrm-email-property-option:hover{background:#fff8f4}
.ccrm-email-property-option input{width:16px!important;height:16px!important;min-height:0!important;margin:0!important;accent-color:#7c2105}
.ccrm-email-property-option img{width:56px;height:45px;object-fit:cover;background:#eee7e2}
.ccrm-email-property-option span,.ccrm-email-property-option strong,.ccrm-email-property-option small,.ccrm-email-property-option em{display:block;min-width:0}
.ccrm-email-property-option strong{color:#8d351a;font-size:9px;letter-spacing:.07em}
.ccrm-email-property-option small{margin-top:3px;overflow:hidden;color:#332721;font-family:var(--ccrm-serif);font-size:13px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.ccrm-email-property-option em{margin-top:4px;overflow:hidden;color:#897970;font-size:9px;font-style:normal;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.ccrm-email-property-option:has(input:checked){background:#fff3ec;box-shadow:inset 3px 0 #7c2105}

.ccrm-email-studio-footer{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:22px;padding-top:20px;border-top:1px solid #e7ddd7}
.ccrm-email-studio-footer p{max-width:610px;margin:0;color:#7c6d65;font-size:10px;line-height:1.6}
.ccrm-email-studio-footer .ccrm-button{flex:0 0 auto;min-width:170px}

@media(max-width:1180px){
  .ccrm-email-studio-context{grid-template-columns:1fr}
  .ccrm-email-studio-grid{grid-template-columns:260px minmax(0,1fr)}
  .ccrm-email-recipient-row{grid-template-columns:1fr}
}
@media(max-width:860px){
  .ccrm-email-studio-grid{grid-template-columns:1fr}
  .ccrm-email-studio-tools{border-right:0;border-bottom:1px solid #e6dad3}
  .ccrm-email-studio-facts{grid-template-columns:1fr}
  .ccrm-email-property-options{grid-template-columns:1fr}
}
@media(max-width:620px){
  .ccrm-email-studio-context,.ccrm-email-studio-composer,.ccrm-email-studio-tools{padding-left:18px;padding-right:18px}
  .ccrm-email-studio-footer{align-items:stretch;flex-direction:column}
  .ccrm-email-studio-footer .ccrm-button{width:100%}
  .ccrm-email-studio-mark{display:none}
}

/* 3.6.6 — matching élargi et ajout manuel cadré */
.ccrm-matching-explanation{
    margin:0;
    padding:16px 24px;
    border-bottom:1px solid var(--ccrm-line,#e4d8cf);
    background:#faf7f3;
    font-size:13px;
    line-height:1.65;
}
.ccrm-prospect-property-list--matches>a{
    align-items:flex-start;
}
.ccrm-match-reasons{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:9px;
    font-style:normal;
}
.ccrm-match-reasons b{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:4px 8px;
    border:1px solid #decfc5;
    border-radius:999px;
    background:#fbf7f3;
    color:#7c2105;
    font-size:9px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.ccrm-manual-property-picker{
    padding:0!important;
    overflow:hidden;
    border-color:#d9c9be!important;
    background:#fff!important;
}
.ccrm-manual-property-picker__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 20px;
    border-bottom:1px solid #e6dbd3;
    background:linear-gradient(135deg,#2e1710 0%,#6e210c 100%);
    color:#fff;
}
.ccrm-manual-property-picker__head>div{
    display:grid;
    gap:3px;
}
.ccrm-manual-property-picker__head span{
    font-size:9px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
    opacity:.78;
}
.ccrm-manual-property-picker__head strong{
    font-family:Georgia,'Times New Roman',serif;
    font-size:20px;
    font-weight:500;
}
.ccrm-manual-property-picker__head small{
    color:rgba(255,255,255,.72);
    font-size:11px;
}
.ccrm-manual-property-transaction{
    flex:0 0 auto;
    min-width:74px;
    padding:8px 11px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    text-align:center;
    opacity:1!important;
}
.ccrm-manual-property-filters{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(230px,.42fr);
    gap:16px;
    align-items:end;
    padding:18px 20px;
    border-bottom:1px solid #e7ddd6;
    background:#fbf8f5;
}
.ccrm-manual-property-types{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.ccrm-manual-property-types button{
    min-height:34px;
    padding:7px 12px;
    border:1px solid #d7c8be;
    border-radius:999px;
    background:#fff;
    color:#4a3830;
    font:inherit;
    font-size:11px;
    font-weight:750;
    cursor:pointer;
}
.ccrm-manual-property-types button:hover,
.ccrm-manual-property-types button.is-active{
    border-color:#7c2105;
    background:#7c2105;
    color:#fff;
}
.ccrm-manual-property-search{
    display:grid;
    gap:6px;
    margin:0;
}
.ccrm-manual-property-search span{
    color:#75675f;
    font-size:9px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}
.ccrm-manual-property-search input{
    width:100%;
    min-height:40px;
    padding:9px 12px;
    border:1px solid #d7c8be;
    background:#fff;
    font:inherit;
    font-size:13px;
}
.ccrm-manual-property-picker .ccrm-property-checklist--compact{
    max-height:430px;
    margin:0;
    padding:12px 20px;
    background:#fff;
}
.ccrm-manual-property-picker .ccrm-property-choice--row{
    border-color:#e6ddd7;
    border-radius:4px;
    transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.ccrm-manual-property-picker .ccrm-property-choice--row:hover{
    border-color:#b98c7b;
    background:#fdfaf8;
    transform:translateY(-1px);
}
.ccrm-manual-property-picker .ccrm-property-choice--row[hidden]{display:none!important}
.ccrm-property-choice-placeholder{
    display:grid;
    place-items:center;
    width:72px;
    height:52px;
    background:#efe5de;
    color:#7c2105;
    font-family:Georgia,'Times New Roman',serif;
    font-size:20px;
}
.ccrm-property-catalog-empty{
    margin:0;
    padding:24px;
    text-align:center;
}
.ccrm-manual-property-picker__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:14px 20px;
    border-top:1px solid #e7ddd6;
    background:#fbf8f5;
}
.ccrm-manual-property-picker__footer small{
    color:#75675f;
}
.ccrm-manual-property-picker__footer b{
    color:#7c2105;
}
@media(max-width:820px){
    .ccrm-manual-property-filters{grid-template-columns:1fr}
}
@media(max-width:620px){
    .ccrm-manual-property-picker__head,.ccrm-manual-property-picker__footer{align-items:flex-start;flex-direction:column}
    .ccrm-manual-property-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
    .ccrm-manual-property-types button{width:100%}
}


/* Cameron 3.6.7 — historique des biens déjà envoyés */
.ccrm-email-property-option.is-already-sent {
    border-style: dashed;
    opacity: .72;
    background: #f6f2ef;
}
.ccrm-email-property-option.is-already-sent:has(input:checked) {
    opacity: 1;
}
.ccrm-email-property-option strong {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}
.ccrm-email-property-sent-badge {
    display: inline-flex;
    align-items: center;
    min-height: 19px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e8ded8;
    color: #6c5548;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Cameron CRM 3.9.5 — communication multicanal */
.ccrm-communication-channels,
.ccrm-communication-options{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px 18px;
    margin:0 0 18px;
    padding:16px 18px;
    border:1px solid #e4d8d0;
    background:#faf7f4;
}
.ccrm-communication-channels>strong{width:100%;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#7c2105}
.ccrm-communication-channels label,
.ccrm-communication-options label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#332823}
.ccrm-communication-channels label small{font-weight:400;color:#8c7d74}
.ccrm-communication-channels input,
.ccrm-communication-options input{width:auto;margin:0}
.ccrm-email-tracking{margin:24px 0 0;padding:22px;border:1px solid #e0d4cc;background:#fff}
.ccrm-email-tracking>strong{display:block;margin-bottom:14px;font-family:Georgia,serif;font-size:20px;font-weight:400}
.ccrm-email-tracking__list{display:grid;gap:8px}
.ccrm-email-tracking article{display:flex;justify-content:space-between;gap:22px;padding:13px 14px;background:#faf7f4;border-left:3px solid #b9aaa1}
.ccrm-email-tracking article.is-opened{border-left-color:#4e8a62}.ccrm-email-tracking article.is-delivered{border-left-color:#7c2105}.ccrm-email-tracking article.is-failed,.ccrm-email-tracking article.is-bounced{border-left-color:#a23a2d}
.ccrm-email-tracking article span{display:inline-flex;margin-bottom:4px;color:#7c2105;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ccrm-email-tracking article b,.ccrm-email-tracking article small{display:block}.ccrm-email-tracking article b{font-size:13px}.ccrm-email-tracking article small{color:#796d66;font-size:11px;line-height:1.5}
@media(max-width:720px){.ccrm-email-tracking article{flex-direction:column;gap:8px}}

/* Cameron CRM 3.14.16 — fiche prospect en onglets */
.ccrm-prospect-header-edit{appearance:none;border:0;background:transparent;color:#e2c8be;font:inherit;font-size:10px;font-weight:800;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px}
.ccrm-prospect-header-edit:hover{color:#fff}
.ccrm-prospect-tabs{gap:7px;padding:7px;background:#f6f2ef;border-color:#e5ddd7;overflow:visible;flex-wrap:wrap;box-shadow:none}
.ccrm-prospect-tabs a{display:inline-flex;align-items:center;min-height:38px;padding:9px 14px;border:1px solid #ded5cf;background:#fff;color:#665b55;font-size:10px;font-weight:800;letter-spacing:.015em;transition:.16s ease}
.ccrm-prospect-tabs a span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:7px;padding:0 5px;border-radius:999px;background:#efe7e2;color:#725b50;font-size:9px}
.ccrm-prospect-tabs a:hover{border-color:#bda99f;background:#fff;color:var(--ccrm-wine)}
.ccrm-prospect-tabs a.is-active{border-color:var(--ccrm-wine);background:var(--ccrm-wine);color:#fff;box-shadow:0 5px 14px rgba(124,33,5,.13)}
.ccrm-prospect-tabs a.is-active span{background:rgba(255,255,255,.18);color:#fff}
.ccrm-prospect-tab-panel{display:none!important}
.ccrm-prospect-tab-panel.is-active{display:block!important}
.ccrm-prospect-intelligence-card.ccrm-prospect-tab-panel.is-active{display:grid!important}
.ccrm-prospect-audit-panel.is-active{display:block!important}
.ccrm-prospect-audit-panel>.ccrm-panel,.ccrm-prospect-audit-panel>section{margin:0}
.ccrm-prospect-decision-panel{justify-content:flex-start}
.ccrm-prospect-decision-panel .ccrm-button{width:100%}
@media (max-width:900px){.ccrm-prospect-tabs{overflow-x:auto;flex-wrap:nowrap}.ccrm-prospect-tabs a{flex:0 0 auto}.ccrm-prospect-hero{grid-template-columns:1fr}.ccrm-prospect-hero-metrics{grid-template-columns:1fr 1fr 1fr}}


/* Cameron CRM 3.14.17 — correctif onglets + température manuelle */
.ccrm-prospect-temperature-control{min-width:230px}
.ccrm-temperature-buttons{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.ccrm-temperature-buttons button{appearance:none;border:1px solid #ddd3cd;background:#fff;color:#665b55;border-radius:999px;padding:6px 10px;font:inherit;font-size:10px;font-weight:800;cursor:pointer;line-height:1;transition:.16s ease}
.ccrm-temperature-buttons button.is-hot:hover,.ccrm-temperature-buttons button.is-hot.is-selected{border-color:#b42318;background:#fff1f0;color:#b42318;box-shadow:inset 0 0 0 1px rgba(180,35,24,.08)}
.ccrm-temperature-buttons button.is-warm:hover,.ccrm-temperature-buttons button.is-warm.is-selected{border-color:#b26a00;background:#fff8e8;color:#9a5a00;box-shadow:inset 0 0 0 1px rgba(178,106,0,.08)}
.ccrm-temperature-buttons button.is-cold:hover,.ccrm-temperature-buttons button.is-cold.is-selected{border-color:#356b8c;background:#eef7fb;color:#2d607f;box-shadow:inset 0 0 0 1px rgba(53,107,140,.08)}
.ccrm-prospect-decision-panel small{display:block;color:#7a6f69;line-height:1.45}


/* Cameron CRM 3.14.18 — température affichée en tête, réglage dans le panneau latéral */
.ccrm-prospect-temperature-display strong{display:inline-flex;align-items:center;gap:7px;font-family:var(--ccrm-serif);font-size:20px;font-weight:500;line-height:1.1}
.ccrm-prospect-temperature-display strong:before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(255,255,255,.08)}
.ccrm-prospect-temperature-display strong.is-hot{color:#ffb1a8}
.ccrm-prospect-temperature-display strong.is-warm{color:#ffd18a}
.ccrm-prospect-temperature-display strong.is-cold{color:#9fd7ef}
.ccrm-prospect-decision-panel{display:flex;flex-direction:column;gap:16px}
.ccrm-prospect-decision-panel .ccrm-prospect-temperature-control{padding:0 0 14px;border-bottom:1px solid #e7ddd7}
.ccrm-prospect-decision-panel .ccrm-prospect-temperature-control>span{display:block;margin-bottom:5px;color:#8a7d76;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.ccrm-prospect-decision-panel .ccrm-prospect-temperature-control>strong{display:block;margin-bottom:8px;font-family:var(--ccrm-serif);font-size:18px;font-weight:500;color:#332b27}
.ccrm-prospect-decision-panel .ccrm-temperature-buttons{margin-top:0}
