/* Shared cpgeeSteps strip for the renderer and existing clab form workflows. */
.clab-stepper,
.bz-wizard-steps {
    --clab-stepper-active: #ff6a1f;
    --clab-stepper-active-background: #ff6a1f;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
    width: min(100%, var(--clab-stepper-max-width, 100%));
    max-width: 100%;
    margin: var(--clab-stepper-margin, 0 0 14px);
    padding: 3px 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    list-style: none;
    overflow-x: hidden;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.clab-stepper::before { display: none; }
.clab-stepper-item,
.bz-wizard-steps > .bz-wizard-step {
    appearance: none;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex: 1 0 142px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: max-content;
    min-height: 44px;
    margin: 0;
    padding: 8px 26px 8px 28px;
    border: 0;
    border-radius: 0 !important;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
    background: #f3f4f6;
    color: #475569;
    box-shadow: none;
    font: inherit;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.clab-stepper-item[hidden],
.bz-wizard-step[hidden] { display: none; }
button.clab-stepper-item,
.clab-stepper-item[role="button"],
.bz-wizard-steps > a.bz-wizard-step { cursor: pointer; }
.clab-stepper-item.is-complete,
.clab-stepper-item.is-completed,
.clab-stepper-item:has(~ .clab-stepper-item.is-active),
.bz-wizard-steps > .bz-wizard-step:has(~ .bz-wizard-step.is-current),
.bz-wizard-steps > .bz-wizard-step.is-complete {
    background: var(--clab-stepper-active-background);
    color: #fff;
}
.clab-stepper-item.is-active,
.bz-wizard-steps > .bz-wizard-step.is-current {
    background: var(--clab-stepper-active-background);
    color: #fff;
}
.clab-stepper-item.is-disabled,
.bz-wizard-step[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.clab-stepper-item:focus-visible,
.bz-wizard-steps > .bz-wizard-step:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 3px #ff6a1f;
}
.clab-stepper-number,
.bz-wizard-steps > .bz-wizard-step > i {
    display: inline-flex;
    flex: 0 0 19px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 19px;
    height: 19px;
    margin: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font-size: 11px;
    font-style: normal;
    font-weight: 720;
    line-height: 1;
}
.clab-stepper-copy { display: grid; gap: 3px; min-width: 0; }
.clab-stepper-label,
.bz-wizard-steps > .bz-wizard-step > b {
    display: block;
    color: inherit;
    font-size: 12px;
    font-weight: 720;
    letter-spacing: .04em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
    overflow-wrap: normal;
}
.clab-stepper-meta,
.clab-stepper-state,
.bz-wizard-steps > .bz-wizard-step > small {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 11px;
    font-weight: 630;
    line-height: 1.25;
    white-space: nowrap;
}
.clab-stepper.is-numbers-only,
.bz-wizard-steps.is-numbers-only { gap: 4px; }
.is-numbers-only > .clab-stepper-item,
.bz-wizard-steps.is-numbers-only > .bz-wizard-step {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 10px;
    gap: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
}
.is-numbers-only .clab-stepper-copy,
.bz-wizard-steps.is-numbers-only > .bz-wizard-step > b,
.bz-wizard-steps.is-numbers-only > .bz-wizard-step > small {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Disabled future steps retain the step palette instead of generic button blue. */
.clab-stepper > button.clab-stepper-item:disabled:not(.is-active):not(.is-complete):not(.is-completed):not(:has(~ .is-active)) {
    background: #f3f4f6;
    color: #475569;
    opacity: 1;
}

/* Phone layouts keep every step visible; the caption names the current one. */
@media(max-width:760px){.bz-wizard-steps{gap:4px}.bz-wizard-steps>.bz-wizard-step{flex:1 1 0;min-width:0;padding:10px 8px;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%,8px 50%)}.bz-wizard-steps>.bz-wizard-step>b{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
/* Fit the complete five-step strip inside the dialog, without clipping step 5. */
@media(min-width:761px){.bz-wizard-steps{gap:6px}.bz-wizard-steps>.bz-wizard-step{flex:1 1 0;min-width:0;padding:10px 20px;gap:6px}.bz-wizard-steps>.bz-wizard-step>b{white-space:normal;font-size:11px;letter-spacing:.02em}}
