@cngx/ui 0.1.0-rc.9 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +118 -59
  2. package/action-button/README.md +170 -53
  3. package/breadcrumb/README.md +5 -6
  4. package/collection/README.md +1 -1
  5. package/command-palette/README.md +4 -3
  6. package/data-grid-accordion/README.md +1 -1
  7. package/empty-state/README.md +2 -3
  8. package/feedback/README.md +1 -1
  9. package/fesm2022/cngx-ui-a11y.mjs +13 -23
  10. package/fesm2022/cngx-ui-a11y.mjs.map +1 -1
  11. package/fesm2022/cngx-ui-accordion.mjs +44 -66
  12. package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-action-button.mjs +213 -335
  14. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-breadcrumb.mjs +60 -80
  16. package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
  17. package/fesm2022/cngx-ui-chart-panel.mjs +18 -31
  18. package/fesm2022/cngx-ui-chart-panel.mjs.map +1 -1
  19. package/fesm2022/cngx-ui-collection.mjs +28 -44
  20. package/fesm2022/cngx-ui-collection.mjs.map +1 -1
  21. package/fesm2022/cngx-ui-command-palette.mjs +29 -51
  22. package/fesm2022/cngx-ui-command-palette.mjs.map +1 -1
  23. package/fesm2022/cngx-ui-context-menu.mjs +78 -83
  24. package/fesm2022/cngx-ui-context-menu.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-data-grid-accordion.mjs +52 -74
  26. package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
  27. package/fesm2022/cngx-ui-empty-state.mjs +17 -44
  28. package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
  29. package/fesm2022/cngx-ui-feedback.mjs +589 -467
  30. package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
  31. package/fesm2022/cngx-ui-layout.mjs +17 -13
  32. package/fesm2022/cngx-ui-layout.mjs.map +1 -1
  33. package/fesm2022/cngx-ui-mat-accordion.mjs +3 -5
  34. package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
  35. package/fesm2022/cngx-ui-mat-paginator.mjs +5 -9
  36. package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -1
  37. package/fesm2022/cngx-ui-mat-stepper.mjs +6 -9
  38. package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
  39. package/fesm2022/cngx-ui-mat-tabs.mjs +71 -68
  40. package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
  41. package/fesm2022/cngx-ui-nav-rail.mjs +440 -0
  42. package/fesm2022/cngx-ui-nav-rail.mjs.map +1 -0
  43. package/fesm2022/cngx-ui-overlay.mjs +9 -10
  44. package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
  45. package/fesm2022/cngx-ui-paginator.mjs +149 -171
  46. package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
  47. package/fesm2022/cngx-ui-sidenav.mjs +858 -721
  48. package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
  49. package/fesm2022/cngx-ui-skeleton.mjs +17 -19
  50. package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
  51. package/fesm2022/cngx-ui-speak.mjs +21 -74
  52. package/fesm2022/cngx-ui-speak.mjs.map +1 -1
  53. package/fesm2022/cngx-ui-stat-card.mjs +39 -62
  54. package/fesm2022/cngx-ui-stat-card.mjs.map +1 -1
  55. package/fesm2022/cngx-ui-stepper.mjs +207 -90
  56. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  57. package/fesm2022/cngx-ui-tabs.mjs +71 -32
  58. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  59. package/fesm2022/cngx-ui-timeline.mjs +21 -27
  60. package/fesm2022/cngx-ui-timeline.mjs.map +1 -1
  61. package/fesm2022/cngx-ui-toc.mjs +27 -40
  62. package/fesm2022/cngx-ui-toc.mjs.map +1 -1
  63. package/fesm2022/cngx-ui.mjs +5 -5
  64. package/fesm2022/cngx-ui.mjs.map +1 -1
  65. package/mat-tabs/README.md +28 -14
  66. package/mat-tabs/styles/mat-tabs.css +233 -258
  67. package/nav-rail/README.md +325 -0
  68. package/package.json +10 -5
  69. package/paginator/README.md +10 -0
  70. package/schematics/ng-add/index.js +7 -7
  71. package/schematics/ng-add/schema.json +5 -0
  72. package/sidenav/README.md +150 -55
  73. package/skeleton/README.md +1 -1
  74. package/speak/README.md +1 -2
  75. package/stepper/README.md +20 -5
  76. package/tabs/README.md +13 -0
  77. package/timeline/README.md +1 -1
  78. package/toc/README.md +1 -1
  79. package/types/cngx-ui-a11y.d.ts +20 -38
  80. package/types/cngx-ui-accordion.d.ts +45 -77
  81. package/types/cngx-ui-action-button.d.ts +113 -151
  82. package/types/cngx-ui-breadcrumb.d.ts +58 -94
  83. package/types/cngx-ui-chart-panel.d.ts +22 -40
  84. package/types/cngx-ui-collection.d.ts +30 -53
  85. package/types/cngx-ui-command-palette.d.ts +40 -64
  86. package/types/cngx-ui-context-menu.d.ts +67 -44
  87. package/types/cngx-ui-data-grid-accordion.d.ts +49 -77
  88. package/types/cngx-ui-empty-state.d.ts +18 -8
  89. package/types/cngx-ui-feedback.d.ts +264 -289
  90. package/types/cngx-ui-layout.d.ts +4 -12
  91. package/types/cngx-ui-mat-accordion.d.ts +2 -3
  92. package/types/cngx-ui-mat-paginator.d.ts +4 -10
  93. package/types/cngx-ui-mat-stepper.d.ts +5 -10
  94. package/types/cngx-ui-mat-tabs.d.ts +43 -69
  95. package/types/cngx-ui-nav-rail.d.ts +416 -0
  96. package/types/cngx-ui-overlay.d.ts +4 -13
  97. package/types/cngx-ui-paginator.d.ts +164 -154
  98. package/types/cngx-ui-sidenav.d.ts +557 -437
  99. package/types/cngx-ui-skeleton.d.ts +7 -13
  100. package/types/cngx-ui-speak.d.ts +40 -24
  101. package/types/cngx-ui-stat-card.d.ts +45 -36
  102. package/types/cngx-ui-stepper.d.ts +183 -62
  103. package/types/cngx-ui-tabs.d.ts +101 -27
  104. package/types/cngx-ui-timeline.d.ts +20 -48
  105. package/types/cngx-ui-toc.d.ts +30 -51
  106. package/types/cngx-ui.d.ts +1 -1
@@ -1,14 +1,16 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, Injector, contentChildren, contentChild, untracked, Directive } from '@angular/core';
3
+ import { input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, Injector, contentChildren, contentChild, untracked, DOCUMENT, afterEveryRender, Directive } from '@angular/core';
4
4
  import { injectDirection, resolveInlineStep } from '@cngx/core';
5
5
  import * as i2 from '@cngx/common/a11y';
6
- import { CngxLiveRegion, CngxRovingItem, CngxRovingTabindex, CngxFocusRestore } from '@cngx/common/a11y';
6
+ import { CngxLiveRegion, CngxRovingItem, CngxRovingTabindex, CngxFocusRestore, CNGX_FOCUSABLE_SELECTOR } from '@cngx/common/a11y';
7
+ import { CngxIconSvg } from '@cngx/common/display';
7
8
  import { CngxSwipe } from '@cngx/common/interactive';
8
9
  import * as i1 from '@cngx/common/stepper';
9
- import { CNGX_STEPPER_GLYPHS, CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepError, CngxStepGroupHeader, CngxStepperEmpty, CngxDotStepperDot, createStepperTemplateBindings, createStepperDisplayMode, injectStepperCollapse, createStepperHostAttrs, CngxStepperSwipeNav, resolveStepperStatusLabel, createStepperGroupSummary, createStepperGroupNavigation, createStepperAccname, createStepperSlotContextBuilders, createStepperStateView, resolveStepperErrorSummary, createStepperAnnouncementBuilders, createStepperPanelRefs, createStepperStripKeyboardNav, CngxStepperCount, CNGX_STEP_PANEL_HOST, CngxStepperPresenter, createStepperHostProxy } from '@cngx/common/stepper';
10
+ import { CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepError, CngxStepGroupHeader, CngxStepperEmpty, CngxDotStepperDot, createStepperTemplateBindings, createStepperDisplayMode, injectStepperCollapse, CNGX_STEPPER_LANGUAGE_EN, createStepperHostAttrs, CngxStepperSwipeNav, resolveStepperStatusLabel, createStepperGroupSummary, createStepperGroupNavigation, createStepperAccname, createStepperSlotContextBuilders, createStepperStateView, resolveStepperErrorSummary, createStepperAnnouncementBuilders, createStepperPanelRefs, createStepperStripKeyboardNav, CngxStepperCount, CNGX_STEP_PANEL_HOST, CngxStepperPresenter, createStepperHostProxy } from '@cngx/common/stepper';
10
11
  import { CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_DIRECTIVE_BY_ID_MAP_FACTORY } from '@cngx/common/tabs';
