/* Same 4-step path on hub, demo/, webapp/, iphone/, shop, book.
   Shop → Book → Card → Stubs. Dark strip so it reads the same on every skin. */

.path-rail {
  --pr-bg: #101418;
  --pr-ink: #e8edf0;
  --pr-mute: #9aa6ac;
  --pr-now: #e8b84b;
  --pr-line: #2a3438;
  box-sizing: border-box;
  background: var(--pr-bg);
  color: var(--pr-ink);
  padding: 0.7rem 1rem 0.8rem;
  border-bottom: 1px solid var(--pr-line);
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.path-rail *,
.path-rail *::before,
.path-rail *::after { box-sizing: border-box; }
.path-rail-stamp {
  margin: 0 0 0.4rem;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-now);
}
.path-rail-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
}
.path-rail-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pr-mute);
}
.path-rail-step + .path-rail-step::before {
  content: "→";
  margin: 0 0.45rem 0 0.3rem;
  color: #3a4448;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.path-rail-step b {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pr-line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.path-rail-step.is-now { color: var(--pr-now); }
.path-rail-step.is-now b {
  background: var(--pr-now);
  color: #1a1408;
  border-color: var(--pr-now);
}
.path-rail-step.is-done { color: #c5d0c8; }
.path-rail-step.is-done b {
  background: #2a3438;
  border-color: #3a4448;
  color: #e8edf0;
}
.path-rail-next {
  margin: 0.55rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  font-size: 14.5px;
  line-height: 1.35;
}
.path-rail-next span { max-width: 46ch; }
.path-rail-cta {
  display: inline-block;
  padding: 0.48rem 0.8rem;
  background: var(--pr-now);
  color: #1a1408 !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border-radius: 2px;
}
.path-rail-cta:focus-visible {
  outline: 2px solid var(--pr-now);
  outline-offset: 2px;
}

body.embed .path-rail { display: none; }
