/* CRM 0.73: a bounded workspace with separate conversation and context regions. */
.crm-prospect-detail.crm-desk{--desk-ink:#162d46;--desk-text:#304761;--desk-line:#c8d4e1;--desk-blue:#125ec8;--desk-tint:#e8eef5;display:flex;flex-direction:column;gap:0;min-width:0}
.crm-prospect-detail.crm-desk button:focus-visible,.crm-prospect-detail.crm-desk summary:focus-visible{outline:3px solid #2682ee;outline-offset:3px}
.crm-prospect-detail.crm-desk .crm-record-header{background:#172f49;border:1px solid #172f49;border-radius:12px 12px 0 0;box-shadow:none;padding:12px 16px;gap:12px;margin:0;flex-shrink:0;min-height:83px}
.crm-desk .crm-header-back{padding-right:12px;border-right:1px solid #50657b;align-self:stretch;display:flex;align-items:center}
.crm-desk .crm-header-back button{background:#244560;border:1px solid #6c8298;color:#fff;padding:8px 10px;font-size:11px}
.crm-prospect-detail.crm-desk .crm-record-avatar{width:40px;height:40px;border-radius:11px;background:#d7e9fb;color:#153d67;border:1px solid #a4c7eb;font-size:16px}
.crm-prospect-detail.crm-desk .crm-record-title{min-width:0;flex:1}
.crm-prospect-detail.crm-desk .crm-record-title h1{color:#fff;font-size:22px;line-height:1.25;margin:3px 0;letter-spacing:-.4px;overflow-wrap:anywhere}
.crm-prospect-detail.crm-desk .crm-record-title .crm-eyebrow{color:#c2d8ef;font-size:9px;letter-spacing:.65px}
.crm-prospect-detail.crm-desk .crm-record-title p{color:#d1deeb;font-size:11px;line-height:1.45;margin:3px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.crm-prospect-detail.crm-desk .crm-record-title p .ui-icon{width:13px;height:13px}
.crm-prospect-detail.crm-desk .crm-record-header>.heading-actions{flex-shrink:0;gap:6px}
.crm-prospect-detail.crm-desk .crm-record-header .secondary{background:#fff;color:#183f66;border:1px solid #c8d8e8;font-size:11px}
.crm-prospect-detail.crm-desk .crm-record-header .primary{background:#2b83ee;border:1px solid #67a8f7;color:white;font-size:11px}
.crm-prospect-detail.crm-desk .crm-hero-topline{gap:8px}.crm-desk .crm-stage{font-weight:700}
.crm-prospect-detail.crm-desk .crm-result-disclosure{flex-shrink:0;border-radius:0;border:1px solid #b7ccbd;margin:0;background:#edf7f0}
.crm-desk .crm-result-disclosure>summary{padding:7px 16px;font-size:11px;color:#254e39}
.crm-desk .crm-result-disclosure[open]{max-height:180px;overflow:auto}
.crm-prospect-detail.crm-desk .crm-record-layout{margin:0;gap:0;grid-template-columns:minmax(0,1fr) 310px;border:1px solid var(--desk-line);border-top:0;border-radius:0 0 12px 12px;overflow:hidden;background:var(--desk-tint);align-items:stretch;min-height:0}
.crm-prospect-detail.crm-desk .crm-record-center{min-width:0;min-height:0;display:flex;flex-direction:column;margin:0;border:0;border-radius:0;box-shadow:none;background:white;overflow:hidden}
.crm-desk .crm-messaging-topbar{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-shrink:0;flex-wrap:wrap;background:#fff;border-bottom:1px solid var(--desk-line);padding:0 12px;min-height:51px}
.crm-prospect-detail.crm-desk .crm-record-tabs{padding:0;min-height:49px;border:0;background:transparent;gap:6px;flex-shrink:0;display:flex;align-items:center}
.crm-prospect-detail.crm-desk .crm-record-tabs button{font-size:13px;color:#4b6178;font-weight:650;padding:13px 10px;min-height:49px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent}
.crm-prospect-detail.crm-desk .crm-record-tabs button.active{color:#124e9c;border-color:#1468d0;background:#edf4ff}
.crm-desk .crm-messaging-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:7px 0}
.crm-prospect-detail.crm-desk .crm-communication-actions{padding:0;margin:0;border:0;min-height:0;gap:6px;display:flex;align-items:center;flex-wrap:wrap;background:transparent}
.crm-desk .crm-messaging-tools .secondary{font-size:11px;padding:7px 9px;color:#21476c;border-color:#b8cadd;background:#f6f9fd;min-height:32px}
.crm-desk .crm-messaging-tools .crm-focus-toggle{border-color:#125ec8;color:#0f4d9e;background:#e9f2ff}
.crm-desk .crm-messaging-tools .crm-focus-toggle[aria-pressed=true]{background:#125ec8;color:white}
.crm-prospect-detail.crm-desk .crm-closed-communications{padding:5px 8px;border:1px solid #d4b36e;background:#fff5df;border-radius:5px;font-size:10px;color:#68480c;margin:0;max-width:300px}
.crm-prospect-detail.crm-desk .crm-record-content{padding:0;min-height:0;display:flex;flex-direction:column;flex:1;overflow:hidden}
.crm-desk [data-crm-conversation]{display:flex;flex:1;flex-direction:column;min-height:0}
.crm-prospect-detail.crm-desk .crm-chat-console{display:flex;flex-direction:column;flex:1;min-height:0;border:0;border-radius:0;margin:0}
.crm-prospect-detail.crm-desk .crm-chat-header{display:none}
.crm-prospect-detail.crm-desk .crm-chat-toolbar{flex-shrink:0;padding:8px 16px;min-height:43px;background:#f5f8fc;border-bottom:1px solid #cbd6e2;color:#4a5f76;font-size:11px}
.crm-desk .crm-chat-filters{gap:6px;display:flex;flex-wrap:wrap}
.crm-prospect-detail.crm-desk .crm-chat-filters button{font-size:11px;padding:6px 10px;border:1px solid #bdcddd;border-radius:6px;background:white;color:#405872;font-weight:600;min-height:29px}
.crm-prospect-detail.crm-desk .crm-chat-filters button.selected{background:#173d65;border-color:#173d65;color:#fff}
.crm-prospect-detail.crm-desk .crm-chat-filters button[data-id=pending]:not(.selected){background:#fff4dc;color:#77500c;border-color:#d7b164}
.crm-prospect-detail.crm-desk .crm-chat-feed{height:auto;min-height:0;flex:1;max-height:none;padding:14px 22px 22px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#e8eef5;background-image:none;scrollbar-color:#728ba5 #e8eef5}
.crm-prospect-detail.crm-desk .crm-chat-day{margin:12px 0 16px}.crm-prospect-detail.crm-desk .crm-chat-day span{color:#405670;background:#d9e3ed;border:1px solid #bfccd9;padding:5px 11px;border-radius:20px;font-size:10px}
.crm-prospect-detail.crm-desk .crm-chat-exchange{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #c1cfdd;background:transparent;border-radius:0;box-shadow:none}
.crm-prospect-detail.crm-desk .crm-message-meta{max-width:none;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;padding:0;background:transparent;border:0}
.crm-prospect-detail.crm-desk .crm-chat-context{color:#4c637b;font-size:10px;font-weight:550}
.crm-prospect-detail.crm-desk .crm-message-meta .badge{font-size:10px;color:#65400a;background:#fff1ce;border:1px solid #c99b38;font-weight:700;padding:4px 8px}
.crm-prospect-detail.crm-desk .answered-message .crm-message-meta .badge{color:#22523c;background:#e0f0e6;border-color:#82b49a}
.crm-prospect-detail.crm-desk .crm-message-bubble{border:1px solid #b9c9d9;border-left:3px solid #6f8dab;box-shadow:0 2px 4px #18314b0a;background:white;color:#1d354e;border-radius:0 12px 12px 12px;padding:14px 16px;max-width:min(88%,740px)}
.crm-prospect-detail.crm-desk .crm-chat-sender{color:#153a5e;font-weight:750;font-size:11px;margin-bottom:7px}
.crm-prospect-detail.crm-desk .crm-message-bubble p,.crm-prospect-detail.crm-desk .crm-message-answer p{font-size:13px;line-height:1.65;color:inherit;margin:0 0 9px;overflow-wrap:anywhere;white-space:pre-wrap}
.crm-prospect-detail.crm-desk .crm-message-bubble>time{font-size:10px;color:#536980}
.crm-prospect-detail.crm-desk .crm-message-answer{border:1px solid #8db4e5;border-right:3px solid #2b6dbb;border-radius:12px 0 12px 12px;background:#dbeafe;color:#163d6b;box-shadow:none;max-width:min(88%,740px);padding:14px 16px;margin:12px 0 0 auto}
.crm-prospect-detail.crm-desk .crm-message-answer .crm-chat-sender{color:#144985}.crm-prospect-detail.crm-desk .crm-message-answer .crm-chat-sender>span{color:#375f90}.crm-prospect-detail.crm-desk .crm-message-answer footer{color:#31587e;font-size:10px}
.crm-prospect-detail.crm-desk .crm-message-footer{margin:9px 0 0;gap:8px;align-items:center}.crm-prospect-detail.crm-desk .crm-message-footer .primary{background:#125ec8;border:1px solid #125ec8;color:#fff;box-shadow:0 2px 4px #125ec826;padding:8px 12px;border-radius:6px;font-size:11px}
.crm-prospect-detail.crm-desk .crm-message-reference{color:#526980;font-size:10px}.crm-prospect-detail.crm-desk .crm-message-reference summary{color:#435c77;font-size:10px;cursor:pointer}
.crm-prospect-detail.crm-desk .crm-chat-position-bar{flex-shrink:0;min-height:33px;padding:5px 16px;background:white;border-top:1px solid #bfcddd;color:#48617b;font-size:10px}
.crm-prospect-detail.crm-desk .crm-chat-position-bar>button{color:#174e8c;border-color:#a8c5e5;background:#edf5ff;font-weight:600}
.crm-prospect-detail.crm-desk .crm-chat-policy{flex-shrink:0;background:#f5f8fc;padding:7px 16px;font-size:10px;line-height:1.45;color:#425b76;border-top:1px solid #dce4ed}
.crm-desk .crm-message-utilities{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:start;border-top:1px solid #bdcddd;background:white;position:relative;min-height:39px}
.crm-prospect-detail.crm-desk .crm-internal-note,.crm-prospect-detail.crm-desk .crm-send-history{margin:0;border:0;flex:1;min-width:200px;border-radius:0;background:white}
.crm-prospect-detail.crm-desk .crm-internal-note>summary,.crm-prospect-detail.crm-desk .crm-send-history>summary{padding:11px 15px;color:#284c72;font-size:11px;font-weight:650;cursor:pointer;border:0;line-height:1.5}
.crm-prospect-detail.crm-desk .crm-send-history>summary>span:last-child{display:none}
.crm-prospect-detail.crm-desk .crm-message-utilities:has(details[open]){max-height:38dvh;overflow-y:auto;display:block}
.crm-prospect-detail.crm-desk .crm-note-composer{background:#fff6df;border:0;border-top:1px solid #dfc998;padding:12px 15px;margin:0;color:#60481b}
.crm-desk .crm-note-caption{color:#60481b}.crm-desk .crm-note-caption>span{color:#6b4b0c}.crm-desk .crm-note-composer textarea{background:#fffdf5;border-color:#b9a46e}
.crm-prospect-detail.crm-desk .crm-prospect-rail{max-height:none;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#edf2f7;border-left:1px solid #bfccda;padding:12px;gap:9px;display:flex;flex-direction:column}
.crm-desk .crm-context-heading{padding:2px 3px 5px;display:flex;flex-direction:column;gap:5px;flex-shrink:0}.crm-desk .crm-context-heading>span{font-size:10px;font-weight:750;color:#254666;letter-spacing:.6px}.crm-desk .crm-context-heading small{font-size:10px;color:#4d657e;line-height:1.5}
.crm-prospect-detail.crm-desk .crm-record-panel{padding:13px;background:white;border:1px solid #bfccda;border-radius:8px;box-shadow:0 1px 3px #152d4506;margin:0;flex-shrink:0;min-width:0}
.crm-prospect-detail.crm-desk .crm-context-section>summary{color:#163c60;font-size:12px;font-weight:750;gap:5px}.crm-prospect-detail.crm-desk .crm-context-section>summary>span{color:#4a627a;font-size:11px;line-height:1.5}.crm-prospect-detail.crm-desk .crm-context-section>summary:after{color:#365c83;font-size:18px}
.crm-prospect-detail.crm-desk .crm-context-section[open]>summary{border-bottom:1px solid #c9d5e2}.crm-prospect-detail.crm-desk .crm-context-section>summary>.crm-sale-success{color:#186143}.crm-prospect-detail.crm-desk .crm-context-section>summary>.crm-sale-warning{color:#835108}
.crm-prospect-detail.crm-desk .crm-next-action{border-top:3px solid #2b6fc1;background:#f8fbff}.crm-prospect-detail.crm-desk .crm-next-action h2{color:#173e68}.crm-prospect-detail.crm-desk .crm-next-action .crm-rail-empty{color:#4b627a;font-size:11px;line-height:1.6}
.crm-prospect-detail.crm-desk .crm-contact-details dt{color:#52687f;font-size:10px}.crm-prospect-detail.crm-desk .crm-contact-details dd{color:#1e3c5b;font-size:12px}.crm-prospect-detail.crm-desk .crm-rail-actions button{font-size:11px;padding:7px 9px}
.crm-prospect-detail.crm-desk .crm-service-goal{background:#f6faf7;border-color:#adc4b7}.crm-desk .crm-service-goal small,.crm-desk .crm-sale-panel .form-help{color:#4b6275;line-height:1.6}
.crm-prospect-detail.crm-desk .crm-record-content>.crm-conversation-heading{padding:16px 20px;flex-shrink:0;border-bottom:1px solid #cad5e1}.crm-desk .crm-conversation-heading h2{font-size:16px;margin:4px 0}.crm-desk .crm-conversation-heading p{font-size:11px;color:#52687f;margin:0}
.crm-prospect-detail.crm-desk .crm-record-content>.crm-timeline{max-height:none;min-height:0;overflow-y:auto;flex:1;padding:12px 20px;margin:0;background:#f7f9fc}
.crm-prospect-detail.crm-desk .crm-manual-followup{padding:22px;overflow:auto;flex:1}.crm-desk .crm-manual-followup p{color:#405a75;line-height:1.7}
.crm-prospect-detail.crm-desk.crm-focus-mode .crm-record-layout{grid-template-columns:minmax(0,1fr)}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-record-layout>.crm-prospect-rail{display:none}
@media(min-width:1000px){main:has(.crm-desk){padding:12px 16px 12px}.crm-prospect-detail.crm-desk{height:var(--crm-desk-height,calc(100dvh - 98px));overflow:hidden}.crm-prospect-detail.crm-desk .crm-record-layout{flex:1;min-height:0}.crm-prospect-detail.crm-desk .crm-record-layout>.crm-record-center{grid-row:1;order:0}.crm-prospect-detail.crm-desk .crm-record-layout>.crm-prospect-rail{grid-row:1;order:0}}
@media(min-width:1700px){.crm-prospect-detail.crm-desk .crm-record-layout{grid-template-columns:minmax(0,1fr) 350px}.crm-prospect-detail.crm-desk .crm-chat-feed{padding-left:36px;padding-right:36px}}
@media(max-width:1190px) and (min-width:1000px){.crm-prospect-detail.crm-desk .crm-record-layout{grid-template-columns:minmax(0,1fr) 270px}.crm-prospect-detail.crm-desk .crm-record-header{flex-wrap:wrap;gap:8px}.crm-prospect-detail.crm-desk .crm-record-avatar{display:none}.crm-prospect-detail.crm-desk .crm-record-title h1{font-size:20px}.crm-desk .crm-messaging-topbar{padding:0 9px}.crm-desk .crm-messaging-tools{gap:5px}.crm-desk .crm-messaging-tools button{font-size:10px;padding:6px 7px}}
@media(max-width:999px){main:has(.crm-desk){padding:10px 12px 18px}.crm-prospect-detail.crm-desk .crm-record-header{flex-wrap:wrap;gap:8px;padding:11px 12px}.crm-prospect-detail.crm-desk .crm-record-title h1{font-size:20px}.crm-prospect-detail.crm-desk .crm-record-header>.heading-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.crm-prospect-detail.crm-desk .crm-record-layout{display:flex;flex-direction:column}.crm-prospect-detail.crm-desk .crm-record-layout>.crm-record-center{order:0;grid-row:auto}.crm-prospect-detail.crm-desk .crm-record-layout>.crm-prospect-rail{order:1;grid-row:auto;max-height:none;overflow:visible;border-left:0;border-top:1px solid #bfccda}.crm-prospect-detail.crm-desk .crm-record-content{min-height:360px;flex:none}.crm-prospect-detail.crm-desk .crm-chat-feed{height:55dvh;min-height:260px;max-height:640px;flex:none}.crm-prospect-detail.crm-desk .crm-timeline{height:50dvh;max-height:600px}.crm-prospect-detail.crm-desk .crm-messaging-topbar{gap:0;padding:0 10px}.crm-desk .crm-messaging-tools{padding:7px 0}.crm-prospect-detail.crm-desk .crm-chat-feed{padding:12px 14px}.crm-prospect-detail.crm-desk .crm-message-meta{flex-wrap:wrap;gap:5px}.crm-prospect-detail.crm-desk .crm-message-bubble,.crm-prospect-detail.crm-desk .crm-message-answer{max-width:93%}.crm-prospect-detail.crm-desk .crm-message-footer{flex-wrap:wrap}.crm-prospect-detail.crm-desk .crm-message-utilities{display:block}.crm-prospect-detail.crm-desk .crm-message-utilities:has(details[open]){max-height:none;overflow:visible}.crm-prospect-detail.crm-desk .crm-record-content>.crm-timeline{height:50dvh;flex:none}.crm-prospect-detail.crm-desk .crm-record-content>.crm-conversation-heading{padding:12px 14px}}
@media(max-width:600px){.crm-prospect-detail.crm-desk .crm-record-avatar{display:none}.crm-desk .crm-header-back{border:0;padding-right:0;align-self:start}.crm-prospect-detail.crm-desk .crm-record-title h1{font-size:19px}.crm-prospect-detail.crm-desk .crm-record-title .crm-eyebrow{font-size:8px;letter-spacing:.25px}.crm-prospect-detail.crm-desk .crm-hero-topline{flex-wrap:wrap;gap:4px}.crm-prospect-detail.crm-desk .crm-record-header>.heading-actions{justify-content:flex-start}.crm-prospect-detail.crm-desk .crm-record-header .heading-actions button{min-height:32px;padding:7px 9px;font-size:10px}.crm-prospect-detail.crm-desk .crm-record-tabs{min-height:41px}.crm-prospect-detail.crm-desk .crm-record-tabs button{min-height:41px;padding:10px 9px;font-size:12px}.crm-desk .crm-messaging-tools{width:100%;justify-content:space-between;border-top:1px solid #d9e3ee}.crm-desk .crm-messaging-tools .secondary{font-size:10px;padding:7px;min-height:32px}.crm-desk .crm-messaging-tools .crm-focus-toggle{margin-left:auto}.crm-desk .crm-communication-actions{gap:4px}.crm-prospect-detail.crm-desk .crm-chat-toolbar{padding:7px 10px}.crm-prospect-detail.crm-desk .crm-chat-toolbar>span{display:none}.crm-prospect-detail.crm-desk .crm-message-reference{width:100%}.crm-prospect-detail.crm-desk .crm-chat-policy{font-size:9px}.crm-prospect-detail.crm-desk .crm-chat-position-bar>span{max-width:48%;font-size:9px}.crm-prospect-detail.crm-desk .crm-message-bubble p,.crm-prospect-detail.crm-desk .crm-message-answer p{font-size:12px}}
@media(max-width:999px){.crm-prospect-detail.crm-desk.crm-focus-mode{position:fixed;inset:0;z-index:30;margin:0;background:#edf2f7;padding:0;height:100dvh;overflow:hidden}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-record-header{border-radius:0}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-record-layout{flex:1;min-height:0}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-record-center{flex:1;min-height:0}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-record-content{flex:1;min-height:0}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-chat-feed{flex:1;height:auto;min-height:0;max-height:none}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-message-utilities:has(details[open]){max-height:35dvh;overflow:auto}.crm-prospect-detail.crm-desk.crm-focus-mode .crm-record-content>.crm-timeline{height:auto;flex:1;min-height:0}}
@media(prefers-reduced-motion:reduce){.crm-desk *{scroll-behavior:auto!important}}
.crm-desk .crm-messaging-topbar>.crm-record-tabs{order:0}.crm-desk .crm-messaging-topbar>.crm-messaging-tools{order:1}.crm-desk .crm-messaging-topbar>.crm-focus-toggle{order:2;font-size:11px;padding:7px 9px;min-height:32px;border-color:#125ec8;color:#0f4d9e;background:#e9f2ff}.crm-desk .crm-messaging-topbar>.crm-focus-toggle[aria-pressed=true]{background:#125ec8;color:#fff}
.crm-prospect-detail.crm-desk .crm-chat-exchange.needs-response .crm-message-meta{border:0;background:transparent}.crm-prospect-detail.crm-desk .crm-chat-confirmation{color:#235a45}
@media(max-width:600px){.crm-desk .crm-messaging-topbar>.crm-messaging-tools{order:3;width:100%;justify-content:flex-start}.crm-desk .crm-messaging-topbar>.crm-focus-toggle{order:1;font-size:10px;padding:7px 8px}.crm-desk .crm-messaging-tools .crm-communication-actions{width:auto;flex-wrap:wrap}}
@media(max-width:999px){body:has(.crm-desk.crm-focus-mode) .sidebar,body:has(.crm-desk.crm-focus-mode) .topbar{visibility:hidden}}
.crm-prospect-detail.crm-desk .crm-record-title h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.crm-prospect-detail.crm-desk .crm-hero-topline>.crm-eyebrow{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;flex-shrink:1}

/* 0.73.1: stage progression stays visible beside the conversation workspace. */
.crm-prospect-detail.crm-desk .crm-stage-overview{flex-shrink:0;background:#f6f9fd;border:1px solid #bdcddd;border-top:0;padding:7px 14px}
.crm-prospect-detail.crm-desk .crm-stage-overview .crm-stage-section{display:flex;align-items:center;gap:14px;margin:0;min-width:0}
.crm-prospect-detail.crm-desk .crm-stage-overview .crm-eyebrow{font-size:9px;color:#354f6b;letter-spacing:.5px;flex-shrink:0;margin:0}
.crm-prospect-detail.crm-desk .crm-stage-overview .crm-sales-path{flex:1;display:flex;gap:5px;flex-wrap:nowrap;padding:0;margin:0;min-width:0;overflow-x:auto;scrollbar-width:thin}
.crm-prospect-detail.crm-desk .crm-stage-overview .crm-path-step{flex:1 0 auto;min-width:110px;padding:8px 12px;border-radius:5px;clip-path:none;white-space:nowrap;font-size:11px;line-height:1.4;color:#36516d;background:#e5edf6;border:1px solid #c0cfdf;box-shadow:none}
.crm-prospect-detail.crm-desk .crm-stage-overview .crm-path-step.current{color:#fff;background:#125ec8;border-color:#125ec8;font-weight:750}
.crm-prospect-detail.crm-desk .crm-stage-overview .crm-path-step.passed:not(.current){color:#205841;background:#deeee5;border-color:#a9cbbb}
@media(max-width:999px){.crm-prospect-detail.crm-desk .crm-stage-overview{padding:7px 10px}.crm-prospect-detail.crm-desk .crm-stage-overview .crm-stage-section{display:block}.crm-prospect-detail.crm-desk .crm-stage-overview .crm-eyebrow{display:block;margin-bottom:6px}.crm-prospect-detail.crm-desk .crm-stage-overview .crm-path-step{min-width:100px;font-size:10px;padding:7px 9px}}
.crm-desk:has(.crm-stage-won) .crm-stage-overview .crm-path-step.current{background:#186143;border-color:#186143}.crm-desk:has(.crm-stage-lost) .crm-stage-overview .crm-path-step.current{background:#9b3450;border-color:#9b3450}.crm-desk:has(.crm-stage-discarded) .crm-stage-overview .crm-path-step.current{background:#586579;border-color:#586579}
.crm-prospect-detail.crm-desk .crm-stage-overview .crm-stage-section{padding:0;border:0;border-radius:0;min-height:0;background:transparent}

/* Independent email and verified WhatsApp contact events in the shared timeline. */
.crm-email-exchange{display:flex;justify-content:flex-end;margin:14px 0}.crm-email-bubble{max-width:min(88%,700px);width:fit-content;background:#eef2ff!important;border:1px solid #c7d2fe!important;border-left:4px solid #6366f1!important;box-shadow:0 3px 12px #1725540a}.crm-email-subject{display:block;margin:10px 0 4px;color:#172554}.crm-email-recipient{display:block;color:#475569;overflow-wrap:anywhere}.crm-email-expand summary{list-style:none;cursor:pointer;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:12px 0}.crm-email-expand summary b{display:block;color:#4338ca;font-size:12px;margin-top:8px}.crm-email-expand[open] summary span{display:none}.crm-email-expand[open] summary b{font-size:0}.crm-email-expand[open] summary b:after{content:'Cerrar correo completo';font-size:12px}.crm-email-expand p{white-space:pre-wrap;overflow-wrap:anywhere}.crm-contact-exchange{margin:18px 0;display:flex;justify-content:center}.crm-contact-event{display:flex;gap:12px;padding:16px;border:1px solid #a7f3d0;border-radius:14px;background:#ecfdf5;color:#064e3b;max-width:600px}.crm-contact-event-icon{background:#047857;color:white;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.crm-contact-event small,.crm-contact-event time{display:block;font-size:12px;margin-top:5px;color:#3f665b}.crm-contact-event p{margin:8px 0;line-height:1.55}.crm-email-bubble footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.crm-email-bubble .crm-send-state{white-space:normal}@media(max-width:700px){.crm-email-bubble{max-width:96%}.crm-contact-event{padding:12px}}

.crm-email-expand summary>span{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.crm-email-bubble .crm-chat-sender{font-size:12px}.crm-email-bubble .crm-chat-sender span{font-size:11px;color:#4338ca}.crm-email-bubble .crm-email-recipient{font-size:12px;color:#475569}

/* Compact inbound contact, aligned with buyer messages. */
.crm-contact-exchange{justify-content:flex-start;margin:9px 0}.crm-contact-event{max-width:min(86%,560px);padding:10px 12px;gap:9px;border-radius:12px;border-left:3px solid #10b981;box-shadow:none}.crm-contact-event-icon{width:25px;height:25px;font-size:15px}.crm-contact-event>div{min-width:0;flex:1}.crm-contact-event-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap}.crm-contact-event-heading strong{font-size:12px}.crm-contact-event-heading time{font-size:10px;margin:0;white-space:nowrap}.crm-contact-event p{font-size:13px;line-height:1.4;margin:4px 0 5px}.crm-contact-reference summary{font-size:10px;color:#3f665b;cursor:pointer;line-height:1.4}.crm-contact-reference small{font-size:11px;overflow-wrap:anywhere;margin-top:6px}.crm-inbox-unread-badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;background:#dbeafe;color:#1e40af;font-size:10px;font-weight:700;padding:3px 7px;width:fit-content;margin:3px 0}.crm-inbox-unread-badge>span{width:6px;height:6px;border-radius:50%;background:#2563eb;flex-shrink:0}.crm-inbox-table tr.crm-inbox-unread>td{background:#eff6ff}.crm-inbox-table tr.crm-inbox-unread>td:first-child{box-shadow:inset 3px 0 #2563eb}.crm-inbox-unread-total{font-size:11px;color:#1d4ed8;display:block;margin-top:5px}.crm-list-views{flex-wrap:wrap}@media(max-width:700px){.crm-contact-event{max-width:96%;padding:9px 10px}.crm-contact-event-heading{gap:3px 10px}}
