/* v6.8 responsive pipeline controls and card interactions */
.scos-stage-filter-row{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:10px 0 12px;z-index:5}
.scos-stage-filter{position:relative;max-width:100%}
.scos-stage-filter>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:45px;padding:9px 15px;border:1px solid #dcd5ee;border-radius:12px;background:#fff;color:#4a336e;font-size:13px;font-weight:800;box-shadow:0 2px 10px rgba(30,20,70,.04);user-select:none}
.scos-stage-filter>summary::-webkit-details-marker{display:none}
.scos-stage-filter>summary:focus-visible{outline:3px solid #9759ed;outline-offset:3px}
.scos-stage-filter[open]>summary{border-color:#a983e6;color:#7135c2;background:#faf7ff}
.scos-filter-arrow{margin-left:8px;transition:transform .16s}
.scos-stage-filter[open] .scos-filter-arrow{transform:rotate(180deg)}
#scosSelectedStages{font-size:11px;color:#876ca9;font-weight:700}
.scos-stage-filter-panel{position:absolute;z-index:30;top:calc(100% + 7px);left:0;width:min(720px,calc(100vw - 70px));max-height:min(66vh,490px);overflow-y:auto;border:1px solid #ddd1f2;background:#fff;border-radius:16px;padding:15px;box-shadow:0 22px 50px rgba(28,18,55,.18)}
.scos-stage-filter-panel>p{font-size:12px;color:#67748c;margin:0 0 12px}
.scos-stage-nav{display:flex;flex-wrap:wrap;gap:8px;overflow:visible!important;max-width:100%;padding:0!important}
.scos-stage-nav-btn{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px;min-height:38px;border-radius:12px;border:1px solid #e6e0f2;background:#f9f7fd;color:#51416b;font-size:12px;font-weight:720;cursor:pointer;transition:border-color .14s,background .14s}
.scos-stage-nav-btn:has(input:checked){border-color:#8851d7;background:#efe6ff;color:#543087}
.scos-stage-nav-btn input{accent-color:#7a3be4;margin:0;width:15px;height:15px;cursor:pointer}
.scos-stage-nav-btn b{font-variant-numeric:tabular-nums;padding:2px 6px;border-radius:7px;background:#e8e2f2;color:#64547a}
.scos-stage-filter-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px;padding-top:12px;border-top:1px solid #eee8f4}
.scos-drag-instructions{font-size:12px;color:#687792;white-space:normal}
.nx-prospect-card[data-scos-draggable="true"]{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y;transition:opacity .17s,filter .17s,transform .17s,box-shadow .17s,border-color .17s!important}
.nx-prospect-card[data-scos-draggable="true"]:active{cursor:grabbing}
.nx-prospect-card.scos-dragging{opacity:.36;filter:blur(.8px);transform:scale(.98);box-shadow:0 14px 32px rgba(65,29,119,.22)}
.scos-prospect-grip{flex:none;display:grid;place-items:center;width:28px;min-height:38px;margin-left:auto;border-radius:8px;color:#9a82c1;font-size:22px;font-weight:800;cursor:grab;touch-action:none}
.nx-prospect-card[data-scos-draggable="true"]:hover .scos-prospect-grip{background:#efe7fb;color:#7e49c1}
.nx-column.scos-drop-target{outline:2px solid #8650dd;outline-offset:-3px;box-shadow:inset 0 0 35px rgba(143,88,221,.17);background-color:rgba(143,88,221,.065);transition:background .12s,box-shadow .12s}
.scos-touch-ghost{position:fixed!important;top:0;left:0;z-index:90000;pointer-events:none!important;opacity:.77!important;background:linear-gradient(130deg,#523274,#352047)!important;border:1px solid #ceb2fb!important;filter:blur(.25px);box-shadow:0 22px 48px rgba(35,14,55,.38);transform-origin:center;transition:none!important;touch-action:none}
.scos-drag-active{user-select:none!important;-webkit-user-select:none!important}
.scos-drop-sale-notice{grid-column:1/-1;padding:12px 14px;background:#f4efff;border:1px solid #d9c6f9;border-radius:12px;font-size:12px;line-height:1.5;color:#49317b}
html:not([data-scos-theme="professional_light"]) .scos-stage-filter>summary{background:#231833;color:#eee2ff;border-color:#73569c}
html:not([data-scos-theme="professional_light"]) .scos-stage-filter-panel{background:#20162f;border-color:#7654a3;box-shadow:0 24px 50px #0009}
html:not([data-scos-theme="professional_light"]) .scos-stage-filter-panel>p,html:not([data-scos-theme="professional_light"]) .scos-drag-instructions{color:#c5b6d8}
html:not([data-scos-theme="professional_light"]) .scos-stage-nav-btn{background:#352545;color:#eddfff;border-color:#7656a0}
html:not([data-scos-theme="professional_light"]) .scos-stage-nav-btn:has(input:checked){background:#61399a;border-color:#ad84f2}
@media(max-width:620px){.scos-stage-filter-row{gap:7px}.scos-stage-filter-panel{width:calc(100vw - 35px);padding:12px}.scos-drag-instructions{font-size:11px}}
@media(prefers-reduced-motion:reduce){.nx-prospect-card[data-scos-draggable="true"],.nx-column.scos-drop-target,.scos-filter-arrow{transition:none!important}.scos-touch-ghost{filter:none!important}}

/* v6.9 physically lifted cards, consistent touch capture, satisfying responsive drop */
.nx-prospect-card[data-scos-draggable="true"]{
 -webkit-user-select:none!important;user-select:none!important;
 -webkit-touch-callout:none!important;touch-action:none!important;
 cursor:grab;position:relative;contain:layout style;
}
.nx-prospect-card[data-scos-draggable="true"] *,
.nx-prospect-card[data-scos-draggable="true"]::before{
 -webkit-user-select:none!important;user-select:none!important;-webkit-user-drag:none!important;
}
.nx-prospect-card.scos-drag-ready{cursor:grabbing}
.nx-prospect-card.scos-dragging{
 opacity:.24!important;filter:grayscale(.2) blur(.8px)!important;
 transform:scale(.974)!important;
 box-shadow:inset 0 0 12px #9b6bdb55!important;
}
.scos-touch-ghost{
 position:fixed!important;top:0!important;left:0!important;
 z-index:2147483000!important;pointer-events:none!important;
 opacity:.97!important;filter:none!important;
 background:linear-gradient(152deg,#fff 0%,#fbf8ff 100%)!important;
 color:#1a2542!important;border:1.5px solid #a477e8!important;
 box-shadow:0 15px 36px #28104449,0 30px 65px #25134331,0 0 0 5px #9566e32c!important;
 border-radius:14px!important;overflow:visible!important;
 will-change:transform,opacity;cursor:grabbing;
 transition:box-shadow .14s ease,opacity .14s ease!important;
 transform-origin:center center!important;
}
.scos-touch-ghost.scos-ghost-lifted{
 box-shadow:0 23px 42px #27103e66,0 37px 75px #30125d40,0 0 0 6px #8755c52f!important;
}
.scos-touch-ghost.scos-ghost-release{
 transition:transform .19s cubic-bezier(.18,.76,.3,1),opacity .17s ease!important;
}
.scos-touch-ghost .scos-prospect-grip{color:#7b52b2!important}
.nx-column.scos-drop-target{
 outline:2px solid #9158e8!important;outline-offset:-3px;
 background:linear-gradient(180deg,#eee5ff99,#e7dbfa44)!important;
 box-shadow:inset 0 0 0 2px #8854d63c,inset 0 24px 40px #9b59db22!important;
}
.nx-column.scos-drop-target .nx-column-scroll::before{
 content:'Drop here';display:flex;align-items:center;justify-content:center;
 height:66px;margin:0 0 9px;border:2px dashed #965bde;
 border-radius:11px;background:#eee6ffbf;color:#734ab4;font-size:12px;font-weight:750;
}
.nx-column.scos-drop-success{
 animation:scos690Accept .35s ease-out;
}
@keyframes scos690Accept{
 0%{box-shadow:inset 0 0 0 3px #8d53e480,0 0 0 0 #a57ae560}
 65%{box-shadow:inset 0 0 0 3px #8d53e440,0 0 0 7px #a57ae500}
 100%{box-shadow:none}
}
html:not([data-scos-theme="professional_light"]) .scos-touch-ghost{
 background:linear-gradient(145deg,#39254d,#281e3d)!important;color:#efe8ff!important;
 border-color:#a17be8!important;
}
@media (prefers-reduced-motion:reduce){
 .scos-touch-ghost,.scos-touch-ghost.scos-ghost-release{transition:none!important;filter:none!important}
 .nx-column.scos-drop-success{animation:none!important}
 .nx-column.scos-drop-target .nx-column-scroll::before{transition:none!important}
}
