.ax-stepper {
display: grid;
gap: 0;
margin: 0;
padding: 0;
list-style: none;
}
.ax-stepper[data-orientation='horizontal'] {
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.ax-step {
position: relative;
display: grid;
grid-template-columns: auto 1fr;
gap: 0.75rem;
padding: 0.75rem 0;
color: var(--ax-text-soft);
}
.ax-step + .ax-step::before {
content: '';
position: absolute;
left: 0.9rem;
top: -0.55rem;
width: 1px;
height: 1.1rem;
background: var(--ax-border);
}
.ax-stepper[data-orientation='horizontal'] .ax-step + .ax-step::before {
left: -0.5rem;
top: 1.05rem;
width: 1rem;
height: 1px;
}
.ax-step__marker {
display: grid;
place-items: center;
width: 1.8rem;
height: 1.8rem;
border: 1px solid var(--ax-border);
border-radius: 999px;
background: var(--ax-surface-2);
color: var(--ax-text-muted);
font-family: var(--ax-font-mono);
font-size: 0.78rem;
font-weight: 800;
}
.ax-step[data-state='active'] .ax-step__marker,
.ax-step[data-state='complete'] .ax-step__marker {
border-color: var(--ax-border-strong);
background: color-mix(in srgb, var(--ax-primary) 18%, var(--ax-surface-2));
color: var(--ax-text);
box-shadow: 0 0 18px color-mix(in srgb, var(--ax-primary) 22%, transparent);
}
.ax-step__body {
display: grid;
gap: 0.2rem;
}
.ax-step__title {
color: var(--ax-text);
font-weight: 800;
}
.ax-step__description {
color: var(--ax-text-muted);
font-size: 0.9rem;
line-height: 1.45;
}