11
12
  import { coerceBooleanProperty, coerceSignal } from '@cngx/core/utils';
13
+ import { CNGX_ICON_BAN, CNGX_ICON_ALERT, CNGX_ICON_EXCLAMATION, CNGX_ICON_CHECK } from '@cngx/utils';
12
14
  import { CngxProgress } from '@cngx/ui/feedback';
13
15
 
14
16
  /**
@@ -40,20 +42,24 @@ class CngxStepperErrorLine {
40
42
  * keeps the error glyph.
41
43
  */
42
44
  reason = input(null, ...(ngDevMode ? [{ debugName: "reason" }] : /* istanbul ignore next */ []));
43
- glyph = computed(() => this.reason() === 'refused' ? CNGX_STEPPER_GLYPHS.refusedIcon : CNGX_STEPPER_GLYPHS.errorBadge, ...(ngDevMode ? [{ debugName: "glyph" }] : /* istanbul ignore next */ []));
45
+ icon = computed(() => this.reason() === 'refused' ? CNGX_ICON_BAN : CNGX_ICON_ALERT, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
44
46
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperErrorLine, deps: [], target: i0.ɵɵFactoryTarget.Component });
45
47
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepperErrorLine, isStandalone: true, selector: "span[cngxStepperErrorLine]", inputs: { block: { classPropertyName: "block", publicName: "block", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, reason: { classPropertyName: "reason", publicName: "reason", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "status" }, properties: { "attr.data-state": "text() ? 'error' : null", "attr.data-reason": "text() && reason() === 'refused' ? 'refused' : null", "class": "block()" } }, ngImport: i0, template: `
46
48
  @if (text()) {
47
- <span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph() }}</span>
49
+ <span [class]="block() + '-glyph'" aria-hidden="true"
50
+ ><svg [cngxIconSvg]="icon()"></svg
51
+ ></span>
48
52
  <span [class]="block() + '-text'">{{ text() }}</span>
49
53
  }
50
- `, isInline: true, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
54
+ `, isInline: true, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[cngxStepperErrorLine] .cngx-icon-svg{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 2}\n"], dependencies: [{ kind: "component", type: CngxIconSvg, selector: "svg[cngxIconSvg]", inputs: ["cngxIconSvg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
51
55
  }
52
56
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperErrorLine, decorators: [{
53
57
  type: Component,
54
- args: [{ selector: 'span[cngxStepperErrorLine]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
58
+ args: [{ selector: 'span[cngxStepperErrorLine]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CngxIconSvg], template: `
55
59
  @if (text()) {
56
- <span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph() }}</span>
60
+ <span [class]="block() + '-glyph'" aria-hidden="true"
61
+ ><svg [cngxIconSvg]="icon()"></svg
62
+ ></span>
57
63
  <span [class]="block() + '-text'">{{ text() }}</span>
58
64
  }
59
65
  `, host: {
@@ -61,9 +67,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
61
67
  '[attr.data-state]': "text() ? 'error' : null",
62
68
  '[attr.data-reason]': "text() && reason() === 'refused' ? 'refused' : null",
63
69
  '[class]': 'block()',
64
- }, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"] }]
70
+ }, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[cngxStepperErrorLine] .cngx-icon-svg{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 2}\n"] }]
65
71
  }], propDecorators: { block: [{ type: i0.Input, args: [{ isSignal: true, alias: "block", required: true }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], reason: [{ type: i0.Input, args: [{ isSignal: true, alias: "reason", required: false }] }] } });
66
72
 
73
+ /** Icon data the stepper's default templates draw. */
74
+ const STEPPER_ICONS = {
75
+ alert: CNGX_ICON_ALERT,
76
+ ban: CNGX_ICON_BAN,
77
+ check: CNGX_ICON_CHECK,
78
+ exclamation: CNGX_ICON_EXCLAMATION,
79
+ };
67
80
  /**
68
81
  * Stepper organism. Composes `CngxStepperPresenter` with
69
82
  * `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;
@@ -71,11 +84,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
71
84
  * `commitMode` to the presenter. Material twin lives in
72
85
  * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.
73
86
  *
74
- * @category ui/stepper
75
- * @docsKind primary
76
87
  * @wcag AA
77
88
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/stepper.component.ts
78
- * @since 0.1.0
89
+ * @since 0.3.0
79
90
  * @relatedTo CngxStepperPresenter, CngxStep, CngxRovingTabindex, CngxFocusRestore, CngxLiveRegion
80
91
  * @slot cngxStepIndicator Replaces the per-step number or check glyph in the header.
81
92
  * @slot cngxStepBadge Extra marker beside a step label, e.g. an optional or count badge.
@@ -86,29 +97,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
86
97
  * @slot cngxStepperEmpty Renders when no step is projected at all.
87
98
  * @slot cngxDotStepperDot Replaces the body of each dot in the dots mobile-collapse branch.
88
99
  * @playground Material theme coverage across all skins ./examples/material-theme-coverage/skins-coverage.component.ts
89
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>
90
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>
91
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>
92
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>
93
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal</example-url>
94
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>
95
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron</example-url>
96
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment</example-url>
97
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips</example-url>
98
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/breadcrumb</example-url>
99
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>
100
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>
101
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>
102
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>
103
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>
104
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>
105
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips-vertical</example-url>
106
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/flat-steps-auto-density</example-url>
107
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/density-across-skins</example-url>
108
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/distance-weighted-collapse</example-url>
100
+ * <example-url>/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>
101
+ * <example-url>/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>
102
+ * <example-url>/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>
103
+ * <example-url>/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>
104
+ * <example-url>/#/ui/stepper/stepper-skins/linear-minimal</example-url>
105
+ * <example-url>/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>
106
+ * <example-url>/#/ui/stepper/stepper-skins/path-chevron</example-url>
107
+ * <example-url>/#/ui/stepper/stepper-skins/pill-segment</example-url>
108
+ * <example-url>/#/ui/stepper/stepper-skins/chips</example-url>
109
+ * <example-url>/#/ui/stepper/stepper-skins/breadcrumb</example-url>
110
+ * <example-url>/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>
111
+ * <example-url>/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>
112
+ * <example-url>/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>
113
+ * <example-url>/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>
114
+ * <example-url>/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>
115
+ * <example-url>/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>
116
+ * <example-url>/#/ui/stepper/stepper-skins/chips-vertical</example-url>
117
+ * <example-url>/#/ui/stepper/stepper-density/flat-steps-auto-density</example-url>
118
+ * <example-url>/#/ui/stepper/stepper-density/density-across-skins</example-url>
119
+ * <example-url>/#/ui/stepper/stepper-density/distance-weighted-collapse</example-url>
120
+ * @axis level organism
109
121
  */
