.funnelStageEditor{display:flex!important;gap:16px;padding:12px 0 18px;align-items:flex-start;max-width:100%;min-width:0}
.stageCompactGroup button[hidden]{display:none!important}
.funnelStageGroup{flex:1 1 0;min-width:0;border-right:1px solid #e1e9e8;padding-right:12px}.funnelStageGroup:last-child{border:0}.funnelStageGroup[data-outcome=active]{flex:3 1 0}.funnelStageGroup:not([data-outcome=active]){min-width:160px}
.funnelStageLabel{font-size:11px;font-weight:500;text-transform:uppercase;color:#819598;margin:0 0 9px 8px}
.funnelStageStrip{display:flex;gap:5px;align-items:center;min-height:36px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
@media(max-width:800px){.funnelStageEditor{flex-direction:column}.funnelStageGroup{width:100%;box-sizing:border-box;border:0}}
.funnelStageEditor .funnelStageArrow{display:flex;align-items:center;gap:4px;box-sizing:border-box;position:relative;height:36px;padding:0 16px 0 12px;border:0;border-radius:5px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%,7px 50%);width:180px;flex:0 0 auto;cursor:grab}
.funnelStageEditor .funnelStageArrow.editing{width:auto;min-width:370px;clip-path:none;padding:0 8px;border-radius:5px}
.funnelStageEditor .funnelStageArrow button{border:0;background:transparent;color:inherit;padding:2px;min-width:20px;height:26px;box-shadow:none;cursor:pointer}
.funnelStageEditor .funnelStageArrow .funnelStageTitle{font-family:inherit;font-size:12px;font-weight:500;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;min-width:0;flex:1}
.funnelStageEditor .funnelStageName{width:175px;min-width:100px;height:28px;border:1px solid #d4e4e5;border-radius:3px;background:#fff;color:#153a40;padding:3px 6px;font-size:12px}
.funnelStageEditor .funnelStageType{width:115px;min-width:115px;height:28px;padding:2px;font-size:11px;background:white;color:#153a40;border:0;border-radius:3px}
.funnelStageEditor .funnelStageColor{width:25px;min-width:25px;height:25px;padding:0;border:0;cursor:pointer}
.funnelStageEditor button.funnelStageAdd{width:28px;height:28px;min-width:28px;border-radius:50%;border:1px solid #c9dddb;background:#edf6f4;color:#318d85;padding:0;font-size:20px;box-shadow:none}
/* Explicit sizes override shared CRM input rules, including later stylesheets. */
.funnelStageEditor{gap:12px;padding:8px 0 10px}
.funnelStageGroup[data-outcome=success]{flex:0 0 190px;min-width:0}
.funnelStageGroup[data-outcome=failure]{flex:2 1 0;min-width:180px}
.funnelStageLabel{font-size:10px;margin-bottom:6px}
.funnelStageStrip{min-height:30px;gap:4px;padding-bottom:5px}
.funnelStageEditor .funnelStageArrow{height:30px!important;width:154px;padding:0 12px 0 10px}
.funnelStageEditor .funnelStageArrow .funnelStageTitle{font-size:11px}
.funnelStageEditor .funnelStageArrow.editing{min-width:0!important;width:max-content!important;padding:3px 6px!important;gap:4px!important}
.funnelStageEditor .funnelStageArrow input.funnelStageName{box-sizing:border-box!important;flex:0 0 145px!important;width:145px!important;min-width:0!important;height:24px!important;min-height:0!important;margin:0!important;padding:2px 5px!important;border-radius:3px!important;font-size:11px!important;line-height:18px!important}
.funnelStageEditor .funnelStageArrow select.funnelStageType{box-sizing:border-box!important;flex:0 0 100px!important;width:100px!important;min-width:0!important;height:24px!important;min-height:0!important;margin:0!important;padding:1px 3px!important;border-radius:3px!important;font-size:10px!important}
.funnelStageEditor .funnelStageArrow button{height:24px!important;min-height:0!important;padding:0 3px!important;border-radius:3px!important}
.funnelStageEditor .funnelStageArrow button.funnelColorButton{display:flex;align-items:center;gap:4px;font-size:10px;white-space:nowrap;background:rgba(255,255,255,.85);color:#153a40;flex:none}
.funnelColorSample{width:12px;height:12px;border:1px solid #567b7b;border-radius:3px}
.funnelStageEditor input.funnelStageColor{position:absolute!important;opacity:0!important;width:1px!important;min-width:0!important;height:1px!important;pointer-events:none!important;padding:0!important}
.funnelStageEditor button.funnelStageAdd{width:24px;height:24px;min-width:24px;font-size:17px}
@media(max-width:800px){.funnelStageGroup[data-outcome]{flex:auto;width:100%;min-width:0}}
