.cpg-steps{display:flex;gap:3px;overflow-x:auto;max-width:100%;padding:0 0 5px;margin:0 0 20px;scrollbar-width:thin}
.cpg-step{position:relative;flex:1 0 140px;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px 14px 28px;border:0;background:var(--surface-raised,#edf1f7);color:var(--muted,#43536c);font:600 13px Outfit,sans-serif;cursor:pointer;clip-path:polygon(0 0,calc(100% - 15px) 0,100% 50%,calc(100% - 15px) 100%,0 100%,15px 50%)}
.cpg-step[aria-current=step]{background:var(--blue,#2e5aa8);color:#fff}
.cpg-step-number{font-size:11px;border:1px solid currentColor;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;flex-shrink:0}
.cpg-step-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}
.cpg-steps.is-numbers-only>.cpg-step{flex:1 1 0;min-width:36px;flex-direction:row;gap:0;min-height:44px;padding:10px 7px 10px 13px;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%,8px 50%)}
.cpg-steps.is-numbers-only .cpg-step-label{display:none}
.cpg-step:focus-visible{outline:0;box-shadow:inset 0 0 0 3px var(--accent-border,#f07828)}
.cpg-process-ready [hidden]{display:none!important}
.cpg-step-panel>h2:focus,.cpg-step-panel>h3:focus,.cpg-step-panel>legend:focus{outline:0}
.cpg-step-status{font-size:11px;line-height:1.5;color:var(--muted,#54637c);margin:0 0 20px}
.cpg-step-actions{display:flex;align-items:center;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#d7dfea)}
.cpg-step-actions>span{flex:1}.cpg-step-actions>a{font-size:12px;color:var(--muted,#54637c);text-decoration:underline}
.cpg-step-actions .btn{width:auto}
.cpg-sequence{display:flex;flex-wrap:wrap;gap:3px;list-style:none;padding:0;margin:16px 0 20px}
.cpg-sequence>li{font-size:12px;line-height:1.5;background:var(--surface-raised,#edf1f7);color:var(--muted,#43536c);padding:9px 22px 9px 26px;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%,12px 50%);overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
.pipeline .pipe>span{display:block;margin-top:8px;padding:8px 14px 8px 20px;background:var(--surface-raised,#edf1f7);color:var(--ink,#243047);clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%,10px 50%);overflow-wrap:anywhere}
@media(max-width:600px){.cpg-step{flex-basis:100px;flex-direction:column;gap:5px;padding:12px 18px 12px 23px;font-size:11px}.cpg-step-label{max-width:90px}.cpg-step-number{width:20px;height:20px}.cpg-step-actions{flex-wrap:wrap}.cpg-step-actions .btn{min-height:40px}}
@media print{.cpg-steps,.cpg-step-actions,.cpg-step-status{display:none!important}.cpg-process-ready .cpg-step-panel[hidden]{display:block!important}.cpg-sequence>li{background:#fff;color:#111;clip-path:none;border:1px solid #aaa}}
/* Dashboard counts are an overview, not a fixed-height chart. */
.dashboard-widget .pipeline{height:auto;min-width:0;grid-template-columns:repeat(var(--pipeline-count,7),minmax(36px,1fr));align-items:stretch;padding-top:0;gap:4px;overflow-x:auto}
.dashboard-widget .pipe{height:auto;min-width:0;justify-content:flex-end}
.dashboard-widget .pipe-bar{max-height:48px}
.dashboard-widget .pipeline .pipe>span{white-space:nowrap;overflow-wrap:normal;overflow:hidden;text-overflow:ellipsis;min-height:38px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:8px 16px}
.dashboard-widget .pipeline.is-numbers-only .pipe>span{padding:8px 10px 8px 15px}
.pipeline-key{display:flex;flex-wrap:wrap;gap:8px 18px;padding:0;margin:12px 0 0;list-style:none;color:var(--muted);font-size:12px}
.pipeline-key[hidden]{display:none}.pipeline-key li{white-space:nowrap}.pipeline-key b{margin-right:5px;color:var(--ink)}
@media print{.dashboard-widget .pipeline .pipe>span{clip-path:none}}