110
122
  class CngxStepper {
123
+ /**
124
+ * Accessible name of the stepper host, bound as `[aria-label]`. Resolution order: this input,
125
+ * then the `stepperLabel` string of the stepper i18n bundle. Ignored while a non-empty
126
+ * `[aria-labelledby]` is set.
127
+ */
111
128
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
129
+ /**
130
+ * Id reference list naming the stepper host, bound as `[aria-labelledby]`. A non-empty value
131
+ * is written to the host and suppresses the `aria-label` cascade, so the host carries no
132
+ * `aria-label` at all.
133
+ */
112
134
  ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
113
135
  /** Per-instance skin override; flips `[data-skin]`, structure/ARIA unchanged. */
114
136
  skin = input(undefined, ...(ngDevMode ? [{ debugName: "skin" }] : /* istanbul ignore next */ []));
@@ -128,6 +150,12 @@ class CngxStepper {
128
150
  * that sits next to the dot row.
129
151
  */
130
152
  showStepCount = input(false, ...(ngDevMode ? [{ debugName: "showStepCount" }] : /* istanbul ignore next */ []));
153
+ /**
154
+ * Places the mobile-collapse indicator (the dots row or the step text) above or below the
155
+ * panels, as `'top'` or `'bottom'`. Resolution order: this input, then `mobileIndicatorPosition`
156
+ * from the stepper config, then `'top'`. The result is written to `data-mobile-indicator-position`,
157
+ * and `'bottom'` reorders the host through CSS; the classic strip layout has no indicator to move.
158
+ */
131
159
  mobileIndicatorPosition = input(undefined, ...(ngDevMode ? [{ debugName: "mobileIndicatorPosition" }] : /* istanbul ignore next */ []));
132
160
  /** Stepper-host contract; exposed so external `<cngx-stepper-count>` / bridge consumers can `[host]="s.presenter"` via `#s="cngxStepper"`. */
133
161
  presenter = inject(CNGX_STEPPER_HOST);
@@ -144,8 +172,8 @@ class CngxStepper {
144
172
  groupHeaderSlot = contentChild(CngxStepGroupHeader, ...(ngDevMode ? [{ debugName: "groupHeaderSlot" }] : /* istanbul ignore next */ []));
145
173
  emptySlot = contentChild(CngxStepperEmpty, ...(ngDevMode ? [{ debugName: "emptySlot" }] : /* istanbul ignore next */ []));
146
174
  dotSlot = contentChild(CngxDotStepperDot, ...(ngDevMode ? [{ debugName: "dotSlot" }] : /* istanbul ignore next */ []));
147
- /** Default-template glyph source - read by `#defaultBadge` / `#defaultRejection` outlets. */
148
- glyphs = CNGX_STEPPER_GLYPHS;
175
+ /** Default-template icons: badge, rejection, done checks and mobile-dot marks. */
176
+ icons = STEPPER_ICONS;
149
177
  /**
150
178
  * Template cascade (indicator/badge/busySpinner/rejection/stepError/
151
179
  * groupHeader/empty). Resolution: per-instance slot directive →
@@ -180,8 +208,11 @@ class CngxStepper {
180
208
  });
181
209
  }
182
210
  fallbackLabels = coerceSignal(this.config.fallbackLabels);
183
- /** Stepper landmark role-description with config + i18n cascade. */
184
- stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? this.i18n().stepperLabel, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
211
+ /**
212
+ * Stepper landmark role-description: config `fallbackLabels`, then the
213
+ * library default. Never the stepper name, which is the accessible name.
214
+ */
215
+ stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? CNGX_STEPPER_LANGUAGE_EN.stepRoleDescription, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
185
216
  /** Resolved skin / connectors / mobile-indicator host attrs (Level-2 cascade helper). */
186
217
  hostAttrs = createStepperHostAttrs({
187
218
  skin: this.skin,
@@ -221,7 +252,7 @@ class CngxStepper {
221
252
  })), { ...(ngDevMode ? { debugName: "stepErrorEntries" } : /* istanbul ignore next */ {}), equal: (a, b) => a.length === b.length && a.every((e, i) => e.id === b[i].id && e.message === b[i].message) });
222
253
  /** Mobile-swipe navigation host directive (Level-2 composition). */
223
254
  swipeNav = inject(CngxStepperSwipeNav, { host: true });
224
- statusLabelFor = (node) => resolveStepperStatusLabel(node, this.i18n(), this.slotContext.isActive(node));
255
+ statusLabelFor = (node) => resolveStepperStatusLabel(node, this.i18n(), this.slotContext.isActive(node), this.stateView.rejectionReason(node));
225
256
  /** Mobile-dot `data-state`: the error marker (rejection + aggregator) over the raw status. */
226
257
  mobileDotState(node) {
227
258
  return this.stateView.hasErrorMarker(node) ? 'error' : node.state();
@@ -282,11 +313,10 @@ class CngxStepper {
282
313
  isCollapsed: (node) => this.isGroupCollapsed(node),
283
314
  navigationEnabled: () => this.resolvedHeaderNavigation() !== 'none',
284
315
  });
285
- /** Shared accname cascade (input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`). */
316
+ /** Shared accname cascade (input → `i18n.stepperLabel`). */
286
317
  resolvedAriaLabel = createStepperAccname({
287
318
  ariaLabel: this.ariaLabel,
288
319
  ariaLabelledBy: this.ariaLabelledBy,
289
- config: this.config,
290
320
  i18n: this.i18n,
291
321
  });
292
322
  // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on
@@ -370,9 +400,9 @@ class CngxStepper {
370
400
  return;
371
401
  }
372
402
  // No-op when the header is not reachable - disabled, linear-blocked,
373
- // or a commit is in flight. The reachability gate (which now includes
374
- // `busy()`) is the single source, so a mid-commit click cannot
375
- // supersede the pending transition.
403
+ // or a commit or the finish run is in flight. The reachability gate
404
+ // (`busy()` included) is the single source, so a mid-commit click
405
+ // cannot supersede the pending transition.
376
406
  if (node.kind !== 'step' || !this.isHeaderReachable(node)) {
377
407
  return;
378
408
  }
@@ -381,7 +411,8 @@ class CngxStepper {
381
411
  /**
382
412
  * `true` when the step header at `node` may be navigated to right now:
383
413
  * structurally reachable (`canNavigateTo` - not disabled, not
384
- * linear-blocked) AND not while a commit is in flight (`busy()`). The
414
+ * linear-blocked) AND not while a commit or the finish run is in flight
415
+ * (`busy()`). The
385
416
  * busy gate mirrors the footer nav atoms, which disable on
386
417
  * `!canGo* || busy()` - so the strip and the footer lock together
387
418
  * during an async transition instead of letting a header click
@@ -428,14 +459,24 @@ class CngxStepper {
428
459
  this.presenter.clearLastFailed();
429
460
  }
430
461
  // CngxStepPanelHost contract - O(1) via the pre-built map.
462
+ /**
463
+ * Returns the `*cngxStepLabel` template of the step with the given id, or `null` when no step has
464
+ * that id or the step supplies none. Implements `CngxStepPanelHost.labelTemplateFor`; the stepper
465
+ * template calls it per header and renders the default label text on `null`.
466
+ */
431
467
  labelTemplateFor(id) {
432
468
  return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;
433
469
  }
470
+ /**
471
+ * Returns the `*cngxStepContent` template of the step with the given id, or `null` when no step
472
+ * has that id or the step supplies none. Implements `CngxStepPanelHost.contentTemplateFor`; the
473
+ * stepper template calls it per panel and renders no body on `null`.
474
+ */
434
475
  contentTemplateFor(id) {
435
476
  return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;
436
477
  }
437
478
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
438
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepper, isStandalone: true, selector: "cngx-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null }, connectors: { classPropertyName: "connectors", publicName: "connectors", isSignal: true, isRequired: false, transformFunction: null }, headerNavigation: { classPropertyName: "headerNavigation", publicName: "headerNavigation", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null }, mobileIndicatorPosition: { classPropertyName: "mobileIndicatorPosition", publicName: "mobileIndicatorPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleStripKeyDown($event)" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.data-density-auto": "isDensityAuto() ? '' : null", "attr.data-skin": "hostAttrs.resolvedSkin()", "attr.data-connectors": "hostAttrs.resolvedConnectors() ? 'true' : null", "attr.data-mobile-indicator-position": "hostAttrs.resolvedMobileIndicatorPosition()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" }, classAttribute: "cngx-stepper" }, providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], queries: [{ propertyName: "stepDirectives", predicate: CngxStep, descendants: true, isSignal: true }, { propertyName: "indicatorSlot", first: true, predicate: CngxStepIndicator, descendants: true, isSignal: true }, { propertyName: "badgeSlot", first: true, predicate: CngxStepBadge, descendants: true, isSignal: true }, { propertyName: "busySpinnerSlot", first: true, predicate: CngxStepBusySpinner, descendants: true, isSignal: true }, { propertyName: "rejectionSlot", first: true, predicate: CngxStepRejection, descendants: true, isSignal: true }, { propertyName: "errorSlot", first: true, predicate: CngxStepError, descendants: true, isSignal: true }, { propertyName: "groupHeaderSlot", first: true, predicate: CngxStepGroupHeader, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }, { propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }], exportAs: ["cngxStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear", "orientation", "orientation", "commitAction", "commitAction", "commitMode", "commitMode"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i2.CngxRovingTabindex, inputs: ["orientation", "orientation"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }, { directive: i2.CngxFocusRestore }], ngImport: i0, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\">{{\n reason === 'refused' ? glyphs.refusedIcon : glyphs.rejectionIcon\n}}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__step--rejected[data-reason=failed]{outline-color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__rejection-icon[data-reason=failed]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-rejection-outline-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__mobile-error[data-reason=refused] .cngx-stepper__mobile-error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxLiveRegion, selector: "[cngxLiveRegion]", inputs: ["politeness", "atomic", "relevant"], exportAs: ["cngxLiveRegion"] }, { kind: "directive", type: CngxRovingItem, selector: "[cngxRovingItem]", inputs: ["cngxRovingItemDisabled"], exportAs: ["cngxRovingItem"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
479
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepper, isStandalone: true, selector: "cngx-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null }, connectors: { classPropertyName: "connectors", publicName: "connectors", isSignal: true, isRequired: false, transformFunction: null }, headerNavigation: { classPropertyName: "headerNavigation", publicName: "headerNavigation", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null }, mobileIndicatorPosition: { classPropertyName: "mobileIndicatorPosition", publicName: "mobileIndicatorPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleStripKeyDown($event)" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.data-density-auto": "isDensityAuto() ? '' : null", "attr.data-skin": "hostAttrs.resolvedSkin()", "attr.data-connectors": "hostAttrs.resolvedConnectors() ? 'true' : null", "attr.data-mobile-indicator-position": "hostAttrs.resolvedMobileIndicatorPosition()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" }, classAttribute: "cngx-stepper" }, providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], queries: [{ propertyName: "stepDirectives", predicate: CngxStep, descendants: true, isSignal: true }, { propertyName: "indicatorSlot", first: true, predicate: CngxStepIndicator, descendants: true, isSignal: true }, { propertyName: "badgeSlot", first: true, predicate: CngxStepBadge, descendants: true, isSignal: true }, { propertyName: "busySpinnerSlot", first: true, predicate: CngxStepBusySpinner, descendants: true, isSignal: true }, { propertyName: "rejectionSlot", first: true, predicate: CngxStepRejection, descendants: true, isSignal: true }, { propertyName: "errorSlot", first: true, predicate: CngxStepError, descendants: true, isSignal: true }, { propertyName: "groupHeaderSlot", first: true, predicate: CngxStepGroupHeader, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }, { propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }], exportAs: ["cngxStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear", "orientation", "orientation", "commitAction", "commitAction", "commitMode", "commitMode"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i2.CngxRovingTabindex, inputs: ["orientation", "orientation"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }, { directive: i2.CngxFocusRestore }], ngImport: i0, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / label / badge / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (node.state() === 'success') {\n <span class=\"cngx-stepper__done-icon\" aria-hidden=\"true\"\n ><svg [cngxIconSvg]=\"icons.check\"></svg\n ></span>\n }\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position let-status=\"status\">\n @if (status === 'success') {\n <svg class=\"cngx-stepper__indicator-check\" [cngxIconSvg]=\"icons.check\"></svg>\n }\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge><svg [cngxIconSvg]=\"icons.alert\"></svg></ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\"\n ><svg [cngxIconSvg]=\"reason === 'refused' ? icons.ban : icons.alert\"></svg\n></ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false;}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: true;}@property --cngx-step-error-badge-color{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-tint{syntax: \"<percentage>\"; inherits: true; initial-value: 18%;}@property --cngx-step-rejection-radius{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}:root{--cngx-stepper-group-chip-font-size: .8125em}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;flex:0 0 auto;color:var( --cngx-step-error-badge-color, var(--cngx-step-errored-color, oklch(.46 .18 25)) )}.cngx-stepper__step--rejected{--_cngx-step-rejection-color: var(--cngx-step-errored-color, oklch(.46 .18 25));background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius:var(--cngx-step-rejection-radius, .5rem)}.cngx-stepper__step--rejected[data-reason=refused]{--_cngx-step-rejection-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;flex:0 0 auto;color:var(--cngx-step-errored-color, oklch(.46 .18 25))}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__badge>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-badge-size, 1rem);--cngx-icon-svg-stroke-width: 2}.cngx-stepper__rejection-icon>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-rejection-icon-size, 1rem);--cngx-icon-svg-stroke-width: 2}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-dot-step-target-min{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}:root{--cngx-step-indicator-font-size: .85em}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.46 .18 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}:where(.cngx-stepper){--cngx-step-completed-color: var(--cngx-color-success);--cngx-step-errored-color: var(--cngx-color-danger-text)}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator-check{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 3;display:block}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__done-icon{display:none;flex:none}.cngx-stepper__done-icon>.cngx-icon-svg{--cngx-icon-svg-size: 1rem;--cngx-icon-svg-stroke-width: 2.5;display:block}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color);box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color)}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0));box-shadow:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color);overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true;}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true;}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=chips]){--cngx-step-chips-color-completed: var(--cngx-color-success-text, oklch(.46 .15 145));--cngx-step-chips-bg-completed: color-mix( in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent )}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=breadcrumb]){--cngx-step-breadcrumb-check-color: var(--cngx-color-success-text, oklch(.46 .15 145))}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );border-color:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) )}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);border-color:var(--cngx-step-completed-color)}.cngx-stepper__indicator-check{display:none}.cngx-stepper__indicator[data-state=error],.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color);border-color:var(--cngx-step-errored-color);box-shadow:none}.cngx-stepper__step--rejected{background:transparent;border-radius:0;box-shadow:inset 0 -2px 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}.cngx-stepper__step--rejected{box-shadow:inset 2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step--rejected:dir(rtl){box-shadow:inset -2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__step:focus-visible{outline:0}.cngx-stepper__step:focus-visible .cngx-stepper__indicator{outline:var( --cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)) );outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected:has(.cngx-stepper__rejection-icon) .cngx-stepper__indicator-glyph{visibility:hidden}.cngx-stepper__step--rejected .cngx-stepper__label,.cngx-stepper__rejection-icon{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{background:transparent}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected .cngx-stepper__indicator-glyph{visibility:visible}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var( --cngx-step-connector-pending-color, var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) ) )}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-refused-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var( --cngx-step-status-pill-bg-in-progress, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step--rejected[data-reason=failed] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__badge,.cngx-stepper__rejection-icon{display:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chevron-tile-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__badge,.cngx-stepper__rejection-icon{order:-1}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius:0}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color)}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chips-bg-completed);color:var(--cngx-step-chips-color-completed)}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;order:-1}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) ) );color:var( --cngx-step-chips-color-errored, var(--cngx-color-on-danger-strong, oklch(1 0 0)) )}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;color:var(--cngx-step-breadcrumb-check-color)}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color) );font-weight:600}.cngx-stepper__step--rejected{background:transparent;border-radius:0}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color);--cngx-dot-step-active-fill: var( --cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50)) )}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{--_cngx-dot-step-pad: max( ( max( var(--cngx-target-min, 0px), var(--cngx-dot-step-target-min, 24px) - var(--cngx-dot-step-gap, .5rem) ) - var(--cngx-dot-step-size, .625rem) ) / 2, 0px );--_cngx-dot-step-slot: calc(var(--cngx-dot-step-size, .625rem) + 2 * var(--_cngx-dot-step-pad));display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-grid;place-items:center;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out;margin-inline:var(--_cngx-dot-step-pad);margin-block:max((var(--cngx-target-min, 0px) - var(--cngx-dot-step-size, .625rem)) / 2,0px)}.cngx-stepper__mobile-dot>span{display:grid;place-items:center}.cngx-stepper__mobile-dot:before{content:\"\";position:absolute;left:50%;top:50%;width:var(--_cngx-dot-step-slot);height:max(var(--_cngx-dot-step-slot),var(--cngx-target-min, 0px));translate:-50% -50%}.cngx-stepper__mobile-dot--active:before{scale:.8}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color))}.cngx-stepper__mobile-dot--active{background:var( --cngx-dot-step-active-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );transform:scale(1.25)}.cngx-stepper__mobile-dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-stepper__mobile-dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot-body{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.cngx-stepper__mobile-dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:absolute;inset:0;display:block;margin:auto;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color)}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color)}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color)}.cngx-stepper__group-summary--status[data-state=pending]{background:var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) )}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{color:CanvasText}.cngx-stepper .cngx-stepper__step--rejected:not(:focus-visible){outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active .cngx-stepper__mobile-dot-glyph{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxLiveRegion, selector: "[cngxLiveRegion]", inputs: ["politeness", "atomic", "relevant"], exportAs: ["cngxLiveRegion"] }, { kind: "directive", type: CngxRovingItem, selector: "[cngxRovingItem]", inputs: ["cngxRovingItemDisabled"], exportAs: ["cngxRovingItem"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxIconSvg, selector: "svg[cngxIconSvg]", inputs: ["cngxIconSvg"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
439
480
  }
