#main-content.pipeline-active{padding:0!important;gap:0}#main-content.pipeline-active>:not(#view-pipeline):not(.module-development-notice){display:none!important}#view-pipeline .pipeline-filters input,#view-pipeline .pipeline-filters select{border-radius:13px}.crm-pipeline{padding:26px 28px;color:#232827;background:#fafbf9;min-width:0;box-sizing:border-box;width:100%;font:15px/1.5 system-ui,sans-serif}.crm-pipeline.hidden{display:none}.pipeline-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.pipeline-header h1{font-size:30px;line-height:1.2;font-weight:750;margin:0;letter-spacing:-.6px}.pipeline-header-actions{display:flex;align-items:center;gap:14px}.pipeline-view-toggle{display:flex;background:#edeeeb;border-radius:14px;padding:5px}.crm-pipeline button{cursor:pointer;font:inherit}.pipeline-view-toggle button{border:1px solid transparent;background:transparent;padding:10px 18px;border-radius:10px;color:#5c615e}.pipeline-view-toggle [aria-pressed=true]{background:#fff;border-color:#d9dcd7;color:#161b18;box-shadow:0 1px 3px #1c29200d}.pipeline-new{background:#008573;color:#fff;border:0;border-radius:12px;padding:14px 22px;min-height:48px;font-weight:650!important}.pipeline-filters{display:flex;gap:12px;margin-bottom:20px}.pipeline-filters label{display:block;min-width:0}.pipeline-search{flex:1}.pipeline-filters input,.pipeline-filters select{box-sizing:border-box;width:100%;min-height:52px;background:#fff;border:1px solid #d3d7d0;border-radius:13px;padding:12px 16px;font:inherit;color:#303630}.pipeline-filters select{min-width:180px}.pipeline-stage-filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}.pipeline-stage-filters button{border:1px solid #d3d7d0;border-radius:99px;padding:9px 18px;min-height:44px;background:transparent;color:#50574f}.pipeline-stage-filters [aria-pressed=true]{background:#151a15;color:#fff;border-color:#151a15}.pipeline-board{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr)) repeat(2,190px);align-items:start;gap:16px;overflow-x:auto;padding-bottom:20px;scrollbar-color:#8b948c #eef0eb;scrollbar-width:auto;min-height:370px}.pipeline-lane{background:#f0f1ed;border-radius:20px;padding:18px;min-height:330px;box-sizing:border-box}.pipeline-lane h2{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:650;margin:0 0 18px;white-space:nowrap}.pipeline-count{background:#e4e6df;color:#596055;border-radius:99px;padding:2px 8px;font-size:12px}.pipeline-dot{width:11px;height:11px;border-radius:50%;background:#5bc5ab;flex:none}.stage-qualified{background:#3eaa94}.stage-proposal{background:#258e77}.stage-negotiation{background:#007b64}.stage-won{background:#12a530}.stage-lost{background:#909289}.pipeline-terminal{border:1px dashed #cdd3c8;background:transparent}.pipeline-summary{display:grid;gap:7px;border:0;background:transparent;text-align:left;color:#71766d;padding:0;width:100%;min-height:95px}.pipeline-summary strong{color:#4a5046;font-size:20px}.pipeline-summary span:last-child{font-size:12px}.pipeline-empty{border:1px dashed #cdd3c8;border-radius:14px;padding:20px 12px;color:#81877c;text-align:center}.pipeline-card{background:#fff;border:1px solid #e0e5da;border-radius:13px;padding:14px;margin:12px 0;box-shadow:0 2px 5px #14271905}.pipeline-card p{font-size:12px;color:#737a6c;margin:4px 0 10px;overflow-wrap:anywhere}.pipeline-card strong{font-size:17px}.pipeline-contact{padding:0;border:0;background:transparent;color:#263e2b;font-weight:650!important;text-align:left;overflow-wrap:anywhere}.pipeline-contact:hover{text-decoration:underline}.pipeline-stage-label select{max-width:100%;min-height:36px;border:1px solid #dce2d6;border-radius:8px;background:#fff;color:#3e5040;padding:5px 8px;font:inherit;font-size:12px}.pipeline-edit{display:block;background:transparent;border:0;color:#008573;font-size:12px!important;padding:10px 0 0}.pipeline-table-scroll{overflow-x:auto}.crm-pipeline table{width:100%;border-collapse:collapse;background:#fff;min-width:740px}.crm-pipeline th,.crm-pipeline td{padding:14px;border-bottom:1px solid #e0e5da;text-align:left}.crm-pipeline th{font-size:12px;color:#70776b}.crm-pipeline button:focus-visible,.crm-pipeline input:focus-visible,.crm-pipeline select:focus-visible,.pipeline-board:focus-visible{outline:3px solid #28a58c;outline-offset:3px}.crm-pipeline :disabled{cursor:default;opacity:.65}.pipeline-dialog{max-width:580px}.pipeline-dialog [role=status]{color:#a32323}@media(max-width:767px){.crm-pipeline{padding:20px 14px}.pipeline-header{align-items:flex-start;flex-wrap:wrap;gap:18px;margin-bottom:20px}.pipeline-header h1{font-size:27px}.pipeline-header-actions{width:100%;justify-content:space-between;gap:8px}.pipeline-new{padding:12px 16px}.pipeline-view-toggle button{padding:9px 13px}.pipeline-filters{flex-wrap:wrap}.pipeline-search{flex-basis:100%}.pipeline-filters label:not(.pipeline-search){flex:1}.pipeline-filters select{min-width:0}.pipeline-stage-filters{flex-wrap:nowrap;overflow-x:auto;padding:3px 3px 8px}.pipeline-stage-filters button{flex-shrink:0;padding:8px 15px}.pipeline-board{grid-template-columns:repeat(4,270px) repeat(2,190px)}}

