/* Systems Integration journey: prototype only. */
.journey{--mint:#a2f4eb;--muted:#c2dce8;--amber:#ffce90;position:relative;isolation:isolate;min-width:0;margin:0;padding:clamp(15px,2.3vw,27px);overflow:hidden;border:1px solid #4b8095;border-radius:22px;color:#f1fbff;background:radial-gradient(ellipse at 50% 22%,#215769,#123650 52%,#102b43);box-shadow:0 20px 42px #153d5328,inset 0 1px #f7ffff42;text-align:left}
.journey::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.34;background:repeating-linear-gradient(90deg,transparent 0 19px,#77b2c82a 19px 20px),repeating-linear-gradient(0deg,transparent 0 19px,#77b2c82a 19px 20px);mask-image:linear-gradient(transparent,#000 25%,transparent 86%)}
.journey figcaption.journey-title{margin:0 0 8px;text-align:left;color:#fff;line-height:1.05}
.journey-title>strong{display:block;font:600 clamp(1.4rem,2.5vw,2.2rem)/1.12 Sora,"IBM Plex Sans",sans-serif;letter-spacing:-.025em}
.journey-kicker{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:var(--mint);font:600 .72rem/1.1 "IBM Plex Mono",monospace;letter-spacing:.085em;text-transform:uppercase}
.journey-kicker i,.journey-branch-title i{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block;box-shadow:0 0 10px currentColor;flex:none}
.journey-alt,.journey-caption{margin:0;color:var(--muted);font-size:.88rem;line-height:1.45}
.journey-alt{max-width:53ch}
.journey-caption{font-size:.72rem;margin-top:11px}
.journey svg{display:block}
.journey-map{position:relative;padding-top:20px;isolation:isolate}
.journey-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.journey-stop{position:relative;min-width:0;text-align:left;display:grid;grid-template-rows:70px auto;justify-items:center;align-self:start}
.journey-stop:not(:last-child)::after{content:"";position:absolute;top:35px;left:calc(50% + 36px);width:calc(100% - 60px);height:1px;background:#82e4df;z-index:-1}
.journey-stop:not(:last-child)::before{content:"";position:absolute;top:31px;right:-16px;z-index:1;width:7px;height:7px;border-top:1px solid #c6fff8;border-right:1px solid #c6fff8;rotate:45deg}
.journey-orb{display:grid;place-items:center;width:60px;height:60px;margin-top:5px;border:1px solid #83d6d6;border-radius:50%;background:radial-gradient(circle at 30% 22%,#4e94a4,#15445d 63%);color:var(--mint);box-shadow:0 0 0 4px #7de0df26,0 0 26px #5ff6ea4d,inset 0 1px #d2fffc80}
.journey-orb svg,.journey-outcome svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.journey-text{display:grid;gap:4px;min-width:0;padding:3px 0 0;text-align:center}
.journey-text>strong{color:#fff;font-size:clamp(1rem,1.5vw,1.32rem);line-height:1.15}
.journey-text>span:last-child{color:var(--muted);font-size:.82rem;line-height:1.25}
.journey-index{color:var(--mint);font:.64rem/1.1 "IBM Plex Mono",monospace;letter-spacing:.06em}
.journey-branch{position:relative;margin-top:22px;width:max-content;max-width:min(255px,calc(100vw - 88px));padding:8px 13px;display:grid;gap:3px;border:1px solid #e5b475;border-radius:11px;background:#402e25;color:#ffe7c3;text-align:center;box-shadow:0 0 20px #ffbc6440}
.journey-branch::before,.journey-branch::after{content:"";position:absolute;top:-18px;height:17px;left:calc(50% - 6px);border-left:1px solid #f1b974}
.journey-branch::after{left:calc(50% + 5px);border-left-style:dashed}
.journey-branch-title{display:flex;justify-content:center;align-items:center;gap:6px;color:var(--amber);font-size:.75rem;font-weight:600}
.journey-branch>strong{font-size:.98rem}
.journey-branch b{color:var(--amber);padding:0 2px}
.journey-retry{display:flex;align-items:center;justify-content:center;gap:4px;font-size:.72rem;color:#ffe1b4}
.journey-retry svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.journey-outcome{display:flex;align-items:center;gap:9px;margin-top:15px;padding:8px 10px;border:1px solid #639aaa;border-radius:9px;background:#12364d;color:#e6faff;font-size:.84rem;line-height:1.3}
.journey-outcome svg{color:var(--mint);width:20px;height:20px;flex:none}
.journey-controls{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.journey-controls[hidden],.journey-overlay[hidden]{display:none}
.journey-controls button{min-width:44px;min-height:44px;padding:6px 10px;cursor:pointer;border:1px solid #71adae;border-radius:8px;background:#163e53;color:#f2fbff;font:600 .81rem/1.2 "IBM Plex Sans",sans-serif}
.journey-controls button[data-play="valid"]{background:#d5faf2;color:#123c4b}
.journey-controls button[data-play="retry"]{border-color:#d09a65;color:#ffddaa}
.journey-controls button:focus-visible{outline:2px solid white;outline-offset:2px}
.journey-controls button:disabled{cursor:default;color:#bdd3df}
.journey-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:hidden}
.journey-trace{fill:none;stroke:#b1fff0;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.journey-trace.is-visible{opacity:.85}
.journey-trace.is-exception{stroke:#ffcd8e;stroke-dasharray:4 5}
.journey-packet circle{fill:#9affd3;fill-opacity:.44}
.journey-packet rect{fill:#f6fffc;stroke:#11846d;stroke-width:1.8}
.journey-packet path{fill:none;stroke:#11846d;stroke-width:1.15;stroke-linecap:round}
.journey-stop.is-current>.journey-orb{background:#d3fff4;color:#084759;border-color:#effffb;box-shadow:0 0 0 4px #a4fbed80,0 0 25px #84ffeab0}
.journey-branch.is-current{border-color:#ffdfad;box-shadow:0 0 0 2px #f9bd6580,0 0 22px #ffbd647a;background:#533621}
.journey-outcome.is-current{background:#cff5ea;color:#103d44;border-color:#8fe2c7}
.journey-outcome.is-current svg{color:#0e624e}
@media(max-width:620px){
 .journey{border-radius:16px}.journey-map{padding-top:12px}
 .journey-flow{grid-template-columns:minmax(0,1fr);gap:10px}
 .journey-stop{grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto;gap:0 12px;justify-items:start;align-items:center;min-height:54px}
 .journey-orb{width:44px;height:44px;margin:0}.journey-orb svg{width:21px;height:21px}
 .journey-text{text-align:left;padding:0}.journey-text>strong{font-size:1.08rem}
 .journey-stop:not(:last-child)::after{left:21.5px;top:39px;width:1px;height:calc(100% - 20px)}
 .journey-stop:not(:last-child)::before{left:18.5px;right:auto;top:auto;bottom:0;rotate:135deg}
 .journey-branch{grid-column:2;margin-top:10px;padding:6px 10px;width:auto;max-width:100%;text-align:left}
 .journey-branch::before,.journey-branch::after{left:6px;top:-8px;height:7px}
 .journey-branch::after{left:13px}
 .journey-branch-title,.journey-retry{justify-content:flex-start}
 .journey-outcome{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){.journey-overlay,.journey-controls{display:none!important}}