440
481
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, decorators: [{
441
482
  type: Component,
@@ -444,6 +485,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
444
485
  CngxLiveRegion,
445
486
  CngxRovingItem,
446
487
  CngxStepperCount,
488
+ CngxIconSvg,
447
489
  CngxStepperErrorLine,
448
490
  CngxSwipe,
449
491
  ], encapsulation: ViewEncapsulation.None, hostDirectives: [
@@ -479,7 +521,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
479
521
  '[attr.aria-busy]': 'isCommitting() ? "true" : null',
480
522
  '[class.cngx-stepper]': 'true',
481
523
  '(keydown)': 'handleStripKeyDown($event)',
482
- }, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\">{{\n reason === 'refused' ? glyphs.refusedIcon : glyphs.rejectionIcon\n}}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__step--rejected[data-reason=failed]{outline-color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__rejection-icon[data-reason=failed]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-rejection-outline-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__mobile-error[data-reason=refused] .cngx-stepper__mobile-error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"] }]
524
+ }, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / label / badge / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (node.state() === 'success') {\n <span class=\"cngx-stepper__done-icon\" aria-hidden=\"true\"\n ><svg [cngxIconSvg]=\"icons.check\"></svg\n ></span>\n }\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position let-status=\"status\">\n @if (status === 'success') {\n <svg class=\"cngx-stepper__indicator-check\" [cngxIconSvg]=\"icons.check\"></svg>\n }\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge><svg [cngxIconSvg]=\"icons.alert\"></svg></ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\"\n ><svg [cngxIconSvg]=\"reason === 'refused' ? icons.ban : icons.alert\"></svg\n></ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false;}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: true;}@property --cngx-step-error-badge-color{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-tint{syntax: \"<percentage>\"; inherits: true; initial-value: 18%;}@property --cngx-step-rejection-radius{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}:root{--cngx-stepper-group-chip-font-size: .8125em}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;flex:0 0 auto;color:var( --cngx-step-error-badge-color, var(--cngx-step-errored-color, oklch(.46 .18 25)) )}.cngx-stepper__step--rejected{--_cngx-step-rejection-color: var(--cngx-step-errored-color, oklch(.46 .18 25));background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius:var(--cngx-step-rejection-radius, .5rem)}.cngx-stepper__step--rejected[data-reason=refused]{--_cngx-step-rejection-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;flex:0 0 auto;color:var(--cngx-step-errored-color, oklch(.46 .18 25))}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__badge>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-badge-size, 1rem);--cngx-icon-svg-stroke-width: 2}.cngx-stepper__rejection-icon>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-rejection-icon-size, 1rem);--cngx-icon-svg-stroke-width: 2}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-dot-step-target-min{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}:root{--cngx-step-indicator-font-size: .85em}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.46 .18 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}:where(.cngx-stepper){--cngx-step-completed-color: var(--cngx-color-success);--cngx-step-errored-color: var(--cngx-color-danger-text)}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator-check{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 3;display:block}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__done-icon{display:none;flex:none}.cngx-stepper__done-icon>.cngx-icon-svg{--cngx-icon-svg-size: 1rem;--cngx-icon-svg-stroke-width: 2.5;display:block}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color);box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color)}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0));box-shadow:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color);overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true;}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true;}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=chips]){--cngx-step-chips-color-completed: var(--cngx-color-success-text, oklch(.46 .15 145));--cngx-step-chips-bg-completed: color-mix( in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent )}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=breadcrumb]){--cngx-step-breadcrumb-check-color: var(--cngx-color-success-text, oklch(.46 .15 145))}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );border-color:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) )}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);border-color:var(--cngx-step-completed-color)}.cngx-stepper__indicator-check{display:none}.cngx-stepper__indicator[data-state=error],.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color);border-color:var(--cngx-step-errored-color);box-shadow:none}.cngx-stepper__step--rejected{background:transparent;border-radius:0;box-shadow:inset 0 -2px 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}.cngx-stepper__step--rejected{box-shadow:inset 2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step--rejected:dir(rtl){box-shadow:inset -2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__step:focus-visible{outline:0}.cngx-stepper__step:focus-visible .cngx-stepper__indicator{outline:var( --cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)) );outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected:has(.cngx-stepper__rejection-icon) .cngx-stepper__indicator-glyph{visibility:hidden}.cngx-stepper__step--rejected .cngx-stepper__label,.cngx-stepper__rejection-icon{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{background:transparent}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected .cngx-stepper__indicator-glyph{visibility:visible}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var( --cngx-step-connector-pending-color, var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) ) )}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-refused-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var( --cngx-step-status-pill-bg-in-progress, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step--rejected[data-reason=failed] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__badge,.cngx-stepper__rejection-icon{display:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chevron-tile-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__badge,.cngx-stepper__rejection-icon{order:-1}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius:0}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color)}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chips-bg-completed);color:var(--cngx-step-chips-color-completed)}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;order:-1}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) ) );color:var( --cngx-step-chips-color-errored, var(--cngx-color-on-danger-strong, oklch(1 0 0)) )}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;color:var(--cngx-step-breadcrumb-check-color)}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color) );font-weight:600}.cngx-stepper__step--rejected{background:transparent;border-radius:0}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color);--cngx-dot-step-active-fill: var( --cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50)) )}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{--_cngx-dot-step-pad: max( ( max( var(--cngx-target-min, 0px), var(--cngx-dot-step-target-min, 24px) - var(--cngx-dot-step-gap, .5rem) ) - var(--cngx-dot-step-size, .625rem) ) / 2, 0px );--_cngx-dot-step-slot: calc(var(--cngx-dot-step-size, .625rem) + 2 * var(--_cngx-dot-step-pad));display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-grid;place-items:center;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out;margin-inline:var(--_cngx-dot-step-pad);margin-block:max((var(--cngx-target-min, 0px) - var(--cngx-dot-step-size, .625rem)) / 2,0px)}.cngx-stepper__mobile-dot>span{display:grid;place-items:center}.cngx-stepper__mobile-dot:before{content:\"\";position:absolute;left:50%;top:50%;width:var(--_cngx-dot-step-slot);height:max(var(--_cngx-dot-step-slot),var(--cngx-target-min, 0px));translate:-50% -50%}.cngx-stepper__mobile-dot--active:before{scale:.8}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color))}.cngx-stepper__mobile-dot--active{background:var( --cngx-dot-step-active-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );transform:scale(1.25)}.cngx-stepper__mobile-dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-stepper__mobile-dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot-body{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.cngx-stepper__mobile-dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:absolute;inset:0;display:block;margin:auto;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color)}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color)}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color)}.cngx-stepper__group-summary--status[data-state=pending]{background:var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) )}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{color:CanvasText}.cngx-stepper .cngx-stepper__step--rejected:not(:focus-visible){outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active .cngx-stepper__mobile-dot-glyph{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"] }]
483
525
  }], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], skin: [{ type: i0.Input, args: [{ isSignal: true, alias: "skin", required: false }] }], connectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectors", required: false }] }], headerNavigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerNavigation", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], mobileIndicatorPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileIndicatorPosition", required: false }] }], stepDirectives: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CngxStep), { ...{ descendants: true }, isSignal: true }] }], indicatorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepIndicator), { isSignal: true }] }], badgeSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBadge), { isSignal: true }] }], busySpinnerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBusySpinner), { isSignal: true }] }], rejectionSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepRejection), { isSignal: true }] }], errorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepError), { isSignal: true }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }], dotSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxDotStepperDot), { isSignal: true }] }] } });
