/* Horizontal geometry is preserved at every viewport width. */
.hj-stepper {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: var(--stepper-width, 760px);
  min-height: 48px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: inherit;
}
.hj-stepper-step { display:flex; align-items:center; flex:1 0 0; min-width:0; }
.hj-stepper-step:last-child { flex:0 0 auto; }
.hj-stepper-connector {
  position:relative;display:block;height:1px;min-width:24px;flex:1;margin:0 8px;
  background:var(--ui-outline-variant);overflow:hidden;
}
.hj-stepper-connector-fill {
  position:absolute;inset:0;background:var(--ui-primary);transform-origin:left center;
}
.hj-stepper .hj-stepper-button {
  display:inline-flex; flex:0 0 auto; align-items:center; gap:8px;
  margin:0; padding:4px; min-height:40px; width:auto;
  border:0; border-radius:8px; background:transparent; box-shadow:none;
  font:inherit; color:var(--ui-muted); text-align:left; cursor:pointer;
}
.hj-stepper .hj-stepper-button:disabled { opacity:1; cursor:default; }
.hj-stepper .hj-stepper-button:hover:not(:disabled) { background:var(--ui-primary-container); }
.hj-stepper .hj-stepper-button:focus-visible { outline:2px solid var(--ui-primary); outline-offset:2px; }
.hj-stepper-icon {
  display:flex; align-items:center; justify-content:center; flex:0 0 24px;
  width:24px; height:24px; border-radius:50%;
  background:var(--ui-disabled-text); color:var(--ui-on-primary); font-size:12px; line-height:24px;
}
.hj-stepper-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.hj-stepper-copy { display:flex; flex-direction:column; gap:2px; }
.hj-stepper-label { font-size:14px; line-height:20px; font-weight:400; white-space:nowrap; }
.hj-stepper-caption { color:var(--ui-muted); font-size:12px; line-height:18px; font-weight:400; }
.hj-stepper-step:is([data-state="active"],[data-state="completed"]) .hj-stepper-icon { background:var(--ui-primary); }
.hj-stepper-step:is([data-state="active"],[data-state="completed"]) .hj-stepper-button { color:var(--ui-text); }
.hj-stepper-step[data-state="active"] .hj-stepper-label { font-weight:600; }
.hj-stepper-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
