.journey-carousel{--journey-step-width:210px;min-width:0;background:linear-gradient(180deg,#fbfcfd,white 75%);padding-top:16px}
.journey-carousel-top{display:flex;align-items:center;justify-content:space-between;padding:0 24px 9px;gap:18px}
.journey-position{font-size:11px;font-weight:bold;letter-spacing:1.8px;color:var(--muted)}
.journey-controls{--track-top:24px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;padding-inline:clamp(8px,2vw,20px);gap:4px;background:linear-gradient(180deg,#f4f7fa,#fff)}
.journey-controls>button[data-journey-direction]{margin-top:calc(var(--track-top) + 31px - 20px);width:40px;height:40px;background:var(--navy);color:white;border:0}
.journey-controls>button[data-journey-direction]:hover:not(:disabled){background:#23364b;color:white}
.journey-controls .journey-track{padding-top:var(--track-top)}
.journey-controls>button{width:34px;height:34px;border:1px solid #d9e0e7;border-radius:50%;display:grid;place-items:center;background:white;color:var(--navy)}
.journey-controls>button:hover:not(:disabled){background:#f2f5f8;border-color:var(--navy)}
.journey-controls>button:disabled{opacity:.3;cursor:default}
.journey-controls>button .icon{width:16px;height:16px}
.journey-track{display:flex;position:relative;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding-block:30px 14px;cursor:grab;user-select:none;-webkit-user-select:none;overscroll-behavior-x:contain;mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.journey-track::-webkit-scrollbar{display:none}
.journey-track.is-dragging{cursor:grabbing;scroll-snap-type:none}
.journey-track:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
.journey-stage{display:flex;align-items:flex-start;justify-content:center;flex:0 0 var(--journey-step-width);width:var(--journey-step-width);height:150px;position:relative;padding:12px 10px;text-align:center;scroll-snap-align:center;cursor:inherit;color:var(--navy)}
.journey-stage::before{content:"";height:3px;background:#a4b4c2;width:calc(100% - 68px);position:absolute;left:calc(50% + 34px);top:31px;pointer-events:none}
.journey-stage:last-child::before{display:none}
.journey-stage.stage-complete::before{background:#a8b8c8}
.journey-stage-face{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;transform:scale(var(--journey-scale,.86));transform-origin:center 19px;opacity:var(--journey-opacity,.84);will-change:transform}
.journey-node{width:38px;height:38px;display:grid;place-items:center;border:2px solid #c9d3dd;border-radius:50%;background:#fbfcfd;box-shadow:0 0 0 8px #fbfcfd;font-size:12px;font-weight:bold;flex-shrink:0;margin-bottom:16px}
.journey-node .icon{width:17px;height:17px}
.stage-complete .journey-node{background:var(--navy);border-color:var(--navy);color:white}
.stage-current .journey-node{background:var(--gold);border-color:var(--gold);color:#253449;box-shadow:0 0 0 7px #fff9e5,0 0 0 9px #eeb3114d}
.stage-recorded .journey-node{border-color:var(--blue);color:var(--blue)}
.journey-stage strong{display:block;font-size:13px;line-height:1.4;max-width:165px;font-weight:600}
.journey-stage-status{display:block;font-size:9px;color:var(--muted);margin-top:7px}
.stage-current .journey-stage-status{color:#876000;font-weight:bold}
.journey-stage.is-centred strong{font-weight:bold}
.journey-stage.is-centred.stage-upcoming .journey-node{border-color:var(--navy)}
.journey-stage:focus-visible{outline:2px solid var(--gold);outline-offset:-7px;border-radius:8px}
.journey-detail{margin:0 24px 22px;padding:19px 23px 21px;border:1px solid #e0e6ec;border-radius:7px;background:white;box-shadow:0 3px 14px #42526c06;min-height:0}
.journey-detail-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:10px}
.journey-detail-status{font-size:9px;font-weight:bold;letter-spacing:1px;text-transform:uppercase;color:#8c6b16}
.journey-detail-date{font-size:10px;color:var(--muted)}
.journey-detail h3{font-family:var(--heading);font-size:17px;color:var(--navy);line-height:1.4}
.journey-detail p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:8px;max-width:850px}
.journey-compact{--journey-step-width:175px}
.journey-compact .journey-stage strong{font-size:12px;max-width:145px}
.journey-compact .journey-detail{padding:16px 19px;min-height:0}
.journey-compact .journey-detail h3{font-size:15px}
.journey-compact .journey-detail p{font-size:11px}
.detail-grid>div{min-width:0}
@media(max-width:600px){.journey-carousel,.journey-compact{--journey-step-width:170px}.journey-carousel-top{padding-inline:17px}.journey-track{padding-top:27px}.journey-detail{margin-inline:16px;padding:17px;min-height:0}.journey-detail h3{font-size:16px}.journey-detail p{font-size:11px}.journey-stage strong{font-size:12px;max-width:140px}.journey-detail-heading{gap:10px}.journey-detail-status{font-size:8px}}
@media(prefers-reduced-motion:reduce){.journey-stage-face{will-change:auto}}
.journey-duration{display:block;font-size:11px;font-weight:600;color:var(--navy);margin-top:3px;line-height:1.3}