484
526
  /**
485
527
  * @internal `"<base>: Errored"` for an error, `"<base>: Not allowed"` for a
@@ -508,34 +550,45 @@ function withMarkerStatus(view, node, i18n, base) {
508
550
  * cascades as `<cngx-stepper>`; a step-less flow renders the
509
551
  * `CNGX_STEPPER_CONFIG` empty-template cascade instead of the bar.
510
552
  *
511
- * @category ui/stepper
512
- * @docsKind primary
513
553
  * @wcag AA
514
554
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/progress-bar-stepper.component.ts
515
- * @since 0.1.0
555
+ * @since 0.3.0
516
556
  * @relatedTo CngxStepperPresenter, CngxProgress, CngxDotStepper, CngxTextStepper
517
557
  * @slot cngxStepperEmpty Renders when no step is projected at all.
518
558
  * @playground Material theme coverage across variants ./examples/material-theme-coverage/variants-coverage.component.ts
519
- * <example-url>http://localhost:4200/#/ui/stepper/progress-bar/onboarding-flow</example-url>
559
+ * <example-url>/#/ui/stepper/progress-bar/onboarding-flow</example-url>
560
+ * @axis level organism
520
561
  */
521
562
  class CngxProgressBarStepper {
563
+ /**
564
+ * Accessible name of the stepper host, bound as `[aria-label]`. Resolution order: this input,
565
+ * then the `stepperLabel` string of the stepper i18n bundle. Ignored while a non-empty
566
+ * `[aria-labelledby]` is set.
567
+ */
522
568
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
569
+ /**
570
+ * Id reference list naming the stepper host, bound as `[aria-labelledby]`. A non-empty value
571
+ * is written to the host and suppresses the `aria-label` cascade, so the host carries no
572
+ * `aria-label` at all.
573
+ */
523
574
  ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
524
575
  /** Render a `Step N of M` caption below the bar. Off by default. */
525
576
  showStepCount = input(false, ...(ngDevMode ? [{ debugName: "showStepCount" }] : /* istanbul ignore next */ []));
526
577
  presenter = inject(CNGX_STEPPER_HOST);
527
578
  i18n = injectStepperI18n();
528
579
  config = injectStepperConfig();
529
- /** Shared accname cascade (input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`). */
580
+ /** Shared accname cascade (input → `i18n.stepperLabel`). */
530
581
  resolvedAriaLabel = createStepperAccname({
531
582
  ariaLabel: this.ariaLabel,
532
583
  ariaLabelledBy: this.ariaLabelledBy,
533
- config: this.config,
534
584
  i18n: this.i18n,
535
585
  });
536
586
  fallbackLabels = coerceSignal(this.config.fallbackLabels);
537
- /** Landmark role-description with config + i18n cascade, mirroring `<cngx-stepper>`. */
538
- stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? this.i18n().stepperLabel, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
587
+ /**
588
+ * Landmark role-description mirroring `<cngx-stepper>`: config
589
+ * `fallbackLabels`, then the library default, never the stepper name.
590
+ */
591
+ stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? CNGX_STEPPER_LANGUAGE_EN.stepRoleDescription, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
539
592
  emptySlot = contentChild(CngxStepperEmpty, ...(ngDevMode ? [{ debugName: "emptySlot" }] : /* istanbul ignore next */ []));
540
593
  /**
541
594
  * Empty-state cascade mirroring `<cngx-stepper>`: per-instance
@@ -580,7 +633,7 @@ class CngxProgressBarStepper {
580
633
  */
581
634
  errorText = computed(() => resolveStepperErrorSummary(this.stateView, this.presenter.stepsOnly, untracked(() => this.i18n()), (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0]), ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
582
635
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
583
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxProgressBarStepper, isStandalone: true, selector: "cngx-progress-bar-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.data-state": "stateView.hasAnyErrorMarker() ? \"error\" : null", "attr.data-reason": "stateView.refusalOnly() ? \"refused\" : null", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-progress-bar-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxProgressBarStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);height:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-progress-bar-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper__error[data-reason=refused] .cngx-progress-bar-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"], dependencies: [{ kind: "component", type: CngxProgress, selector: "cngx-progress", inputs: ["state", "progress", "variant", "showLabel", "label"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
636
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxProgressBarStepper, isStandalone: true, selector: "cngx-progress-bar-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.data-state": "stateView.hasAnyErrorMarker() ? \"error\" : null", "attr.data-reason": "stateView.refusalOnly() ? \"refused\" : null", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-progress-bar-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxProgressBarStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"], dependencies: [{ kind: "component", type: CngxProgress, selector: "cngx-progress", inputs: ["state", "progress", "variant", "showLabel", "label"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
584
637
  }