.pipeline-drag-help{font-size:12px;color:#586b80;margin:0 0 16px}.pipeline-card[draggable=true]{cursor:grab;touch-action:pan-y}.pipeline-card.is-dragging{opacity:.45}.pipeline-lane.is-drop-target{outline:3px solid #0f766e;outline-offset:-3px;background:#e6f4f1}.pipeline-drag-preview{position:fixed;z-index:10080;pointer-events:none;transform:translate(-50%,-120%);max-width:220px;background:#111d32;color:white;border:2px solid #5eead4;border-radius:10px;padding:12px 18px;font:600 14px system-ui;box-shadow:0 8px 25px #111d3244}
.pipeline-board{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr)}.pipeline-context,.pipeline-followup-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:16px}.pipeline-context label,.pipeline-followup-filters label{display:grid;gap:4px;font-size:12px}.pipeline-context button,.pipeline-context select,.pipeline-followup-filters select,.pipeline-quick-actions a,.pipeline-quick-actions button{border:1px solid #d8e2df;border-radius:8px;background:white;color:#21574d;padding:8px 12px;min-height:44px}.pipeline-context button{font-size:12px}.pipeline-quick-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.pipeline-quick-actions a,.pipeline-quick-actions button{display:inline-flex;align-items:center;font-size:11px!important;text-decoration:none;padding:5px 8px;min-height:36px}.pipeline-followup-board{display:grid;grid-template-columns:repeat(4,minmax(245px,1fr));gap:14px;overflow:auto}.pipeline-overdue{color:#c62846!important;font-weight:700}.pipeline-stage-editor{display:grid;grid-template-columns:40px minmax(80px,1fr) 76px 32px 32px 32px;gap:5px;align-items:center;margin:10px 0}.pipeline-stage-editor input{min-width:0;width:100%;box-sizing:border-box}.pipeline-stage-editor input[type=color]{height:40px;padding:3px}.pipeline-stage-editor button{min-height:40px;padding:3px}.pipeline-dialog{width:680px;max-width:94vw}.pipeline-dialog footer{display:flex;gap:10px;justify-content:end;margin-top:16px}.pipeline-dialog p{font-size:12px;color:#5d6e7a}.pipeline-context [hidden],.crm-pipeline [hidden]{display:none!important}@media(max-width:550px){.pipeline-stage-editor{grid-template-columns:32px minmax(72px,1fr) 62px 28px 28px 28px;gap:3px}.pipeline-stage-editor input,.pipeline-stage-editor select{font-size:12px;padding:4px}.pipeline-quick-actions a,.pipeline-quick-actions button{min-height:44px}}
.pipeline-latest-note{margin:12px 0;border-left:3px solid #008573;padding:9px 10px;background:#f1f8f5;border-radius:0 8px 8px 0}.pipeline-latest-note>span{font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:750;color:#376455}.pipeline-latest-note p{color:#263c35;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0}.pipeline-latest-note small,.pipeline-log-history small{font-size:10px;color:#697c75}.pipeline-log-history{margin:10px 0;font-size:12px}.pipeline-log-history summary{cursor:pointer;min-height:36px;display:list-item;color:#006e60;padding:8px 0}.pipeline-log-history ol{list-style:none;max-height:260px;overflow:auto;padding:0;margin:4px 0 12px}.pipeline-log-history li{border-bottom:1px solid #e0e9e5;padding:9px 0}.pipeline-log-history li p{white-space:pre-wrap;margin:4px 0;color:#334b42}.pipeline-log-history form{display:grid;gap:8px}.pipeline-log-history textarea{box-sizing:border-box;width:100%;min-height:86px;border:1px solid #bdcec6;border-radius:8px;padding:9px;font:14px/1.5 system-ui;resize:vertical;background:white;color:#243c32}.pipeline-log-history form button{background:#007f6c;color:white;border:0;border-radius:8px;padding:10px;min-height:44px}.pipeline-log-history [role=status]{color:#a92336;margin:0}

.sales-firm-scope{font:12px/1.5 system-ui;color:#22614e;padding:10px 14px;background:#edf7f2;border:1px solid #cee6da;border-radius:8px;flex:0 0 auto}.sales-firm-scope[data-error=true]{color:#952733;background:#fff1f2;border-color:#f1c5cd}#main-content.pipeline-active>#sales-firm-scope,#main-content.projects-active>#sales-firm-scope{display:block!important}
.crm-pipeline .pipeline-quick-actions .pipeline-contact-icon{width:34px;height:34px;min-height:34px;padding:0;justify-content:center;flex:0 0 34px}.pipeline-contact-icon svg{display:block;flex:none}.crm-pipeline .pipeline-log-history summary.pipeline-latest-note{padding:8px 10px;margin:8px 0;background:var(--es-primary-soft,#EFF6FF);border-left-color:var(--es-primary,#2563EB);color:var(--es-text,#0F172A);list-style-position:inside}.pipeline-latest-note .pipeline-note-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:400;text-transform:none;letter-spacing:0;color:var(--es-text,#0F172A);white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.pipeline-log-history .pipeline-latest-note small{display:block;color:var(--es-text-muted,#64748B)}.pipeline-log-history form{padding:2px 0 10px}.pipeline-log-list-title{font-size:11px;font-weight:600;color:var(--es-text-muted,#64748B);margin:8px 0 2px}@media(max-width:550px){.crm-pipeline .pipeline-quick-actions .pipeline-contact-icon{width:44px;height:44px;min-height:44px;flex-basis:44px}}
.crm-pipeline .pipeline-log-history input[name=note]{box-sizing:border-box;width:100%;min-width:0;height:34px;min-height:34px;border:1px solid var(--es-border,#CBD5E1);border-radius:7px;padding:6px 9px;font:12px/1.4 system-ui;background:var(--es-surface,#fff);color:var(--es-text,#0F172A)}.pipeline-log-history form [role=status]:empty{display:none}@media(max-width:550px){.crm-pipeline .pipeline-log-history input[name=note]{height:44px;min-height:44px}}
.crm-pipeline :is(.pipeline-board,.pipeline-followup-board){display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:280px;overflow-x:auto;max-width:100%;min-width:0;width:100%;box-sizing:border-box;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-bottom:14px;scrollbar-width:thin}.pipeline-scroll-tools{display:flex;align-items:center;gap:8px;margin:4px 0 10px;min-width:0}.crm-pipeline .pipeline-scroll-tools>button{flex:none;width:34px;min-height:30px;height:30px;padding:0;border:1px solid var(--es-border,#CBD5E1);border-radius:7px;background:var(--es-surface,#fff);color:var(--es-text,#0F172A);font-size:24px;line-height:1}.pipeline-scroll-track{flex:1;min-width:0;height:16px;overflow-x:scroll;overflow-y:hidden;scrollbar-width:auto}.pipeline-scroll-track>div{height:1px}.pipeline-scroll-track::-webkit-scrollbar{height:9px}@media(max-width:550px){.crm-pipeline .pipeline-scroll-tools>button{width:44px;min-height:44px;height:44px}}
/* One proportional draggable thumb, normalized to the board's actual scroll range. */
.crm-pipeline .pipeline-stretch-scroll{width:100%;margin:4px 0 10px;padding:4px 0;box-sizing:border-box}.crm-pipeline .pipeline-stretch-scroll input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;height:20px;min-height:20px;margin:0;padding:0!important;border:0!important;border-radius:8px;background:transparent!important;cursor:ew-resize;touch-action:pan-y;flex:1;min-width:0}.pipeline-stretch-scroll input::-webkit-slider-runnable-track{height:9px;border-radius:8px;background:var(--es-border,#E2E8F0)}.pipeline-stretch-scroll input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:var(--pipeline-thumb-width,80px);height:15px;margin-top:-3px;border-radius:8px;background:#94A3B8;border:1px solid #64748B}.pipeline-stretch-scroll input::-moz-range-track{height:9px;border-radius:8px;background:var(--es-border,#E2E8F0)}.pipeline-stretch-scroll input::-moz-range-thumb{width:var(--pipeline-thumb-width,80px);height:13px;border-radius:8px;background:#94A3B8;border:1px solid #64748B}.pipeline-stretch-scroll input:hover::-webkit-slider-thumb,.pipeline-stretch-scroll input:active::-webkit-slider-thumb{background:#475569}.pipeline-stretch-scroll input:hover::-moz-range-thumb,.pipeline-stretch-scroll input:active::-moz-range-thumb{background:#475569}.pipeline-stretch-scroll input:disabled{opacity:.45;cursor:default}@media(max-width:550px){.crm-pipeline .pipeline-stretch-scroll input[type=range]{height:34px;min-height:34px}}

/* Match the app's thin, light scrollbar treatment. */
.crm-pipeline .pipeline-stretch-scroll{padding:0;margin:2px 0 7px}.crm-pipeline .pipeline-stretch-scroll input[type=range]{height:12px;min-height:12px}.pipeline-stretch-scroll input::-webkit-slider-runnable-track{height:5px;background:var(--es-scroll-track,#F1F5F9)}.pipeline-stretch-scroll input::-webkit-slider-thumb{height:7px;margin-top:-1px;border:0;background:var(--es-scroll-thumb,#CBD5E1)}.pipeline-stretch-scroll input::-moz-range-track{height:5px;background:var(--es-scroll-track,#F1F5F9)}.pipeline-stretch-scroll input::-moz-range-thumb{height:7px;border:0;background:var(--es-scroll-thumb,#CBD5E1)}.pipeline-stretch-scroll input:hover::-webkit-slider-thumb,.pipeline-stretch-scroll input:active::-webkit-slider-thumb{background:var(--es-scroll-hover,#64748B)}.pipeline-stretch-scroll input:hover::-moz-range-thumb,.pipeline-stretch-scroll input:active::-moz-range-thumb{background:var(--es-scroll-hover,#64748B)}

#product-shell #view-pipeline .pipeline-header label{gap:0!important;margin-top:0!important;margin-bottom:0!important}#product-shell #view-pipeline .pipeline-header{align-items:center!important}#product-shell #view-pipeline .pipeline-header label>span.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media screen and (max-width:767px){.crm-pipeline .pipeline-card{touch-action:auto!important;-webkit-user-drag:none;cursor:default}.crm-pipeline :is(.pipeline-board,.pipeline-followup-board){touch-action:pan-x pan-y!important}}

@media screen{html[data-estate-theme="shared"][data-es-color-mode] #view-pipeline .pipeline-contact-icon[data-pipeline-whatsapp],html[data-estate-theme="shared"][data-es-color-mode] #view-pipeline .pipeline-contact-icon[data-pipeline-whatsapp]:is(:hover,:focus,:active,:visited){background:#139869!important;border-color:#139869!important;color:#FFFFFF!important;filter:none!important;opacity:1!important}html[data-estate-theme="shared"][data-es-color-mode] #view-pipeline .pipeline-contact-icon[data-pipeline-whatsapp] svg{color:#FFFFFF!important;stroke:#FFFFFF!important}}
