/* AEROA Pipeline V8 — premium revenue workspace.
   Scoped to PipelineFlow so existing Leads and other CRM surfaces remain unchanged. */
.pipelineCommandV8{
  width:100%;min-width:0;position:relative;
  margin:0 0 20px;
  padding:clamp(20px,2vw,34px);
  border:1px solid var(--t-border);
  border-radius:22px;
  background:var(--t-panel);
  box-shadow:0 12px 36px rgba(14,39,51,.045),0 2px 7px rgba(14,39,51,.02);
  color:var(--t-text);
}
.pipelineCommandHeaderV8{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:18px;min-width:0;margin-bottom:23px;
}
.pipelineCommandHeadingV8{min-width:0}
.pipelineCommandEyebrowV8{
  display:inline-flex;align-items:center;gap:9px;
  font-size:11px;font-weight:800;letter-spacing:.15em;
  color:var(--t-blue);
}
.pipelineLiveDotV8{
  display:inline-block;width:8px;height:8px;border-radius:50%;
  background:#25b5a4;box-shadow:0 0 0 4px rgba(37,181,164,.13);
}
.pipelineCommandHeadingV8 h2{
  margin:9px 0 6px;font-size:clamp(23px,2.1vw,30px);line-height:1.12;
  letter-spacing:-.045em;font-weight:760;
}
.pipelineCommandHeadingV8 p{
  margin:0;max-width:700px;line-height:1.5;
  color:var(--t-muted);font-size:13px;
}
.pipelineCommandMetricV8{
  display:flex;align-items:center;gap:11px;flex-shrink:0;
  padding-top:4px;
}
.pipelineCommandMetricV8>span{
  color:var(--t-muted);font-size:10px;font-weight:800;letter-spacing:.14em;
}
.pipelineMetricSegmentV8{
  display:inline-flex;align-items:center;padding:4px;gap:3px;
  border:1px solid var(--t-border);border-radius:12px;
  background:var(--t-panel2);
}
.pipelineMetricSegmentV8>button{
  display:flex;align-items:center;justify-content:center;
  gap:7px;min-height:35px;padding:7px 13px;
  background:transparent;border:0;border-radius:9px;
  font-size:12px;font-weight:730;color:var(--t-muted);
  transition:background .16s ease,color .16s ease,box-shadow .16s ease;
}
.pipelineMetricSegmentV8>button:hover{color:var(--t-text)}
.pipelineMetricSegmentV8>button.active{
  background:var(--t-panel);color:var(--t-text);
  box-shadow:0 1px 6px rgba(0,0,0,.08);
}
.pipelineCommandOverviewV8{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.35fr);
  gap:14px;align-items:stretch;min-width:0;margin-bottom:33px;
}
.pipelinePulseHeroV8{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:200px;display:flex;flex-direction:column;
  gap:0;padding:23px 25px;
  border-radius:18px;color:#efffff;
  background:linear-gradient(121deg,#0b2431 0%,#113f4d 58%,#165c61 100%);
  box-shadow:0 11px 24px rgba(9,46,55,.13);
}
.pipelinePulseGlowV8{
  position:absolute;z-index:-1;pointer-events:none;
  width:365px;height:365px;right:-135px;top:-150px;border-radius:50%;
  background:radial-gradient(circle,rgba(79,205,186,.30) 0%,rgba(79,205,186,.08) 46%,transparent 72%);
}
.pipelinePulseHeroV8::after{
  content:"";position:absolute;z-index:-1;
  right:18px;bottom:-90px;width:220px;height:220px;border-radius:50%;
  border:1px solid rgba(170,235,225,.11);
  box-shadow:0 0 0 36px rgba(170,235,225,.018),0 0 0 72px rgba(170,235,225,.016);
}
.pipelinePulseTopV8{
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:12px;margin-bottom:12px;
}
.pipelinePulseTopV8>span:first-child{
  display:flex;align-items:center;gap:9px;
  font-size:10px;letter-spacing:.16em;font-weight:800;color:#b3d9d8;
}
.pipelinePulseSparkV8{
  width:7px;height:7px;background:#70e0c8;border-radius:50%;
  box-shadow:0 0 0 4px rgba(109,225,203,.13);
}
.pipelinePulseTagV8{
  display:inline-flex;align-items:center;gap:4px;
  border:1px solid rgba(202,250,240,.2);border-radius:99px;
  padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:.09em;
  color:#bcdfdf;background:rgba(255,255,255,.055);
}
.pipelinePulseValueV8{
  font-size:clamp(36px,3.1vw,49px);letter-spacing:-.06em;
  font-weight:780;line-height:1.07;font-variant-numeric:tabular-nums;
}
.pipelinePulseHeroV8>p{
  margin:7px 0 21px;font-size:12px;color:#b9d6da;line-height:1.45;
}
.pipelinePulseHeroV8>p b{color:#f3ffff;font-weight:700}
.pipelinePulseBottomV8{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  margin-top:auto;padding-top:12px;border-top:1px solid rgba(210,255,246,.17);
}
.pipelinePulseFootV8{font-size:11px;line-height:1.35;color:#d5f3ee}
.pipelinePulseBottomV8 button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  flex-shrink:0;padding:8px 10px;min-height:35px;
  border-radius:9px;border:1px solid rgba(215,252,239,.32);
  background:rgba(228,255,248,.11);color:#fff;font-size:11px;font-weight:750;
  transition:background .16s ease,transform .16s ease;
}
.pipelinePulseBottomV8 button:hover{background:rgba(228,255,248,.22);transform:translateY(-1px)}
.pipelinePulseClearV8{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#9debd9}
.pipelinePulseStatsV8{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;min-width:0;
}
.pipelinePulseStatV8{
  position:relative;display:flex;flex-direction:column;align-items:flex-start;
  text-align:left;min-width:0;
  padding:20px 17px;
  border:1px solid var(--t-border);border-radius:17px;
  background:linear-gradient(154deg,var(--t-panel2),var(--t-panel));
  color:var(--t-text);
  transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease;
}
.pipelinePulseStatV8.interactive{cursor:pointer}
.pipelinePulseStatV8.interactive:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--t-blue) 38%,var(--t-border));
  box-shadow:0 8px 18px rgba(0,0,0,.055);
}
.pipelinePulseStatV8.active{border-color:var(--t-blue)}
.pipelinePulseStatV8.urgent{
  background:linear-gradient(150deg,color-mix(in srgb,var(--t-warn) 7%,var(--t-panel)),var(--t-panel));
}
.pipelinePulseStatIconV8{
  width:38px;height:38px;display:grid;place-items:center;
  border-radius:11px;background:var(--t-soft);color:var(--t-blue);
  margin-bottom:15px;
}
.pipelinePulseStatIconV8.amber{
  background:color-mix(in srgb,var(--t-warn) 12%,var(--t-panel));color:var(--t-warn);
}
.pipelinePulseStatIconV8.blue{
  background:color-mix(in srgb,var(--t-blue) 10%,var(--t-panel));color:var(--t-blue);
}
.pipelinePulseStatLabelV8{
  font-size:10px;line-height:1.45;font-weight:800;
  letter-spacing:.065em;color:var(--t-muted);min-height:28px;
}
.pipelinePulseStatV8>strong{
  display:block;font-size:clamp(26px,2.25vw,35px);line-height:1.16;
  font-weight:760;letter-spacing:-.045em;
  font-variant-numeric:tabular-nums;margin:5px 0;
}
.pipelinePulseStatV8>small{
  display:block;margin-top:auto;padding-top:8px;
  font-size:11px;line-height:1.45;color:var(--t-muted);
}
.pipelineFlowTitleV8{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:16px;margin-bottom:17px;min-width:0;
}
.pipelineFlowTitleV8>div{min-width:0}
.pipelineFlowEyebrowV8{
  display:flex;align-items:center;gap:10px;
  font-size:10px;letter-spacing:.14em;font-weight:800;color:var(--t-blue);
}
.pipelineFlowEyebrowDividerV8{
  width:18px;height:1px;background:var(--t-border);
}
.pipelineFlowTitleV8 h3{
  margin:7px 0 5px;font-size:clamp(19px,1.7vw,23px);
  font-weight:760;letter-spacing:-.035em;line-height:1.2;
}
.pipelineFlowTitleV8 p{
  margin:0;font-size:11px;line-height:1.5;color:var(--t-muted);
  max-width:670px;
}
.pipelineFlowHintV8,.pipelineFlowResetV8{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  color:var(--t-muted);font-size:11px;flex-shrink:0;
}
.pipelineFlowHintV8 svg{color:var(--t-blue)}
.pipelineFlowSwipeV8{display:none}
.pipelineFlowResetV8{
  padding:8px 11px;min-height:36px;
  color:var(--t-blue);font-weight:740;
  border:1px solid var(--t-border);border-radius:9px;background:var(--t-panel2);
}
.pipelineFlowResetV8:hover{border-color:var(--t-blue)}
.pipelineFlowTrackV8{
  position:relative;display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  width:100%;min-width:0;overflow:hidden;
  background:var(--t-panel2);
  border:1px solid var(--t-border);border-radius:18px;
  padding:6px 5px;
}
.pipelineFlowTrackV8::before{
  content:"";position:absolute;
  z-index:0;pointer-events:none;
  left:7.2%;right:7.2%;top:37px;height:2px;
  background:linear-gradient(90deg,#8bb4bb 0%,#43a5ad 36%,#5c93b7 66%,#42a47d 100%);
  opacity:.57;
}
.pipelineFlowStepV8{
  --step-accent:var(--t-blue);
  position:relative;z-index:1;display:flex;flex-direction:column;
  align-items:stretch;min-width:0;min-height:198px;
  gap:0;padding:15px clamp(9px,1.04vw,17px) 13px;
  border:1px solid transparent;border-radius:13px;
  background:transparent;text-align:left;color:var(--t-text);
  overflow:visible;
  transition:background .16s ease,box-shadow .16s ease,transform .16s ease,border-color .16s ease;
}
.pipelineFlowStepV8:not(:last-child)::after{
  content:"";position:absolute;right:-1px;top:58px;bottom:12px;
  width:1px;background:var(--t-border);opacity:.6;
  pointer-events:none;
}
.pipelineFlowStepV8:hover{
  background:color-mix(in srgb,var(--t-blue) 6%,var(--t-panel));
  transform:translateY(-1px);
}
.pipelineFlowStepV8.selected{
  background:color-mix(in srgb,var(--t-blue) 10%,var(--t-panel))!important;
  border-color:color-mix(in srgb,var(--t-blue) 48%,var(--t-border));
  box-shadow:0 5px 16px rgba(18,83,91,.09);
}
.pipelineFlowStepV8:focus-visible{
  outline:3px solid var(--t-blue);outline-offset:1px;
}
.pipelineFlowStepV8.step-sold{--step-accent:var(--t-success)}
.pipelineFlowStepV8.step-application{--step-accent:#a18253}
.pipelineFlowStepV8.step-quoted{--step-accent:#6b88a9}
.pipelineFlowNodeV8{
  display:flex;justify-content:space-between;align-items:center;
  gap:4px;height:31px;margin-bottom:16px;
}
.pipelineFlowNumberV8{
  position:relative;z-index:2;display:grid;place-items:center;
  width:31px;height:31px;flex:none;
  border-radius:50%;
  background:var(--t-panel);
  border:1px solid color-mix(in srgb,var(--step-accent) 52%,var(--t-border));
  color:var(--step-accent);
  box-shadow:0 0 0 3px var(--t-panel2);
  font-size:11px;font-weight:800;font-variant-numeric:tabular-nums;
}
.pipelineFlowStepV8.selected .pipelineFlowNumberV8{
  color:#fff;background:var(--t-blue);border-color:var(--t-blue);
}
.pipelineFlowShareV8{
  font-size:10px;letter-spacing:-.02em;color:var(--t-muted);
  font-weight:700;white-space:nowrap;
}
.pipelineFlowStepLabelV8{
  display:block;font-size:13px;font-weight:780;line-height:1.28;
  letter-spacing:-.015em;color:var(--t-text);
  margin-bottom:9px;white-space:normal;overflow-wrap:normal;
}
.pipelineFlowAmountV8{
  display:block;font-size:clamp(20px,1.7vw,29px);
  font-weight:760;letter-spacing:-.05em;line-height:1.15;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.pipelineFlowMetaV8{
  display:block;font-size:11px;line-height:1.32;
  color:var(--t-muted);margin-top:6px;min-height:30px;
}
.pipelineFlowMicroV8{
  display:block;position:relative;margin-top:auto;
  width:100%;height:4px;overflow:hidden;border-radius:100px;
  background:color-mix(in srgb,var(--t-border) 60%,transparent);
}
.pipelineFlowMicroV8>span{
  display:block;height:100%;border-radius:100px;max-width:100%;
  background:var(--step-accent);
  transition:width .22s ease;
}
.pipelineFlowFootV8{
  display:flex;align-items:center;margin-top:10px;
  min-height:25px;min-width:0;
}
.pipelineFlowRiskV8,.pipelineFlowBookedV8{
  display:inline-flex;max-width:100%;
  align-items:center;min-height:24px;
  font-size:10px;font-weight:730;line-height:1.25;
  padding:5px 7px;border-radius:8px;
  white-space:normal;
}
.pipelineFlowRiskV8{
  color:var(--t-warn);
  background:color-mix(in srgb,var(--t-warn) 10%,var(--t-panel));
}
.pipelineFlowBookedV8{
  color:var(--t-blue);
  background:color-mix(in srgb,var(--t-blue) 9%,var(--t-panel));
}
.pipelineFlowQuietV8{
  color:var(--t-muted);font-size:10px;line-height:1.3;
}
.pipelineFlowFooterV8{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;flex-wrap:wrap;
  margin-top:12px;color:var(--t-muted);
  font-size:10px;line-height:1.45;
}
.pipelineFlowFooterV8>span:first-child{display:flex;align-items:center;gap:7px}
.pipelineFlowFooterDotV8{width:6px;height:6px;background:var(--t-blue);border-radius:50%}
/* Board and filters use the same restrained, polished visual language. */
.pipelineWorkspaceV6 .pipelineBoardSectionV6{
  border:1px solid var(--t-border)!important;
  border-radius:20px!important;
  padding:clamp(18px,1.7vw,28px)!important;
  background:var(--t-panel)!important;
  box-shadow:0 9px 29px rgba(14,39,51,.035);
  overflow:hidden;
}
.pipelineWorkspaceV6 .pipelineBoardHeadV6{
  align-items:center!important;gap:16px!important;
  margin-bottom:19px!important;
}
.pipelineWorkspaceV6 .pipelineBoardHeadV6 h2{
  margin:5px 0!important;
  letter-spacing:-.035em;font-weight:760;line-height:1.2!important;
  font-size:clamp(22px,1.9vw,28px)!important;
}
.pipelineWorkspaceV6 .pipelineBoardHeadV6 .eyebrow{
  color:var(--t-blue);letter-spacing:.12em;
}
.pipelineWorkspaceV6 .pipelineBoardHeadV6 p{
  font-size:12px;line-height:1.4;color:var(--t-muted);
}
.pipelineWorkspaceV6 .pipelineViewSwitchV4{
  border-radius:11px;
  border:1px solid var(--t-border);
  padding:4px;background:var(--t-panel2);
}
.pipelineWorkspaceV6 .pipelineViewSwitchV4 button{
  min-height:36px;
  border:0;border-radius:8px;padding:8px 12px;
  color:var(--t-muted);font-weight:680;
}
.pipelineWorkspaceV6 .pipelineViewSwitchV4 button.on{
  color:var(--t-text);background:var(--t-panel);
  box-shadow:0 1px 5px rgba(0,0,0,.07);
}
.pipelineWorkspaceV6 .pipelineOpenLeadsV5{
  border-radius:10px;min-height:43px;
  border:1px solid var(--t-border);
  background:var(--t-panel2);color:var(--t-text);
  font-weight:690;
}
.pipelineWorkspaceV6 .pipelineControlBarV6{
  gap:9px!important;
  padding:12px!important;
  background:color-mix(in srgb,var(--t-panel2) 72%,var(--t-panel))!important;
  border:1px solid var(--t-border);
  border-radius:13px!important;
  margin-bottom:17px!important;
}
.pipelineWorkspaceV6 .pipelineControlBarV6 :is(.pipelineSearchV4,select,button){
  border:1px solid var(--t-border)!important;
  border-radius:9px!important;
  background:var(--t-panel)!important;
  color:var(--t-text)!important;
  min-height:42px!important;
}
.pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineSearchV4{
  padding:8px 12px!important;
}
.pipelineWorkspaceV6 .pipelineControlBarV6 select{
  padding-left:10px;
}
.pipelineWorkspaceV6 .pipelineKanbanV7{
  gap:14px!important;
  padding-bottom:10px;
}
.pipelineWorkspaceV6 .pipelineKanbanV7 .kanbanCol{
  background:color-mix(in srgb,var(--t-panel2) 82%,var(--t-panel))!important;
  border:1px solid var(--t-border)!important;
  border-radius:14px!important;
}
.pipelineWorkspaceV6 .pipelineKanbanV7 .kanbanHeadV7{
  background:transparent;
  min-height:70px;
  padding:15px 15px 12px!important;
  border-bottom:1px solid var(--t-border)!important;
}
.pipelineWorkspaceV6 .pipelineKanbanV7 .kanbanHeadV7 b{
  font-weight:800;letter-spacing:.045em;
}
.pipelineWorkspaceV6 .pipelineKanbanV7 .kanbanCards{
  padding:11px!important;gap:11px!important;
}
.pipelineWorkspaceV6 .pipelineKanbanV7 .pipelineCardV4{
  background:var(--t-panel)!important;
  border:1px solid color-mix(in srgb,var(--t-border) 88%,transparent)!important;
  border-radius:12px!important;
  padding:14px!important;
  box-shadow:0 3px 12px rgba(14,39,51,.035);
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.pipelineWorkspaceV6 .pipelineKanbanV7 .pipelineCardV4:hover{
  border-color:color-mix(in srgb,var(--t-blue) 35%,var(--t-border))!important;
  box-shadow:0 7px 22px rgba(14,39,51,.075);
  transform:translateY(-1px);
}
.pipelineWorkspaceV6 .pipelineCardActionsV4 :is(button,a,select){
  border-radius:8px;
}
/* Breakpoints prioritize readable stages over filling arbitrary rows of cards. */
@media (max-width:1400px){
  .pipelineCommandOverviewV8{grid-template-columns:minmax(0,1fr);gap:11px}
  .pipelinePulseHeroV8{min-height:172px}
  .pipelinePulseStatsV8{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pipelinePulseStatV8{min-height:145px}
  .pipelinePulseStatIconV8{margin-bottom:9px}
  .pipelinePulseStatLabelV8{min-height:0}
  .pipelinePulseStatV8>strong{font-size:30px}
}
@media (max-width:1160px) and (min-width:761px){
  .pipelineFlowTrackV8{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .pipelineFlowTrackV8::before{display:none}
  .pipelineFlowStepV8{min-height:182px}
  .pipelineFlowStepV8::after{display:none}
  .pipelineFlowNumberV8{box-shadow:none}
  .pipelineFlowNodeV8{margin-bottom:11px}
  .pipelineFlowStepV8{
    border:1px solid color-mix(in srgb,var(--t-border) 75%,transparent);
    background:color-mix(in srgb,var(--t-panel) 50%,transparent);
  }
}
@media (max-width:920px) and (min-width:761px){
  .pipelineCommandHeaderV8{flex-wrap:wrap}
  .pipelineCommandMetricV8{margin-left:auto}
  .pipelineFlowTrackV8{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pipelinePulseStatV8{padding:15px}
  .pipelineFlowTitleV8{flex-wrap:wrap}
  .pipelineFlowStepV8{min-height:175px}
}
@media(max-width:760px){
  .pipelineCommandV8{
    padding:4px 0 0;border:0;border-radius:0;
    background:transparent;box-shadow:none;
    margin-bottom:27px;
  }
  .pipelineCommandHeaderV8{flex-direction:column;gap:14px;margin-bottom:18px}
  .pipelineCommandEyebrowV8{font-size:9px;letter-spacing:.11em}
  .pipelineCommandHeadingV8 h2{font-size:26px;line-height:1.12;margin-top:8px}
  .pipelineCommandHeadingV8 p{font-size:13px}
  .pipelineCommandMetricV8{width:100%;justify-content:space-between;padding:0}
  .pipelineCommandMetricV8>span{font-size:10px}
  .pipelineMetricSegmentV8{padding:3px}
  .pipelineMetricSegmentV8>button{min-height:37px;padding:8px 13px}
  .pipelineCommandOverviewV8{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:26px}
  .pipelinePulseHeroV8{padding:21px;min-height:195px;border-radius:17px}
  .pipelinePulseTopV8{margin-bottom:16px}
  .pipelinePulseValueV8{font-size:40px}
  .pipelinePulseBottomV8{align-items:flex-start}
  .pipelinePulseBottomV8 button{white-space:nowrap}
  .pipelinePulseStatsV8{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .pipelinePulseStatV8{
    padding:13px 10px 12px;min-height:148px;border-radius:12px;
  }
  .pipelinePulseStatIconV8{width:30px;height:30px;border-radius:8px;margin-bottom:10px}
  .pipelinePulseStatIconV8 svg{width:16px;height:16px}
  .pipelinePulseStatLabelV8{font-size:9px;line-height:1.35;letter-spacing:.025em;min-height:30px}
  .pipelinePulseStatV8>strong{font-size:26px;margin:2px 0}
  .pipelinePulseStatV8>small{font-size:9px;line-height:1.4}
  .pipelineFlowTitleV8{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:13px}
  .pipelineFlowTitleV8 h3{font-size:22px}
  .pipelineFlowTitleV8 p{font-size:11px}
  .pipelineFlowHintV8{font-size:11px}
  .pipelineFlowSwipeV8{display:inline}
  .pipelineFlowTrackV8{
    display:flex;grid-template-columns:none;
    gap:7px;overflow-x:auto;overflow-y:hidden;
    max-width:100%;padding:5px 6px 9px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    border-radius:15px;
    -webkit-overflow-scrolling:touch;
  }
  .pipelineFlowTrackV8::-webkit-scrollbar{display:none}
  .pipelineFlowTrackV8::before{display:none}
  .pipelineFlowStepV8{
    flex:0 0 166px;width:166px;
    min-height:182px;padding:13px 12px 11px;
    scroll-snap-align:start;
    border:1px solid color-mix(in srgb,var(--t-border) 80%,transparent);
    background:color-mix(in srgb,var(--t-panel) 65%,transparent);
  }
  .pipelineFlowStepV8::after{display:none}
  .pipelineFlowNodeV8{margin-bottom:10px}
  .pipelineFlowNumberV8{box-shadow:none}
  .pipelineFlowAmountV8{font-size:26px}
  .pipelineFlowStepLabelV8{font-size:13px}
  .pipelineFlowFooterV8{align-items:flex-start;gap:5px;padding:0 2px}
  .pipelineFlowFooterV8>span:last-child{display:none}
  .pipelineWorkspaceV6 .pipelineBoardSectionV6{
    background:transparent!important;
    border:0!important;border-radius:0!important;
    padding:0!important;box-shadow:none!important;overflow:visible;
  }
}
@media(max-width:380px){
  .pipelinePulseStatsV8{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pipelinePulseStatsV8 .pipelinePulseStatV8:first-child{grid-column:1/-1;min-height:105px}
  .pipelinePulseStatsV8 .pipelinePulseStatV8:first-child>.pipelinePulseStatIconV8{margin-bottom:5px}
  .pipelinePulseStatsV8 .pipelinePulseStatV8:first-child>strong{margin:2px 0}
}
@media(prefers-reduced-motion:reduce){
  .pipelineCommandV8 *{transition:none!important;animation:none!important}
}
/* Contrast and clarity refinements from rendered QA. */
.appShell .pipelinePulseHeroV8>p b{
  color:#f5fffe!important;
  font-weight:760!important;
}
.pipelineFlowShareV8{
  position:relative;z-index:2;
  padding:2px 4px;
  background:var(--t-panel2);
  border-radius:5px;
  line-height:1.25;
}
.pipelineFlowStepV8.selected .pipelineFlowShareV8{
  background:color-mix(in srgb,var(--t-blue) 10%,var(--t-panel));
}
@media(max-width:760px){
  .pipelineFlowShareV8{
    background:color-mix(in srgb,var(--t-panel) 65%,transparent);
  }
}

/* Sparse pipelines: keep one populated lane useful, not one giant lead card. */
@media (min-width:761px) {
  .pipelineWorkspaceV6 .pipelineKanbanV7.pipelineSingleStageV9 {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    grid-auto-columns:auto!important;
    width:100%!important;
    overflow:visible!important;
    gap:0!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9>.kanbanCol {
    display:grid!important;
    grid-template-columns:minmax(185px,235px) minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
    gap:0!important;
    align-items:stretch;
    border:1px solid var(--t-border)!important;
    overflow:hidden!important;
    background:color-mix(in srgb,var(--t-panel2) 76%,var(--t-panel))!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanHeadV7 {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    padding:23px 18px!important;
    min-width:0!important;
    gap:16px!important;
    border-bottom:0!important;
    border-right:1px solid var(--t-border)!important;
    background:color-mix(in srgb,var(--t-panel2) 62%,var(--t-panel))!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanStageTitleV5 {
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:10px!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanStageTitleV5 b {
    font-size:16px!important;
    text-transform:none!important;
    letter-spacing:-.02em!important;
    line-height:1.25;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanStageTitleV5 span {
    display:inline-grid!important;place-items:center;
    min-width:34px!important;height:34px!important;
    font-size:14px!important;
    background:color-mix(in srgb,var(--t-blue) 10%,var(--t-panel));
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanStageMetaV7 {
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    gap:7px!important;margin-top:0;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanCards {
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr))!important;
    align-content:start!important;
    gap:13px!important;
    padding:16px!important;
    min-width:0!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .pipelineCardV4 {
    width:100%!important;
    max-width:380px!important;
    min-width:0!important;
    align-self:start!important;
  }
}
@media(min-width:761px) and (max-width:1150px){
  .pipelineWorkspaceV6 .pipelineSingleStageV9>.kanbanCol{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanHeadV7{
    padding:14px 18px!important;
    flex-direction:row!important;
    justify-content:space-between!important;
    align-items:center!important;
    border-right:0!important;
    border-bottom:1px solid var(--t-border)!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanStageTitleV5{
    flex-direction:row!important;align-items:center!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .kanbanCards{
    grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))!important;
  }
  .pipelineWorkspaceV6 .pipelineSingleStageV9 .pipelineCardV4{
    max-width:380px!important;
  }
}
/* Opportunity cards: fewer decorative boxes, stronger information hierarchy. */
.pipelineWorkspaceV6 .pipelineKanbanV7 .pipelineCardV4 {
  display:grid!important;
  align-content:start!important;
  gap:10px!important;
  padding:17px!important;
  border:1px solid var(--t-border)!important;
  box-shadow:0 3px 11px rgba(0,0,0,.035)!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 .pipelineCardTop{
  align-items:center!important;
  gap:10px!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 .pipelineCardTop b{
  display:block;
  font-size:14px!important;
  font-weight:770!important;
  line-height:1.35!important;
  white-space:normal!important;
  letter-spacing:-.015em;
}
.pipelineWorkspaceV6 .pipelineCardV4 .pipelineCardTop small{
  font-size:11px!important;
  line-height:1.4!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
  margin-top:3px;
}
.pipelineWorkspaceV6 .pipelineCardFactsV4{
  display:grid!important;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;
  gap:12px!important;
  padding:9px 0 0!important;
}
.pipelineWorkspaceV6 .pipelineCardMetaV4{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  padding:10px 0!important;
  border-top:1px solid var(--t-border)!important;
  border-bottom:1px solid var(--t-border)!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 :is(.pipelineCardFactsV4,.pipelineCardMetaV4)>span{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  gap:4px!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  background:transparent!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 :is(.pipelineCardFactsV4,.pipelineCardMetaV4) small{
  font-size:10px!important;
  font-weight:720!important;
  letter-spacing:.055em!important;
  line-height:1.25!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 :is(.pipelineCardFactsV4,.pipelineCardMetaV4) b{
  font-size:12px!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
}
.pipelineWorkspaceV6 .pipelineCardV4 .pipelineCardFactsV4>span:first-child b {
  font-size:15px!important;
  font-weight:790!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 .pipelineUrgency{
  min-height:31px!important;
  padding:7px 9px!important;
  gap:7px!important;
  align-items:center!important;
  border-radius:8px;
  font-size:11px!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 .pipelineUrgency span{
  white-space:normal!important;
  line-height:1.35!important;
}
.pipelineWorkspaceV6 .pipelineCardV4 .pipelineUrgency em{
  font-size:10px!important;
  white-space:normal!important;
}
.pipelineWorkspaceV6 .pipelineCardActionsV4{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
}
.pipelineWorkspaceV6 .pipelineCardActionsV4 :is(a,button){
  min-height:39px!important;
  border-radius:9px!important;
  font-size:11px!important;
  font-weight:700!important;
}
.pipelineWorkspaceV6 .pipelineCardActionsV4 select{
  grid-column:1/-1!important;
  min-height:39px!important;
  margin-top:0!important;
  border-radius:9px!important;
  font-size:12px!important;
}
@media(max-width:760px){
  .pipelineWorkspaceV6 .pipelineKanbanV7 .pipelineCardV4{
    padding:14px!important;
  }
  .pipelineWorkspaceV6 .pipelineCardV4 .pipelineCardTop b{font-size:14px!important}
}
.pipelinePulseValueV8.unestimated{font-size:clamp(29px,2.7vw,41px);letter-spacing:-.04em}
.pipelineFlowAmountV8.unestimated{font-size:clamp(15px,1.15vw,19px)!important;letter-spacing:-.025em;line-height:1.3}
@media(max-width:760px){.pipelineFlowAmountV8.unestimated{font-size:19px!important}}
/* Desktop V9: an executive overview that leaves room to work leads above the fold. */
@media(min-width:761px){
  .pipelineWorkspaceV6 .pipelineCommandV8{
    padding:clamp(17px,1.45vw,25px)!important;
    margin-bottom:15px!important;
  }
  .pipelineCommandHeaderV8{margin-bottom:15px!important}
  .pipelineCommandHeadingV8 h2{margin:6px 0 5px!important;font-size:clamp(22px,1.9vw,27px)!important}
  .pipelineCommandOverviewV8{margin-bottom:21px!important;gap:11px!important}
  .pipelinePulseHeroV8{min-height:165px!important;padding:17px 20px!important}
  .pipelinePulseTopV8{margin-bottom:8px!important}
  .pipelinePulseValueV8{font-size:clamp(31px,2.7vw,41px)!important}
  .pipelinePulseValueV8.unestimated{font-size:clamp(27px,2.25vw,36px)!important}
  .pipelinePulseHeroV8>p{margin:5px 0 11px!important;line-height:1.4!important}
  .pipelinePulseBottomV8{padding-top:9px!important}
  .pipelinePulseStatsV8{gap:9px!important}
  .pipelinePulseStatV8{padding:13px 14px!important;min-height:164px!important}
  .pipelinePulseStatIconV8{width:32px!important;height:32px!important;border-radius:9px!important;margin-bottom:8px!important}
  .pipelinePulseStatIconV8 svg{width:18px;height:18px}
  .pipelinePulseStatLabelV8{min-height:22px!important}
  .pipelinePulseStatV8>strong{font-size:clamp(24px,2vw,31px)!important;margin:2px 0!important}
  .pipelinePulseStatV8>small{padding-top:4px!important}
  .pipelineFlowTitleV8{margin-bottom:12px!important}
  .pipelineFlowTitleV8 h3{margin:5px 0 4px!important;font-size:clamp(19px,1.55vw,22px)!important}
  .pipelineFlowStepV8{min-height:168px!important;padding:11px clamp(9px,1vw,15px) 10px!important}
  .pipelineFlowTrackV8::before{top:30px!important}
  .pipelineFlowNodeV8{height:29px!important;margin-bottom:8px!important}
  .pipelineFlowNumberV8{width:29px!important;height:29px!important}
  .pipelineFlowStepLabelV8{margin-bottom:6px!important}
  .pipelineFlowAmountV8{font-size:clamp(19px,1.5vw,27px)!important}
  .pipelineFlowAmountV8.unestimated{font-size:clamp(15px,1.1vw,19px)!important}
  .pipelineFlowMetaV8{min-height:18px!important;margin-top:4px!important}
  .pipelineFlowFootV8{min-height:22px!important;margin-top:8px!important}
  .pipelineFlowFooterV8{margin-top:8px!important}
  .pipelineFlowStepV8:not(:last-child)::after{top:54px!important}
  .pipelineWorkspaceV6 .pipelineControlBarV6{
    display:grid!important;
    grid-template-columns:minmax(185px,1.6fr) repeat(5,minmax(93px,1fr)) minmax(136px,auto)!important;
    gap:8px!important;
    align-items:stretch!important;
    padding:9px!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6 :is(.pipelineSearchV4,select,button){
    width:100%!important;
    min-width:0!important;
    min-height:39px!important;
    border-radius:8px!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineSearchV4{grid-column:auto!important}
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineControlBtn{padding:7px 9px!important}
}
@media(min-width:761px) and (max-width:1160px){
  .pipelineWorkspaceV6 .pipelineControlBarV6{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineSearchV4{grid-column:1/-1!important}
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineControlBtn{grid-column:auto!important}
}
@media(min-width:761px) and (max-width:900px){
  .pipelineWorkspaceV6 .pipelineControlBarV6{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineSearchV4{grid-column:1/-1!important}
}

/* Simplified search-first filter toolbar, with secondary filters on demand. */
@media(min-width:761px) {
  .pipelineWorkspaceV6 .pipelineControlBarV6 {
    display:flex!important;
    flex-wrap:wrap!important;
    grid-template-columns:none!important;
    align-items:center!important;
    justify-content:flex-start!important;
    column-gap:10px!important;
    row-gap:8px!important;
    padding:10px!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineSearchV4 {
    flex:2 1 255px!important;
    grid-column:auto!important;
    width:auto!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6>select {
    flex:1 1 145px!important;
    width:auto!important;
    min-width:125px!important;
    max-width:260px!important;
    padding:8px 26px 8px 12px!important;
    white-space:nowrap;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6>button {
    flex:0 0 auto!important;
    width:auto!important;
    min-height:40px!important;
    padding:8px 13px!important;
  }
}
.pipelineWorkspaceV6 .pipelineMoreFiltersV9{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:40px!important;padding:8px 13px!important;
  background:var(--t-panel)!important;
  color:var(--t-text)!important;
  border:1px solid var(--t-border)!important;
  border-radius:9px!important;
  font-size:12px!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
.pipelineWorkspaceV6 .pipelineMoreFiltersV9:hover,
.pipelineWorkspaceV6 .pipelineMoreFiltersV9.on{
  background:color-mix(in srgb,var(--t-blue) 8%,var(--t-panel))!important;
  border-color:color-mix(in srgb,var(--t-blue) 32%,var(--t-border))!important;
}
.pipelineMoreFiltersV9 b{
  display:inline-grid;place-items:center;
  width:19px;height:19px;border-radius:99px;
  font-size:10px!important;
  color:var(--t-blue);
  background:var(--t-accent-soft);
}
.pipelineExpandedFiltersV9 {
  display:flex;align-items:center;gap:11px;flex-wrap:wrap;
  margin:-5px 0 16px;padding:12px 14px;
  border:1px solid var(--t-border);border-radius:11px;
  background:color-mix(in srgb,var(--t-blue) 3%,var(--t-panel));
}
.pipelineExpandedFiltersV9>span{
  font-size:10px;font-weight:800;letter-spacing:.09em;
  color:var(--t-muted);margin-right:4px;
}
.pipelineExpandedFiltersV9>select{
  flex:0 1 210px;
  min-width:150px;min-height:40px;
  border:1px solid var(--t-border);border-radius:9px;
  background:var(--t-panel);color:var(--t-text);
  padding:8px 28px 8px 11px;
  font-size:12px;
}
.pipelineWorkspaceV6 .pipelineBoardActionsV5 .pipelineStageVisibilityV9 {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  min-height:40px!important;
  padding:7px 11px!important;
  background:var(--t-panel2)!important;
  color:var(--t-text)!important;
  border:1px solid var(--t-border)!important;
  border-radius:10px!important;
  font-size:11px!important;
  font-weight:720!important;
  white-space:nowrap!important;
}
.pipelineWorkspaceV6 .pipelineBoardActionsV5 .pipelineStageVisibilityV9:hover{
  border-color:color-mix(in srgb,var(--t-blue) 30%,var(--t-border))!important;
  color:var(--t-blue)!important;
}
@media(max-width:760px){
  .pipelineWorkspaceV6 .pipelineControlBarV6 {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:9px!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineSearchV4 {grid-column:1/-1!important}
  .pipelineWorkspaceV6 .pipelineControlBarV6>select,
  .pipelineWorkspaceV6 .pipelineControlBarV6>button {
    min-width:0!important;width:100%!important;
    min-height:43px!important;
    font-size:12px!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6 .pipelineMoreFiltersV9{
    min-height:43px!important;
  }
  .pipelineExpandedFiltersV9{padding:10px;margin:0 0 13px}
  .pipelineExpandedFiltersV9>span{flex-basis:100%}
  .pipelineExpandedFiltersV9>select{flex:1 1 145px;min-width:0}
  .pipelineWorkspaceV6 .pipelineBoardActionsV5 .pipelineStageVisibilityV9 {
    width:100%!important;min-height:43px!important;
  }
}
@media(min-width:761px){
  .pipelineWorkspaceV6 .pipelineControlBarV6>button.pipelineMoreFiltersV9{
    width:auto!important;min-width:110px!important;flex:0 0 auto!important;
    align-self:stretch!important;padding:8px 14px!important;
  }
  .pipelineWorkspaceV6 .pipelineControlBarV6>button.pipelineClearFilters{
    width:auto!important;flex:0 0 auto!important;
  }
}