585
638
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, decorators: [{
586
639
  type: Component,
@@ -599,7 +652,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
599
652
  '[attr.data-state]': 'stateView.hasAnyErrorMarker() ? "error" : null',
600
653
  '[attr.data-reason]': 'stateView.refusalOnly() ? "refused" : null',
601
654
  '[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
602
- }, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);height:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-progress-bar-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper__error[data-reason=refused] .cngx-progress-bar-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"] }]
655
+ }, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"] }]
603
656
  }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
604
657
 
605
658
  /**
@@ -625,33 +678,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
625
678
  * defaults cascade through `var(--cngx-step-active-fill, ...)`, so the
626
679
  * Phase A active-fill chain reaches the dot variant without duplication.
627
680
  *
628
- * @category ui/stepper
629
- * @docsKind primary
630
681
  * @wcag AA
631
682
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/dot-stepper.component.ts
632
- * @since 0.1.0
683
+ * @since 0.3.0
633
684
  * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxTextStepper
634
685
  * @slot cngxDotStepperDot Replaces one dot; gets its index and active state.
635
686
  * @slot cngxStepperEmpty Renders when no step is projected at all.
636
- * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/mobile-carousel</example-url>
687
+ * <example-url>/#/ui/stepper/dot-stepper/mobile-carousel</example-url>
688
+ * @axis level organism
637
689
  */
638
690
  class CngxDotStepper {
691
+ /**
692
+ * Accessible name of the stepper host, bound as `[aria-label]`. Resolution order: this input,
693
+ * then the `stepperLabel` string of the stepper i18n bundle. Ignored while a non-empty
694
+ * `[aria-labelledby]` is set.
695
+ */
639
696
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
697
+ /**
698
+ * Id reference list naming the stepper host, bound as `[aria-labelledby]`. A non-empty value
699
+ * is written to the host and suppresses the `aria-label` cascade, so the host carries no
700
+ * `aria-label` at all.
701
+ */
640
702
  ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
641
703
  presenter = inject(CNGX_STEPPER_HOST);
642
704
  i18n = injectStepperI18n();
643
705
  config = injectStepperConfig();
644
- /** Shared accname cascade (input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`). */
706
+ /** Shared accname cascade (input → `i18n.stepperLabel`). */
645
707
  resolvedAriaLabel = createStepperAccname({
646
708
  ariaLabel: this.ariaLabel,
647
709
  ariaLabelledBy: this.ariaLabelledBy,
648
- config: this.config,
649
710
  i18n: this.i18n,
650
711
  });
651
712
  /** Mobile-swipe routing surface composed via hostDirectives. */
652
713
  swipeNav = inject(CngxStepperSwipeNav, { host: true });
653
714
  /** Document writing direction - flips the inline next/previous arrows under `rtl` (APG). */
654
715
  direction = injectDirection();
716
+ /** Error marks drawn over an errored (alert) or refused (ban) dot. */
717
+ exclamationIcon = CNGX_ICON_EXCLAMATION;
718
+ banIcon = CNGX_ICON_BAN;
655
719
  stepNodes = this.presenter.stepsOnly;
656
720
  activeIndex = computed(() => this.presenter.activeStepIndex(), ...(ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []));
657
721
  /** Shared per-step/aggregate state derivations - the single error source. */
@@ -750,11 +814,11 @@ class CngxDotStepper {
750
814
  }
751
815
  }
