.pipeline-v2{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;padding:18px;overflow:hidden}.pipeline-hero{background:var(--surface);border:1px solid rgba(215,224,228,.95);border-radius:28px;padding:22px 24px 20px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 18px 48px rgba(13,79,99,.06)}.pipeline-title-row{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.pipeline-title-row h3{font-size:33px;line-height:1.02;margin:0;font-weight:850;letter-spacing:-.05em;color:#102832}.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 14px}.filter-pill{height:38px;border-radius:999px;padding:0 13px;max-width:220px;background:#F7FAFB;border:1px solid var(--line);font-size:13px;color:#29434E}.pipeline-kpis{display:grid;grid-template-columns:1.35fr repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 18px}.kpi-stat{position:relative;min-height:96px;padding:14px 14px 13px;border:1px solid rgba(222,230,233,.95);border-radius:20px;background:linear-gradient(180deg,#fff,#FAFCFD);box-shadow:0 1px 2px rgba(16,24,40,.03);overflow:hidden}.kpi-stat::after{content:"";position:absolute;inset:auto 14px 0 14px;height:3px;border-radius:999px;background:#DCEBED}.kpi-stat strong{display:block;font-size:31px;line-height:1;font-weight:850;letter-spacing:-.055em;color:#14212B}.kpi-stat span{display:block;margin-top:9px;font-size:11px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.065em}.kpi-stat.is-primary{min-height:112px;background:linear-gradient(180deg,#F7FCFD,#FFFFFF);border-color:#CFE3E8;box-shadow:0 12px 34px rgba(13,79,99,.10)}.kpi-stat.is-primary strong{font-size:48px;color:var(--brand)}.kpi-stat.is-primary::after{height:4px;background:linear-gradient(90deg,var(--brand),var(--brand-2))}.pipeline-goal{border:1px solid rgba(222,230,233,.95);border-radius:22px;background:#FBFDFD;padding:16px 18px}.pipeline-goal .goal-title{margin:0 0 8px}.pipeline-goal-meta{display:flex;gap:9px;flex-wrap:wrap;color:#34505B;font-size:12px;font-weight:750}.pipeline-goal-meta span{padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:#fff}.pipeline-board-shell{min-height:0;overflow-x:auto;overflow-y:hidden;padding:2px 2px 12px;scrollbar-width:thin;scroll-behavior:smooth;overscroll-behavior-x:contain}.pipeline-board{height:100%;min-height:0;width:max-content;min-width:100%;display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:320px;gap:16px;align-items:stretch}.opp-col{min-height:0;display:flex;flex-direction:column;background:#F8FBFC;border:1px solid rgba(221,230,233,.95);border-radius:22px;padding:13px;transition:background var(--motion-base) var(--ease-premium),border-color var(--motion-base) var(--ease-premium),box-shadow var(--motion-base) var(--ease-premium)}.opp-col.drag-over{background:#EFF8FA;border-color:#9BC7D1;box-shadow:0 0 0 3px rgba(18,103,125,.10),0 16px 40px rgba(13,79,99,.08)}.opp-col h3{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 11px;font-size:12px;text-transform:uppercase;letter-spacing:.075em;color:#48616B}.opp-col h3 span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.opp-col .empty-state{flex:1;display:grid;place-items:center;min-height:150px}.opp-card{position:relative;background:#fff;border:1px solid rgba(226,232,235,.95);border-radius:20px;padding:15px 15px 13px;margin:0 0 11px;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.035);transition:transform var(--motion-base) var(--ease-premium),box-shadow var(--motion-base) var(--ease-premium),border-color var(--motion-base) var(--ease-premium),opacity var(--motion-fast) var(--ease-premium)}.opp-card::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 999px 999px 0;background:#D4E6EA}.opp-card:hover{transform:translateY(-2px);border-color:#CFE0E5;box-shadow:0 10px 30px rgba(16,24,40,.08)}.opp-card.dragging{opacity:.58;transform:scale(.985)}.opp-card.overdue::before{background:var(--danger)}.opp-card.is-enrolled::before{background:var(--success)}.opp-card strong{display:block;margin-bottom:7px;font-size:16px;line-height:1.18;font-weight:850;letter-spacing:-.025em;color:#102832}.opp-card small{display:block;color:#667085;line-height:1.35;font-size:12.5px;margin-top:3px}.opp-card .card-meta{display:grid;gap:4px;margin:4px 0 10px}.opp-card .next-action{margin-top:11px;padding:9px 10px;border-radius:14px;background:#F6FAFB;border:1px solid #E8F0F2;color:#29434E;font-size:12.5px;line-height:1.35}.opp-card .next-action b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#667085;margin-bottom:2px}.opp-card .badge-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.opp-card select{margin-top:11px;padding:8px 10px;border-radius:12px;font-size:12px;background:#fff}.goal-main{display:flex;align-items:end;justify-content:space-between;gap:18px}.goal-number{font-size:42px;font-weight:850;letter-spacing:-.055em;line-height:1;color:#122631}.goal-number small{font-size:15px;color:var(--muted);font-weight:750;letter-spacing:0}.goal-percent{font-size:31px;font-weight:820;letter-spacing:-.045em}.progress-track{height:14px;border-radius:999px;background:#E7EFF2;overflow:hidden;margin:13px 0}.progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2));animation:progressIn 520ms var(--ease-premium) both}.goal-state{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-weight:850;margin:0 0 12px;font-size:12px;background:#EDF7F3;color:var(--success)}.goal-state.attention{background:var(--danger-bg);color:var(--danger)}.goal-state.pace{background:var(--warning-bg);color:var(--warning)}.goal-state.done{background:#E7F6EE;color:#116B4A;border:1px solid #BFE7D1}.empty-state{border:1px dashed #D7E1E5;border-radius:18px;padding:18px;text-align:center;color:var(--muted);background:rgba(255,255,255,.68)}.skeleton{position:relative;overflow:hidden;border-radius:20px;background:#ECF2F4}.skeleton::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:skeletonSweep 1.1s infinite}@keyframes skeletonSweep{from{transform:translateX(-100%)}to{transform:translateX(100%)}}@keyframes progressIn{from{width:0}to{width:var(--target-width,100%)}}@media(max-width:1700px){.pipeline-board{grid-auto-columns:280px}}@media(max-width:1450px){.pipeline-v2{padding:14px}.pipeline-kpis{grid-template-columns:1.2fr repeat(4,minmax(130px,1fr));overflow-x:auto;padding-bottom:4px}.kpi-stat{min-width:130px}.pipeline-board{grid-auto-columns:230px}}@media(max-width:1300px){.pipeline-board{grid-auto-columns:210px}}@media(max-width:900px){.pipeline-v2{overflow:auto}.pipeline-kpis{grid-template-columns:1fr 1fr}.pipeline-board-shell{overflow-x:auto}.pipeline-board{grid-auto-columns:minmax(286px,86vw)}.pipeline-title-row,.goal-main{align-items:flex-start;flex-direction:column}.filter-pill{max-width:none;flex:1 1 180px}}
/* Viper Pipeline cockpit — mockup-priority compact composition */
.app-topbar{height:64px;min-height:64px;align-items:center;gap:14px;padding:10px 20px;background:#fff}.app-topbar .topbar-page{min-width:0;display:none}.global-search-wrap{position:relative;flex:0 1 390px}.global-search{width:100%;height:40px;border:1px solid #dbe7ef;border-radius:12px;padding:0 68px 0 36px;background:#fff;color:#0b3447}.global-search-icon{position:absolute;left:12px;top:9px;color:#6b8797}.global-search-key{position:absolute;right:8px;top:8px;font-size:11px;border:1px solid #e2ebf0;border-radius:8px;padding:4px 7px;color:#7890a0;background:#f8fbfc}.global-search-results{display:none;position:absolute;top:46px;left:0;width:min(520px,80vw);max-height:430px;overflow:auto;background:#fff;border:1px solid #dbe7ef;border-radius:16px;box-shadow:0 24px 70px rgba(8,43,60,.18);z-index:70;padding:10px}.global-search-results.open{display:block}.search-group{display:grid;gap:4px;margin-bottom:10px}.search-group>b{font-size:11px;color:#7c93a4;text-transform:uppercase;letter-spacing:.08em}.search-group button{border:0;background:#fff;text-align:left;border-radius:10px;padding:9px;color:#0b3447}.search-group button:hover{background:#f2f8fb}.search-group small{display:block;color:#7890a0;margin-top:3px}.topbar-actions{margin-left:auto;align-items:center}.icon-only{width:38px;height:38px;padding:0;display:grid;place-items:center}.pipeline-v2{height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:12px 14px;overflow:hidden}.pipeline-hero{border-radius:18px;padding:14px 16px 12px;box-shadow:0 1px 2px rgba(16,24,40,.03),0 10px 28px rgba(13,79,99,.04)}.pipeline-title-row{align-items:center;margin-bottom:8px}.pipeline-title-row h3{font-size:27px;line-height:1;margin:0}.pipeline-title-row .muted{margin:3px 0 0;font-size:13px}.pipeline-title-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pipeline-title-actions button{height:36px;border-radius:10px}.filter-bar{display:flex;gap:8px;flex-wrap:nowrap;margin:8px 0 10px;overflow-x:auto;padding-bottom:2px}.filter-pill,.filter-bar .ghost{height:36px;min-width:136px;border-radius:10px;font-size:13px}.pipeline-topline{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,360px);gap:10px;align-items:stretch}.pipeline-kpis{display:grid;grid-template-columns:1.15fr repeat(4,.9fr) 1.1fr;gap:8px;margin:0}.pipeline-kpis .kpi-stat{height:72px;min-height:72px;padding:10px 12px;border-radius:13px}.pipeline-kpis .kpi-stat span{font-size:10px;letter-spacing:.08em}.pipeline-kpis .kpi-stat strong{font-size:22px;line-height:1.05;margin-top:7px}.pipeline-kpis .kpi-stat.is-secondary strong{font-size:18px}.pipeline-goal{min-height:72px;margin:0;border-radius:13px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center}.goal-compact-head{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center}.goal-compact-head span{font-size:10px;font-weight:800;color:#728a9b;letter-spacing:.08em}.goal-compact-head strong{font-size:14px;color:#0b3447;white-space:nowrap}.goal-compact-head b{font-size:20px;color:#0b5a73}.goal-compact-foot{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#6a8293;margin-top:6px}.pipeline-goal .progress-track{height:7px;margin-top:8px}.pipeline-category-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:10px}.pipeline-tabs,.pipeline-view-tabs{display:flex;gap:8px;align-items:center;overflow:auto}.pipeline-tab,.pipeline-view-tabs button{height:36px;border-radius:12px;border:1px solid #dbe7ef;background:#f4f8fa;color:#0b3447;font-weight:750;padding:0 12px;white-space:nowrap}.pipeline-tab b{margin-left:8px;background:#fff;border-radius:999px;padding:2px 7px}.pipeline-tab.active{background:#075a73;color:#fff}.pipeline-view-tabs button.active{background:#fff;border-color:#0b89b3}.pipeline-view-tabs button:disabled{opacity:.6}.pipeline-board-shell{height:100%;min-height:0;overflow:auto;border-radius:18px}.pipeline-board{height:100%;min-height:0;display:grid;grid-auto-flow:column;grid-auto-columns:310px;grid-template-columns:none!important;gap:10px;width:max-content;min-width:100%;overflow:visible;padding:0 0 10px}.opp-col{height:100%;min-height:460px;border-radius:14px;background:#f7fbfd;border:1px solid #dbe7ef;overflow:hidden;display:flex;flex-direction:column;position:relative}.opp-col .col-accent{height:4px;background:#169bd0;flex:0 0 auto}.opp-col.stage-payment_pending .col-accent{background:#f4a72e}.opp-col.stage-payment_identified .col-accent{background:#17b9c7}.opp-col.stage-waiting_ra .col-accent,.opp-col.stage-enrolled .col-accent{background:#20a56b}.opp-col.stage-lost .col-accent{background:#d94c59}.opp-col h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:11px 12px 3px;font-size:13px;text-transform:uppercase;letter-spacing:.03em;color:#12384a}.opp-col h3 b{font-size:18px;border-radius:999px;background:#fff;padding:2px 8px;border:1px solid #dbe7ef}.col-summary{font-size:12px;color:#6f8797;margin:0 12px 8px}.col-cards{overflow:auto;min-height:0;padding:0 10px 12px;display:flex;flex-direction:column;gap:10px}.opp-card{margin:0;padding:12px;border-radius:13px;background:#fff;border:1px solid #dce8ef;box-shadow:0 8px 18px rgba(8,43,60,.06);display:flex;flex-direction:column;gap:9px}.opp-card-head{display:grid;grid-template-columns:38px 1fr 28px;gap:10px;align-items:start}.opp-avatar{width:38px;height:38px;border-radius:50%;background:#e8f2f6;color:#0b3447;display:grid;place-items:center;font-weight:850}.opp-card strong{font-size:14px;color:#082d3f}.opp-card small{display:block;color:#607a8c;font-size:12px;line-height:1.25}.card-more{width:28px;height:28px;padding:0}.card-meta .money{font-weight:800;color:#07895b;margin-top:3px}.badge-row{display:flex;gap:6px;flex-wrap:wrap}.next-action{border:1px solid #e4edf2;background:#f8fbfc;border-radius:11px;padding:8px;display:grid;gap:3px}.next-action b{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6d8494}.next-action span{font-size:12px;color:#12384a}.next-action em{font-style:normal;width:max-content;font-size:11px;border-radius:999px;padding:2px 7px;background:#e8f6ef;color:#087a50}.next-action em.bad{background:#ffe8ea;color:#ca3444}.card-actions{display:flex;gap:7px;border-top:1px solid #edf3f6;padding-top:8px}.card-actions button{width:32px;height:30px;border-radius:9px;border:1px solid #dbe7ef;background:#fff;color:#0b4c63}.load-more-col{margin-top:2px}.quick-response-list{display:grid;gap:8px;margin-top:10px;max-height:56vh;overflow:auto}.quick-response-row{border:1px solid #dbe7ef;background:#fff;border-radius:13px;padding:10px;text-align:left;display:grid;gap:4px}.quick-response-row span,.quick-response-row small{color:#6f8797}.drawer-actions{flex-wrap:wrap;margin-top:10px}.context-drawer .drawer-opportunity .field-list{display:grid;gap:8px}.pipeline-board-shell::-webkit-scrollbar,.col-cards::-webkit-scrollbar,.filter-bar::-webkit-scrollbar{height:10px;width:8px}.pipeline-board-shell::-webkit-scrollbar-thumb,.col-cards::-webkit-scrollbar-thumb,.filter-bar::-webkit-scrollbar-thumb{background:#b9c9d2;border-radius:999px}@media (max-width:1500px){.pipeline-topline{grid-template-columns:1fr}.pipeline-kpis .kpi-stat{height:64px;min-height:64px}.pipeline-goal{min-height:60px}.pipeline-board{grid-auto-columns:300px}.pipeline-title-actions .ghost:first-child{display:none}}@media (max-width:900px){.pipeline-kpis{grid-template-columns:repeat(3,1fr)}.app-topbar{gap:8px}.global-search-wrap{flex-basis:260px}.pipeline-title-row{align-items:flex-start;flex-direction:column}.pipeline-board{grid-auto-columns:285px}}
/* Hard vertical budget: keep Kanban as protagonist even on 1280px-wide notebooks. */
.pipeline-topline{grid-template-columns:minmax(0,1fr) 280px!important}.pipeline-kpis{overflow-x:auto;grid-template-columns:repeat(6,minmax(105px,1fr))}.pipeline-kpis .kpi-stat{height:56px!important;min-height:56px!important;padding:8px 10px}.pipeline-kpis .kpi-stat strong{font-size:18px}.pipeline-kpis .kpi-stat.is-primary strong{font-size:20px}.pipeline-kpis .kpi-stat span{font-size:9px;margin-top:0}.pipeline-goal{min-height:56px!important;padding:8px 10px}.goal-compact-head strong{font-size:12px}.goal-compact-head b{font-size:17px}.goal-compact-foot{font-size:10px;gap:7px}.pipeline-category-row{margin-top:7px}.pipeline-tab,.pipeline-view-tabs button{height:32px}.filter-bar{margin:6px 0 8px}.filter-pill,.filter-bar .ghost{height:32px}.pipeline-title-row{margin-bottom:5px}.pipeline-title-actions button{height:32px}.pipeline-title-row h3{font-size:24px}.pipeline-board-shell{min-height:280px}.opp-col{min-height:360px}@media (max-width:1400px){.pipeline-title-actions .ghost:first-child,.pipeline-view-tabs{display:none}.pipeline-hero{padding:10px 12px}.pipeline-tabs{max-width:100%}.pipeline-topline{grid-template-columns:minmax(0,1fr) 260px!important}.goal-compact-head{grid-template-columns:auto 1fr}.goal-compact-head b{display:none}}


/* Pipeline one-round polish */
.pipeline-title-actions .quick-pipeline-only{display:none!important}.pipeline-tab b{min-width:24px;height:22px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e8f1f4;color:#0b3447;font-weight:900;font-size:12px}.pipeline-tab.active b{background:#0d4f63;color:#fff;border:1px solid rgba(255,255,255,.45);box-shadow:0 0 0 2px rgba(13,79,99,.10)}.pipeline-tab.active{color:#0b3447}.pipeline-view-tabs button{cursor:pointer}.pipeline-view-tabs button:disabled{opacity:.45;cursor:not-allowed}.pipeline-board-shell[data-view="kanban"]{overflow-x:auto;overflow-y:hidden}.pipeline-board-shell[data-view="list"],.pipeline-board-shell[data-view="funnel"]{overflow:auto}.pipeline-list-view,.pipeline-funnel-view{width:100%;min-width:0;height:100%;display:block}.pipeline-list-card,.pipeline-funnel-card{background:#fff;border:1px solid rgba(215,224,228,.95);border-radius:22px;box-shadow:0 14px 36px rgba(13,79,99,.07);overflow:hidden}.pipeline-list-head,.pipeline-funnel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:14px 16px;border-bottom:1px solid #e7eef1}.pipeline-list-head strong,.pipeline-funnel-head strong{font-size:16px;color:#102832}.pipeline-list-head span,.pipeline-funnel-head span,.pipeline-funnel-head p{color:#667085;font-size:12px;margin:3px 0 0}.pipeline-table-wrap{overflow:auto;max-height:calc(100vh - 330px)}.pipeline-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;min-width:980px}.pipeline-table th{position:sticky;top:0;background:#f7fafb;color:#526b76;text-align:left;text-transform:uppercase;letter-spacing:.055em;font-size:10px;padding:11px 12px;border-bottom:1px solid #e7eef1;z-index:1}.pipeline-table td{padding:12px;border-bottom:1px solid #eef3f5;color:#29434e;vertical-align:top}.pipeline-table tbody tr{cursor:pointer}.pipeline-table tbody tr:hover{background:#f8fbfc}.pipeline-table .stage-pill{white-space:nowrap;background:#eef6f8;color:#0d4f63}.empty-cell{text-align:center;color:#667085;padding:28px!important}.pipeline-funnel-card{padding-bottom:16px}.funnel-segments{display:grid;gap:10px;padding:14px 16px}.funnel-segment{display:grid;grid-template-columns:minmax(160px,1fr) 260px;align-items:center;gap:14px}.funnel-bar{height:34px;border-radius:999px;background:#edf4f6;overflow:hidden}.funnel-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0d4f63,#2c8fa5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}.funnel-data{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:baseline}.funnel-data strong{color:#102832}.funnel-data b{font-size:20px;color:#0d4f63}.funnel-data small{color:#667085;font-size:11px}.stage-lost .funnel-bar span{background:linear-gradient(90deg,#8a4b37,#c1795f)}.stage-enrolled .funnel-bar span{background:linear-gradient(90deg,#0f7a55,#48b08a)}@media (max-width:900px){.funnel-segment{grid-template-columns:1fr}.pipeline-table-wrap{max-height:calc(100vh - 300px)}}


/* Final META OUTUBRO alignment: same compact card rhythm as KPI row. */
.pipeline-goal{display:flex;flex-direction:column;justify-content:center;height:56px!important;min-height:56px!important;gap:5px;overflow:hidden}.goal-compact-title{font-size:9px;font-weight:900;letter-spacing:.08em;color:#667085}.goal-compact-main{display:flex;align-items:baseline;justify-content:space-between;gap:10px;line-height:1}.goal-compact-main strong{font-size:15px;color:#102832;letter-spacing:-.03em}.goal-compact-main b{font-size:16px;color:#0d4f63}.pipeline-goal .progress-track{height:5px;margin:0}.goal-compact-foot{display:flex!important;gap:8px;flex-wrap:nowrap;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#667085}.goal-compact-foot span+span::before{content:'· ';color:#9aaab3}@media (max-width:1400px){.goal-compact-main b{font-size:14px}}
/* Pipeline card UX functional polish */
.opp-card.pipeline-card-ux{padding:9px 10px 8px;margin-bottom:8px;border-radius:14px;cursor:pointer;user-select:none}.opp-card.pipeline-card-ux.dragging{opacity:.72;cursor:grabbing}.opp-card-head.compact{display:grid;grid-template-columns:30px minmax(0,1fr) 28px;gap:8px;align-items:center}.opp-card-head.compact .opp-avatar{width:30px;height:30px;font-size:12px}.opp-card-head.compact strong{font-size:13px;line-height:1.12;margin:0;color:#102832;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.opp-card-head.compact small{font-size:11.5px;line-height:1.22;margin-top:2px;color:#5e7480;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.opp-card-head.compact .card-more{width:28px;height:26px;padding:0;border-radius:9px}.card-meta.compact{display:grid;gap:2px;margin-top:6px}.card-meta.compact small{font-size:11.5px;line-height:1.22}.card-meta.compact .money{font-size:12px;font-weight:850;color:#0d4f63}.badge-row.compact{gap:5px;margin-top:6px}.badge-row.compact .pill{font-size:10.5px;padding:3px 7px}.next-action.compact{margin-top:7px;padding:7px 8px;border-radius:11px;gap:2px}.next-action.compact b{font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.055em}.next-action.compact span{font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.next-action.compact div{display:flex;justify-content:space-between;align-items:center;gap:8px}.next-action.compact small{font-size:11px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.next-action.compact em{font-size:10.5px;font-style:normal;font-weight:900;white-space:nowrap}.card-actions.compact{display:flex;gap:7px;margin-top:7px}.card-actions.compact button{width:31px;height:29px;border-radius:10px;display:grid;place-items:center;font-size:14px}.quick-action-list{display:grid;gap:8px}.quick-action-list button{text-align:left;justify-content:flex-start}.opp-col .col-cards{gap:0}.pipeline-board .opp-col{padding:8px}.pipeline-board .opp-col h3{margin-bottom:3px}.pipeline-board .col-summary{margin:0 0 7px;font-size:11px}@media(max-width:1400px){.opp-card.pipeline-card-ux{padding:8px;margin-bottom:7px}.next-action.compact{padding:6px 7px}.card-actions.compact button{height:28px}}

/* Post-archive UX slice. Scoped to Pipeline; no global Atendimento/Meu Dia rules. */
#tab-pipeline .pipeline-v2{gap:8px;padding:10px 12px}
#tab-pipeline .pipeline-hero{padding:10px 12px;border-radius:16px}
#tab-pipeline .pipeline-title-row{grid-template-columns:minmax(0,1fr) auto;margin-bottom:4px;gap:10px}
#tab-pipeline .pipeline-title-row h3{font-size:23px}
#tab-pipeline .pipeline-title-row .muted{font-size:12px}
#tab-pipeline .pipeline-title-actions .ghost:first-child{display:inline-flex}
#tab-pipeline .pipeline-primary-filters{overflow:visible;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0}
#tab-pipeline .filter-pill{max-width:190px;height:32px;margin:0}
#tab-pipeline .pipeline-more-filters{position:relative;flex:none}
#tab-pipeline .pipeline-more-filters summary{cursor:pointer;padding:7px 10px;border:1px solid #dbe7ef;border-radius:10px;background:#f4f8fa;font-size:12px;color:#0b3447}
#tab-pipeline .pipeline-more-filters.has-active-filters summary{border-color:#0d4f63;background:#e7f2f5;font-weight:750}
#tab-pipeline .pipeline-extra-filters{position:absolute;top:calc(100% + 5px);right:0;z-index:30;display:grid;gap:6px;width:250px;max-width:calc(100vw - 40px);padding:12px;border:1px solid #c6d9df;border-radius:12px;background:#fff;box-shadow:0 12px 28px #10283224}
#tab-pipeline .pipeline-extra-filters label{font-size:12px;margin:0}
#tab-pipeline .pipeline-extra-filters select{width:100%;max-width:none}
#tab-pipeline .pipeline-topline{grid-template-columns:minmax(0,1fr) 245px!important;gap:8px}
#tab-pipeline .pipeline-kpis{margin:0;gap:6px;grid-template-columns:repeat(6,minmax(95px,1fr));overflow-x:auto}
#tab-pipeline .pipeline-kpis .kpi-stat{height:52px!important;min-height:52px!important;padding:7px 8px;border-radius:10px}
#tab-pipeline .pipeline-kpis .kpi-stat strong{font-size:18px}
#tab-pipeline .pipeline-kpis .kpi-stat span{font-size:9px;margin:0 0 3px;letter-spacing:.025em}
#tab-pipeline .pipeline-goal{height:52px!important;min-height:52px!important;border-radius:10px}
#tab-pipeline .pipeline-category-row{flex-direction:row;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}
#tab-pipeline .pipeline-tabs{flex:1 1 520px;flex-wrap:wrap;overflow:visible;gap:5px}
#tab-pipeline .pipeline-tab{padding:0 9px;font-size:12px}
#tab-pipeline .pipeline-view-tabs{display:flex;flex:none;gap:5px}
#tab-pipeline .pipeline-universe{display:flex;align-items:center;gap:5px;margin:0;font-size:12px;white-space:nowrap}
#tab-pipeline .pipeline-universe select{height:32px;width:auto;max-width:175px;padding:0 7px;font-size:12px;margin:0}
#tab-pipeline .pipeline-board-region{display:grid;grid-template-rows:auto minmax(0,1fr);gap:5px;min-height:0;min-width:0}
#tab-pipeline .pipeline-board-navigation{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:11px;color:#526b76}
#tab-pipeline .pipeline-board-navigation span{margin-right:auto}
#tab-pipeline .pipeline-board-navigation button{width:38px;height:30px;padding:0;font-size:18px}
#tab-pipeline .pipeline-board-shell{height:100%;min-height:0;min-width:0;padding-bottom:12px;scrollbar-width:auto;scroll-padding-inline:8px}
#tab-pipeline .pipeline-board-shell::-webkit-scrollbar{height:14px}
/* Override app.css height:auto!important: the row must fill the shell, not shrink to headers. */
#tab-pipeline .pipeline-board{grid-template-columns:none!important;grid-auto-columns:286px;grid-template-rows:minmax(0,1fr);height:100%!important;min-height:0;padding-bottom:0;gap:10px}
#tab-pipeline .pipeline-board .opp-col{height:100%;min-height:0;max-height:none}
#tab-pipeline .pipeline-board .col-cards{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}
#tab-pipeline .pipeline-board .col-cards > .opp-card{flex-shrink:0}
#tab-pipeline .pipeline-board .empty-state{min-height:80px}
#tab-pipeline .pipeline-board-shell:focus-visible,#tab-pipeline summary:focus-visible,#tab-pipeline button:focus-visible,#tab-pipeline select:focus-visible{outline:3px solid #1686aa;outline-offset:2px}
@media(max-width:1200px){#tab-pipeline .pipeline-topline{grid-template-columns:minmax(0,1fr)!important}#tab-pipeline .pipeline-goal{width:100%}}
@media(prefers-reduced-motion:reduce){#tab-pipeline .pipeline-board-shell{scroll-behavior:auto}}

/* Focal notebook correction: mobile-pwa.css has a global button min-height:42px.
   Do not let it silently expand the desktop hero/navigation/card action rows.
   Keep all categories, archive selector, views, KPI values and goal visible. */
@media(min-width:861px){
  #tab-pipeline .pipeline-title-actions button,
  #tab-pipeline .pipeline-primary-filters > button,
  #tab-pipeline .pipeline-tab,
  #tab-pipeline .pipeline-view-tabs button{min-height:32px;height:32px}
  #tab-pipeline .pipeline-title-actions{justify-self:end}
  #tab-pipeline .pipeline-category-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
  #tab-pipeline .pipeline-tabs{min-width:0;max-width:100%;flex-wrap:wrap}
  #tab-pipeline .pipeline-view-tabs{align-self:start;flex-wrap:nowrap}
  #tab-pipeline .pipeline-kpis .kpi-stat{min-width:0}
  #tab-pipeline .pipeline-kpis{padding-bottom:0}
  #tab-pipeline .pipeline-board-navigation button{min-height:30px;height:30px}
  #tab-pipeline .pipeline-board-shell{scroll-behavior:auto;scroll-snap-type:none}
  #tab-pipeline .pipeline-board .col-cards{overflow-x:hidden;scrollbar-gutter:stable;scroll-padding-block:4px;padding-bottom:8px}
  #tab-pipeline .pipeline-board .card-actions.compact button{min-height:30px;height:30px}
  /* If fonts/short windows exceed the notebook budget, preserve a reachable
     board through outer vertical scrolling instead of clipping its bottom. */
  #tab-pipeline .pipeline-v2{grid-template-rows:auto minmax(360px,1fr);overflow-x:hidden;overflow-y:auto}
}
#tab-pipeline .pipeline-board .col-cards:focus-visible{outline:3px solid #1686aa;outline-offset:-3px}