752
816
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
753
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxDotStepper, isStandalone: true, selector: "cngx-dot-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "attr.tabindex": "stepNodes().length === 0 ? null : '0'", "attr.aria-roledescription": "i18n().stepIndicatorRoleDescription", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-dot-stepper" }, queries: [{ propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxDotStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }], ngImport: i0, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var(--cngx-step-active-fill, oklch(.66 .19 50));--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-dot-stepper__dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-dot-stepper-error-glyph-size, 1.1em);height:var(--cngx-dot-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-dot-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-dot-stepper__error[data-reason=refused] .cngx-dot-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{--_cngx-forced-ink: CanvasText;forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{--_cngx-forced-ink: Canvas;background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{--_cngx-forced-ink: HighlightText;background:Highlight;box-shadow:none}.cngx-dot-stepper__dot--error:after{color:var(--_cngx-forced-ink, CanvasText)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
817
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxDotStepper, isStandalone: true, selector: "cngx-dot-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "attr.tabindex": "stepNodes().length === 0 ? null : '0'", "attr.aria-roledescription": "i18n().stepIndicatorRoleDescription", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-dot-stepper" }, queries: [{ propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxDotStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }], ngImport: i0, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <!--\n The cell stacks the error mark over the dot. The dot itself stays\n :empty without a consumer slot, which the chrome-strip rule keys off.\n -->\n <span class=\"cngx-dot-stepper__cell\">\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-dot-stepper__dot-glyph\"\n [cngxIconSvg]=\"stateView.rejectionReason(node) === 'refused' ? banIcon : exclamationIcon\"\n ></svg>\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-marked-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var( --cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50)) );--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill)}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-dot-stepper__dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__cell{display:inline-grid;place-items:center}.cngx-dot-stepper__cell>*{grid-area:1 / 1}.cngx-dot-stepper__dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:relative;display:block;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white));transition:transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--active+.cngx-dot-stepper__dot-glyph{transform:scale(1.25)}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot,.cngx-dot-stepper__dot-glyph{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{background:Highlight;box-shadow:none}.cngx-dot-stepper__dot-glyph{color:CanvasText}.cngx-dot-stepper__dot:empty+.cngx-dot-stepper__dot-glyph{forced-color-adjust:none}.cngx-dot-stepper__dot--completed:empty+.cngx-dot-stepper__dot-glyph{color:Canvas}.cngx-dot-stepper__dot--active:empty+.cngx-dot-stepper__dot-glyph{color:HighlightText}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxIconSvg, selector: "svg[cngxIconSvg]", inputs: ["cngxIconSvg"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
754
818
  }
755
819
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, decorators: [{
756
820
  type: Component,
757
- args: [{ selector: 'cngx-dot-stepper', exportAs: 'cngxDotStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, CngxStepperErrorLine, CngxSwipe], hostDirectives: [
821
+ args: [{ selector: 'cngx-dot-stepper', exportAs: 'cngxDotStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, CngxIconSvg, CngxStepperErrorLine, CngxSwipe], hostDirectives: [
758
822
  {
759
823
  directive: CngxStepperPresenter,
760
824
  inputs: ['activeStepIndex', 'linear'],
@@ -775,7 +839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
775
839
  '[attr.aria-labelledby]': 'ariaLabelledBy()',
776
840
  '[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
777
841
  '(keydown)': 'handleKeyDown($event)',
778
- }, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var(--cngx-step-active-fill, oklch(.66 .19 50));--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-dot-stepper__dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-dot-stepper-error-glyph-size, 1.1em);height:var(--cngx-dot-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-dot-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-dot-stepper__error[data-reason=refused] .cngx-dot-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{--_cngx-forced-ink: CanvasText;forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{--_cngx-forced-ink: Canvas;background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{--_cngx-forced-ink: HighlightText;background:Highlight;box-shadow:none}.cngx-dot-stepper__dot--error:after{color:var(--_cngx-forced-ink, CanvasText)}}\n"] }]
842
+ }, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <!--\n The cell stacks the error mark over the dot. The dot itself stays\n :empty without a consumer slot, which the chrome-strip rule keys off.\n -->\n <span class=\"cngx-dot-stepper__cell\">\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-dot-stepper__dot-glyph\"\n [cngxIconSvg]=\"stateView.rejectionReason(node) === 'refused' ? banIcon : exclamationIcon\"\n ></svg>\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-marked-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var( --cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50)) );--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill)}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-dot-stepper__dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__cell{display:inline-grid;place-items:center}.cngx-dot-stepper__cell>*{grid-area:1 / 1}.cngx-dot-stepper__dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:relative;display:block;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white));transition:transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--active+.cngx-dot-stepper__dot-glyph{transform:scale(1.25)}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot,.cngx-dot-stepper__dot-glyph{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{background:Highlight;box-shadow:none}.cngx-dot-stepper__dot-glyph{color:CanvasText}.cngx-dot-stepper__dot:empty+.cngx-dot-stepper__dot-glyph{forced-color-adjust:none}.cngx-dot-stepper__dot--completed:empty+.cngx-dot-stepper__dot-glyph{color:Canvas}.cngx-dot-stepper__dot--active:empty+.cngx-dot-stepper__dot-glyph{color:HighlightText}}\n"] }]
779
843
  }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], dotSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxDotStepperDot), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
780
844
 
781
845
  /**
@@ -789,14 +853,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
789
853
  * Material consumers inherit surrounding text styling via CSS
790
854
  * inheritance, no theme bridge required.
791
855
  *
792
- * @category ui/stepper
793
- * @docsKind primary
794
856
  * @wcag AA
795
857
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/text-stepper.component.ts
796
- * @since 0.1.0
858
+ * @since 0.3.0
797
859
  * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxDotStepper
798
860
  * @slot cngxStepperEmpty Renders when no step is projected at all.
799
- * <example-url>http://localhost:4200/#/ui/stepper/text-stepper/inline-progress</example-url>
861
+ * <example-url>/#/ui/stepper/text-stepper/inline-progress</example-url>
862
+ * @axis level organism
800
863
  */
801
864
  class CngxTextStepper {
802
865
  /** Append the active step's label to the count text. Off by default. */
@@ -856,7 +919,7 @@ class CngxTextStepper {
856
919
  */
857
920
  errorText = computed(() => resolveStepperErrorSummary(this.stateView, this.stepNodes, untracked(() => this.i18n()), (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0]), ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
858
921
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
859
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxTextStepper, isStandalone: true, selector: "cngx-text-stepper", inputs: { showCurrentLabel: { classPropertyName: "showCurrentLabel", publicName: "showCurrentLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-text-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxTextStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-text-step-error-glyph-size, 1.1em);height:var(--cngx-text-step-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-text-step-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-text-stepper__error[data-reason=refused] .cngx-text-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
922
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxTextStepper, isStandalone: true, selector: "cngx-text-stepper", inputs: { showCurrentLabel: { classPropertyName: "showCurrentLabel", publicName: "showCurrentLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-text-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxTextStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
860
923
  }
861
924
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, decorators: [{
862
925
  type: Component,
@@ -869,9 +932,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
869
932
  ], host: {
870
933
  class: 'cngx-text-stepper',
871
934
  '[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
872
- }, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-text-step-error-glyph-size, 1.1em);height:var(--cngx-text-step-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-text-step-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-text-stepper__error[data-reason=refused] .cngx-text-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"] }]
935
+ }, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}\n"] }]
873
936
  }], propDecorators: { showCurrentLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentLabel", required: false }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
874
937
 
938
+ const REGIONS = '.cngx-stepper-footer__start, .cngx-stepper-footer__center, .cngx-stepper-footer__end';
875
939
  /**
876
940
  * Navigation action-bar molecule for the stepper family. \
877
941
  * Lays out three regions - **start** (Back), **center** (progress hint), **end** (Continue / Finish). \
@@ -891,6 +955,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
891
955
  * consumer-projected button content. With no host at all, the proxy's
892
956
  * neutral set renders the nav buttons disabled.
893
957
  *
958
+ * **Keeps focus in a region when its control is replaced:** \
959
+ * When the focused control of a region leaves the DOM (Continue swapped
960
+ * for Finish by an `@if`) and focus fell to `body`, the footer focuses
961
+ * the first focusable control of the same region after that render. Focus
962
+ * the user had already moved out of the footer stays where it is.
963
+ *
894
964
  * ```html
895
965
  * <cngx-stepper #s="cngxStepper"> … </cngx-stepper>
896
966
  * <cngx-stepper-footer [host]="s.presenter">
@@ -900,19 +970,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
900
970
  * </cngx-stepper-footer>
901
971
  * ```
902
972
  *
903
- * @category ui/stepper
904
- * @docsKind primary
905
973
  * @wcag AA
906
974
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/footer/stepper-footer.component.ts
907
- * @since 0.1.0
975
+ * @since 0.3.0
908
976
  * @relatedTo CngxStepper, CngxStepperPrevious, CngxStepperNext, CngxStepperComplete, CngxStepperCount
909
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/back-continue</example-url>
910
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>
911
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>
912
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/percent-complete-center</example-url>
913
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>
914
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/complete-finish-button</example-url>
915
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/async-commit-status</example-url>
977
+ * <example-url>/#/ui/stepper/stepper-footer/back-continue</example-url>
978
+ * <example-url>/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>
979
+ * <example-url>/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>
980
+ * <example-url>/#/ui/stepper/stepper-footer/percent-complete-center</example-url>
981
+ * <example-url>/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>
982
+ * <example-url>/#/ui/stepper/stepper-footer/complete-finish-button</example-url>
983
+ * <example-url>/#/ui/stepper/stepper-footer/async-commit-status</example-url>
984
+ * @axis level molecule
916
985
  */
917
986
  class CngxStepperFooter {
918
987
  /**
@@ -926,8 +995,55 @@ class CngxStepperFooter {
926
995
  injectedHost = inject(CNGX_STEPPER_HOST, { optional: true, skipSelf: true });
927
996
  /** Resolved host: explicit input wins, else the ambient ancestor host. */
928
997
  resolvedHost = computed(() => this.host() ?? this.injectedHost, ...(ngDevMode ? [{ debugName: "resolvedHost" }] : /* istanbul ignore next */ []));
998
+ hostEl = inject(ElementRef).nativeElement;
999
+ document = inject(DOCUMENT);
1000
+ // Firefox, WebKit and jsdom fire no focusout when a focused node is
1001
+ // removed, so the last focused control is tracked on focusin and checked
1002
+ // after each render instead.
1003
+ lastFocus = null;
1004
+ constructor() {
1005
+ afterEveryRender(() => this.restoreFocus());
1006
+ }
1007
+ /** @internal */
1008
+ trackFocus(event) {
1009
+ this.lastFocus = null;
1010
+ const control = event.target;
1011
+ if (!(control instanceof HTMLElement)) {
1012
+ return;
1013
+ }
1014
+ const region = control.closest(REGIONS);
1015
+ if (region?.parentElement === this.hostEl) {
1016
+ this.lastFocus = { control, region };
1017
+ }
1018
+ }
1019
+ /** @internal */
1020
+ forgetFocus(event) {
1021
+ const last = this.lastFocus;
1022
+ if (event.target !== last?.control || !last) {
1023
+ return;
1024
+ }
1025
+ // Chromium also fires focusout when the focused control is removed; the
1026
+ // render hook restores that case in the same tick, before this check. A
1027
+ // control still rendered here means the user moved focus out.
1028
+ queueMicrotask(() => {
1029
+ if (this.lastFocus === last && last.control.isConnected) {
1030
+ this.lastFocus = null;
1031
+ }
1032
+ });
1033
+ }
1034
+ restoreFocus() {
1035
+ const last = this.lastFocus;
1036
+ if (!last || last.control.isConnected) {
1037
+ return;
1038
+ }
1039
+ this.lastFocus = null;
1040
+ if (this.document.activeElement !== this.document.body) {
1041
+ return;
1042
+ }
1043
+ last.region.querySelector(CNGX_FOCUSABLE_SELECTOR)?.focus();
1044
+ }
929
1045
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
930
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: CngxStepperFooter, isStandalone: true, selector: "cngx-stepper-footer", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "cngx-stepper-footer" }, providers: [
1046
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: CngxStepperFooter, isStandalone: true, selector: "cngx-stepper-footer", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "focusin": "trackFocus($event)", "focusout": "forgetFocus($event)" }, classAttribute: "cngx-stepper-footer" }, providers: [
931
1047
  {
932
1048
  provide: CNGX_STEPPER_HOST,
933
1049
  useFactory: (footer) => createStepperHostProxy(() => footer.resolvedHost()),
@@ -947,7 +1063,11 @@ class CngxStepperFooter {
947
1063
  }
948
1064
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooter, decorators: [{
949
1065
  type: Component,
950
- args: [{ selector: 'cngx-stepper-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'cngxStepperFooter', host: { class: 'cngx-stepper-footer' }, providers: [
1066
+ args: [{ selector: 'cngx-stepper-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'cngxStepperFooter', host: {
1067
+ class: 'cngx-stepper-footer',
1068
+ '(focusin)': 'trackFocus($event)',
1069
+ '(focusout)': 'forgetFocus($event)',
1070
+ }, providers: [
951
1071
  {
952
1072
  provide: CNGX_STEPPER_HOST,
953
1073
  useFactory: (footer) => createStepperHostProxy(() => footer.resolvedHost()),
@@ -964,7 +1084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
964
1084
  <ng-content select="[cngxStepperFooterEnd]" />
965
1085
  </div>
966
1086
  `, styles: ["@layer cngx.tokens{@property --cngx-stepper-footer-gap{syntax: \"*\"; inherits: false; initial-value: .75rem;}@property --cngx-stepper-footer-region-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-stepper-footer-margin-block-start{syntax: \"*\"; inherits: false; initial-value: 1rem;}@property --cngx-stepper-footer-padding-block{syntax: \"*\"; inherits: false; initial-value: .75rem;}@property --cngx-stepper-footer-padding-inline{syntax: \"<length>\"; inherits: false; initial-value: 0;}@property --cngx-stepper-footer-border-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-stepper-footer-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --cngx-stepper-footer-border-color{syntax: \"<color>\"; inherits: true; initial-value: #e0e0e0;}@property --cngx-stepper-footer-center-basis{syntax: \"*\"; inherits: true; initial-value: auto;}@property --cngx-stepper-footer-center-color{syntax: \"*\"; inherits: true;}}.cngx-stepper-footer{--cngx-stepper-footer-gap: var(--cngx-space-sm);--cngx-stepper-footer-region-gap: var(--cngx-space-sm);--cngx-stepper-footer-padding-block: var(--cngx-space-sm);display:flex;align-items:center;flex-wrap:wrap;gap:var(--cngx-stepper-footer-gap, .75rem);margin-block-start:var(--cngx-stepper-footer-margin-block-start, 1rem);padding-block:var(--cngx-stepper-footer-padding-block, .75rem);padding-inline:var(--cngx-stepper-footer-padding-inline, 0);border-block-start:var(--cngx-stepper-footer-border-width, 1px) var(--cngx-stepper-footer-border-style, solid) var(--cngx-stepper-footer-border-color, #e0e0e0)}.cngx-stepper-footer__start,.cngx-stepper-footer__center,.cngx-stepper-footer__end{display:flex;align-items:center;flex-wrap:wrap;gap:var(--cngx-stepper-footer-region-gap, .5rem)}.cngx-stepper-footer__start{justify-content:flex-start}.cngx-stepper-footer__center{flex:1 1 var(--cngx-stepper-footer-center-basis, auto);justify-content:center;text-align:center;color:var(--cngx-stepper-footer-center-color, inherit)}.cngx-stepper-footer__end{margin-inline-start:auto;justify-content:flex-end}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper-footer{--cngx-stepper-footer-border-color: color-mix(in srgb, oklch(1 0 0) 16%, transparent)}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper-footer{--cngx-stepper-footer-border-color: color-mix(in srgb, oklch(1 0 0) 16%, transparent)}}\n"] }]
967
- }], propDecorators: { host: [{ type: i0.Input, args: [{ isSignal: true, alias: "host", required: false }] }] } });
1087
+ }], ctorParameters: () => [], propDecorators: { host: [{ type: i0.Input, args: [{ isSignal: true, alias: "host", required: false }] }] } });
968
1088
 
969
1089
  /**
970
1090
  * Marker for the footer's leading region (inline-start). Place on the
@@ -974,8 +1094,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
974
1094
  * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>
975
1095
  * ```
976
1096
  *
977
- * @category ui/stepper
978
- * @since 0.1.0
1097
+ * @since 0.3.0
979
1098
  * @relatedTo CngxStepperFooter, CngxStepperFooterCenter, CngxStepperFooterEnd
980
1099
  */
981
1100
  class CngxStepperFooterStart {
@@ -994,8 +1113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
994
1113
  * Marker for the footer's center region - a progress hint, a
995
1114
  * `<cngx-stepper-count>`, or a "50% complete" caption.
996
1115
  *
997
- * @category ui/stepper
998
- * @since 0.1.0
1116
+ * @since 0.3.0
999
1117
  * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterEnd
1000
1118
  */
1001
1119
  class CngxStepperFooterCenter {
@@ -1014,8 +1132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1014
1132
  * Marker for the footer's trailing region (inline-end) - typically a
1015
1133
  * Continue / Finish control, optionally preceded by a "Save draft".
1016
1134
  *
1017
- * @category ui/stepper
1018
- * @since 0.1.0
1135
+ * @since 0.3.0
1019
1136
  * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterCenter
1020
1137
  */
1021
1138
  class CngxStepperFooterEnd {
@@ -1032,7 +1149,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1032
1149
  }] });
1033
1150
 
1034
1151
  /**
1035
- * @module @cngx/ui/stepper
1152
+ * @module `@cngx/ui/stepper`
1036
1153
  *
1037
1154
  * Level-4 organism - CNGX-standard `<cngx-stepper>` skin over the
1038
1155
  * Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.